/* ===============
       GENERAL
   =============== */

/*==[utilities]==*/
.p-l-0 {
    padding-left: 0 !important;
}

.p-l-9 {
    padding-left: 9px !important;
}

.p-r-0 {
    padding-right: 0 !important;
}

.p-r-10 {
    padding-right: 10px !important;
}

.p-0 {
    padding: 0 !important;
}
.p-14 {
    padding: 0 14px;
}

.p-t-0 {
    padding-top: 0 !important;
}

.p-t-5 {
    padding-top: 5px !important;
}

.p-6 {
    padding: 6px !important;
}

.p-b-60 {
    padding-bottom: 60px !important;
}

.ml-0 {
    margin-left: 0 !important;
}

.m-l-r-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.mt-0 {
    margin-top: 0!important;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-25 {
    margin-top: 25px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}
.spacer-45 {
    height: 45px;
}

.subtitle {
    font-size: 13px;
    font-weight: 400;
}

/* ==[ checkbox START ]== */
.ckbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-weight: 400;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /*font-size: 10px;*/
}

/* Hide the browser's default checkbox */
.ckbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    margin-left: -35px;
    margin-top: -1px;
    z-index: 99999;
    /*visibility: hidden;*/ /* commenting this doesn't ruin any view, it just works as an opposite fix to pointer-events:none for iOS */
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.54);
}

.radio-label-layout {
    font-weight: normal !important;
    display: flex;
    align-items: center;
}

.radio-button-layout {
    margin-right: 12px !important;
    width: 25px;
    height: 25px;
    accent-color: rgba(121, 153, 0, .87) !important;
}

.checkmark-checked {
    background-color: rgba(121, 153, 0, .87);
    transition: border-color ease .28s;
    transition: background-color ease .28s;
    border: 2px solid rgba(121, 153, 0, .87);
}

.edit-address-btn {
    margin-left: 12px;
}

/* When the checkbox is checked, add a blue background */
.ckbox input:checked ~ .checkmark {
    background-color: rgba(121, 153, 0, .87);
    /*border-radius: 50px;*/
    transition: border-color ease .28s;
    transition: background-color ease .28s;

    border: 2px solid rgba(121, 153, 0, .87);
}

