/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

@media screen and (max-width: 768px) {
    .mdc_add_cart_form {
        display: flex;
        flex-direction: column;
    } 

    .checkout-summary-block {
        margin-top: 50px;
    }
}

#conditions-to-approve ul li{
    margin: 20px 0px;
    font-weight: bold;
}
.mdc_cgad_table{
    width: 100%;
}
.mdc_cgad_td_right, .mdc_cgad_td_left{
    text-align: center;
}

.mdc_payment_modal{
    margin-top: 100px;
}

.mdc_product_add_to_cart {
    min-height: 50px;
}

.mdc_product_no_cart_btn .btn {
    font-size: 16px;
}

@media screen and (min-width: 992px) {
    .mdc_cgad_td_right, .mdc_cgad_td_left{
        padding: 5px;
    }
    .mdc_cgad_td_right{
        text-align: right;
    }
    .mdc_cgad_td_left{
        text-align: left;
    }
    .mdc_payment_modal{
        margin-top: 0;
    }
    
}
@media screen and (max-width :415px) {
    
    .price {
        white-space: break-spaces;
        margin-right: 0!important;
    }

    /* BEGIN - To adjust the size of the cards if rental product present */
    .mdc_product_card_article {
        height: 100%;
        display: flex;
    }

    .mdc_product_card_article .mdc_product_card {
        display: flex;
        flex-direction: column;
    }

    .mdc_product_card_article .mdc_product_card .mdc_product_card_second_box {
        flex-grow: 1;
    }
    /* END - To adjust the size of the cards if rental product present */
}
.payplugPaymentOption label {
    width: 90%;
}
.payplugPaymentOption .custom-radio {
    margin-top: .25rem;
    vertical-align: top;
}



/* MDWeb - Location mobile */
.products.product_list.grid .product_list_item {
    padding-left: 8px;
    padding-right: 7px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

div.agJsWidget {
    top: auto;
    bottom: 0;
}

article.ajax_block_product.js-product-miniature {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pro_outer_box.clearfix.home_default {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pro_second_box.pro_block_align_0 {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pro_outer_box.clearfix.home_default {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mdc_price_block {
    display: flex;
    flex-grow: 1;
    align-items: stretch;
    align-content: stretch;
    flex-direction: column;
    justify-content: center;
}

.price.mdc_product_is_rent {
    white-space: break-spaces;
}

.mdc_informations_address {
    text-align: justify;
    font-weight: bold;
    color: #FF7559;
}

li.product-flag.second-life-flag {
    background: #1EC490;
    color: #fff;
    margin-left: .375rem;
    text-transform: none;
    font-weight: 500;
    padding: 2px 8px;
}
li.product-flag.percentage-flag {
    background: #FF7559;
    color: #fff;
    right: .375rem;
    text-transform: none;
    font-weight: 500;
    border-radius: 50%;
    text-align: center;
    width: 35px;
    height: 35px;
    line-height: 35px;
    padding: 0;
    font-size: 14px;
}
.images-container li.product-flag.percentage-flag {
    margin-top: .375rem;
    right: .375rem;
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
}
.mdc_lppr_block {
    padding: 15px;
    background-color: #1ec490b5;
    border-radius: 10px;
    width: fit-content;
    margin: 30px auto 0;
}
.mdrelatedproductscart_container .payplugOneyCta_wrapper {
    display: none !important;
}
.mdc_lppr_block > p {
    margin-bottom: 8px;
    color: #fff;
    font-weight: 700;
}
.mdc_lppr_block > p span {
    color: #fff;
    font-weight: 700;
}
.mdc_lppr_block > p:last-child {
    margin-bottom: 0;
}
.mdc_lppr_block > p a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

@media screen and (max-width : 767px) {
    .product-add-to-cart.mdc_product_rent {
        display: none;
    }
}

@media screen and (min-width : 767px) {
    .product-add-to-cart.mdc_product_rent + .product-variants {
        margin-top: 70px;
    }
}

/* MDWeb - Add to cart adjustment */
@media screen and (min-width : 767px) {
    #product #add-to-cart-or-refresh {
        display: flex;
        flex-direction: column;
    }

    #product #add-to-cart-or-refresh .product-add-to-cart .mdc_qty_cart {
        justify-content: flex-end;
    }

    #product #add-to-cart-or-refresh .product-add-to-cart .mdc_qty_cart .mdc_qty_cart_buttons {
        flex-direction: row;
    }

    #product #add-to-cart-or-refresh .product-variants {
        margin-top: 0;
        padding-top: 0;
    }

    #product .oneyCta_wrapper .oneyLogo.-x3.-withoutFees,
    #cart .oneyCta_wrapper .oneyLogo.-x3.-withoutFees,
    #product .oneyCta_wrapper .oneyLogo.-x4.-withoutFees,
    #cart .oneyCta_wrapper .oneyLogo.-x4.-withoutFees {
        width: 86px;
    }
}

@media screen and (max-width : 767px) {
    #product .oneyCta_wrapper .oneyLogo.-x3.-withoutFees,
    #cart .oneyCta_wrapper .oneyLogo.-x3.-withoutFees,
    #product .oneyCta_wrapper .oneyLogo.-x4.-withoutFees,
    #cart .oneyCta_wrapper .oneyLogo.-x4.-withoutFees {
        width: 80px;
    }
}

#product .product-actions .product-add-to-cart.mdc_product_add_to_cart {
    order: 5;
}

#product .product-actions .product-additional-info {
    order: 10;
}

