@charset "utf-8";

.s3_message {
  display: inline-block;
  margin: .4em 0;
  color: #333; }
  .s3_message.s3_message_success {
    background-color: #80c080;
    border: 1px solid green;
    color: #fff; }
  .s3_message.s3_message_warning {
    background-color: #f0e4c9;
    border: 1px solid #e1c893;
    color: #333; }
  .s3_message.s3_message_error {
    background-color: #ff8080;
    border: 1px solid red;
    color: #fff; }

/* [+] s3_form */
.s3_tpl_anketa .s3_form {}

.s3_form .anketa-flash-upload div.flash {
  max-width: 100%;
  border: 1px solid #ccc; }

.s3_form_item {
  margin: 0.76923em 0; }

.s3_required {
  color: red; }

.s3_form_field_title {
  margin-bottom: 0.38462em; }

.s3_form_field_type_text, .s3_form_field_type_password, .s3_form_field_type_textarea, .s3_form_field_type_select, .s3_form_item_type_captcha input[type=text] {
  max-width: 100%;
  padding: 0.30769em 0.76923em;
  border: 1px solid #ccc;
  -webkit-box-sizing : border-box;
  -moz-box-sizing : border-box;
  box-sizing : border-box; }
  .s3_form_field_type_text.s3_form_field_error, .s3_form_field_type_password.s3_form_field_error, .s3_form_field_type_textarea.s3_form_field_error, .s3_form_field_type_select.s3_form_field_error, .s3_form_item_type_captcha input[type=text].s3_form_field_error {
    border-color: red; }
  .s3_form_field_type_text[disabled], .s3_form_field_type_password[disabled], .s3_form_field_type_textarea[disabled], .s3_form_field_type_select[disabled], .s3_form_item_type_captcha input[type=text][disabled] {
    background-color: #dedede;
    border-color: #dedede;
    resize: none; }

.s3_form_field_type_text, .s3_form_field_type_password, .s3_form_field_type_textarea {
  width: 32.30769em; }

.s3_form_field_type_select {
  min-width: 15.38462em; }

.s3_form_field_type_radio, .s3_form_field_type_checkbox, .s3_form_field_type_multi_checkbox, .s3_form_field_type_rating {
  width: 1em;
  height: 1em;
  margin: 0 0.38462em 0 0;
  vertical-align: middle; }
  .s3_form_field_type_radio[disabled] + .s3_form_subitem_title, .s3_form_field_type_checkbox[disabled] + .s3_form_subitem_title, .s3_form_field_type_multi_checkbox[disabled] + .s3_form_subitem_title, .s3_form_field_type_rating[disabled] + .s3_form_subitem_title {
    color: #dedede; }

.s3_form_item_type_calendar .s3_icon:before, .s3_form_item_type_calendar_interval .s3_icon:before {
  margin-left: 0.38462em;
  content: "\f073"; }

.s3_form_item_type_calendar .s3_form_field_type_text {
  width: 7em; }

.s3_form_item_type_calendar_interval .s3_form_subitem {
  display: inline-block;
  margin-right: 0.76923em; }
  .s3_form_item_type_calendar_interval .s3_form_field_type_text {
    width: 7em;
    margin-left: 0.38462em; }

.s3_form_item_type_captcha .mgCaptcha-block {
  display: inline-block;
  vertical-align: middle;
  margin: 0 2em 0 0; }
  .s3_form_item_type_captcha a {
    position: relative;
    display: block;
    text-decoration: none; }
    .s3_form_item_type_captcha a::after {
      position: absolute;
      bottom: 0;
      left: 100%;
      width: 16px;
      height: 16px;
      border-radius: 0 2px 2px 0;
      background-color: #c70000;
      color: #fff;
      content: "\f01e";
      text-align: center;
      font-family: "Awesome";
      line-height: 16px; }
  .s3_form_item_type_captcha img:first-child {
    border: 1px solid #ccc; }
    .s3_form_item_type_captcha img + img {
      padding-left: 0.23077em;
      vertical-align: bottom;
      display: none; }
  .s3_form_item_type_captcha input[type=text] {
    width: 6.92308em; }
  .s3_form_item_type_captcha.s3_form_item_error input[type=text] {
    border-color: red; }

.s3_form_subitem {
  margin: 0.38462em 0; }

.s3_form_note {
  padding: 0.23077em 0.76923em 0; }

.s3_form_error {
  padding: 0 0.76923em;
  color: red; }
  
  
/*Всплывающая форма*/

#fade_form {
    display: none;
    background: #fff;
    *left: 50% !important;
    *transform: translateX(-50%);
    padding: 20px;
}

.close-x {
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    color: #f00;
}
.zaoch_form {
	display:none;
}

/* [-] s3_form */