#primary {
    width: 100%;
}

/* Map Styles */
#map-wrapper {
    width:100%;
    display: flex;
    flex-direction:column;
}

#map {
    width:100%;
    height: 550px;
    border: 1px solid #B6C100;
}

#smcm_map_location_finder {
    width: 300px;
    margin: 0 auto 10px;
    text-align: center;
    font-size: 14pt;
}

#smcm_map_preview {
    width: 300px;
    margin: 0 auto 10px;
    text-align: center;
    font-size: 14pt;
}

#smcm_map_location_finder_error {
    border: 1px solid #838383;
    text-align: center;
    margin-bottom: 10px;
    padding: 10px 20px;
    background: #838383;
    clear: both;
    color: #fff;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 900;
    font-size: 13pt;
}

#smcm_map_location_finder button {
    padding-left: 20px;
    padding-right: 20px;
}

#smcm_map_location_summary {
    font-size: 9pt;
    color: #aaa;
    line-height: 1.3em;
}

#smcm_map_location_summary .coordinate {
    margin-bottom: 10px;
}

#smcm_map_location_summary span {
    display: block;
}

/* Override width we want it all*/
.smcm_custom_map_product .col-sm-8 {
    width:100% !important;
}

.smcm_custom_map_product .sm_single_product {
    border:0;
    padding:0;
}

.smcm_custom_map_product .sm_single_product .summary.entry-summary {
   display:none !important; 
}

.tabs.wc-tabs {
    padding: 0;
    border-bottom: 1px solid #B6C100;
}

.tabs.wc-tabs li {
    list-style: none;
    display: inline-block;
    border-top: 1px solid #B6C100;
    border-left: 1px solid #B6C100;
    border-right: 1px solid #B6C100;
    padding: 6px;
    cursor: pointer;
}

.tabs.wc-tabs li.active {
    background: #B6C100;
}

.tabs.wc-tabs li.active a {
    color: #fff;
}
        
/* Product Details for Cart */
    .woocommerce .product.smcm_custom_map_product .images {
    display: none;
}

.archive.woocommerce .smcm_custom_map_product  .add_to_cart_button {
    display: none;
}

.woocommerce .product.smcm_custom_map_product .summary {
    border-top: 1px solid #ccc;
    padding-top: 10px;
    float: none !important;
    width: 80% !important;
    margin: 0 auto;
}

.woocommerce .smcm_custom_map_product h1[itemprop="name"] {
    float: left;
}

.woocommerce .smcm_custom_map_product div[itemprop="offers"] {
    float: right;
}

.smcm_map_product_details_clear {
    clear: both;
}

.smcm_map_product_details_size_first {
    width: 58%;
    float: left;
    margin-right: 2%;
    padding: 0;
}

.smcm_map_product_details_size_second {
    width: 40%;
    margin: 0;
    padding: 0;
    float: left;
}

.smcm_map_product_details_item label {
    font-weight: bold;
    font-size: .9em;
    display: block;
}

#smcm_map_measurements {
    display: none;
}

/* Map Title */
#smcm_details_title, #_smcm_details_title {
    border: 1px solid #B6C100;
    font-size: 1.5em;
    padding: 4px;
}

#smcm_details_title_label_remaining {
    font-weight: normal;
    font-size: 9pt;
    color: green;
}

#smcm_details_title label {
    display: block;
}

#smcm_map_product_details_item_title {
    margin: 15px 0 10px;
}

/* Sharable Box */
#smcm_map_product_details_share {
    clear: both;
    padding: 0 0 20px;
}

#smcm_map_product_details_share label {
    font-weight: bold;
    margin-right: 10px;
    font-size: .9em;
    display: block;
}

#smcm_map_product_details_share textarea {
    width: 100%;
    height: 50px;
    font-size: .9em;
    border: solid 1px #B6C100;
}

.smcm_map_product_tab .gform_wrapper textarea {
    width: 100%;
    height: 50px;
    border: solid 1px #B6C100;
}

/* Tab List */
.smcm_map_product_details_tab_list {
    margin-bottom: 0;
    padding: 0px;
    padding-bottom: 3px;
    border-bottom: solid 1px #B6C100;
    border-right: 1px #B6C100;
    display: block;
}

.smcm_custom_map_product .quantity {
    float: left;
}

.smcm_map_product_details_tab_list li {
    display: inline;
    padding: 0;
    background: #B6C100;
    border: solid 1px #B6C100;
    padding: 5px 7px;
}

.smcm_map_product_details_tab_list li a {
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    font-size: 10pt;
    font-weight: 900;
    font-style: italic;
    font-size: 11pt;
    text-transform: uppercase;
}

