/* Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,600&display=swap&subset=cyrillic');

/**
 * Global Styles
 */
html {
    scroll-behavior: smooth;
}
body {
    position: relative;
}
.cursor-pointer {
    cursor: pointer;
}
.bg-muted {
    background-color: #f5f5f5;
}
.bg-muted p {
    background-color: inherit !important;
}
.font-montserrat {
    font-family: "Montserrat", sans-serif;
}
.h5-half {
    font-size: 1.1rem;
}
.text-maroon {
    color: #800000;
}
.text-dark-primary {
    color: #2f6aa6;
}
.text-dark-red,
.text-dark-danger {
    color: #b92a38;
}
.text-hyphens { /* More about this feature https://habr.com/ru/post/445166/ */
    -webkit-hyphens: auto;
    -webkit-hyphenate-limit-before: 3;
    -webkit-hyphenate-limit-after: 3;
    -webkit-hyphenate-limit-chars: 6 3 3;
    -webkit-hyphenate-limit-lines: 2;
    -webkit-hyphenate-limit-last: always;
    -webkit-hyphenate-limit-zone: 8%;

    -moz-hyphens: auto;
    -moz-hyphenate-limit-chars: 6 3 3;
    -moz-hyphenate-limit-lines: 2;
    -moz-hyphenate-limit-last: always;
    -moz-hyphenate-limit-zone: 8%;

    -ms-hyphens: auto;
    -ms-hyphenate-limit-chars: 6 3 3;
    -ms-hyphenate-limit-lines: 2;
    -ms-hyphenate-limit-last: always;
    -ms-hyphenate-limit-zone: 8%;

    hyphens: auto;
    hyphenate-limit-chars: 6 3 3;
    hyphenate-limit-lines: 2;
    hyphenate-limit-last: always;
    hyphenate-limit-zone: 8%;
}
.btn-blue,
.btn-green,
.btn-red,
.btn-redwood,
.btn-blue:hover,
.btn-green:hover,
.btn-red:hover,
.btn-redwood:hover {
    color: rgb(255, 255, 255);
}
.btn-blue,
.btn-green,
.btn-red,
.btn-redwood,
.btn-success,
.btn-primary,
.btn-danger,
.btn-warning,
.btn-outline-red,
.btn-outline-success,
.btn-outline-primary,
.btn-outline-danger,
.btn-outline-warning {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
}
.btn {
    border-radius: 0px;
}
.btn-green {
    background-color: rgb(47, 166, 106);
}
.btn-green:hover {
    background-color: rgba(47, 166, 106, 0.9);
}
.btn-green:focus {
    box-shadow: rgba(72, 180, 97, 0.5) 0px 0px 0px 0.2rem;
}
.btn-blue,
.bg-blue {
    background-color: rgb(47, 106, 166);
}
.btn-blue:hover {
    background-color: rgba(47, 106, 166, 0.95);
}
.btn-red {
    background-color: rgb(246, 64, 52);
}
.btn-red:hover {
    background-color: rgba(246, 64, 52, 0.9);
}
.btn-red:focus {
    box-shadow: rgba(225, 83, 97, 0.5) 0px 0px 0px 0.2rem;
}
.btn-light {
    background-color: #f6f6f6;
    border: 1px solid #ececec;
    color: rgba(50,50,50,0.6);
}
.btn-light:hover {
    background-color: #ececec;
}
.btn-redwood {
    background-color: #c73b49;
}
.btn-redwood:hover {
    background-color: #ee5363;
}
.btn-redwood:focus {
    box-shadow: rgba(225, 83, 97, 0.5) 0px 0px 0px 0.2rem;
}
.btn-outline-red {
    color: rgb(246, 64, 52);
    border-color: rgb(246, 64, 52);
}
.btn-outline-red:hover {
    color: #fff;
    background-color: rgb(246, 64, 52);
}
.btn-outline-red:focus {
    box-shadow: rgba(225, 83, 97, 0.5) 0px 0px 0px 0.2rem;
}
.btn-outline-success {
    color: rgb(47, 166, 106);
    border-color: rgb(47, 166, 106);
}
.btn-outline-success:hover {
    background-color: rgb(47, 166, 106);
    border-color: rgb(47, 166, 106);
}
.btn-outline-primary {
    color: rgb(47, 106, 166);
    border-color: rgb(47, 106, 166);
}
.btn-outline-primary:hover {
    background-color: rgb(47, 106, 166);
    border-color: rgb(47, 106, 166);
}
.border-primary {
    border-color: #2f6aa6 !important;
}
.border-muted {
    border-color: #ddd !important;
}
.border-red {
    border-color: #f64034 !important;
}
.border-1 {
    border-width: 2px;
}
.form-control {
    border-radius: 0px;
}
.custom-form .form-group {
    position: relative;
}





/* 

    Banners

*/

.banner-arrow {
    position: absolute;
    z-index: 5;
    top: 70%;
}

.banner-arrow-left {
    left: 25%;
}

.banner-arrow-right {
    right: 20%;
}

@media (min-width: 1255px) {
    .banner-arrow {
        top: 50%;
    }
    .banner-arrow-left {
        left: -3%;
    }
    .banner-arrow-right {
        right: -3%;
    }
}

