.header {
    width: 100%;
    height: auto;
    float: left;
    padding: 24px 0 18px;
    background-color: #2a323b;
    z-index: 10005;
    position: relative;
}
.header_row{
	width: 100%;
	height: auto;
	float: left;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	position: relative;
}
.header_item{
	width: fit-content;
	height: auto;
	margin-left: 27px;
}
.header_item ul{
	display: flex;
    align-items: center;
}
.header_item p{
    cursor:pointer;
}
.header_logo{
	width: 141.1px;
    height: 44px;
    object-fit: contain;
}
.header_item ul > li{
	float: left;
	border-right: solid 1px #37404a;
	padding: 0 27px;
}
.header_item ul > li:nth-child(1),
.header_item ul > li:nth-child(2),
.header_item ul > li:nth-child(3){
	display: none;
}
.header_item ul > li > a{
    font-size: 16px;
    font-family: 'Avenir Next Cyr Medium';
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: left;
    color: #a8adb2;
    transition: .4s;
}
.header_item ul > li > p{
    font-size: 16px;
    font-family: 'Avenir Next Cyr Medium';
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: left;
    color: #d6dde3;
    transition: .4s;
    cursor:pointer;
}
.header_item ul > li > a > i{
	float: right;
    font-size: 11px;
    margin: 7px 0 0 10px;
}
.header_item ul > li > p > i{
	float: right;
    font-size: 11px;
    margin: 9px 0 0 10px;
}
.header_item ul > li:last-child{
	border: unset;
}
.header_item ul > li > a:hover{
	color: #d6dde3;
	transition: .4s;
}
.header_item-login{
	float: right;
	display: flex;
	align-items: center;
	color: #fff;
	font-size: 14px;
	padding: 0px 1px 0px 31px;
	border-bottom-left-radius: 10px;
	border-top-left-radius: 10px;
	border-bottom-right-radius: 9px;
	border-top-right-radius: 9px;
	-webkit-box-shadow: 0px 5px 10px 2px rgb(0 0 0 / 20%) inset;
	-moz-box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.2) inset;
	box-shadow: 0px 5px 10px 2px rgb(0 0 0 / 20%) inset;
	border: solid 1px rgba(255, 255, 255, 0.06);
}
.header_item-login:hover{
    background-color: #333a44;
}
.navbar .header_item-login{
	display: none;
}
.header_item-login span{
    font-family: 'Avenir Next Cyr Medium';
}
.header_item-login i{
	float: left;
	margin: 2px 0 0 17px;
    width: 10px;
    height: 6px;
    background-repeat: no-repeat;
    background-image: url(https://apihost.ru/asset/icons/shevron-down.svg);
}
.header_item-login img{
	width: 45px;
	height: 43px;
	object-position: center;
	object-fit: contain;
	float: right;
	margin: 5px 1px 1px 20px;
}
.bar{
	display: none;
}
.bar_close{
	display: none;
}
.bar_website{
	display: none;
}
.header_item-dropdown-show{
	position: relative;
}
.header_item-dropdown-show p{
	z-index: 10005;
	position: relative;
}
.header_item-dropdown-show p > i{
    background-image: url(https://apihost.ru/asset/icons/shevron-down.svg);
    width: 10px;
    height: 6px;
    background-repeat: no-repeat;
}
.header_item-dropdown-show-active:before{
    transform: rotate(270deg) !important;
    transition: .4s;
}
.header_item-dropdown{
    width: fit-content;
    position: absolute;
    background: #2a323b;
    right: 0;
    top: 5px;
    padding: 20px 27px 14px;
    z-index: 1005;
    box-sizing: border-box;
    border-radius: 5px;
    display: none;
}
.header_item-dropdown a{
	color: #a8adb2;
	margin: 6px 0;
	transition: .4s;
	float: left;
	font-size: 14px;
	width:100%;
    white-space: pre;
}
.header_item-dropdown p{
	color: #d6dde3;
	margin: 6px 0;
	transition: .4s;
	float: left;
	font-size: 14px;
	width:100%;
}
.header_item-balance{
	float: left;
	margin: 0 60px 0 0;
	position: relative;
}
.header_item-balance-box:hover {
    background-color: #333a44;
}
.header_item-balance:before{
	content: "";
	width: 1px;
	height: 30px;
	background-color: #2b333c;
	position: absolute;
	right: -28px;
	top: 9px;
}
.header_item-balance-box{
	float: right;
	display: flex;
	align-items: center;
	color: #fff;
	font-size: 14px;
	padding: 0px 1px 0px 31px;
	border-bottom-left-radius: 60px;
	border-top-left-radius: 60px;
	border-bottom-right-radius: 100px;
	border-top-right-radius: 100px;
	-webkit-box-shadow: 0px 5px 10px 2px rgb(0 0 0 / 20%) inset;
	-moz-box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.2) inset;
	box-shadow: 0px 5px 10px 2px rgb(0 0 0 / 20%) inset;
	border: solid 1px rgba(255, 255, 255, 0.06);
}
.header_item-balance-box span{
	font-size: 16px;
    color: #ffffff;
    font-family: 'Avenir Next Cyr Bold';
}
.header_item-balance-box i{
    margin: 1px 20px 0 10px;
    width: 10px;
    height: 6px;
    background-repeat: no-repeat;
    background-image: url(https://apihost.ru/asset/icons/shevron-down.svg);
}
.header_item-balance-box img{
	width: 43px;
	height: 43px;
	float: left;
	margin: 6px 3px 2px;
	border-radius: 100px;
}
.header_item-balance-drodown{
	width: 270px;
	height: auto;
	background-color: #293039;
	position: absolute;
	margin: 81px 0 0;
	padding: 31px 25px 28px;
	border-radius: 25px;
	box-sizing: border-box;
	right: -33px;
	border: 2px solid #293039;
	display: none;
	z-index: 10005;
}
.header_item-balance-drodown:before{
	content: "";
	width: 30px;
	height: 30px;
	position: absolute;
	background-color: #293039;
	right: 43px;
	top: -18px;
	transform: rotate(45deg);
	border: 2px solid #293039;
}
.header_item-balance-drodown-pay{
	width: -webkit-fill-available;
	width: -moz-available;
	height: auto;
	padding: 12px 0 13px;
	float: left;
	text-align:center;
	font-size: 16px;
	color: #fff;
	border-radius: 100px;
	background-color: #ffcd43;
	font-family: 'Avenir Next Cyr Demi';
}
.header_item-balance-drodown-unpay{
	width: -webkit-fill-available;
	width: -moz-available;
	height: auto;
	float: left;
	padding: 19px 0 0;
	margin: 24px 16px 0;
	color: #cfd4e2;
	font-size: 14px;
	border-top: 1px solid #2f353d;
	text-align: center;
}
.header_item-login-block{
	width: fit-content;
	height: auto;
	float: left;
}
.header_item-login-drodown{
	width: 270px;
	height: auto;
	background-color: #293039;
	position: absolute;
	margin: 81px 0 0;
	padding: 31px 35px 28px;
	border-radius: 25px;
	box-sizing: border-box;
	right: 0px;
	border: 2px solid #293039;
	display: none;
	z-index: 10005;
}
.header_item-login-drodown:before{
	content: "";
	width: 30px;
	height: 30px;
	position: absolute;
	background-color: #293039;
	right: 43px;
	top: -18px;
	transform: rotate(45deg);
	border: 2px solid #293039;
}
.header_item-login-drodown-username{
	width: fit-content;
	height: auto;
	padding: 0;
	float: left;
	text-align: left;
	font-size: 16px;
	color: #fd4e7e;
	font-family: 'Avenir Next Cyr Demi';
}
.header_item-login-drodown-logout{
	width: -webkit-fill-available;
	width: -moz-available;
	height: auto;
	float: left;
	padding: 19px 0 0;
	margin: 22px 0 0;
	color: #cfd4e2;
	font-size: 16px;
	border-top: 1px solid #2f353d;
	text-align: left;
	display: flex;
	align-items: center;
									   
				
}
.header_item-login-drodown-logout i{
	float: left;
	margin: 0 8px 0 0;
	font-size: 13px;
}
.header_item-authorized{
	display: block;
}
.header_item-dropdown a:hover{
	color: #d6dde3;
}
.header_item-authorized{display:none;}
.navbar_login{
	display: none;
}

@media screen and (max-width: 1600px){
	.header_item ul > li{
		padding: 0 27px;
	}
	.header_item ul > li > a{
		font-size: 14px;
	}
	.header_item ul > li > p{
		font-size: 14px;
	}
}
@media screen and (max-width: 1400px){
	.header_item-balance{
		margin: 0 40px 0 0;
	}
	.header_item-balance-box{
		font-size: 14px;
        padding: 0px 1px 0px 24px;
	}
	.header_item-balance-box span{
		font-size: 14px;
	}
	.header_item-balance-box i {
        margin: 1px 10px 0 10px;
        font-size: 10px;
    }
    .header_item-balance-box img {
        width: 40px;
        height: 40px;
        margin: 6px 3px 2px;
    }
    .header_item-balance:before{
    	right: -20px;
    }
    .header_item-login{
    	font-size: 14px;
        padding: 0px 1px 0px 25px;
    }
    .header_item-login span{
    	font-size: 13px;
    }
    .header_item-login i {
        font-size: 10px;
        margin: 2px 0 0 10px;
    }
    .header_item-login img {
        width: 40px;
        height: 39px;
        margin: 5px 1px 1px 14px;
    }
    .header_item-balance-drodown-pay{
    	font-size: 14px;
    }
    .header_item-login-drodown-logout{
    	font-size: 14px;
    }
    .header_item-balance-drodown{
    	width: 250px;
    	padding: 25px 20px 20px;
    	border-radius: 20px;
    }
    .header_item-login-drodown{
    	width: 250px;
    	padding: 25px 30px 25px;
    	border-radius: 20px;
    }
}
@media screen and (max-width: 1220px){
    .navbar_login{
	    display: flex;
    }
	.header{
		margin: 0px 0 0 0;
		padding: 13px 0;
		background-color: #2a323b;
		position: fixed;
		z-index: 100005;
	}
	.another_header{
		margin: 0px 0 0 0;
		padding: 13px 0;
		background-color: #2a323b;
		position: fixed;
		z-index: 1005;
	}
	.information{
		margin: 61px 0 0 0;
		position: fixed;
		z-index: 1;
		padding: 14px 0 13px;
	}
	.header_item{
		width: 100%;
	}
	.header_item:nth-child(1){
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
		padding-right: 20px;
	}
	.header_item:nth-child(2){
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        background: #2b333c;
        z-index: 10000;
        transition: .4s;
        overflow:scroll;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        align-content: flex-start;
    }
    .header_item:nth-child(3){
    	width: fit-content;
        right: 40px;
        position: absolute;
        top: 2px;
    }
    .header_item-login img {
        width: 36px;
        height: 36px;
        margin: 5px 1px 1px 16px;
        border: unset;
    }
    .navbar_active{
    	right: 0px !important;
    	transition: .4s;
    }
    .header_logo {
        width: 98px;
        height: 31px;
        object-fit: contain;
        object-position: center;
    }
    .header_item ul {
        width: calc(100% - 8px);
        display: unset;
        align-items: center;
        float: left;
        border-top: 1px solid #515b67;
        order: 2;
        box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.12);
        border: solid 1px #39424b;
        background-color: #2e3640;
        margin: 8px 4px 0;
        border-radius: 20px;
        padding: 20px;
    }
    .header_item ul > li {
       width: -moz-available !important;
       margin: 0 0 30px 0;
       width: 100%;
       padding: 0;
       border-right: unset;
    }
	.header_item ul > li:nth-child(1),
	.header_item ul > li:nth-child(2),
	.header_item ul > li:nth-child(3),
	.header_item ul > li:nth-child(4){
		display: block;
	}
	.header_item ul > li:last-child{
		margin: 0;
	}
    .header_item ul > li > a {
		width: 100%;
		height: auto;
		font-size: 14px;
		line-height: normal;
		padding: 0 0 0 32px;
		box-sizing: border-box;
		position: relative;
	}
    .header_item ul > li > p {
        width: 100%;
		height: auto;
        font-size: 14px;
        line-height: normal;
        padding: 0 0 0 32px;
		box-sizing: border-box;
		position: relative;
    }
	.header_item ul > li > a::after,
	.header_item ul > li > p::after{
	    content: "";
	    position: absolute;
	    width: 16px;
	    height: 16px;
	    background-size: 100% 100%;
	    background-position: center;
	    background-repeat: no-repeat;
	    left: 0%;
	    top: 50%;
	    -webkit-transform: translate(0%, -50%);
	    transform: translate(0%, -50%);
	}
	.header_item ul > li > a:hover::after,
	.header_item ul > li > a.active::after,
	.header_item ul > li > p:hover::after,
	.header_item ul > li > p.active::after{
	    filter: invert(54%) sepia(56%) saturate(2673%) hue-rotate(193deg) brightness(104%) contrast(101%);
	}
	.header_item ul > li:nth-child(1) a::after{
	    background-image: url("../images/icon/menu-1.svg");
	}
	.header_item ul > li:nth-child(2) a::after{
	    background-image: url("../images/icon/menu-3.svg");
	}
	.header_item ul > li:nth-child(3) a::after{
	    background-image: url("../images/icon/menu-4.svg");
	}
	.header_item ul > li:nth-child(4) p::after{
	    background-image: url("../images/icon/menu-5.svg");
	}
	.header_item ul > li:nth-child(5) a::after{
	    background-image: url("../images/icon/menu-9.svg");
	    color: #8f99a6;
	}
	.header_item ul > li:nth-child(6) a::after{
	    background-image: url("../images/icon/menu-6.svg");
	}
	.header_item ul > li:nth-child(7) a::after{
	    background-image: url("../images/icon/menu-7.svg");
	}
    .header_item ul > li > p::before {
       content: "";
       width: 11.9px;
       height: 14px;
       position: absolute;
       right: 0px;
       top: 2px;
       background-image: url(https://apihost.ru/images/icon/right.svg);
       background-size: contain;
       background-repeat: no-repeat;
       background-position: center;
       transform: rotate(90deg);
    }    
    .bar{
    	display: block;
    	cursor: pointer;
    	width: 19px;
    	height: 13px;
    }
    .bar_close{
    	display: block;
    	position: absolute;
    	right: 20px;
    	top: 20px;
    	width: 16px;
    	height: 16px;
    	cursor: pointer;
    }
    .bar_website{
    	width: 100%;
    	height: auto;
    	float: left;
    	font-size: 12px;
    	font-stretch: normal;
    	letter-spacing: 0.48px;
    	text-align: center;
    	color: #fff;
    	position: initial;
    	z-index: 1005;
    	bottom: 35px;
    	display: block;
    	margin: 0 0 30px 0;
    	display: none;
    }
    .header_item-dropdown {
        position: relative;
        top: 15px;
        width: 100%;
        padding: 0;
        background-color: unset;
    }
    .header_item-dropdown a{
    	width: 100%;
    	margin: 10px 0;
    }
    .header_item-dropdown p{
    	width: 100%;
    	padding-left: 10px;
    }
    .header_item-dropdown-show p > i{
    	display: none;
    }
    .header_item-dropdown-show a:before{
    	transform: rotate(90deg);
    	transition: .4s;
    }
    .header_item .header_item-login{
       display: none;
    }
    .display{
    	margin: 60px 0 0 0;
    }
    .navbar_login{
      width: -webkit-fill-available;
      width: -moz-available;
      height: auto;
      float: left;
      padding: 0;
      border-radius: 0 !important;
      background-color: unset !important;
      display: contents !important;
      justify-content: center;
    }
    .navbar .header_item-login{
		display: flex;
		align-items: center;
		padding: 0px 5px 1px 20px;
		margin: 9px 0 0 4px;
		width: 165px;
		justify-content: space-between;
    }
        .login{
    	margin: 61px 0 0 0;
    	background-image: url('https://apihost.ru/images/bg/login.png');
    	background-position: center;
    	background-repeat: no-repeat;
    	background-size: cover;
    	z-index: 10005;
    }
    .login_row:before{
    	width: 0;
    	display: none;
    }
    .login_item:nth-child(1){
    	display: none;
    }
    .login_item:nth-child(2){
        width: 100%;
        height: auto;
        min-height: 100vh;
        background: unset;
    }
    .display_item_voice_item{
    	width: 100% !important;
    	max-width: 100% !important;
    }
    .display_item_voice_item:nth-child(2){
    	margin: 60px 0 0 0;
    }
    .header_item-login-block{
    	display: none;
    }
    .header_item-balance{
    	display: none;
    }
    .header_item.authorized .header_item-authorized{
    	display: block;
    }
    .header_item.authorized ul{
    	display: none;
    }
    .header_item.authorized ul > li > a > i{
    	width: 17px;
        height: 17px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 12px 0 0;
        font-size: 14px;
    }
    .header_item.authorized .bar_website{
    	position: relative;
    	bottom: unset;
    	margin: 40px 0 20px;
    }
    .header_item-authorized{
    	width: 100%;
        height: auto;
        position: relative;
        float: left;
        overflow-x: scroll;
    }
    .header_item-authorized-panel{
    	width: 100%;
    	height: auto;
    	float: left;
    	display: contents;
    	flex-wrap: wrap;
    	justify-content: center;
    	margin: 0;
    	padding: 0 8px;
    	box-sizing: border-box;
    }
	.header_item-authorized-panel form{
		display: contents;
	}
 /*   .header_item-authorized-panel form{
    	width: 80%;
    	height: auto;
    	max-width: 270px;
    }
*/    
    .header_item-authorized-panel form > label{
    	width: 100%;
    	height: auto;
    	float: left;
    	margin: 0 0 18px 0;
    }
    .header_item-authorized-panel form > label > input{
    	width: -webkit-fill-available;
    	width: -moz-available;
    	height: auto;
    	color: #fff;
    	font-size: 14px;
    	padding: 14px 5px;
    	border-radius: 16px;
    	-webkit-box-shadow: 0px 5px 10px 2px rgb(0 0 0 / 20%) inset;
    	-moz-box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.2) inset;
    	box-shadow: 0px 5px 10px 2px rgb(0 0 0 / 20%) inset;
    	border: solid 1px rgba(255, 255, 255, 0.06);
    	background-color: #2a323b;
    	text-align: center;
    	font-family: 'Avenir Next Cyr Medium';
    	box-sizing: border-box;
    }
    .header_item-authorized-panel form > label:nth-child(2) > input{
        font-family: 'Avenir Next Cyr Bold';
        color: #fff;
    }
    .header_item-authorized-panel form > label > input::placeholder{
    	color: #fff;
    }
    .header_item-authorized-panel form > button{
    	width: -webkit-fill-available;
    	width: -moz-available;
    	max-width: 270px;
    	height: auto;
    	padding: 12px 0 13px;
    	margin: 20px 18px 0;
    	float: left;
    	text-align: center;
    	font-size: 14px;
    	color: #fff;
    	border-radius: 100px;
    	background-color: #ffcd43;
    	font-family: 'Avenir Next Cyr Demi';
    	border: unset;
    }
    .header_item-authorized-panel form > a{
    	width: -webkit-fill-available;
    	width: -moz-available;
    	height: auto;
    	float: left;
    	margin: 23px 16px 0;
    	color: #cfd4e2;
    	font-size: 13px;
    	text-align: center;
    }
    .header_item-authorized ul {
        width: 100%;
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        margin: 30px 0 0 0;
        padding: 30px 0 25px;
        float: left;
        border-top: 1px solid #515b67;
        border-bottom: 1px solid #515b67;
    }
    .header_item-authorized ul > li {
       padding: 0 10% !important;
       margin: 0 auto 30px !important;
       border: unset;
    }
    .header_item-authorized ul > li > a {
       width: -webkit-fill-available;
       width: -moz-available;
       font-size: 13px;
       position: relative;
       float: left;
       display: flex;
       align-items: center;
    }
    .header_item-authorized ul > li > a:before{
    	display: none;
    }
    .header_item-authorized ul > li > a > img{
    	width: 17px;
    	height: 17px;
    	object-fit: contain;
    	object-position: center;
    	margin: 0 12px 0 0;
    }
    .header_item-authorized ul > li:last-child {
       padding: 0 10% !important;
       margin: 0 !important;
       border-top: 1px solid #515b67;
    }
    .header_item-authorized ul > li:last-child a {
       padding: 25px 0 0 0!important;
       border-radius: 0 !important;
       background-color: unset !important;
       color: #a8adb2 !important;
       border: unset;
    }
}
@media screen and (max-width: 1200px){
    .header_item-authorized{display: contents;}
        .bar {
        display: block;
        cursor: pointer;
        width: 19px;
        height: 13px;
    }
}
@media (max-width: 1235px) and (max-height: 550px){
	.header_item:nth-child(2){
		overflow-y: scroll;
	}
	.bar_website{
		position: relative;
        z-index: 1005;
        bottom: 0;
        margin: 0 0 30px;
	}
}
@media (max-width: 1920px) and (max-height: 1080px) and (-webkit-min-device-pixel-ratio: 1.4){
    .header {
    padding: 14px 0 12px;
    }
}