/* Cabinet articles */

.tabs__content {
	padding-bottom: 0;
}

.cabinet__container {
	max-width: 920px;
	background: #ffffff;
}

.cabinet__content {
	padding: 30px 65px 60px;
	margin-bottom: 35px;
}

.cabinet-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 50px;
}

.cabinet-rules-link {
	font-size: 14px;
	color: #7A7E9A;
	text-decoration: none;
	border-bottom: 1px dashed #7A7E9A;
	position: relative;
	margin-left: 22px;
}

.cabinet-rules-link:before {
	content: '';
	display: block;
	width: 15px;
	height: 15px;
	position: absolute;
	top: 4px;
	left: -22px;
	background: url(../img/cabinet/i-icon.svg) center no-repeat;
}

/* .cabinet-article_dismiss .cabinet-rules-link {
	color: #A40808;
	text-decoration: none;
	border-bottom: 1px dashed #A40808;
}

.cabinet-article_dismiss .cabinet-rules-link::before {
	display: none;
}

.cabinet-rules-link:hover {
	text-decoration: none;
	border-bottom-style: solid;
}

.cabinet-article {
	background: #FAFAFA;
	border: 1px solid #E6E6E6;
	border-radius: 2px;
	padding: 20px 30px;
	margin-bottom: 20px;
	transition: 0.3s;
	position: relative;
}

.cabinet-article:hover {
	box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.1);
}

.cabinet-article_dismiss {
	background: #FAE2E2;
	border: 1px solid #E25757;
}

.cabinet-article__dismiss-info {
	font-size: 14px;
	line-height: 19px;
	color: #A40808;
	padding-bottom: 20px;
}

.cabinet-article__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.cabinet-article__ecategory {
	font-size: 12px;
	color: #747474;
	background: #E5E5E5;
	border-radius: 1px;
	padding: 3px 7px;
	margin-right: 20px;
}

.cabinet-article__date {
	flex: 1;
	font-size: 13px;
	color: #A5A5A5;
}

.cabinet-article__status {
	font-weight: 600;
	font-size: 12px;
	color: #BCBCBC;
	position: relative;
}

.cabinet-article__status:before {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	position: absolute;
	top: 1px;
	left: -23px;
	background: url(../img/cabinet/draft-icon.svg) center no-repeat;
}

.cabinet-article_published .cabinet-article__status {
	color: #69C88F;
}

.cabinet-article_published .cabinet-article__status:before {
	background: url(../img/cabinet/published-icon.svg) center no-repeat;
}

.cabinet-article_moderation .cabinet-article__status:before {
	background: url(../img/cabinet/moderation-icon.svg) center no-repeat;
}

.cabinet-article_dismiss .cabinet-article__status {
	color: #C37676;
}

.cabinet-article_dismiss .cabinet-article__status:before {
	background: url(../img/cabinet/dismiss-icon.svg) center no-repeat;
}

.cabinet-article__menu {
	width: 25px;
	height: 20px;
	margin-left: 15px;
	background: url(../img/cabinet/dots-icon.svg) center no-repeat;
	cursor: pointer;
	position: relative;
}

.cabinet-article__submenu {
	position: absolute;
	right: -25px;
	top: 25px;
	z-index: 100;
	display: none;
}

.cabinet-article__title {
	font-size: 18px;
	line-height: 24px;
	color: #000000;
	transition: 0.3s;
}

.cabinet-article__title:hover {
	color: #4054F9;
	cursor: pointer;
} */


/* Add article */
.add-article__title {
	font-size: 22px;
	line-height: 29px;
	color: #000000;
	padding: 10px 0 20px;
}

.add-article__input,
.add-article__textarea,
.add-article__select {
	width: 100%;
	height: 60px;
	font-size: 18px;
	line-height: 24px;
	padding: 0 25px;
	margin-bottom: 25px;
}

