html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -50px;
    padding: 0 0 50px;
}

.wrap > .container {
    /*padding: 70px 15px 20px;*/
    /*padding: 0 0 30px;*/
    padding-bottom: 30px;
}

.footer {
    height: 50px;
    /*padding-top: 17px;*/
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

/*** update ***/
.content.fixed-top {
    z-index: 11000;
}
.fancybox__container {
    z-index: 12000 !important;
}
.header {
    max-width: 1440px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px 90px;
    background: #FFFFFF;
    margin: 0 auto;
    justify-content: space-between;
}
@media (max-width: 1440px) {
    .header {
        max-width: 100%;
        padding: 20px;
    }
    #navbarSupportedContent {
        max-width: unset;
    }
    #navbarSupportedContent-collapse.collapse.in {
        justify-content: space-between;
        display: flex !important;
    }
    .navbar-nav {
        float: none;
        flex: 1 auto;
        justify-content: center;
    }
    .header__button {
        flex: 1 auto;
    }
}
@media (max-width: 1199px) {
    .header {
        max-width: 100%;
        padding: 15px;
    }
}
.scrolled .header {
    padding-top: 10px;
    padding-bottom: 10px;
}
.scrolled .header__logo {
    max-width: 160px;
}
.header__button-login {
    display: none;
    margin-right: 0;
}
.s-640 .header__button-login {
    display: flex;
    margin-right: 0;
}
.s-640 .header__button-consult {
    display: none;
}
.main__video {

}
.header__button {
    background-color: #fff;
}
.header__button.with-icon {
    display: inline-flex;
    align-items: center;
    max-width: unset;
    position: relative;
    width: auto;
    line-height: 1.5em;
    box-sizing: border-box;
    height: auto;
    padding: 4px 12px;
    margin-bottom: 30px;
}

.header__button i {
    display: inline-block;
    width: 36px;
    margin-left: 12px;
}
.header__button i svg {
    max-width: 100%;
    height: auto;
}
.header__button:hover svg {
    fill: #fff;
}
.button__red {
    background: #E2255E;
}
@media(max-width: 1440px) {
    .main__content {
        padding: 110px 0 136px 89px;
    }
}
@media (max-width: 1199px) {
    .main__content {
        padding-top: 80px;
    }
    .header__button {
        margin-bottom: 20px;
        margin-top: 10px;
        display: inline-flex;
        height: auto;
        max-height: 48px;
        align-items: center;
        vertical-align: middle;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    #navbarSupportedContent-collapse.collapse.in {
        /*display: block !important;*/
        position: fixed;
    }
}
@media (max-width: 767px) {
    #navbarSupportedContent-collapse.collapse.in {
        display: block !important;
    }
    .main__content {
        padding-left: 20px;
        padding-right: 20px;
    }
}
.main__par {
    margin-bottom: 30px;
}
.consult-form {

}
.consult-form__title {
    text-align: center;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.2em;
    margin-bottom: 1em;
}
.consult-form__desc {
    text-align: center;
    line-height: 1.2em;
    font-size: 16px;
    margin-bottom: 1.5em;
}
.consult-form__submit {

}
.consult-form__submit-wrapper {
    text-align: center;
}

.consult-form .consult-form__result div {
    display: none;
    font-size: 24px;
    padding: 12px;
}
.consult-form.result-ok .consult-form__inner,
.consult-form.result-error .consult-form__inner {
    display: none;
}
.consult-form .consult-form__result-ok::before,
.consult-form .consult-form__result-error::before {
    content: '';
    width: 128px;
    height: 128px;
    display: block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.consult-form .consult-form__result-ok::before {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg fill='%2300d27a' width='800px' height='800px' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M12,2 C17.5228475,2 22,6.4771525 22,12 C22,17.5228475 17.5228475,22 12,22 C6.4771525,22 2,17.5228475 2,12 C2,6.4771525 6.4771525,2 12,2 Z M12,4 C7.581722,4 4,7.581722 4,12 C4,16.418278 7.581722,20 12,20 C16.418278,20 20,16.418278 20,12 C20,7.581722 16.418278,4 12,4 Z M15.2928932,8.29289322 L10,13.5857864 L8.70710678,12.2928932 C8.31658249,11.9023689 7.68341751,11.9023689 7.29289322,12.2928932 C6.90236893,12.6834175 6.90236893,13.3165825 7.29289322,13.7071068 L9.29289322,15.7071068 C9.68341751,16.0976311 10.3165825,16.0976311 10.7071068,15.7071068 L16.7071068,9.70710678 C17.0976311,9.31658249 17.0976311,8.68341751 16.7071068,8.29289322 C16.3165825,7.90236893 15.6834175,7.90236893 15.2928932,8.29289322 Z'/%3E%3C/svg%3E%0A");
}
.consult-form .consult-form__result-error:before {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg fill='%23e2255e' width='800px' height='800px' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M13.1784199,2.2788327 C13.6884947,2.53387012 14.102091,2.94746641 14.3571284,3.45754124 L21.7211673,18.185619 C22.37215,19.4875845 21.8444243,21.0707619 20.5424588,21.7217447 C20.1764813,21.9047334 19.7729254,22 19.3637502,22 L4.63567242,22 C3.18003074,22 2,20.8199693 2,19.3643276 C2,18.9551524 2.09526662,18.5515965 2.27825534,18.185619 L9.64229424,3.45754124 C10.293277,2.15557574 11.8764544,1.62784995 13.1784199,2.2788327 Z M11.2372377,4.47154211 L4.09002086,18.7659757 C4.03082055,18.8843764 4,19.0149343 4,19.1473102 C4,19.6182378 4.38176222,20 4.85268979,20 L19.1471234,20 C19.2794993,20 19.4100573,19.9691794 19.5284579,19.9099791 C19.9496683,19.6993739 20.1203976,19.1871862 19.9097924,18.7659757 L12.7625755,4.47154211 C12.6800661,4.30652327 12.5462599,4.17271706 12.3812411,4.09020764 C11.9600307,3.87960243 11.4478429,4.05033169 11.2372377,4.47154211 Z M12,16 C12.5522847,16 13,16.4477153 13,17 C13,17.5522847 12.5522847,18 12,18 C11.4477153,18 11,17.5522847 11,17 C11,16.4477153 11.4477153,16 12,16 Z M12,8 C12.5522847,8 13,8.44771525 13,9 L13,13 C13,13.5522847 12.5522847,14 12,14 C11.4477153,14 11,13.5522847 11,13 L11,9 C11,8.44771525 11.4477153,8 12,8 Z'/%3E%3C/svg%3E%0A");
}
.consult-form.result-ok .consult-form__result .consult-form__result-ok,
.consult-form.result-error .consult-form__result .consult-form__result-error {
    display: block;
}
.consult-form.result-ok .consult-form__result .consult-form__result-error,
.consult-form.result-error .consult-form__result .consult-form__result-ok {
    display: none;
}
