/*
Theme Name: Good Ol' Wine Child Theme
Author: Anariel Design
Author URI: http://www.anarieldesign.com/
Description:  For theme cutomization please edit Good Ol' Wine Child theme.
Version: 1.0
Tags:right-sidebar, custom-menu, custom-header, custom-background, responsive-layout, threaded-comments, sticky-post
Template: goodoldwinewp
*/
@import url("../goodoldwinewp/style.css");

article.wineproducts { position: relative; }
article.wineproducts .entry-content img { position: absolute; top: 50px; right: 20px; }
.wineproducts-single { min-height: 700px; }
.left.wines { width: 72%; }

.bordered { border-top: 1px solid #eee; }

.site-logo img { height: 80px; padding: 5px 0; }
.navigation-main ul { margin-top: 25px; }

.page .cbp-ig-grid { padding-bottom: 0; }

/* lista vini a 5 colonne */
.page .cbp-ig-grid li { width: 20%; }
.page .cbp-ig-grid .cbp-ig-title { font-size: 18px; }
.page .cbp-ig-grid .cbp-ig-category { font-size: 12px; padding: 0 10px; }
.page .cbp-ig-grid li > a:hover .cbp-ig-title:before { margin-top: 60px; }
@media screen and (max-width: 990px) 	 { .page .cbp-ig-grid li { width: 50%; height: 630px; } }
@media screen and (max-width: 49.4375em) { .page .cbp-ig-grid li { height: 500px; } }
@media screen and (max-width: 520px) 	 { .page .cbp-ig-grid li { width: 100%; height: 550px; } }
@media screen and (max-width: 25em) 	 { .page .cbp-ig-grid li { width: 100%; height: 500px; } }
@media screen and (min-width: 1300px) 	 { .page .cbp-ig-grid li { height: 500px; } }
@media screen and (min-width: 1520px) 	 { .page .cbp-ig-grid li { height: 540px; } }
/* --- */

.page .cbp-ig-grid li:nth-of-type(3) > a,
.page .cbp-ig-grid li:nth-of-type(4) > a,
.page .cbp-ig-grid li:nth-of-type(8) > a,
.page .cbp-ig-grid li:nth-of-type(12) > a,
.page .cbp-ig-grid li:nth-of-type(13) > a {
	background-color: #fff;
}

.page .cbp-ig-grid li > a:hover {
	background-color: #e9e4e1;
}

.page .cbp-ig-grid li:nth-child(3n-1), 
.page .cbp-ig-grid li:nth-child(3n-2) {
	box-shadow: none;
}

.page .cbp-ig-grid li {
	border: none;
}

.search-no-results .hero.page-header.without-featured-image,
.error404 .hero.page-header.without-featured-image { margin-top: 60px; }

.lang-switch { position: absolute; top: 0; right: 0; background-color: transparent !important; }
.lang-switch a { display: inline-block !important; padding: 0 10px !important; font-family: "Ubuntu", sans-serif !important; line-height: 2; }
.lang-switch a:first-child { border-right: 1px solid #351714; }
.main-small-navigation .lang-switch a { font-size: 14px; padding: 0 10px !important; line-height: 2 !important; letter-spacing: 0.1em !important; }

.gallery-columns-2 { margin: 0 -10px !important; }
.gallery-columns-2 .gallery-item {
    box-sizing: border-box;
    padding: 0 10px;
}
.gallery-columns-2 .gallery-item img { width: 100%; }

.fancybox-close { top: -15px; right: -15px; }

.home .goodolwine_blogpost_widget .left { float: left; width: 48.5%; margin-right: 1.5%; }
.home .goodolwine_blogpost_widget .left figure a { border: 1px solid transparent; }
.home .goodolwine_blogpost_widget .left .wp-post-image { height: auto; }

@media screen and (max-width: 990px) {
	.left.wines { width: 69%; }
	.home .goodolwine_blogpost_widget .left { float: none; margin-right: 0; width: 100%; }
	.home .goodolwine_blogpost_widget .left figure a { border: none; }
}

@media screen and (max-width: 25em) {
	.site-logo img { height: auto; padding: 0; }
	.lang-switch a { font-size: 13px !important; }
}

@media screen and (max-width: 58em) {
	article.wineproducts .entry-content img { position: static; }
	
	.wineproducts-single { height: auto; }
	.wineproducts-single #nav-below { text-align: center; }
	.wineproducts-single #nav-below .nav-previous,
	.wineproducts-single #nav-below .nav-next { float: none; display: inline-block; }
	
	.left.wines { width: 100%; }
}

@media screen and (min-width: 280px) {
	.header.gridpage { height: 200px; }
}

@media screen and (min-width: 990px) {
	.header { height: 200px; }
	.header.gridpage { height: 400px; }
}

@media screen and (min-width: 1281px) {
	.home .goodolwine_blogpost_widget .left figure a { border: none; }
}