/* POLICES */
@font-face {
    font-family: GTWalsheim;
    src: url(../fonts/GTWalsheimRegular.otf),
    url(../fonts/GTWalsheimRegular.woff);
    font-weight: normal;
}

@font-face {
    font-family: GTWalsheim;
    src: url(../fonts/GTWalsheimBold.otf),
    url(../fonts/GTWalsheimBold.woff);
    font-weight: bold;
}
@font-face {
    font-family: GTWalsheim;
    src: url(../fonts/GT-Walsheim-Medium.otf);
    font-weight: 500;
}

/* CART PAGE */
.oney-threebyfour-logo-container {
    width: 45%;
    float: left;
    margin-top: 3%;
}

.oney-threebyfour-cart-content {
    width: 55%;
    float: left;
}

.oney-threebyfour-cart-content p {
    margin-bottom: 0;
    text-align: right;
}

.oney-threebyfour-cart-content p.bold {
    font-weight: bold;
}

.oney-threebyfour-cart-button {
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    color: #81bc00;
    background: white;
    border: 1.5px solid #81bc00;
    margin-left: 5px;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 700;
    display: block;
    float: right;
    clear: right;
    margin-right: 0;
    margin-bottom: 5%;
    margin-top: 3%;
    cursor: pointer;
}
/* END CART PAGE */

/* PRODUCT PAGE SIMULATOR */
.catalog-product-view .oney-threebyfour-product-view-container {
    text-transform: uppercase;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.catalog-product-view .oney-threebyfour-product-view-container p {
    align-self: center;
    margin: auto 0;
    flex-shrink: 0;
}

.catalog-product-view .oney-threebyfour-product-view-container .bubble {
    margin: 0 0.4rem;
    align-self: center;
    flex-shrink: 0;
}

.catalog-product-view .oney-threebyfour-product-view-container .simulate-button {
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    color: #81bc00;
    background: white;
    display: flex;
    border: 1.5px solid #81bc00;
    font-weight: 100;
    margin-left: 5px;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 700;
}

.catalog-product-view .oney-threebyfour-product-view-container .simulate-button:hover,
.catalog-product-view .oney-threebyfour-product-view-container .simulate-button:active,
.cart-summary .oney-threebyfour-cart span.simulate-button:hover,
.cart-summary .oney-threebyfour-cart span.simulate-button:active {
    background-color: #81bc00;
    color: white;
    cursor: pointer;
}

#oney-threebyfour-simulator.cart-right {
    float: right;
    font-size: 15px;
}

#oney-threebyfour-simulator.cart-right img {
    max-height: 60px;
}

.cart-simulation span.title, .oney-form-list span.click_oney_popup_pedago {
    align-self: center;
}
#oney-threebyfour-simulator p.title {
    margin: 2rem 0;
    text-transform: none;
    text-decoration: underline;
    font-weight: normal;
}

#oney-threebyfour-simulator .oneyInfo div img, .cart-simulation span img, .oney-form-list span.click_oney_popup_pedago img, .catalog-product-view .open-simulation img {
    width: 30px;
}

#oney-threebyfour-simulator .oneyInfo i.info {
    display: inline-block;
    margin-left: 5px;
    color: #8cbb25 !important;
    background-color: #FFFFFF !important;
    border-width: 0px !important;
    border-radius: 20px;
    width: 23px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    height: 23px;
    padding-right: 2px;
}

#oney-threebyfour-simulator.fr .next-instalments,
#oney-threebyfour-simulator.fr .total,
#oney-threebyfour-simulator.es .next-instalments,
#oney-threebyfour-simulator.es .total {
    font-weight: bold;
}
#oney-threebyfour-simulator .footer_pedagogique {
    text-transform: initial;
    padding-top: 25px;
    font-size: 11px;
}
#oney-threebyfour-simulator .footer_pedagogique a {
    color: #81bc00;
}

#oney-threebyfour-simulator .liner {
    width: 40%;
    height: 2px;
    background: #8cbb25;
    display: inline-block;
    position: relative;
    bottom: 4px;
}
#oney-threebyfour-simulator.it .liner {
    width: 35%;
}

#oney-threebyfour-simulator .or-line {
    text-align: center;
    font-size: 17px;
    color: #8cbb25;
    margin-top: 10px;
    text-transform: uppercase;
}



