/* Theme Name: Elmers*/

html, body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

.relative {
    position: relative;
}

.img-center {
    margin: 0 auto;
}

.bg-elmers-blue {
    background: #2b2c6c;
}

.bg-elmers-grey {
    background: #ebebeb;
}

.bg-elmers-red {
    background: #f01d25;
}

.elmers-btn {
    display: block;
    color: #2b2c6c;
    border: 1px solid #2b2c6c;
    font-weight: 300;
    font-size: 16px;
    padding: 13px 15px;
    text-align: center;
    text-decoration: none;
	margin-bottom:50px;
	
}

.site-header {
    padding-bottom: 58px;
}

.site-logo {
    position: relative;
    z-index: 1;
}

.site-logo .logo {
    position: absolute;
}

.header-strip-padding {
    padding-left: 337px;
}

.location-item-small {
    display: inline-block;
    /*padding: 20px 20px 20px 0;*/
    font-weight: bold;
	font-size:24px;
    color: #595caa;
}

.location-item-small:not(:first-of-type) {
    padding-left: 33px;
}

.navbar-main {
    padding: 15px 0px;
    margin: 0;
}

.navbar-main li > a {
    color: #fff;
    font-size: 17px;
    font-weight: 300;
    padding: 10px 14px;
}

.navbar-main li a:focus, 
.navbar-main li a:hover {
    text-decoration: none;
    background-color: transparent;
}

#menu-main-menu > li:first-of-type a {
    padding-left: 0;
}

.nav .open>a, .nav .open>a:focus, .nav .open>a:hover,
.dropdown-menu {
    background-color: #32338c;
}
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
    color: #fff;
    background: #27286c;
}

.site-tagline {
    display: block;
    color: #595caa;
    padding: 10px 0px 10px 15px;
}

.site-tagline .sep {
    
}

