
/*
Theme Name:   alvar child theme
Description:  Scrivi qui una breve descrizione del tuo child theme
Author:       admin
Author URL:   https://virdis.open-media.pro
Template:     alvar
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  alvar-child
*/

/* Scrivi qui il tuo foglio di stile personalizzato */
@media only screen and (max-width: 1440px) and (min-width: 1025px){
#side-container.no-left-bar {
    margin-left: -70px;}
}
@media only screen and (max-width: 4096px) and (min-width: 1025px){
	.logo-tagline-wrapper, .site-menu {
		 top: 70px !important;
	}
}

.archive #main-container, .page-template-template-all-works #main-container { margin-top: 55px !important; }

@media only screen and (min-width: 1024px) {
	.single-portfolio .portfolio-content-wrapper {
		 background: #fff;
		 box-sizing: border-box;
		 position: relative;
		 width: 95%;
	}

	.site-menu-nav .sub-menu { display: block !important; left: 76px !important; }

	#root-container #side-container * { max-width: 100% !important }

	.sub-menu .menu-item a:hover , .current-menu-item > a { color: #dc963d !important; }

	.all-works .portfolio-listing-wrapper.carousel .portfolio-item {
		position: relative;
		min-height: 80vh;
		height: 80vh;
		max-height:inherit !important;
	}
	
	.all-works .portfolio-thumbnail img {
		height: auto !important;
		max-height:inherit !important;
		width: 100% !important;
	}
	
	.all-works .portfolio-listing-wrapper.carousel {
		max-height:inherit !important;
	}
	
	.all-works .portfolio-listing-wrapper.carousel { max-height:900px; height:90vh; }
}

@media only screen and (max-width: 1024px) {
	
	#main-container {
		margin-top: 80px !important;
	}
	
	#root-container #side-container * { max-width:100% !important; }
	
	.menu-list {
		display: none;
	}
	
	#mobile-menu {
		display: block !important;
	}
	
	.content-width {
		width: 90%;
	}
	
	/*** Common ***/
	#search-panel-wrapper {
	}
	
	#search-panel-wrapper .search-form {
		top: 40%;
	}
	
	.search-field {
		width: 80% !important;
	}
	
	.fancybox-next {
		right: 0;
	}
	
	.fancybox-prev {
		left: 0;
	}
	
	.fancybox-nav span {
		opacity: 0;
	}
	

	.theme-widget-area .widget-column {
		float: none;
		width: 100%;
	}
	
	.theme-widget-area .widget-item {
		padding-bottom: 12% !important;
	}
	
	.widget-column:last-child .widget-item:last-child {
		padding-bottom: 0 !important;
	}
	
	.content-width,
	.content-width-large,
	.single-portfolio .portfolio-content-wrapper {
		width: 100%;
	}
	
	.archive #main-container,
	.page-template-template-all-works #main-container {
		margin-top: 0;
	}
	
	.archive .top-section.post-item,
	.all-works .top-section.post-item {
		box-sizing: border-box;
		padding-bottom: 35px;
		position: static;
		text-align: center;
		width: 100%;
	}
	
	.all-works .top-section.post-item {
		padding-bottom: 0;
	}

	.portfolio-category-selector {
		box-sizing: border-box;
		margin: -25px auto 0;
		padding-bottom: 35px;
		position: relative;
		top: auto !important;
		left: auto !important;
		text-align: center;
		width: 100%;
	}

	.portfolio-category-selector .portfolio-categories {
		margin-left: -100px;
		left: 50%;
	}
	
	.search .numbers-pagination {
		bottom: -9%;
	}
	
	.all-works .numbers-pagination {
		bottom: -7%;
	}
	
}