#oney-threebyfour-simulator .simulation-description {
    font-weight: normal;
}

/* END PRODUCT PAGE SIMULATOR */

/* ONEY WIDGET LOADER - COMMON STYLES */
.oney-loader-content {
    text-align: center;
    background: white;
    padding: 20px;
}

.oney-loader-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #8cbb25;
    border-radius: 50%;
    animation: oney-spin 1s linear infinite;
    margin: 0 auto 10px;
}

.oney-loader-text {
    color: #54565b;
    font-weight: 500;
}

/* Fullscreen loader */
#oney-threebyfour-widget-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#oney-threebyfour-widget-loader .oney-loader-content {
    padding: 30px;
}

#oney-threebyfour-widget-loader .oney-loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #8cbb25;
    margin: 0 auto 15px;
}

#oney-threebyfour-widget-loader .oney-loader-text {
    font-size: 16px;
}

/* Checkout container loader */
.oney-threebyfour-checkout-container .oney-widget-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    background-color: white;
    border-radius: 8px;
    margin: 10px 0;
    position: relative;
    z-index: 10;
}

/* Position loader above the widget container */
.oney-threebyfour-checkout-container [data-bind*="getSimulationContainerId"] {
    position: relative;
}

.oney-threebyfour-checkout-container [data-bind*="getSimulationContainerId"] .oney-widget-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    z-index: 20;
    background-color: white;
}

.oney-threebyfour-checkout-container .oney-widget-loading .oney-loader-spinner {
    width: 30px;
    height: 30px;
}

.oney-threebyfour-checkout-container .oney-widget-loading .oney-loader-text {
    font-size: 14px;
}

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

/* ONEY BUBBLES */
.bubble {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    background: #81bc00;
    border-radius: 50%;
}

.bubble span {
    font-family: "GTWalsheim";
    font-weight: bold;
    font-size: 36px;
    color: #fff;
    text-transform: lowercase !important;
}

.bubble.small-bubble {
    width: 26px;
    height: 26px;
}

.bubble.small-bubble span {
    font-size: 16px;
}

.bubble.smallest-bubble {
    width: 20px;
    height: 20px;
}

.bubble.smallest-bubble span {
    font-size: 12px;
}
.logo-smallest-bubble {
    max-height: 28px;
    align-self: center;
    margin: 0.5rem 0 0 0.5rem;
}
/* END ONEY BUBBLES */

/* CHECKOUT PAGE ERROR HANDLER */
.nr-custom-infobox.oney {
    padding-left: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    line-height: 1.5;
    margin: 1em 0 1.5em 0;
}
.nr-custom-infobox.oney.success {
    border: 1px solid #c3e6cb;
    color: #155724;
    background: #d4edda;
}
.nr-custom-infobox.oney.warning {
    border: 1px solid #ffeeba;
    background: #fff3cd;
    color: #856404;
}
.nr-custom-infobox.oney.error {
    border: 1px solid #f5c6cb;
    background: #f8d7da;
    color: #721c24;
}
/* CHECKOUT PAGE ERROR HANDLER */

/* CHECKOUT PAGE */
.oney-threebyfour-checkout-container {
    border: 3px solid #81bc00;
    min-height: 200px;
    transition: min-height 0.3s ease;
}

.oney-threebyfour-checkout-container .content-inner {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.oney-threebyfour-checkout-container .checkout-agreements-block {
    flex: 1;
    margin-bottom: 1rem;
}

.oney-threebyfour-checkout-container .actions-toolbar {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}

.oney-threebyfour-checkout-container .content-inner .action.primary.checkout.oney {
    text-transform: uppercase;
    background-color: #fff;
    border-radius: 15px;
    color: #81bc00;
    border: 1.5px solid #81bc00;
}

.oney-threebyfour-checkout-container .content-inner .action.primary.checkout.oney:hover {
    background-color: #70a300;
    border: 1.5px solid #81bc00;
    color: #fff;
}
.oney-threebyfour-label-method .customer-label {
    margin: auto 0 auto 2rem;
}
.oney-threebyfour-label-method .bubble {
    margin: auto;
}

.oney-threebyfour-checkout-container {
    font-family: "GTWalsheim";
    color: #54565b;
}