
.special_form .row img {
    max-width: 100%;
}

.row_btn {
    text-align: center;
}

.message_successfull
{
    text-indent: 0;
    line-height: 1.4em;
    padding: 11px 13px;
    border-radius: 3px;
    outline: none;
    color: #46beff;
    border: 1px solid #46beff;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

/*!
 *  Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */
/* FONT PATH
 * -------------------------- */
@font-face {
    font-family: 'FontAwesome';
    src: url("../../fonts/fontawesome-webfont.eot?v=4.3.0");
    src: url("../../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0") format("embedded-opentype"), url("../../fonts/fontawesome-webfont.woff2?v=4.3.0") format("woff2"), url("../../fonts/fontawesome-webfont.woff?v=4.3.0") format("woff"), url("../../fonts/fontawesome-webfont.ttf?v=4.3.0") format("truetype"), url("../../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular") format("svg");
    font-weight: normal;
    font-style: normal; }
.icon, [class^="icon-"] {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0); }


/*
Clean Modern UI Kit (PSD)
https://creativemarket.com/JamiePeak/7380-Clean-Modern-UI-Kit-%28PSD%29
*/

.special_form_label {
    text-align: left;
}

.special_form .error
{
    display: block;
    width: 100%;
    margin-top: 5px;
    padding: 4px;
    border: 1px dashed #ff7669;
    background: none;
    color: #DE7073;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}


:focus {
    outline: none !important;
}

.sf_popup {
    max-width: 1200px;
}

.sf_popup_close {
    color: inherit;
}

.wrapp_form {
    margin-left: -10px;
    margin-right: -10px;
}

.sf_popup .wrapp_form {
    margin-left: 0;
    margin-right: 0;
}

.special_form {
    background-color: transparent;
    border: none !important;
    box-shadow: none;
    border-radius: 0;
    overflow: inherit;
}

.special_form.sf_popup {
    background-color: #EFEFEF;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-height: calc(100% - 30px);
    overflow: auto;
    border-radius: 4px;
}

.special_form h2 {
    background-color: transparent;
    /*border: 1px solid #d8d8d8;*/
    color: #959595;
    text-shadow: none;
    border-radius: 4px;
    text-transform: none !important;
    line-height: 42px;
    height: auto;
    display: inline-block;
    padding: 0 13px;
    width: 100%;
}

.special_form .row input[type=text], .special_form .row textarea {
    text-indent: 0;
    line-height: 1.4em;
    padding: 11px 13px;
    border-radius: 3px;
    outline: none;
    color: #959595;
    border: 1px solid #d8d8d8;
    outline: 0;
}


@media (max-width: 767px) {
    .special_form .row input[type=text].email,
    .special_form .row input[type=text].sf_phone,
    .special_form .row input[type=text].lastname,
    .special_form .row input[type=text].firstname,
    .special_form .row input[type=text].datepicker,
    .special_form .row input[type=text].sf_birthdate {
        width: 100% !important;
    }
}

.special_form .row input[type=text]:focus,
.special_form .row textarea:focus {
    text-indent: 0;
    line-height: 1.4em;
    padding: 11px 13px;
    border-radius: 3px;
    outline: none;
    color: #46beff;
    border: 1px solid #46beff;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.special_form .row textarea {
    height: 141px;
}

.special_form .row > label {
    padding-left: 15px;
}

.special_form .row > div > label {
    padding-left: 15px;
}

/* checker and radio */

.bmd-form-group {
    position: relative;
}

.checkbox label {
    cursor: pointer;
    margin-bottom: 12px;
    padding-left: 36px;
    text-align: left;
}

.checkbox label .checkbox-decorator,
label.checkbox-inline .checkbox-decorator {
    position: absolute;
    left: 0;
    padding: .7em;
    margin: -.7em;
    line-height: .7;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 100%;
}

.checkbox_input {
    display: none;
}

.checkbox_label .checkbox-decorator .check {
    position: relative;
}
.checkbox_label .checkbox-decorator .check:before {
    content: '';
    display: block;
    position: absolute;
    width: 24px;
    height: 24px;
    left: 5px;
    top: -2px;
    border-radius: 3px;
    border: 1px solid silver;

    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.checkbox_label .checkbox-decorator .check:after {
    font-family: "FontAwesome";
    content: '\f00d';
    font-size: 14px;
    color: silver;

    position: absolute;
    left: 12px;
    top: 5px;
}

[type="checkbox"]:checked + .checkbox-decorator .check:after {
    content: '\f00c';
    font-size: 13px;
    color: #46beff;

    left: 18px;
    top: 11px;

    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    text-shadow: 0 -1px 0 #2EA0DD, 0 -1px 0 #2EA0DD, 0 1px 0 #2EA0DD, 0 1px 0 #2EA0DD, -1px 0 0 #2EA0DD, 1px 0 0 #2EA0DD, -1px 0 0 #2EA0DD, 1px 0 0 #2EA0DD, -1px -1px 0 #2EA0DD, 1px -1px 0 #2EA0DD, -1px 1px 0 #2EA0DD, 1px 1px 0 #2EA0DD, -1px -1px 0 #2EA0DD, 1px -1px 0 #2EA0DD, -1px 1px 0 #2EA0DD, 1px 1px 0 #2EA0DD;
}

/* radio */

.radio_input {
    display: none;
}
.radio_label {
    position: relative;
    cursor: pointer;
    margin-bottom: 12px;
    padding-left: 36px;
    text-align: left;
}
.radio_label .bmd-radio:before {
    content: '';
    display: block;
    position: absolute;
    width: 22px;
    height: 22px;
    left: 5px;
    top: -1px;
    border-radius: 50%;
    border: 1px solid silver;

    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.radio_label .bmd-radio:after {
    font-family: "FontAwesome";
    content: '\f111';
    position: absolute;
    left: 12px;
    top: 0;
    color: silver;
    font-size: 10px;
}

[type="radio"]:checked + .bmd-radio:after {
    position: absolute;
    left: 13px;
    top: 0;
    font-size: 8px;
    color: #46beff;
    text-shadow: 0 -1px 0 #2EA0DD, 0 -1px 0 #2EA0DD, 0 1px 0 #2EA0DD, 0 1px 0 #2EA0DD, -1px 0 0 #2EA0DD, 1px 0 0 #2EA0DD, -1px 0 0 #2EA0DD, 1px 0 0 #2EA0DD, -1px -1px 0 #2EA0DD, 1px -1px 0 #2EA0DD, -1px 1px 0 #2EA0DD, 1px 1px 0 #2EA0DD, -1px -1px 0 #2EA0DD, 1px -1px 0 #2EA0DD, -1px 1px 0 #2EA0DD, 1px 1px 0 #2EA0DD;
}

/* btn */

.special_form .btn_submit {
    border: 1px solid #1b3e66;
    background: repeat-x 0 0 #46beff;
    background: linear-gradient(to top, #1ea8f1, #7dc8f2);
    line-height: 40px;
    border-radius: 4px;

    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1);

    text-shadow: 1px 1px 1px rgba(0,0,0,1);
    -webkit-text-shadow: 1px 1px 1px rgba(0,0,0,1);
    -moz-text-shadow: 1px 1px 1px rgba(0,0,0,1);
}

.special_form .btn_submit:hover {
    background: white;
    color: #777;
    border: 1px solid #777;
    text-shadow: none;
}

/* select */

.select {
    cursor: pointer;
    display: inline-block;
    position: relative;
    font-size: 16px;
    color: black;
    width: 200px;
    height: 43px;
}

@media (max-width: 767px) {
    .select {
        width: 100%;
    }
}

.select-styled {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: white;
    padding: 0 30px 0 13px;
    line-height: 40px;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    border: 1px solid silver;
    border-radius: 4px;
    z-index: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.select-styled:after {
    font-family: "FontAwesome";
    content: "\f107";
    color: black;
    position: absolute;
    top: 0px;
    right: 14px;
    font-size: 23px;
    font-weight: bold;
}
.select-styled:hover {

}
.select-styled:active, .select-styled.active {

}
.select-styled:active:after, .select-styled.active:after {
    content: "\f106";
}

.select-options {
    display: none;
    position: absolute;
    top: calc(100% - 11px);
    right: 0;
    left: 0;
    z-index: 1;
    margin: 0;
    padding: 0 !important;
    list-style: none !important;
    background-color: white;
    border: 1px solid silver;
    border-radius: 4px;
    padding-top: 13px;
}
.select-options li {
    margin: 0;
    margin-left: -1px;
    margin-right: -1px;
    padding: 12px 13px;
    border: 1px solid silver;
    margin-top: -1px;
    -moz-transition: all 0.15s ease-in;
    -o-transition: all 0.15s ease-in;
    -webkit-transition: all 0.15s ease-in;
    transition: all 0.15s ease-in;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select-options li:first-child {
    margin-top: 10px;
    border-top: 1px solid transparent;
}

.select-options li:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    margin-bottom: -1px;
}

.select-options li:hover {
    position: relative;
    color: white;
    border: 1px solid #1b3e66;
    background: repeat-x 0 0 #46beff;
    background: linear-gradient(to top, #1ea8f1, #7dc8f2);

    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1);

    text-shadow: 1px 1px 1px rgba(0,0,0,1);
    -webkit-text-shadow: 1px 1px 1px rgba(0,0,0,1);
    -moz-text-shadow: 1px 1px 1px rgba(0,0,0,1);
}
.select-options li[rel="hide"] {
    display: none;
}

/* select2 */

.select2-container-multi .select2-choices .select2-search-choice {
    border: 1px solid #1b3e66;
    background: repeat-x 0 0 #46beff;
    background: linear-gradient(to top, #1ea8f1, #7dc8f2);
    line-height: 21px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1);
    text-shadow: 1px 1px 1px rgba(0,0,0,1);
    -webkit-text-shadow: 1px 1px 1px rgba(0,0,0,1);
    -moz-text-shadow: 1px 1px 1px rgba(0,0,0,1);
    color: white;
    padding: 3px 5px 3px 27px;
}

.select2-search-choice-close {
    top: 5px;
}

.select2-container-multi .select2-search-choice-close {
    left: 7px;
}

.select2-search-choice-close:before {
    font-family: "FontAwesome";
    content: '\f00d';
    font-size: 12px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.select2-container-multi .select2-choices .select2-search-field input {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.select2-container-multi .select2-choices .select2-search-field input:focus {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.select2-container-multi .select2-choices {
    background-image: none;
    border-radius: 4px;
}

.select2-drop-active {
    border: 1px solid #ccc;
    border-top: none;
    margin-top: -3px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    z-index: 1000000;
}

.select2-container-multi.select2-container-active .select2-choices {
    border: 1px solid #ccc;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    z-index: 55555;
}

.select2-results {
    max-height: 209px;
    margin: 0;
    padding-left: 0;
    padding-top: 1px;
}

.select2-results li {
    margin: 0;
    padding: 12px 0;
    text-indent: 15px;
    border: 1px solid silver;
    margin-top: -1px;
    -moz-transition: all 0.15s ease-in;
    -o-transition: all 0.15s ease-in;
    -webkit-transition: all 0.15s ease-in;
    transition: all 0.15s ease-in;
    border-left: 0;
    border-right: 0;
}

.select2-results .select2-highlighted {
    position: relative;
    color: white;
    border: 1px solid #1b3e66;
    background: repeat-x 0 0 #46beff;
    background: linear-gradient(to top, #1ea8f1, #7dc8f2);

    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1);

    text-shadow: 1px 1px 1px rgba(0,0,0,1);
    -webkit-text-shadow: 1px 1px 1px rgba(0,0,0,1);
    -moz-text-shadow: 1px 1px 1px rgba(0,0,0,1);
}

/* uploader */

div.uploader {
    background: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: block !important;
    height: 140px;
    width: 100%;
    border: 1px silver solid;
    border-radius: 4px 4px 0 0;
}
div.uploader:before {
    content: '';
    background: url(../../img/themes/clean-modern-ui-kit/drop-your-files-here.png) right top no-repeat;
    display: block;
    width: 52px;
    height: 52px;

    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.input_file_text {
    margin-top: 13px;
    font-weight: bold;
    color: #777;
    white-space: nowrap;

    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.style_input_file input[type=file] {
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    border: none;
    background: none;
    position: absolute;
    top: 0;
    right: 0;
    float: right;
    cursor: default;
    width: 100%;
    height: 100%;
    display: block;
}

div.uploader input {
    opacity: 1;
}

div.uploader span.filename {
    display: none;
}
div.uploader span.action {
    display: none;
}

.style_input_file [data-file-name] {
    width: 100%;
    padding: 0 13px;
    border-radius: 0 0 4px 4px;
    margin-top: -1px;
    line-height: 66px;
}

.item_file {
    background: transparent;
    color: #777;
    border: none;
    padding: 0;
    font-weight: bold;
}

.item_file:after {
    font-family: "FontAwesome";
    content: '\f00c';
    position: absolute;
    right: 27px;
    font-size: 17px;
    font-weight: normal;
}

label.style_input_file {
    padding-left: 0;
    width: 100%;
    max-width: 400px;
    position: relative;
}

@media (max-width: 767px) {
    label.style_input_file {
        max-width: 100%;
    }
}

/* title */

.form_title {
    font-weight: normal;
    /*border: 1px solid #d8d8d8 !important;*/
    color: #959595;
    line-height: 42px;
    display: inline-block;
    padding: 0 13px !important;
    width: 100%;
    border-radius: 4px;
}

/* datepicker */

.ui-widget {
    font-family: inherit;
}

.ui-widget-header {
    color: #222;
    font-weight: normal;
    background: white;
    border: none;
}

.ui-datepicker th {
    font-weight: normal;
}

.ui-datepicker .ui-datepicker-header {
    height: 44px;
}

.ui-datepicker .ui-datepicker-title {
    line-height: 36px;
}

.ui-datepicker {
    width: auto;
    z-index: 1000000 !important;
}

.ui-datepicker table {
    font-size: .875rem;
}

.ui-datepicker td span, .ui-datepicker td a {
    text-align: center;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    min-width: 42px;
    background: white;
    line-height: 34px;
    border: 1px solid silver;
    border-radius: 4px;
    margin: 5px;
    font-weight: bold;

    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.ui-state-default:hover, .ui-widget-content .ui-state-default:hover, .ui-widget-header .ui-state-default:hover {
    background: repeat-x 0 0 #46beff;
    background: linear-gradient(to top, #1ea8f1, #7dc8f2);
    border: 1px solid #1b3e66;
    color: white;

    text-shadow: 1px 1px 1px rgba(0,0,0,1);
    -webkit-text-shadow: 1px 1px 1px rgba(0,0,0,1);
    -moz-text-shadow: 1px 1px 1px rgba(0,0,0,1);
}

.ui-datepicker .ui-datepicker-prev:after, .ui-datepicker .ui-datepicker-next:after {
    font-family: "FontAwesome";
    content: "\f104";
    color: black;
    font-size: 23px;
    font-weight: bold;

    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.ui-datepicker .ui-datepicker-next:after {
    content: "\f105";
}

.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus {
    background: none;
    border: none;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    width: 38px;
    height: 38px;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover {
    top: 2px;
}

.ui-datepicker .ui-datepicker-prev-hover:after, .ui-datepicker .ui-datepicker-next-hover:after {
    color: #46beff;
}

.ui-datepicker .ui-datepicker-prev-hover {
    left: 2px;
}

.ui-datepicker .ui-datepicker-next-hover {
    right: 2px;
}

.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
    display: none;
}

/* other */

.special_form .error {
    padding: 4px 13px;
}

.form_hint {
    padding: 5px 13px;
    font-style: italic;
    font-size: 0.8em;
}

.available_types {
    padding: 5px 13px;
    font-style: italic;
    font-size: 0.8em;
    text-align: left;
}


.switch label {
    position: relative;
    padding-left: 2.4375rem;
}

.switch label .bmd-switch-track {
    position: absolute;
    top: 0.3125rem;
    left: 0;
    display: inline-block;
    width: 2.125rem;
    height: 0.875rem;
    cursor: pointer;
    background: silver;
    background-position: 0%;
    background-size: 4.25rem 0.875rem;
    border-radius: 2.125rem;
    transition: background-position 0.2s ease-in;
}

.switch label .bmd-switch-track::after {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    align-self: center;
    width: 1.25rem;
    height: 1.25rem;
    content: "";
    background: #f1f1f1;
    border-radius: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: left 0.2s ease-in, background-color 0.2s ease-in, transform 0.3s ease;
    transform: translateY(-50%);
}

.switch label .bmd-switch-track:active::after {
    transform: translateY(-50%) scale3d(1.15, 0.85, 1);
}

.switch label input {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    opacity: 0;
}

.switch label input:checked + .bmd-switch-track {
    background-position: -100%;
}

.switch label input:checked + .bmd-switch-track::after {
    left: calc(100% - 1.25rem);
    background-color: #46beff;
}

.switch label input:disabled + .bmd-switch-track:active::after {
    transform: translateY(-50%);
}

.switch label input:disabled + .bmd-switch-track {
    cursor: default;
    background: rgba(0, 0, 0, 0.12);
}

.switch label input:disabled + .bmd-switch-track::after {
    background: #bdbdbd;
}