/*Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
input:checked ~ .checkmark:after {
    display: block;
}

/*Style the checkmark/indicator */
.checkmark:after {
    left: 7px;
    top: 2px;
    width: 7px;
    height: 14px;
    border: 1px solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.form-horizontal .form-group {
    margin-right: 0;
    margin-left: 0;
}
/* ==[ checkbox END ]== */

/* ==[ button ]== */
.next-btn:hover {
    border-bottom: 0;
}
a[class$="-button"]:hover {
    border-bottom: 0 !important;
}
.checkout-back-btn {
    white-space: normal;
    text-align: left;
    border-bottom: 0;
}

.checkout-back-btn:hover {
    border-bottom: 0 !important;
}

.checkout-address-btn {
    white-space: normal;
    text-align: left;
    border-bottom: 0;
}

.checkout-address-btn:hover {
    border-bottom: 0 !important;
}

.checkout-submit-btn {
    white-space: normal;
    text-align: right;
}

/* ==[ radio btn ]== */
.ckbox-radius .checkmark {
    background-color: #fff !important;
    border-radius: 50px !important;
}
.ckbox-radius .checkmark::after {
    left: 4px;
    top: 4px;
    width: 60%;
    height: 60%;
    background: rgba(121, 153, 0, .87);
    border-radius: 100%;
    border: 1px solid rgba(121, 153, 0, .87);
}

.tickbox input:checked ~ .checkmark {
    border: 2px solid rgba(121, 153, 0, .87);
    background: rgba(121, 153, 0, .87) !important;
}

.tickbox .checkmark {
    background-color: #eee !important;
}

.tickbox .checkmark::after {
    left: 7px;
    top: 2px;
    width: 7px;
    height: 14px;
    border: 1px solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    border-radius: 0;
    background: none;
}


/* ==================
   CHECKOUT SIGNUP PAGE
   ================= */
@media screen and (max-width: 768px) {

    .auth-clients .auth-client {
        float: none;
        display: flex;
        width: 100%;
        padding: 10px;
        margin: 18px 0 0 0;
        justify-content: center;
    }

    .checkout-signup-btns-container {
        display: flex;
        flex-direction: column;
    }
}

.facebook-btn {
    background: #3b5998;
    align-items: center;
    display: inline;
    padding: 5px 10px;
    color: white;
}

.google-btn {
    background: #dd4b39;
    display: inline;
    padding: 5px 10px;
    color: white;
}

.checkout-signup-btns-container {
    min-height: 100px;
}

/*container box*/
.checkout-signup-box,
/*tab navbar*/
.checkout-tab-nav,
/*active tab*/
.checkout-tab-nav > li.active > a,
.checkout-tab-nav > li.active > a:hover,
.checkout-tab-nav > li.active > a:focus {
    background-color: #f5f5f5;
}


/*container box*/
.checkout-signup-box {
    padding: 0;
    box-shadow: 0px 1px 3px rgba(0,0,0,.2);
}

/*tabs navbar*/
.checkout-tab-nav {
    border-bottom: 2px solid #779A0B;
}

/*tabs*/
.checkout-tab-nav > li > a,
.checkout-tab-nav > li > a:hover,
.checkout-tab-nav > li > a:focus,
.checkout-tab-nav > li.active > a,
.checkout-tab-nav > li.active > a:hover,
.checkout-tab-nav > li.active > a:focus {
    border-top-right-radius: 2px;
    border-top-left-radius: 2px;
    margin: 0;
    padding: 20px;
    font-weight: bold;
    font-size: 18px
}


/*tabs:hovered*/
.checkout-tab-nav > li > a:hover,
.checkout-tab-nav > li > a:focus {
    border-bottom-color: rgba(0,0,0,0);
}

.checkout-tab-nav > li {
    margin-bottom: -2px;
    width: 50%;
    text-align: center;
}

/*active tab*/
.checkout-tab-nav > li.active > a,
.checkout-tab-nav > li.active > a:hover,
.checkout-tab-nav > li.active > a:focus {
    border: 2px solid #779A0B;
    border-bottom-color: transparent;
}

/*active tab text*/
.checkout-tab-nav > li.active > a:link,
.checkout-tab-nav > li.active > a:visited,
.checkout-tab-nav > li.active > a:hover,
.checkout-tab-nav > li.active > a:focus {
    color: #779A0B;
}

/*login tab*/
.checkout-login-tab md-card {
    background: transparent;
    border: 0;
    box-shadow: none;
}
    /*inputs*/
.cartu-input {
    border: 2px solid #71984A !important;
    background-color: #F5F5F5;
    transition: all .2s ease;
    font-size: 17px;
    padding: 0 0 0 8px;
    border-radius: 0;
}
.cartu-input:focus,
.cartu-input:focus,

.cartu-input:hover,
.cartu-input:hover{
    background-color: #fbfafa;
}

    /*new client tab*/
.checkout-signup-tab #checkoutSignupForm {
    max-height: 100%;
    opacity: 1;
}

.checkout-signup-tab #checkoutSignupForm label {
    /*position: relative;*/
}

/*==[utilities]==*/
.d-flex {
    display: flex;
}

.f-j-between {
    justify-content: space-between;
}
/*green bordered tab content*/
.tab-green-border {
    border: 2px solid #779A0B;
    border-top-color: transparent;
    margin-top: -2px;
}
/*border-bottom radius for tab content*/
.tab-green-radius {
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
}

/*==[components]==*/
.green-hr {
    border-top: 2px solid #779A0B;
    width: 90%;
}

.full-w {
    width: 100% !important;
}

