.tpl_default_ext_orderform{position: relative;
width: 630px}
.tpl_default_ext_orderform .asterisk{
	color: #FF3737;
    font-size: 13px;
    font-weight: bold;
}
.tpl_default_ext_orderform .api-submit{padding: 15px 5px;position: relative;text-align: center;}
.tpl_default_ext_orderform .api-file-ext{font-size: 11px; color: #6A6A6A}

.tpl_default_ext_orderform input[type="text"], .tpl_default_ext_orderform textarea, .tpl_default_ext_orderform select{border: 1px solid #8C8C8C;vertical-align: middle;font-size: 13px;line-height: 20px;}
.tpl_default_ext_orderform input[type="text"]:focus, .tpl_default_ext_orderform textarea:focus, .tpl_default_ext_orderform select:focus{
    -webkit-box-shadow: 0 1px #FFFFFF, 0 2px 6px 2px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow:    0 1px #FFFFFF, 0 2px 6px 2px rgba(0, 0, 0, 0.1) inset;
    box-shadow:         0 1px #FFFFFF, 0 2px 6px 2px rgba(0, 0, 0, 0.1) inset;
}


/* ========================================================================
   Component:  JS Error Module
 ========================================================================== */
.tpl_default_ext_orderform [class*="ts-field-"]{
    display: inline-block;
    margin-left: 6px;
    width: 14px;
    height: 12px;
    background-image: url("images/note.png");
    background-repeat: no-repeat;
}
.tpl_default_ext_orderform .ts-field-error{background-position: 0 0;}
.tpl_default_ext_orderform .ts-field-saccess{background-position: 0 -14px;}


/* ========================================================================
   Component: Captcha
 ========================================================================== */
.tpl_default_ext_orderform .mf-captcha{padding: 5px;}
.tpl_default_ext_orderform .mf-captcha-wrap{display: inline-block;}
.tpl_default_ext_orderform .mf-captcha .mf-text{margin:0 0 3px;font-size: 13px;}
.tpl_default_ext_orderform .mf-captcha img{margin: 0 0 10px;}
.tpl_default_ext_orderform .mf-captcha input[type="text"]{width: 168px;text-transform: uppercase;}



/* ========================================================================
   Component: Alert
 ========================================================================== */
.ts-alert{
    background: none repeat scroll 0 0 #EBF7FD;
    border: 1px solid rgba(45, 112, 145, 0.3);
    border-radius: 4px;
    color: #2D7091;
    padding: 10px;
    text-shadow: 0 1px 0 #FFFFFF;
    margin-top: 35px;
    display: block;
    font-size: 14px;
    line-height: 21px;
}
.ts-alert p{margin: 0 !important; padding: 0 !important;}
.ts-alert-success {
    background: none repeat scroll 0 0 #F2FAE3;
    border-color: rgba(101, 159, 19, 0.3);
    color: #659F13;
}
.ts-alert-warning {
    background: none repeat scroll 0 0 #FFFCEB;
    border-color: rgba(226, 131, 39, 0.3);
    color: #E28327;
}
.ts-alert-danger {
    background: none repeat scroll 0 0 #FFF1F0;
    border-color: rgba(216, 80, 48, 0.3);
    color: #D85030;
}


/* ========================================================================
   Component: File inputs
 ========================================================================== */
.tpl_default_ext_orderform .api-file-wrap{position: relative; margin-top: 5px}
.tpl_default_ext_orderform .api-file-wrap input[type="file"]{display: none;}
.tpl_default_ext_orderform .api-file-name{color: #000000;font-size: 13px;margin-right: 10px; padding: 0px 10px;display: inline-block;height: 20px;line-height: 20px;}
.tpl_default_ext_orderform .api-file-string{overflow: hidden;margin: 0 0 5px;}
.tpl_default_ext_orderform input[type="submit"], .tpl_default_ext_orderform .api-btn{
    font: 13px/27px Arial,sans-serif;
    color: #fff;
    border: 1px solid;
    border-color: #AFB3BB  #9B9FA7  #7D8087;
    height: 27px;
    padding: 0 4px;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    position: relative;
    -webkit-border-radius: 3px;
    -moz-border-radius:    3px;
    border-radius:         3px;
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
    -moz-box-shadow:    0 1px 0 rgba(0, 0, 0, 0.07);
    box-shadow:         0 1px 0 rgba(0, 0, 0, 0.07);
    background: #005a96;
    /*background: #ffffff;*/
    /*background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlZWVlZWUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);*/
    /*background: -moz-linear-gradient(top,  #ffffff 0%, #eeeeee 100%);*/
    /*background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#eeeeee));*/
    /*background: -webkit-linear-gradient(top,  #ffffff 0%,#eeeeee 100%);*/
    /*background: -o-linear-gradient(top,  #ffffff 0%,#eeeeee 100%);*/
    /*background: -ms-linear-gradient(top,  #ffffff 0%,#eeeeee 100%);*/
    /*background: linear-gradient(to bottom,  #ffffff 0%,#eeeeee 100%);*/
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee',GradientType=0 );*/
}
.tpl_default_ext_orderform input[type="submit"]:hover, .tpl_default_ext_orderform .api-btn:hover{
    /*background: #ffffff;*/
    /*background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNmY1ZjMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);*/
    /*background: -moz-linear-gradient(top,  #ffffff 0%, #f6f5f3 100%);*/
    /*background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f6f5f3));*/
    /*background: -webkit-linear-gradient(top,  #ffffff 0%,#f6f5f3 100%);*/
    /*background: -o-linear-gradient(top,  #ffffff 0%,#f6f5f3 100%);*/
    /*background: -ms-linear-gradient(top,  #ffffff 0%,#f6f5f3 100%);*/
    /*background: linear-gradient(to bottom,  #ffffff 0%,#f6f5f3 100%);*/
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f5f3',GradientType=0 );*/
}

.tpl_default_ext_orderform input[type="submit"]:active, .tpl_default_ext_orderform .api-btn:active{
    -webkit-box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.5) inset;
    -moz-box-shadow:    0 1px 3px -1px rgba(0, 0, 0, 0.5) inset;
    box-shadow:         0 1px 3px -1px rgba(0, 0, 0, 0.5) inset;
}
.tpl_default_ext_orderform .api-btn-small{height: 20px;font: normal 13px/18px Arial,sans-serif;margin-bottom: 5px;}
.tpl_default_ext_orderform .api-form-row{overflow: hidden;}

/* v1.2.9 */
.tpl_default_ext_orderform .option-qroup{display: inline-block;vertical-align: middle;}
.tpl_default_ext_orderform .date-group input[type="text"]{margin-bottom: 5px;}

/* v1.3.4 */
.tpl_default_ext_orderform .hidden_protection {
    background: transparent !important;
    border: 0 none !important;
    box-shadow: none !important;
    color: transparent !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
}

.head-text{
    padding: 6px 0 2px;
    color: #102747;
    font-size: 17px;
    /*font-family: MyriadPro Regular;*/
    background: #d3d3d3;
    padding-left: 6px;
    font-weight: 700;
    /*width: 614px;*/
    text-transform: uppercase;
}

.tpl_default_ext_orderform_custom_field_0 input{
    width: 47%;
}

.tpl_default_ext_orderform textarea{
    padding-left: 6px;
    width: 285px;
    height: 50px;
    float: right;
}

.tpl_default_ext_orderform_custom_field_2 label, .tpl_default_ext_orderform_custom_field_3 label, .tpl_default_ext_orderform_custom_field_4 label{
    font-family: MyriadPro Regular;
    font-size: 13px;
    color: #848282;
    text-transform: uppercase;
    width: 150px;
}

.tpl_default_ext_orderform_custom_field_2 .option-qroup, .tpl_default_ext_orderform_custom_field_3 .option-qroup, .tpl_default_ext_orderform_custom_field_4 .option-qroup{
    width: 330px;
    float: right;
}

.fancybox-submit {
    position: relative;
    overflow: hidden;
    background: #1491ee;
    color: white;
    border: none;
    -moz-transition: 0;
    -o-transition: 0;
    -webkit-transition: 0;
    transition: 0;
}

@media (max-width: 768px) {
    .tpl_default_ext_orderform{
        width: 95%;
    }

    .tpl_default_ext_orderform_custom_field_0 input{
        width: 95%;
    }
    .tpl_default_ext_orderform_custom_field_2 label, .tpl_default_ext_orderform_custom_field_3 label, .tpl_default_ext_orderform_custom_field_4 label,
	.tpl_default_ext_orderform_custom_field_2 .option-qroup, .tpl_default_ext_orderform_custom_field_3 .option-qroup, .tpl_default_ext_orderform_custom_field_4 .option-qroup{
        width: 95%;
    }
    .tpl_default_ext_orderform textarea{
        width: 95%;
    }
    .tpl_default_ext_orderform input[type="text"] {
        width: 95%!important;
    }
}


.api-feedback.tpl_default_ext_orderform label {font-size: 14px; line-height: 19px; font-weight: 400; color: #000000; width: 100%; padding: 0px; margin-top: 13px;}
.api-feedback.tpl_default_ext_orderform input[type="text"] {height: 40px; border: 1px solid #cccccc; width: 100%;}
.api-feedback.tpl_default_ext_orderform select {height: 40px; border: 1px solid #cccccc; width: 100%;}
.api-feedback.tpl_default_ext_orderform {padding: 0px 45px;}
p.politic_new {font-size: 12px; line-height: 18px; font-weight: 400; color: #666666;}
p.politic_new a {text-decoration: underline;}
.api-feedback.tpl_default_ext_orderform select {font-size: 13px; line-height: 19px; font-weight: 500; font-style: italic; color: #999999;}
.api-feedback.tpl_default_ext_orderform input[type="text"] {font-size: 13px; line-height: 19px; font-weight: 500; font-style: italic; color: #999999;}
textarea.col-xs-12.col-sm-12.col-md-12 {height: 70px; border: 1px solid #cccccc; width: 100%;}
.hid {display: none;}
.dop_li i.fa.fa-check {font-size: 16px;line-height: 18px;font-weight: 400;color: #ffa800;margin-right: 4px;}
.dop_li span {font-size: 14px;line-height: 1.2;font-weight: 400;color: #000000;}
.dop_li {margin-bottom: 3px;}
.dop_text {font-size: 14px; line-height: 1.2; font-weight: 700; color: #000000; text-align: center; margin-top: 22px; margin-bottom: 5px;}
.dop_li_bloc {display: block; margin: 0 auto; width: 60%;}


.fon_sin_dop {background: #102747; width: 40%; padding: 52px;}
.dolz {font-size: 24px; line-height: 31px; font-weight: 400; text-transform: uppercase; color: #ffffff; text-align: center;}
.otdel {line-height: 31px; font-weight: 400; text-transform: uppercase; color: #ffffff; font-size: 18px; text-align: center; margin-bottom: 15px;}
.img {text-align: center;}
.zapol_form {font-size: 18px; line-height: 26px; font-weight: 600; text-transform: uppercase; color: #ffffff; text-align: center; margin-top: 15px;}
.esli_vopros {font-size: 16px; line-height: 1.2; font-weight: 400; color: #ffffff; text-align: center; margin-top: 30px;}
.tel {font-size: 24px; line-height: 1.2; font-weight: 400; color: #ffffff; text-align: center; margin-top: 20px;}
.fon_sin_dop .tel.comagic_phone a {font-size: 24px; line-height: 1.2; font-weight: 400; color: #ffffff; text-align: center; margin-top: 20px;}
.api-feedback.tpl_default_ext_orderform.form_with_new {
    width: 1011px; display: flex; padding:0px;
}
.api-feedback.tpl_default_ext_orderform.form_with_new form {
    width: 60%;
}

.fancybox-skin {
    padding: 0px!important;
}


@media (max-width: 768px) {


    .api-feedback.tpl_default_ext_orderform.form_with_new {width: 100%; display: flex; flex-direction: column;}
    .api-feedback.tpl_default_ext_orderform.form_with_new form {width: 100%;}
    .fon_sin_dop {width: 100%;}
    .img img {width: 220px;}
}
