.message_successfull
{
    padding: .75rem 1.25rem;
    border: 1px solid #d0e9c6;
    border-radius: 0;
    background-color: #dff0d8;
    color: #3c763d;
    margin-bottom: 10px;
}
.special_form
{
    border: 1px solid #C4C4C4!important;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    /*background-color: #EFEFEF;*/
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    box-sizing: border-box;
}
.special_form *
{
    box-sizing: border-box;
    vertical-align: middle;
}
.special_form label {
    vertical-align: text-top;
    font-weight: normal;
    text-align: left;
}
div.checker span {
    top: 0px !important;
}
.special_form > form
{
    padding: 0;
}
.special_form:after
{
    content: '';
    display: block;
    clear: both;
}

.special_form h2
{
    padding: 0 15px;
    margin: 0!important;
    background-color: #9BC3CD;
    font-size: 16px!important;
    text-transform: uppercase!important;
    line-height: 35px;
    color: #FFFFFF;
    font-weight: normal;
    text-shadow: 0 0 1px #8EB9C4;
    border-bottom: 1px solid #8EB9C4;
    height: 35px;
}
.special_form h2:after
{
    content: '';
    display: block;
    clear: both;
}

.special_form input[name=submitSpecialForm]
{
    margin-bottom: 10px;
}
.special_form .row sup
{
    font-size: 14px;
    color: #C45F5F;
    margin-left: 5px;
}
.special_form .row input[type=text], .special_form .row select
{
    border: 1px solid #CACACA;
    line-height: 22px;
    font-size: 14px;
    text-indent: 5px;
    width: 100%!important;
    margin: 0!important;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;
    padding: 3px 5px;

    -moz-appearance: menulist;
    -webkit-appearance: menulist;
}
.special_form .row textarea
{
    width: 100%;
    height: 50px;
}

.special_form .row img {
    max-width: 100%;
}

.special_form .row > label
{
    font-size: 15px;
    margin-bottom: 5px;
    display: block;
    color: #424242;
    width: 100%;
}
.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;
}

.special_form div.checker
{
    float: left;
}

.special_form ._loading
{
    position: relative;
}

.special_form ._loading:before
{
    content: '';
    display: block;
    position: absolute;
    margin: auto;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    border-radius: 100%;
    width: 10px;
    height: 10px;
    z-index: 9999;
    box-shadow: 15px 15px #4f4d49, -15px 15px #dfdfdf, -15px -15px #4f4d49, 15px -15px #dfdfdf;
    -webkit-animation: spin_circle ease infinite 4s;
}
.special_form ._loading:after
{
    display: block;
    content: '';
    clear: both;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0,0,0, 0.3);
    position: absolute;
    z-index: 999;
}

@-webkit-keyframes spin_circle {
    0%,
    100% {
        box-shadow: 15px 15px #4f4d49, -15px 15px #dfdfdf, -15px -15px #4f4d49, 15px -15px #dfdfdf;
    }
    25% {
        box-shadow: -15px 15px #dfdfdf, -15px -15px #4f4d49, 15px -15px #dfdfdf, 15px 15px #4f4d49;
    }
    50% {
        box-shadow: -15px -15px #4f4d49, 15px -15px #dfdfdf, 15px 15px #4f4d49, -15px 15px #dfdfdf;
    }
    75% {
        box-shadow: 15px -15px #dfdfdf, 15px 15px #4f4d49, -15px 15px #dfdfdf, -15px -15px #4f4d49;
    }
}
@-moz-keyframes  spin_circle {
    0%,
    100% {
        box-shadow: 15px 15px #4f4d49, -15px 15px #dfdfdf, -15px -15px #4f4d49, 15px -15px #dfdfdf;
    }
    25% {
        box-shadow: -15px 15px #dfdfdf, -15px -15px #4f4d49, 15px -15px #dfdfdf, 15px 15px #4f4d49;
    }
    50% {
        box-shadow: -15px -15px #4f4d49, 15px -15px #dfdfdf, 15px 15px #4f4d49, -15px 15px #dfdfdf;
    }
    75% {
        box-shadow: 15px -15px #dfdfdf, 15px 15px #4f4d49, -15px 15px #dfdfdf, -15px -15px #4f4d49;
    }
}
@-ms-keyframes spin_circle {
    0%,
    100% {
        box-shadow: 15px 15px #4f4d49, -15px 15px #dfdfdf, -15px -15px #4f4d49, 15px -15px #dfdfdf;
    }
    25% {
        box-shadow: -15px 15px #dfdfdf, -15px -15px #4f4d49, 15px -15px #dfdfdf, 15px 15px #4f4d49;
    }
    50% {
        box-shadow: -15px -15px #4f4d49, 15px -15px #dfdfdf, 15px 15px #4f4d49, -15px 15px #dfdfdf;
    }
    75% {
        box-shadow: 15px -15px #dfdfdf, 15px 15px #4f4d49, -15px 15px #dfdfdf, -15px -15px #4f4d49;
    }
}


