.woocommerce-account .title-part{
    margin-top: 25px;
}
.woocommerce-account .woocommerce p{
    font-size: 16px;
}

.page-template-tpl-resellers-map .breadcrumbs, .page-template-tpl-resellers-map-international .breadcrumbs{
    display: none;
}

#account-tabs.loaded .map{display: none;}


.accent-button, button{
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    line-height: 16px;
    border: 0;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.78);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.78);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.78);
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.45);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.78);
    -webkit-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.78);
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.78);
    background: #ff0000;
    background: -moz-linear-gradient(top, #ff0000 0%, #d60101 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff0000), color-stop(100%,#d60101));
    background: -webkit-linear-gradient(top, #ff0000 0%,#d60101 100%);
    background: -o-linear-gradient(top, #ff0000 0%,#d60101 100%);
    background: -ms-linear-gradient(top, #ff0000 0%,#d60101 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0000', endColorstr='#d60101',GradientType=0 );
    background: linear-gradient(top, #ff0000 0%,#d60101 100%);
    }
.accent-button:hover, button:hover{
    color: #fff;
    background: #ff0000;
    background: -moz-linear-gradient(top, #d60101 0%, #ff0000 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d60101), color-stop(100%, #ff0000));
    background: -webkit-linear-gradient(top, #d60101 0%, #ff0000 100%);
    background: -o-linear-gradient(top, #d60101 0%, #ff0000 100%);
    background: -ms-linear-gradient(top, #d60101 0%, #ff0000 100%);
    background: linear-gradient(top, #d60101 0%, #ff0000 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#d60101", endColorstr="#ff0000", GradientType=0);
    }
    button.gray {
        display: inline-block;
        color: #2d2d2d;
        background: #e5e4e4;
        background: -webkit-linear-gradient(#e5e4e4 0%, #bbbbbb 100%);
        background-image: -webkit-linear-gradient(#e5e4e4 0%, #bbbbbb 100%) !;
        background-image: -o-linear-gradient(#e5e4e4 0%, #bbbbbb 100%) !;
        background-image: linear-gradient(#e5e4e4 0%, #bbbbbb 100%) !;
        background: linear-gradient(#e5e4e4 0%, #bbbbbb 100%) !;
        filter: progid:DXImageTransform.Microsoft.gradient(startColor="#e5e4e4", endColorstr="#bbbbbb", GradientType=0);
    }
    button.gray:hover{
        background: #bbbbbb;
        background: -moz-linear-gradient(top, #bbbbbb 0%, #e5e4e4 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #bbbbbb), color-stop(100%, #e5e4e4));
        background: -webkit-linear-gradient(top, #bbbbbb 0%, #e5e4e4 100%);
        background: -o-linear-gradient(top, #bbbbbb 0%, #e5e4e4 100%);
        background: -ms-linear-gradient(top, #bbbbbb 0%, #e5e4e4 100%);
        background: linear-gradient(top, #bbbbbb 0%, #e5e4e4 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#bbbbbb", endColorstr="#bbbbbb", GradientType=0);
    }

    .page-template-tpl-resellers-map .woocommerce-info, .page-template-tpl-resellers-map-international .woocommerce-info{
        border-top-color: darkred;
        }
    .page-template-tpl-resellers-map .woocommerce-info:before, .page-template-tpl-resellers-map-international .woocommerce-info:before{
        color: darkred;
    }



/**
* TABS
* ---------------------------------------------------------------*/

    /* Tabs container */
    .r-tabs {
        position: relative;
        border-radius: 4px;
        margin-top: 30px;
    }

    /* Tab element */
    .r-tabs .r-tabs-nav .r-tabs-tab {
        position: relative;
        margin: 0 10px 0 0; padding: 0;
        background: transparent;
    }

    /* Tab anchor */
    .r-tabs .r-tabs-nav .r-tabs-anchor {
        display: block;
        padding: 10px 35px;

        text-decoration: none;
        font-size: 12px; font-weight: bold; text-transform: uppercase; color: #666;
        background: #dadada;
        border-radius: 4px 4px 0 0;
    }

    /* Disabled tab */
    .r-tabs .r-tabs-nav .r-tabs-state-disabled {
        opacity: 0.5;
    }

    /* Active state tab anchor */
    .r-tabs .r-tabs-nav .r-tabs-state-active .r-tabs-anchor {
        color: #2d2d2d;
        background-color: white;
    }

    /* Tab panel */
    .r-tabs .r-tabs-panel {
        background-color: white;
        border-bottom-right-radius: 4px;
        border-bottom-left-radius: 4px;
    }

    .location .toolset .fa-eye-slash {
        position: absolute; top: 50%; right: 45px; z-index: 3;
        display: block;
        font-size: 20px;
        margin-top: -10px;
        }
        .location.opened .toolset .fa-eye-slash {display: none;}

    /* Accordion anchor */
    .r-tabs .r-tabs-accordion-title .fa-chevron-down{
        right: 20px;
        position: absolute;
        top: 50%;
        margin-top: -7px;
        color: #ff0000;
        }
    .r-tabs-accordion-title.r-tabs-state-active .fa-chevron-down{
        /* Safari */
        -webkit-transform: rotate(-180deg);
        /* Firefox */
        -moz-transform: rotate(-180deg);
        /* IE */
        -ms-transform: rotate(-180deg);
        /* Opera */
        -o-transform: rotate(-180deg);
        /* Internet Explorer */
        filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=6);
        }

    .r-tabs .r-tabs-accordion-title .r-tabs-anchor {
        display: block;
        padding: 20px;

        background-color: #ccc;
        color: #fff;
        font-weight: bold;
        text-decoration: none;
        font-size: 14px;
    }

    /* Active accordion anchor */
    .r-tabs .r-tabs-accordion-title.r-tabs-state-active .r-tabs-anchor {
        background-color: #fff;
        color: #2d2d2d;
        text-shadow: none;
    }

    /* Disabled accordion button */
    .r-tabs .r-tabs-accordion-title.r-tabs-state-disabled {
        opacity: 0.5;
    }

    /* Info bar */
    .info {
        display:inline-block;
        margin-top: 10px;
        margin-right: 10px;
        padding: 10px 20px;
        width: 300px;
        line-height: 100%;

        font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
        font-size: 14px;
        color: #00c5ad;
        border: 2px solid #00ab94;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        background-color: #fff;

        cursor: pointer;
    }
    .tab-inner {padding: 20px;}

/**
* BILLING AND SHIPPING ADDRESS
* ---------------------------------------------------------------*/
.edit-account{
    /* width: 45%;
    float: left; */
    }
    /* #my-address .edit-account input[type="text"], #my-address .edit-account input[type="tel"]{
        border-radius: 3px;
        border: 1px solid #dfe6ed;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        line-height: 20px;
        padding: 5px;
        } */
    #my-address .edit-account input[type="submit"]{

    }
    #my-address .edit-account .control-submit{
        margin: 20px 0;
        text-align: right;
    }
    .edit-account.shipping-address{
        margin-top: 40px;
        padding-top: 40px;
        border-top: 3px solid #f1f1f1;
    }

/**
* RECENT ORDERS
* ---------------------------------------------------------------*/
#account-tabs .shop_table.shop_table_responsive.my_account_orders{
    border-collapse: collapse;
    border-spacing: 0;
    }
    #account-tabs .shop_table.shop_table_responsive.my_account_orders thead{
        margin-bottom: 10px;
        }
        #account-tabs .shop_table.shop_table_responsive.my_account_orders thead th{
            padding: 10px 0;
            font-size: 16px;
            line-height: 18px;
            text-align: center;
            vertical-align: middle;
            border-bottom: 2px solid #ddd;
            border-top: medium none;
            }
    #account-tabs .shop_table.shop_table_responsive.my_account_orders tbody tr{
        margin-bottom: 5px;
        border-bottom: 1px solid #ddd;
        border-top: 1px solid #ddd;
        }
        #account-tabs .shop_table.shop_table_responsive.my_account_orders tbody tr td{
            padding: 5px 0;
            line-height: 18px;
            border-bottom: medium none;
            border-top: medium none;
            background-color: rgba(221,221,221,0.5);
            text-align: center !important;
            }
        #account-tabs .shop_table.shop_table_responsive.my_account_orders tbody tr:nth-child(2) td{
            background-color: #fff;
            }
        #account-tabs .shop_table.shop_table_responsive.my_account_orders tbody tr td:nth-child(1){
            width: 10%;
            }
        #account-tabs .shop_table.shop_table_responsive.my_account_orders tbody tr td:nth-child(2) {
            font-weight: bold;
            width: 25%;
            padding: 3%;
            }
        #account-tabs .shop_table.shop_table_responsive.my_account_orders tbody tr td:nth-child(3) {
            width: 8%;
            padding: 3%;
            }
        #account-tabs .shop_table.shop_table_responsive.my_account_orders tbody tr td:nth-child(4) {
            width: 25%;
            padding: 3%;
            }



/**
* LOCATIONS
* ---------------------------------------------------------------*/
#my-locations {text-align: center;}
    #my-locations button {display: inline-block; margin-bottom: 25px;}
    #my-locations label em{
        color: red;
        font-weight: 700;
        border: 0;
        }
    #my-locations fieldset {padding: 20px 20px 40px 20px; text-align: left;}

    #locations-container {margin-bottom: 20px; padding: 0 20px;}

    section.location {
        position: relative;
        margin: -1px 0 20px; padding: 0px 20px;
        background: #f1f1f1;
        border-top: 1px solid #dadada; border-bottom: 1px solid #dadada;
        }
        .location.opened {background: #f5f5f5;}

        .location > .toolset {
            margin: 0; padding: 0;
            text-align: left;
            }
            .location .toolset h4 {
                width: 49%;
                display: inline-block; vertical-align: middle;
                margin: 0;
                }
            .location .toolset .fa-chevron-down{
                right: 0;
                position: absolute;
                top: 50%;
                margin-top: -7px;
                }
            .location.opened .toolset .fa-chevron-down{
                /* Safari */
                -webkit-transform: rotate(-180deg);
                /* Firefox */
                -moz-transform: rotate(-180deg);
                /* IE */
                -ms-transform: rotate(-180deg);
                /* Opera */
                -o-transform: rotate(-180deg);
                /* Internet Explorer */
                filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=6);
                }

        .location > .clearfix {
            position: relative; height: 0;
            overflow: hidden; clear: both;
            }
            .location.opened > .clearfix {height: auto;}
            .location > .clearfix > div {width: 45%; float: right; margin: 20px 0;}
            .location > .clearfix > div.fields {
                float: left;
                width: 50%; padding-left: 0px;
                }
            .location > .clearfix > div.map {
                /*height: 305px;*/
                display: none;
            }

    .location-field {
        display: inline-block; width: 100%;
        margin-bottom: 13px;
        box-sizing: border-box;
        }
    .location-field.hide{
        display: none;
        }
        .location-field .label,
        .location-field .input {
            display: table-cell; vertical-align: top;
            box-sizing: border-box;
            text-align: left;
        }
        .location-field .label {
            display: inline-block;
            width: 100%; padding-right: 20px; padding-top: 0px;
            color: #000; text-align: left;
        }
        .location-field .input {
            display: block;
            width: 100%; position: relative;
            }
            .location-field .input input[type=text],
            input.places-autocomplete {
                width: 100%;
                padding: 5px;
                margin-top: 10px;
                color: #333;
                background-color: #fff;
                border: 1px solid #ccc; border-radius: 3px;
                outline: 0;
                box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
                box-sizing: border-box;
                transition: 50ms border-color ease-in-out;
                }

    span.search-holder {
        position: relative;
        display: block;
        width: 100%;
        margin: 25px auto 30px;
        text-align: left;
        z-index: 1;
        }
        span.search-holder label{
            font-weight: bold;
            font-size: 15px;
        }
        span.search-holder i {
            position: absolute; top: 41px; right: 10px; z-index: 3;
        }
        span.search-holder input.places-autocomplete {
            padding: 10px 30px 10px 10px;
            color: #32373c;
        }
        span.search-holder label{

        }
        .clearfix .location .location-preview{
            margin: 41px 0 0;    
        }
            .location-preview h2{
                font-size: 14px;
                line-height: 18px;
                background-color: rgba(0,0,0,0.05);
                margin-bottom: 0;
                font-weight: normal;
                padding: 6px 0 6px 0;
                text-align: center;   
            }

            .location-preview .reseller-location{
                position: relative;
                width: 100%;
                padding: 20px;
                min-height: 200px;
                border: 4px solid rgba(0,0,0,0.1);
                border-top: medium none;,0,.07);
            }
            .location-preview p{margin-bottom: 0;}
                .location-preview p.name-top{font-size: 16px; line-height: 22px;}
                .location-preview p a{text-decoration: none;}
            .location-preview .reseller-location h3{
                font-size: 16px;
                color: #ccc;
                text-align: center;
                position: relative;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                }


         .alert-box.woocommerce.wrapper {padding: 0; margin: 0 auto;}

    #add-new-location {
        margin-bottom: 50px;
    }

    .location .acc-trigger {
        display: block;
        width: 100%;
        padding: 10px; margin: 5px 0;
        color: #ff0000; font-size: 14px;
        cursor: pointer;
        box-sizing: border-box;
    }
    .location.opened .acc-trigger{
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .location > .clearfix > .location-actions{
        text-align: right;
        width: 100%;
        }
        .location .location-actions .ghoust-button {
            display: inline-block;
            width: auto; height: 34px; vertical-align: middle;
            margin-right: 20px; padding: 10px;
            font-size: 14px; line-height: 27px; color: #444;
            border: 1px solid #e9e9e9; border-radius: 3px;
            cursor: pointer;
            }
            .location .location-actions .ghoust-button i{
                top: 3px; position: relative;
                margin-right: 10px;
                font-size: 27px; line-height: 27px; color:#999;
                }
            .location .location-actions .ghoust-button:hover i {color: red;}

        .location-actions .eye-button{
            position: relative;
            }
            .location-actions .eye-button input[type="checkbox"]{
                position: absolute; left: 0; top: 0;
                opacity: 0 !important;
                }

        #my-locations .location-actions button{
            float: left;
            margin-bottom: 0;
            margin-top: 8px;
            }
/**
* RESELLERS MAP
* ---------------------------------------------------------------*/
.resellers-map {
    position: relative; z-index: 99;
    margin-bottom: 50px;
    overflow: hidden;
    }
    #resellers-map-holder {
        height: 450px; background: darkslategrey;
    }
    .resellers-map .loc-list.wrapper {margin-bottom: 50px; text-align: center;}


/**
* SEARCH TOOLBOX
* ---------------------------------------------------------------*/
.search-toolbox {
    position: relative; z-index: 50;
    padding: 30px 0;
    font-size: 14px;
    background: #fff;
    box-shadow: 0 1px 7px 4px rgba(0,0,0,0.3);
    }
    .search-toolbox label{
        display: inline-block;
        text-align: left;
    }
    .search-toolbox span{
        padding: 0 0 5px 5px;
        display: inline-block;
    }
    .search-toolbox input[type=text],
    .search-toolbox input[type=number],
    .search-toolbox select {
        width: 160px;
        padding: 7px 10px; margin-right: 23px;
        font-size: 14px;
        background: transparent;
        border: 1px solid #afafaf; border-radius: 3px;
        box-sizing:border-box;
        }
        .search-toolbox input[name=postalCode] {width: 75px;}
        .search-toolbox button {display: inline-block;}
    .search-toolbox #search-resellers {padding: 0; width: 90% !important; margin-top: 0px;}


    .search-toolbox .radius-search-box{
        margin-right: 0px;
    }

    .search-toolbox input:disabled, .search-toolbox select:disabled, .search-toolbox button:disabled{
        opacity: 0.3;
    }

    .search-toolbox  label.master-search-box{
        position: relative; top: 1px;
        line-height: 30px;
    }
    .search-toolbox  label.master-search-box .box{
        position: absolute; left: 0; top: 50%;
        width: 30px; height: 30px; background-color: #fff;
        border: 1px solid #afafaf;
        transform: translateY(-50%);
        opacity: 1;
    }
    .search-toolbox  label.master-search-box .label{
        position: relative;
        margin-left: 7px;
        line-height: 22px 
    }
    .search-toolbox  label.master-search-box input{
        background: none;
        margin: 0; padding: 0;
        height: 30px; width: 30px;
        opacity: 0;
    }

    .search-toolbox  label.master-search-box input:disabled  + .box{
        opacity: 0.5;
    }

    .search-toolbox label.master-search-box input:checked + .box:before{
        content: "";
        position: absolute;  left: 3px; top: 13px;
        width: 8px; height: 3px;
        background-color: #000;
        transform: translatex(50%) translateY(50%) rotate(-120deg);
        z-index: 10;
    }
    .search-toolbox label.master-search-box input:checked + .box:after{
        content: "";
        position: absolute;  left: 0px; top: 13px;
        width: 16px; height: 3px;
        background-color: #000;
        transform: translatex(50%) translateY(-50%) rotate(-65deg);
        z-index: 10;
    }

    .btn-blocks{
        display: block;
        margin-top: 25px;
    }
    .btn-blocks .button.gray{
        padding: 10px 20px; margin-right: 15px;
        text-decoration: none;
        line-height: 16px;
        border: 0;
        -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.78);
        -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.78);
        box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.78);
        text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.45);
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        -moz-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.78);
        -webkit-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.78);
        box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.78);
        display: inline-block;
        color: #2d2d2d;
        background: #e5e4e4;
        background: -webkit-linear-gradient(#e5e4e4 0%, #bbbbbb 100%);
        background-image: -webkit-linear-gradient(#e5e4e4 0%, #bbbbbb 100%) !;
        background-image: -o-linear-gradient(#e5e4e4 0%, #bbbbbb 100%) !;
        background-image: linear-gradient(#e5e4e4 0%, #bbbbbb 100%) !;
        background: linear-gradient(#e5e4e4 0%, #bbbbbb 100%) !;
        filter: progid:DXImageTransform.Microsoft.gradient(startColor="#e5e4e4", endColorstr="#bbbbbb", GradientType=0);
    }
    .btn-blocks .button.gray:hover{
        background: #bbbbbb;
        background: -moz-linear-gradient(top, #bbbbbb 0%, #e5e4e4 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #bbbbbb), color-stop(100%, #e5e4e4));
        background: -webkit-linear-gradient(top, #bbbbbb 0%, #e5e4e4 100%);
        background: -o-linear-gradient(top, #bbbbbb 0%, #e5e4e4 100%);
        background: -ms-linear-gradient(top, #bbbbbb 0%, #e5e4e4 100%);
        background: linear-gradient(top, #bbbbbb 0%, #e5e4e4 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#bbbbbb", endColorstr="#bbbbbb", GradientType=0);
    }

    .btn-blocks button{
        margin-left: 15px;
    }

/**
* Locations List (Reseller's map)
* ---------------------------------------------------------------*/
.reseller-location {
    width: auto;
    display: inline-block; vertical-align: top;
    padding: 10px; margin:0;
    background: #fff;
    line-height: 22px; text-align: left;
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
    box-sizing: border-box;
    white-space: normal;
    }
    .reseller-location a {color: #ff0000;}
    .reseller-location .address-pop {margin-bottom: 15px;}
    .reseller-location i,
    .reseller-location .fa {width: 18px; text-align: center;}
    #locations-list {
        width: 105%; margin-left: -2.5%; margin-bottom: 25px;
        text-align: left;
        }
        #locations-list .reseller-location {
            width: 30%;
            padding: 20px; margin: 1%;
        }
    #search-results-title h1{
        margin: 25px 0;
        color: #333; font-size: 20px; font-weight: normal; line-height: 24px;
        }


/**
* LOCATION NOTICE (WARNING)
* ---------------------------------------------------------------*/
.location-notice {
    position: relative;
    display: none;
    margin: -20px -15px 5px; padding: 20px 20px 10px 85px;
    color: #ffffff;
    background: darkred;
    overflow: hidden;
    box-sizing: border-box;
    }
.page-template.page-template-tpl-homepage .location-notice{
    margin: 0 -15px;
    top: -20px;
    /*padding: 20px;*/
}
.page-template.page-template-tpl-homepage .location-notice{
    margin: 0 -15px;
    top: -20px;
    /*padding: 20px;*/
}
.single-product .location-notice, .blog .location-notice, .page-template .location-notice{
    margin: -20px -10px 11px;
    }

.page-template-resource-page-php  .location-notice, .page-template.woocommerce-account .location-notice{
    margin: -20px -15px 11px;
}
.page-template-tpl-resellers-map .location-notice, .page-template-tpl-resellers-map-international .location-notice{
    text-align: center;
    display: block;
    padding-top: 63px;
    margin: 0px -11px 11px;
}
.page-template-tpl-resellers-map .location-notice i, .page-template-tpl-resellers-map-international .location-notice i{
    top: 5px;
    margin: 0;
    left: 50%;
}
.page-template-tpl-resellers-map.page-template-tpl-resellers-map-php .location-notice, .page-template-tpl-resellers-map-international.page-template-tpl-resellers-map-international-php .location-notice{
    padding: 20px 0 30px;
}
.page-template-tpl-resellers-map.page-template-tpl-resellers-map-php .location-notice i, .page-template-tpl-resellers-map-international.page-template-tpl-resellers-map-international-php .location-notice i{
    top: auto;
    left: auto;
    position: relative;
    margin-bottom: 10px;
    }
    .location-notice h3, .location-notice p, .location-notice a {
        color: #fff !important;
        margin: 0 0 10px;
        font-size: 20px;
        font-weight: normal;
        line-height: 24px;
        }
    .location-notice p, .location-notice p a{
        font-size: 16px;  line-height: 22px;
        }
    .location-notice > i {
        position: absolute; top: 50%; left: 19px;
        margin-top: -25px;
        font-size: 50px; color: rgba(0,0,0,.41);
    }
    .location-notice a {text-decoration: underline !important;}

    .resellers-map .location-notice {
        padding-bottom: 25px; margin-bottom: 0;
    }

.tabs-wrap > * {
    opacity: 0
    }
    .tabs-wrap.loaded > * {opacity: 1}
    .tabs-wrap > .spinner-wrap {opacity: 1; text-align: center;}
    .tabs-wrap .spinner-wrap .fa-spinner {font-size: 80px;}
    .tabs-wrap.loaded .spinner-wrap {display: none;}
    .fa-spinner {
        -webkit-animation: fa-spin 2s infinite linear;
        animation: fa-spin 2s infinite linear;
    }
    @-webkit-keyframes fa-spinner {

      0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
      }


      100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
      }
    }

    @keyframes fa-spin {

      0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
      }


      100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
      }
    }

/**
* RESELLER FORM
* ---------------------------------------------------------------*/

    #apply-for-reseller.wrapper {
        width: 60%;
        margin: 20px auto 20px;
        padding: 20px;
        -moz-box-sizing:border-box;
        -webkit-box-sizing:border-box;
        box-sizing: border-box;
        background-color: #fff;
        box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.75);
    }
    .cf7-reseller{
        width: 55%;
        margin: 0 auto;
        }
        .reseller-form .form-cf7 li input[type="text"], .reseller-form .form-cf7 li input[type="email"], .reseller-form .form-cf7 li textarea, .reseller-form .form-cf7 li select{width: 100%;}
        .reseller-form .form-cf7 li select{height: 36px;}

    .reseller-form h2{
        font-size: 18px; line-height: 17px; color: #000;
        margin-bottom: 20px;
        }
        .reseller-form p{
            color: #666;
            font-size: 14px;
            line-height: 22px;
            margin-bottom: 20px;
            }
    .reseller-form  .cf7-reseller{
        width: 80%;
        margin: 0 auto;
        }
    .reseller-form .form-cf7{
        margin: 0;
        list-style: none;
        }
        .reseller-form li{
            padding: 0; margin: 0 0 15px;
            background: none;
            }
        /*.reseller-form li em{
            position: relative; top: -5px;
            display: inline-block;
            width: 5px; height: 5px;
            margin: 0 5px;
            background: url(../img/required_mark.png) no-repeat 0 0;
            }*/
            .reseller-form li label{
                font-size: 13px; color: #333; line-height: 32px;
                }
            .reseller-form li .wpcf7-form-control-wrap{
                display: block;
                }
                /* .reseller-form li input[type="text"], .reseller-form li input[type="email"], .reseller-form li textarea, .reseller-form li select, .woo-pages .woocommerce input[type="text"], .woo-pages .woocommerce input[type="email"], .woo-pages .woocommerce textarea{
                    width: 100%;
                    padding: 5px; margin-top: 5px;
                    line-height: 20px;
                    border: 1px solid #dfe6ed;
                    border-radius: 3px;
                    box-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
                    -webkit-box-sizing: border-box;
                    -moz-box-sizing: border-box;
                    box-sizing: border-box;
                    }
                    .reseller-form li select{height: 36px;} */
                /*.reseller-form li select{
                    border: 1px solid #dfe6ed;
                    border-radius: 3px;
                    box-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
                    line-height: 20px;
                    padding: 5px;
                    -webkit-box-sizing: border-box;
                    -moz-box-sizing: border-box;
                    box-sizing: border-box;
                    }*/
                .reseller-form li .wpcf7-checkbox{overflow: hidden;}
                .reseller-form li input[type="checkbox"]{float: left; margin: 4px 0 0 0;}
                .reseller-form li .wpcf7-list-item-label{float: left; margin: 0 0 0 15px;}
                .reseller-form li textarea{width: 90%;}
                .reseller-form li .button-li{}

                .reseller-form .form-cf7 .gray.red{
                    display: inline-block; *display: inline; *zoom: 1;
                    padding: 10px 20px;
                    text-decoration: none; color: #666; line-height: 16px;
                    border:0;
                    -moz-box-shadow:0px 2px 2px rgba(0, 0, 0, 0.78); -webkit-box-shadow:0px 2px 2px rgba(0, 0, 0, 0.78); box-shadow:0px 2px 2px rgba(0, 0, 0, 0.78);
                    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.45);
                    -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
                    -moz-box-shadow:0px 2px 2px 0px rgba(0, 0, 0, 0.78); -webkit-box-shadow:0px 2px 2px 0px rgba(0, 0, 0, 0.78); box-shadow:0px 2px 2px 0px rgba(0, 0, 0, 0.78);
                    color: #fff;
                    background: #ff0000; /* Old browsers */
                    background: -moz-linear-gradient(top, #ff0000 0%, #d60101 100%); /* FF3.6+ */
                    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff0000), color-stop(100%,#d60101)); /* Chrome,Safari4+ */
                    background: -webkit-linear-gradient(top, #ff0000 0%,#d60101 100%); /* Chrome10+,Safari5.1+ */
                    background: -o-linear-gradient(top, #ff0000 0%,#d60101 100%); /* Opera11.10+ */
                    background: -ms-linear-gradient(top, #ff0000 0%,#d60101 100%); /* IE10+ */
                    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0000', endColorstr='#d60101',GradientType=0 ); /* IE6-9 */
                    background: linear-gradient(top, #ff0000 0%,#d60101 100%); /* W3C */
                    }

/**
* Location boxes
* ---------------------------------------------------------------*/
.reseller-location .name-top{
    position: relative;
    padding-right: 72px;
}
.reseller-location .name-top.master_dealer:after{
    content: '';
    position: absolute; right: 10px; top: 6px;
    background-image: url(../medal.png);
    background-position: 0 center;
    width: 32px; height: 32px;
}
.reseller-location .name-top.master_dealer:before{
    content: 'Master Dealer';
    position: absolute; right: -11px; top: 42px;
    font-size: 12px; line-height: 12px; color: rgba(0, 0, 0, 0.7);
}

.gm-style .name-top.master_dealer{
    padding-right: 85px;   
}
.gm-style .address-pop{
    padding-right: 45px;
}
.gm-style .name-top.master_dealer:after{
    position: absolute; right: 10px; top: 6px;
    background-image: url(../medal.png);
    width: 26px; height: 26px;
    background-size: cover;
}
.gm-style .name-top.master_dealer:before{
    display: none;
}

/**
* RESPONSIVE
* ---------------------------------------------------------------*/
@media (max-width: 1000px) {
    .location.opened > .clearfix {overflow: visible;}
    #my-locations fieldset .left, #my-locations fieldset .right{
        width: 45%
        }
    .location > .clearfix > div, .location > .clearfix > div.fields {float: none; width: 100%; padding: 0;}
    .search-toolbox label{display: inline-block;}
    .search-toolbox label.address-search-box{
        width: 25%;
    }
    .search-toolbox label.zip-search-box{
        width: 12%;
    }
    .search-toolbox label.zip-search-box input{
        width: 70px;
    }
    .search-toolbox label.state-search-box, .search-toolbox label.radius-search-box{
        width: 25%;
    }
    .search-toolbox span{
        display: block;
    }

    #locations-list{
        text-align: center;
    }

    #locations-list .reseller-location {
        width: 40%;
        padding: 20px;
        margin: 1%;
    }
}

@media (max-width: 800px) {
    .location.opened > .clearfix {height: auto;}
    #account-tabs .shop_table.shop_table_responsive.my_account_orders tbody tr{
        margin: 0; padding: 10px 0;
        border: medium none;
        }
    #account-tabs .shop_table.shop_table_responsive.my_account_orders tbody tr:nth-child(2){
        background-color: rgba(221,221,221,0.5);
        }
    #account-tabs .shop_table.shop_table_responsive.my_account_orders tbody tr td{
        padding: 0 !important; margin: 10px 0;
        background-color: transparent;
        }
    #account-tabs .shop_table.shop_table_responsive.my_account_orders tbody tr:nth-child(2) td{
            background-color: transparent;
            font-weight: normal;
            }
        #account-tabs .shop_table.shop_table_responsive.my_account_orders tbody tr td:nth-child(1){
            width: 100%;
            }
        #account-tabs .shop_table.shop_table_responsive.my_account_orders tbody tr td:nth-child(2) {
            width: 100%;
            }
        #account-tabs .shop_table.shop_table_responsive.my_account_orders tbody tr td:nth-child(3) {
            width: 100%;
            text-align: center;
            }
        #account-tabs .shop_table.shop_table_responsive.my_account_orders tbody tr td:nth-child(4) {
            width: 100%;
            }
    .location > .clearfix > .location-actions{
        text-align: center;
    }
        #my-locations .location-actions button{
            float: none;
        }

    #resellers-map-holder{
        display: none;
    }

    .search-toolbox label{
        display: block;
        padding-bottom: 15px;
    }
    .search-toolbox{
        display: block;
        padding-bottom: 0;
    }
    .search-toolbox label.address-search-box, .search-toolbox label.zip-search-box, .search-toolbox label.state-search-box, .search-toolbox label.radius-search-box{
        width: 45%;
        float: left;
        margin-bottom: 15px;
    }
    .search-toolbox label:nth-child(2n){
        float: right;
    }
    .search-toolbox input[type=text], .search-toolbox input[type=number], .search-toolbox select{
        width: 100%;
    }
    .search-toolbox label.zip-search-box input{
        width: 100%;
    }
    .search-toolbox span{
        display: block;
        padding: 0;
    }
    .search-toolbox label.state-search-box{
        width: 100%;
        float: left;
    }
    .search-toolbox  label.master-search-box{
        width: 45%;
        position: relative; top: 0;
        line-height: 30px;
    }
    .search-toolbox  label.master-search-box .box{
        top: 49px;
    }
    .search-toolbox  label.master-search-box .label{
        margin-left: 40px;
        line-height: 40px;
    }
    .search-toolbox  label.master-search-box input{

    }
    .search-toolbox .btn-blocks{
        float: right;
        width: 100%;
    }
    /* .search-toolbox button{
        display: block;
        clear: both;
        margin: 0 auto;
        padding: 10px 30px;
    } */
    .search-toolbox button i{
        font-size: 20px;
        line-height: 20px;
        }

    .r-tabs-accordion-title{
        border-bottom: 10px solid #f1f1f1;
        }
    .r-tabs-accordion-title.r-tabs-state-active{
        border-bottom: 0px solid #f1f1f1;
        }
    .r-tabs-panel.r-tabs-state-active{
        border-top: 2px solid #ccc;
        border-bottom: 10px solid #f1f1f1;
        }

    #locations-list .reseller-location {
        width: 100%;
        padding: 20px;
        margin: 0 0 5%;
    }

    #apply-for-reseller.wrapper {
        width: 80%;
    }

    #apply-for-reseller .send-res.nofloat{text-align: center;}
    #apply-for-reseller .checkbox-res{
        overflow: hidden;
    }
}

