/**fonts**/
@font-face {
    font-display: swap;
    font-weight: normal;
    font-style: normal;
    font-family: Montserrat-Regular;
    src: local(Montserrat-Regular),url('../fonts/Montserrat-Regular.woff') format("woff");
}
@font-face {
    font-display: swap;
    font-weight: normal;
    font-style: normal;
    font-family: Montserrat-Bold;
    src: local(Montserrat-Bold),url('../fonts/Montserrat-Bold.woff') format("woff");
}
/**end of fonts**/

.header0821{
    font-family: Montserrat-Regular;
    font-size: 0;
    line-height: 1.2;
    padding-top: 45px;
}
.header0821 .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.header0821__logo{
    display: inline-block;
    margin-right: 20px;
    vertical-align: middle;
}
.header0821_logo__img{
    height: 32px;
    max-width: 180px;
}
.header0821__menu{
    display: inline-block;
    vertical-align: middle;
}
.header0821_menu__link:hover,
.header0821_menu__link:focus,
.header0821_menu__link:active,
.header0821_menu__link{
    color:#000;
    display: inline-block;
    font-size: 14px;
    line-height: 17px;
    margin-right: 30px;
    text-decoration: blink;
    vertical-align: middle;
}
.header0821__phone{
    font-family: Montserrat-Bold;
    display: inline-block;
    font-size: 18px;
    line-height: 22px;
    vertical-align: middle;
}
.header0821__select{
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url(/wp-content/uploads/svg/header0821__select.svg);
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 95% center;
    background-size: 20px 10px;
    border:1px solid #000;
    border-radius: 15px;
    display: inline-block;
    font-size: 14px;
    height: 40px;
    margin-right: 40px;
    padding: 0 25px;
    min-width: 218px;
    vertical-align: middle;
}

/* Custom Select Box Begin */
.custom-select {
    width: 100%;
    min-width: 218px;
    max-width: 218px;
    margin-right: 30px;
}
.custom-select select {
    display: none;
}
.select-selected {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 40px;
    padding: 0 25px;
    background: #FFFFFF;
    border: 1px solid #353535;
    box-sizing: border-box;
    border-radius: 20px;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
    cursor: pointer;
}
.select-selected:after {
    content: '';
    position: absolute;
    top: calc(50% - 6px);
    right: 22px;
    width: 22px;
    height: 13px;
    background-image: url("data:image/svg+xml,%3Csvg width='22' height='13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 1L11 11 1 1' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
}
/*.select-selected.select-arrow-active {*/
/*    border-radius: 20px 20px 0 0;*/
/*    border-bottom: none;*/
/*}*/
.select-selected.select-arrow-active:after {
    transform: rotate(180deg);
}
.select-items.select-hide {
    display: none;
}
.select-items {
    position: absolute;
    top: 120px;
    left: 0;
    z-index: 99;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 25px 0 0 0;
    background: #FFFFFF;
}
.select-items::before {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    display: block;
    width: 100%;
    height: 55px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.048) 0%, rgba(0, 0, 0, 0) 100%);
}
.select-items .select-items-box {
    position: relative;
    z-index: 50;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-flow: column;
    width: 100%;
    max-width: 900px;
}
.select-items .select-items-box div {
    font-size: 14px;
    line-height: 30px;
    color: #000000;
    cursor: pointer;
}
.header-open-school {
    width: 100%;
    margin-top: 37px;
}
.header-open-school__btn {
    width: 100%;
    padding: 12px;
    background: #FFED00;
    border: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #222F45;
}
/*.select-items {*/
/*    position: absolute;*/
/*    top: 100%;*/
/*    left: 0;*/
/*    z-index: 99;*/
/*    width: 100%;*/
/*    padding: 0 0 25px 0;*/
/*    border-right: 1px solid #353535;*/
/*    border-left: 1px solid #353535;*/
/*    border-bottom: 1px solid #353535;*/
/*    border-radius: 0 0 20px 20px;*/
/*    background: #fff;*/
/*    cursor: pointer;*/
/*}*/
/*.select-items div {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    height: 38px;*/
/*    padding: 5px 12px 5px 25px;*/
/*    font-size: 14px;*/
/*    line-height: 30px;*/
/*    color: #000000;*/
/*    cursor: pointer;*/
/*}*/
/*.select-hide {*/
/*    display: none;*/
/*}*/
/*.select-items div:hover, .same-as-selected {*/
/*    background-color: rgba(0, 0, 0, 0.1);*/
/*}*/
@media(min-width: 991px) {
    .header0821_menu__link.is-payment {
        background: #FF696E;
        border-radius: 5px;
        padding: 12px 15px;
        color: #fff;
    }
}

@media(max-width: 1199px) {
    .custom-select {
        order: 1;
        margin-top: 21px;
        margin-right: 0;
    }
    .select-items {
        top: 160px;
    }
}
@media(max-width: 991px) {
    .select-items {
        top: 157px;
        padding-right: 30px;
        padding-left: 30px;
    }
}
@media(max-width: 575px) {
    .select-items .select-items-box {
        grid-template-rows: 1fr;
        grid-template-columns: 1fr;
        grid-auto-flow: row;
    }
    .select-items {
        padding-left: 15px;
    }
}

/* Custom Select Box End */

.header0821__menu-burger,.header0821_menu__link.is-touch {
    display: none;
}

@media(max-width: 1200px){
    .header0821__menu,
    .header0821__phone{
        margin-top: 0;
    }
    .header0821__menu {
        margin-left: auto;
    }
}
@media(max-width: 991px) {
    .custom-select {
        margin-top: 17px;
        width: 100%;
        max-width: 100%;
    }
    .custom-select .select-selected {
        max-width: 218px;
    }
    .header0821__menu,.header0821__phone {
        display: none;
    }
    .header0821__menu-burger {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        margin-left: auto;
        background: #FFFFFF;
        border: 1px solid #353535;
        border-radius: 100%;
        cursor: pointer;
    }
    .header0821__menu-burger span {
        position: relative;
        width: 18px;
        height: 1px;
        background-color: #000;
    }
    .header0821__menu-burger span::before,.header0821__menu-burger span::after {
        content: '';
        position: absolute;
        left: 0;
        display: block;
        width: 100%;
        height: 1px;
        background-color: #000;
    }
    .header0821__menu-burger span::before {
        top: -5px;
    }
    .header0821__menu-burger span::after {
        bottom: -5px;
    }
    .header0821__menu-burger.active span {
        background: transparent;
    }
    .header0821__menu-burger.active span::before {
        top: 0;
        transform: rotate(45deg);
    }
    .header0821__menu-burger.active span::after {
        bottom: 0;
        transform: rotate(-45deg);
    }
    .header0821__menu.active {
        position: absolute;
        top: 100px;
        left: 0;
        z-index: 10;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: calc(100vh - 100px);
        padding: 40px 15px 15px 15px;
        background: rgba(0, 0, 0, 0.9);
    }
    .header0821__menu.active .header0821_menu__link {
        display: block;
        font-size: 14px;
        line-height: 17px;
        text-align: center;
        color: #fff;
    }
    .header0821__menu.active .header0821_menu__link:not(:last-child) {
        margin-bottom: 25px;
    }
    .header0821__menu.active .header0821_menu__link.is-touch {
        display: block;
        font-size: 16px;
    }
}
@media(max-width:768px){
    .header0821__menu,
    .header0821__phone{display: none;}
    .header0821__select{margin-right: 0;}
}
section.rki {
display:flex;
}