.banner-arrow-left .fa-custom-arrow,
.banner-arrow-right .fa-custom-arrow {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

.banner-arrow-left .fa-custom-arrow::before,
.banner-arrow-right .fa-custom-arrow::before {
    content: "\f062"; /* To Top Arrow */
}

@media (min-width: 1255px) {
    .banner-arrow-left .fa-custom-arrow {
        -webkit-animation-name: fadeInLeft;
        animation-name: fadeInLeft;
    }

    .banner-arrow-right .fa-custom-arrow {
        -webkit-animation-name: fadeInRight;
        animation-name: fadeInRight;
    }

    .banner-arrow-left .fa-custom-arrow::before {
        content: "\f061"; /* To Right Arrow */
    }
    
    .banner-arrow-right .fa-custom-arrow::before {
        content: "\f060"; /* To left Arrow */
    }
}

.banner-hover-shine {
    margin-top: 4rem;
    margin-bottom: 3rem;
    transition: .5s linear;
}

@media (min-width: 1255px) {
    .banner-hover-shine {
        margin-top: 4rem;
        margin-bottom: 1rem;
    }
}

.banner-hover-shine:hover {
    box-shadow: -1px 6px 9px 2px #2f55a6 !important;
}


/* 

    Banner Legal Info

*/
.banner {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    max-width: 100%;
    
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    background-size: contain;
    background-repeat: no-repeat;
}
.banner-leggal-info {
    position: absolute;
    top: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;
    font-size: .8rem;
    text-align: center;
    color: #3d3d3d;
}
.banner-leggal-info.text-is-shown {
    left: 0;
    text-align: left;
}
.banner-leggal-info > .dots,
.banner-leggal-info > .text {
    padding-right: .5rem;
    padding-left: .5rem;
}
.banner-leggal-info > .dots.hidden {
    display: none;
}
.banner-leggal-info > .text {
    display: none;
}
.banner-leggal-info > .text.shown {
    display: block;
    padding: .4rem;
    color: #919191;
    background-color: #fcfafa;
}









.custom-form .form-group label:not(.custom-control-label) {
    position: absolute;
    top: 0.3rem;
    right: 0.8rem;
}
.custom-form .form-group .is-valid + label:not(.custom-control-label),
.custom-form .form-group .is-invalid + label:not(.custom-control-label) {
    right: 2rem;
}
@-webkit-keyframes autofill-valid {
    to {
        color: #666;
        background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: center right calc(0.375em + 0.1875rem);
        background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    }
}
@-webkit-keyframes autofill-invalid {
    to {
        color: #666;
        background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
        background-repeat: no-repeat;
        background-position: center right calc(0.375em + 0.1875rem);
        background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    }
}
.custom-form .form-control.is-invalid:-webkit-autofill {
    -webkit-animation-name: autofill-invalid;
    -webkit-animation-fill-mode: both;
}
.custom-form .form-control.is-valid:-webkit-autofill {
    -webkit-animation-name: autofill-valid;
    -webkit-animation-fill-mode: both;
}
.file-input ~ .invalid-feedback {
    display: block;
}
.overflow-hidden {
    overflow: hidden;
}
.animated-alert {
    animation-duration: 5s;
    animation-delay: 3s;
    animation-iteration-count: infinite;
}
.mh-100px {
    max-height: 100px;
}
.mt-n100 {
    margin-top: -100%;
}
.mt-2dot5 {
    margin-top: 0.7rem;
}
.ml-4dot5 {
    margin-left: 2rem !important;
}
.mh-10rem {
    min-height: 10rem;
}

@media (min-width: 768px) {
    .w-md-50 {
        width: 50% !important;
    }
    .w-md-75 {
        width: 75% !important;
    }
}

.custom-control.custom-2 .custom-control-label {
    padding-left: 0.5rem;
    line-height: 1.8rem;
}
.custom-control.custom-2 .custom-control-label::before,
.custom-control.custom-2 .custom-control-label::after {
    width: 1.4rem;
    height: 1.4rem;
}
.custom-file-label::after {
    content: "\f574";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #fff;
    background-color: #bbb;
}
.overflow-layout {
    display: none;
    position: fixed;
    z-index: 1055;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.5);
}
.overflow-layout.show {
    display: block;
}
.list-style-none,
.list-style-none ul{
    list-style: none;
}
.custom-alert.alert {
    padding: 1.75rem 5.25rem;
    margin-bottom: 0;
}
.custom-alert.alert .close {
    padding: 1.5rem 1.25rem;
}
.badge {
    position: relative;
}
.badge span {
    white-space: normal;
}
.badge .fa-times-circle {
    position: absolute;
    top: -0.2rem;
    right: -0.5rem;
    color: rgba(0,0,0,0.7);
}
.fa-angle-down {
    transition: all 0.3s ease 0s;
}
@media (min-width: 576px) {
    .jumbotron.custom {
        padding: 1.5rem;
    }
}
.jumbotron.custom .display-4 {
    font-size: 2.5rem;
}
/*~~~~~~~~~~~~~~~~ Fancy Loader ~~~~~~~~~~~~~~~~~~~~~~*/
@keyframes loader {
    0% {transform:rotate(-45deg)}
    50%{transform:rotate(-135deg)}
    100%{transform:rotate(-225deg)}}
