/**
* Prestatill Stock Per Store
*
* Stock Per Store for Prestashop 1.7
*
*  @author    Laurent Baumgartner laurent@prestatill.com
*  @copyright 2017-2024 Prestatill SAS
*  @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/

#module-prestatillstockperstore-storelist .page-stores {
	width: 85%;
	margin: 0 auto
}

#module-prestatillstockperstore-storelist .page-stores .store-item {
	padding-right: 0.75rem;
	padding-left: 0.75rem
}

#module-prestatillstockperstore-storelist .page-stores .store-picture img {
	max-width: 100%
}

#module-prestatillstockperstore-storelist .page-stores .store-item-container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: distribute;
	justify-content: space-around;
	padding: 1.875rem 0
}

#module-prestatillstockperstore-storelist .page-stores .store-item-container ul {
	margin-bottom: 0;
	font-size: .9375rem
}

#module-prestatillstockperstore-storelist .page-stores .store-item-container .divide-left {
	border-left: #f6f6f6 1px solid
}

#module-prestatillstockperstore-storelist .page-stores .store-item-container .divide-left tr {
	height: 1.563rem
}

#module-prestatillstockperstore-storelist .page-stores .store-item-container .divide-left td {
	padding-left: 0.375rem
}

#module-prestatillstockperstore-storelist .page-stores .store-item-container .divide-left th {
	text-align: right
}

#module-prestatillstockperstore-storelist .page-stores .store-item-container .store-description {
	font-size: 1rem
}

#module-prestatillstockperstore-storelist .page-stores .store-item-footer {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
	justify-content: space-around;
	padding-top: 0.5rem;
	margin-top: 0.5rem
}

#module-prestatillstockperstore-storelist .page-stores .store-item-footer.divide-top {
	border-top: #f6f6f6 1px solid
}

#module-prestatillstockperstore-storelist .page-stores .store-item-footer div:first-child {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 65%;
	flex: 0 0 65%
}

#module-prestatillstockperstore-storelist .page-stores .store-item-footer i.material-icons {
	margin-right: .625rem;
	font-size: 1rem;
	color: #7a7a7a
}

#module-prestatillstockperstore-storelist .page-stores .store-item-footer li {
	margin-bottom: .625rem
}

/**
* CSS PRODUCT PAGE
*/

#product .sbs_message,
body .sbs_message {
	display: none;
}

/**
* CSS SIDEBAR
*/

.appbar {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	height: 56px;
	display: flex;
	align-content: space-between;
	background-color: lightseagreen;
	align-items: center;
	line-height: 0;
	padding: 0 4px;
	color: #212121;
}
  
.appbar-item.appbar-menu-icon {
	padding: 8px;
	cursor: pointer;
}
  
.appbar-item.appbar-title {
	margin-left: 8px;
}
  
.appbar-item.appbar-title h6 {
	font-size: inherit;
	font-weight: normal;
}
  
.appbar-offset {
	display: block;
	height: 56px;
}
  
#sidebar-right {
	display: none;
	background-color: #F8F8F8;
	box-sizing: border-box;
}

#sidebar-right .siderbar-container {
	padding: 15px;
}
  
#sidebar-right-wrapper {
	height: 100%;
	overflow-y: auto;
	padding: 0 8px;
}
  
#sidebar-right ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
  
#sidebar-right li {
	background-color: #FFF;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0px 0px 3px #eee;
	position: relative;
}

#sidebar-right li button {
	position: absolute;
    right: 10px;
    bottom: 10px;
	width: inherit;
}

#sidebar-right li h2 {
	font-size: 1rem;
}
  
#sidebar-right  li a {
	color: inherit;
}

#sidebar-right .search_cp {
	display: flex;
	margin-bottom: 20px;
}

#sidebar-right .search_cp input {
	width: 70%;
	outline: none;
	background: #FFF;
}

#sidebar-right button {
	width: 30%;
}