@media (max-width: 650px) {
    .search-toolbox  label.master-search-box .box{
        top: 15px;
    }
    .search-toolbox  label.master-search-box .label{
        margin-left: 20px;
        line-height: 22px;
        display: inline-block;
    }
}


@media (max-width: 600px) {
    .location-notice{
        text-align: center;
        margin: 20px 20px 10px 20px;
    }
    .location-notice p br{display: none;}
    .woocommerce-account .location-notice{
        text-align: center;
        margin: -20px -17px 10px;
        box-sizing: border-box;
        padding: 20px;
        }
    .location-notice > i{
        position: relative;
        top: auto;
        left: auto;
        margin: 0 0 10px;
        font-size: 50px;
        color: rgba(0,0,0,.41);
        display: block;
        }
    span.search-holder i{
        top: 46px;
    }

    .page-template-tpl-homepage .location-notice{
        padding: 20px;
    }
    .single-product .location-notice, .blog .location-notice, .page-template-default .location-notice, .page-template .location-notice, .page-template-resource-page-php  .location-notice, .page-template.woocommerce-account .location-notice, .page-template-tpl-resellers-map .location-notice, .page-template-tpl-resellers-map.page-template-tpl-resellers-map-php .location-notice, .single-product .location-notice, .blog .location-notice, .page-template-default .location-notice, .page-template .location-notice, .page-template-resource-page-php  .location-notice, .page-template.woocommerce-account .location-notice, .page-template-tpl-resellers-map-international .location-notice, .page-template-tpl-resellers-map-international.page-template-tpl-resellers-map-international-php .location-notice{
        padding: 20px;
    }
    .page-template-default .location-notice{
        margin: -21px -16px 25px;
    }

    .search-toolbox #search-resellers{
        width: 100% !important;
    }
    .search-toolbox span{
        margin-bottom: 0;
    }
    .search-toolbox label.address-search-box, .search-toolbox label.zip-search-box, .search-toolbox label.state-search-box, .search-toolbox label.radius-search-box{
        margin-bottom: 5px;
    }
    .search-toolbox .btn-blocks{
        width: 100%;
        float: none;
    }
    .search-toolbox button, .search-toolbox .button.gray{
        display: inline-block;
        clear: both;
        margin: 0 10px 0;
        padding: 10px 15px;
    }
}

@media (max-width: 500px) {
    .location .toolset h4{
        width: 80%;
    }
    .location .toolset .fa-eye-slash{
        right: 25px;
        }
    #my-locations fieldset .left, #my-locations fieldset .right{
        width: 100%;
    }
    #my-locations fieldset .left{
        margin-bottom: 20px;
    }
    span.search-holder{
        width: 100%;
    }
    .location .location-actions .ghoust-button{
        margin: 0 0 15px;
        display: block;
    }
    #my-locations button#save-data{
        width: 80%;
    }

    .woocommerce form .form-row{
        width: 100%;
        padding: 0;
        margin-bottom: 10px;
    }
    #my-address .edit-account .control-submit{text-align: center;}

    .search-toolbox label.address-search-box, .search-toolbox label.zip-search-box, .search-toolbox label.state-search-box, .search-toolbox label.radius-search-box{
        width: 100%;
        float: none;
    }

    #apply-for-reseller.wrapper {
        width: 90%;
    }

    .reseller-location.master_dealer:after{
        right: -10px; top: 0px;
    }
    .reseller-location.master_dealer:before{
        right: -28px; top: 37px;
    }
}

@media (max-width: 355px) {
    span.search-holder i{
        display: none;
    }
}
