.s3_tpl_anketa .s3_form {
  margin-top: 10px; }
  .s3_tpl_anketa small {
    font-size: 80%; }

.s3_form_item {
  margin: 10px 0; }

.s3_required {
  color: red; }

.s3_form_field_title {
  font-weight: bold;
  margin-bottom: 5px; }

.s3_form_field:-moz-ui-invalid:not(output) {
  box-shadow: none; }

.s3_form_field_type_text, .s3_form_field_type_textarea, .s3_form_field_type_select, .s3_form_field_type_multi_select, .s3_form_field_type_upload, .s3_form_item_type_captcha input[type=text] {
  max-width: 100%;
  padding: 4px 10px;
  border: 1px solid #ccc;
  -webkit-border-radius : 3px;
  -moz-border-radius : 3px;
  -ms-border-radius : 3px;
  -o-border-radius : 3px;
  border-radius : 3px;
  -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_textarea.s3_form_field_error, .s3_form_field_type_select.s3_form_field_error, .s3_form_field_type_multi_select.s3_form_field_error, .s3_form_field_type_upload.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_textarea[disabled], .s3_form_field_type_select[disabled], .s3_form_field_type_multi_select[disabled], .s3_form_field_type_upload[disabled], .s3_form_item_type_captcha input[type=text][disabled] {
    background-color: #dedede;
    border-color: #dedede;
    resize: none; }

.s3_form_field_type_multi_checkbox, .s3_form_field_type_radio_group, .s3_form_field_type_checkbox {
  width: 13px;
  height: 13px;
  margin: 0 5px 0 0;
  vertical-align: middle; }
  .s3_form_field_type_multi_checkbox[disabled] + .s3_form_subitem_title, .s3_form_field_type_radio_group[disabled] + .s3_form_subitem_title, .s3_form_field_type_checkbox[disabled] + .s3_form_subitem_title {
    color: #dedede; }

.s3_form_item_type_calendar .s3_form_field_type_text, .s3_form_item_type_calendar_interval .s3_form_field_type_text {
  width: 7em;
  vertical-align: middle;
  text-align: center; }

.s3_form_item_type_calendar_interval .s3_form_subitem {
  display: inline-block;
  margin-right: 10px; }
  .s3_form_item_type_calendar_interval .s3_form_field_type_text {
    margin-left: 5px; }

.s3_form_field_calendar_wrapper {
  font-size: 0;
  line-height: 0;
  vertical-align: middle; }
  .s3_form_field_calendar_wrapper .tcalIcon {
    margin-left: 5px; }

.s3_form_item_type_captcha .s3_form_field_content > div, .s3_form_item_type_captcha .mgCaptcha-block {
  display: inline-block;
  vertical-align: middle; }
  .s3_form_item_type_captcha .mgCaptcha-block {
    margin: 0 1em 0 0; }
  .s3_form_item_type_captcha a {
    position: relative;
    display: block;
    text-decoration: none; }
  .s3_form_item_type_captcha img:first-child {
    border: 1px solid #ccc; }
    .s3_form_item_type_captcha img + img {
      padding-left: 3px;
      vertical-align: bottom; }
  .s3_form_item_type_captcha input[type=text] {
    width: 90px; }
  .s3_form_item_type_captcha.s3_form_item_error input[type=text] {
    border-color: red; }

.s3_form_subitem {
  margin: 5px 0; }

.s3_form_note {
  padding: 3px 10px 0; }

.s3_form_error {
  padding: 0 10px;
  color: red; }

.s3_form_submit {
  border: none;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  text-shadow: 0 0 1.6px 0.4px rgba(0, 0, 0, 0.32);
  padding: 6px 16px 8px;
  cursor: pointer;
  -webkit-box-sizing : border-box;
  -moz-box-sizing : border-box;
  box-sizing : border-box;
  -webkit-background-clip : padding;
  -moz-background-clip : padding;
  background-clip : padding-box;
  -webkit-border-radius : 4px;
  -moz-border-radius : 4px;
  -ms-border-radius : 4px;
  -o-border-radius : 4px;
  border-radius : 4px;
  -moz-box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.31);
  -webkit-box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.31);
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.31);
  background-color: #e51341;
  background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0%, #e2113a), color-stop(100%, #e81549));
  background-image: -o-linear-gradient(bottom, #e2113a 0%, #e81549 100%);
  background-image: -moz-linear-gradient(bottom, #e2113a 0%, #e81549 100%);
  background-image: -webkit-linear-gradient(bottom, #e2113a 0%, #e81549 100%);
  background-image: -ms-linear-gradient(bottom, #e2113a 0%, #e81549 100%);
  background-image: linear-gradient(to top, #e2113a 0%, #e81549 100%); }
  .s3_form_submit:hover {
    background-color: #f43962;
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0%, #f33257), color-stop(100%, #f5406d));
    background-image: -o-linear-gradient(bottom, #f33257 0%, #f5406d 100%);
    background-image: -moz-linear-gradient(bottom, #f33257 0%, #f5406d 100%);
    background-image: -webkit-linear-gradient(bottom, #f33257 0%, #f5406d 100%);
    background-image: -ms-linear-gradient(bottom, #f33257 0%, #f5406d 100%);
    background-image: linear-gradient(to top, #f33257 0%, #f5406d 100%); }
  .s3_form_submit:active {
    background-color: #d80b38;
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0%, #dd0c3e), color-stop(100%, #d40a32));
    background-image: -o-linear-gradient(bottom, #dd0c3e 0%, #d40a32 100%);
    background-image: -moz-linear-gradient(bottom, #dd0c3e 0%, #d40a32 100%);
    background-image: -webkit-linear-gradient(bottom, #dd0c3e 0%, #d40a32 100%);
    background-image: -ms-linear-gradient(bottom, #dd0c3e 0%, #d40a32 100%);
    background-image: linear-gradient(to top, #dd0c3e 0%, #d40a32 100%); }
  .s3_form_submit:disabled, .s3_form_submit[disabled] {
    opacity: 0.5;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: #e51341;
    background-image: none; }