@keyframes span-1 {
    0% {transform:translate(0);}
    50%{transform:translate(-38px, 0); border-color:#EE4D68}
    100%{transform:translate(0);}}
@keyframes span-2 {
    0%{transform:translate(0);}
    50%{transform:translate(2rem, 0); border-color:#875678}
    100%{transform:translate(0);}}
@keyframes span-3 {
    0%{transform:translate(0);}
    50%{transform:translate(0, -2rem); border-color:#FF9900}
    100%{transform:translate(0);}}
@keyframes span-4 {
    0%{transform:translate(0);}
    50%{transform:translate(0, 2rem); border-color:#00E4F6}
    100%{transform:translate(0);}}
.loader {
    width: 2rem;
    height: 2rem;
    position: relative;
    animation: loader 2s infinite ease-in-out;
}
.loader span {
    width: 2rem;
    height: 2rem;
    position: absolute;
    left: 0;
    top: 0;
    border: 4px solid #0B1B48;
}
.loader span:nth-child(1) {
    animation: span-1 2s ease-in-out infinite;
}
.loader span:nth-child(2) {
    animation: span-2 2s ease-in-out infinite;
}
.loader span:nth-child(3) {
    animation: span-3 2s ease-in-out infinite;
}
.loader span:nth-child(4) {
    animation: span-4 2s ease-in-out infinite;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/**
 * Header
 */

/* Добавлено для корректной работы в IE 11 */
header {
    height: 100%;
}
/* ~~~ */
.inner-header {
    width: 100%;
    color: rgb(255, 255, 255);
    background-color: rgb(240, 240, 240);
}
.header-top-part {
    padding: 17px 0px 15px;
    transition: all 0.1s linear 0s;
    background: url(../img/bg-header.jpg) rgb(48, 85, 166);
}
.logo {
    height: auto;
    transition: all 0.3s linear 0s;
}
.social-link .fa-stack {
    font-size: 1.2rem;
}
.social-link a {
    color: rgba(255, 255, 255, 0.3);
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
}
.social-link a:hover {
    background-color: #fff;
    border-radius: 5px;
}
.social-link.facebook a:hover {
    color: #3b5999;
}
.social-link.telegram a:hover {
    color: #2ca5e0;
}
.social-link.vk a:hover {
    color: #4a76a8;
}
.social-link.linkedin a:hover {
    color: #0077b4;
}
.social-link.yandex a:hover {
    color: #ff0000;
}
.social-link.ok a:hover {
    color: #e47d08;
}
.panel-container {
    position: relative;
    width: 100%;
}
.panel-container .panel-modal {
    opacity: 0;
    display: none;
    position: absolute;
    right: 0px;
    z-index: 1021;
    min-height: 100px;
    width: 15rem;
    margin-top: 5px;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    padding: 1.2rem 0px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(221, 221, 221);
    border-image: initial;
    transition: all 0s ease 0.5s;
}
.panel-container .panel-modal.active {
    opacity: 1;
    display: block;
}
.panel-container .panel-modal::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, 0px);
    border-bottom: 10px solid rgb(247, 246, 246);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}
.panel-container .panel-modal ul {
    list-style: none;
    padding: 0px;
}
.panel-container .panel-modal ul a {
    display: block;
    width: 100%;
    color: rgb(0, 0, 0);
    padding: 0.1rem 2rem;
}
.panel-container .panel-modal ul a:hover {
    background-color: rgb(89, 140, 199);
    color: rgb(255, 255, 255);
    text-decoration: none;
}
.panel-container .panel-modal ul a span {
    padding-bottom: 0.2rem;
    border-bottom: 1px solid rgb(221, 221, 221);
}
.panel-container .panel-modal .btn {
    margin-left: 2rem;
}
.panel-container > button {
    color: rgb(255, 255, 255);
}
.panel-container > button:hover {
    color: rgb(255, 255, 255);
}
/*~~~~ Modal on The Top of Page ~~~~*/
.modal-content {
    color: #000;
}
.modal .card-title {
    margin-bottom: 0;
    padding-left: 1rem;
    padding-top: 0.5rem;
    font-size: 1.5rem;
}
.modal .card-body {
    padding: 0 1.25rem;
}
.bg-modal {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-image: url(../img/bg-drawn-microcircuit.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

/*~~~~ Modal on The Top of Page end ~~~~*/
.search .form-control,
.search .input-group-append {
    height: 2.1rem;
}
.search .form-control {
    color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-right: none;
    border-radius: 0px;
}
.search .input-group-append {
    margin-left: 0px;
}
.search .form-control,
.search .input-group-append {
    height: 2.1rem;
}
.search.input-group > .input-group-append > .btn {
    color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-left: none;
    border-radius: 0px;
}
.search.input-group > .input-group-append > .btn::before {
    content: "";
    position: absolute;
    display: block;
    left: 0px;
    width: 1px;
    height: 1.4rem;
    background-color: rgba(255, 255, 255, 0.3);
}
.search .form-control:focus {
    border-left: 1px solid rgb(255, 255, 255);
    border-top: 1px solid rgb(255, 255, 255);
    border-bottom: 1px solid rgb(255, 255, 255);
    border-right: none;
}
.search .form-control:focus + .input-group-append > .btn {
    border-right: 1px solid rgb(255, 255, 255);
    border-top: 1px solid rgb(255, 255, 255);
    border-bottom: 1px solid rgb(255, 255, 255);
    border-left: none;
}
.search .form-control::-webkit-input-placeholder {color:rgba(255, 255, 255, 0.3);}
.search .form-control::-moz-placeholder          {color:rgba(255, 255, 255, 0.3);}/* Firefox 19+ */
.search .form-control:-moz-placeholder           {color:rgba(255, 255, 255, 0.3);}/* Firefox 18- */
.search .form-control:-ms-input-placeholder      {color:rgba(255, 255, 255, 0.3);}
/*~~~~ Top Menu ~~~~*/
.header-menu .header-menu-inner ul {
    list-style: none;
    font-family: "Montserrat", sans-serif;
    font-size: 0.96rem;
    font-weight: 300;
}
.header-menu .header-menu-inner ul {
    position: relative;
}
.header-menu .header-menu-inner ul li > a {
    display: block;
    color: rgb(50, 50, 50);
    padding: 0.65rem;
}
.header-menu .header-menu-inner ul li > a:hover {
    text-decoration: none;
}
@media (min-width: 768px) {
    .header-menu .header-menu-inner ul li > ul {
        position: absolute;
        visibility: hidden;
        top: 2.7rem;
        z-index: 1021;
        min-height: 16rem;
        min-width: 14rem;
        background-image: url(../img/bg-submenu.jpg);
        margin: 0px;
        padding: 0px;
        background-position: -30px center;
    }
    .header-menu .header-menu-inner ul > li {
        position: relative;
    }
    .header-menu .header-menu-inner ul li:last-child > ul {
        right: 0;
    }
    .header-menu .header-menu-inner ul li:not(.active):hover > a {
        color: rgb(255, 255, 255);
        background-color: rgb(47, 106, 166);
    }
    .header-menu .header-menu-inner ul li.active > a {
        border-bottom: 3px solid rgb(47, 106, 166);
    }
    .header-menu .header-menu-inner ul li:hover > ul {
        visibility: visible;
    }
    .header-menu .header-menu-inner ul li > ul > li:hover > a {
        background-color: rgb(47, 166, 106) !important;
    }
    .header-menu .header-menu-inner ul li > ul > li > a > .fa-angle-right {
        float: right;
        margin-top: 5px;
        transform: translateX(-10px);
        transition: transform 0.3s ease 0s;
    }
    .header-menu .header-menu-inner ul li > ul > li:hover > a > .fa-angle-right {
        transform: translateX(0px);
    }
    .header-menu .header-menu-inner ul li > ul > li.active > a {
        color: rgb(47, 106, 166);
        border-bottom: 1px dotted rgb(47, 106, 166);
    }
    .header-menu .header-menu-inner ul li > ul > li.active:hover > a {
        color: rgb(255, 255, 255);
    }
    .header-menu .header-menu-inner ul li > ul > li > ul {
        position: absolute;
        visibility: hidden;
        top: 0px;
        left: 100%;
        min-width: 22rem;
        background-color: rgb(255, 255, 255);
        background-image: url(../img/bg-submenu2.jpg);
        background-size: cover;
        padding: 0.5rem;
        background-repeat: no-repeat;
    }
    .header-menu .header-menu-inner ul li:hover > ul {
        visibility: visible;
    }
    .header-menu .header-menu-inner ul li > ul > li > ul > li.submenu-header {
        margin-left: 0.5rem;
        color: rgb(54, 54, 54);
        font-size: 1.5rem;
        font-weight: 600;
        border-bottom: 1px solid rgb(248, 248, 255);
    }
    .header-menu .header-menu-inner ul li > ul > li > ul > li:not(:first-child) {
        line-height: 0.7;
    }
    .header-menu .header-menu-inner ul li > ul > li > ul > li:hover > a {
        background-color: transparent !important;
        color: rgb(50, 50, 50) !important;
        text-decoration: underline;
    }
}
@media (max-width: 768px) {
    .header-menu, .header-menu a {
        color: rgb(0, 0, 0);
    }
    .header-menu-inner {
        flex: 1 0 auto;
    }
    .header-menu {
        position: fixed;
        top: 0px;
        left: 0px;
        bottom: 0px;
        z-index: 1021;
        width: 100vw;
        min-height: 100vh;
        max-height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        background-color: rgb(240, 240, 240);
        transform: translate(-100vw);
        transition: all 0.2s ease 0s;
    }
    .header-menu.active {
        transform: translate(0px);
    }
    .header-menu .header-menu-inner {
        margin-top: 3rem;
    }
    .header-menu .header-menu-inner ul {
        padding: 0px 0px 0px 1.2rem;
        margin: 0px;
    }
    .header-menu .header-menu-inner ul li > a > .fa-angle-down {
        float: right;
    }
    .header-menu .header-menu-inner ul {
        padding: 0px 0px 0px 1.2rem;
        margin: 0px;
    }
    .header-menu .header-menu-inner ul li > ul > li > ul > li.submenu-header {
        display: none;
    }
    .header-menu .header-menu-inner ul li > ul > li.haschildren > a::after {
        content: "";
        font-family: "Font Awesome 5 Free";
        font-weight: 700;
        float: right;
    }
    .header-menu .header-menu-inner ul li.active > a {
        font-weight: 700;
    }
    .header-menu-bottom {
        color: rgb(255, 255, 255);
        background-color: rgb(47, 106, 166);
        flex: 0 0 auto;
    }
    .header-menu-bottom a {
        cursor: pointer;
        color: rgb(200, 200, 200);
        font-size: 1.1rem;
    }
    .header-menu-close {
        position: absolute;
        top: 18px;
        right: 25px;
        font-size: 1.1rem;
    }
}

/**
 * Content
 */
.content {
    flex: 1 0 auto;
    height: 100%; /* Добавлено для корректной работы в IE 11 */
}
[class*="bg-head-"] {
    position: relative;
    height: 10rem;
    max-height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
}
@media (max-width: 768px) {
    [class*="bg-head-"] {
        background-position: center;
    }
}
[class*="bg-head-"]::before {
    content: "";
    position: absolute;
    
    /* Добавлено для корректной работы в IE 11 */
    top: 0;
    left: 0;
    /* ~~~ */
    
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
[class*="bg-head-"].height-20,
[class*="bg-content-"].height-20 {
    height: 20rem;
}
[class*="bg-head-"].height-16 {
    height: 16.1rem;
}
@media (max-width: 768px) {
    [class*="bg-head-"].height-16,
    [class*="bg-head-"].height-20 {
        height: 100%;
    }
}
[class*="bg-head-"] h1,
[class*="bg-head-"] .h1,
[class*="bg-head-"] h2,
[class*="bg-head-"] .h2,
[class*="bg-head-"] p,
[class*="bg-head-"] h1 + .lead,
[class*="bg-head-"] h1 + .lead + .btn,
[class*="bg-head-"] .h1 + .lead,
[class*="bg-head-"] .h1 + .lead + .btn,
[class*="bg-head-"] .form-inline,
[class*="bg-head-"] .subscription-annotation,
[class*="bg-head-"] .breadcrumb,
[class*="bg-head-"] .fa-stack,
[class*="bg-head-"] .fa-telegram,
[class*="bg-head-"] span {
    position: relative;
    z-index: 2;
}
[class*="bg-head-"] h2,
[class*="bg-head-"] .h2 {
    font-size: 1.4rem;
}
@media (max-width: 768px) {
    [class*="bg-head-"] h1,
    [class*="bg-head-"] .h1,
    [class*="bg-head-"] h2,
    [class*="bg-head-"] .h2 {
        margin: 0.5rem;
        text-align: center;
    }
    [class*="bg-head-"] h1,
    [class*="bg-head-"] .h1 {
        font-size: 1.8rem;
    }
    [class*="bg-head-"] h2,
    [class*="bg-head-"] .h2 {
        font-size: 1.5rem;
        z-index: 2;
    }
}
[class*="bg-head-"] h1 + .lead {
    font-size: 0.9rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}
[class*="bg-head-"] .subscription-annotation {
    text-align: center;
    margin: 0px auto;
}
@media (min-width: 768px) {
    [class*="bg-head-"] .form-inline,
    [class*="bg-head-"] .subscription-annotation,
    [class*="bg-content-"] .form-inline,
    [class*="bg-content-"] .subscription-annotation {
        width: 70%;
    }
    [class*="bg-head-"] .form-inline .form-group,
    [class*="bg-content-"] .form-inline .form-group {
        width: 40%;
    }
}
[class*="bg-head-"] .fa-stack {
    margin-top: 1rem;
    margin-bottom: -1.5rem;
}
.bg-head-common {} /* Создан для подключения стилей в случаях, когда фон берётся из базы */
.bg-head-global {
    background-image: url(../img/bg-global.jpg);
}
.bg-head-fair {
    background-image: url(../img/bg-fair.jpg);
}
.bg-head-microchip {
    background-image: url(../img/bg-microchip.jpg) !important;
}
.bg-head-library {
    background-image: url(../img/bg-library.jpg);
}
.bg-head-oven {
    background-image: url(../img/bg-oven.jpg);
}
.bg-content-mail {
    background-image: url(../img/bg-mail.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.content [class*="-single"] h1 {
    font-size: 1.6rem;
}
@media (max-width: 768px) {
    .content [class*="-single"] iframe {
        max-width: 90%;
    }
}
.content [class*="-single"] img,
.content .site-faqs-opened img {
    max-width: 100%;
}
.breadcrumb.text-white a {
    color: #ffffff;
}
.breadcrumb.text-white .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #fff;
}
.breadcrumb.text-white .breadcrumb-item.active {
    color: #ffffff;
}
.card figure {
    margin: 0;
}
figure[data-ptsw=gallary] {
    cursor: pointer;
    
    /* Добавлено для корректной работы в IE 11 */
    height: 100%;
    /* ~~~ */
}
.ya-map {
    width: 100%;
    height: 570px;
}
/*~~~~ Wide Bobble Model ~~~~*/
.bobble-button {
    text-decoration: underline;
}
.bobble-button:hover {
    text-decoration: none;
}
.bobble-button,
.bobble-close {
    cursor: pointer;
}
.wide-bobble-modal {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1021;
    width: 100vw;
    min-height: 100vh;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: rgb(240, 240, 240);
    transform: translate(-100vw);
}
.wide-bobble-modal.active {
    transform: translate(0px);
}
.bobble-close {
    position: absolute;
    top: 18px;
    right: 25px;
    font-size: 1.1rem;
}
/*~~~~ Subscription Form ~~~~*/
.subscription-container .invalid-feedback {
    display: block;
    min-height: 1.2rem;
}
.subscription-container button[type=submit] {
    margin-bottom: 1.4rem;
}
/*~~~~ Main Page of The Site ~~~~*/
.main-page .bg-head-on-main {
    background-image: url(../img/bg-header-main-page.jpg);
    height: 25rem;
}
@media (max-width: 767px) {
    [class*="bg-head-"] {
        max-height: 700px;
    }
    .main-page .bg-head-on-main {
        height: 39rem;
    }
}
.main-page .ih-special-logo-text {
    font-size: 6rem;
    color: #ddd;
    letter-spacing: 0.8rem;
}
@media (max-width: 767px) {
    .main-page .ih-special-logo-text {
        font-size: 3rem;
    }
}
.main-page-title-with-blue-border {
    position: relative;
    z-index: 1010;
    border-bottom: 3px solid #2f55a6;
    width: 25%;
}
@media (max-width: 768px) {
    .main-page-title-with-blue-border {
        width: 100%;
    }
}
.main-page .icon-number::before {
    content: attr(data-number) !important;
    position: absolute;
    left: -1.6rem;
    top: -2.2rem;
    font-family: "Montserrat", sans-serif;
    font-size: 5rem;
    color: #efefef;
    font-width: 600;
    z-index: -1;
}
.main-page .col-md-4:nth-child(2) .icon-number::before {
    left: -1rem;
}
.main-page .increase-2 [class*=icon-] {
    font-size: 1.15rem;
}
.main-page [class*=icon-]::before {
    content: "";
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background-repeat: no-repeat;
    background-size: contain;
}
.main-page .increase-2 [class*=icon-]::before {
    width: 98px;
    height: 100px;
}
.main-page .icon-hat::before {
    background-image: url(../img/icon-hat.png);
}
.main-page .icon-people::before {
    background-image: url(../img/icon-people-with-stars.png);
}
.main-page .icon-newspaper::before {
    background-image: url(../img/icon-newspaper.png);
}
.main-page .icon-chat::before {
    background-image: url(../img/icon-chat.png);
}
.main-page .icon-zoom::before {
    background-image: url(../img/icon-zoom.png);
}
.main-page .icon-info::before {
    background-image: url(../img/icon-info.png);
}
.main-page .icon-stats::before {
    background-image: url(../img/icon-stats.png);
}
.bg-blue {
    background-image: url(../img/bg-blue-wide.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}
/*~~~~ FAQ's ~~~~*/
.text-ultramarine {
    color: #3055a6;
}
.main.container {
    padding: 1%;
    margin-top: 20px;
    margin-bottom: 20px;
}
.faq-content ul {
    list-style: initial !important;
    padding: 1rem !important;
}
.faq-content ul li {
    display: list-item !important;
}

@media (max-width: 992px) {
    .sidebar-wrap {
        position: fixed;
        top: 0;
        left: -1000px;
        right: 0;
        overflow: auto;
        width: 100%;
        min-height: 110vh;
        max-height: 100%;
        z-index: 50000;
        background-color: #fff;
        -webkit-transition: left 1s ease-out 0.5s;
        -moz-transition: left 1s ease-out 0.5s;
        -ms-transition: left 1s ease-out 0.5s;
        -o-transition: left 1s ease-out 0.5s;
        transition: left 1s ease-out 0.5s;
    }
    .sidebar-wrap.active {
        left: 0;
    }
}
.cross-block {
    text-align: right;
    font-size: 30px;
}
.cross-block-text {
    position: relative;
    font-size: 0.7em;
    top: -5px;
}
.list-group-header {
    font-size: 21px;
}
.list-group ul li {
    display: list-item;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}
.help-desk-item-level-1 {
    cursor: pointer;
    font-size: 21px;
}
/*.help-desk-item-level-1:hover list-group-item {*/
/*    background: rgb(48,85,166);*/
/*    background: -moz-linear-gradient(185deg, rgba(48,85,166,0.5) 2%, rgba(255,255,255,1) 100%);*/
/*    background: -webkit-linear-gradient(185deg, rgba(48,85,166,0.5) 2%, rgba(255,255,255,1) 100%);*/
/*    background: linear-gradient(185deg, rgba(48,85,166,0.5) 2%, rgba(255,255,255,1) 100%);*/
/*    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3055a6",endColorstr="#ffffff",GradientType=1);*/
/*}*/
.fa-stack {
    margin-right: 2%;
}
@media (max-width: 767px) {
    .fa-stack {
        margin-right: 6%;
        padding: 1% 5% 0.8%;
    }
}
.help-desk-item-list {
    margin: 15px 10%;
}
.help-desk-subitem {
    padding-left: 20px;
}
.fa-caret-right {
    position: absolute;
    margin-left: -20px;
    margin-top: 3px;
}
.move-caret {
    cursor: pointer;
}
/*~~~~ Owl Carousel ~~~~*/
.owl-carousel-wrap { /* Задаём ширину самой карусели, чтобы видимые элементы помещались полностью и были видны кнопки управления по бокам */
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.owl-carousel { /* Делаем реальным прижатие имя автора к низу */
    position: relative;
}
.owl-carousel .owl-stage-outer {
    /*height: 17rem;*/
    /*margin-left: 3rem;*/
    /*margin-right: 3rem;*/
}
.owl-carousel.drop-custom-height .owl-stage-outer {
    /*height: auto;*/
}
.owl-carousel.modal-carousel .owl-stage-outer {
    /*height: 100%;*/
}
.owl-carousel.modal-carousel .owl-stage-outer .owl-item .item {
    /*width: 90%;*/
}
.owl-carousel:not(.modal-carousel):not(.drop-custom-height) .owl-stage-outer .owl-item {
    /*position: relative;*/
    /*padding-top: 2rem;*/
    height: 16rem;
}
.owl-carousel:not(.drop-custom-height) .owl-stage-outer .owl-item img { /* Используем трюк центрирования изображения с position: absolute */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -63%);
    width: auto;
}
.owl-carousel:not(.modal-carousel) .owl-stage-outer .owl-item img {
    max-height: 12rem;
}
.owl-carousel.modal-carousel .owl-stage-outer .owl-item img {
    max-height: 17rem;
}
.owl-carousel:not(.modal-carousel):not(.drop-custom-height) .item p { /* прижимаем имя автора отзыва */
    position: absolute;
    bottom: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 63%);
    white-space: nowrap;
}
@media (max-width: 768px) {
    .owl-carousel .owl-nav {
        display: -ms-flexbox;
        display: flex;
        -webkit-justify-content: center;
        justify-content: center;
    }
}
@media (min-width: 768px) {
    .owl-carousel:not(.modal-carousel) .owl-nav .owl-prev,
    .owl-carousel .owl-nav .owl-next {
        position: absolute;
        top: 50%;
    }
    .owl-carousel:not(.modal-carousel) .owl-nav .owl-prev {
        left: -4rem;
    }
    .owl-carousel:not(.modal-carousel) .owl-nav .owl-next {
        right: -4rem;
    }
}
.owl-carousel:not(.modal-carousel) .owl-nav .owl-prev.disabled,
.owl-carousel:not(.modal-carousel) .owl-nav .owl-next.disabled {
    cursor: auto;
    opacity: 0.3;
}
.quote-block .fa-quote-left,
.quote-block .fa-quote-right {
    color: #dddddd;
}
.quote-block > p {
    max-width: 90%;
    margin: 0 auto;
    font-size: 1.2rem;
}
/*~~~~ Company Cabinet ~~~~*/
.statistic {
    padding: 0.3rem 0;
}
.statistic-red,
.statistic-green,
.statistic-blue {
    color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
}
.statistic-red {
    background-image: url(../img/bg-stat-red.jpg);
}
.statistic-green {
    background-image: url(../img/bg-stat-green.jpg);
}
.statistic-blue {
    background-image: url(../img/bg-stat-blue.jpg);
}
.statistic span {
    font-size: 2rem;
    font-weight: 600;
}
.dotted-box {
    flex: 1 0;
    border-bottom: 1px dotted #000;
    height: 1em;
    margin: 0 .4em;
}
.card-overlay-form {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 0.5rem;
    top: 0;
    left: -101%;
    z-index: 2;
    border: 2px solid;
    background-color: #fff;
    transition: all 0.7s ease 0s;
}
.card-overlay-form.active {
    left: 0;
}
.card .ajax-message { /* Сообщение для пользователя при удачном обновлении существующей записи */
    position: absolute;
    background-color: rgba(255,255,255,1);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    padding: 90% 10%;
    overflow: hidden;
    opacity: 0;
    transition: all 0.7s ease 0s;
}
.card .ajax-message.active {
    z-index: 2;
    opacity: 1;
}
.card .remove-button {
    cursor: pointer;
    position: absolute;
    top: -2rem;
    right: 0.9rem;
    padding: 0.5rem;
    color: #c6cacf;
    border-top: 1px solid #c4c9cf;
    border-left: 1px solid #c4c9cf;
    border-right: 1px solid #c4c9cf;
    border-radius: 3px 3px 0 0;
    transition: all 0.5s ease 0s;
}
.card .remove-button:hover,
.card .remove-button.appointment:hover {
    color: #adabab;
}
.card .remove-button.appointment {
    top: -0.4rem;
    right: 0;
    padding: 0.4rem;
    border: none;
    color: #292a2b;
    background-color: rgba(255,255,255,0.8)
}
.card .remove-button.certificate {
    top: 0;
    left: 0;
    padding: 0.4rem;
    background-color: rgba(0,0,0,0.2);
    width: 100%;
    color: #fff;
    font-weight: 700;
}
.card .remove-button.position-1 {
    top: -0.6rem;
    left: 0.3rem;
    right: inherit;
    background-color: rgba(0,0,0,0.7);
    padding-top: 0.9rem;
}
.card.overflow-hidden .card-img-overlay {
    bottom: auto;
}
.card .modal .ajax-modal-message {
    height: 0;
    max-height: 10rem;
    visibility: hidden;
    opacity: 0;
    padding-top: 0;
    transition: all 1s ease 0s;
}
.card .modal .ajax-modal-message.active {
    height: 100%;
    visibility: visible;
    opacity: 1;
    padding-top: 1rem;
}
/*~~~~ Directors ~~~~*/
.bg-divergent-circles::before {
    content: "";
    position: absolute;
    top: 1.7rem;
    left: -1.8rem;
    width: 170px;
    height: 145px;
    background-image: url(../img/bg-divergent-circles.png);
    background-repeat: no-repeat;
    background-position: center;
}
/*~~~~ Directions, theme etc ~~~~*/
.theme-card {
    position: relative;
    height: 6rem;
    padding: 1rem;
    color: #fff;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 110%;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 0.5s ease 0s;
}
.theme-card:hover {
    outline: 5px solid #a8d8ff;
}
.theme-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    
    /* Добавлено для корректной работы в IE 11 */
    top: 0;
    left: 0;
    /* ~~~ */
    
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.theme-card span {
    position: relative;
    z-index: 2;
    
    /* Добавлено для корректной работы в IE 11 */
    width: 100%;
    /* ~~~ */
}
.bg-rotated-microchip {
    position: relative;
    overflow: hidden;
}
.bg-rotated-microchip::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;

    /* Скрываем картинку фона в выдаче компаний */
    /* background-image: url(../img/bg-drawn-microcircuit.jpg); */


    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transform: rotate(30deg);
    -moz-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    -o-transform: rotate(30deg);
    transform: rotate(30deg);
}
.modal .indent {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}
/*~~~~ Company Registration Page ~~~~*/
.company-registration .card .card-title:nth-child(1)::before {
    content: "";
    display: inline-block;
    width: 3rem;
    height: 3rem;
    margin-right: 0.5rem;
    margin-bottom: -0.7rem;
    background-repeat: no-repeat;
    background-size: contain;
}
.company-registration .card .card-title.icon-blue-square::before {
    background-image: url(../img/company-registration-1.png);
}
.company-registration .card .card-title.icon-green-square::before {
    background-image: url(../img/company-registration-2.png);
}
.company-registration .card .card-text {
    margin-bottom: 1rem;
    font-family: sans-serif;
}
.company-registration .card .card-text.text-maroon {
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
}
.company-registration .old-price p {
    font-family: "Montserrat", sans-serif;
    text-decoration: line-through;
    font-size: 1.2rem;
}
.company-registration .new-price p {
    font-family: "Montserrat", sans-serif;
    color: #df3f3f;
    font-size: 1.6rem;
}
.company-registration .modal .close {
    position: absolute;
    top: 0.3rem;
    right: 0.6rem;
}
.company-registration .modal .card {
    margin-top: 1.2rem;
}
/* About Page */
.page-about h2.title {
    font-weight: normal;
    font-size: 1.4rem;
    color: #212529;
}
.bg-logo {
    background-image: url(../img/bg-logo.jpg);
    background-repeat: no-repeat;
    background-position: 100% 0;
    background-size: contain;
    padding-bottom: 1rem;
}
/* Company Card */
.company-card .nav-link {
    border-top: 3px solid transparent;
}
.company-card .nav-tabs .nav-link.active,
.company-card .nav-tabs .nav-item.show .nav-link {
    border-top: 3px solid #2f6aa6;
}
.company-card .card-img-overlay {
    padding: 0.1rem;
}
@media (min-width: 768px) {
    .company-card .nav-link {
        padding: 0.5rem 5rem;
    }
    .company-card .card-img-overlay {
        padding: 1.25rem;
    }
}
.bg-light-circuit {
    background-image: url(../img/bg-light-circuit.jpg);
    background-repeat: no-repeat;
    background-size: cover;

}
/*~~~~ Article Main Page ~~~~*/
.article-top-menu,
.article-top-menu ul {
    list-style: none;
}
.article-top-menu {
    position: relative;
}
.article-top-menu li {
    cursor: auto;
}
.article-top-menu li.cursor-pointer {
    cursor: pointer;
}
.article-top-menu li.active {
    /*outline: #0b3e6f solid 1px;*/
}
.article-top-menu li > ul {
    visibility: hidden;
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    top: 2.8rem;
    opacity: 0;
    background-color: #fdfdfd;
    border: 2px solid #0b3e6f;
    box-shadow: 0 3rem 1rem 1rem rgba(0,0,0,0.5);
    transition: all 0.5s ease 0s;
    text-align: left !important;
}
.article-top-menu li:hover > ul.active {
    visibility: visible;
    opacity: 1;
}
.article-top-menu li:hover > ul.active a {
    color: #000 !important;
}
/*
 * Article Single Page
 */
 .content [class*="-single"] blockquote {
    position: relative;
    border: 3px solid #3d3d3d;
    padding: 2.2rem 1.5rem 1.5rem 2.3rem;
    margin: calc(2.5em - 16px) auto 2.5em;
    text-align: left;
    max-width: 95%;
    box-shadow: 13px 13px 0 0 #fff inset, 16px 16px 0 0 #b0c8e833;
    background-color: #b0c8e833;
}
.content [class*="-single"] blockquote::before,
.content [class*="-single"] blockquote::after {
    position: absolute;
    transform: translateX(-50%);
    font-family: "georgia";
    font-size: 3.5em;
    color: #222;
    pointer-events: none;
}
.content [class*="-single"] blockquote::before {
    content: '\201C';
    top: -.05em;
    left: 1.5rem;
}
.content [class*="-single"] blockquote::after {
    content: '\201D';
    bottom: -.55em;
    left: 97%;
}

/**
 * Footer
 */
.footer, .footer a {
    color: rgb(255, 255, 255);
}
.footer {
    flex: 0 0 auto;
    margin: 5rem 0 0;
    padding: 1.1rem;
    font-size: 0.9rem;
    background-image: url(../img/bg-footer.png);
}
.footer-header {
    margin-left: 2.1rem;
    font-size: 1.55rem;
}
.footer-rights a {
    margin-right: 1.1rem;
}
/*~~~~ Site Anchor ~~~~*/
.anchors--fixed {
    position: fixed;
    right: 0.7rem;
    bottom: 3rem;
    z-index: 2;
}
.anchor-to-top {
    position: relative;
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 6px;
    transition: all 0.1s linear 0s;
}
.anchor-to-top__border {
    fill: rgb(47, 106, 166);
    transition: all 0.1s linear 0s;
}
.anchor-to-top__arrow {
    top: 50%;
    left: 50%;
    fill: rgb(47, 106, 166);
    transform: translate(-50%, -50%);
}
.anchor-to-top__arrow {
    width: 25px;
    height: 27px;
    position: absolute;
    transition: all 0.1s linear 0s;
}

/**
 * Bootstrap Styles reassignment
 */
.article-top-menu .reset-btn.btn:not(:disabled):not(.disabled) {
    cursor: auto;
}