.green-button {
    background-color: #71984A;
    color: #fff;
}
.green-button:not([disabled]):hover,
.green-button:not([disabled]):focus {
    background-color: #89ac04;
}

.fullw-button {
    width: 100%;
    margin: 0;
    padding: 0;
}
.style-button {
    border-radius: 0;
    transition: all .2s ease;
}

/*progress bar*/
.progressbar-container {
    padding: 30px 14px 0 20px;
}

.progressbar-link {
    display: flex;
    color: #000;
    border-bottom: 0;
}

.progressbar-link:hover {
    text-decoration: none;
    border-bottom: 0;
}

.progressbar {
    list-style-type: none;
    display: flex;
    height: 100%;
    margin-bottom: 0;
    margin-right: 0;
    padding-left: 0;
}

.round-box {
    border: 2px solid #000;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px 0 0;
    position: relative;
}


.progressbar li {
    display: flex;
    flex: 1;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    padding: 0;
}

.progressbar li:not(.active) .text-box {
    opacity: .4;
}

.progressbar .row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.progress-hr {
    border-top: 2px solid #000;
    display: block;
    margin-top: 12px;
    margin-left: 11.5px;
    width: 100%;
    position: relative;
    height: 30px;
}

.progressbar li:not(:last-of-type) hr {
    width: 110%;
}

.progressbar li:not(:last-of-type) .row-box {
    position: relative;
}

.progressbar li:not(:last-of-type) .row-box::before {
    content: '\25b6';
    position: absolute;
    color: #000;
    font-size: 20px;
    top: -2%;
    right: -8%;
}

.progressbar li:last-of-type .row-box::before {
    content: '';
    width: 13px;
    height: 13px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    font-size: 20px;
    top: 9%;
    right: 0;
}

.progress-detail {
    font-size: 16px;
    font-weight: 600;
    margin-top: 2px;
}

.text-box {
    display: flex;
    justify-content: flex-start;
    position: relative;
}

.text-box::before {
    content: '\203A';
    position: absolute;
    top: 32%;
    right: -6px;
    font-size: 40px;
    transform: translate(-50%, -50%);
}

.selected-radio {
    background-color: green;
}

.progress-bar-checkout {
    background-color: #71984A;
}

.progress {
    border-radius: 0;
    height: 7px;
    margin-top: 20px;
    box-shadow: none;
}

/*active progress*/
.active .round-box::before {
    background-color: #779A0B !important;
}

.active .row-box::before {
    color: #779A0B!important;
}

/*dot icon*/
.act-last .row-box::before {
    background-color: #779A0B!important;
}

.active .progress-detail {
    /*color: #779A0B;*/
}

.active .progress-hr {
    border-top-color: #779A0B;
}

.section-completed-box {
    position: relative;
    z-index: 1;
    border-color: #779A0B;
    color: #779A0B;
}

.section-completed-box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    top: 0;
    z-index: -1;
    transform: scale(.1);
    opacity: .3;
    animation: scaleUp .3s ease;
}

.section-completed-icon::before {
    color: green;
}

.section-completed-icon::after {
    content: '';
    background: #779A0B;
    width: 10px;
    height: 10px;
    transform: scale(.1);
    position: absolute;
    right: .4%;
    top: 30%;
    opacity: .3;
    animation: scaleUp .3s .5s ease;
    border-radius: 50%;
}

@keyframes scaleUp {
    0% {
        transform: scale(0.1);
        opacity: .3;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }

}







/*responsive*/
@media screen and (max-width: 1199px) {
    .text-box {
        flex-direction: column;
    }
    .text-box::before {
        top: 40px;
        right: 0;
    }
    .progress-detail {
        margin-top: 11px;
    }
}

