/**
 * Front-end style
 *
 * Front-end common style started
 */
#thmaf-shipping-tile-field {
    overflow: hidden;
}
.woocommerce-address-title h4 {
    margin-bottom: 0;
}
.ajaxbusy {
    display: none;
    background: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f110";
    -webkit-animation: fa-spin .75s linear infinite;
    animation: fa-spin .75s linear infinite;
    height: 30px;
    width: 30px;
    line-height: 30px;
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
}

/* My-account page style*/
.thmaf-acnt-cus-addr.th-custom-address {
    padding-top: 20px;
}
.th-del-acnt {
    background: none;
    color: #9e9e9e;
    margin: 0;
   /* margin-top: 4px;*/
    padding-top: 8px;
    font-weight: normal;
    border: 1px;
    min-height: 34px;
    font-size: 12px;
    cursor: pointer;
}
.thmaf-del-acnt.th-del-acnt:hover {
    background: none;
    color: #9e9e9e;
}
.thmaf-acnt-adr-footer.acnt-address-footer {
     height: 44px;
    box-sizing: border-box;
    padding: 0 20px;
    border-top: 1px solid #f2f2f2;
    font-size: 12px;
    text-transform: uppercase;
}
.thmaf-acnt-cus-addr .th-head h3{
    border-bottom: 1px solid #f2f2f2;
}
.thmaf-my-acnt.th-custom {
    margin-top: 50px;
}

/* Address display style on my-account page */
.thmaf-thslider {
    position: relative;
}
.thmaf-thslider-viewport {
    
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 0 0 !important;
}
.thmaf-thslider-list {
    width: 815%;
    position: relative;
    transition-duration: 0s;
    margin: 0;
    list-style: none;
    padding: 0;
}
.thmaf-thslider-viewport .complete-aaddress {
    /*min-height: 235px;*/
    min-height: 190px;
}
.thmaf-thslider-viewport li.thmaf-thslider-item, 
.thmaf-thslider-viewport li.thmaf-thslider-item_c {
    float: left;
    list-style: none;
    position: relative;
    width: 210px;
    margin: 0 10px;
}
.thmaf-adr-box.address-box {
    box-sizing: border-box;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    font-size: 12px;
}
.thmaf-adr-box.address-box:hover {
    box-shadow: 0 6px 15px 0 rgba(0,0,0,0.05);
}
.thmaf-adr-box.address-box .thmaf-main-content {
   padding-bottom: 10px;
}
.thmaf-adr-box.address-box .address-type-wrapper {
    position: relative;
    left: -1px;
    margin: 0;
}
.thmaf-adr-box.address-box .address-type {
    padding: 5px 10px 5px 20px;
    display: inline-block;
    margin-top: 15px;
    color: #999;
    height: 26px;
    box-sizing: border-box;
    line-height: 16px;
}
.thmaf-adr-box.address-box .address-type.default {
    background-color: #b7b7b7;
    padding: 5px 50px 5px 10px;
    color: #fff;
    margin-left: 15px;
    border-radius: 2px;
    font-size: 12px;
    display: none;
}
.thmaf-adr-text.address-text {
    min-height: 130px;
}
.thmaf-main-content .address-wrapper {
    padding: 10px 15px 0;
}
.btn-continue.address-wrapper {
    height: 34px;
}
.btn-continue.address-wrapper {
    padding-top: 0 !important;
}
.thmaf-adr-footer.address-footer {
    height: 44px;
    box-sizing: border-box;
    padding: 0 20px;
    border-top: 1px solid #f2f2f2;
    font-size: 12px;
    text-transform: uppercase;
}
.thmaf-adr-footer.address-footer .btn-edit, 
.thmaf-adr-footer.address-footer .btn-default {
    width: 50%;
    float: left;
    cursor: pointer;
    height: 43px;
}
.thmaf-adr-footer.address-footer .btn-default {
    width: 50%;
    float: left;
    text-align: right;
    cursor: pointer;
}
.thmaf-adr-footer.address-footer span {
    line-height: 44px;
    color: #9e9e9e;
}
.thmaf-adr-footer.address-footer.default .th-btn {
    cursor: default;
}
.thmaf-adr-footer.address-footer .btn-default:hover {
    background: none;
}
/*.thmaf-add-adr.add-address {
    padding: 30px 0 20px 0;
    text-align: center;
}*/

