* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

.fs-18 {
    font-size: 18px;
}
.fw-400 {
    font-weight: 400;
}
.fw-600 {
    font-weight: 600;
}
.fw-700 {
    font-weight: 700;
}
.text-black {
    color: #333333;
}
.text-grey {
    color: #5A5C6A;
}
.text {
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
}
.section-title {
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
}
.btn-green {
    max-width: 200px;
    width: 100%;
    background: #09C08E;
    border-radius: 12px;
    padding: 11px 17px;
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
}

/* header main(menu) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #F8FCFE;
}
.header-main {
    padding: 4px 0;
    border-bottom: 1px solid rgba(0, 99, 162, 0.14);
    background-color: #F8FCFE;
    box-shadow: 0 2px 10px rgba(0, 99, 162, 0.05);
}
.header-main .container {
    max-width: 1680px;
}
.header-main .navbar-brand {
    flex: 0 0 auto;
    margin-right: 28px !important;
}
.header-main .navbar-brand .item {
    gap: 16px;
}
.header-main .navbar-brand img.img-crest {
    width: 64px;
}
.header-main .navbar-brand img:not(.img-crest) {
    width: 154px;
    max-width: 154px;
    margin-left: 0 !important;
}
.header-main .navbar-collapse {
    min-width: 0;
}
.navbar-nav .nav-link {
    padding: 0 !important;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.02em;
    color: #333333 !important;
    white-space: nowrap;
}
.navbar-nav .nav-link img {
    margin-left: 9px;
}
.navbar-nav .nav-item {
    margin: 0 25px;
}
.navbar-nav .nav-item:last-child {
    margin-right: 0;
}
.header-actions {
    gap: 10px;
    flex: 0 0 auto;
}
.div-school-logo {
    flex: 0 0 auto;
}
.div-school-logo img {
    width: 58px;
}
.header-phone-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0063A2;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid rgba(0, 99, 162, 0.22);
    border-radius: 999px;
    background: #FFFFFF;
    padding: 8px 12px;
}
.header-phone-link:hover {
    color: #004E82;
    border-color: rgba(0, 99, 162, 0.38);
    background: #ECF4F9;
}
.header-tour-link {
    width: auto;
    max-width: none;
    min-width: 138px;
    padding: 8px 14px;
    border: 1px solid #09C08E;
    border-radius: 999px;
    line-height: 18px;
    white-space: nowrap;
}
.header-tour-link:hover,
.header-tour-link:focus {
    background: #079F76;
    border-color: #079F76;
}
.header-actions-mobile {
    padding-top: 16px;
    margin-top: 4px;
    border-top: 1px solid #EEEEEE;
}
.header-actions-mobile .header-phone-link,
.header-actions-mobile .header-tour-link {
    justify-content: center;
    width: 100%;
    max-width: none;
    margin-bottom: 12px;
}
.dropdown .dropdown-menu.show {
    max-width: 200px;
    box-shadow: 0px 4px 12px rgba(90, 92, 106, 0.4);
    border-radius: 8px;
    margin-top: 0px;
    left: -60px;
    border: 0;
    padding: 0;
}
.submenu.dropdown-menu.show {
    left: 200px;
}
.dropdown-menu .dropdown-item {
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.02em;
    color: #333333;
    padding: 10px 12px;
    border-bottom: 1px solid #EEEEEE;
}

.dropdown-menu .dropdown-item:hover {
    background: #ECF4F9 !important;
}
.dropdown-toggle::after {
    border: 0;
    background-image: url("../img/icons/arrow-bottom.920ec5532f01.svg");
    width: 11px;
    height: 6px;
}

/* images section */
.images-section .w-20 {
    width: 20%;
}
.images-section .w-20 img {
    width: 100%;
}

/* footer */
.footer {
    padding: 48px 0 24px;
    background: #ECF4F9;
    border-top: 1px solid rgba(0, 99, 162, 0.08);
}
.footer-logo {
    padding-bottom: 28px;
    margin-bottom: 34px;
    border-bottom: 1px solid rgba(0, 99, 162, 0.12);
}
.footer-logo .img-crest {
    width: 72px;
}
.footer-logo img:not(.img-crest) {
    max-width: 220px;
}
.footer .title {
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: #0063A2 !important;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
}
.details-block {
    width: 310px;
    max-width: 100%;
}
.details-block .details img {
    flex: 0 0 auto;
    margin: 5px 12px 0 0;
    opacity: 0.85;
}
.details-block .details p {
    line-height: 24px;
}
.details-block .details a {
    color: inherit;
    text-decoration: none;
}
.details-block .details:last-child {
    margin-bottom: 0;
}
.contact-block .logos {
    width: 287px;
    background: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-radius: 12px;
}
.contact-block .logos .item {
    padding: 20px 10px;
}
.contact-block .logos .item:first-child {
    border-right: 1px solid #EEEEEE;
}
.footer-menu li a {
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: #5A5C6A;
    text-decoration: none;
}
.footer-menu li a:hover,
.footer-menu li a:focus {
    color: #0063A2;
}
.programs-menu {
    column-count: 2;
    column-gap: 10px;
    margin-left: 6px;
}
.footer-copyright {
    padding-top: 20px;
    margin-top: 32px;
    border-top: 1px solid rgba(0, 99, 162, 0.12);
}
.footer-copyright img {
    width: 28px;
    height: 28px;
}

