/**
 * Make sure any class you add here starts with the prefix 'es_',
 * to avoid any name collisions with other plugins as this script is loaded on all admin pages in WordPress (for now).
 */

.es_health_font_size {
    font-size: 14px;
}

.es-table-container {
    width: 100%;
    overflow-x: auto;
}

.es_health_table {
    font-size: 14px;
    width: 100%;
    background-color: #FFFFFF;
}

.es-table-fixed {
    table-layout: fixed;
}

.es_health_table th, .es_health_table td {
    padding: 10px;
    text-align: left;
}

.es_health_table th {
    background-color: #C7C7C7;
}

.es_health_table {
    border: 1px solid #E3E3E3;
    border-collapse: collapse;
}

.es_health_table th, .es_health_table td {
    border-bottom: 1px solid #E3E3E3;
}

.es_health_table tr:hover {
    background-color: #E3E3E3 !important;
}

.es_health_table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.es_health_table thead tr {
    background-color: #E3E3E3;
}

.es_health_check_chart {
    width: 500px;
}


.es_health_check_chart .flex-wrapper {
    display: flex;
    flex-flow: row nowrap;
}

.es_health_check_chart .single-chart {
    width: 33%;
    justify-content: space-around;
}

.es_health_check_chart .circular-chart {
    display: block;
    margin: 10px auto;
    max-width: 80%;
    max-height: 250px;
}

.es_health_check_chart .circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3.8;
}

.es_health_check_chart .circle {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

.es_health_check_chart .circular-chart.orange .circle {
    stroke: #ff9f00;
}

.es_health_check_chart .circular-chart.green .circle {
    stroke: #4CC790;
}

.es_health_check_chart .circular-chart.blue .circle {
    stroke: #31B5C1;
}

.es_health_check_chart .percentage {
    fill: #666;
    font-family: sans-serif;
    font-size: 0.5em;
    text-anchor: middle;
}


/* */
.es-row:after,
.es-row:before {
    display: table;
    content: " "
}

.es-row:after {
    clear: both
}

.es-row {
    margin-right: -1rem;
    margin-left: -1rem;
}

.es-row + .es-row {
    margin-top: 1rem;
}

.es-col {
    position: relative;
    box-sizing: border-box;
    min-height: 1px;
    padding-right: 1rem;
    padding-left: 1rem;
}

.es-col-30 {
    width: 30%;
}

.es-col-70 {
    width: 70%;
}

@media (min-width: 992px) {
    .es-col:only-child {
        width: 100%;
    }

    .es-col {
        width: 50%;
    }

    .es-col, .es-col-30, .es-col-70 {
        float: left;
    }
}

@media (max-width: 991px) {
    .es-col-30, .es-col-70 {
        width: 100%;
    }
}

.es-button {
    color: #ffffff;
    display: inline-block;
    box-sizing: border-box;
    line-height: 30px;
    padding: 0 15px;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: baseline;
    text-align: center;
    margin: 0;
    min-width: 75px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .46px;
    border-radius: 4px;
    border: 0;
    font-family: "Montserrat", sans-serif;
    position: relative;

    cursor: pointer;


    transition: all ease-in-out 300ms;
    -webkit-transition: all ease-in-out 300ms;
    -moz-transition: all ease-in-out 300ms;
    -ms-transition: all ease-in-out 300ms;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.es-button[disabled], .es-button[disabled]:hover {
    background-color: #e3dfef;
    cursor: not-allowed;
    color: #2fb5c0;
}

.es-button-primary {
    background-color: #2fb5c0;
    border: 1px solid #2fb5c0;
}

.es-button-primary:hover {
    color: #2fb5c0 !important;
    background-color: #FFFFFF;
}

.es-button-secondary {
    background-color: #FFFFFF;
    border: 1px solid #2fb5c0;
    color: #2fb5c0 !important;
}

.es-button-secondary:hover {
    background-color: #2fb5c0;
    color: #FFFFFF !important;
}

.es-button-danger {
    background-color: #ed1846;
    border: 1px solid #ed1846;
}

.es-button-danger:hover {
    color: #ed1846 !important;
    background-color: #FFFFFF;
}

.es-bg-primary {
    background-color: #472F92 !important;
}

.es-text-primary {
    color: #472F92 !important;
}

.es-text-bold {
    font-weight: bold;
}

.es-text-center {
    text-align: center;
}

.es-text-large {
    font-size: larger;
}

.es-text-small {
    font-size: smaller;
    line-height: 20px;
}

.es-bg-secondary {
    background-color: #31b5c1 !important;
}

.es-text-secondary {
    color: #31b5c1 !important;
}

.es-bg-success {
    background-color: #24ED88 !important;
    /*background-color: #00a32a !important;*/
}

.es-text-success {
    color: #24ED88 !important;
}

.es-bg-danger {
    background-color: #ed1846 !important;
}

.es-text-danger {
    color: #ed1846 !important;
}

.es-bg-light {
    background-color: #ffffff !important;
}

.es-text-light {
    color: #ffffff !important;
}

.es-text-bold {
    font-weight: bold !important;
}

.es-box {
    border-radius: 4px;
    display: block;
    min-height: 1px;
    box-sizing: border-box;
    padding: 15px;
    margin: 15px 0;
}

.es-box-danger {
    border: 2px solid #ed1846;
}

.es-box-success {
    border: 2px solid #24ED88;
}

.es-box-primary {
    border: 2px solid #472F92;
}

.es-box-header {
    font-size: large;
    color: #FFFFFF;
}

.es-box-danger > .es-box-header {
    background-color: #ed1846;
}

.es-box-success > .es-box-header {
    background-color: #24ED88;
}

.es-box-primary > .es-box-header {
    background-color: #472F92;
}

.es-d-none {
    display: none !important;
}

.es-d-flex {
    display: flex;
}

.fix-health-btn {
    position: relative;
}

.fix-loader-icon {
    position: absolute;
    top: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    margin: 0 -15px;

    z-index: 999;
    background-color: rgba(47, 181, 192, 1);
    border-radius: 4px;
}

.fix-loader-icon > img {
    height: 20px;
}

.eshipper-preloader > img {
    height: 50px;
}

#eshipper_health {
    position: relative;
}

#eshipper_health_panel_overlay {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 999;
    margin: -16px;
    background-color: rgba(255, 255, 255, 0.5);
}