#sidebar-right .search_cp #localisation {
	font-size: 1.5rem;
    padding: 7px 10px;
    margin-right: 10px;
    border-radius: 4px;
    background: #FFF;
    box-shadow: 0 0 3px #ddd;
	cursor: pointer;
}

#sidebar-right .localisation_type {
	font-size: 1.5rem;
    float: right;
    position: relative;
    top: -2px;
}

#sidebar-right .switch {
	width: 50%;
    display: inline-block;
    float: left;
}

#sidebar-right .switch span {
	padding: 8px 10px;
    display: block;
    text-align: center;
    background: #FFF;
	box-shadow: 0 0 3px #eee;
	border-radius: 4px;
	margin: 0 5px;
	cursor: pointer;
}

#sidebar-right .switch.active span {
	background: #24b9d7;
	color: #FFF;
}

#product i#sbs_delivery,
#product i#sbs_pickup,
body i#sbs_delivery,
body i#sbs_pickup {
	font-size: 1.5rem;
	color: #24b9d7;
	cursor: pointer;
	top: 5px;
}

#sidebar-right .kmflag,
#sbs_product_availability .kmflag,
#sbs_product_availability_display .kmflag {
	font-size: 0.75rem;
    font-weight: normal;
    background: #24b9d7;
    color: #FFF;
    padding: 2px 5px;
    margin-left: 5px;
    border-radius: 4px;
}

#sidebar-right .kmflag.stock,
#sbs_product_availability .kmflag.stock,
#sbs_product_availability_display .kmflag.stock {
	background: #3de04a;
}

#sbs_product_availability .kmflag,
#sbs_product_availability_display .kmflag {
	font-size: 1rem;
	display: inline-block;
    float: right;
    position: relative;
    top: 3px;
}

#sbs_product_availability .kmflag.red,
#sbs_product_availability_display .kmflag.red {
	font-size: 1rem;
	background: #d73f24;
}

#sidebar-right .kmflag.red {
	background: #d73f24;
}

#sbs_product_availability .kmflag.orange,
#sbs_product_availability_display .kmflag.orange {
	font-size: 1rem;
	background: #eeac1e;
}

#sidebar-right .kmflag.orange {
	background: #eeac1e;
}

#sidebar-right .selected button {
	
}

#sidebar-right .kmflag {
	margin-left:0;
	margin-top:3px;
}

#sbs_product_availability {
	margin-bottom: 1px;
	padding: 0;
	border: 0;
	box-shadow: none;
}

#sbs_product_availability p {
	padding: 10px 15px 15px;
    border-bottom: 1px solid #eee;
    margin: 0;
}

#sbs_product_availability_footer {
	padding: 0.5rem;
    text-align: center;
	margin-bottom: 25px;
	border: 0;
	box-shadow: none;
}

#add-to-cart-or-refresh .avaspan {
	display: inline-block;
}

#sidebar-right {
	text-align: left;
	overflow-y: auto;
}

#product #add-to-cart-or-refresh .js-product-availability,
body #add-to-cart-or-refresh .js-product-availability {
	display: inline-block;
}

#product .center,
body .center {
	text-align: center;
}

#product #sbs_product_availability .mui-local_shipping,
body #sbs_product_availability .mui-local_shipping,
#cart #sbs_shipping_mode .mui-local_shipping {
	font-size: 1.5rem;
    top: 5px;
}

#cart #sbs_shipping_mode .mui-local_shipping {
	position: relative;
    line-height: 10px;
	margin-right: 10px;
}

#product #sbs_product_availability ul,
body #sbs_product_availability ul {
	margin-bottom: 0;
}

#product #sbs_product_availability li,
body #sbs_product_availability li {
	padding: 0.5rem;
}

#product #sbs_product_availability p i,
body #sbs_product_availability p i {
	margin-right: 10px;
	position: relative;
}

#product #sbs_product_availability p.disabled {
	background: #FFF;
    color: #ccc;
}

#product #sbs_product_availability p.disabled i {
	color: #ccc;
	cursor: not-allowed;
}

