#auth .or {
    border-top: 1px solid #888;
    text-align: center;
    margin-top: 25px;
}

#auth .or span {
    background: #fff;
    position: relative;
    top: -14px;
    padding: 0 5px;
}

#show-password, #hide-password {
    position: absolute;
    z-index: 10;
    font-size: 20px;
    right: 10px;
    top: 13px;
    cursor: pointer;
}

#sign-in-tg-form {
	border: 1px solid #000;
	border-radius: 7px;
}

#show-password:hover, #hide-password:hover {
	color: #D21200;
	text-decoration: none;
	border-bottom: none;
}

.VkIdWebSdk__button_nwmsil {
    padding: 8px;
    height: 44px;
    width: 100%;
    border-radius: 2rem!important;
    box-sizing: border-box;
    overflow: hidden;
}

.page {
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 40px;
}

.btn-custom {
	/*background-color: #D21200;*/
	padding: 0 30px;
	line-height: 50px;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	background: #D21200;
	border: none;
	border-radius: 2rem;
}
a.btn-custom {
	background: #D21200!important;
	color: #fff!important;
	line-height: 30px;
	display: inline-block;
	text-decoration: none;
}

.btn-custom:hover {
	background: #D21200!important;
	color: #fff!important;
}
.btn-custom.orange {
	background-color: #D21200;
	color: #fff!important;
}
.btn-custom.grey, a.btn-custom.grey {
	background-color: #e2e3e8!important;
	color: #000!important;
}
.btn-custom.green {
	background-color: green!important;
	color: #fff!important;
}
.btn-custom.white {
	background-color: #fff;
	color: #000!important;
}
.btn-custom.red {
	background-color: red;
}
.btn-custom:disabled,
.btn-custom[disabled] {
	background-color: #e2e3e8;
	color: #000!important;
}
a.btn {
	margin-bottom: 15px;
	text-decoration: none;
	border-bottom: none;
}

.btn-block {
    display: block;
    width: 100%;
}

.ai-input {
    position: relative;
    height: 50px;
    background: transparent;
    border-radius: 8px;
    border: 1px solid #e5e1dc;
	/*overflow: hidden;*/
}

.ai-input.error {
	border-color: #da292a !important;
	background: #ffcece;
}

.ai-input.textarea {
	height: 125px;
	border-radius: 8px;
	overflow: hidden;
}
.ai-input label {
	position: absolute;
	left: 15px;
    top: 0;
	color: rgba(0, 0, 0, 0.7);
	z-index: 4;
	margin: 0;
	font-weight: 300;
	line-height: 51px;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}
.ai-input.center label {
	left: 50%;
	transform: translate(-50%, 0);
}

.ai-input > input:valid + label,
.ai-input > input:focus + label {
  /* targets the label when the input receives focus */
	/*color: red;*/
	font-size: 10px;
	line-height: 10px;
	top: 5px;
 }

.ai-input.center input {
	text-align: center;
}

.ai-form-messages {
	margin-bottom: 10px;
	text-align: center;
}	

.ai-error {
	color: red;
}

