@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700;900&display=swap'); 
html {
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}
ul {
    margin: 0;
    padding: 0;
}
ul > li {
    list-style: none;
}
a {
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
}

:root {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color:#3B4A51;
    box-sizing: border-box;
    --accent-color: #FF9100;
    --dark-color:#3B4A51;
    --white-color:#FFF;
}
/* Containers */
.container__1200 {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto; 
}
.container__1920 {
    max-width: 1920px; 
    width: 100%;
    margin: 0 auto;
}
.container__1920 {
    background-image: url('../img/bg_block_maxi.png'), url('../img/bg_block_mini.png');
    background-repeat: no-repeat, no-repeat;
    background-position: right top, 355px 249px;
    position: relative;
}
/* Containers END */


.row {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.justify-center {
    align-items: center;
    justify-content: center;
}

.RegSite{
    cursor: pointer;
}

/********footer***********/
.site {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
  }
  
.site-content {
    flex: 1;
  }
/********footer end***********/

.hidden, .wrapper__burger-menu {
    display: none;
}

/************burger menu**********/ 
.burger-menu {
	display: flex;
	justify-content: flex-start;
}
/* Гамбургер иконка */
.menu-btn {
	width: 30px;
	height: 30px;
	position: relative;
	z-index:10;
	overflow: hidden;
	cursor: pointer;
}
.menu-btn span {
	width: 30px;
	height: 2px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #222222;
	transition: all 0.5s;
}
.menu-btn span:nth-of-type(2) {
	top: calc(50% - 5px);
}
.menu-btn span:nth-of-type(3) {
	top: calc(50% + 5px);
}
/* Меняем гамбургер иконку, когда меню открыто */
.menu-btn.active span:nth-of-type(1) {
  display: none;
}
.menu-btn.active span:nth-of-type(2) {
  top: 50%;
  transform: translate(-50%, 0%) rotate(45deg);  
}
.menu-btn.active span:nth-of-type(3) {
  top: 50%;
  transform: translate(-50%, 0%) rotate(-45deg); 
}
/* Меню, которое будет появляться */
.menu {
	position: fixed;
	top: 0;
	right: 0;
	width: 45%;
	height: 55%;
	padding: 27px;
	background: #EBECED;
	transform: translateY(-100%);
	transition: transform 0.5s; 
}
.menu.active {
	transform: translateX(0);
	z-index: 9;
}
.menu li {
	list-style-type: none;
}
.menu li a {
	font-family: 'Raleway', sans-serif;
	color: #3B4A51;
	line-height:34px;
}
.menu li a:hover {
	color: #FF9100;
	text-decoration: underline;
}

.header__wrapper-menu li ul{
    display: none;
    position: absolute;
    list-style: none;
    z-index: 2;
    padding: 15px 5px 0px 0px;
    margin: 0;
    background: #fff;

}

.header__wrapper-menu li ul li{
    padding: 0 0 15px 0;
}

.header__wrapper-menu li:hover ul{
    display: block;
}

/************burger menu end**********/

/*Discussion block behind the menu and logo*/
.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items:center;
}
.header__wrapper-menu a, 
.header__wrapper-language a,
.header__wrapper-authorization a,
.header__wrapper-registration a {
    font-weight: 600;
    line-height: 19px;
    color:var(--dark-color);
}
.header__wrapper-menu ul    {
    display: flex;
    gap:20px;
}
.header__wrapper-menu ul li a{
    letter-spacing: 0.05em;
    padding-left: 5px;
}
.header__wrapper-menu ul li a:hover {
    color:var(--accent-color);
    text-decoration: underline;
}
.header__wrapper-language {
    position: relative;
}
a.active__language {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    padding: 0 17px 0 25px;
    cursor: pointer;
    text-transform: uppercase;
}
.active__language::after {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url('../img/arrow_menu.svg');
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 4px;
}
.active__language.arrow::after {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url('../img/arrow_menu.svg');
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 4px;
    transform: rotate(180deg);
} 
.language__hidden__block {
    position: absolute;
    width: 133px;
    height: 56px;
    display: flex; 
    border: 0.5px solid var(--dark-color);
    border-radius: 10px;
    justify-content: center;
    align-items:center;
    top: 30px;
    left: -25px;
    gap:12px;
    background:var(--white-color);
}
.language__hidden__block li a {
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color:var(--dark-color);
    letter-spacing: -0.02em;
    cursor: pointer;
    text-transform: uppercase;
}
.language__hidden__block li a.active__language-link,
.language__hidden__block li a:hover {
    text-decoration: underline;
    color:var(--accent-color);
}
.header__wrapper-registration a {
    letter-spacing: -0.02em;
    background: rgba(255, 145, 0, 0.15);
    border-radius: 15px;
    padding: 15px 24px;
}