.add-article__select {
	width: 50%;
	cursor: pointer;
	background: url(../img/cabinet/select-icon.svg) right 25px center no-repeat;
}

.add-article__textarea {
	height: 270px;
	padding: 15px 25px;
	border-radius: 4px 4px 0 0;
	resize: vertical;
}

.add-article__add-link {
	border: 1px solid #E0E0E0;
	box-sizing: border-box;
	border-radius: 4px;
	font-size: 12px;
	color: #4054F9;
	padding: 10px 45px;
	border-radius: 0 0 4px 4px;
	margin: -30px 0 25px 0;
	background: #fff url(../img/cabinet/addlink-icon.svg) left 25px center no-repeat;
	position: relative;
	transition: 0.3s;
}

.add-article__add-link:hover {
	cursor: pointer;
	background-color: #EFF7FE;
	border: 1px solid #4054F9;
}

.add-article__wysiwyg {
	height: 500px;
	background: url(../img/cabinet/wyswig.jpg) top left no-repeat;
	padding: 80px 25px 25px;
}

.add-article__clear-button {
	font-size: 16px;
}

.add-article__clear-button[disabled] {
	color: #CCCCCC;
	border: 1px solid #D6D6D6;
	background: #fff;
}

.add-article__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.add-article__back {
	width: 100%;
	padding-top: 30px;
	padding-left: 20px;
}

.add-article__preview-link {
	flex: 1;
	padding-right: 30px;
	white-space: nowrap;
	text-align: right;
}

.add-article__back-link {
	position: relative;
}

.add-article__back-link:before {
	content: '';
	display: block;
	width: 8px;
	height: 8px;
	border-left: 1px solid #4054F9;
	border-bottom: 1px solid #4054F9;
	transform: rotate(45deg);
	position: absolute;
	left: -15px;
	top: 8px;
}

.unauthorized-info {
	text-align: center;
}

.unauthorized-info__rules {
	margin-bottom: 20px;
}


/* No articles */

.cabinet__empty {
	background: #FAFAFA url(../img/cabinet/empty-icon.svg) top 60px center no-repeat;
	border: 1px solid #E6E6E6;
	border-radius: 2px;
	padding: 160px 70px 70px;
	text-align: center;
	/* margin-bottom: 20vh; */
}

.cabinet__empty-title {
	font-weight: 600;
	color: #333333;
	padding-bottom: 15px;
}

.cabinet__empty-text {
	padding-bottom: 5px;
}

/* Footer bottom if content empty */
/* .page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
} */

main {
	flex: 1;
}


/* Author info */

.cabinet-article__author {
	font-size: 13px;
	line-height: 17px;
	color: #727272;
	display: flex;
	align-items: center;
	margin-top: 10px;
}

.cabinet-article__avatar {
	width: 22px;
	height: 22px;
	margin-right: 10px;
	flex-shrink: 0;
}

.cabinet-article__author-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.cabinet-article__author-info {
	flex: 1;
}

.cabinet-article__author-name {
	padding-right: 10px;
	margin-right: 5px;
	border-right: 1px solid #dadada;
}


/* Filter articles */

.filter {
	height: 50px;
	background: #FAFAFA;
	width: 100%;
	padding: 0 30px;
	font-size: 14px;
	color: #8c8c8c;
	display: flex;
	align-items: center;
}

.filter__item {
	margin-right: 60px;
	cursor: pointer;
	position: relative;
}

.filter__item:before {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	position: absolute;
	top: 1px;
	left: -23px;
}

.filter__item:hover {
	color: #707070;
}

.filter__item_active,
.filter__item_active:hover {
	color: #000;
	font-weight: 600;
	cursor: default;
}

.filter__item_wait:before {
	background: url(../img/cabinet/moderation-icon.svg) center no-repeat;
}

.filter__item_active.filter__item_wait:before {
	background: url(../img/cabinet/filter-wait-icon.svg) center no-repeat;
}