.ai-error ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ai-form-row label {
	white-space: normal;
}
.ai-input.filled label, .ai-input.focused label {
	font-size: 10px!important;
	line-height: 10px!important;
	top: 5px;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: none;
  -webkit-text-fill-color: #212529;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
}
.ai-input input, .ai-input textarea {
	position: relative;
	z-index: 5;
	resize: none;
	height: 60px;
    padding: 8px 15px;
    width: 100%;
    background-color: transparent;
    letter-spacing: 0.1px;
    font-size: 14px;
	border: none;
}
.address-inner .ai-input input {
	font-weight: bold;
}
.ai-input textarea {
	height: 121px;
	padding-top: 15px;
	outline: none!important;
	border: none!important;
}
.ai-input input {
    line-height: 48px;
}
.ai-input input:focus {
	border: none;
	outline: none;
}
.btn:focus {
	outline: none;
	box-shadow: none;
}
.ai-form-row {
	margin-bottom: 20px;
}
.ai-form-row.file {
    display: none;
    align-items: center;
    grid-gap: 10px;
}
.ai-form-row:last-child {
	margin-bottom: 0;
}
.ai-form-row.text {
	display: flex;
	min-height: 50px;
	align-items: center;
}
.ai-form-row.wb .wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	grid-gap: 10px;
	flex-wrap: wrap;
}
.ai-form-row.wb.readonly {
	margin-bottom: 7px;
	max-width: 500px;
}
.edit-icon {
	background: url(../images/svg/edit.svg);
	min-width: 24px;
	height: 24px;
	display: block;
	margin-top: 10px;
}
#os-order-form .edit-icon {
	min-width: 20px;
	height: 20px;
	background-size: 20px;
	margin-top: 0;
}
.ai-form-row.wb.edit .edit-icon, .ai-form-row.wb.edit .edit-hidden {
	display: none;
}
.ai-form-row.wb .buttons {
	display: none;
}
.ai-form-row.wb.edit .buttons {
	display: flex;
	grid-gap: 10px;
}
.ai-form-row.wb.edit .buttons a {
	max-height: 30px;
	color: #fff!important;
	margin-bottom: 0;
}
.ai-form-row.wb .btn-custom {
	padding-left: 15px;
	padding-right: 15px;
	border-radius: 12px;
}
.ai-form-row.wb .btn-custom.cancel {
	padding-left: 5px;
	padding-right: 5px;
}
.ai-form-row.wb.readonly .readonly-hidden {
	display: none;
}
.ai-form-row.wb.readonly .ai-input {
	border: none;
	height: auto;
}
.ai-form-row.wb.readonly .ai-input label {
	left: 0;
}
.ai-form-row.wb.readonly .ai-input input {
	padding-left: 0;
	padding-bottom: 0;
}
.ai-form-row.wb.readonly .ai-input-help {
	display: none;
}
.ai-form-row.wb.edit .ai-input-help {
	margin-top: 5px;
}
.sod_select {
}
.sod_select:before  {
}

.custom-checkbox {
	margin-top: 20px;
}
.custom-checkbox input[type="checkbox"],
.custom-checkbox input[type="radio"]  {
    display: none;
}

.custom-checkbox label label span {
    display: inline-block;
	width: 25px;
	height: 25px;
	border: 1px solid #D21200;
	border-radius: 100%;
    margin: 0;
	padding: 0;
    vertical-align: top;
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"]:checked+label span,
.custom-checkbox input[type="radio"]:checked+label span {
    background: url(../images/checkbox-checked.svg) no-repeat 50% 50%;
}

.custom-checkbox span {
    padding-left: 10px;
    display: inline-block;
    cursor: pointer;
	text-align: left;
}
.custom-checkbox .form-check-input {
	margin: 3px 0;
}

.custom-checkbox .label {
    position: relative;
	display: flex;
	font-style: normal;
	font-weight: 300;
	text-align: left;
	align-items: center;
}


.custom-checkbox-2 {
	margin-top: 16px;
}
.custom-checkbox-2 input[type="checkbox"] {
    display: none;
}
.custom-checkbox-2 label label span {
    display: inline-block;
	width: 16px;
	height: 16px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 3px;
    margin: 0;
	padding: 0;
    vertical-align: top;
    cursor: pointer;
}
.custom-checkbox-2 input[type="checkbox"]:checked+label span {
    background: #d21000 url(../images/svg/check-white.svg) no-repeat 50% 50%;
	border: none;
}
.custom-checkbox-2 span {
    padding-left: 10px;
    display: inline-block;
    cursor: pointer;
	text-align: left;
	line-height: 22px;
}
.custom-checkbox-2 .label {
    position: relative;
	display: flex;
	font-style: normal;
	font-weight: 300;
	text-align: left;
	align-items: center;
}

@media (max-width: 767.98px) {
	.ai-input {
		height: 45px;
	}
	.ai-input input, .ai-input label {
		line-height: 41px;
	}
	.ai-input label {
		left: 18px;
	}
	.ai-input.filled label, .ai-input.focused label {
		top: 2px;
	}
	.ai-form-row.text {
		min-height: 0;
	}
	.ai-input input, .ai-input textarea {
		padding-left: 18px;
		padding-right: 18px;
	}
}

.scroll-content::-webkit-scrollbar-track {
	border-radius: 10px;
	background-color: transparent
}

.scroll-content::-webkit-scrollbar {
	width: 5px;
	background-color: transparent
}

.scroll-content::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: #757575
}