/* -------------New features - multiple shipping------------- */
.pdct-qty.multi-ship-pdct-qty {
    width: fit-content;
    padding: .5em 1em;
}
td.wmap-img-tr {
    width: 30%;
}
img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    width: 50%;
}
.product-thumb-name a {
    font-size: 12px;
    text-decoration: none !important;
    font-weight: 600;
}
a.ship_to_diff_adr.add-dif-ship-adr {
    font-size: 12px;
    color: #717171;
    font-style: italic;
    float: left;
}
.ajaxBusy {
    display: none;
    background: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f110";
    -webkit-animation: fa-spin .75s linear infinite;
    animation: fa-spin .75s linear infinite;
    height: 30px;
    width: 30px;
    line-height: 30px;
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
}
.multi-shipping-table-wrapper {
    clear: both;
    width: 100%;
    position: relative;
}
.multi-shipping-table-overlay {
    display: none;
    clear: both;
    z-index: 1000;
    border: none;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255);
    opacity: 0.6;
    position: absolute;
}
table.multi-shipping-table {
    display: table;
    border: 1px solid #f7f7f7;
}
/*table.multi-shipping-table td {
    background-color: #fff;
}*/
table.multi-shipping-table:not( .has-background ) tbody tr:nth-child(2n) td, fieldset, fieldset legend {
    background-color: #fdfdfd;
}
.thmaf_cart_multi_shipping_display {
    width: 89%;
    float: left;
}
tr.main-pdct-tr td {
    border-top: 1px solid #f7f7f7;
}
.woocommerce-shipping-fields__field-wrapper .woocommerce-input-wrapper span.select2-container.select2-container--default {
    width: 100% !important;
}
.suborder_list {
    margin: 8px 0;
}
.multi-shipping-table td {
    padding: 7px !important;
}
.multi-shipping-table span.dashicons.dashicons-dismiss {
    line-height: 1.618;
    text-decoration: none;
    color: #a6aab5;
    font-size: 17px;
    width: 10%;
}

.thmaf-woo-shipping-totals ul.woocommerce-shipping-methods {
    list-style: none;
    padding: 0;
    margin-left: 0;
}
select.thmaf-cart-shipping-options {
    padding: 4px;
    border-radius: 4px;
    width: 100%;
}
/*---------------slider style -----------*/
.thmaf-thslider{
    position: relative;
    /*width:780px;
    height:300px;
    position:relative;
    overflow:hidden;*/
}
.v-thslider-box{
    max-width: 710px;
    margin: 0px auto;
   /* border: 1px solid #efefef;*/
    padding-left: 10px;
}
.thmaf-thslider-viewport{
    width: 100%;
    overflow: hidden;
    position: relative;
    /*height: 316px;*/
    box-shadow: 0 0 0 0 !important;
}
.thmaf-thslider-list{
    width: 815%;
    position: relative;
    transition-duration: 0s;
    /*transform: translate3d(-424px, 0px, 0px);*/
    margin: 0;
    list-style: none;
    padding: 0;
}
/*.thmaf-thslider-viewport .complete-aaddress {
    min-height: 235px;
}*/
.thmaf-thslider-viewport li.thmaf-thslider-item, .thmaf-thslider-viewport li.thmaf-thslider-item_c{
    float: left;
    list-style: none;
    position: relative;
    width: 210px;
    margin: 0 10px;
    border: 1px solid #ededed;
}

.thmaf-thslider-prev, .thmaf-thslider-next {
    position: absolute;
    border-radius: 50%;
    cursor: pointer;
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
    border: solid 0.5px #e5e5e5;
    top: 35%;
    z-index: 51;
    z-index: 29;
}
.thmaf-thslider-prev {
    left: 4px;
}
.thmaf-thslider-next {
    right: 4px;
}
.thmaf-thslider-prev .fa, .thmaf-thslider-next .fa {
    display: block;
    width: 32px;
    height: 32px;
    text-align: center!important;
    font-size: 2em;
    color: #ccc;
}

.thmaf-thslider-prev, .thmaf-thslider-next {
    outline: none;
}
.thmaf-divi-acnt .thmaf-thslider-viewport li.thmaf-thslider-item {
    width: 204px;
}
.thmaf-divi-acnt button#submit-billing,
.thmaf-divi-acnt button#submit-shipping {
    font-size: 12px;
}
.woocommerce-page .thmaf-divi-acnt button.button:after {
    font-size: 20px;
}
.thmaf-divi-acnt .thmaf-thslider-viewport li.thmaf-thslider-item {
    margin: 0 11px;
}

