/**
 * @author    DSO-IT Mateusz Domin <biuro@dso.biz.pl>
 * @copyright 2020 Revo Technologies Sp. z o.o.
 * @license   See LICENSE.txt for license details.
 * @package   Mokka Payment Plugin
 * @version   2.0.0
 */

:root {
    --mokka-widget-color: #FF5A1E;
    --mokka-widget-opposing-color: #ffffff;
    --mokka-checkout-color: #FF5A1E;
    --mokka-checkout-opposing-color: #ffffff;
}

@font-face {
    font-family:odds;
    src:local("Odds Regular"),local(Odds-Regular),url(/modules/mokka/views/fonts/odds_regular.otf) format("opentype");
    font-weight:400;
    font-style:normal;
    font-display: swap;
}

@font-face {
    font-family:rubik;
    src: url('/modules/mokka/views/fonts/rubik_regular.eot?yt3vdi');
    src: url('/modules/mokka/views/fonts/rubik_regular.woff?yt3vdi') format('woff'),
    url('/modules/mokka/views/fonts/rubik_regular.woff2') format("woff2");
    font-weight:400;
    font-style:normal;
    font-display: swap;
}

@font-face {
    font-family:rubik;
    src: url('/modules/mokka/views/fonts/rubik_medium.eot?yt3vdi');
    src: url('/modules/mokka/views/fonts/rubik_medium.woff?yt3vdi') format('woff'),
    url('/modules/mokka/views/fonts/rubik_medium.woff2') format("woff2");
    font-weight:500;
    font-style:normal;
    font-display: swap;
}
@font-face {
    font-family:rubik;
    src: url('/modules/mokka/views/fonts/rubik_bold.eot?yt3vdi');
    src: url('/modules/mokka/views/fonts/rubik_bold.woff?yt3vdi') format('woff'),
    url('/modules/mokka/views/fonts/rubik_bold.woff2') format("woff2");
    font-weight:700;
    font-style:normal;
    font-display: swap;
}

