/*
 Theme Name:   Storefront Child
 Description:  Storefront Child Theme
 Author:       Pixel Pie Designs
 Author URI:   http://www.pixelpiedesigns.com
 Template:     storefront
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         
 Text Domain:  storefrontchild
*/


/* @font-face {
    font-family: Mont;  
    src: url(https://www.rowntown.org/wp-content/themes/storefront-child/fonts/Montserrat/Montserrat-Regular.ttf);  
    font-weight: normal;  
} */

/* .site-header {
    background-color: blue;
 } */
/* 
body, button, input, select, textarea {
    font-family: Source Sans Pro,HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;
} */

 body, button, input, select, textarea {
    font-family: 'Montserrat', sans-serif;
 }

 .site-branding {
     width: auto;
 }

.site-search {
    float: none;
    display: inline-block;
    width: 40%;
}


.site-main header {
    margin-top: 2em !important;
}

a:focus, button:focus, input:focus, textarea:focus {
    outline: none;
}

/* header */
/* 
.col-full {
    margin: 30px auto;
} */

.site-branding {
    width: 25% !important;
    float: left !important;
    margin-right: 0 !important;
}


.site-search {
    float: left !important;
    width: 50% !important;
    clear: none !important;
    margin: 0 !important;
}

.widget_product_search .search-field {
    line-height: unset;
}

.widget.woocommerce.widget_product_search {
    margin: 0 auto;
    width: 80%;    
}
 
/* 
.right-wrapper {
    display: flex;    
    float: left !important;
    width: 25% !important;
    margin: 0 !important;
}
 
ul#site-header-cart {
    width: 50%;
}

.link-account {
    padding: 0 30px;
}  */


ul#site-header-cart {
    float: left !important;
    width: 25% !important;
    margin: 0 !important;
}

.site-header-cart .cart-contents {        
    padding: 0 !important;
}

.site-header-cart .cart-contents:after {
    float: unset !important;    
}

ul#menu-top-nav-menu {
    display: flex;
    justify-content: space-evenly;
}




/* footer */

.footer-widgets {
    display: flex;
    justify-content: space-between;
}

.footer-widgets .block {
    margin-right: 0 !important;
    width: auto !important;
}



/* home */

.page-id-165 .site-main article header {
    display: none;
}

.page-id-165 header#masthead {
    margin-bottom: 0px;
}


.wp-block-columns.featured-cat-items {
    color: #ffffff;
}

.wp-block-columns.featured-cat-items .wp-block-column h2 {
    text-transform: uppercase;
    color: #ffffff;
}

/* .wp-block-columns.featured-cat-items .wp-block-column .wp-block-bottons > .wp-block-botton {
    margin: 0 auto; 
} */

/* position the button in center, we have to override this specific rules from the theme */
/* .editor-styles-wrapper .wp-block-button, .hentry .entry-content .wp-block-button {
    margin-bottom: 0;
} */
.wp-block-buttons > .wp-block-button:last-child {
     margin-right: auto; 
 }
.wp-block-buttons > .wp-block-button {     
     margin: 0 auto; 
 } 


 .widget .widget-title, .widget .widgettitle,
 h1.woocommerce-products-header__title.page-title {
    text-transform: uppercase;
    font-weight: bold;
}




/* woo products grid */

/* woocommerce-LoopProduct-link woocommerce-loop-product__link */
.woocommerce .product img {
    border-radius: 30px;
    /* border: 1px solid #112B47; */
}

.woocommerce-LoopProduct-link h2.woocommerce-loop-product__title {
    text-overflow: ellipsis;    
    white-space: nowrap;
    overflow: hidden;
    border-top: 2px solid #eee;
    padding-top: 1.618em;
}
 
.woocommerce-LoopProduct-link h2.woocommerce-loop-product__title, 
.woocommerce-LoopProduct-link .price {    
    font-weight: bold !important;
}


.wcfmmp_sold_by_wrapper img.wcfmmp_sold_by_logo,
.woocommerce-LoopProduct-link .star-rating,
.woocommerce-LoopProduct-link .wcfmmp_sold_by_label,
.woocommerce-LoopProduct-link .wcfmmp_sold_by_logo,
.wcfmmp_sold_by_container .wcfmmp-store-rating {
    display: none !important;
}

.wcfmmp_sold_by_container {
    margin: 16px;
}

.products li {
    border: 2px solid #fff;
    padding: 8px;
}

.products li a.button {    
    border-color: #ddd;    
}