#sbs_product_availability .disabled .kmflag.red {
	background-color: #eee;
	color: #ccc;
}

#sbs_product_availability_display {
	background: #FFF;
}

#sbs_product_availability_display td {
	width: 50%;
	font-weight: bold;
	vertical-align: middle;
}

#sbs_product_availability_display td i {
	margin-right: 10px;
}

#sbs_product_availability_display td span {
	font-weight: initial;
}

#sidebar-right #sbs_loader  {
    background: #FFF;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 10;
    opacity: 0.8;
    display: none;
}

#sidebar-right #sbs_loader .loader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -26px;
    margin-left: -26px;
}

@-webkit-keyframes spin {
	0%   {-webkit-transform: rotate(0deg);}
	100% {-webkit-transform: rotate(360deg);}
}
@keyframes spin {
	0%   {transform: rotate(0deg);}
	100% {transform: rotate(360deg);}
}

/* CART */
#cart #sbs_shipping_mode {
	background-color: #FFF;
	margin-bottom: 15px;
	padding: 15px 20px;
	display: none;
}

#cart #sbs_shipping_mode i.material-icons {
	position: relative;
    margin-right: 10px;
    top: -1px;
}

/* 1.2.1 */
#sidebar-right .none {
	display:none;
}

[data-sidebar-main="mask"],
[data-sidebar-main="maskoff"] {
	position: fixed;
    inset: 0px;
    z-index: 2999;
    background-color: rgb(0, 0, 0);
    opacity: 0.5;
}

.spanInput {
	padding-left: 10px;
    padding-right: 10px;
}

.input-group.form-group {
	margin-left: 0px;
}

#carrier_message {
	display: none;
}

#product .add-to-cart:disabled a {
	cursor: not-allowed;
	opacity: 0.5;
}
  
@media (max-width: 767px) {
	#module-prestatillstockperstore-storelist .page-stores {
		width: 100%
	}
	#module-prestatillstockperstore-storelist .page-stores .store-item-container {
		padding: 1rem 0
	}

	#sbs_product_availability,
	#sbs_product_availability_footer {
		background: #FFF;
	}
}

@media (max-width: 575px) {
	#module-prestatillstockperstore-storelist .page-stores .store-item-container {
		display: block
	}
	#module-prestatillstockperstore-storelist .page-stores .store-item-container .divide-left {
		border-left: none
	}
	#module-prestatillstockperstore-storelist .page-stores .store-item-container .store-description a {
		margin-bottom: 0.5rem
	}
	#module-prestatillstockperstore-storelist .page-stores .store-item-container .store-description address {
		margin-bottom: 0.5rem
	}
	#module-prestatillstockperstore-storelist .page-stores .store-item-footer {
		display: block
	}
	#module-prestatillstockperstore-storelist .page-stores .store-item-footer.divide-top {
		border-top: #f6f6f6 1px solid
	}
	#module-prestatillstockperstore-storelist .page-stores .store-item-footer li {
		margin-bottom: .625rem
	}
	#module-prestatillstockperstore-storelist .page-stores .store-item-footer .card-block {
		padding: 0.75rem 0.75rem 0
	}

	#add-to-cart-or-refresh .kmflag.stock,
	#add-to-cart-or-refresh .kmflag.red,
	#add-to-cart-or-refresh .kmflag.orange {
		float: none;
		text-align: center;
		display: block;
		margin-top: 7px;
		padding: 5px;
	}

	#sidebar-right .kmflag.stock,
	#sidebar-right .kmflag.red,
	#sidebar-right .kmflag.orange {
		width: 50%;
		display: inline-block;
		text-align: center;
		border-radius: 4px 0 0 4px;
		height: 38px;
		line-height: 35px;
	}

	#sidebar-right li button {
		position: inherit;
		right: 0;
		bottom: 0;
		float: right;
		width: 50%;
		top: 3px;
		border-radius: 0 4px 4px 0;
	}
}