input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ordering-title {
	margin-left: 15px;
}

.ordering-fieldset {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	grid-row-gap: 12px;
	margin-bottom: 50px;
}

legend.ordering-legend {
	border-bottom: none;
	margin-bottom: 0;
	padding: 0;
}

.input-wrapper {
	width: 100%;
	position: relative;
}

.placeholder {
	color: #888;
	top: 20px;
	transform: translateY(-12.5px);
	position: absolute;
	left: 12px;
	pointer-events: none;
}

.form-control:focus {
	color: #000;
}

.withholder:focus + .placeholder {
	display: none;
}

.withholder:focus + .placeholder, .withholder:not(:placeholder-shown) + .placeholder, .withholder:-webkit-autofill + .placeholder {
  	display: none;
}

.withholder.error {
    border: 1px solid red;
}

.withholder.valid {
	color: #000;
	font-weight: 500;
	background-color: #ffffff;
}

label.error {
    width: 100%;
    border: none;
    top: 105%;
    color: red;
    font-size: 12px;
}

.error + .placeholder {
	display: none;
}

.select2-label {
	width: 100%;
}

.ordering-select{
	display: none;
	visibility: hidden;
	opacity: 0;
/*	width: 100%;
	height: 40px !important;
	margin-bottom: 5px;*/
}

span.customSelect {
	z-index: 1;
	display: none;
	visibility: hidden;
	opacity: 0;
	position: absolute;
}

span.select2 {
	width: 100% !important;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	z-index: 2;
	padding: 6px 12px;
    border: 1px solid #c4c4c4;
}

.selection {
	width: 100%;
}

.select2-selection {
	display: flex;
	width: 100%;
	cursor: pointer;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	position: relative;
}

span.select2-selection__arrow {
	width: 10px;
	transition: all 0.3s;
	background: url('../../image/tmedia/Vector12.svg') no-repeat center right;
}

.select2-container--open .selection .select2-selection .select2-selection__arrow {
	transform: rotate(180deg);
	transition: all 0.3s;
}

span.select2-search {
	display: none;
	visibility: hidden;
	opacity: 0;
	padding: 10px;
}

.town-wrap span.select2-search {
	display: block;
	visibility: visible;
	opacity: 1;
	width: 100%;
}

.in_department-wrap span.select2-search {
	display: block;
	visibility: visible;
	opacity: 1;
	width: 100%;
}

.select2-search__field {
	width: inherit;
	padding: 8px 10px;
	font-size: 12px;
	line-height: 14px;
	border: 1px solid #FFE81E;
}

li.loading-results {
	display: none;
}

.select2-container {
	left: 0;
	right: 15px;
	background: #ffffff;
	border: 1px solid #B8B8B8;
	box-sizing: border-box;
	z-index: 2;
	max-height: 250px;
	overflow-y: auto;
    box-sizing: border-box;
}

.select2-results__options {
	list-style: none;
	padding: 0;
	margin: 0;
}

.select2-results__option {
	color: #000000;
	font-size: 14px;
	padding: 4px 12px;
	cursor: pointer;
}

.delivery_method .select2-container .select2-dropdown .select2-results .select2-results__option {
	padding-left: 45px;
}

.delivery_method .select2-selection__rendered {
	padding-left: 33px;
}

/*
.delivery_method .select2-container .select2-dropdown .select2-results .select2-results__option:nth-child(3)::before {
	content: "";
	position: absolute;
	top: 7px;
	left: 12px;
	width: 20px;
	height: 20px;
	background: url(/catalog/view/theme/blossom/image/0.svg) center no-repeat;
	background-size: cover;
}
*/

.select2-selection__rendered[title="Нова пошта"]::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 0px;
	width: 20px;
	height: 20px;
	background: url(/catalog/view/theme/blossom/image/0.svg) center no-repeat;
	background-size: cover;
}

.select2-selection__rendered[title="Самовивіз"]::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 0px;
	width: 20px;
	height: 20px;
	background: url(/catalog/view/theme/blossom/image/1.svg) center no-repeat;
	background-size: cover;
}

