/*  
Переменные ( :root )
Стили формы
  Контейнер формы ( .hrlemonform-container )
  Оболочка формы ( .hrlemonform-wrapper ) 
  Форма (.hrlemonform )
  Блок информации ( #hrlemonform-msgsend, #hrlemonform-error )
  Заголовок формы ( .hrlemonform__title )
  Блок формы  ( .b-hrlemonform )
fa
field-icon
hrlemonform-field
hrlemonform__textarea
hrlemonform__label
Блок checkbox
Кнопка отправки сообщения ( .button-send-message )
*/
  

/* --===== СТИЛИ ФОРМЫ =====-- */

/* Контейнер формы */
.hrlemonform-container { 
  /* width: 70%; */
  margin: 0 auto; 
  padding: 50px 0; 
}

/* Оболочка формы */
.hrlemonform-wrapper {
  max-width: 650px;
  margin: auto;
  padding: 50px;
  /* box-sizing: border-box; */

  
  /* -webkit-box-shadow:-5px 2px 20px 1px rgba(129,170,198,1); */
  /* -moz-box-shadow:-5px 2px 20px 1px rgba(129,170,198,1); */
  /* box-shadow:-5px 2px 20px 1px rgba(1,83,137,1); */
}

/* Форма */
.hrlemonform{
  position: relative;
  width: 95%;
  margin: 0 auto;
}

/* Блок информации */
/* Сообщение отправлено, Сообщение не отправлено */
#hrlemonform-msgsend, 
#hrlemonform-error{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 3em;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.3;
  display: none;
}
#hrlemonform-msgsend  span, 
#hrlemonform-error  span{
  margin: auto;
}
#hrlemonform-msgsend ~ *, 
#hrlemonform-error ~ *{
  transition: all 1s ease;
}
#hrlemonform-msgsend.active ~ *,
#hrlemonform-error.active ~ *{
  opacity: .5;
  filter: blur(10px);
  -webkit-filter: blur(10px);
}

/* Заголовок формы */
.hrlemonform-container .hrlemonform-wrapper .hrlemonform__title {
  text-transform: uppercase; 
  text-align: center;
  font-size: 2em;
  font-weight: 400;
  letter-spacing: 2px;
  margin: 0;
  padding: 1.667em 0;
}

/* Блок формы */
.b-hrlemonform{
    position: relative;
    margin-bottom: 30px;
}

/* Field-icon */
/* Field-icon Properties field-icon*/
.b-hrlemonform .field-icon {
  position: absolute;
  top: 0.5rem;
  font-size: 1.7rem;
  -webkit-transition: color .2s;
  transition: color .2s;
  
}
/* -- left Field-icon -- */
.b-hrlemonform .field-icon ~ input,
.b-hrlemonform .field-icon ~ textarea,
.b-hrlemonform .field-icon ~ label{
  margin-left: 3rem;
}
/* Field width with Field-icon */
.field-icon ~ .hrlemonform-field {
  width: calc(100% - 3rem);
}

/* Configuring input and textarea */
.hrlemonform-field{
  background: transparent;
  padding:0.5em;
  width: 100%;
  font-family: inherit;
  font-size: 1.125em;
  border: none;
  box-sizing: border-box;
  
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}
.hrlemonform-field:focus{
  outline: none;

}

.hrlemonform__textarea {
  resize: none;
  overflow-y: hidden;
}

/* Form label */
.hrlemonform__label{
  position: absolute;
  top: 10px;
  left: 10px;
  /*z-index: -1;
  */font-size: 1em;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}
.hrlemonform-field:focus ~ .hrlemonform__label,
.hrlemonform-field:not(:placeholder-shown) ~ .hrlemonform__label{
  -webkit-transform: scale(0) ;
  -moz-transform: scale(0) ;
  -ms-transform: scale(0) ;
  -o-transform: scale(0) ;
  transform: scale(0) ;
}

/* Блок checkbox */
.b-checkbox {
  position: relative;
  margin: 2em 0 1em 3em;
  padding-left: 40px;
}
.b-checkbox input[type="checkbox"] {
  display:none;
}
.b-checkbox label:after {
  box-sizing: border-box;
  font: 15px/20px FontAwesome;
  text-align: center;
	content:'';
	display: block;
	height:20px;
	width: 20px;
	position:absolute;
	top:0;
  left:0; 
}
.b-checkbox input[type=checkbox]:checked + label:after {
  content: "\f00c";
}

/* Кнопка отправки сообщения */
.hrlemonform .button-send-message{
  max-width: 15em;
  border: none;
  margin: 0.2em 0 0 3em;
  padding:.7em 2em;
  font-family: inherit;
  font-size: 1em;

  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.hrlemonform .button-send-message:hover{
  cursor: pointer;
}
.hrlemonform .button-send-message:focus{
  outline: none;
}

.hrlemonform .button-send-message:hover:disabled,
.hrlemonform .button-send-message:disabled {
  cursor: default;
  opacity: 0.5;
}


.hrlemonform-container.modal {
    padding: 0;
    outline: none;
}
.hrlemonform-wrapper.modal {
    padding: 0;
}
.hrlemonform-wrapper.bkoff {
    background: none;
    outline: none;
}
.hrlemonform-captcha.modal {
    margin: 0;
}
.hrlemonform-captcha.modal .hrlemonform-field {
    width: 100%;
}