/* Product price style from prod */
#product .product-prices .current-price span {
    font-weight: 700;
    color: #000000;
    font-size: 28px;
}

#product .product-prices .current-price span.mdc_price_with_discount {
    color: #FF7559;
}

.mdc_offer_to {
    color: #FF7559;
}

#product .product-actions .pro_price_block {
    width: 100%;
}
#product .product-prices .current-price span.regular-price {
    font-size: 20px;
}

/* Table mobile fix scroll MDWEB */
@media screen and (max-width:992px) {
    #module-prestablog-blog #wrapper table {
        max-width: 100%;
        overflow: scroll;
        display: block;
    }
}

.mdc_text_edit {
    font-weight: 700;
    color: #ff5559;
}

/* Fix de disparition de texte du header */
#st_mega_menu_wrap .ml_level_0:hover {
    background-color: #1ec490!important;
}

/* Réduction de la hauteur du header  */
#st_mega_menu_wrap .st_mega_menu .ma_level_0  {
    padding-left: 16px;
    padding-right: 16px;
}
@media (max-width: 1199px) {
    #st_mega_menu_wrap .st_mega_menu .ma_level_0 {
        padding-left: 12px;
        padding-right: 12px;
    }
}
#st_header #header_primary #header_primary_container {
    height: 80px;
}
@media (min-width: 1200px) {
    .boxed_megamenu {
        max-height: 46px;
    }
}

.checkout-step .payment-options label + span {
    display: inline-block !important;
}

[paypal-messaging-banner] {
    margin-top: 15px;
}

/* Amélioration de la lisibilité de la page mon compte */
.my-account .myacount_dashbord_list .list-group-item > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
}
@media screen and (max-width:992px) {
    .my-account .myacount_dashbord_list .list-group-item {
        width: 100%;
    }
}
@media screen and (min-width:1200px) {
    .my-account .my_account_page_footer {
        padding-right: 70px;
    }
}
.my_account_left_column .list-group-item > a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    line-height: 19px;
}

/* Amélioration des contrastes */
body {
    color: #414141;
}
.breadcrumb_nav a {
    color: #414141!important;
}
.breadcrumb_nav a:hover {
    color: #467077!important;
}

/* Mise en cohérence de la page Espace Pro */
#module-powerfulformgenerator-display #wrapper p,
#module-powerfulformgenerator-display #wrapper ul,
#module-powerfulformgenerator-display #wrapper li,
#module-powerfulformgenerator-display #wrapper a,
#module-powerfulformgenerator-display #wrapper span,
#module-powerfulformgenerator-display #wrapper strong {
    font-family: futura-pt, sans-serif !important;
    font-size: 16px !important;
}
#module-powerfulformgenerator-display #wrapper p strong span span {
    font-size: 19px !important;
}

/* Réparation des layers Panier et Favoris */
#side_loved {
    z-index: 99999;
}
.st-menu .st-menu-header .st-menu-title {
    display: block;
    width: 100%;
}
#side_loved_block .base_list_line .line_item {
    display: flex;
    gap: 8px;
}
#side_loved_block .base_list_line .line_item .pro_column_left {
    width: 30%;
    min-width: 30%;
}
#side_loved_block .base_list_line .line_item .pro_column_right {
    width: 60%;
    min-width: 60%;
    margin-left: 0px;
}

/* Alignement des éléments de la page panier en mobile */
@media screen and (max-width: 415px) {
    .product-line-grid .price { 
        white-space: normal;
        padding: 6px 0;
    }
}

/* Problème de lisibilité de la description produit */
#anchor-desc {
    position: absolute;
    top: -160px;
}

div#agWidgetH.inline {
    position: absolute;
    right: 0;
    margin-top: 0;
    text-align: right;
}
div#agWidgetH.inline .agBt {
    justify-content: flex-end;
}
@media(max-width:991px) {
    div#agWidgetH.inline {
        right: 20px;
    }
}
@media(max-width:575px) {
    div#agWidgetH.inline {
        position: relative;
        right: auto;
    }
    div#agWidgetH.inline .agBt {
        justify-content: flex-start;
    }
}
.mdc_sticky_add_to_cart {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    padding: 15px;
    background-color: #fff;
    border: 1px solid #487078;
    max-width: 600px;
    width: 100%;
    border-radius: 8px;
    z-index: 3;
    display: none;
}
.mdc_sticky_add_to_cart > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mdc_sticky_add_to_cart > div > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mdc_sticky_add_to_cart > div > div > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 15px;
    height: 100%;
    min-height: 80px;
}
.mdc_sticky_add_to_cart .mdc_sticky_add_to_cart_button {
    width: auto;
    border-radius: 10px;
}
.mdc_sticky_add_to_cart .mdc_sticky_add_to_cart_name {
    font-size: 20px;
    font-weight: 700;
    color: #1fc390;
}
.mdc_sticky_add_to_cart .mdc_sticky_add_to_cart_price {
    font-size: 20px;
    color: #000;
}
@media(max-width: 991px) {
    .mdc_sticky_add_to_cart {
        bottom: 60px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background-color: transparent;
    }
    .mdc_sticky_add_to_cart .mdc_sticky_add_to_cart_button {
        width: calc(100% - 15px);
    }
    .mdc_sticky_add_to_cart > div {
        justify-content: center;
    }
    .mdc_sticky_add_to_cart > div > div {
        display: none;
    }
}

.products_section .products_slider .products_sldier_swiper .mini_name .s_title_block a{
    box-sizing: border-box;
}
