.dhp_container {
    margin: 25px 10px 15px;
    position: relative;
    padding: 25px 10px 15px;
    border: 1px solid #ddd;
    clear: both;
    /*background-color: rgba(255,255,255,1);*/
}

#payment .dhp_container {
    margin-top: 100px;
}

#order_review.no-payments .wc_payment_methods,
#dhp-order-review.no-payments .wc_payment_methods,
#dhp-wrapper.embexp .wc_payment_methods {
    display: none;
}

#dhp-wrapper.embexp {
    border: 1px solid #eee;
    padding: 5px;
}

#order_review.no-payments #place_order,
#dhp-order-review.no-payments #place_order {
    display: none;
}

.dhp_container>label {
    position: absolute;
    top: -12px;
    left: 10px;
    /*background-color: #fff;*/
}

.dhp_container .dhp_checkout {
    display: flex;
    width: 100%;
}

.dhp_container .dhp_checkout>div {
    width: 50%;
    max-width: 335px;
    text-align: center;
    margin: 15px auto 15px;
    padding: 0px;
}

.dhp_container .dhp_checkout>div:nth-child(2n){
    margin: 15px 0px 15px 5px;
}

.dhp_container .dhp_checkout a {
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #ddd;
    /*background-color: rgba(255,255,255,1);*/
    display: block;
    padding: 10px 0px;
}

.dhp_container .dhp_checkout a:hover {
    /*background-color: rgba(200,200,200,0.8);*/
}

.dhp_container .dhp_checkout .dhp_ebch a {
    background-color: rgba(7,70,96,1);
    border: 1px solid rgba(7,70,96,1);
    color: #fff;
}

.dhp_container .dhp_checkout .dhp_ebch a:hover {
    background-color: rgba(7,70,96,1);
    border: 1px solid rgba(0,0,0,1);
}

.dhp_container .dhp_checkout .dhp_exch a {
    background-color: rgba(13,230,149,1);
    border: 1px solid rgba(13,230,149,1);
    color: #fff;
}

.dhp_container .dhp_checkout .dhp_exch a:hover {
    background-color: rgba(13,230,149,1);
    border: 1px solid rgba(0,0,0,1);
}

.dhp_checkout_logo {
    text-align: center;
}

.dhp_checkout_logo img {
    width: 600px;
    max-width: 100%;
    margin: auto;
}

.dhp_footer_logo {
    text-align: center;
    padding: 15px;
}

.dhp_footer_logo img {
    max-height: 100px;
    max-width: 100%;
    margin: auto;
    width: auto;
}

.woocommerce-checkout #customer_details {
    padding-bottom: 25px;
}

.woocommerce-checkout.dhp-exp #customer_details {
    display: none;
}

.dhp-hide {
    display: none;
}

.dhp-checkout-tab {
    display: flex;
    margin-bottom: 25px;
}

.dhp-checkout-tab>div {
    flex: auto;
    border: 1px solid #e8e8e8;
    text-align: center;
    padding: 10px 10px;
    background-repeat: no-repeat;
    background-size: 95% 95%;
    background-position: center center;
    height: 50px;
    cursor: pointer;
}

.dhp-checkout-tab>div:hover {
    border-top: 1px solid rgb(150,150,150);
}

.dhp-checkout-tab>div.active {
    border-top: 1px solid rgb(150,150,150);
    border-bottom: 1px solid rgb(255,255,255);
    font-weight: bold;
    color: #000;
}

#dhp-embed .dhp-logo {
    text-align: center;
    width: auto;
    margin: auto;
}

#dhp-embed .dhp-logo img {
    width: auto;
    margin: auto;
}

#dhp-others {
    display: none;
}
.loader .loader-inner {
    position: fixed;
    left:0;
    top:0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.loader {
    display: none;
    opacity: 0;
}
@media (max-width: 375px) {
    .dhp_container .dhp_checkout {
        display: inherit;
    }

    .dhp_container .dhp_checkout>div {
        width: auto;
        margin: 15px 5px 15px 5px;
    }

    .dhp_container .dhp_checkout>div:nth-child(2n) {
        margin: 15px 5px 15px 5px;
    }
}

/*Dintero express checkout*/

.actions a.button.dintero-express-checkout {
    border: none;
    padding: 0;
    border-radius: 30px;
    width: 142px;
    height: 44px;
    margin: 0 0 0 30px;
    background-repeat: no-repeat;
    background-color: #03435d;
    background-position: center;
    float: right;
    background-size: 150px;
}

.actions a.button.dintero-express-checkout img {
    width: 230px;
}
.actions a.button.dintero-express-checkout:hover {
    background-color: #03435d;
}

.actions a.button.dintero-express-checkout.light{
    border: 1px solid #00ff80;
    padding: 0;
    border-radius: 30px;
    width: 142px;
    height: 44px;
    margin: 0 0 0 30px;
    background-repeat: no-repeat;
    background-color: #ffffff;
    background-position: center;
    float: right;
    background-size: 122px;
}
.actions a.button.dintero-express-checkout.light:hover{
    border: 1px solid #00ff80;
    background-color: #ffffff;
}

@media (max-width: 768px){
    .actions a.button.dintero-express-checkout{
        display: inline-block !important;
        width: auto !important;
    }
}
@media (max-width: 375px){
    .actions a.button.dintero-express-checkout{margin-top: 10px;}
}
form.checkout.woocommerce-checkout.dhp-exp {
    display: block;
    width: 100%;
}

form.checkout.woocommerce-checkout.dhp-exp {}

#dhp-wrapper.embexp {
    width: 60%;
    float: left;
    display: inline-block;
    margin: 0;
    border: none;
}

