/* header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(9, 62, 96, 1);
    padding: 14px 0;
    position: relative;
}
.header__logo img {
    max-width: 150px;
}
.header__right {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 30px;
}
.header__search {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    position: relative;
}
.header__search-form {
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s linear;
}
.header__search-form--active {
    opacity: 1;
    visibility: visible;
    top: 0%;
}
.header__search-input {
    height: 37px;
    font-size: 16px;
    max-width: 330px;
    padding-left: 10px;
    border: 1px solid #093E60;
    border-right: none;
    outline: none;
}
.header__search-submit {
    height: 37px;
    width: 37px;
    border-radius: 0px;
    background-color: #459D9E;
    border: 1px solid #459D9E;
    background-image: url(/local/templates/scand/img/lupa.svg);
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}
.header__search-show {
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    height: 30px;
}
.header__social {
    gap: 10px;
    display: flex;
}
.header__social a {
    text-decoration: none;
}
.header__contacts {
    display: flex;
    flex-flow: column;
    align-items: flex-end;
    gap: 5px;
}
.header__phone a {
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
}
.header__email a {
    font-weight: 700;
    color: rgba(69, 157, 158, 1);
    text-decoration: underline;
    font-size: 18px;
}
.header__email a svg {
    margin-right: 4px;
    vertical-align: middle;
}
.header__feedback-button {
    appearance: none;
    background-color: rgba(9, 62, 96, 1);
    border:2px solid transparent;
    color: white;
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 400;
    border-radius: 5px;
    cursor: pointer;
    transition: color 0.2s linear, background-color 0.2s linear, border-color 0.2s linear;
    font-family: unset;
}
.header__feedback-button:hover {
    color: rgba(9, 62, 96, 1);
    background-color: white;
    border-color: rgba(9, 62, 96, 1);
}
.header__feedback-choice {
    display: none;
}
.header__mobile {
    display: none;
}
@media screen and (max-width: 992px) {
    header {
        position: fixed;
        width: 100%;
        background-color: white;
        border-bottom: 2px solid #093E60;
        top: 0;
        z-index: 9999;
    }
    .header {
        border: 0;
        padding-top: 0;
        padding-bottom: 10px;
    }
    .header__logo img {
        max-width: 100px;
    }
    .header__right {
        align-items: center;
        gap: 15px;
    }
    .header__social {
        display: none;
    }
    .header__contacts {
        display: none;
    }
    .header__search-form {
        width: 100%;
        position: fixed;
        top: 60px;
    }
    .header__search-input {
        max-width: 100%;
        width: 100%;
    }
    .header__mobile {
        display: block;
    }
    .header__feedback-button {
        display: none;
    }
    .header__feedback-choice {
        display: block;
        appearance: none;
        background: transparent;
        border: transparent;
    }
}

/* index */
h1.index {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 40px;
    color: rgba(33, 37, 41, 1);
    font-weight: 700;
    font-size: 35px;
}
@media screen and (max-width: 992px) {
    h1.index {
        font-size: 18px;
        line-height: 25px;
    }
}