#edit-profile .select2-selection__rendered[title="Нова пошта"]::before,
#edit-profile .select2-selection__rendered[title="Самовивіз"]::before,
#register-form .select2-selection__rendered[title="Нова пошта"]::before,
#register-form .select2-selection__rendered[title="Самовивіз"]::before {
	display: none;
}

/*
.delivery_method .select2-container .select2-dropdown .select2-results .select2-results__option:nth-child(2)::before {
	content: "";
	position: absolute;
	top: 41px;
	left: 12px;
	width: 20px;
	height: 20px;
	background: url(/catalog/view/theme/blossom/image/1.svg) center no-repeat;
	background-size: cover;
}
*/

@media (max-width:300px) {
	.select2-selection__rendered[title="Нова пошта"]::after,
	.delivery_method .select2-container .select2-dropdown .select2-results .select2-results__option:nth-child(1)::after {
		display: none;
	}
}

.select2-results__option:hover {
	background: #EFEFEF;
}

.final-amount {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	grid-row-gap: 16px;
    background-color: #f2f2f2;
    height: 100%;
    padding: 30px;
    margin-top: 38px;
}

.info-text {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
}

.info-text.status-failed {
	color: red;
}

span.hr {
	width: 100%;
	height: 1px;
	border-bottom: 1px solid #5b555d;
}

.ordering-submit {
    color: #fff;
    background: #000;
    border: 1px solid #000;
}

.ordering-submit:hover {
    color: #fff;
    background: #014d4d;
    border: 1px solid #014d4d;
}

.amount-title {
	color: #000;
	font-size: 24px;
}

.info-text span {
	font-size: 12px;
}

span.black {
	color: #000;
}

.info-text span.total-sum {
	font-size: 32px;
}

.modal-content {
	padding: 15px;
	padding-top: 25px;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	transition: all 0.3s;
	justify-content: center;
	align-items: center;
	position: relative;
	max-width: 392px;
	margin: auto;
}

.modal-header {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	background: #ffffff !important;
	padding-bottom: 8px !important;
}

.modal-header span {
	text-align: center;
	font-size: 18px;
	color: #000;
	width: 100%;
}

.modal-body {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	padding-top: 0 !important;
}

.modal-body span {
	text-align: center;
	color: #000;
	width: 100%;
}

.btn-close {
	background: none;
	border: none;
	outline: none;
	position: absolute;
	top: 15px;
	right: 15px;
}

.btn-close svg {
	fill: #000;
	transition: all 0.3s;
}

.btn-close:hover svg {
	fill: #014d4d;
	transition: all 0.3s;
}

@media (max-width:480px) {
	.modal-content {
		padding: 0px;
		padding-top: 35px;
	}
}

.cart-svg {
	width: 28px;
	height: 25px;
	z-index: 1;
}

.cart-svg svg {
	fill: #000;
}

.cart-btn:hover .cart-svg svg {
	fill: #014d4d;
}

.cart-btn:hover .cart-count {
	background-color: #014d4d;
	transition: all 0.3s;
}

.cart-btn {
	position: relative;
}

.cart-count {
	position: absolute;
    right: -8px;
    top: -4px;
	color: #ffffff;
	display: flex;
	text-align: center;
	justify-content: center;
	align-items: center;
	background-color: #000;
	border-radius: 50%;
    font-weight: 600;
    font-size: 12px;
    width: 18px;
    height: 18px;
}

#cart .dropdown-menu { 
	flex-direction: column;
	flex-wrap: nowrap;
	padding: 0;
	right: -40px;
	width: 100%;
	min-width: 564px;
    text-transform: none;
}

#cart .dropdown-menu .active { 
	display: flex;
}

.cart__header {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	padding: 8px 20px;
	padding-bottom: 10px;
	position: relative;
	border-bottom: 1px solid #EFEFEF;
}

.cart__title {
	color: #000000;
	font-style: normal;
	font-weight: 600;
	font-size: 14px;
	line-height: 19px;
}

.cart__close,
.delete-cart-item,
.item__count-minus,
.item__count-plus {
	background: none;
	border: none;
	outline: none;
}

