.tpl_reclamation_ext{position: relative;
    width: 750px;}
.tpl_reclamation_ext .asterisk{
    color: #FF3737;
    font-size: 13px;
    font-weight: bold;
}
.tpl_reclamation_ext .api-submit{padding: 15px 5px;position: relative;text-align: center;}
.tpl_reclamation_ext .api-file-ext{font-size: 11px; color: #6A6A6A}

.tpl_reclamation_ext input[type="text"], .tpl_reclamation_ext textarea, .tpl_reclamation_ext select{border: 1px solid #8C8C8C;vertical-align: middle;font-size: 13px;line-height: 20px;width:47%;}
.tpl_reclamation_ext input[type="text"]:focus, .tpl_reclamation_ext textarea:focus, .tpl_reclamation_ext 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_reclamation_ext [class*="ts-field-"]{
    display: inline-block;
    margin-left: 6px;
    width: 14px;
    height: 12px;
    background-image: url("images/note.png");
    background-repeat: no-repeat;
}
.tpl_reclamation_ext .ts-field-error{background-position: 0 0;}
.tpl_reclamation_ext .ts-field-saccess{background-position: 0 -14px;}


/* ========================================================================
   Component: Captcha
 ========================================================================== */
.tpl_reclamation_ext .mf-captcha{padding: 5px;}
.tpl_reclamation_ext .mf-captcha-wrap{display: inline-block;}
.tpl_reclamation_ext .mf-captcha .mf-text{margin:0 0 3px;font-size: 13px;}
.tpl_reclamation_ext .mf-captcha img{margin: 0 0 10px;}
.tpl_reclamation_ext .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_reclamation_ext .api-file-wrap{position: relative; margin-top: 5px}
.tpl_reclamation_ext .api-file-wrap input[type="file"]{display: none;}
.tpl_reclamation_ext .api-file-name{color: #000000;font-size: 13px;margin-right: 10px; padding: 0px 10px;display: inline-block;height: 20px;line-height: 20px;}
.tpl_reclamation_ext .api-file-string{overflow: hidden;margin: 0 0 5px;}
.tpl_reclamation_ext input[type="submit"], .tpl_reclamation_ext .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_reclamation_ext input[type="submit"]:hover, .tpl_reclamation_ext .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_reclamation_ext input[type="submit"]:active, .tpl_reclamation_ext .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_reclamation_ext .api-btn-small{height: 20px;font: normal 13px/18px Arial,sans-serif;margin-bottom: 5px;}
.tpl_reclamation_ext .api-form-row{overflow: hidden;}

/* v1.2.9 */
.tpl_reclamation_ext .option-qroup{display: inline-block;vertical-align: middle;}
.tpl_reclamation_ext .date-group input[type="text"]{margin-bottom: 5px;width:44%;}

/* v1.3.4 */
.tpl_reclamation_ext .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_reclamation_ext_custom_field_0 input{
    width: 47%;
}

.tpl_reclamation_ext textarea{
    padding-left: 6px;
    width: 47%;
    height: 60px;
    float: none;
}

.tpl_reclamation_ext_custom_field_2 .option-qroup, .tpl_reclamation_ext_custom_field_3 .option-qroup, .tpl_reclamation_ext_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_reclamation_ext{
        width: 95%;
    }

    .tpl_reclamation_ext_custom_field_0 input{
        width: 95%;
    }
    .tpl_reclamation_ext_custom_field_2 label, .tpl_reclamation_ext_custom_field_3 label, .tpl_reclamation_ext_custom_field_4 label,
	.tpl_reclamation_ext_custom_field_2 .option-qroup, .tpl_reclamation_ext_custom_field_3 .option-qroup, .tpl_reclamation_ext_custom_field_4 .option-qroup{
        width: 95%;
    }
    .tpl_reclamation_ext textarea{
        width: 95%;
    }
    .tpl_reclamation_ext input[type="text"] {
        width: 95%!important;
    }
}
/* Показываем BX calendar выше всех слоёв */
.popup-window {
    z-index: 10000!important;
}