.products li .onsale {
    background-color: #EF4548;
    color: #fff;
    position: absolute;
    top: 24px;
    right: 24px;
}


.products li ins .woocommerce-Price-amount {
    color: #EF4548;
}

.products li:hover {
    border: 2px solid #ddd;
}

.products li:hover a.button {
    background-color: #FEBA22;
    border-color: #FEBA22;
    color: #fff;
}


/* Directory */
/* 
li.wcfmmp-single-store {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 20px;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.1);    
}

li.wcfmmp-single-store .store-info {
    background-image: none !important;
}

li.wcfmmp-single-store .bd_rating,
li.wcfmmp-single-store .store-enquiry {
    display: none !important;
}

li.wcfmmp-single-store .store-data h2 a,
li.wcfmmp-single-store .store-address {
    color: #333 !important;
    display: block;
} */


/* vendor store page */

#wcfmmp-store .tab_area .tab_links {
    border-bottom: 3px solid #FEBA22;
}

#wcfmmp-store .tab_area .tab_links li {
    border: 0;
    margin: 0 10px 0 0;
    background: #112B47;
}

#wcfmmp-store .tab_area .tab_links li.active {
    border: none !important;
    background-color: #FEBA22;
}

#wcfmmp-store .tab_area .tab_links li:after {
    content: inherit;
}

#wcfmmp-store p.woocommerce-result-count {
    padding: .327em 0;
}

.storefront-sorting {
    border-bottom: 3px solid #FEBA22;
    padding-bottom: 30px;
}

.widget_categories form,
.storefront-sorting .woocommerce-ordering {
    background-color: #eee;
    border-radius: 30px;
    padding: 10px;
}

.woocommerce-result-count {    
    color: #aaa;
    font-weight: bold;
    text-transform: uppercase;
}

.widget_product_search .search-field,
.widget_categories select, 
.widget_categories select:focus-visible,
.widget_categories select:focus,
.storefront-sorting select, 
.storefront-sorting select:focus-visible,
.storefront-sorting select:focus {
    border: none;
    background-color: #eee;    
    border-color: #eee !important;
    color: #aaa;
    width: 100%;    
    font-weight: bold;
    text-transform: uppercase;    
}

/* Sidebar */

#secondary.widget-area {
    margin-top: 30px;
}

#secondary.widget-area div#categories-2 {
    margin: 0;
}

.widget .widget-title, .widget .widgettitle {
    color: #757575 !important;
}

.widget_categories form {
    /* width: fit-content; */
    margin-left: auto;
    margin-right: auto;
}

/* ------------------------ Ad Spaces -------------------------- */

/* Ad Leaderboard */
.bsaProContainerNew
{    
    margin: 40px auto;    
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 20px;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.1);    
}

.bsaProContainerNew .bsaProItemInner__img
{
    background-size: cover !important;
}

/* Ad Featured Shops */

.post-165 .bsaProContainerNew {
    border: none;
    box-shadow: none;
    border-radius: unset;
    margin: 0;
}

.post-165 .bsaProContainerNew .bsaProHeader {
    display: none;
}

.post-165 .bsaProContainerNew .bsaProItemInner__img {
    height: 400px !important;    
}

/* 
.post-165 .bsaProCarousel {
    max-width: none;
}

.post-165 .bsaProItem.bsaHidden.animated.fadeIn {
    width: 90% !important;
} */

.owl-item {
    padding-right: 1%;
}

.owl-buttons {
    font-size: 30px;
    font-weight: bolder;
    display: inline-flex;
}

.owl-prev, .owl-next {
    margin: 16px;
    padding: 8px;
    background-color: #122A47;
}

/* header */

.primary-navigation li:focus-visible,
.primary-navigation a:focus {
    outline: none;
}

/* footer */
footer .site-info a {
    color: #EF4548 !important;
    font-size: 1.2em !important;
}

 @media (min-width: 768px) {

    /* header */

    .woocommerce-active .site-header .site-branding {    
        width: auto;    
    }    

    .woocommerce-active .site-header .site-search {
        float: none;
        display: inline-block;
        width: 40%;
    }

    .woocommerce-active .site-header .main-navigation {    
        width: 100%;    
    }    


    /* footer */
    .site-footer #menu-footer-menu {
        display: inline-flex;
    }

    .site-footer .footer-widgets-4 {
        width: 14%;    
    }


    /* ad spaces ----------------------------*/

    
}