textarea {
	padding: 10px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px;
}
.save-error {
	display: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}
.with-clear .clear-button {
    position: absolute;
	z-index: 10;
    right: 15px;
    top: 50%;
    margin-top: -12px;
    width: 24px;
    height: 24px;
    background: url(../images/svg/clear.svg);
    display: none;
}
.with-clear.textarea {
	position: relative;
}
.with-clear.textarea .clear-button {
    top: 10px;
    right: 10px;
    margin-top: 0;
}
.with-clear.textarea textarea {
	padding-right: 30px;
}

.variant {
	display: flex;
	margin-bottom: 7px;
	position: relative;
	align-items: center;
}
.variant-checkbox label {
	display: block;
	width: 32px;
	height: 32px;
	background-color: rgba(92,90,87,0.2);
	box-shadow: inset 0 2px 3px rgb(0 0 0 / 5%);
    transition: .2s background-color;
	border-radius: 5px;
	margin: 0 7px 0 0!important;
	padding: 0;
}
#rate-modal .variant-checkbox label {
	width: 28px;
	height: 28px;
}	
.variant-checkbox input:checked + label {
	background: #FCAA00 url(../images/check.svg) no-repeat 50% 50%;
}
.variant-checkbox-small label {
	display: block;
	width: 20px;
	height: 20px;
	border: 1px solid #D21200;
    transition: .2s background-color;
	border-radius: 5px;
	margin: 0 7px 0 0!important;
	padding: 0;
}
.variant-checkbox-small input:checked + label {
    background: url(../images/check.svg) no-repeat 50% 50%;
	border: 1px solid #D21200;
	background-size: 15px;
}
.attribute-wrapper {
	position: relative;
}
.variant-one {
	cursor: pointer;
}
.attribute-wrapper .variant-one .inner {
	display: flex;
	line-height: 20px;
}
.attribute-wrapper .variant-one .img, .variant .img {
	width: 80px;
	min-width: 80px;
}
.variant-one .img img, .variant .img img {
	padding: 0;
}
.variants.with-img {
	display: flex;
	flex-wrap: wrap;
	margin: -5px -5px;
	background: rgb(252, 252, 252);
}
@media (max-width: 1120px) {
	#product-detail-modal .product-detail-picture .inner {
		width: 400px!important;
	}
}
.variation-item {
	margin-bottom: 20px;
}
.variants.with-img .variant {
	width: 33%;
	padding: 5px;
}
@media (min-width: 1200px) {
	.variants.with-img .variant {
		width: 25%;
	}
}
@media (min-width: 1000px) {
	.product-variation-form {
		max-height: 400px;
	}
}
.variants.with-img label {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	cursor: pointer;
	border-radius: 20px;
	background: #fff;
	box-shadow: rgba(6, 5, 50, 0.12) 0px 4px 20px;
	position: relative;
}
.variants.with-img .variant.checked label::before {
	content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    padding: 1px;
    background: linear-gradient(90deg,#e95b00,#ffb900);
    border-radius: 20px;
    mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}
.variants.with-img .variant.checked .variant-checkbox {
	position: absolute;
	right: 5px!important;
	top: 5px;
	background: url(../images/svg/variant-check.svg);
	background-size: contain;
	width: 25px;
	height: 25px;
}
.variants.with-img label .img {
	padding: 10px 10px 0 10px;
	width: auto;
}
.variants.with-img label .name {
	margin: 0 10px 0 10px;
	line-height: 20px;
    overflow: hidden;
	position: relative;
	text-align: center;
	font-size: 12px;
}
.variants.with-img label .name.overflow::before {
	content: " ";
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	background: linear-gradient(to right, transparent, #fff);
	z-index: 10;
	width: 20px;
}
.variants.with-img label .variant-footer {
	border-radius: 20px;
	background-color: #f4f0eff2;
}
.variants.with-img .variant.checked  .variant-footer {
	background: linear-gradient(90deg,#e95b00,#ffb900);
}
.variants.with-img label .variant-footer .price {
	text-align: center;
	font-size: 16px;
	color: #000!important;
}
.variants.with-img .variant.checked .variant-footer .price {
	color: #fff!important;
}