:root {
   --adm-bg-1: #ddd;
   --adm-bg-2: #e9e8e6;
   --adm-bg-3: #F5F5F5;
   --adm-bg-4: #F5F5F5;
   --img-text-color-1: black;
   --img-text-color-2: white;
   --bg-1: #48A5E7;
   --color-0: #F2E3D5;
	--color-1: #3CA6A6;
	--color-2: #026773;
	--color-3: #024959;
	--color-4: #012E40;
	--color-5: #333;
}

.adm-page a:hover {
   color: unset;
}

/* admin */

.admin {
   position: relative;
}
.admin__main {
   font-size: 18px;
   text-align: center;
   margin: 50px auto;
   padding: 10px;
   max-width: 300px;
}
.admin__logo {
   font-size: 12px;;
   display: inline-block;
   transform: translateY(-20px);
}
.admin__header {
   display: flex;
   align-items: center;
   height: 70px;
}
.admin__header_col:first-child {
   display: flex;
   justify-content: center;
   background-color: #E9E3CE;
   height: 100%;
   width: 200px;
}
.admin__header_col:last-child {
   display: flex;
   background-color: var(--adm-bg-2);
   justify-content: flex-end;
   flex-grow: 1;
   height: 100%;
   padding: 0 20px;
}
.admin__body {
   display: flex;
   min-height: 100vh;
}
.admin__sidebar {
   display: flex;
   flex-direction: column;
   align-items: center;
   width: 200px;
   padding-right: 10px;
   flex-shrink: 0;
   background-color: var(--adm-bg-2);
}
.admin__content {
   padding: 20px;
   flex-grow: 1;
   background-color: var(--adm-bg-3);
}
.admin__nav {
   width: 100%;
   padding: 10px;
   overflow-x: hidden;
}
.admin__brends {
   max-width: 600px;
}
.admin__icon-close {
   text-align: right;
}
.admin__nav-item {
   padding: 10px 0;
   margin-bottom: 10px;
   cursor: pointer;
}
.admin__nav-item:last-child {
   margin-bottom: unset;
}
.admin__nav-item:hover {
   color: var(--color-1);
}
.admin .phones,
.admin .address,
.admin .category {
	padding: unset;
}
.nav-mob {
   display: none;
}
.nav-mob.nav-mob_show {
   display: block;
   position: absolute;
   top: 0;
   background-color: white;
   width: 100%;
   height: 100vh;
}
@media(max-width: 600px) {
   .admin__nav-item {
      font-size: 18px;
   }
}

/*
	phones
	append-phone
	address
	append-address
	category
*/


.append-phone__btn,
.append-address__btn,
.category-address__btn {
	width: 120px;
}

.phones__append,
.phones__btn-append,
.address__append,
.address__btn-append .category__append,
.category__btn-append {
	margin-bottom: 20px;
}

.address__append,
.category__append {
	display: flex;
	flex-direction: column;
}

.category__append input,
.category__append select {
	width: 100%;
}

.category__append select {
	height: 32px;
}

.phones__append-form,
.category__append-form,
.address__append-form {
	display: flex;
	align-items: center;
	max-width: 500px;
}

.address__append-form [data-form="appendRecord"] {
	padding-right: 20px
}

.category__append-form [data-form="appendRecord"] {
	padding-right: 20px
}

.address__group-input {
	flex-grow: 1;
	min-width: 200px;
}

.address__group-input input {
	margin-top: 10px;
}

.address__group-input div:first-child {
	margin-top: -10px;
}

.category__append-form {
	display: flex;
	align-items: center;
	width: 100%;
	margin-bottom: 20px;
	margin-top: 20px;
}

.category__append-form_subcategory {
	display: block;
	width: 100%;
}

.category__append-group {
	display: flex;
	width: 100%;
}

.phones__row,
.address__row,
.category__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 500px;
}

.address__row {
	margin-bottom: 30px;
}

.phones__row,
.category__row {
	margin-bottom: 10px;
}

.address__row [class^="address__"] {
	margin-top: 10px;
}

.address__row [class^="address__"]:first-child {
	margin-top: -10px;
}

.separator {
	padding-bottom: 10px;
	border-bottom: 1px solid gray
}

.phones__number,
.category__name {
	line-height: 32px;
	flex-grow: 1;
}

.category__level-up {
	font-style: italic;
	font-size: 13px;
	color: var(--color-1);
}

.category_level-up-select select {
	height: 32px;
	margin-bottom: 15px;
	margin-top: 5px;
}

.phones__number input {
	width: 200px;
}