.smcm_map_product_details_tab_list li.ui-tabs-active {
    background: #fff;
    border-bottom: solid 1px #fff;
}

.smcm_map_product_details_tab_list li.ui-tabs-active a {
    color: #838383;
}

.smcm_map_product_details_tab_list li a:hover {
    border-color: #ADC760;
}

.smcm_map_product_tab {
    padding-top: 15px;
}

.leaflet-areaselect-shade {
    position: absolute;
    background: rgba(0,0,0, 0.4);
}

.leaflet-areaselect-handle {
    position: absolute;
    background: #fff;
    border: 1px solid #666;
    -moz-box-shadow: 1px 1px rgba(0,0,0, 0.2);
    -webkit-box-shadow: 1px 1px rgba(0,0,0, 0.2);
    box-shadow: 1px 1px rgba(0,0,0, 0.2);
    width: 14px;
    height: 14px;
    cursor: move;
}


#content {
    padding: 10px;
    text-align: center;
    margin-bottom: 5em;
}

#midrow {
    margin: 0px auto;
    text-align: left;
    max-width: 500px;
    font-size: 11pt;
}


#smcm_details_title,
#location {
    border: 1px solid #B6C100;
    padding: 4px;
}

#location-search button
{
    background: #B6C100;
    border: none;
    box-shadow: none;
    padding: 10px 20px;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    font-size: 12pt;
}

#above-map {
    text-align: center;
    padding: 5px;
    z-index:9;
}

#location-search {
    display: inline-block;
    text-align: left;
    width: 100%;
}

#location-search #location {
    width: 100%;
    font-size: 1.5em;
}

#location-search button {
    line-height: 0.8em;
    margin-left: 5px;
}

#location-search ul {
    margin-top: 5px;
    display: none;
    list-style-type: none;
    padding: 5px;
    background-color: #B6C100;
    width: 95%;
}

#location-search li {
    margin: 3px 0;
    font-size:1.5em;
}

#location-search li a {
    color: #fff;
    font-weight: 900;
}

#location-search p {
    margin-top: 0;
    font-style: italic;
    font-size: 0.8em;
}


#below-map {
    border-top: none;
    margin-top: 10px;
    padding: 5px;
    font-size: 0.9em;
    width:100%;
}


#below-map #details {
    display: none;
}


.expl {
    font-style: italic;
    font-size: 0.9em;
}

#smcm_details_title {
    width: 100%;
}
#smcm_details_title_label_remaining {
    text-align: right;
    font-size: 0.9em;
}


.leaflet-control-attribution a {
    color: #333;
}

.leaflet-control-attribution a:hover {
    color: navy;
}


.leaflet-control-locate {
    display:none;
}

.sm_label {
    display: block;
    font-weight: 700;
}

.sm_label > span {
    font-weight: 500;
}

.smcm_custom_map_product .product_meta {
    margin-top: 30px;
}

.smcm_custom_map_product .entry-summary{
    margin-top: 30px;
}

.sm_single_product {
    width: 100%;
}


.sm-control-preview {
    background-color: #FFFFFF;
    border-radius: 4px;
    width: 52px;
    height: 52px;
    line-height: 52px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.65);
}
.sm-control-preview a {
    /*background-image: url(../images/appbar.image.png);*/
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAABMCAYAAADHl1ErAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHhSURBVHhe7dixLkVBEAbgS0GhEY1CL/ECnkKh8QLewTN4C/EIolEr1Bo6otdLUOCf2EnGzdx79zi7O3v5v+TPMjbOmHuu5UyIiIiIiIiIiIiIiGgprKR1rM+09m70z7uaVsrEgQ1U4y1Z6nuWUrQ33mED1RyYvLKzco/8a3YYytam84qsIy3Y644W+ZZ8S+tSiRrYY1qXTtTALtL6b3m/J2zN5gnZQFqx1+6G15StaZ6RfaQle/1ueE3Z2gtyjmwjrdk+Rqv5l/4msofIaXiHvCMRvN7CFX0VM6whuQdW696ytGxKhiWn7BmSM7SWvWVr1ZQOS681a2gnaRWtehukRVPTw9JMD+0YsX3Yvd2o3dSsYWl0aEfIR6opu68bNZtaNCzNFSInsX6u7J5u1Goqd1helFcLV6OpMcOSKK8WrnRTY4clUV4tXMmmSgxLorxauKFN7SIH3x/+UGpYEuXVwg1pagd5QOREO5RCUnJYEuXVwuU2tYXcIrpXh1Z6WBLl1cLlNCUPDa8Ru1ciQ7uZqpWI8mrhFjUld9AlYvfVjvJq4eY1Jf+yyMNDu6dFlFcLN6+pU8R+vVWUV/u1mk9ce1G0t5wHcGTUuMN6xjusNQ6MiIiIiIiIiIiIiIj+oMnkC2KPud7IaRqeAAAAAElFTkSuQmCC);
    background-size: 52px 52px;
    height: 52px;
    width: 52px;
    line-height: 52px;
    display: block;
}