@media screen and (max-width: 767px) {
    /*responsive top col for delivery and billing pages*/
    .resp-top-col {
        margin-right: 15px;
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 754px) {
    /*make text smaller*/
    .progress-detail {
        font-size: 14px;
    }
}

/*mobile big changes*/
@media screen and (max-width: 525px) {
    /*make text sit underneath checkbox/number*/
    .text-box,
    .text-box a {
        flex-direction: column;
    }
    /*bigger space between checkbox/number and text*/
    .round-box {
        margin-bottom: 20px;
    }
    /*bring horizontal lines to the top*/
    .progress-hr {
        margin-top: -25px;
    }
}

@media screen and (max-width: 500px) {
    .progressbar li:not(:last-of-type) hr {
        width: 142%;
    }
}



    /* ==================
       CHECKOUT CART PAGE
       ================= */

/*reminder messages*/
#shipping-reminder-text {
    padding: 10px;
}

.package-reminder-text {
    list-style-type: none;
    margin-left: -40px;
    width: 100%;
}

.delivery-messages {
    display: inline-block;
    min-height: 60px;
}

/*cart table responsive*/
@media screen and (max-width: 767px) {

    .order-view .beforeFooter {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-end;
    }
    /*/confirmation page*/

    #checkout-products-grid-container {
        overflow-x: hidden;
    }

    #checkout-products-grid-container.kv-grid-loading .kv-loader-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.6);
        z-index: 10;
    }

    #checkout-products-grid-container.kv-grid-loading .kv-loader {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 11;
    }

    #checkout-products-grid-container > .table > tbody > tr > td:last-child {
        border-bottom: 0;
    }

    #checkout-products-grid-container > .table > tbody > tr > td:nth-child(4) div {
        margin-right: 0;
        padding-right: 0;
    }

    #checkout-products-grid-container .kv-table-footer td {
        display: flex;
        justify-content: center;
        /* these ensure that the .error-div obtained from custom html errors
        (which is NOT inside the voucherContent div and can't be put there, unfortunately :( because Angular )
        stacks vertically after the "Apply voucher" button */
        flex-direction: column;
        align-items: center;
    }

    #checkout-products-grid-container .kv-table-footer td:nth-of-type(1) {
        display: none;
    }

    #checkout-products-grid-container .kv-table-footer td:nth-of-type(2) #send-voucher {
        white-space: pre-wrap;
    }
}

@media screen and (max-width: 767px) {
    .checkout-summary-page .resp-col-top {
        margin-left: 2.5%;
        margin-right: 2.5%;
        width: 92%;
    }

    .checkout-summary-page .resp-col-btm {
        margin-left: 5%;
        margin-right: 5%;
        width: 90%;
    }
}
/*voucher row*/
/* remove borders on mobile */
@media (max-width: 767px) {
  .checkout-voucher-row th {
    border: none !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.2 !important;  
  }

  .checkout-voucher-row {
    background-color: rgba(254, 254, 212, .33);
    border: 1px solid rgba(0, 0, 0, .09);
  }
}

.checkout-voucher-row th {
    background-color: rgba(254, 254, 212, .33);
    border-top: 1px solid rgba(0,0,0,.09);
    border-bottom: 1px solid rgba(0,0,0,.09);
    vertical-align: middle !important;
}

.checkout-voucher-row th:nth-of-type(4) {
    height: auto;
    white-space: nowrap;
}

/* ==[ product table ]== */
.checkout-cart-page table,
.checkout-summary-page table {
    border: 1px solid rgba(0,0,0,.09);
    border-left: 0;
    border-right: 0;

}
.checkout-cart-page table{
    border: 1px solid rgba(0,0,0,.09);
}
.checkout-cart-page tfoot,
.checkout-summary-page tfoot {
    background-color: #FAFAFA;
}
.checkout-cart-page .kv-table-footer,
.checkout-summary-page .kv-table-footer {
    border-top: none;
}

.checkout-cart-page table.table td,
.checkout-summary-page table.table td {
    border-top: 1px solid rgba(121, 153, 0, 0.42);
}


.checkout-cart-title-wrapper {
    position: relative;
}

.checkout-cart-page table.table tfoot ,
.checkout-summary-page table.table tfoot {
    border-top: 1px solid rgba(0,0,0,.09);
}

