.d-none {
  display: none;
}

#delivery_with_econt_calculate_shipping {
  display: none;
  position: absolute;
  right: 0;
}

#delivery_with_econt_iframe {
  border: none;
  width:100%;
  min-height: 590px;
  max-height: 770px;
  overflow:hidden;
}

#delivery_with_econt_calculation_container {
  width: 100%;
}

#econt_detailed_shipping {
  font-size: 10px;
  font-weight: 100;
  line-height: 10px;
  color:#234182;
  margin-bottom: 5px;
  display: none;
}

.econt-loader {
  background-image: url("../images/loader.gif") !important;
  background-position: center 30% !important;
  background-repeat: no-repeat !important;
  /*background-color: white;*/
  min-height: 300px;
  z-index: 9999;
}

.econt-button {
  font-weight: 300;
  padding: 3px 10px;
  background-color: #234182;
  color: white;
}

.econt-button-details {
  margin: 2rem auto 0;
  width: 50%;
  height: 60px;
  font-weight: 600;
}

.econt-button:hover {
  background-color: #234182;
  color: white;
}

.econt-alert {
  display: none;
}

.econt-alert.active {
  display: block !important;
}

#place_iframe_here {
  /*background: white;*/
  padding: 10px;
  display: none;
}

.econt-modal {
  padding: 5px;
}
.econt-modal button.close {
  position: absolute;
  top: 5px;
  right: 5px;
}

/* The Modal (background) */
.econt-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.econt-modal-content {
  background-color: #fefefe;
  margin: 5% auto 0 auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 800px;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: relative;
  z-index: 2;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.econt-modal-body {
  position: initial;
  padding: 0;
}

/* Hidden fields when Econt shipping is selected */
.econt-hidden-field {
  display: none !important;
}
/* Climatick hardened 3.1.6 candidate compatibility layer */
#econt_delivery_calculate_buttons {
    position: relative;
    margin: 10px 0 4px;
    padding: 14px;
    border: 1px solid #D8E2EC;
    border-radius: 14px;
    background: #fff;
}

#econt_delivery_calculate_buttons .clx-econt-helper {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 2px 11px;
    align-items: center;
    margin-bottom: 11px;
}

#econt_delivery_calculate_buttons .clx-econt-helper__icon {
    display: flex;
    grid-row: 1 / 3;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #EDF9F8;
    color: #006F6B;
    font-size: 21px;
}

#econt_delivery_calculate_buttons .clx-econt-helper strong {
    color: #0B1830;
    font-size: 14px;
    line-height: 1.2;
}

#econt_delivery_calculate_buttons .clx-econt-helper span:last-child {
    color: #526176;
    font-size: 12px;
    line-height: 1.4;
}

#econt_delivery_calculate_buttons .econt-button,
#edit_details.econt-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 11px 16px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: #00847F !important;
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1.2;
    font-weight: 800 !important;
    text-align: center;
    box-shadow: none !important;
}

#econt_delivery_calculate_buttons .econt-button:hover,
#econt_delivery_calculate_buttons .econt-button:focus-visible,
#edit_details.econt-button:hover,
#edit_details.econt-button:focus-visible {
    background: #006F6B !important;
    outline: 2px solid #9FCFCC;
    outline-offset: 2px;
}

#delivery_with_econt_iframe {
    width: 100% !important;
    border-radius: 10px;
    background: #fff;
}

@media (max-width: 767px) {
    #econt_delivery_calculate_buttons {
        padding: 12px;
        border-radius: 12px;
    }

    #delivery_with_econt_iframe {
        min-height: 620px;
    }
}