.row_btn
{
    text-align: center;
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
}
.special_form .btn_submit
{
    /*position: relative;*/
    /*display: inline-block;*/
    /*padding: 0 20px;*/
    /*border: 1px solid #64AD8D;*/
    /*-webkit-border-radius: 3px;*/
    /*-moz-border-radius: 3px;*/
    /*-khtml-border-radius: 3px;*/
    /*border-radius: 3px;*/
    /*font-weight: bold;*/
    /*color: #FFFFFF;*/
    /*background: repeat-x 0 0 #75D2A9;*/
    /*cursor: pointer;*/
    /*font-size: 14px;*/
    /*line-height: 25px;*/
    /*-webkit-transition: background 0.3s ease;*/
    /*-moz-transition: background 0.3s ease;*/
    /*-ms-transition: background 0.3s ease;*/
    /*-o-transition: background 0.3s ease;*/
    /*transition: background 0.3s ease;*/
}
.special_form .btn_submit:hover
{
    /*background: repeat-x 0 0 #64AD8D;*/
}
.sf_popup_stage
{
    position: fixed;
    top: 0;
    display: none;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../img/caption.png");
    z-index: 99999;
}
.sf_popup
{
    position: absolute;
    z-index: 999999;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.sf_popup_close
{
    float: right;
    font-size: 27px;
    color: #FFFFFF;
    text-decoration: none;
}

.sp_popup_show
{
    color: #57a9ff!important;
    text-decoration: underline!important;
}

.style_input_file input[type=file]
{
    display: none;
}

.style_input_file [data-delete-file]
{
    color: #FFFFFF;
    font-size: 16px;
    margin-left: 10px;
    font-weight: bolder;
    line-height: 17px;
    cursor: pointer;
}

.style_input_file [data-file-name]
{
    border: 1px solid #CACACA;
    line-height: 27px;
    font-size: 14px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;
    background-color: #FFFFFF;
    font-weight: normal;
    margin-right: 10px;
    display: inline-block;
    padding: 0 20px;
}

.style_input_file [data-file-name] + span
{
    position: relative;
    display: inline-block;
    padding: 0 20px!important;
    border: 1px solid #64AD8D;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;
    font-weight: bold;
    color: #FFFFFF;
    background: repeat-x 0 0 #75D2A9;
    cursor: pointer;
    font-size: 14px;
    line-height: 25px;
    -webkit-transition: background 0.3s ease;
    -moz-transition: background 0.3s ease;
    -ms-transition: background 0.3s ease;
    -o-transition: background 0.3s ease;
    transition: background 0.3s ease;
}

.style_input_file [data-file-name] + span:hover,
.style_input_file [data-file-name] + span:active
{
    background: repeat-x 0 0 #64AD8D;
}

.form_hint
{
    border: 1px solid #49AED8;
    color: #49AED8;
    margin-top: 10px;
    background: #E3F2F5;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;
    padding: 5px 10px;
    font-size: 0.8em;
    font-style: italic;
    text-align: left;
}

.available_types {
    border: 1px solid #49AED8;
    color: #49AED8;
    margin-top: 10px;
    background: #E3F2F5;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;
    padding: 5px 10px;
    font-size: 0.8em;
    font-style: italic;
    text-align: left;
}

.item_file
{
    line-height: 18px;
    display: inline-block;
    padding: 0 5px;
    background: #E28181;
    color: #FFFFFF;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #BD6868;
    margin-right: 10px;
    margin-top: 1px;
    margin-bottom: 2px;
}
.form_title
{
    font-size: 20px;
    border-bottom: none;
    margin: 0;
    padding: 0 0 17px 0;
    font-weight: bolder;
    margin-bottom: 20px;
}



.g-recaptcha
{
    margin: 0 0 8px 0;
}

.row_btn .error
{
    text-align: left;
    margin-bottom: 8px;
}


/* select 17 */

main .select {
    cursor: pointer;
    display: inline-block;
    position: relative;
    font-size: 16px;
    color: black;
    width: 100%;
    height: 43px;
}

@media (max-width: 767px) {
    main .select {
        width: 100%;
    }
}

main .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;
}

.cms .select-styled {
    display: none; /* ps 16*/
}

main .select-styled:after {
    font-family: "FontAwesome";
    content: "\f107";
    color: black;
    position: absolute;
    top: 0px;
    right: 14px;
    font-size: 23px;
    font-weight: bold;
}
main .select-styled:hover {

}
main .select-styled:active, main .select-styled.active {

}
main .select-styled:active:after, main .select-styled.active:after {
    content: "\f106";
}

main .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: #f6f6f6;
    border: 1px solid silver;
    border-radius: 4px;
    padding-top: 13px;
}

.cms .select-options {
    display: none; /* ps 16*/
}

main .select-options li {
    margin: 0;
    margin-left: -1px;
    margin-right: -1px;
    padding: 12px 13px;
    border: 1px solid #f6f6f6;
    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;
}

main .select-options li:first-child {
    margin-top: 10px;
    border-top: 1px solid transparent;
}

main .select-options li:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    margin-bottom: -1px;
}

main .select-options li:hover {
    position: relative;
    color: white;
    border: 1px solid #2fb5d2;
    background: #2fb5d2;
    text-decoration: none;

    /*-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);*/
}
main .select-options li[rel="hide"] {
    display: none;
}



/* switch */

.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: #d3d3d3;
    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: #9BC3CD;
}

.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;
}