/*
Theme Name: Veggie Lite Child
Template: veggie-lite
Description: Salvage Yard
Version: 1.0.7
Author: Step
Tags: nice
Text Domain: veggie-lite-child
*/



/* !ColorBox stuff */
#colorbox,#cboxOverlay,#cboxWrapper{position:absolute;top:0;left:0;z-index:9999;overflow:hidden}#cboxWrapper{max-width:none}#cboxOverlay{position:fixed;width:100%;height:100%}#cboxMiddleLeft,#cboxBottomLeft{clear:left}#cboxContent{position:relative}#cboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}#cboxTitle{margin:0}#cboxLoadingOverlay,#cboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}#cboxPrevious,#cboxNext,#cboxClose,#cboxSlideshow{cursor:pointer}.cboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.cboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#colorbox,#cboxContent,#cboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#cboxOverlay{background:#fff;opacity:0.9;filter:alpha(opacity = 90)}#colorbox{outline:0}#cboxContent{margin-top:32px;overflow:visible;background:#000}.cboxIframe{background:#fff}#cboxError{padding:50px;border:1px solid #ccc}#cboxLoadedContent{background:#000;padding:1px}#cboxLoadingGraphic{background:url(img/loading.gif) no-repeat center center}#cboxLoadingOverlay{background:#000}#cboxTitle{position:absolute;top:-22px;left:0;color:#000}#cboxCurrent{position:absolute;top:-22px;right:205px;text-indent:-9999px}#cboxPrevious,#cboxNext,#cboxSlideshow,#cboxClose{border:0;padding:0;margin:0;overflow:visible;text-indent:-9999px;width:20px;height:20px;position:absolute;top:-20px;background:url(img/controls.png) no-repeat 0 0}#cboxPrevious:active,#cboxNext:active,#cboxSlideshow:active,#cboxClose:active{outline:0}#cboxPrevious{background-position:0px 0px;right:44px}#cboxPrevious:hover{background-position:0px -25px}#cboxNext{background-position:-25px 0px;right:22px}#cboxNext:hover{background-position:-25px -25px}#cboxClose{background-position:-50px 0px;right:0}#cboxClose:hover{background-position:-50px -25px}.cboxSlideshow_on #cboxPrevious,.cboxSlideshow_off #cboxPrevious{right:66px}.cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px;right:44px}.cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px}.cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px;right:44px}.cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px}


body {
    line-height: 1.65;
    font-family: "proxima-nova", Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
}

bold, strong {font-weight: 600;}


h1,h2,h3,h4,h5,h6,
.header,
.primarymenu {
    font-family: "proxima-nova", Helvetica, sans-serif;
}


h1 {font-size: 28px;}
h2 {font-size: 24px;}
h3 {font-size: 20px;}
h4 {font-size: 18px;}
h5 {font-size: 16px;}
h6 {font-size: 14px;}

h1, h2, h3, h4, h5, h6 {
    clear: both;
    font-family: "proxima-nova", Helvetica, sans-serif;
    font-weight: bold;
    margin: 0 0 .875em;
    text-transform: none;
}

h1.page-title {text-align: center; padding-top: 16px;}

.page-header {margin: 0 0 20px 0;}

