html, body{
    margin: 0;
    padding: 0;
    /*background-color: #F6F8FC;*/
    font-family: Roboto, Arial, Helvetica, sans-serif;
    color: #000000;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 10%, rgba(246, 248, 252, 1) 30%);
    background-attachment: fixed;
}

body{
    overflow-y: scroll;
}

ul{
    margin: 0;
    padding: 0;
}

header{
    position: sticky;
    top: 0;
    right: 0;
    width: 100%;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.95);
    /*border-bottom: 1px solid #dce1e6;*/
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.main-container{
    margin-top: 30px;
    width: 1024px;
    display: flex;
    padding-bottom: 50px;
    margin-left: 20px;
    margin-right: 20px;
    gap: 55px;
}



input, textarea{
    padding: 8px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    font-family: Roboto, Arial, Helvetica, sans-serif;
}

input:focus, textarea:focus{
    padding: 8px;
    border: 1px solid #419FD9;
    outline: none;
    /*background-color: rgb(250, 253, 255);*/
}

button, input[type="submit"], input[type="button"]{
    background-color: #419fd9;
    border-radius: 8px;
    border: 0px;
    padding: 8px;
    color: white;
    cursor: pointer;
}

button:disabled, input[type="submit"]:disabled, input[type="button"]:disabled{
    background-color: grey;
    cursor: auto;
}






.main-column-layout > .center, .main-container > .center{
    flex: 1 1 auto;
    min-width: 0; /* Необходимо для Swiper */
}

.main-column-layout > .right, .main-container > .right{
    flex: 0 0 300px;
}





main, .main{
    display: flex;
    justify-content: center;
}

.left{
    flex: 0 0 auto;
    /*margin-right: 55px;*/
}

.center{
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-container > .right{
    flex: 0 0 300px;
    /* background-color: greenyellow; */
    color: white;
    /*margin-left: 65px;*/
}







.login-image{
    background-image: url('pic/login.svg');
    width: 23px;
    height: 23px;
    flex: 0 0 auto;
    border-radius: 50%;
    background-size: cover;
    cursor: pointer;
    /* filter: grayscale(1); */
}


.user-menu{
    background-color: white;
    position: absolute;
    top: 35px;
    right: 0px;
    color: black;
    font-size: 13px ;
    white-space: nowrap;
    box-shadow: 2px 2px 4px 0px rgb(0 0 0 / 15%);
    transition: all 0.15s;
    min-width: 160px;
}

.user-menu.hidden{
    opacity: 0;
    top: 50px;
    pointer-events: none;
}

.user-menu .top{
    display: flex;
    gap: 10px;
    padding: 10px;
    align-items: center;
}

.user-menu .top .right{
    display: flex;
    flex-direction: column;
    /*gap: 5px;*/
}

.user-menu .top .right .login{
    color: grey;
    font-size: 12px;
}

.user-menu .top .left .image{
    height: 30px;
    width: 30px;
    background-position: center;
    background-size: cover;
    border-radius: 50%;
}

.user-menu .bottom a{
    padding: 8px 10px;
    display: block;
    white-space: nowrap;
    text-decoration: none;
    color: black;
    cursor: pointer;
}

.user-menu .bottom a:hover{
    background-color: #419FD9;
    color: white;
}








.ad{
    position: sticky;
    top: 80px;
    background-color: gray;
    width: 100%;
    height: 500px;
    text-align: center;
    vertical-align: middle;
    line-height: 400px;
    opacity: 0;
}




@media (max-width:768px){
    .main-container{
        margin: 20px 50px 0px 10px;
    }

    .main-container > .left{
        display: none;
    }

    .main-container > .right{
        display: none;
    }

    .sub-text{
        display: none;
    }
}