.sm-control-preview a:hover {
    background-color: #F4F4F4;
    border-radius: 4px;
}

#preview_wrapper {
    display: flex;
    flex-direction: column;
    align-content: space-between;
}


#preview-backdrop {
    background-color: #222222;
    opacity: 0.7;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0; left: 0;
    z-index: 1500;
}

#preview-map {
    background-color: #CCCCCC;
    border: 1px solid #B6C100;
    width: 90%;
    height: 90%;
    position: fixed;
    top: 5%; left: 5%; bottom: 5%; right: 5%;
    z-index: 1600;

}

#preview-map-close {
    position: fixed;
    left: 100px;
    top: 100px;
    padding: 20px;
    background: #333;
    z-index: 1700;
    cursor: pointer;
    color: white;
    box-shadow: 0 1px 5px rgba(0,0,0,0.65);
    font-size: 2em;
    opacity: 0.4;
    width: 70px;
    text-align: center;
}

#preview-text {
    position: absolute;
    top: 5%;
    left: 5%;
    z-index: 1800;
}

#preview-map .leaflet-tile-pane {
    z-index: 100;
}

#map_scale_label {
    display:none;
}

#map .leaflet-bar a {
    background-color: #B6C100;
    color: #000;
}

#map .leaflet-bottom, #map .leaflet-top
{
    z-index: 7 !important;
}


.search-icon {
    float: left;
    background: #B6C100 url('/wp-content/themes/splashmaps/img/search_button.png') no-repeat center center;
    border: none;
    width: 40px;
    height: 40px;
}

#preview_area {
    float: left;
    height: 780px;
    border: 3px dotted #ccc;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 10px;
    /*background: url("/wp-content/themes/splashmaps/img/border.png") no-repeat; */
}

#product_detail {
    position: fixed;
    width: 60%;
    height: 60%;
    border: 1px solid #ccc;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    overflow: scroll;
    background: #fff;
    top: 20%;
    left: 20%;
    z-index: 99999;
    display: none;
    -moz-box-shadow: 1px 1px rgba(0,0,0, 0.2);
    -webkit-box-shadow: 1px 1px rgba(0,0,0, 0.2);
    box-shadow: 1px 1px rgba(0,0,0, 0.2);
}

    #product_detail .content {
        text-align:center;
        margin: 10px 0 0 0;
        padding: 5px;
        height:100%;
    }
        #product_detail .content p {
            padding: 20px;
        }

.preview_carousel_more_info {
    margin: 2px 0 2px 0;
    background: #afba00;
    width: 80%;
    color: #fff;
    cursor: pointer;
    height: 20px;
    text-align: center;
}

.enlarge {
    overflow: scroll !important;
    display: block !important;
}

#preview_carousel {
    width: 95%;
    height: 120px;
    box-sizing: border-box;
    margin: 0 0 0 0;
    display:flex;
}

    #preview_carousel .preview_carousel_content {
        display:flex;
        flex-direction: row;
        overflow: hidden;
    }

    #preview_carousel .preview_carousel_content .preview_carousel_product.highlight {
        border: 2px solid #B6C100;
    }

#preview_carousel .right_arrow {
    width: 34px;
    min-height: 86px;
    height: 100%;
    background: #afba00 url('/wp-content/themes/splashmaps/img/menu_arrow.png') no-repeat center center;
    cursor: pointer;
}

#preview_carousel .left_arrow {
    width: 34px;
    min-height: 86px;
    height: 100%;
    background: #afba00 url('/wp-content/themes/splashmaps/img/menu_arrow.png') no-repeat center center;
    cursor: pointer;
    transform: rotate(180deg);
}


.stage-row {
    display:flex;
    justify-content:start;
    align-items: center;
    margin: 20px 0;
}

    .stage-row .stage-right {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 80%;
    }

    .stage-row .stage-img {
        width: 100px;
        height: 100px !important;
    }