a, a:visited { color: #ac2e17; } 

a img {border:none;}

a img:hover {
    border-bottom: none;
    }

/* h3 {color: #ac2e17;} */

h3 {display: block;
    font-weight: 600;
    margin-bottom: 22px;
    color: #303030;
    border-bottom: 1px solid #303030;}

.home img {
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
}

.home img:hover {
  filter: none;
  -webkit-filter: grayscale(0%);
}


.page-template-fullwidth-page-php .site-main, .page-template-right-column-page-php .site-main, .page-template-main-template.singular .site-main, .home .site-main {
    margin: 0 auto;
}


.subscribe {
    background: black;
    color: white;
    display: block;
    padding: 8px 32px;
    position: absolute; top: 0; right: 0; left: 0;
    text-align: center;
    z-index: 10;
}
.subscribe:hover {
    background: #ac2e17;
    color: black;
}
.subscribe--fixed {
    position: fixed; 
}


.social-block {
    position: absolute;
    top: 50px;
    right: 32px;
    display:block;
}


    .social-icon {
        display: inline-block;
        margin: 0 0 0 8px;
    }
    
        .social-icon img {
            max-height: 25px;
        }



.site-branding {
    margin-top: 22px;
    padding: 16px 0 0 0;
}

.site-header {
    margin: 0;
    padding: 0;
}

.site-logo {
    max-width: 380px;
}

.site-logo a img,
.site-logo a img:hover,
.ssba a img:hover {
    border: none;
}

.site-title a:hover, .site-title a:focus, .site-title a:active {
    text-decoration: none;
}

.site-title a img {
    padding-bottom: 8px;
}

.site-title a img:hover {
	border: none;
	}

.site-title img {max-width: 380px;}

.subs {text-align: center;}

.subbies {text-align:center;}

ul.subbies, ul.subbies li {list-style-type: none; margin: 0; padding: 0;} 

ul.subbies li a {display: inline-block; margin-right: 10px; background: #333; color: #fff; }

.question {display: block; font-weight: 600; margin-bottom: 22px; color: #303030; border-bottom: 1px solid #303030;}

.featurepic {float: right; max-width: 50%; margin-left: 20px;}
.featurepic img {border:none;}

.slideshow {text-align:center;}

.carousel {margin: 20px 0;}

.carouselimage {float: left; display:inline-block; margin-right: 10px; max-height: 350px;}

.entry-content .featurepic a img {border:none;}

.entry-date {font-style: italic; margin-bottom: 20px;}

.primarymenu {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    margin-bottom: 32px;
}

.newsflash {
	width: 100%;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    margin-bottom: 32px;
    text-align: center;
    }
    
    .newsflash h2 {text-align: center; margin-top: 10px;}
    
    
    
    .single-without-sidebar .newsflash {margin-bottom: 0;}
    .single-without-sidebar .newsflash h2 {font-weight: 400;}
    .single-without-sidebar .newsflash p {margin-bottom: 0;}
    
    .newsflash p {margin-bottom: 1em;}


.main-navigation a {color: #303030;}

.entry-title a {color: #303030;}




.mainSlider {
    margin: 0 0 32px;
    overflow: hidden;
    position: relative;
}


    .slides {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }
    
    
        .slide {
            backface-visibility: hidden;
            display: none;
            margin: 0;
        }
        
        
            .slide__img {
                display: block;
            }
            
            .post-thumbnail img { transition: all .2s ease-in-out; }
			.post-thumbnail img:hover { transform: scale(1); }
            }
        
        
    .flex-direction-nav {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }
    
    .flex-direction-nav a {
        background: url('img/arrows.png') no-repeat left center rgba(0,0,0,0.2);
        height: 60px;
        opacity: 0.7;
        padding: 5px;
        position: absolute;
        top: 50%;
        text-indent: -9999px;
        -webkit-transform: translateY(-50%);
                transform: translateY(-50%);
        -webkit-transition: all 0.3s ease;
                transition: all 0.3s ease;
        width: 40px;
    }
    
    .flex-direction-nav .flex-prev {
        left: -40px;
    }
    .flex-direction-nav .flex-next {
        background-position: right center;
        right: -40px;
    }
    
    .mainSlider:hover .flex-prev {
        left: 0px;
    }
    .mainSlider:hover .flex-next {
        right: 0px;
    }
    
    .flex-direction-nav .flex-prev:hover,
    .flex-direction-nav .flex-next:hover {
        opacity: 1;
    }
    
    
form.search-form {
    border: 1px solid black;
    position: absolute;
    top: 120px;
    right: 30px;
    display:block;
    
}


    .search-form .search-field {
        padding: 6px 40px 6px 8px;
        width: 100%;
    }
    
    
    .search-submit {
        position: absolute;
        right: 0;
        top: 0;
        padding: 10px;
        z-index: 1;
    }


input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], button, input[type="button"], input[type="reset"], input[type="submit"], #main #infinite-handle span, input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, #main #infinite-handle span:hover {
    -webkit-box-shadow: none;
       -moz-box-shadow: none;
            box-shadow: none;
}

input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; }

label {
	font-style: normal;
	}

.contentHead {
    margin: 0 0 32px;
    width: 100%;
    text-align:center;
}

.contentHead:before, .contentHead:after {
    display: table; clear: both; content: ' ';
}


.contentHead .search-form,
.page-header .search-form {
    float: left;
    width: 30%;
}


.catlist {text-align: center; padding: 0 1.75em 20px 1.75em;}

.productList {
    list-style-type: none;
    margin: 0;
    padding: 0 12px;
    width: auto;
    display: block;
    font-size: 1.2em;
}


    .productList .cat-item {
        display: inline-block;
        vertical-align: top;
    }
    
    /* .productList .cat-item:after {
        content: '//';
        margin: 0 4px;
    }
    
    */
    
    .productList .cat-item:last-of-type:after {
        content: none;
    }
    
    .cat-item .post-count {display:none;}
    
    /*
        .productList .cat-item a {
            color: #595959;
        }
        .productList .cat-item a:hover {
            color: black;
        }
        .productList .current-cat a {
            color: #ac2e17;
        }
        
        */


.page-header {
    width: 100%;
}


.archive .site-main,
.home .site-main #content,
.search .site-main {
    /* display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    flex-flow: row;
    flex-wrap: wrap;
    white-space: nowrap; 
width: auto; */
}

.products,
.archive .projects {
    background: #f1f1f1;
    display: inline-block;
    vertical-align: top;
    margin: 0 8px 32px 0;
    width: 32%;
    width: calc(33.33% - 16px);
}
.products--empty {
    background: none;
    height: 0;
}
.products *,
.projects * {
    -webkit-transition: .2s;
    transition: .2s;
}


    .blog .entry-header, .archive .entry-header, .search .entry-header, .page-template-right-column-page-php .entry-header, .page-title, .search-no-results .page-header, .error404 .page-header {
        float: none;
        width: auto;
    }
    
    .entry-content, .blog .entry-content, .archive .entry-content, .search .entry-summary, .search .entry-content, .page-template-right-column-page-php .entry-content, .taxonomy-description, .search-no-results .page-content, .error404 .page-content {
        float: none;
        margin: 0;
        padding: 16px;
        width: auto;
    }
    
    


    /*.entry-header a {
        display: block;
    } */
    
    .entry-header .entry-title {
	    font-size: 22px;
	    margin: 0;
	    padding: 0 0 6px 0;
	    text-align: center;
	    min-height: 70px;
    }
    
    .archive .entry-header .entry-title {
	    padding: 10px 0 6px 0;
	    }
    
    .entry-header p {
	    font-size: 90%;
	    padding: 0 12px;
	    min-height: 90px;
	    }
	    
    
    .products img,
    .projects img {
        display: block;
    }    
    .products:hover img,
    .projects:hover img {
        border-bottom: none;
    }

    .products:hover .entry-title,    
    .products:hover .entry-title a,
    .projects:hover .entry-title,
    .projects:hover .entry-title a {
        color: #ac2e17;
    }
    
    
.entry-title a:hover, .posts-navigation .nav-previous a:hover, .post-navigation .nav-previous a:hover, .posts-navigation .nav-next a:hover, .post-navigation .nav-next a:hover, .copyright a:hover, .comment-date:hover, .comment-time:hover, .comment-reply-link:hover, span.edit-link a:hover, #cancel-comment-reply-link:hover {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}    

    
    
.ssba a {
    border-radius: 4px;
    margin: 0 0 0 8px;
    display: inline-block;
    overflow: hidden;
}

.single .entry-footer {
	border-bottom:none;
	}
	
	.gform_wrapper input[type="text"] {
	    border: 1px solid #333;
    }

.singular .content-area {float:none;}

.singular .content-area:after {
	content: "";
  	display: table;
  	clear: both;
}
 
    
    ul#footer-menu {list-style-type: none; margin: 10px auto; padding: 0;}
    ul#footer-menu li {list-style-type: none; margin: 0; padding: 0; display:inline-block;}
    
    ul#footer-menu li a, .productList a, a.loadmore {
	        display: -moz-inline-stack;
    display: inline-block;
    vertical-align: top;
    zoom: 1;
    padding: 7px 14px;
    margin: 5px auto 0;
    background: #333;
    border: none;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    line-height: 1.5;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    }
    
    a.loadmore {display: block; clear:both;}
    
    ul#footer-menu li a:hover, .productList a:hover, a.loadmore:hover {
	    background: #ac2e17;
	    }
	