/* callback form */
.call-form {
    padding: 20px 20px 0;
}
.call-form__title {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 25px;
}
.call-form input {
    padding: 0 20px;
    width: 100%;
    height: 50px;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    border: 1px solid #000;
}
.call-form .input.invalid {
    border: 2px solid #ff0f0f;
}
.call-form .checkbox {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.call-form .checkbox__input {
    display: none;
}
.call-form .checkbox__label {
    margin-left: 10px;
}
.call-form .checkbox__emulator {
    position: relative;
    width: 25px;
    min-width: 25px;
    height: 25px;
    line-height: 16px;
    text-align: center;
    z-index: 1;
    background-color: white;
    border: 2px solid transparent;
}
.call-form .checkbox__input:checked + .checkbox__emulator:after {
    display: block;
}
.call-form .checkbox__input.invalid + .checkbox__emulator {
    border: 2px solid #ff0f0f;
}
.call-form .checkbox__emulator:after {
    content: "";
    display: none;
    position: absolute;
    top: 4px;
    left: 4px;
    transform: rotate(-45deg);
    width: 12px;
    height: 6px;
    border-left: 2px solid #152582;
    border-bottom: 2px solid #152582;
}
.call-form .button {
    appearance: none;
    background: rgba(9, 62, 96, 1);
    border: 2px solid transparent;
    color: white;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 400;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s linear, background-color 0.2s linear, border-color 0.2s linear;
}
.call-form .button:hover {
    background: white;
    border: 2px solid rgba(9, 62, 96, 1);
    color: rgba(9, 62, 96, 1);
}
.call-form .form-row {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;

}
.call-form .form-col {
    flex:1 0 100%;
}
.call-form .form-col-2 {
    flex:1 0 44%;
}
.call-form .form-col-3 {
    flex:1 0 31%;
}
.call-form .form-success {
    display: none;
    color: #155724;
    background-color: #d4edda;
    padding: 10px 15px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 20px;
}
.call-form .form-errors {
    display: none;
    color: #721c24;
    background-color: #f8d7da;
    padding: 10px 15px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 20px;
}
.call-form .form-success.active,
.call-form .form-error.active {
    display: block;
}
@media screen and (max-width: 992px) {
    .call-form__title {
        font-size: 18px;
    }
}


/* about us */
.n-about {
    margin-bottom: 50px;
}
.n-about__head {
    display: flex;
    flex-flow: row nowrap;
    gap: 10px;
    margin-bottom: 20px;
}
.n-about__head h2 {
    color: rgba(33, 37, 41, 1);
    padding: 0;
}
.n-about__head a {
    display: flex;
    align-items: center;
}
.n-about__container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap:50px;
}
.n-about__content {
    flex: 1 0 64%;
}
.n-about__content p, .n-about__content ul, .n-about__content ol {
    font-size: 18px;
    line-height: 180%;
}
.n-about__content h2,
.n-about__content h3 {
    color: rgba(33, 37, 41, 1);
}
.n-about__form {
    flex: 1 0 30%;
    padding: 40px 40px 20px;
    background: #E3F0F0;
    background: linear-gradient(342.31deg, #A6CCD4 0.71%, #DDF0F0 50%);
    border-radius: 10px;
}
.n-about__form .title {
    font-size: 25px;
    font-weight: 600;
}
.n-about__form p {
    font-size: 18px;
}
@media screen and (max-width: 992px) {
    .n-about__content,
    .n-about__form {
        flex: 1 0 100%;
    }
    .n-about__content p, .n-about__content ul, .n-about__content ol {
        font-size: 16px;
    }
}

/* footer */
footer {
    background: rgba(9, 62, 96, 1);
}
.footer__wrapper {
    padding: 60px 0 80px;
    border-bottom: 2px solid rgba(227, 240, 240, 1);
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}
.footer-col {
    flex: 1 0 32%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer__logo {
    user-select: none;
}
.footer__logo img {
    max-width: 100%;
}
.footer__text {
    font-size: 18px;
    line-height: 25px;
    color: rgba(221, 240, 240, 1);
    font-weight: 300;
}
.footer__phone a {
    color: rgba(221, 240, 240, 1);
    font-size: 25px;
    font-weight: 700;
    line-height: 30px;
    text-decoration: none;
}
.footer__phone a:hover {
    color: white;
}
.footer__email a {
    color: rgba(221, 240, 240, 1);
    text-decoration: none;
    font-size: 18px;
    font-weight: 300;
}
.footer__email a:hover {
    color: white;
}
.footer__email a span {
    text-decoration: underline;
}
.footer__email a svg {
    margin-right: 2px;
    vertical-align: middle;
}

.footer__feedback {
    user-select: none;
}
.footer__feedback-button {
    appearance: none;
    background: rgba(221, 240, 240, 1);
    border: 2px solid transparent;
    color: rgba(9, 62, 96, 1);
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 400;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s linear;
    font-family: unset;
}
.footer__feedback-button:hover {
    color: rgb(255 255 255);
    background: rgba(9, 62, 96, 1);
    border: 2px solid white;
}
.footer__address {
    font-size: 18px;
    line-height: 25px;
    color: rgba(221, 240, 240, 1);
    font-weight: 300;
}
.footer__social {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}
.footer__social-title {
    font-size: 22px;
    line-height: 30px;
    color: rgba(221, 240, 240, 1);
}
.footer__social-list {
    display: flex;
    flex-direction: row;
    gap: 18px;
}

.footer__menu,
.footer__menu li {
    list-style: none;
    padding: 0;
}
.footer__menu li:not(:last-child) {
    margin-bottom: 15px;
}
.footer__menu li a {
    color: rgba(221, 240, 240, 1);
    text-decoration: none;
    font-size: 20px;
    line-height: 30px;
}
.footer__menu li a:hover {
    color: white;
}

.footer__copyright {
    padding: 40px 0 50px;
}
.footer__copyright p,
.footer__copyright a {
    color: rgba(221, 240, 240, 1);
    font-size: 16px;
    padding: 0;
    line-height: 200%;
}
@media screen and (max-width: 992px) {
    .footer-col {
        flex:1 0 100%;
    }
    .footer__wrapper {
        padding: 60px 0 60px;
        gap:60px;
    }
}

/* modal form */
.modal {
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s linear;
}
.modal.active {
    display: block;
    opacity: 1;
    visibility: visible;
}
.modal .modal-close {
    background: transparent;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    height: 44px;
    margin: 0;
    position: absolute;
    right: 0;
    top: -55px;
    width: 44px;
    z-index: 10;
    padding: 0;
}
.modal .modal-close svg {
    fill: transparent;
    opacity: .65;
    stroke: #fff;
}
.modal-dialog {
    position: relative;
    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
    pointer-events: none;
}
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1.75rem * 2);
}
.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: white;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-radius: 5px;
    outline: 0;
}
.modal-callback-choice {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.modal-mobile a {
    color: rgba(33, 37, 41, 1);
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
}
.modal-button-callback {
    width: 100%;
}
.modal-button-callback button {
    appearance: none;
    background-color: rgba(9, 62, 96, 1);
    border: 2px solid transparent;
    color: white;
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 400;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}
.modal-open {
    overflow: hidden;
}
@media screen and (max-width: 992px) {
    .modal-dialog {
        width: auto;
        height: 100vh;
    }
}




/* programs & another blocks */
.n-block {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
}
.n-block__col-2 {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}
.n-block-col-2 {
    flex:1 0 49%;
}
@media screen and (max-width: 992px) {
    .n-block-col-2 {
        flex: 1 0 100%;
    }
}

.n-block__head {
    display: flex;
    flex-flow: row nowrap;
    gap: 10px;
    margin-bottom: 20px;
}
.n-block__head h2 {
    color: rgba(33, 37, 41, 1);
    padding: 0;
}
.n-block__head a {
    display: flex;
    align-items: center;
}
.n-block__tags {
    display: flex;
    flex-flow: row wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.n-block__tag {
    display: flex;
    align-items: center;
    padding: 6px 18px;
    border-radius: 5px;
    border: 1px solid rgba(141, 143, 144, 1);
    text-decoration: none;
    cursor: pointer;
}
.n-block__tag.active {
    background: rgba(221, 240, 240, 1);
    border: 1px solid rgba(31, 157, 173, 1);
    cursor: auto;
}
@media screen and (max-width: 992px) {
    .n-block__head {
        margin-bottom: 10px;
    }
    .n-block__tags {
        flex-wrap: nowrap;
        overflow: scroll;
        margin-bottom: 10px;
    }
}

.s-items {
    position: relative;
}
.s-items .swiper-button-prev {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='45' height='45' viewBox='0 0 45 45' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='22.5' cy='22.5' r='22' fill='white' stroke='%23093E60'/%3e%3cpath d='M26.6312 17.346L24.8687 15.5713L17.3687 23.1232L24.8687 30.675L26.6312 28.9003L20.9062 23.1232L26.6312 17.346Z' fill='%23212529'/%3e%3c/svg%3e");
    width: 45px;
    height: 45px;
    left: -20px;
}
.s-items .swiper-button-next  {
    background-image: url("data:image/svg+xml;charset=UTF-8, %3csvg width='45' height='45' viewBox='0 0 45 45' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='22.5' cy='22.5' r='22' fill='white' stroke='%23093E60'/%3e%3cpath d='M20.1312 15.5713L18.3687 17.346L24.0937 23.1232L18.3687 28.9003L20.1312 30.675L27.6312 23.1232L20.1312 15.5713Z' fill='%23212529'/%3e%3c/svg%3e");
    width: 45px;
    height: 45px;
    right: -20px;
}

.s-items .swiper-button-prev:after, .s-items .swiper-button-next:after {
    content: "";
}

.s-items button.disabled {
    opacity: 0.5;
}
.s-items .s-items-list {
    display: none;
}
.s-items .s-items-list.active {
    display: block;
    padding: 5px;
    margin: 0 -5px;
    position: unset;
}
.s-items .s-wrapper {
    height: auto;
}

.s-item {
    width: 100%;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
    position: relative;
    display: flex;
    flex-direction: column;
    gap:30px;
    height: auto;
    min-height: 350px;
}
.s-item__head {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.s-item__head img {
    max-width: 100% !important;
    width: auto !important;
}
.s-item__footer {
    font-weight: 700;
    font-size: 20px;
    position: absolute;
    bottom: 25px;
}
.s-item__footer + .s-item__title {
    padding-bottom: 50px;
}
.s-item__title {
    line-height: 22px;
    font-size: 18px;
    color: rgba(9, 62, 96, 1);
    overflow: hidden;
    text-overflow: ellipsis;
}
.s-item__title a {
    text-decoration: none;
}
.s-item__text {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}
.s-item__footer + .s-item__text {
    padding-bottom: 50px;
}
.s-item__date {
    font-size: 18px;
    font-weight: 700;
}

.s-item__event {
    background: rgba(221, 240, 240, 1);
    box-shadow: none;
    padding: 50px;
    gap: 20px;
}
.s-item__event .s-item__title {
    font-size: 25px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    color: rgba(33, 37, 41, 1);
}
.s-item__event .s-item__footer {
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    display: flex;
    text-align: center;
    justify-content: center;
}
.s-item__event .s-item__footer + .s-item__text {
    padding-bottom: 80px;
}
.s-item__event .s-item__footer a {
    display: block;
    width: 100%;
    appearance: none;
    background: rgba(9, 62, 96, 1);
    border: 2px solid transparent;
    color: white;
    padding: 10px 50px;
    margin: 0 25%;
    font-size: 18px;
    font-weight: 400;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s linear;
}
.s-item__event .s-item__footer a:hover {
    color: rgba(9, 62, 96, 1);
    background: white;
}
@media screen and (max-width: 992px) {
    .s-item__event {
        padding: 20px;
    }
}

.s-item__video {
    background: rgba(221, 240, 240, 1);
    box-shadow: none;
    padding: 0px;
    gap: 0px;
    overflow: hidden;
    height: 1px;
    width: auto;
}
@media screen and (max-width: 992px) {
    .s-item__video {
        height: auto;
        width: auto;
        min-height: unset;
    }
}

.s-item__news {
    justify-content: center;
    gap: 20px;
}
.s-item__news .s-item__news-item:not(:last-child) {
    border-bottom: 2px solid rgba(239, 239, 236, 1);
    padding-bottom: 14px;
}
.s-item__news .s-item__date {
    font-size: 16px;
    line-height: 24px;
}
.s-item__news .s-item__text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.s-item__news .s-item__text a {
    text-decoration: none;
}

.s-item__review {
    min-height: unset;
    padding: 0;
    margin: 0;
    width: auto;
    box-shadow: none;
}
.s-item__review a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.s-item__review .s-item__head {
    border-radius: 5px;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
    min-height: 150px;
    justify-content: center;
}
.s-item__review .s-item__title {
    font-size: 18px;
}

.s-item__sertificate {
    min-height: unset;
    padding: 0;
    justify-content: center;
    margin: 0;
    width: auto;
    box-shadow: none;
}

.s-item__client {
    min-height: unset;
    padding: 0;
    margin: 0;
    width: auto;
    box-shadow: none;
}

.s-item__article {
    min-height: unset;
    padding: 0;
    margin: 0;
    width: auto;
    box-shadow: none;
}
.s-item__article a {
    text-decoration: none;
}
.s-item__article .s-item__head {
    align-items: normal;
}
.s-item__article .s-item__text {
    margin-top:20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 95px;
}

.s-item__sale {
    min-height: unset;
    padding: 0;
    margin: 0;
    width: auto;
    box-shadow: none;
}
.s-item__sale a {
    text-decoration: none;
}
.s-item__sale .s-item__head {
    align-items: normal;
}
.s-item__sale .s-item__text {
    margin-top:20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 95px;
}
