﻿@font-face {
    font-family: 'ErasDemiC';
    src: url('../assets/fonts/ErasDemiC.otf');
    font-weight: normal;
}

@font-face {
    font-family: 'ErasMediumC';
    src: url('../assets/fonts/ErasMediumC.otf');
    font-weight: normal;
}
@font-face {
    font-family: 'ErasBookC';
    src: url('../assets/fonts/ErasBookC.otf');
    font-weight: normal;
}

.logo_head {
    background-image: url('./assets/logo2022.svg');
}

.logo_head img {
    max-width: 100%;
    height: auto;
    position: relative;
    bottom: -40px;
    left: 20px;
    transform: scale(1.15);
}

.row.head {
    height: 200px;
}

.text_1 .row {
    position: relative;
    top: 65px;
    left: 20px;
}
.text_1 {
    font-family: 'ErasDemiC';
    font-size: 1.8em;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.21;
    letter-spacing: normal;
    text-align: left;
    color: #51698b;
}

.text_2 {
    opacity: 0.9;
    font-family: 'ErasDemiC';
    font-size: 1.35em;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.07;
    letter-spacing: normal;
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
}

.text_2 a:hover {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.text_2 a {
    opacity: 0.8;
    font-family: 'ErasDemiC';
    /* font-size: 1.35em; */
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.07;
    letter-spacing: normal;
    text-align: left;
    color: #ffffff;
    text-decoration: none;
}

.pressCenter_menu a li {
    opacity: 0.8;
    font-family: 'ErasDemiC';
    /* font-size: 1.35em; */
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.07;
    letter-spacing: normal;
    text-align: left;
    color: #ffffff;
    text-decoration: none;
}

.mob_left_block {
    display: none;
}

.text_3 {
    font-family: 'ErasDemiC';
    font-size: 0.8em;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.03;
    letter-spacing: normal;
    text-align: right;
    color: #ffffff;
}

.text_3 a {
    text-decoration: none;
    color: #fff;
    color: #ffffffab;
    transition: 1s all;
}

.text_3 a:hover {
    text-decoration: none;
    color: #fff;
    opacity: 1;
}

.text_3 p {
    position: relative;
    top: 60px;
    display: block;
    width: 110px;
    float: right;
}

.text_3 p span {
    opacity: 0.6;
}

.text_3 p:before {
    content: "";
    position: absolute;
    background: url('../images/res_1.png') no-repeat;
    top: -10px;
    right: 70px;
    background-size: 100%;
    width: 26px;
    height: 22px;
    filter: invert(100%);
}
/* Выпадающее меню  */
.text_2 li {
    list-style: none;
}
header {
    position: relative;
    z-index: 1;
}
#content {
    position: relative;
    z-index: 0;
}

.pressCenter_dropdown {
    position: relative;
}

.pressCenter_dropdown ul {
    padding: 0 17px 0px 17px;
}

.pressCenter_menu {
    position: absolute;
    display: block;
    left: -6px;
    max-height: 0px;
    width: 152px;
    z-index: 9999;
    background-color: #001540;
    overflow: hidden;
    border: 0px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 0 10px 10px;
    border-top: none;
    top: 43px;
    transition: 0.5s max-height;
    opacity: 0;
    visibility: hidden;
}

.pressCenter_menu li {
    position: relative;
}

.pressCenter_menu li:before {
    content: '';
    width: 152px;
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: -15px;
    z-index: -1;
}
.pressCenter_menu li:hover:before {
    background: #0d1b4c;
}

.pressCenter_dropdown:hover .pressCenter_menu {
    /* display: block; */
    opacity: 1;
    visibility: visible;
    max-height: 790px;
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    border-top: none;
    border-bottom: none;
}
.pressCenter_dropdown:after {
    position: absolute;
    height: 55px;
    width: 100%;
    top: 0;
    left: 0;
    content: '';
}

.pressCenter_menu a {
    padding-top: 5px;
    padding-bottom: 8px !important;
    display: flex;
    justify-content: left;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.5);
}

.pressCenter_menu a:first-child {
    padding-top: 0;
}

.pressCenter_menu a:last-child {
    border: none;
}

.pressCenter_menu a {
    text-decoration: none;
    font-family: ErasMediumC;
    font-size: 0.8em;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.main_menu {
    position: relative;
    z-index: 9999;
}

.reg_cont {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.registy_button {
    width: 220px;
    height: 41px;
    background: #20588A;
    border-radius: 6px;
    font-family: 'ErasDemiC';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 25px;
    color: #ffffff !important;
    margin-top: 40px;
    border: none;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media(max-width: 1200px) {
    .uat-warning {
        font-size: 1.1em !important;
    }
    .text_7 {
        font-size: 1em !important;
    }
    .registy_button {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .uat-warning {
        font-size: 0.8em !important;
    }
    .uat-warning i {
        font-size: 2.4em !important;
    }
    .text_7 {
        font-size: 0.9em !important;
    }
}

@media(max-width: 767px) {
    header {
        padding-bottom: 0 !important;
    }
    .registy_button {
        width: 100px;
        margin-bottom: 10px;
        margin-left: 65px;
        text-align: center;
        font-size: 14px;
        line-height: 16px;
    }
    .reg_cont {
        visibility: hidden;
    }
    .uat-warning {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 270px;
        font-size: 0.5em !important;
        margin: 0 !important; 
    }
    
    .pressCenter_menu a {
        display: flex;
        justify-content: center;
    }
    
    .pressCenter_menu a:first-child {
        padding-top: 5px !important;
    }
    
    .pressCenter_menu {
        margin-top: 4vh !important;
    }
    
    
    .main_menu.open {
        max-height: 1000px;
        height: calc(100vh - 160px);
        overflow-y: scroll;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .containerForMobile + div {
        max-width: -webkit-fill-available !important;
        width: 100%;
    }

    .main_menu .text_2 {
        width: 100%;
        display: block;
    }

    .main_menu .text_2 {
        text-align: center;
        font-size: 1em;
        border-bottom: 1px solid grey;
        border-bottom: 1px solid #222c50;
        padding: 4vh 0 !important;
    }
    .text_2.participants,
    .justify-content-end .text_2:nth-child(2) 
    {
        padding-bottom: 0 !important;
    }
    
    .pressCenter_menu li {
        padding: 4vh 0 !important;
    }
    
    .text_7 {
        font-size: 0.75em !important;
    }
}

@media(max-width: 490px) {
    .registy_button {
        font-size: 14px;
    }
    
    .logo_head .img-fluid {
        margin-right: 40px;
    }
}

@media (max-width: 335px) {
    .logo_head .img-fluid {
        margin-right: 0;
    }
}