/* !Responsive */


@media screen and (min-width: 55em) {
.singular .site-main {margin: 0 auto;}
}

@media screen and (min-width: 45em) {

.site-header.default {
    padding-top: 0;
}
}




@media (max-width: 1120px) {
    .entry-header .entry-title {
        font-size: 20px;
    }
}

@media (max-width: 920px) {
	
	
	.site-logo {
		margin: 38px auto 20px auto;
		}
	.social-block {
	    top: 0;
	    right: 10px;	    ;
	    display:block;
	    margin-top: 10px;
     }
     
     form.search-form {
	    border: 1px solid #666;
	    top: 10px;
	    position:absolute;
	    left: 10px;
	    width:50%;
	    display:block;
     }


}

@media (max-width: 768px) {
    .products,
    .projects {
        width: 50%;
        width: calc(50% - 16px);
    }
}

@media (max-width: 600px) {
    .contentHead .search-form, .page-header .search-form {
        float: none;
        width: 50%;
        width: calc(50% - 16px);        
    }
    .productList {
        float: none;
        margin: 16px 0 0;
        padding: 0;
        width: 100%;
    }
    
          
     .site-logo img, .site-title img {max-width: 100%;} 
    
    
}

@media (max-width: 480px) {
    .products,
    .projects {
        width: 100%;
    }
}