.checkout-cart-page table.table tfoot td,
.checkout-summary-page table.table tfoot td {
    border-top: 0 !important;
}

/* ==[ typography ]== */
.checkout-cart-page h1 {
    font-size: 2.6rem;
}


.checkout-summary-page .row,
.checkout-summary-items-info .row {
    margin-left: 0;
    margin-right: 0;
}

.checkout-summary-customer-info,
.checkout-summary-items-info {
    background-color: #f5f5f5;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

@media screen and (max-width: 767px) {
    .checkout-summary-items-info-col {
        padding: 0;
        margin: 20px 0 0 0;
    }
}

.checkout-summary-items-info {
    padding-bottom: 40px;
}

.cart-item-total {
    text-align: right;
}

/*cart item*/
.cart-item {
    margin-top: 15px;
}

.cart-item-image {
    min-height: 80px;
}

.cart-item-image a {
    min-height: 80px;
    background: transparent;
    border: 0 ;
}

.cart-item-image img {
    max-height: 80px;
    min-height: 80px;
    object-fit: cover;
}

/* ======================
   CHECKOUT CART PAGE
   ===================== */

#send-voucher {
    border: 0;
    margin: 0;
}

.field-product-quantity {
    display: inline-flex;
    align-items: stretch;
    justify-content: center;
    width: auto;
    margin: 0 auto;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    overflow: hidden;
}

.qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: #fafafa;
    color: #333;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    flex-shrink: 0;
    transition: background-color 0.15s ease;
}

.qty-btn:active {
    background: #e8e8e8;
}

.qty-minus {
    border-right: 1px solid #d5d5d5;
}

.qty-plus {
    border-left: 1px solid #d5d5d5;
}

.field-product-quantity .form-control {
    width: 46px;
    height: 40px;
    text-align: center;
    border: none;
    border-radius: 0;
    padding: 0;
    top: 0;
    font-size: 15px;
    font-weight: 600;
    background: #fff;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    box-shadow: none;
}

.field-product-quantity .form-control:focus {
    outline: none;
    box-shadow: none;
}

.field-product-quantity .form-control::-webkit-inner-spin-button,
.field-product-quantity .form-control::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#checkoutvoucherform-code {
    width: 30%;
}

.containerVoucher {
    flex-wrap: wrap;
}

.containerVoucher > div {
    display: flex;
    flex-basis: 100%;
}

@media screen and (max-width: 767px) {
    #checkoutvoucherform-code {
        width: 100%;
    }

    .error-div {
        width: 100%;
    }

    #send-voucher {
        width: 100%;
        left: 0;
    }
}

.checkout-cart-page .row {
    margin-left: 0;
    margin-right: 0;
}

.checkout-cart-title {
    font-size: 14px;
}

.checkout-cart-subtitle {
    font-size: 12px;
}

/* ======================
   CHECKOUT DELIVERY PAGE
   ===================== */

/*dropdowns custom*/
.checkout-delivery-page #country-dropdown,
.checkout-delivery-page #counties-dropdown,
.checkout-delivery-page #checkoutaddressform-id_city,
.checkout-billing-page #checkoutcompanyform-id_partner,
.checkout-billing-page #country-dropdown,
.checkout-billing-page #counties-dropdown,
.checkout-billing-page #checkoutbillingaddress-id_city,
.dep-drop-city-id {
    border: 2px solid #71984A !important;
    background-color: #F5F5F5;
    transition: all .2s ease;
    font-size: 17px;
    padding: 3px 6px;
}

.checkout-delivery-page .nav.nav-tabs li.active a,
.checkout-delivery-page .nav.nav-tabs li.active a:hover,
.checkout-delivery-page .nav.nav-tabs li.active a:focus {
    background-color: #f5f5f5 !important;
}

.checkout-delivery-page {
    background-color: #f5f5f5;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    height: 100%;
}

.checkout-delivery-page .nav {
    /*padding-left: 3px;*/
}