.dropdown-menu > li:hover > .submenu {
    display:block;
    padding: 0;
}

/* media queries */
@media (max-width: 1500px) {
    .navbar-nav .nav-item {
        margin: 0 12px;
    }
    .header-actions {
        gap: 10px;
        margin-left: 12px !important;
    }
    .header-tour-link {
        min-width: 128px;
        padding: 8px 12px;
    }
    .div-school-logo {
        display: none;
    }
}

@media (max-width: 1400px) {
    .navbar-nav .nav-item {
        margin: 0 9px;
    }
    .header-actions {
        gap: 10px;
        margin-left: 12px !important;
    }
    .header-phone-link {
        font-size: 14px;
    }
    .header-actions .header-phone-link {
        display: none;
    }
    .header-tour-link {
        min-width: 128px;
        padding: 8px 12px;
    }
    .section-title {
        font-size: 34px;
        line-height: 44px;
    }
}

@media (max-width: 1200px) {
    .header-main .navbar-brand img {
        width: 76%;
    }
    .navbar-nav .nav-item {
        margin: 0 5px;
    }
    .header-actions {
        gap: 8px;
        margin-left: 8px !important;
    }
    .header-actions .header-phone-link {
        display: none;
    }
    .header-tour-link {
        min-width: 122px;
        padding: 8px 10px;
        font-size: 14px;
    }
    .navbar-nav .nav-link img {
        margin-left: 4px;
    }
    .text {
        font-size: 16px;
        line-height: 23px;
    }
    .fs-18 {
        font-size: 16px;
    }

    .div-school-logo {
        display: none;
    }
}

@media (max-width: 1199.98px) {
    .navbar-light .navbar-toggler {
        border-color: #ffffff;
    }
    .navbar-light .navbar-toggler:focus {
        box-shadow: none;
    }
    .navbar-nav .nav-item {
        margin: 15px 0;
    }
    .header-actions-mobile {
        margin-bottom: 4px;
    }
    .dropdown-menu .dropdown-menu {
        margin-left:0.7rem; margin-right:0.7rem; margin-bottom: .5rem;
    }
}

@media (max-width: 992px) {
    .header-main .navbar-brand img {
        width: 85%;
    }

    .navbar-light .navbar-toggler {
        border-color: #ffffff;
    }
    .navbar-light .navbar-toggler:focus {
        box-shadow: none;
    }
    .navbar-nav .nav-item {
        margin: 15px 0;
    }
    .navbar-nav .nav-link img {
        margin-left: 9px;
    }
    .header-actions-mobile {
        margin-bottom: 4px;
    }
    .section-title {
        font-size: 28px;
        line-height: 34px;
    }

    .footer {
        padding: 40px 0 24px;
    }
    .footer-logo {
        padding-bottom: 22px;
        margin-bottom: 28px;
    }
    .details-block {
        width: 100%;
    }
    .contact-block .logos {
        margin-bottom: 35px;
    }
}

@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center;
    }

    .programs-menu {
        margin-bottom: 35px !important;
    }
    .footer-copyright {
        padding-top: 20px;
        margin-top: 24px;
        border-top: 1px solid rgba(0, 99, 162, 0.12);
        flex-direction: column;
    }
    .footer-copyright img {
        margin-top: 16px;
    }
}

@media (max-width: 576px) {
    .header-main .navbar-brand img:not(.img-crest) {
        width: 160px;
        max-width: 160px;
    }
    .header-main .navbar-brand img.img-crest {
        width: 54px;
    }
    .header-main .navbar-brand .item {
        gap: 12px;
    }
    .header-main {
        padding: 6px 0;
    }
    .navbar-toggler-icon {
        width: 1em;
        height: 1em;
    }
    .section-title {
        margin-bottom: 16px !important;
    }
    .text {
        font-size: 14px;
        line-height: 22px;
    }
    .fs-18 {
        font-size: 14px;
    }
    .images-section .w-20 {
        width: 33.33%;
    }
    .img-none-mobile {
        display: none;
    }
    .footer-logo {
        padding-bottom: 22px;
    }
    .footer .title {
        font-size: 14px;
        line-height: 17px;
        margin-bottom: 16px;
    }
    .details {
        margin-bottom: 10px !important;
    }
    .details:last-child {
        margin-bottom: 20px !important;
    }
    .details-block .details:last-child {
        margin-bottom: 0 !important;
    }
    .footer-menu li a {
        font-size: 14px;
        line-height: 24px;
    }
    .footer-copyright p {
        max-width: 285px;
        font-size: 14px;
        line-height: 17px;
        text-align: center;
    }
}

@media all and (min-width: 1200px) {
	.dropdown-menu li{ position: relative; 	}
	.nav-item .submenu{
		display: none;
		position: absolute;
		left:100%; top:-7px;
	}
	.nav-item .submenu-left{ 
		right:100%; left:auto;
	}
	.dropdown-menu > li:hover{ background-color: #f1f1f1 }
	.dropdown-menu > li:hover > .submenu{ display: block; padding: 0;}
    .dropdown-menu > li:active > .submenu{ display: block; padding: 0;}
}