.eshipper-preloader {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.eshipper-preloader > img {
    height: 50px;
}

/* -------------------------------------- */
/* Styles specific to Shipping Calculator */
/* -------------------------------------- */
.es-sc-product-row .es-sc-remove-product-btn {
    display: none;
}

.es-sc-product-row ~ .es-sc-product-row .es-sc-remove-product-btn {
    display: unset;
}

.es-sc-products-select-td > .select2-container {
    width: 100% !important;
}

.es-sc-remove-product-btn {
    min-width: 20px;
    width: 40px;
    max-width: 40px;
}

#es-sc-shipping-placeholder-row > td, #es-sc-message-row > td {
    text-align: center;
    background-color: #E3E3E3;
}

#es-sc-shipping-placeholder-row > td > div, #es-sc-message-row > td > div {
    width: 50%;
    margin: 0 auto;
    text-align: left;
}

.es-sc-quantity {
    width: 70px;
}

#es-sc-shipping-address input, #es-sc-shipping-address select {
    width: 100%;
}

#es-sc-overlay-row {
    height: 100px;
    background-color: #E3E3E3;
    z-index: 999;
}

.es-sc-overlay {
    position: absolute;
    display: block;
    height: 100%;
    width: 50%;
    left: 25%;
    top: 0;
}

/* Overriding defaults */
#es-sc-shipping-address .form-row {
    margin: 0;
}

#es-sc-shipping-address .woocommerce-input-wrapper {
    display: block;
}

#es-sc-shipping-address .es-sc-form-input {
    padding: 0 10px;
    line-height: 2;
    min-height: 30px;
    min-width: 100%;
    margin: 0;
    height: auto;
}

.es-table-form-loader {
    float: right;
}

.es-table-form-loader > img {
    height: 1rem;
}

.es-table-button-loader {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2fb5c0;
}

.es-table-button-loader > img {
    height: 20px;
}

#eshipper-address-settings-table .form-row {
    margin: 0 !important;
}

.es-table-form-input {
    line-height: 2 !important;
    height: auto !important;
    min-height: 30px !important;
    width: 100% !important;
    min-width: 100% !important;
    padding: 0 10px !important;
    margin: 0 !important;
}

.es-table-footer-submit-btn {
    float: right !important;
}

#eshipper-carrier-services-table tbody td {
    padding: 0 !important;
}
