/**
 * @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.1.0
 */

 @import url('https://mokka-assets.fra1.digitaloceanspaces.com/fonts/rubik-and-odds.css');

/*div:empty{
    display: block;
}*/
.mokka-widget-price span{ 
    margin: calc(1.5rem/4);
}

.mokka-widget-logo svg {
    width: auto;
}

.mokka-widget {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    font-family: Rubik, Arial, sans-serif;
    line-height: 1;
    /*padding: 5px 12px;*/
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    /*padding-top: 4px;*/
    cursor: pointer;
}
.mokka-widget * {
    line-height: 1;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    cursor: pointer;
}

.mokka-widget-price {
    display: flex;
    align-content: flex-end;
    align-items: flex-end;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    margin: auto;
    margin-left: 0% !important;
  	margin-right: calc(2.5rem/2);
}
.mokka-widget-price span {
    margin-right: 4px;
}

.mokka-price-amount {
    font-weight: bold;
}
/*.mokka-widget-price strong {
    font-weight: bold;
    font-size: 110%;
    font-size: 100%;
}
*/

.mokka-widget-logo {
    margin: 5px 0;
    max-height: inherit;
    max-width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    cursor: pointer;
}
.mokka-widget-logo img {
    width: auto;
    max-height: 18px;
}

.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: 18px;
    height: auto;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.mokka-widget-popup-trigger:focus {
    border: none;
    outline: none;
}
.mokka-widget-popup-trigger img{
    height: 18px;
    width: auto;
}
/*.mokka-widget.mokka-orange,*/
.mokka-widget.mokka-orange-background {
    border: #FF5A1E solid 1px !important;
}

.mokka-widget.mokka-orange,
.mokka-widget.mokka-orange * {
    /* color: #FF5A1E !important; */
}
.mokka-widget.mokka-orange .mokka-widget-divider {
    /* background-color: #FF5A1E !important; */
}

.mokka-widget.mokka-orange-background,
.mokka-widget.mokka-orange-background * {
    color: #ffffff !important;
    background-color: #FF5A1E !important;
}
.mokka-widget.mokka-orange-background .mokka-widget-divider {
    background-color: #ffffff !important;
}

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, Arial, 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;
    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;
}
.clearfix{
    display: block;
}
.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, Arial, 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;
    margin-left: 0%;
}


ul.product_list.grid > li .product-container .content_price {
    padding-bottom: 0;
}
ul.product_list.grid > li .product-container .button-container {
    padding-bottom: 40px;
}



.mokka-banner {
    font-family: Rubik, Arial, 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 55px;
    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;
    }
}

@media all and (max-width: 424px) {
    .mokka-banner-group {
        float: initial;
    }
}
