/*****
MENU
*****/
#main-header {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
	text-align: center;
}

#main-header * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

#main-menu > ul {
	display: flex;
	height: 4em;
}

#main-header li {
	list-style-type: none;
	padding: 10px;
}

#main-header li a {
	text-decoration: none;
	color: inherit;
}

#main-menu > ul > li {
	width: 100%;
	padding: 20px;
	border-top : solid 1px #ffffff66;
}

#main-menu > ul > li ul.sub-menu {
	position: absolute;
	bottom: calc(-75vh - 4em);
	left: 0;
	right: 0;
	width: 100%;
	overflow: scroll;
	max-height: 75vh;
	z-index : -1;
	transition: all 500ms ease-in-out;
}

#main-menu > ul > li ul.sub-menu.on {
	bottom: 4em;
}

#main-menu > ul > li ul.sub-menu > li[class*="icon-"] {
	float: left;
	width: 30%;
	margin: 1em 1.665%;
}

#main-menu > ul > li ul.sub-menu > li[class*="icon-"]:before {
	display: block;
	font-size: 3em;
	width: 100%;
	margin: 0 0 5px;
}

/*****
HAPPY HOUR
*****/
#spbc_happyhour_banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    height: 2em;
    line-height: 2em;
    z-index : 2;
}

.spbc_is_happyhour #main-content{
    padding-top: 2em;
}


/*****
MAIN
*****/
h1 {
    text-align: center;
}

#main-content {
    padding-bottom: 4.5em;
}

.button_wrapper {
	text-align: center;
	margin: .5em 0;
}

.button_wrapper.align-right {
	text-align: right;
}

.button_wrapper.align-left {
	text-align: left;
}

.button_wrapper > .button {
    display: inline-block;
}


/*****
slideshow
*****/
.woocommerce-products-header .spss_slideshow {
    position: absolute;
    top: 0;
    z-index: 0;
}

.home header.woocommerce-products-header {
    margin-top: calc(100vh + 2em);
}

.spss_slideshow.vertical .spss_slide-default .spss_title {
    width: calc(100% - 4em);
    max-width: calc(100% - 4em);
}

.spss_slideshow.vertical .spss_slide-default .spss_content {
    color: #fff;
    background: transparent;
    font-size: 2em;
    text-shadow: 1px 1px black;
}

.spss_slide {
    background-blend-mode: hard-light;
}

/*****
CATALOGUE
*****/
/*subcat*/
.spbci_subcategories {
    margin: 0;
    padding: 0;
}

.spbci_subcategory {
    list-style-type: none;
}

.spbci_subcategory a {
    display: block;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    margin-bottom: .5em;
}

/* product */
.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
    margin-bottom: 1em;
}

/* img */
.woocommerce img, .woocommerce-page img {
    width: 100%;
    border-radius: 10px;
}

/* price */
.price_col {
    float: left;
    margin: 10px 1%;
    width: 48%;
    text-align: center
}

.price ins {
    text-decoration: none;
}

.woocommerce ul.products li.product .price {
    font-size: 1em;
    font-weight: bold;
    margin: .5em 0;
}

/* button */
.button, .woocommerce button.button.alt {
    font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 3px;
    left: auto;
    color: #515151;
    background-color: #ebe9eb;
    border: 0;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    text-shadow: none
}

.woocommerce ul.products li.product .button, .woocommerce a.spbc_add_to_cart_btn {
    margin: 0.5em 0;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
	font-size: 1.5em;
}

/*correction position de l'icone spin*/
.spbc_add_to_cart_btn .icon-spin4:before {
    top: -18px;
    position: relative;
}

/*overlay added to cart*/
#spbc_added_to_cart {
    position: fixed;
    z-index: 5000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000aa;
    display: grid;
    font-size: 280px;
    color: #0c71c3;
}

#spbc_added_to_cart.off {
    display: none;
}

#spbc_added_to_cart > div {
    margin: auto;
}

/*pagination*/
.woocommerce nav.woocommerce-pagination ul li {
    margin: 0 6px;
    border: solid 1px #d3ced2;
}

.woocommerce nav.woocommerce-pagination ul {
    border: none;
}

/*popup attributes*/
.popup {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #000000aa;
    display: grid;
}

.popup .popup-content{
    text-align : center;
    margin-bottom : 10px;
}

.popup.off {
    display: none;
}

.popup > div{
    width: 90%;
    margin : auto;
    padding : 20px;
    background-color: #fff;
    max-height: 75vh;
    overflow: auto;
}

.popup .attributes {
    display: grid;
}

#attributes-popup select {
    padding: 5px;
    margin: .5em 0 1em;
}

/*****
CHECKOUT
*****/
.spbc_table_banner {
    padding: 10px;
    background-color: #fc5353;
    color: #fff;
    text-align: center;
    font-variant: small-caps;
    font-size: 20px;
    display: block;
}

/*****
ORDERS
*****/
li.woocommerce-order-overview__date.date, li.woocommerce-order-overview__payment-method.method {
    display: none;
}