.filter__item_publish:before {
	background: url(../img/cabinet/filter-publish-icon.svg);
}

.filter__item_active.filter__item_publish:before {
	background: url(../img/cabinet/published-icon.svg);
}

.filter__item_dismiss:before {
	background: url(../img/cabinet/filter-dismiss-icon.svg);
}

.filter__item_active.filter__item_dismiss:before {
	background: url(../img/cabinet/dismiss-icon.svg);
}



/* Dismiss page */

.cabinet-text__author {
	display: flex;
	align-items: center;
	margin-bottom: 45px;
}

.cabinet-text__avatar {
	width: 40px;
	height: 40px;
	margin-right: 20px;
	flex-shrink: 0;
}

.cabinet-text__author-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.cabinet-text__author-name {
	font-weight: 600;
	font-size: 18px;
	line-height: 24px;
	color: #000000;
	display: block;
}

.cabinet-text__preview-article p {
	padding: 15px 0;
	font-size: 18px;
	line-height: 145%;
	color: #000000;
}


.cabinet-header.cabinet-header_dismiss {
	position: relative;
	margin-bottom: 90px;
}

.cabinet-header_dismiss:after {
	content: '';
	display: block;
	width: calc(100% + 166px);
	border-bottom: 1px solid #E6E6E6;
	position: absolute;
	bottom: -45px;
	left: -83px;
}

.edit-buttons {
	display: flex;
}

.edit-buttons__edit {
	width: 40px;
	height: 40px;
	margin-right: 17px;
	border-radius: 4px;
	cursor: pointer;
	background: #E8EEF6 url(../img/cabinet/edit-icon.svg) center no-repeat;
	transition: 0.3s;
}

.edit-buttons__edit:hover {
	background-color: #cee2fd;
}

.dismiss-reason__button {
	min-width: 100px;
	margin-left: 15px;
	opacity: 1;
}

.dismiss-reason__button[disabled] {
	opacity: 0;
}

.dismiss-reason {
	display: flex;
	position: relative;
}

.dismiss-reason__select-input {
	width: 300px;
	height: 40px;
	border: 1px solid #CFCFCF;
	border-radius: 4px;
	font-size: 14px;
	color: #818181;
	padding: 0 20px;
	display: flex;
	align-items: center;
	background: #fff url(../img/cabinet/select-icon.svg) right 15px top 17px no-repeat;
	text-align: left;
	transition: 0.1s;
	cursor: pointer;
}

.dismiss-reason__select-box {
	border: 1px solid #CFCFCF;
	border-radius: 0 4px 4px 4px;
	padding: 15px 20px 20px;
	position: absolute;
	background: #ffffff;
	z-index: 100;
	margin-top: -1px;
	text-align: left;
	display: none;
}

.dismiss-reason__label {
	color: #333333;
	font-size: 13px;
	line-height: 17px;
	display: inline-block;
	margin: 10px 0;
	cursor: pointer;
}

.dismiss-reason__select-box-item_input {
	display: flex;
	align-items: center;
}

.dismiss-reason__input {
	flex: 1;
	border: 1px solid #CFCFCF;
	border-radius: 4px;
	height: 30px;
	margin-left: 10px;
	padding: 0 10px;
}

.dismiss-reason__select_open .dismiss-reason__select-input {
	border-bottom: 1px solid #FFF;
	border-radius: 4px 4px 0 0;
	position: relative;
	z-index: 101;
	background: #fff url(../img/cabinet/selectup-icon.svg) right 15px top 17px no-repeat;
}


.row-flex {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}

.col {
	width: 50%;
	float: left;
}

.align-end {
	text-align: end;
}

.back-button {
	font-size: 16px;
	line-height: 21px;
	color: #8C8C8C;
}

.popup__box__cabinet {
	top: 110%;
}

