div::-webkit-scrollbar {
	width: 0.2em;
}
::-webkit-scrollbar {
	width: 0.5em;
}
.sanya-aliman-copy::-webkit-scrollbar {
	width: 0.2em !important;
	font-size: 0.8rem;
}
::-webkit-scrollbar-track {
	background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
	background: #888; 
}
::-webkit-scrollbar-thumb:hover {
	background: #555; 
}




html,
body {
	height: 100%;
}

body {
	display: -ms-flexbox;
	display: flex;
	padding-right: 0 !important;
}
button {
	 white-space: nowrap;
}


input[readonly]{
  background-color:transparent !important;
}

.form-control.is-valid, .was-validated .form-control:valid{
	background-image: none !important;
}

.js-href .close {
	display:none !important;
}

.sanya-js-body {
	width:75% !important;
}

@media all and (min-width:768px) {
	.vh-md-100 {
		height: calc(100vh - 72px)!important;
	}
}

@media (min-width: 768px) {
  .w-md-100 {
     width:100% !important;
  }
}
@media (min-width: 576px) {
  .w-sm-100 {
     width:100% !important;
  }
}

@media all and (max-width:480px) {
   .btn-block-100 { width: 100%; display:block; }
}   
	@media (max-width: 768px){
	.sanya-orders.show {
		width: 100% !important;
		z-index: 5;
	}	
	.sanya-orders.show .fixed-content{
		padding-top: 56px;
	}	

	.sanya-js-body {
		width:100% !important;
		overflow: hidden;
	}


		
		
	.modal-autocomplete {
		display: flex;
		flex-direction: column;
		width: 100%;
		height: 75vh;
		top: 0;
		left: 0;
		position: fixed;
		padding: 3rem 1rem 1rem 1rem!important;
		margin: 25vh 0 !important;
		z-index: 100;
		background-color: white !important;
	}
	.modal-autocomplete::before {
		content: '';
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		width: 100vw;
		height: 100vh;
		background-color: black;
		opacity: 0.7;
		position: fixed;
		z-index: -2;
	   
	}
	.modal-autocomplete::after {
		border-top-left-radius: calc(.3rem - 1px);
		border-top-right-radius: calc(.3rem - 1px);
		content: '\d7';
		font-size: 1.5rem;
		font-weight: 700;
		line-height: 1;
		position: absolute;
		right: 0;
		top: 0;
		padding: 1rem;
		background-color: white;
		width: 100%;
		height: 100%;
		z-index: -1;
		text-align: right;
	}
	.ui-autocomplete {
		position: relative; flex-grow: 1; max-height:  100% !important;
	}
	.modal-buttons {
		position: fixed;
		bottom: 0;
		z-index: 3;
		left: 0;
		width: 100%;
		padding: .5rem 15px .5rem 15px !important;
		margin: 0!important;
		background-color: #fff!important;
		/* border-top: 1px solid #dee2e6; */
	}
	.modal-buttons button {
		/* width: 100%!important; */
	}
	.modal-filters {
		position: fixed;
		top: 0;
		z-index: 3;
		left: 0;
		width: 100%;
		padding: .5rem 15px .5rem 15px !important;
		margin: 0!important;
		background-color: #fff!important;
		/* border-bottom: 1px solid #dee2e6; */
	}
}

.js-cart-count {
	/* padding: 0.3em; */
    margin: -8px;
    top: -11px !important;
    font-size: x-small;
}