@media (max-width: 1199px) {
    .container__1200,
    .container__1200-pages {
        padding: 0 15px;
    }
}
@media (max-width: 1130px) {
    .header__wrapper-menu {
        display: none;
    }
    .wrapper__burger-menu {
        display: block;
    }
    .header__wrapper {
        justify-content: flex-start;
    }   
    .header__logo {
        display: flex;
        flex-grow: 6;
    }
    .header__wrapper-language,
    .header__wrapper-authorization,
    .header__wrapper-registration {
        flex-grow: 1;
    }
}
@media (max-width: 1080px) {
   /* .container__online-store {
        padding:0 15px;
    }*/
    
    /*.container__1200 .online__store-wrapper {
        background-image: none;
    }*/
    /*
    .online__store-leptop {
        display: block;
        margin-bottom: 60px;
    }*/
    /*.store__button {
        margin-bottom: 60px;
    }*/
   /* .content__wrapper-row {
        flex-wrap: wrap;
        justify-content: center;
    }*/
    /*
    .row__item-flex {
        flex:0 1 50%;
        margin-bottom: 15px;
    }*/
}
@media (max-width: 768px) {
    /*.store__title{
        font-size: 42px;
        margin-top: 70px;
        text-align: center;
    }
    .store__subtitle {
        font-size: 26px;
    }

    .online__store-wrapper {
        align-items:center;
    }
    .row__item-flex {
        flex:0 1 100%;
    }*/
}
@media (max-width: 680px) {
    .header__wrapper {
        flex-direction: column;
        gap:20px;
    }
    /*
    .store__title {
        font-size: 24px;
        line-height: 34px;
    }
    .store__subtitle {
        font-size: 18px;
    }
    */
}


