@font-face {
  font-family: 'fontello_form';
  src: url('/files/site/libs/cristallForm/font/fontello.eot?33302028');
  src: url('/files/site/libs/cristallForm/font/fontello.eot?33302028#iefix') format('embedded-opentype'),
       url('/files/site/libs/cristallForm/font/fontello.woff2?33302028') format('woff2'),
       url('/files/site/libs/cristallForm/font/fontello.woff?33302028') format('woff'),
       url('/files/site/libs/cristallForm/font/fontello.ttf?33302028') format('truetype'),
       url('/files/site/libs/cristallForm/font/fontello.svg?33302028#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello_form';
    src: url('../font/fontello.svg?33302028#fontello') format('svg');
  }
}
*/
/* файл стилей для работы форм */

/* обязательные стили */
#serviceBlock { display:none; }
form { position:relative; }
label, .label { display:block; margin:0 0 15px; position:relative; font-size:16px; }
input, textarea, select  
	{ display:block; width:100%; padding:0; margin: 10px 0 0; height:30px; line-height:30px; text-indent:5px; font-size:16px; color:#4c4c4c; border:1px solid #ccc; background:#fff; }
input[type="text"]:focus, input[type="password"]:focus, textarea:focus, select:focus { border-color:#3ab54a; box-shadow:0 2px 10px -5px #000;}
select { width:100.4%; padding:4px 0;}
option { padding:3px 3px 3px 10px; }

.errorInfo { display:block; position:absolute; top:30px; left:0; right:0; bottom:0; padding:0; line-height:30px; text-indent:0; margin:0!important;
	text-align:center; color:red!important; border:1px solid red!important; opacity:0; background:#fff; z-index:1; transition:1s; }
.checkbox { display:inline-block; margin:15px 0 0; }
.checkbox input { display:none; margin:-4px 3px 0 0; width:auto; }
.checkbox { margin:15px 0 20px; }
.checkbox .errorInfo { left:22px; top:0; width:400px; height:43px; border-color:red; }
.checkbox span { display:inline-block; width:20px; height:20px; border:1px solid #ccc; cursor:pointer; text-align:center; background:#fff; }
.checkbox span i { display:inline-block; position:relative; top:-2px; width:10px; height:6px; font-size:14px; line-height:1.6; opacity:0; transition:.5s; /* background:url(/files/site/libs/cristallForm/icon_check.png) no-repeat; */ }
.checkbox span i:before { content:"\e80a"; font-family:"fontello_form"; margin:0 0 0 -2px; color:#000; }
.checkbox.act i { opacity:1!important; }
.errorInfo.visible { opacity:1; }
.radio { display:inline-block; margin:0 20px 0 5px; cursor:pointer; }
.radio input[type="radio"]{ display:none; /* display:inline-block; float:none; width:20px; height:20px; */ }
.select:after { content:'\f107'; font:20px "fontello_form"; height:38px; width:20px; position:absolute; top:1px; right:0; line-height:1.8; background:#fff; color:#a5a5a5;}
.select:hover:after { color:#000; }
/* оформление */
form { width:420px; padding:20px; background:pink; }

.modalItem.registration label.checkbox { position:static; }
.modalItem.registration .checkbox .errorInfo { height:58px; margin:-22px 0 0; max-width:100%; top:auto; }

/* .chosen + .errorInfo { margin:-100% 0 0; } */

form .info { position:absolute; top:0; right:0; bottom:0; left:0; padding:50px 10px 0; text-align:center; z-index:10000; }
	form .info.ok { background:rgba( 123, 219, 100, .7 ); }
	form .info.no { background:rgba( 249, 71, 29, .7 ); }
form .info span { display:inline-block; padding:20px; font-size:20px; background:rgba(255,255,255,.8); }

form.in_work:before { content:""; display:block; position:absolute; top:0; right:0; bottom:0; left:0; background:rgba(255,255,255,.7); z-index:10000; }

form.in_work:after { content:"\e838"; font:30px "fontello_form"; display:inline-block; width:30px; height:30px; position:absolute; left:0; right:0; bottom:15px; margin:auto; color:red; z-index:10000;
	-moz-animation: spin_form 2s infinite linear;
	-o-animation: spin_form 2s infinite linear;
	-webkit-animation: spin_form 2s infinite linear;
	animation: spin_form 2s infinite linear;
}

@media ( max-width: 370px ){
	.errorInfo { font-size:14px; }
}
 
form [class^="iform-"]:before, form [class*=" iform-"]:before {
  font-family: "fontello_form";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-search:before { content: '\e800'; } /* '' */
.icon-pencil:before { content: '\e801'; } /* '' */
.icon-ok:before { content: '\e80a'; } /* '' */
.icon-spin5:before { content: '\e838'; } /* '' */
.icon-angle-left:before { content: '\f104'; } /* '' */
.icon-angle-right:before { content: '\f105'; } /* '' */
.icon-angle-up:before { content: '\f106'; } /* '' */
.icon-angle-down:before { content: '\f107'; } /* '' */

/*
   Animation example, for spinners
*/
.animate-form-spin {
  -moz-animation: spin_form 2s infinite linear;
  -o-animation: spin_form 2s infinite linear;
  -webkit-animation: spin_form 2s infinite linear;
  animation: spin_form 2s infinite linear;
  display: inline-block;
}
@-moz-keyframes spin_form {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@-webkit-keyframes spin_form {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@-o-keyframes spin_form {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@-ms-keyframes spin_form {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes spin_form {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