.text-truncate-2 {    
    overflow: hidden;    
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.js-content{
	border:none !important;
}

.grey {
  -webkit-filter: grayscale(100%);
   filter: grayscale(100%);
}

.notransition {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

.modal {
    padding-right: 0px !important;
}

/* @media (min-width: 1200px){
.modal-xl {
    width: 1140px;
}
} 
@media (min-width: 576px){
.modal-dialog {
    max-width: calc(100% - 3.5rem);
    margin: 1.75rem auto;
}
}*/
.embed-responsive-item-center{
	width:auto !important;
	position: absolute !important;
	left: 50% !important;
	top: 50% !important;
	-webkit-transform: translateY(-50%) translateX(-50%) !important;
}
.cover {
object-fit: cover;
}
#js-prod-carousel .close{
	mix-blend-mode: difference;
}
.carousel-control-prev, .carousel-control-next{
	mix-blend-mode: difference;
}
.carousel-item-img:after,.prod-img:after {
    content:'\A';
    position:absolute;
    width:100%; height:100%;
    top:0; left:0;
    background:rgba(0,0,0,0.06);
    opacity:1;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

pre {
    white-space: pre-wrap;
}

.fixed-content {	
    width: inherit;
	top: 0;
    bottom:0;
    position:fixed;
    overflow-y:scroll;
    overflow-x:hidden;	
}

.shy-header {
	position: fixed;
	z-index: 100;
	top: 0;
	right: 0;
	width: inherit;
	-webkit-transform: translate3d(0, 0, 0);
	-webkit-transition: all 200ms ease-out;
	transition: all 200ms ease-out;
}

.is-watching {
  -webkit-transform: translate3d(0,-100%,0);
  transform: translate3d(0,-100%,0);
}

.ui-helper-hidden-accessible {
	display: none;
}
.ui-autocomplete {
	max-height: 40vh;
	overflow-y: auto;
	overflow-x: hidden;
    /* position: relative; */
}
.ui-widget.ui-widget-content { /* 
	list-style: none;
	padding: 2px;
	margin: 0;
	display: block;
	float: left; */
	margin-top: -0.15rem;
	outline: none;
	background-color: var(--bs-light);
	border: 1px solid var(--bs-light);	
	border-bottom-left-radius: .25rem;
	border-bottom-right-radius: .25rem;
}
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
  background: var(--bs-secondary);
  border-radius: 50%;
  border: none;
  width: 1em;
  height: 1em;
}
.ui-slider {
  height: 0.5rem;
  border: none;
  background-color: var(--bs-secondary);
}
.ui-slider-horizontal .ui-slider-range {
  background: var(--bs-secondary);
}


.nav-pills{
	--bs-nav-pills-link-active-color: var(--bs-white);
    --bs-nav-pills-link-active-bg: var(--bs-secondary);
	--bs-nav-pills-border-radius:var(--bs-border-radius-xl);
	--bs-nav-link-color: var(--bs-dark);
	--bs-nav-link-hover-color: var(--bs-secondary);
}

.btn{
	--bs-btn-border-radius:var(--bs-border-radius-xl);
}

.list-group{
	--bs-list-group-active-bg: var(--bs-secondary);
	--bs-list-group-active-border-color: var(--bs-secondary);	
	--bs-list-group-border-radius: var(--bs-border-radius-xl)!important;
	/* 	
	--bs-list-group-border-color: var(--bs-secondary);
	--bs-list-group-color: #{$list-group-color};
	--bs-list-group-bg: #{$list-group-bg};
	--bs-list-group-border-color: #{$list-group-border-color};
	--bs-list-group-border-width: #{$list-group-border-width};
	--bs-list-group-border-radius: #{$list-group-border-radius};
	--bs-list-group-item-padding-x: #{$list-group-item-padding-x};
	--bs-list-group-item-padding-y: #{$list-group-item-padding-y};
	--bs-list-group-action-color: #{$list-group-action-color};
	--bs-list-group-action-hover-color: #{$list-group-action-hover-color};
	--bs-list-group-action-hover-bg: #{$list-group-hover-bg};
	--bs-list-group-action-active-color: #{$list-group-action-active-color};	
	--bs-list-group-disabled-color: #{$list-group-disabled-color};
	--bs-list-group-disabled-bg: #{$list-group-disabled-bg};
	--bs-list-group-active-color: #{$list-group-active-color};
	--bs-list-group-active-bg: #{$list-group-active-bg};
	--bs-list-group-active-border-color: #{$list-group-active-border-color};
	*/
}

#vk_community_messages {
	bottom: 50px !important;
	z-index: 90 !important;
}