/* Button Style */
.wp-block-woolentor-evercompare{
    display: block;
}
.products a.htcompare-shop-top_thumbnail{
    position: absolute !important;
    top: 0;
    left: 8px !important;
    z-index: 9;
}
.htcompare-btn {
    display: inline-flex !important;
    align-items: center;
    position: relative !important;
}
.htcompare-btn svg {
    fill: currentColor;
    transition: all 200ms ease-out;
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

.htcompare-btn svg .ever-compare-check,.htcompare-btn.added svg .ever-compare-refresh{
    opacity: 0;
}
.htcompare-btn.added svg .ever-compare-check{
    opacity: 1;
}

.htcompare-btn.loading svg .ever-compare-refresh {
    animation:loading 500ms 0ms infinite normal linear;
    transform-origin: center;
}
@keyframes loading {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}

.htcompare-btn.loading::after,a.htcompare-btn.added::after,.ever-compare-loader{
    display: none;
}
.htcompare-btn.loading .ever-compare-loader{
    display: block;
}

.htcompare-btn-text {
    display: flex;
    align-items: center;
}
.ever-compare-btn-image{
    width: 25px;
    margin-right: 5px;
    display: inline-block;
}
.ever-compare-btn-image img{
    width: 100% !important;
    margin: 0 !important;
}

a.htcompare-btn.loading,a.htcompare-cart-button.loading{
    opacity: .25;
    /*padding-right: 2.618em;*/
    position: relative;
}

/* Common table Style */
.htcompare-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}
.htcompare-col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 15px;
    word-break: break-word;
}
.htcompare-row:nth-child(2n) .htcompare-col {
    background-color: #F7F7F7;
}
.htcompare-col {
    border-right: 1px solid #ddd;
}
.htcolumn-value {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 26%;
    flex: 0 1 26%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
}
.compare-data-primary .htcolumn-value {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding-top: 0;
    border-top: 1px solid #ddd;
}
.htcolumn-field-name {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 22%;
    flex: 0 0 22%;
    color: #2d2a2a;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
}
.htcompare-remove{
    position: relative;
    display: inline-block;
    padding: 10px;
    margin-left: -5px;
}
.htcompare-remove:focus{
    outline: none;
}
.htcompare-remove::after, .htcompare-remove::before {
    content: " ";
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 15px;
    height: 2px;
    background-color: #2d2a2a;
    right: 0;
    -webkit-transform: rotate(45deg);
     transform: rotate(45deg);
}
.htcompare-remove::after{
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.htcompare-remove:hover::after,.htcompare-remove:hover::before{
    background: #EC1E1E;
}
.htcompare-product-image{
    display: block;
}
.htcompare-return-to-shop .button{
    display: inline-block;
}
.htcompare-empty-page-text,.htcompare-return-to-shop{
    text-align: center;
}
.htcompare-empty-page-text {
    margin-bottom: 10px;
}

.htcompare-table * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.htcompare-table{
    position: relative;
}
.htcompare-table.loading:before{
    position: absolute;
    content:"";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(255,255,255,.6);
}
.htcompare-table .htcompare-table-loader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 50px;
    height: 50px;
    -webkit-animation: htcomspin 1s linear infinite;
    animation: htcomspin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-30px, -25px);
    display: none;
}

.htcompare-table.loading .htcompare-table-loader{
    display: block;
}

.compare-data-description .htcolumn-value p:last-child,.compare-data-availability .htcolumn-value p:last-child,.ever-compare-message-error p{
    margin-bottom: 0;
}

.ever-compare-message-error {
    border: 1px solid #dc3545;
    border-left-width: 4px;
    box-shadow: 0 1px 1px rgb(0 0 0 / 4%);
    padding: 4px 10px;
    margin-bottom: 10px;
}
.compare-data-primary.htcompare-row .htcompare-col {
    background-color: transparent !important;
}

/* Safari */
@-webkit-keyframes htcomspin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes htcomspin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Popup Style */
a.htcompare-cart-button.loading::after{
    font-family: WooCommerce;
    content: '\e01c';
    vertical-align: top;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    position: absolute;
    top: auto;
    right: 1em;
    animation: spin 2s linear infinite;
}
a.htcompare-cart-button.added::after{
    font-family: WooCommerce;
    content: '\e017';
    margin-left: .53em;
    vertical-align: bottom;
}

.htcompare-popup{
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    width: 100%;
    height: 100%;
    padding-right: 17px;
    -webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    -o-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    background-color: rgba(0, 0, 0, 0.5);

}
.logged-in.admin-bar .htcompare-popup{top: 15px;}
.htcompare-popup.open{
    display: -webkit-box!important;
    display: -webkit-flex!important;
    display: -ms-flexbox!important;
    display: flex !important;
    opacity: 1;
    visibility: visible;
}
.htcompare-popup .htcompare-popup-content-area {
    width: calc(100% - 30px);
    max-width: 1500px;
    margin: auto;
    padding: 30px;
    background: #fff;
    position: relative;
}
.htcompare-popup .htcompare-popup-content-area .htcompare-table{
    max-height: 750px;
    overflow-y: auto;
}
.htcompare-popup-close {
    position: absolute;
    width: 25px;
    height: 25px;
    background: #fff;
    right: -10px;
    top: -10px;
    border-radius: 100%;
    cursor: pointer;
}
.htcompare-popup-close::after, .htcompare-popup-close::before{
    content: " ";
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 15px;
    height: 2px;
    background-color: #2d2a2a;
    right: 5px;
    -webkit-transform: rotate(45deg);
     transform: rotate(45deg);
}
.htcompare-popup-close::after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.htcompare-popup-close:hover::after,.htcompare-popup-close:hover::before{
    background: #EC1E1E;
}

/*Share Link button*/
.ever-compare-shareable-link {
    margin-top: 10px;
}
.ever-compare-shareable-link.right {
    text-align: right;
}
.ever-compare-shareable-link.left {
    text-align: left;
}
.ever-compare-shareable-link.center {
    text-align: center;
}
.evercompare-copy-link{
    cursor: pointer;
}


/* Normal  :1366px. */
@media (min-width: 1200px) and (max-width: 1400px) {

}

/* Normal desktop :992px. */
@media (min-width: 992px) and (max-width: 1200px) {
    .htcompare-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; 
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .htcompare-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; 
    }
    .htcompare-col {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.33333%;
        flex: 0 0 33.33333%;
    }
}

/* Tablet desktop :768px. */
@media (min-width: 768px) and (max-width: 991px) {
    
}

/* small mobile :320px. */
@media (max-width: 767px) {
    .htcompare-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; 
    }
    .htcompare-col {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 50%;
        flex: 1 0 50%;
    }
    .htcolumn-field-name{
        display: none;
    }

    .htcompare-row:nth-child(2n) .htcompare-col {
        background-color: transparent;
    }

    .htcolumn-value::before {
        content: attr(data-title);
        display: block;
        background-color: #F7F7F7;
        margin-top: -15px;
        margin-bottom: 15px;
        padding: 5px 0;
        width: 100%;
        color: #2d2a2a;
        text-transform: uppercase;
        font-weight: 600;
        font-size: 14px;
    }
    .compare-data-primary .htcolumn-value::before{
        display: none;
    }

}

/* Large Mobile :480px. */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    
}