.footer__wrapper {
    align-items:center;
    display: flex;
    flex-direction: column;
    align-items:center;
    border-top:1px solid var(--dark-color);
    padding-bottom: 10px;
}
.footer__logo__wrapper {
    display: flex;
    align-items: center;
}
.footer__links {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items:center;
}
.footer__menu ul {
    display: flex;
    gap:30px;
}
.footer__menu ul li {
    list-style-type: none;
}
.footer__menu ul li a {
    font-weight: 600;
    color:var(--dark-color);
}
.footer__menu ul li a:hover {
    text-decoration: underline;
    color: var(--accent-color); 
    font-weight: 600;
}
.footer_social-links {
    display: flex;
    align-items:center;
    border-left:1px solid var(--dark-color);
    height: 67px;
    margin-left: 35px;
    padding-left: 35px;
    flex-wrap: wrap;
    flex: 1 0 auto;
}
.footer_social-links span {
    display: flex;
    flex:0 0 100%;
    font-weight: 700;
    font-size: 10px;
    line-height: 12px;
}
.footer_social-links a {
    margin-right: 6px;
    display: flex;
    flex: 0 0 auto;
}
.footer__chat {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
.footer_pay {
	max-width:215px;
	width:100%;	
}
.footer__wrapper-offer {
    display: grid;
    grid-template-columns: 1fr 2fr;
    flex-direction: row;
    justify-content: flex-start;
    grid-template-areas: 
    "public conf"
    "copyright copyright";
}
.footer__wrapper-offer a:first-child {
    grid-area: public;
}
.footer__wrapper-offer a {
    font-size: 10px;
    grid-area: conf;
    color:var(--dark-color);
    text-decoration: underline;
}
.footer__wrapper-offer span {
    font-size: 8px;
    grid-area: copyright;
}
.channel_telegram {
    display: flex;
    align-items:center;
    column-gap:26px;
}
.channel_telegram a {
    display: flex;
    align-items:center;
    column-gap:10px;
    font-size: 11px;
    text-decoration: underline;
    color:var(--dark-color);
    line-height: 13px;
}
.channel_telegram a:hover {
    text-decoration: none;
}
.footer__chat-channels {
    background: rgba(59, 74, 81, 0.1);
    border-radius: 15px;
    padding: 24px 26px 24px 37px;
}


/* login after login */

.authorization-login,
.registration-login {
    display: none;
}
.only-after-login {
    display: flex;
    justify-content: space-between;
    position: relative;
    /* margin-right: 10px; */
}
.after-authorization {
    background: #F9F9F9;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    padding: 6.71px 4px 6px 10.54px;
    max-width: 92px;
    width: 100%;
}
.after-authorization > span > img {
    margin-right: 6px;

}
.after-authorization > span {
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    /* text-align: center; */
    /* font-family: 'Raleway', sans-serif; */
}

.after-authorization > span i{
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    padding: 0 2px;
}

.after-login > button {
    background: #FF9100;
    border-radius: 10px;
    position: relative;
    border:none;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color:var(--white-color);
    cursor: pointer;
    padding: 10px 19.5px;
    max-width: 160px;
    max-height: 50px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;

}
.after-login > img {
    position: absolute;
    /* display: none; */
    right: -9px;
    z-index: 2;
    top:11px;

}
.only-after-login > .header__wrapper-authorization {
    margin-right:14px ;
}
.client-information {
    max-width: 233px;
    width: 100%;
    border: 0.5px solid #3B4A51;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 14px 12px 19px 12px;
    background: #FFFFFF;
    position: absolute;
    top:47px;
    z-index: 10;
}

.after-login{
    cursor: pointer;
}

.client-information-full-name {
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    margin-bottom: 3px;
}
.client-information-email {
    pointer-events: none;
    font-weight: 500;
    font-size: 11px;
    line-height: 13px;
    color: #8A97A4;
    margin-bottom: 13px;
    display: block;
}
.client-information-links {
    border-top: 0.5px solid #8A97A4;
    border-bottom: 0.5px solid #8A97A4;
    padding-top: 17px;
}
.client-information-links > li {
    margin-bottom: 17px;
}
.client-information-links > li > a {
    font-weight: 500;
    font-size: 13px;
    line-height: 15px;
    letter-spacing: -0.02em;
    color: var(--dark-color);

}
.client-information-logout {
    margin-top: 16px;
    color: var(--accent-color);
    font-weight: 500;
    font-size: 13px;
    line-height: 15px;
    text-decoration: underline;
    display: flex;
    align-items: center;
}
.client-information-logout > img {
    margin-left: 8px;
}

div[data-display=none] {
    display: none;
}
div[data-display=block] {
    display: block;
}


@media (max-width: 1130px) {
    .footer__menu ul {
        gap: 15px;
    }
    .channel_telegram a {
        column-gap:5px;
    }
}
@media (max-width: 1080px) {
    .footer__links, .footer__chat {
        flex-direction: column;
    }
    .footer__menu ul, .footer__wrapper-offer, .footer__chat > img {
        margin-bottom: 10px;
    }
}
@media (max-width: 680px) {
    .footer__menu ul {
        flex-direction: column;
        align-items:center;
    }
} 
@media (max-width: 564px) {
    .channel_telegram {
        align-items: flex-start;
        flex-direction: column;
        row-gap: 10px;
    }
}
@media (max-width: 368px) {
    .footer__logo__wrapper {
        flex-direction: column;
    }
    .footer_social-links {
        border-left: none;
        border-top:1px solid var(--dark-color);
        border-bottom:1px solid var(--dark-color);
        margin-bottom: 10px;
        margin-left: 0;
        padding-left: 0;
    }
}