.category__name input,
.category_level-up-select select {
	width: 300px;
}

.address__group-btn,
.category__group-btn,
.group-icons {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-grow: 1;
}

.category__radio-group div {
	margin-bottom: 15px;
}

.category__radio {
	margin-right: 15px;
}

/* header */

.header__inner {
	display: flex;
	align-items: center;
	height: 80px;
	background-color: var(--color-0);
}

.header__col_l {
	display: flex;
	align-items: center;
	min-width: 200px;
	background-color: var(--color-1);
	text-align: center;
	font-size: 26px;
	color: white;
	height: 100%;
}

.header__col_r {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	width: 100%;
	padding-right: 20px;
}

/* content */

.content {
	display: flex;
	/* position:absolute; */
	top: 80px;
	bottom:0;
	/* height:100%; */
	width:100%;
}

.content__col_l {
	width: 200px;
	/* background-color: var(--color-0); */
	padding: 10px 20px;
}

.content__col_r {
	flex-grow: 1;
	padding: 20px;
	overflow-x: auto;
}

@media(max-width: 820px) {
	.content__col_l {
		display: none;
	}
}

.sidebar a {
	padding: 7px 0;
	margin: 7px 0;
	font-size: 16px;
}

.sidebar a:last-child {
	margin-bottom: unset;
}

.sidebar a:hover {
	color: var(--color-1)
}

/* dropdown */

.dropdown-win {
	position: fixed;
	top: 0;
	right: 0;
	background-color: #da1f1f;
	border-left: 4px solid green;
	color: white;
	z-index: 20000;
	width: 100%;
	padding: 15px;
}

/* records-products */

.records-products {
	display: flex;
	flex-wrap: wrap;
	margin-left: -10px;
	margin-top: 20px;
}

.records-product {
	position: relative;
	width: 230px;
	margin: 10px;
	padding: 10px;
	;
	border: 1px solid #333;
}

.records-product__img {
	display: flex;
	justify-content: center;
}

.records-product__img img {
	width: 200px;
	height: 200px;
	object-fit: contain;
}

.records-product__row {
	margin-bottom: 10px;
}

.records-product__row:last-child {
	margin-bottom: unset;
}

.records-product_icons img {
	position: absolute;
	bottom: 20px;
	right: 20px;
	width: 22px;
	height: 22px;
	cursor: pointer;
}

/* append-edit-record */

.append-edit-record__append-btn {
	border: 1px solid #ccc;
	padding: 7px 14px;
	margin-top: 10px;
	display: inline-block;
	cursor: pointer;
}

/* burger */

.burger {
	padding: 10px;
	margin-right: 20px;
}

@media(min-width: 820px) {
	.burger {
		display: none;
	}
}

.burger-icon__body {
	position: relative;
	padding: 10px;
}

.burger-icon {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	padding: 10px;
	cursor: pointer;
}

.burger_active {
	width: 100vw;
	height: 100vh;
	right: unset;
	margin-right: -20px;
	position: absolute;
	top: 0;
	left: 0;
	background-color: white;

}

.burger-icon__body span,
.burger-icon__body span::after,
.burger-icon__body span::before {
	height: 2px;
	width: 24px;
	background-color: black;
	position: absolute;
	top: 50%;
	margin-top: -1px;
	left: 50%;
	margin-left: -12px;
}

.burger-icon__body span::after,
.burger-icon__body span::before {
	content: '';
	transition: 0.5s;
}

.burger-icon__body span::before {
	transform: translateY(-5px);
}

.burger-icon__body span::after {
	transform: translateY(5px);
}

.burger-icon__body_active span {
	height: 0;
}

.burger-icon__body_active span::before {
	transform: rotate(-45deg)
}

.burger-icon__body_active span::after {
	transform: rotate(45deg)
}

.burger__nav {
	margin-top: 10px;
}

.burger__nav a {
	color: black;
	font-size: 14px;
	margin-bottom: 10px;
	padding: 3px 0;
}

.burger__nav a:hover {
	opacity: .8;
}

/* popup-menu  */

.popup-menu {
	position: absolute;
	left: 0;
	top: 40px;
	padding-left: 20px;
}

/* win-modal */

.win-modal__header {
	font-size: 16px;
	font-weight: bold;
	text-align: center;
}

.win-modal__content {
	padding: 20px 0;
}



/* records-filter */

.records-filter {
	margin-bottom: 20px;
}

.records-filter__group-input select {
	max-width: 300px;
}

/* append-edit-record */

.append-edit-record {
	margin: 20px 0;
}

.append-edit-record__group-input [type="checkbox"] {
	margin-top: 15px;
}