.cart__close {
	position: absolute;
	right: 10px;
	top: 0px;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.cart__close svg {
	padding: 0;
	margin: 0;
	width: 15px;
	height: 15px;
	margin: 10px;
	fill: #000;
	transition: all 0.3s;
}

.cart__close:hover svg {
	fill: #014d4d;
	transition: all 0.3s;
}

.cart__content {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	width: 100%;
	padding: 20px;
	grid-row-gap: 30px;
    overflow: auto;
    max-height: 60vh;
}

.header-cart-item {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	border: none;
	grid-column-gap: 10px;
}

.header-cart-item .cart-item__title {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    color: #3A3A3A;
    margin-bottom: 10px;
    max-width: none; 
}

.cart-item-content {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
}

.cart-item__price {
	font-style: normal;
	font-weight: 600;
	font-size: 16px;
	line-height: 22px;
	color: #00A046;
}

.cart-item__img {
    max-width: 60px;
    max-height: 80px;
    margin-right: 20px;
    object-fit: cover; 
}

.cart-item-info {
	display: flex;
	flex-direction: column;
}

.cart-item__title {
	font-style: normal;
	font-weight: 600;
	font-size: 14px;
	line-height: 19px;
    text-transform: none;
	color: #3A3A3A;
}

.counter-wrap {
	display: flex;
	justify-content: flex-start;
	flex-direction: row;
	align-items: flex-end;
	grid-column-gap: 20px;
}

.amount-title {
	font-style: normal;
	font-weight: normal;
	font-size: 12px;
	line-height: 16px;
	color: #000000;
}

.item__count {
  	display: flex;
  	align-items: center;
  	margin-top: 8px; 
  	grid-column-gap: 10px;
}

.item__count-number {
    border: 1px solid #EFEFEF;
    font-size: 12px;
    line-height: 16px;
    width: 70px;
    height: 18.56px;
    text-align: center;
    color: #000000; 
}

.item__count-minus,
.item__count-plus {
  	height: 18.56px;
}

.item__count-minus {
	background: url(/catalog/view/theme/blossom/image/tmedia/minus.svg) no-repeat center; 
}

.item__count-plus {
	background: url(/catalog/view/theme/blossom/image/tmedia/plus.svg) no-repeat center;
}

.cart-item-delete {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
}

.delete-cart-item svg {
	fill: #000;
}

.delete-cart-item:hover svg {
	fill: #014d4d;
	transition: all 0.3s;
}

.cart__footer {
	padding: 20px;
	background: #EFEFEF;
	display: flex;
	flex-direction: column;
	grid-row-gap: 20px;
}

.cart__info {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cart__info > div {
	font-style: normal;
	font-weight: 600;
	font-size: 14px;
	line-height: 19px;
	color: #000000;
    text-transform: none;
}

.pay-content__btn {
	text-align: center;
	background: #000;
	color: #ffffff;
	padding: 13px;
}

.pay-content__btn:hover {
	color: #ffffff;
	background: #014d4d;
	transition: all 0.3s;
}

.empty-cart {
	padding: 20px 0 42px 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: #000000;
    text-align: center;
}

.num-in {
	user-select: none;
}

@media (max-width: 325px) {
	.header-logo img {
		max-height: 42px;
	}
	
	.nav-container {
		margin: 7px auto;
		bottom: 0;
		top: 16px;
	}
	
	.header-right {
		width: 39%;
	}
	
	#cart .dropdown-menu {
		flex-direction: column;
		flex-wrap: nowrap;
		padding: 0;
		right: -70px;
		width: 320px;
		min-width: unset;
		text-transform: none;
	}
}

@media (min-width: 325px) and (max-width: 380px) {
	.nav-container {
		margin: 7px auto;
		bottom: 0;
		top: 19px;
	}
	
	#cart .dropdown-menu {
		flex-direction: column;
		flex-wrap: nowrap;
		padding: 0;
		right: -68px;
		width: 320px;
		min-width: unset;
		text-transform: none;
	}
}

@media (min-width: 380px) and (max-width: 900px) {
	#cart .dropdown-menu {
		flex-direction: column;
		flex-wrap: nowrap;
		padding: 0;
		right: -56px;
		width: 320px;
		min-width: unset;
		text-transform: none;
	}
}