.button_blue.disabled,
.button_blue[disabled],
.button_blue.disabled:hover,
.button_blue[disabled]:hover {
	opacity: 1 !important;
	border: 1px solid #D9D9D9;
	background-color: #F5F5F5;
	color: #BFBFBF;
}

.button_transparent.disabled,
.button_transparent[disabled],
.button_transparent.disabled:hover,
.button_transparent[disabled]:hover {
	opacity: 1 !important;
	border: 1px solid #D9D9D9;
	color: #BFBFBF;
}

a.disabled,
a.disabled:hover {
	color: #BFBFBF;
	text-decoration: none;
}

/* Responsive */

/* iPad */

@media screen and (max-width:1023px) {

	.cabinet__content {
		padding: 10px 30px;
		margin-bottom: 0;
	}

	.cabinet-header {
		margin-bottom: 30px;
	}

	#preview-popup .popup__box {
		left: 0;
		transform: translate(0, 0);
		width: 100%;
		border-radius: 0;
		padding: 60px 20px;
	}

	.preview {
		width: 100%;
	}

	#preview-popup .popup__close {
		top: -41px;
		right: 0;
	}


}

/* Phones */

@media screen and (max-width:767px) {

	.cabinet__container {
		padding: 0 15px;
	}

	.cabinet__content {
		padding: 10px 0;
	}

	.cabinet-header {
		display: block;
		text-align: center;
	}

	.cabinet-header__button {
		width: 100%;
		margin-bottom: 20px;
	}

	.cabinet-article {
		padding: 15px 20px;
	}

	.cabinet-article__head {
		flex-wrap: wrap;
		position: relative;
	}

	.cabinet-article__title {
		font-size: 16px;
		line-height: 20px;
	}

	.cabinet-article__status {
		position: absolute;
		top: 1px;
		right: 35px;
	}

	.cabinet-article__date {
		order: 2;
		flex-basis: 100%;
		margin-top: 5px;
	}

	.add-article__top {
		flex-direction: column;
	}

	.add-article__input,
	.add-article__select {
		height: 40px;
		width: 100%;
		font-size: 16px;
		padding: 0 18px;
	}

	.add-article__select {
		background: url(../img/cabinet/select-icon.svg) right 18px center no-repeat;
	}

	.add-article__textarea {
		padding: 10px 18px;
		font-size: 16px;
	}

	.add-article__add-link {
		border: 1px solid #E0E0E0;
		box-sizing: border-box;
		border-radius: 4px;
		font-size: 12px;
		color: #4054F9;
		padding: 10px 45px;
		border-radius: 0 0 4px 4px;
		margin: -30px 0 25px 0;
		background: #fff url(../img/cabinet/addlink-icon.svg) left 25px center no-repeat;
		position: relative;
		transition: 0.3s;
	}

	.add-article__add-link:hover {
		cursor: pointer;
		background-color: #EFF7FE;
		border: 1px solid #4054F9;
	}

	.add-article__wysiwyg {
		height: 500px;
		background: url(../img/cabinet/wyswig.jpg) top left no-repeat;
		padding: 80px 25px 25px;
	}


	.add-article__footer {
		flex-direction: column;

	}

	.add-article__link {
		padding: 10px 0;
	}

	.add-article__back-link {
		padding: 0;
	}

	.add-article__preview-link {
		order: 1;
	}

	.add-article__publish-button {
		order: 2;
		width: 100%;
		margin: 10px 0;
	}

	.add-article__clear-button {
		order: 3;
		width: 100%;
		margin: 10px 0;
	}

	.add-article__back {
		order: 4;
		text-align: center;
	}

	.cabinet__empty {
		padding: 160px 20px 70px;
	}

	.cabinet-article__author {
		align-items: start;
		margin-top: 15px;
	}

	.filter {
		display: block;
		height: auto;
		padding: 10px 15px 0px 40px;
		text-align: left;
		border: 1px solid #CCCCCC;
		border-radius: 4px;
		background: #fff url(../img/cabinet/select-icon.svg) right 15px top 17px no-repeat;
		position: relative;
	}

	.filter__overlay {
		/* background: rgba(255, 0, 0, 0.315); */
		display: block;
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		z-index: 2;
	}

	.filter__item {
		margin-bottom: 10px;
		position: relative;
		z-index: 1;
		display: none;
	}

	.filter__item.filter__item_active {
		display: block;
	}

	.filter.filter_open .filter__overlay {
		display: none;
	}

	.filter.filter_open .filter__item {
		display: block;
	}

	.filter__item_all {
		margin-left: -20px;
	}

	.cabinet-text__preview-article p {
		font-size: 16px;
	}

	.edit-buttons {
		display: flex;
		justify-content: space-between;
		padding-bottom: 15px;
	}

	.dismiss-reason {
		display: block;
	}

	.dismiss-reason__select-input {
		width: 100%;
	}

	.dismiss-reason__button {
		margin: 15px 0 0 0;
		width: 100%;
	}

	.dismiss-reason__button[disabled] {
		position: absolute;
	}

	.dismiss-reason__input {
		font-size: 16px;
	}

}