.checkout-delivery-page .tab-content {
    /*border-left: 1px solid #DDD;*/
    /*margin-left: 0;*/
    /*border-bottom: 1px solid #DDD;*/
    /*border-right: 1px solid #DDD;*/
}

.checkout-delivery-page .tab-pane .container {
    padding: 0;
    max-width: 100%;
    height: 100%;
}

.checkout-delivery-page .tab-pane .container form {
    padding: 20px 0;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.checkout-delivery-page input,
.checkout-delivery-page input[aria-invalid="true"],
.checkout-delivery-page select,
.checkout-delivery-page select[aria-invalid="true"],

.checkout-signup-page input,
.checkout-signup-page input[aria-invalid="true"],
.checkout-signup-page select,
.checkout-signup-page select[aria-invalid="true"],

.checkout-billing-page input,
.checkout-billing-page input[aria-invalid="true"],
.checkout-billing-page select,
.checkout-billing-page select[aria-invalid="true"],


.checkout-summary-page textarea
{
    border: 0;
    box-shadow: none !important;
    border-bottom: 1px solid #71984A;
    border-radius: 0;
}

.checkout-delivery-page input:focus,
.checkout-delivery-page select[aria-invalid="false"]:focus,
.checkout-delivery-page input[aria-invalid="true"]:focus,
.checkout-delivery-page select[aria-invalid="true"]:focus,

.checkout-billing-page input:focus,
.checkout-billing-page select[aria-invalid="false"]:focus,
.checkout-billing-page input[aria-invalid="true"]:focus,
.checkout-billing-page select[aria-invalid="true"]:focus,

.checkout-summary-page textarea:focus
{
    box-shadow: none !important;
}

.checkout-delivery-page .delivery-info-row {
    padding: 0 24px;
}

.checkout-delivery-page .delivery-payment-row .form-group{
    margin: 22px 8px 20px;
}

.checkout-delivery-page .store-delivery-row {
    padding: 0 10px;
}

.checkout-delivery-page .store-delivery-row label {
    font-weight: 400;
}

.checkout-delivery-page #checkoutdeliveryform-shippingmethodid label {
    display: flex;
    align-items: center;
    position: relative;
}

.checkout-delivery-page #checkoutdeliveryform-shippingmethodid label .checkmark {
    top: 3px;
    left: -35px;
}

    /* ==[ typography ]== */
.checkout-delivery-page h1,
.checkout-delivery-page h2 {
    font-size: 2.6rem;
}

/* ======================
   CHECKOUT BILLING PAGE
   ===================== */

.checkout-billing-page {
    background-color: #f5f5f5;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.checkout-billing-page form {
    padding-top: 20px;
}

.checkout-billing-page .billing-info-row {
    padding: 0 30px;
}

.checkout-billing-page .field-checkoutpaymentmethodform-paymentmethodid {
    padding: 20px 30px;
}

.checkout-billing-page #checkoutpaymentmethodform-paymentmethodid {
    display: flex;
    justify-content: space-around;
    background: #F8F8F8;
    padding: 40px 0;
    box-shadow: inset 0 1px 8px 0 rgba(0,0,0,.1), inset 0 3px 4px 0 rgba(0,0,0,.07), inset 0 3px 3px -2px rgba(0,0,0,.06);
}

.checkout-billing-page .paymentImages {
    flex-direction: column;
    flex-flow: row wrap;
}

.checkout-billing-page .paymentImages span {
    width: 50%;
    margin: 1px;
}


.checkout-billing-page #checkoutpaymentmethodform-paymentmethodid label {
    display: flex;
    flex: 1;
    justify-content: center;
}

.checkout-billing-page #checkoutpaymentmethodform-paymentmethodid label input {
    margin-right: 10px;
}

.checkout-billing-page #checkoutpaymentmethodform-paymentmethodid label:nth-of-type(2n) {
    border-right: 1px solid #eee;
    border-left: 1px solid #eee;
}

.checkout-billing-page .pay-method-row {
    display: flex;
}