/* -------------Media style------------- */
@media only screen and (max-width: 600px) {

    .thmaf-thslider .thmaf-thslider-list {
        width: 100% !important;      
    }
    .thmaf-thslider-viewport li.thmaf-thslider-item, 
    .thmaf-thslider-viewport li.thmaf-thslider-item_c {
        margin: auto;
        float: none;
        padding-bottom: 10px;
    }
    .control-buttons {
        display: none;
    }
    .thmaf-thslider-box {
        padding-left: 0;
    }
}

/************************** *****
**** Address Popup - Styles ****
*******************************/
.thmaf-popup{
    padding: 0;
    z-index: 99999 !important;
}
.thmaf-popup .ui-widget-header {
    border: none;
    border-radius: 0;
    background: #333;
    color: #fff;
    font-weight: 400;
}
.ui-dialog .ui-dialog-titlebar-close{
    position: absolute;
    right: 0.3em;
    top: 50%;
    width: 20px;
    margin: -10px 0 0 0;
    padding: 1px;
    height: 20px;
    font-size: 10px;
}
button.ui-button.ui-corner-all.ui-widget.ui-button-icon-only.ui-dialog-titlebar-close {
    background-color: #eeee;
}
.thmaf-popup .ui-dialog-content{
    padding: 20px 0px;
}
.thmaf-thslider-box {
    width: 480px;
    max-width: 710px;
    margin: 0 auto;
    padding-left: 10px;
    /*width: auto !important;*/
}
.thmaf-thslider-viewport {
    font-size: 12px;
    color: #222;
}
.thmaf-main-content .address-wrapper {
    padding: 10px 15px 0;
}
.thmaf-adr-footer.address-footer {
    height: 44px;
    box-sizing: border-box;
    padding: 0 20px;
    border-top: 1px solid #f2f2f2;
    font-size: 12px;
    text-transform: uppercase;
}
.thmaf-adr-footer .btn-delete {
    cursor: pointer;
}
.thmaf-adr-footer.address-footer .btn-default {
    width: 50%;
    float: left;
    text-align: right;
    cursor: pointer;
}
.add-address.thmaf-add-adr.btn-add-address-div{
    padding: 30px 0 20px;
    text-align: center;
}
.thmaf-add-adr.add-address {
    padding: 30px 0 20px;
}
#billing_tiles, #shipping_tiles {
    margin: 20px 0px;
}
.thmaf-thslider{
    padding: 30px 0 20px 0;
    text-align: center;
    font-size: 16px;
    color: darkgrey;
}
.acnt-adrr-text.thmaf-adr-text, .tile-adrr-text.thwma-adr-text {
    text-align: left;
}
.th-btn.btn-delete span {
    color: #e0e0e0;
}
/********************Theme twentytwenty popup styeles**************/
.thmaf-twentytwenty_tile_field a.th-btn.button.primary.is-outline {
    margin-left: 14px;
    font-size: 10px;
}
/********************Theme Ocean WP popup styles *******************/
.thmaf-oceanwp_tile_field a.th-btn.button.primary.is-outline {
    font-size: 9px;
    margin-left: 8px;
}
/********************Theme Neve popup styles************************/
.thmaf-neve_tile_field a.th-btn.button.primary.is-outline {
    font-size: 11px;
    margin-left: 18px;
}

/* checkout page form styles */
.thmaf-cart-modal-content2{
    background-color: #fefefe;
    margin: 4% auto;
    padding: 20px;
    border: 1px solid #888;
}
.thmaf-cart-modal-close2 {
    color: #888888;
    float: right;
    font-size: 24px;
    cursor: pointer;
    font-weight: 700;
    margin-right: 12px;
    vertical-align: middle;
}
.thmaf_hidden_error_mssgs.show_msgs {
    background-color: #e2401c;
    padding: 1em 1.618em;
    margin-bottom: 2.617924em;
    line-height: 34px;
    margin-left: 0;
    border-radius: 2px;
    color: #fff;
    clear: both;
    border-left: 0.6180469716em solid rgba(0, 0, 0, 0.15);
    font-size: 16px;
}
.thwma-woo-shipping-totals ul.woocommerce-shipping-methods {
    list-style: none;
    padding: 0;
    margin-left: 0;
}

#thmaf_save_address_cart,
#thmaf-popup-show-shipping,#thmaf-popup-show-billing {
    pointer-events: auto;
}