.add-article__form input[type=file] {
	outline: 0;
	opacity: 0;
	pointer-events: none;
	user-select: none
}

label.post_thumbnail {
	width: 100%;
	border: 1px solid #E0E0E0;
	border-radius: 5px;
	display: flex;
	align-items: center;
	min-height: 50px;
	cursor: pointer;
	text-align: center;
	position: relative;
}

label.post_thumbnail.done:before {
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: linear-gradient(0deg, rgba(22, 22, 22, 0.5970763305322129) 0%, rgba(22, 22, 22, 0.3533788515406162) 50%, rgba(22, 22, 22, 0.5970763305322129) 100%);
}

label.post_thumbnail span {
	display: block;
	color: rgba(0, 0, 0, 0.5);
}

label.post_thumbnail img {
	width: 100%;
}

#post_thumbnail {
	display: none;
}

.loader {
	background: url("loading_1.svg");
	display: block;
	margin: auto;
	width: 60px;
	height: 60px;
	background-size: contain;
}

#progress-wrap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
}

#progress-bar {
	width: 1%;
	height: 2px;
	background-color: #5c74c9;
}

label.post_thumbnail img,
p img {
	max-height: 450px;
	width: auto;
	object-fit: cover;
	max-width: 100%;
	display: block;
	margin-top: 15px;
}

label.post_thumbnail img {
	max-height: 355px;
	width: 100%;
	display: block;
	margin-top: 0;
}

.post_thumbnail .post_thumbnail_remove {
	position: absolute;
	top: 0;
	right: 0;
}

.ax-form-element__container .wp-editor-tabs {
	display: none;
}

.ax-editor {
	width: 100%;
	z-index: 0;
}

.ax-editor .mce-tinymce .mce-edit-area {
	width: calc(100% - 1px);
}

.tox-tiered-menu .tox-menu h1,
.tox-tiered-menu .tox-menu h2,
.tox-tiered-menu .tox-menu h3 {
	margin-top: 0 !important;
}

.tox-button.in-process:hover {
	background-color: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
}

.tox-button .lds-ring {
	display: inline-block;
	position: relative;
	width: 20px;
	height: 20px;
	padding-top: 4px;
}

.tox-button .lds-ring div {
	box-sizing: border-box;
	display: block;
	position: absolute;
	width: 18px;
	height: 18px;
	margin: 0px;
	border: 2px solid #ccc;
	border-radius: 50%;
	animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	border-color: #ccc transparent transparent transparent;
}

.tox-button .lds-ring div:nth-child(1) {
	animation-delay: -0.45s;
}

.tox-button .lds-ring div:nth-child(2) {
	animation-delay: -0.3s;
}

