/*
Theme Name:     Spiral Barcode
Theme URI:      
Description:    Divi child theme for barcode.
Author:         Spiral
Author URI:     http://spiral-communication.fr
Template:       Divi
Version:        20.08.07
*/


/* custom header */
header.et-l--header {
    position: fixed;
    z-index: 800;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.et-db #et-boc header.et-l--header .et_pb_section {
    padding: 0;
}

.et-db #et-boc header.et-l--header .et_pb_column .et_pb_module {
    margin: 0;
}

.et_pb_column_0_tb_header {
    min-height: 0;
}

header.et-l--header .et_pb_row {
    padding: 0 !important;
}

.et-db #et-boc header.et-l--header .et_pb_column{
    min-height: 0;
}

/* custom footer */
footer.et-l.et-l--footer {
    position: fixed;
    z-index: 800;
    bottom: 0;
    width: 100%;
}

.et-db #et-boc .et-l--footer .et_pb_column.et_pb_column_1_2 {
    width: 48% !important;
    margin-bottom: 10px;
}

div#main-content {
    padding-bottom: 90px;
}

.et-db #et-boc footer.et-l.et-l--footer .et_pb_section{
    padding : 10px 0 0 0;
}

.et-db #et-boc footer.et-l.et-l--footer #menu-section{
    transition: all 800ms ease-in-out;
    overflow: auto;
    max-height: calc(100vh - 140px);
    z-index : -1;
    left: 0;
    right: 0;
    position: absolute;
    bottom: -100vh;
}

.et-db #et-boc footer.et-l.et-l--footer #menu-section.on{
    bottom : 70px;
}

/* mode catalogue */
.spbc_is_catalog #bouton-cart {
    display: none !important;
}

.spbc_is_catalog.et-db #et-boc .et-l--footer #spbc_footer_bar .et_pb_column {
    width: 100% !important;
}

/*menu*/
.et-db #et-boc .et-l--footer .et-pb-icon {
    font-size: 60px;
    opacity: 1 !important;
} 

.et-db #et-boc .et-l--footer .et_pb_main_blurb_image{
    margin-bottom : 10px;
}

.et_pb_gutters2.et-db #et-boc .et-l--footer .et_pb_column_1_3 {
    width: 31.3333% !important;
}

.et_pb_gutters2.et-db #et-boc .et-l--footer .et_pb_column {
    margin-right: 3% !important;
}

.et_pb_gutters2.et-db #et-boc .et-l--footer .et_pb_column:last-child {
    margin-right: 0!important;
}


/* page */
h1 {
    font-variant: small-caps;
    text-align: center;
    font-size: 28px;
}

/*diapo home*/
.spet_fullscreen {
    height: calc(100vh - 75px);
}

.spet_fullscreen .et_pb_slides {
    height: calc(100vh - 75px);
}

.spet_fullscreen .et_pb_slides .et_pb_slide{
    height: calc(100vh - 75px);
}

.et_pb_slide_image, .et_pb_slide_video{
    display : block !important;
    max-width: 80%;
}

/* filtre subcats */
.et-db #et-boc .et-l .et_pb_woo_archive_list .et_pb_post {
    margin-bottom: 5px;
}

.et-db #et-boc .et-l .et_pb_woo_archive_list h2.module-title {
    text-align: center;
}

.et-db #et-boc .et-l .et_pb_woo_archive_list .et_pb_post .woo_content_column {
    width: 100%;
    text-align: center;
}

.et-db #et-boc .et-l .et_pb_woo_archive_list .et_pb_post .entry-title {
    margin: 0;
    padding: 0 !important;
}

.et-db #et-boc .et-l .et_pb_woo_archive_list .et_pb_post a {
    display: block;
    padding: 10px;
    background-color: #222;
    color: #fff;
}

/* colonnage articles */
.et-db #et-boc .et-l .et_woo_container_column.et_pb_column_1_2 {
    width: 49.25% !important;
}

.et-db #et-boc .et-l .et_pb_row{
    width: 95%;
}

.et-db #et-boc .et-l .spbc_product_item{
    text-align: center;
}

.et-db #et-boc .et-l .et_pb_wc_description{
    text-align : left;
}

.et-db #et-boc .et-l .product_title{
    font-variant: small-caps;
}

.entry-content ul{
    list-style : none;
}

.et-db #et-boc .et-l .et_pb_column .et_pb_module {
    margin-bottom: 10px;
}

/* price */
span.price {
    font-size: 1.25em;
    color: #2ea3f2;
}

li.price_col {
    float: left;
    margin-right: 2%;
    margin-bottom: 10px;
    width: 48%;
    text-align: center;
}

li.price_col:nth-child(even) {
    margin-right: 0
}

/*add to cart*/
.et-db #et-boc .et-l .spbc_add_to_cart_btn span.et-pb-icon {
    font-size: inherit;
    color: #fff;
}

.et-db #et-boc .et-l .spbc_add_to_cart_btn, .et-db #et-boc .et-l .spbc_add_to_cart_btn:hover {
    background-color: #0c71c3;
    border-color: #0c71c3;
    font-size: 32px;
    padding: 0px !important;
}

/*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;
}

/*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;
}

.et-db #et-boc .et-l .spbc_close_btn {
    margin: 0;
    line-height: 1em !important;
    padding: 0 !important;
    border: none;
    font-size: 1.5em;
}

/*pagination*/
.woocommerce nav.woocommerce-pagination ul li {
    margin-right: 10px;
    font-size: 1.25em;
    border: solid 1px #ccc;
}

.woocommerce nav.woocommerce-pagination ul {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
    padding: 5px 10px;
}

/*checkout*/
.spbc_table_banner {
    padding: 10px;
    background-color: #fc5353;
    color: #fff;
    text-align: center;
    font-variant: small-caps;
    font-size: 20px;
    display: block;
}

.woocommerce-checkout .woocommerce .et_pb_section:first-child, .woocommerce-checkout .et-l--post .et_pb_section:first-child, .woocommerce-cart .woocommerce .et_pb_section:first-child {
    padding-top: 30px;
}

li.woocommerce-order-overview__payment-method, li.woocommerce-order-overview__total{
    display : none;
}

.woocommerce-customer-details{
    display : none;
}

.woocommerce-order-details{
    margin-top : 2em;
}

.woocommerce-notice--success.woocommerce-thankyou-order-received{
    margin-bottom : 20px;
}