.checkout-billing-page .pay-method-row div {
    margin-left: 10px;
}

.checkout-billing-page .pay-method-row div label {
    display: block !important;
    text-align: left;
    margin-left: 10px;
}

/*payment methods radio buttons START*/

.pay-method-row {
    position: relative;
}

.pay-method-row:not(:last-of-type)::after {
    content: ' ';
    width: 0;
    position: absolute;
    right: 0;
    top: 0;
    border-left: 1px solid rgba(0,0,0,.09);
    border-right: 1px solid rgba(255,255,255,.85);
    height: 90%;
}

.pay-method-row input[type="radio"] {
    opacity: 0;
}

.text-c {
    width: 100%;
}

.pay-method-row .text-c {
    position: relative;
    z-index: 1;
    transition: all .3s ease;
}

.disabledRadio {
    opacity: .5;
}

.disabledRadio::before {
    border-color: #aaa !important;
}

.pay-method-row .text-c label:hover {
    cursor: pointer;
}

.pay-method-row .text-c:hover::before {
    cursor: pointer;
}

.pay-method-row .text-c label {
    margin-top: 4px;
    padding-left: 27px;
    margin-left: -20px !important;
}

.pay-method-row .text-c::before,
.pay-method-row .text-c::after {
    position: absolute;
}

.pay-method-row .text-c::before:hover,
.pay-method-row .text-c::after:hover {
    cursor: pointer;
}

.pay-method-row .text-c::before {
    content: "";
    display: inline-block;
    height: 23px;
    width: 23px;
    border: 2px solid #727272;
    border-radius: 100%;
    left: -22px;
    top: 3px;
    position: absolute;
    z-index: -1;
    transition: all .2s ease;
}

.pay-method-row .text-c::after {
    left: -14px;
    top: 6px;
    width: 7px;
    height: 14px;
    border: 1px solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    background: none;
    border-radius: 0;
}

.pay-method-row input[type="radio"] + .text-c::after {
    content: none;
}

.pay-method-row:not(:last-of-type) input[type="radio"]:checked + .text-c::after {
    content: "";
    /*animation: smalltobig1 .1s forwards;*/
    transform-origin: center;
}

.pay-method-row:last-of-type .text-c::after {
    left: -14px;
}

.pay-method-row:last-of-type input[type="radio"]:checked + .text-c::after {
    content: "";
    /*animation: smalltobig2 .1s forwards;*/
    transform-origin: center;
}

@keyframes smalltobig1 {
    0% {
        width: 3px;
        height: 3px;
        left: -0.83em;
        top: 0.9em;
    }
    100% {
        width: 13px;
        height: 13px;
        left: -1.13em;
        top: 0.5em;
    }
}

@keyframes smalltobig2 {
    0% {
        width: 3px;
        height: 3px;
        left: -0.83em;
        top: 0.9em;
    }
    100% {
        width: 13px;
        height: 13px;
        left: -1.1em;
        top: 0.5em;
    }
}

.pay-method-row input[type="radio"]:checked + .text-c::before {
    border: 2px solid #71984A;
    background-color: #71984A;
}


/*.pay-method-row input[type="radio"]:focus + .text-c::before {*/
    /*outline: rgb(59, 153, 252) auto 5px;*/
/*}*/
/*payment methods radio buttons END*/


/*responsiveness*/

@media screen and (max-width: 1199px) {
    .checkout-billing-page #checkoutpaymentmethodform-paymentmethodid {
        flex-direction: column;
    }

    .checkout-billing-page .pay-method-row {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .checkout-billing-page .pay-method-row:not(:first-of-type) {
        border-top: 1px solid #dedede;
    }

    .checkout-billing-page .pay-method-row:not(:last-of-type)::after {
        content: none;
    }
}

/* ==[ typography ]== */
.checkout-billing-page h1,
.checkout-billing-page h2 {
    font-size: 2.6rem;
}