.append-edit-record__image {
	margin: 10px;
	padding: 10px;
	border: 1px solid gray;
}

.append-edit-record__image img {
	width: 200px;
	height: 200px;
	object-fit: contain;
}

.append-edit-record__group-input .max-num-files {
	margin-top: 10px;
}

.append-edit-record__group-input select,
.append-edit-record__group-input input {
	margin-bottom: 5px;
}

.append-edit-record__images {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 15px;
}

.append-edit-record__group-input .error-input {
	margin-bottom: 5px;
}

/* records-slides */

.records-slides {
	max-width: 500px;
}
.records-slide {
	display: flex;
	align-items: center;
	height: 150px;
	margin-bottom: 10px;
}
.records-slide:last-child {
	margin-bottom: unset;
}
.records-slide__img img {
	width: 300px;
	height: 150px;
}
.records-slide__icon img {
	display: inline-block;
	width: 22px;
	height: 22px;
	margin-left: 40px;
	cursor: pointer;
}
.records-slide__group-btn {
	display: flex;
}
@media(max-width: 500px) {
	.records-slide {
		flex-direction: column;
		align-items: unset;
		height: auto;
	}
	.records-slide__group-btn {
		margin-top: 20px;
	}
	.record-slide__icon_edit {
		order: 2;
	}
	.record-slide__icon_eye,
	.record-slide__icon_edit {
		width: 25px;
	}
	.record-slide__icon_eye img {
		margin-left: unset;
	}
}

/* records-filter */

.records-filter {
	margin: 20px 0;

}

/* img-text */

.img-text * {
   box-sizing: border-box;
   margin: 0;
}
.img-text {
   font-size: 15px;
   color: var(--img-text-color-1);
   max-width: fit-content;
   margin-bottom: 20px;
}
.col-2 {
   margin-left: 10px;
}
.img-text__inner {
   display: flex;
}
.img-text__col.col-1 {
   width: 200px;
}
.img-text__col.col-2 {
   overflow-wrap: break-word;
   width: 100%;
}
.img-text__img {
   display: flex;
   justify-content: center;
   align-items: center;
   color: var(--img-text-color-2);
   height: 80%;
}
.img-text__img img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}
.img-text__header {
   margin-bottom: 2%;
}
.img-text__subheader {
   margin-bottom: 15px;
}
.img-text h2 {
   font-size: 22px;
   font-weight: 700;
}
.img-text h3 {
   font-size: 18px;
   font-weight: 400;
}
.img-text__btn {
   margin-top: 15px;
}
.img-text__btn button {
   border: none;
   padding: 10px 15px;
   color: var(--img-text-color-2);
   background-color: var(--bg-1);
   cursor: pointer;
}

@media(max-width: 600px) {
   .img-text__inner {
      flex-direction: column;
   }
   .img-text__img {
      min-height: 100px;
   }
   .img-text__col.col-1,
   .img-text__col.col-2 {
      margin: 0;
   }
   .img-text__col.col-1 {
      width: 70%;
      margin-bottom: 5%;
   }
   .img-text__col.col-2 {
      width: 100%;
   }
}

/* records-brends	*/

.records-brends {
	max-width: 600px;
	margin-top: 20px
}

.records-brend {
	display: flex;
	align-items: center;
	height: 70px;
	margin-bottom: 20px;
}

.records-brend:last-child {
	margin-bottom: unset;
}

.records-brend img {
	width: 140px;
	height: 50px;
	object-fit: contain;
}

.records-brend_img {
	padding: 10px;
	border: 1px solid #333;
	filter: grayscale(100%);
}

.records-brend_icons {
	display: flex;
	padding-left: 20px;
	cursor: pointer;
}

.records-brend_icons img {
	display: inline-block;
	width: 22px;
	height: 22px;
	margin: 10px;
}

.records-brend_name {
	display: flex;
	align-items: center;
	overflow: hidden;
	width: 180px;
	height: 100%;
	font-size: 16px;
	padding-left: 20px;
}

.records-brend_name img {
	width: 22px;
	height: 22px;
	margin-left: 20px;
	opacity: .6;
}

@media(max-width: 600px) {
	.records-brend {
		width: 100%;
		flex-direction: column;
		height: auto;
	}

	.records-brend img {
		height: auto;
	}

	.records-brend_name {
		display: flex;
		justify-content: center;
		width: 100%;
		font-size: 16px;
		margin-top: 10px;
		padding-left: 10px;
		padding-right: 20px;
	}

	.records-brend_icons {
		padding-left: unset;
	}
}