/** Icons */
@font-face {
    font-family: 'mokka';
    src:  url('/modules/mokka/views/fonts/mokka.eot?yt3vdi');
    src:  url('/modules/mokka/views/fonts/mokka.eot?yt3vdi#iefix') format('embedded-opentype'),
    url('/modules/mokka/views/fonts/mokka.ttf?yt3vdi') format('truetype'),
    url('/modules/mokka/views/fonts/mokka.woff?yt3vdi') format('woff'),
    url('/modules/mokka/views/fonts/mokka.svg?yt3vdi#mokka') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.icon {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'mokka' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-logo:before {
    content: "\e900";
}
.icon-question:before {
    content: "\2b58";
}
.icon-logo-en:before {
    content: "\e901";
}
.icon-logo-pl:before {
    content: "\e902";
}
.icon-logo-ro:before {
    content: "\e903";
}

.product-prices .icon-logo:before,
.product-prices .icon-logo-pl:before,
.product-prices .icon-logo-ro:before,
.product-prices .icon-logo-en:before {
    font-size: 1.1rem;
    padding-left: 5px !important;
}
/** END Icons */

.mokka-widget {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    font-family: rubik, sans-serif;
    line-height: 1;
    width: 100%;
    max-width: 370px;
    box-sizing: border-box;
    position: relative;
    padding-top: 4px;
    cursor: pointer;

}
.mokka-widget * {
    font-family: rubik, sans-serif;
    line-height: 1;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    cursor: pointer;
    font-weight: normal;
}

.mokka-widget-price {
    display: flex;
    align-content: flex-end;
    align-items: flex-end;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    margin: auto;
}
.mokka-widget-price > span {
    margin-right: 4px;
}
.mokka-widget-price strong span {
    font-weight: bold;
    font-size: 150%;
}

.mokka-widget-logo {
    /*margin: 5px 0;*/
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    cursor: pointer;
}

.mokka-widget-divider {
    margin: 5px 6px;
    width: 1px;
    height: 18px;
}

.mokka-widget-description {
    margin: 5px 0;
    margin-right: 6px;
    /*font-size: 16px;*/
    font-weight: 200;
    white-space: nowrap;
}

.mokka-widget-popup-trigger {
    margin: 5px 0;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    box-shadow: none;
    width: 20px;
    height: 20px;
    margin: auto;
}
.mokka-widget-popup-trigger:focus {
    border: none;
    outline: none;
}

/*.mokka-widget {*/
/*    border: var(--mokka-widget-color) solid 1px;*/
/*    border-radius: 5px;*/
/*}*/
/*.products .mokka-widget {*/
/*    border: none;*/
/*}*/
.mokka-order-confirmation .icon,
.mokka-widget.mokka-orange {
    color: var(--mokka-widget-color);
}

.cart-grid-right .mokka-widget.mokka-orange,
.cart-overview .mokka-widget.mokka-orange,
.payment-options .mokka-widget.mokka-orange {
    color: var(--mokka-checkout-color);
}

.mokka-widget.mokka-orange .mokka-widget-divider {
    background-color: var(--mokka-widget-color);
}

.cart-grid-right .mokka-widget.mokka-orange .mokka-widget-divider,
.cart-overview .mokka-widget.mokka-orange .mokka-widget-divider,
.payment-options .mokka-widget.mokka-orange .mokka-widget-divider {
    background-color: var(--mokka-checkout-color);
}

.mokka-widget.mokka-orange-background {
    color: var(--mokka-widget-opposing-color);
    background-color: var(--mokka-widget-color);
}
.mokka-widget.mokka-orange-background .mokka-widget-divider {
    background-color: var(--mokka-widget-opposing-color);
}

.product-prices .mokka-widget {
    padding: 0 20px
}

p.payment_module a.mokka-payment {
    background-color: #fbfbfb;
    padding: 22px 40px 22px 99px;
}
p.payment_module a.mokka-payment:hover {
    background-color: #f6f6f6;
}
p.payment_module a.mokka-payment::after {
    display: block;
    content: "\f054";
    position: absolute;
    right: 15px;
    margin-top: -11px;
    top: 50%;
    font-family: "FontAwesome";
    font-size: 25px;
    height: 22px;
    width: 14px;
    color: #777;
}
p.payment_module a.mokka-payment img.logo-checkout {
    margin-right:15px;
    height:auto;
    width:64px;
}
p.payment_module a.mokka-payment .mokka-widget-popup-trigger img {
    height: 20px;
    width: auto;
    margin: 5px;
}

.mokka-popup {
    color: #323232;
    font-family: rubik, sans-serif;
    line-height: 1.5;
    font-weight: normal;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1000;
}
.mokka-popup.open {
    display: block;
}
.mokka-popup * {
    color: #323232;
    font-family: rubik, sans-serif;
    line-height: 1.5;
    font-weight: normal;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.mokka-popup-backdrop {
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1001;
}

.mokka-popup-modal {
    background-color: white;
    position: fixed;
    max-width: 744px;
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.9);
    padding: 14px 40px;
    padding-bottom: 32px;
    text-align: center;
    z-index: 1002;
}

.mokka-popup-close {
    position: absolute;
    top: 3px;
    right: 20px;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    font-size: 60px;
}

.mokka-popup-modal-content {
    width: 100%;
}

.mokka-popup-modal-content h3 {
    font-family: odds, sans-serif;
    font-size: 59px;
    text-transform: lowercase;
    color: #FF5A1E;
    padding: 0 20px;
    display: block;
}

.mokka-popup-advantages {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    margin-top: 30px;
}
.mokka-popup-advantages li {
    list-style: none;
    max-width: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
    flex-shrink: 0;
}
.mokka-popup-advantage-img-block {
    margin-bottom: 45px;
    max-width: 136px;
    max-height: 136px;
}
.mokka-popup-advantage-img-block img {
    max-width: 100%;
    max-height: 100%;
}


@media(max-width: 548px) {
    .mokka-widget-description {
        font-size: 80%;
    }
}
@media(max-width: 745px) {
    .mokka-popup-advantages {
        flex-wrap: wrap;
        justify-content: center;
    }
    .mokka-popup-advantages li {
        max-width: 250px;
        margin: 20px;
    }
}
@media(max-width: 678px) {
    .mokka-popup-advantages {
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
    }
    .mokka-popup-advantages li {
        max-width: 100%;
        margin: 20px 0;
    }
}
.mokka-group {
    display: flex;
    margin: 0 auto;
    align-items: center;
}

.mokka-banner {
    font-family: rubik, sans-serif;
    color: #fff;
    width: 100%;
    background: url(/modules/mokka/views/img/mokka_banner_color.jpg) no-repeat;
    background-size: cover;
    font-size: 130%;
}

.mokka-banner .mokka-banner-container {
    position: relative;
    display: block;
}
.mokka-banner .mokka-banner-container > * {
    display: inline;
}

.mokka-banner img.mokka-banner-background {
    width: 100%;
    height: auto;
    position: absolute;
}
.mokka-banner img.mokka-banner-logo {
    width: auto;
    height: 20px;
    margin-left: 10px;
}

.mokka-banner .mokka-banner-price {
    margin: auto;
    width: 50%;
    padding: 14px;
    display: inline-block;
}

.mokka-banner .mokka-banner-price .mokka-banner-divider {
    margin: -4px 6px;
    width: 1px;
    height: 22px;
    display: inherit;
    background-color: #ffffff !important;
}

.mokka-banner .mokka-banner-group {
    float: right;
    margin: auto;
    padding: 15px 14px;
    text-align: right;
    display: block;
}
.mokka-banner .mokka-banner-button {
    background: #FFD035;
    border-radius: 109.051px;
    padding: 5px 60px;
    color: #000;
    cursor: pointer;
}

@media screen and(max-width: 624px) {
    .mokka-banner .mokka-banner-group {
        padding: 15px 5px;
    }

    .mokka-banner .mokka-banner-price {
        width: auto;
        padding: 14px 5px;
    }
}

@media all and (max-width: 424px) {
    .mokka-banner-group {
        float: initial;
    }
}

.mokka-error {
    color: #cf0012;
}
/*.product-miniature .product-description,*/
/*.featured-products .product-description {*/
/*    height: 120px;*/
/*}*/
/*.featured-products .thumbnail-container,*/
/*.product-miniature .thumbnail-container {*/
/*    height: 368px;*/
/*}*/
/*.featured-products .thumbnail-container:hover .highlighted-informations,*/
/*.product-miniature .thumbnail-container:hover .highlighted-informations{*/
/*    bottom: 8.5rem !important;*/
/*}*/

/*.featured-products .thumbnail-container:hover .highlighted-informations.no-variants,*/
/*.product-miniature .thumbnail-container:hover .highlighted-informations.no-variants {*/
/*    bottom: 7.2rem !important;*/
/*}*/
.product-prices .mokka-group {
    margin-top: 19px;
}

/*.product-prices .mokka-widget-logo {*/
/*    margin: initial;*/
/*    margin-bottom: .625rem;*/
/*}*/

/*.product-prices .tax-shipping-delivery-label .mokka-widget-price {*/
/*    margin-left: 0;*/
/*}*/
/*#payment-option-3-additional-information .mokka-widget {*/
/*    margin-left: -13px;*/
/*    margin-top: -10px;*/
/*}*/