.flexslider {
    margin-top: -57px;
    border: none;
    overflow: hidden;
    margin-bottom:0px;
}
/* Homepage main banner  " Furniture super store"*/
.main-banner-tagline {
    position: absolute;
    bottom: 100px;
    left: 0px;
    padding: 14px 45px;
    /*SK
    width: 100%;
    max-width: 1140px;*/
	width:80%; /*SK:*/
    left: 0;
    right: 0;
    margin: 0 auto;
    
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#2b2c6c+0,2b2c6c+100&1+0,0+100 */
    background: -moz-linear-gradient(left, rgba(43,44,108,1) 0%, rgba(43,44,108,0.0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(43,44,108,1) 0%,rgba(43,44,108,0.0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(43,44,108,1) 0%,rgba(43,44,108,0.0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b2c6c', endColorstr='#002b2c6c',GradientType=1 ); /* IE6-9 */
    
    color: #fff;
}

.main-banner span {
    display: block;
}

.main-banner-tagline .lg {
    font-size: 36px;
    font-weight: bold;
}

.main-banner-tagline .sm {
    font-size: 24px;
    font-weight: 300;
}

@media(max-width: 1200px) {
    .main-banner-tagline {
    }
}

@media(max-width: 992px) {
    .main-banner-tagline {
        bottom: 50px;
    }
}

@media(max-width: 767px) {
    .flexslider {
        margin: -57px 0 0px;
    }
    .main-banner-tagline {
        position: relative; 
        bottom: auto;
        padding: 14px 15px;
    }    
}

.specials-title {
    font-size: 36px;
    padding: 6px 62px;
    display: block;
    float: left;
    margin-bottom: 60px;
    position: relative;
    color: #fff;
    font-weight: bold;
}

.specials-title:after {
    content: ' ';
    background: #fff url(images/tag-bottom-lg.png) top center no-repeat;
    display: block;
    position: absolute;
    bottom: -9px;
    left: 0px;
    right: 0px;
    height: 9px;
}

.specials-read-more {
    color: #fff;
    text-align: center;
    padding: 10px;
    margin-top: 115px;
    font-size: 24px;
    font-weight: 300;
}
.specials-read-more a {
    color: #fff;
    text-decoration: none;
}

.specials-wrapper a.button.ajax_add_to_cart {
    display: none;
}
@media(max-width: 767px) {
.product-wrapper .price{
	 float: left;
}
}
@media(min-width: 767px) {
.product-wrapper .price{
	 float: right;
}
}

.summary .price{
	 float: left;
}

.price {
    display: block;
   
    position: relative;
    color: #fff;
    font-weight: bold;
    background: #f01d25;
    text-decoration: none;

    padding: 17px 10px 9px;
    margin-right: 10px;
    margin-bottom: 9px;
	width:70px;
	height:70px;
}

.price:after {
    content: ' ';
    background: #fff url(images/tag-bottom-sm.png) top center no-repeat;
    display: block;
    position: absolute;
    bottom: -9px;
    left: 0px;
    right: 0px;
    height: 9px;
}

.price ins {
    text-decoration: none;
}

.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: #fff;
}

.woocommerce-loop-product__link, 
.woocommerce-loop-product__link:hover {
    text-decoration: none !important;
    color: #000;
}

.woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: bold;
    margin: 15px 0 15px 0;
    color: #000;
	min-height:35px;
}

.attachment-shop_catalog {
    display: block;
    margin: 0 auto;
    padding-bottom: 25px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.welcome-wrapper {
    position: relative;
    padding:0px;
    margin: 0;
    color: #fff;
}

.welcome-wrapper::before {
    content: ' ';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 50%;
    background: #2b2c6c url(images/table-image.jpg) top left no-repeat;
}

.elmers-btn-outline,
.elmers-btn-outline:hover {
    color: #fff;
    border: 1px solid #fff;
    text-transform: uppercase;
    text-decoration: none;
    padding: 31px 0px;
    margin: 161px auto;
    width: 277px;
    text-align: center;
    display: block;
    font-size: 21px;
}

.vertical-center {
    display: table;
    vertical-align: middle;
    height: 100%;
    max-height: 416px;
}

.vertical-center-inner {
    display: table-cell;
    vertical-align: middle;
}

.content-padding {
    padding-top: 0px;
    padding-bottom: 50px;
}
.home-page .content-padding {
    padding-top: 30px;
}
/**SK homepage blocks for interest etc
.panel-grid-cell .panel-cell-style {
    max-height: 320px;
}*/
/*SK new*/
.panel-grid-cell .panel-cell-style {
    height: 400px;
}

.copyright,
.copyright a {
    text-align: center;
    color: #a7a7a7;
    padding-top: 50px;
	font-weight: 300;
	text-transform: uppercase;
	font-size: 12px;
}

@media(max-width: 1200px) {
    .navbar-main li > a {
        font-size: 14px;
        padding: 10px 6px;
    }
    .location-item-small:not(:first-of-type) {
        padding-left: 0px;
    }
    .location-item-small {
        padding: 9px 20px 9px 0;
    }
}

@media(max-width: 768px) {
    .header-strip-padding {
        padding: 0;
    }
    .site-logo {
        display: none;
    }
}

@media(max-width: 767px) { 
     .navbar-toggle {
        float: none;
        border: 1px solid #fff;
        margin: 0;
        display: block;
        width: 100px;
    }

    .navbar-toggle .icon-bar {
        background: #fff;
        width: 18px;
    }
    .icon-bars {
        float: left;
    }
    .tag-bar {
        color: #fff;
        text-transform: uppercase;
        line-height: 15px;
    }
	
	.header-strip-padding {
		text-align: center;
	}
	
	.location-item-small, .location-item-small:not(:first-of-type) {
		padding: 10px;
	}
	
	.footer {
		text-align: center;
	}
	
	.footer img {
		display: inline-block;
	}
	
}

h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}
h2 {
    font-size: 24px;
    font-weight: 300;
}
h3 {
    font-size: 20px;
    font-weight: 300;
}

p {
    margin-bottom: 25px;
}

.main-banner {
    position: relative;
}

.banner-caption {
    position: absolute;
    background: #0f0;
    top: 0; left: 0;
}

.elmers-story-banner {
    background: transparent url(images/the-elmers-story-bg.jpg) top center no-repeat; /*top center no-repeat;*/
    height: 235px;
    text-decoration: none !important;
	background-size: 80%;
}
.elmers-story-banner__tagline {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #fff !important;
	border: 1px solid #fff;
    padding: 25px;
    margin-top: 75px;
	    text-shadow: 3px 2px 9px #000;
	text-align: center;
}

@media(max-width: 1441px) { 
	.elmers-story-banner__tagline {
		margin-top: 75px;
		
	}
	.elmers-story-banner {
		background: transparent url(images/the-elmers-story-bg.jpg) ; /*top center no-repeat;*/
		height: 235px;
	}
}
.footer {
    margin-top: 50px;
}

.woocommerce-pagination {
    margin-top: 25px;
	
}
.page-numbers {
    list-style: none;
    float: left;
    padding: 5px 10px;
    margin: 0px;
    background: #2b2c6c;
    font-weight: bold;
    color: #fff;
}
.page-numbers.current {
    color: #f01d25;
}
.page-numbers li {
    float: left;
}
a.page-numbers {
    text-decoration: none;
}
a.page-numbers:hover,
a.page-numbers:active {
    color: #efefef;
}

.product-wrapper {
    padding-bottom: 10px;
	
}

.specials-btn {
    display: none;
}

.specials-wrapper .specials-btn {
    display: block;
}
.specials-wrapper .readmore-btn {
    display: none;
}

.woocommerce-ordering {
    float: right;
    margin: 15px 0px;
    padding-right: 20px;
}

.woocommerce-result-count {
    color: #fff;
	float: left;
    margin: 15px 0px;
    padding-left: 20px;
}

.woocommerce-control-wrapper {
    background: #2b2c6c;
    margin: 30px 0px;
}

.tabs.wc-tabs {
    display: none;
}

.product_meta {
    clear: both;
}

.price del {
    display: block;
    font-weight: normal;
    color: #ff8383;
}

.products > div:nth-of-type(3n+1) {
    clear: both;
}

.elmers-timeline {
    background: #fff url(images/vertical-border.png) top center repeat-y;
}

.elmers-timeline__container {
    overflow: auto;
}

.elmers-timeline__container:not(:first-of-type) {
    margin-top: -11%;
}

.elmers-timeline__item {
    width: 50%;
}
.elmers-timeline__item img {
    margin-bottom: 10px;
}

.elmers-timeline__container.left .elmers-timeline__item {
    float: left;
    padding-right: 45px;
    padding-left: 22px;
    background: transparent url(images/horizontal-border.png) 100% 50% no-repeat;
}
.elmers-timeline__container.right .elmers-timeline__item {
    float: right;
    padding-left: 45px;
    padding-right: 32px;
    background: transparent url(images/horizontal-border.png) 0% 50% no-repeat;
}

@media(max-width: 767px) {
    .elmers-timeline__item {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    .elmers-timeline__container:not(:first-of-type) {
        margin-top: 50px;
    }
    .elmers-timeline__container.left .elmers-timeline__item,
    .elmers-timeline__container.right .elmers-timeline__item {
        background: #fff;
        float: none;
        padding: 25px 0px;
    }
}

@media(max-width: 1200px) {
    .price {
        font-size: 18px;
    }
}

@media(max-width: 992px) {
    .welcome-wrapper::before {
        left: 0%;
        width: 100%;
        background: #2b2c6c url(images/table-image.jpg) bottom left no-repeat;
        background-size: contain;
    }
}

@media(max-width: 767px) {
    .site-header {
        padding-top: 67px;
        margin-top: 0;
        padding-bottom: 0;
    }
    
    .elmers-navigation {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1;
    }

    .specials-title {
        float: none;
        width: 261px;
        margin: 0 auto 60px;
    }
    .product-wrapper {
        padding-bottom: 10px;
        max-width: 360px;
        margin: 0 auto;
    }
    .specials-read-more {
        margin-top: 30px;
    }
    .welcome-wrapper::before {
        background-size: auto;
    }
    
    .site-logo .logo {
        position: relative;
        margin: 0 auto;
    }
    
    .site-logo {
        display: block;
    }
}

.product-image-wrapper {
   /* position: relative;
    height: 310px;*/
}

#panel-5-0-1-0, #panel-5-0-2-0, #panel-5-0-0-0 {
	margin-bottom: 0 !important;
}
#panel-5-0-1-1> .panel-widget-style {
	padding-top: 0 !important;
}
/*SK: Removed.This mess up new product page*/
.woocommerce .products img, .woocommerce-page .products img {
    /*SKdisplay: block;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    max-width: 100%;
    bottom: 0;
    max-height: 310px;
    width: auto;*/
}

.woocommerce div.product div.summary {
    float: none;
}
/*SK: Load more products plugin buttons. Removed plugin
.lmp_load_more_button .lmp_button, 
.lmp_load_more_button .lmp_button:hover {
	background-color: #2b2c6c !important;
	color: #fff !important;
}
*/
.many-more-header, .many-more-header-mobile {margin-bottom: 10px;}
.many-more-footer, .many-more-footer-mobile {margin-top: 10px;}
.many-more-header-mobile, .many-more-footer-mobile {display: none;}

@media(max-width: 767px) {
	.many-more-header, .many-more-footer {
		display: none;
	}
	.many-more-header-mobile, .many-more-footer-mobile {
		display: block;
	}
}

/**SK: Remove manymore banner mobile on shop page temporarily
 **/
.many-more-header-mobile, .many-more-footer-mobile{
	display:none !important;
}

/**SK Footer logos right align*/
@media(min-width: 992px) {
	.footer .col-md-6 a{
		float:right;
	}
}
/**SK Footer logos left align mobile view*/
@media(max-width: 992px) {
	.footer .col-md-6 a{
		/*float:left;*/
	}
}


@media(max-width: 767px) {
	.product-image-wrapper{
		height:310px;
		border:1px !important;
		border-style:solid;
		
	}
}

/* ==========================================================================
   CUSTOM ELMERS HEADER & MOBILE MENU CSS
   ========================================================================== */

/* --- 1. HEADER PHONE BUTTON (DESKTOP) --- */
.header-phone-btn {
    display: inline-block;
    background-color: #f01d25; /* Elmers Red */
    color: #fff !important; 
    padding: 8px 18px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none !important;
    border-radius: 4px; 
    transition: background-color 0.3s ease;
    margin-top: -5px; /* Nudges the button up slightly to align with the text */
}

/* Hover State */
.header-phone-btn:hover {
    background-color: #2b2c6c; /* Elmers Blue */
    color: #fff !important;
}

/* Hide the new mobile logo on desktop screens */
.mobile-nav-logo {
    display: none; 
}


/* --- 2. TABLET/SMALL DESKTOP ADJUSTMENTS --- */
@media(max-width: 992px) {
    /* Stack the phone button neatly on mid-sized screens */
    .header-phone-btn {
        display: block; 
        max-width: 250px;
        margin: 10px auto 0 auto;
        text-align: center;
    }
}


/* --- 3. MOBILE VIEW FIXES & MENU LAYOUT --- */
@media(max-width: 767px) {
    
    /* Fix mobile header overlapping (pushes addresses down below the blue bar) */
    .site-header {
        padding-top: 95px !important; 
    }

    /* Hide the original large desktop logo entirely on mobile */
    .site-logo {
        display: none !important;
    }

    /* Show the new mobile logo on the RIGHT and prevent stacking */
    .mobile-nav-logo {
        display: block;
        float: right; 
        padding: 10px 15px; 
        /* Calculates 100% of the screen width MINUS the space needed for the hamburger menu */
        max-width: calc(100% - 120px); 
    }

    /* Constrain the mobile logo size and force it to scale down on tiny screens */
    .mobile-nav-logo img {
        max-height: 45px; 
        width: auto;
        max-width: 100%; /* Forces the image to shrink if space is tight */
        object-fit: contain; /* Ensures the logo doesn't stretch or warp */
    }

    /* Push the hamburger menu to the LEFT side */
    .navbar-toggle {
        float: left !important; 
        margin-top: 12px !important; 
        margin-left: 15px !important; /* Adds left margin so it doesn't hit the screen edge */
        margin-right: 0 !important; /* Clears the default right margin */
        margin-bottom: 12px !important;
    }
}



    /* Constrain the logo size so it fits neatly inside the blue bar */
    .mobile-nav-logo img {
        max-height: 40px; 
        width: auto;
    }
}

/* --- HIDE SLIDER TEXT ON MOBILE --- */
@media(max-width: 767px) {
    .main-banner-tagline {
        display: none !important;
    }
}

/* ==========================================================================
   CUSTOM MOBILE HOMEPAGE BANNERS
   ========================================================================== */

/* Hide the custom static banners on desktop */
.mobile-only-banners {
    display: none;
}

@media(max-width: 767px) {
    /* Show the static banners on mobile */
    .mobile-only-banners {
        display: block;
        width: 100%;
        margin-bottom: 15px; /* Adds a little space between the banners and the addresses below it */
    }
    
    /* Make the images fit the screen perfectly */
    .mobile-only-banners img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Re-hide the original Flexslider on mobile so it doesn't show up twice! */
    .main-banner {
        display: none !important;
    }
}

.grecaptcha-badge { opacity:0;}