/* orders */

.orders__filter {
	display: flex;
	align-items: center;
	width: 300px;
	height: 38px;
	margin: 0 auto 20px;
}

.orders__filter input {
	height: 38px;
}

.orders__inner {
	display: flex;
	flex-wrap: wrap;
}

.orders__card {
	display: flex;
	width: 250px;
	flex-direction: column;
	margin: 10px;
	padding: 20px;
	border: 1px solid #333;
}

.orders__item {
	font-size: 15px;
	margin-bottom: 10px;
}

.orders__item:last-child {
	margin-bottom: unset;
}

.orders__item_separator {
	height: 1px;
	width: 100%;
	background-color: #333;
}

.orders__item .wait {
	display: block;
}

.orders__item select {
	height: 28px;
	border: 1px solid var(--color-1);
}

@media(max-width: 475px) {
	.orders__card {
		width: 200px;
	}
}

/* detail-order */

.detail-order__header {
	margin: 20px 0;
	font-weight: bold;
	font-size: 22px;
	text-align: center;
}

/* profile */

.profile {
	display: flex;
	justify-content: center;
	padding: 10px;
	font-size: 15px;
	width: 300px;
	padding: 10px;
	margin: auto;
}

.profile__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 280px;
}

.profile__group-input {
	margin-bottom: 20px;
	width: 100%;
}

.profile__group-input:last-child {
	margin-bottom: unset;
}

.profile__legend {
	margin-bottom: 5px;
}

.profile-input_warning {
	display: flex;
	justify-content: center;
}

.profile__warning {
	text-align: center;
	width: 260px;
	color: var(--color-1);
	border: 1px solid var(--color-1);
	padding: 10px;
	font-size: 15px;
}

.profile_btn {
	display: flex;
	justify-content: center;
	align-items: center;
	border: none;
	background-color: var(--color-1);
	height: 40px;
	width: 180px;
	color: white;
	font-size: 15px;
}

.profile__group-input--btn {
	display: flex;
	justify-content: center;
}

/* review */

.div-review {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.review {
	min-width: 300px;
	max-width: max-content;
	height: 100%;
	margin: 20px;
	border: 1px solid var(--color-5);
	border-radius: 10px;
}

.review__inner {
	margin: 20px;
}

.review__inner ol {
	padding-left: 20px;
}

.review-contacts__item {
	margin-bottom: 10px;
}

.review-contacts__item:last-child {
	margin-bottom: unset;
}

.review__header {
	font-size: 20px;
	font-family: Roboto-Bold;
	text-align: center;
	margin-bottom: 20px;
}

.review__footer a {
	display: inline-block;
	text-decoration: underline;
	color: var(--color-3);
	padding-top: 7px;
	padding-right: 20px;
}

.review__footer a:hover {
	text-decoration: none;
}

[data-sec="adm-slides"] input,
[data-sec="adm-address"] input {
	max-width: 500px;
}

/* adm-services */
.div-adm-services {
	display: flex;
	flex-wrap: wrap;
}
.adm-services {
	max-width: 400px;
	margin: 20px;
}
[data-sec="adm-about"] .adm-services {
	max-width: 900px;
}
.adm-services__inner {
	display: flex;
}
.adm-services__col-2 {
	align-self: flex-end;
}
.adm-services__img img {
	width: 250px;
	height: 250px;
	object-fit: contain;
}
.adm-services__header {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
}
.adm-services__content {
	font-size: 15px;
}
.adm-services__icons {
	width: 32px;
	height: 32px;
	padding: 5px;
	cursor: pointer;
}
.adm-services__icons img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* search */
.div-search {
	display: flex;
	flex-direction: column;
	width: 300px;
   overflow: hidden;
}
.search {
   width: 100%;
}
.search__inner {
   display: flex;
	justify-content: space-between;
   margin-top: 20px;
   height: 32px;
}
.search__input {
	flex-grow: 1;
}
.search__input input {
   width: 100%;
   height: 100%;
   color: var(--color-5);
   padding: 5px;
   font-size: 14px;
   background-color: white;
   border-top: 1px solid var(--color-1);
   border-left: 1px solid var(--color-1);
   border-bottom: 1px solid var(--color-1);
   border-right: none;
}
.search__btn button {
   width: 100%;
   height: 100%;
   color: white;
   font-size: 14px;
   background-color: var(--color-1);
	border: none;
}

/* search-clear-btn */
.search-clear-btn {
	border: none;
	text-decoration: underline;
	align-self: flex-end;
	margin-top: 5px;
	padding: 5px 0;
}