.checkout-billing-page #checkoutbillingform-addressid label,
.checkout-billing-page #checkoutpaymentmethodform-paymentmethodid label,
.checkout-delivery-page #checkoutshippingform-addressid label,
.checkout-delivery-page #checkoutdeliveryform-shippingmethodid label {
    font-weight: 400;
}

/* ======================
   CHECKOUT SUMMARY PAGE
   ===================== */

@media screen and (max-width: 767px) {
    .checkout-summary-page .progressbar {
        margin-right: 2.5%;
    }

    .checkout-summary-page .resp-col-top {
        width: 95%;
        padding-left: 0;
    }

    .checkout-summary-page .resp-col-btm {
        width:  95%;
        margin-left: 2.5%;
    }
}

/*giftwrap options*/
#giftwrap-options {
    padding-left: 35px;
}

#dynamicmodel-giftwrap_together {
    display: flex;
    flex-flow: row wrap;
}

#dynamicmodel-giftwrap_together label:not(:last-of-type) {
    margin-right: 20px;
}

.checkout-summary-voucher {
    padding: 10px 0 0;
    margin-bottom: -20px;
    border-bottom: 1px dotted rgba(0,0,0,.09);
}

.prices-summary-row {
    padding: 20px 0;
}

.font-weight-bold {
    font-weight: 700;
}

.prices-summary-row hr {
    margin: 4px;
}

.checkout-summary-page table.table {
    margin-bottom: 0;
    border-right: 1px solid rgba(0,0,0,.09);
    border-left: 1px solid rgba(0,0,0,.09);
}

.checkout-summary-page .image-product-column {
    padding-left: 15px;
}

.checkout-summary-page .delivery-info-row {
    margin-top: 20px;
    background: #FAFAFA;
    margin-left: 0;
    margin-right: 0;
    box-shadow: inset 0 1px 8px 0 rgba(0,0,0,.1), inset 0 3px 4px 0 rgba(0,0,0,.07), inset 0 3px 3px -2px rgba(0,0,0,.06);
    display: flex;
    justify-content: space-around;
    padding: 0 0 22px;
}

.checkout-summary-page .delivery-info-row .inner {
    background: #fff;
    padding: 0 30px 20px;
    margin-top: 20px;
    border: 1px solid #DDDDDD;
}

.checkout-summary-page .options-row {
    padding: 22px 0;
}

.checkout-summary-page textarea {
    resize: none;
    height: 120px;
    min-height: 120px;
}

/* ==[ typography ]== */
.checkout-summary-page h1,
.checkout-summary-page h2 {
    font-size: 2.6rem;
}

/* == [ recommended products row ] == */
.recommended-row {
    background: #b2ebf2;
}

.recommended-row h4 {
    text-align: left;
    padding: 20px 0 15px 10px;
}

.recommended-row .cartu-grid-tile {
    height: 300px;
}

.recommended-row .productGridContainer {
    max-width: 100%;
}

.recommended-row .productPrice {
    font-size: 1.95rem;
}

.recommended-row .productStock {
    font-size: 10px;
}

@media screen and (max-width: 991px) {
    .recommended-row .productGridContainer {
        margin: 70px auto 0;
    }
}

.voucher-highlight-messages div p {
    color: #799900;
}

.voucher-highlight-messages .col-md-6 {
    padding: 10px;
}

@media screen and (max-width: 991px) {
    .voucher-highlight-messages {
        margin-top: 50px;
    }
}

.voucher-generator-promise-messages :is(div, p) {
    color: #4a5c00;
}

.voucher-generator-promise-messages div {
    background-color: #d4f1c9;
}

.voucher-generator-promise-messages .col-md-6 {
    padding: 10px;
}

.error-div {
    color: #954b45;
}

@media screen and (max-width: 991px) {
    .voucher-generator-promise-messages {
        margin-top: 50px;
    }
}

@media screen and (max-width: 991px) {
    .error-div {
        text-wrap: auto;
        text-align: left;

    }
}