#preview_totals {
    position: fixed;
    bottom: 0px;
    background: #cccd;
    display: flex;
    padding: 4px;
    justify-content: space-between;
    z-index: 1009;
    width: 99%;
    -moz-box-shadow: 1px 1px rgba(0,0,0, 0.2);
    -webkit-box-shadow: 1px 1px rgba(0,0,0, 0.2);
    box-shadow: 1px 1px rgba(0,0,0, 0.2);
}

    #preview_totals input {
        width: 80px;
        background: white;
    }

    #preview_totals .amount1 {
        font-size: 1.5em;
        background: #FFF;
        color: #222;
        padding: 4px;
        margin: 0 5px;
        text-align: center;
        min-width: 100px;
        align-content: center;
    }

    #preview_totals a {
        text-transform: uppercase;
        font-style: italic;
        width: 130px;
        height: 54px;
        padding: 8px;
        background: #B6C100;
        color: #fff;
        font-size: 1.2em;
        margin: 0 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    #preview_totals .buttons {
        text-transform: uppercase;
        font-style: italic;
        height: 54px;
        padding: 8px;
        background: #B6C100;
        color: #fff;
        font-size: 1.2em;
        margin: 0 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border: 0;
    }

    #preview_totals .buttons:disabled
    {
        opacity: 0.5;
    }

.loading_message {
    text-align:center;
}

.additional_information_tab {
    display:none !important;
}

#share_location {
    position: fixed;
    left: 20%;
    top: 20%;
    width: 60%;
    height: 60%;
    border: 1px solid #ccc;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #fff;
    z-index: 99999;
    display: none;
    -moz-box-shadow: 1px 1px rgba(0,0,0, 0.2);
    -webkit-box-shadow: 1px 1px rgba(0,0,0, 0.2);
    box-shadow: 1px 1px rgba(0,0,0, 0.2);
    padding:40px;
}

    #share_location a {
        text-transform: uppercase;
        font-style: italic;
        width: 140px;
        height: 60px;
        padding: 8px;
        background: #B6C100;
        color: #fff;
        font-size: 1.2em;
        margin: 10px 33%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }


#tablepress-11_wrapper {
    display: none;
}

#sidebar {
    display:none;
}

.map-section-inner {
    width: 50%;
}

#tab-description h2, .up-sells h2, .related h2
{
    font-size: 1.2em !important;
}

.row {
    margin: 0 !important;
}

#products
{
    margin: 10px; 
    width:100%; 
    display:flex;  
    justify-content: space-around;
}

@media screen and (max-width: 890px) {

    #map-section {
        display: block !important;
        padding: 0 6px 0 0;
    }

    .map-section-inner {
        width: 100%;
    }
      
    #smcm_details_title, #_smcm_details_title {
        width: 99%;
    }

    .sm_searchbar_wrapper {
        display: none !important;
    }

    .sm_single_product {
        padding: 0 !important;
    }

    .smcm_custom_map_product .col-sm-8 {
        padding: 0 2px 0 2px;
    }

    #above-map {
        padding: 0;
    }

    #map {
        width: 100%;
        height: 300px;
    }

    #product_detail {
        height: 60%;
    }

    #location-search #location {
        font-size: 1.0em;
    }

    #smcm_details_title, #_smcm_details_title {
        font-size: 1.0em;
    }


    .stage-row {
        flex-direction: column;
    }

        .stage-row .stage-img {
            width: 120px;
            height: 120px !important;
        }

        .stage-row .stage-right {
            margin: 0 0 0 5px;
            width: 100%;
        }


    #preview_area {
        height: 300px;
    }

    .preview_carousel_more_info {
        width: 100%;
    }
    #preview_totals .buttons
    {
        margin: 0 4px;
    }

    .search-icon {
        width: 30px;
        height: 30px;
    }

    #preview_totals {
        width: 100%;
        left: 0;
        margin-left: 0;
        flex-direction: column;
        align-items: center;
        font-size: 0.7em;
        border-radius: 0;
    }

        #preview_totals a {
            width: auto;
            margin: 0 4px;
        }

        #preview_totals .amount1 {
            font-size: 1.8em;
        }

        #preview_totals div {
            margin: 0 0 10px 0;
        }

    #preview_carousel {
        width: 100%;
    }

    #share_location {
        position: fixed;
        left: 2%;
        top: 2%;
        width: 96%;
        padding: 10px;
    }

    #preview_carousel .right_arrow, #preview_carousel .left_arrow {
        width: 55px;
    }

    #product_detail {
        width: 96%;
        height: 90%;
        top: 4%;
        left: 2%;
    }

        #product_detail h2 {
            font-size:1.3em;
            font-weight: bold;
        }
        
    #products
    {
        margin: 0; 
        width:100%; 
        display:block;  
    }
    
}