.dhp-exp div#order_review.woocommerce-checkout-review-order {
    display: inline-block;
    width: 40%;
}




@media (max-width: 768px){
  
  #dhp-wrapper.embexp {
      width: 100%;
  }

  .dhp-exp div#order_review.woocommerce-checkout-review-order,
  div#order_review.woocommerce-checkout-review-order {
      width: 100%;
  }
    
}


@media (max-width: 375px){
  #dhp-wrapper.embexp {
      width: 100%;
  }

  div#order_review.woocommerce-checkout-review-order {
      width: 100%;
  }
}

.dintero-modal {
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 1s;
    padding: 20px;
}
.dintero-modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    max-width: 600px; /* Could be more or less, depending on screen size */
    text-align: center;
}

.checkout-box-dintero {
    /*min-height: 100%;*/
    box-sizing: border-box;
    -webkit-box-pack: center;
    justify-content: center;
    align-items: flex-start;
    font-family: Graphik, HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    display: flex;
    padding: 0px;
}

.checkout-box-dintero .dhp-noshipping {
    height: auto;
    box-shadow: none;
    width: 480px;
    display: flex;
    flex-direction: column;
    color: rgba(1, 58, 82, 0.93);
    background: transparent;
    border-radius: 5px;
    overflow: visible;
}

.checkout-box-dintero .dhp-noshipping h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0px;
}


.checkout-box-dintero .dhp-noshipping label {
    margin-top: 8px;
    font-size: 0.8rem;
}

.checkout-box-dintero .dhp-noshipping .shipping-postcode-element {
    display: flex;
    flex-direction: column;
    font-size: 0.875rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 2px;
    position: relative;
    margin: 22px 0px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(238, 238, 238);
    border-image: initial;
    border-radius: 5px;
    background: rgb(255, 255, 255);
    transition: all 200ms ease-out 0s;
    padding: 20px 22px;
}


.checkout-box-dintero .post-code-wrapper {
    -webkit-box-flex: 2.5;
    margin-left: 5px;
    flex: 2.5 1 0%;
}


.checkout-box-dintero .inner-wrapper-input-postcode {
    margin-top: 15px;
    margin-right: 0px;
    margin-left: 0px;
    -webkit-box-flex: 1;
    flex: 1 1 0%;
    color: rgba(1, 58, 82, 0.9);
    position: relative;
    margin-bottom: 0px;
    display: block;
    background: rgba(238, 238, 238, 0);
    border-width: 2px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(69, 111, 128, 0.2);
    border-image: initial;
    border-bottom: 2px solid rgba(69, 111, 128, 0.2);
}

.checkout-box-dintero input#shipping_post_code {width: 100%;
    font-size: 1rem;
    color: rgba(1, 58, 82, 0.9);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 3px;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    background: transparent;}

.checkout-box-dintero input#shipping_post_code:focus {
    background: transparent;
    outline: none;
}

.checkout-box-dintero .btn-wrap {
    margin-top: 30px;
    margin-bottom: 18px;
}


.checkout-box-dintero button#save_post_code.disabled {
    background-color: rgba(69, 111, 128, 0.3);
    cursor: default;
    color: rgb(130, 157, 168);
}

.checkout-box-dintero button#save_post_code {display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    width: 100%;
    min-height: 50px;
    background-color: rgb(0, 229, 144);
    border-top-width: initial;
    border-right-width: initial;
    border-left-width: initial;
    border-top-color: initial;
    border-right-color: initial;
    border-left-color: initial;
    color: rgb(26, 77, 99);
    font-weight: 700;
    font-size: 1.25rem;
    cursor: pointer;
    border-style: none none solid;
    border-image: initial;
    border-bottom: 2px solid rgba(69, 111, 128, 0.5);
    outline: none;
    padding: 10px 11px;
    border-radius: 3px;
}
/*Fixes*/
div#dhp-embed {
    width: 100%;
}

.dintero-error-message {
    color: #ff052f;
}