.tox-button .lds-ring div:nth-child(3) {
	animation-delay: -0.15s;
}

@keyframes lds-ring {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.ax-row {
	display: flex;
	justify-content: space-between;
}

.ax-rules {
	display: flex;
	align-items: center;
	font-size: 14px;
	line-height: 20px;
	color: #7a7e9a;
	font-family: Segoe UI;
	cursor: pointer;
}

.ax-rules-icon {
	margin-top: 2px;
	margin-right: 7px;
}

.ax-rules-text {
	border-bottom: 1px dashed #7a7e9a;
}

.ax-form-element {
	display: block;
	margin-bottom: 24px;
	position: relative;
}

.ax-label {
	display: flex;
	align-items: center;
	font-size: 14px;
	line-height: 22px;
	color: #262626;
	margin-bottom: 3px;
}

.ax-select {
	width: 360px;
	height: 40px;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	font-family: inherit;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	outline: none;
	background: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.21374 10.109C6.03232 10.1094 5.85651 10.0371 5.71683 9.9047L1.05832 5.46255C0.899757 5.31175 0.800046 5.09505 0.781117 4.86013C0.762189 4.6252 0.825592 4.3913 0.957381 4.20986C1.08917 4.02843 1.27855 3.91434 1.48385 3.89268C1.68916 3.87102 1.89357 3.94357 2.05213 4.09437L6.21374 8.07453L10.3753 4.23652C10.4548 4.16272 10.5461 4.10761 10.6442 4.07435C10.7423 4.0411 10.8452 4.03035 10.9469 4.04274C11.0487 4.05512 11.1473 4.09039 11.237 4.14651C11.3268 4.20264 11.406 4.27852 11.4701 4.36978C11.5412 4.46113 11.595 4.5683 11.6283 4.68457C11.6615 4.80084 11.6734 4.92371 11.6632 5.04548C11.653 5.16725 11.6209 5.2853 11.569 5.39223C11.517 5.49916 11.4464 5.59266 11.3614 5.66689L6.70288 9.958C6.55918 10.0695 6.38696 10.1227 6.21374 10.109Z' fill='%23BFBFBF'/%3E%3C/svg%3E%0A") right 12px center no-repeat;
	font-size: 16px;
	line-height: 24px;
	color: #262626;
	padding: 0 32px 0 12px;
}

.ax-select>option {
	color: #262626;
}

.ax-select>option:disabled {
	display: none;
}

.ax-select:required:invalid {
	color: #bfbfbf;
}

.ax-input {
	background: #ffffff;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	color: #262626;
	font-size: 16px;
	line-height: 24px;
	height: 40px;
	width: 100%;
	padding: 0 12px;
	outline: none;
}

.ax-upload {
	background: #ffffff;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	width: 100%;
	font-size: 12px;
	line-height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8c8c8c;
	cursor: pointer;
	position: relative;
	/* Новое 02.10 */

}

.ax-upload-remove {
	position: absolute;
	top: 7px;
	right: 8px;
}

.ax-textarea {
	background: #ffffff;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	color: #262626;
	font-size: 16px;
	line-height: 24px;
	height: 230px;
	width: 100%;
	padding: 12px;
	outline: none;
	resize: vertical;
}

.ax-tooltip-container {
	position: relative;
	margin-left: 3px;
}

.ax-tooltip-container:hover .ax-tooltip,
.ax-tooltip-container:hover .ax-tooltip-arrow {
	visibility: visible;
}

.ax-tooltip-container>svg {
	display: block;
}

.ax-tooltip {
	width: max-content;
	padding: 5px 8px;
	font-size: 12px;
	line-height: 16px;
	color: #ffffff;
	position: absolute;
	background: #262626;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	bottom: calc(100% + 6px);
	left: -10px;
	visibility: hidden;
}

.ax-tooltip-arrow {
	position: absolute;
	left: 3px;
	top: -6px;
	visibility: hidden;
}

.ax-footer {
	display: flex;
	justify-content: space-between;
}

.ax-btn-outline {
	font-size: 16px;
	line-height: 24px;
	color: #4054f9;
	padding: 7px 15px;
	border-radius: 4px;
	border: 1px solid #4054f9;
	background: none;
	cursor: pointer;
}

.ax-btn-link {
	font-size: 16px;
	line-height: 24px;
	color: #4054f9;
	padding: 8px 12px;
	border-radius: 4px;
	border: none;
	background: none;
	cursor: pointer;
	margin-left: auto;
	margin-right: 20px;
}

.ax-btn-primary {
	font-size: 16px;
	line-height: 24px;
	color: #fff;
	padding: 8px 16px;
	border-radius: 4px;
	background: #4054f9;
	border: none;
	cursor: pointer;
}

@media (max-width: 767px) {
	.ax-footer {
		flex-direction: column;
	}

	.ax-btn-outline {
		order: 3;
	}

	.ax-btn-link {
		order: 1;
		margin: 0;
	}

	.ax-btn-primary {
		order: 2;
		margin: 16px 0;
	}

	.ax-row {
		flex-direction: column-reverse;
	}

	.ax-rules {
		display: inline-flex;
		margin: 0 auto 24px;
	}

	.ax-select {
		width: 100%;
	}
}

.ax-alert-wrapper {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	pointer-events: none;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-start;
	z-index: 999999999;
}

.ax-alert {
	display: flex;
	gap: 0 8px;
	align-items: center;
	background: #48515f;
	border-radius: 4px;
	padding: 15px 18px;
	width: calc(100% - 10px);
	max-width: 477px;
	pointer-events: all;
	margin-top: 4px;
	margin-right: 5px;
	margin-left: 5px;
}

.ax-alert:first-child {
	margin-top: 16px;
}

.ax-alert-text-container {
	flex: 1;
}

.ax-alert-text {
	font-size: 16px;
	line-height: 20px;
	color: #ffffff;
}

.ax-alert-text a {
	color: #F7E693;
	text-decoration: none;
}

.ax-alert-icon {
	flex-shrink: 0;
}

.ax-alert-close {
	flex-shrink: 0;
	margin-left: 8px;
	margin-top: 4px;
	cursor: pointer;
}

.ax-form-element__container {
	display: flex;
	grid-gap: 10px;
	align-items: center;
}

.ax-element~.require-status {
	width: 20px;
	height: 20px;
	display: block;
	background-repeat: no-repeat;
}

.upload-photo .require-status {
	position: absolute;
	bottom: 3px;
	right: 3px;
	background-color: #fff;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-size: 20px;
	background-position: center;
}

.ax-element.done~.require-status {
	background-image: url(../img/cabinet/checked.svg);
}

.ax-element.not-ready~.require-status {
	background-image: url(../img/cabinet/exclamation-mark.svg);
}


.rules-link {
	text-decoration: underline;
	color: #8B8B8B;
}

.rules-link:hover {
	color: #4054F9;
}

.password__show {
	height: 40px;
	width: 40px;
	position: absolute;
	right: 0;
	top: 0;
	background: url(../img/cabinet/login/showpassword-icon.svg) center no-repeat;
	cursor: pointer;
}

.password__show_hide {
	background: url(../img/cabinet/login/hidepassword-icon.svg) center no-repeat;
}

/* lost password */

.lostpassword__title {
	margin-bottom: 30px;
	font-weight: 600;
	font-size: 28px;
	line-height: 37px;
	text-align: center;
	color: #000;
}

.lostpassword__text {
	line-height: 19px;
	color: #333333;
	margin-bottom: 30px;
	text-align: center;
}

@media screen and (max-width: 767px) {

	.form-input,
	.form-textarea {
		font-size: 16px;
	}

	.tabs__link {
		font-size: 14px;
	}
}