/*
Theme Name: SimpleMag Child Theme
Theme URI: http://themesindep.com/
Author: ThemesIndep
Author URI: http://themesindep.com/
Description: Magazine theme for creative things
Template: simplemag
*/


/* Your CSS code goes here
-------------------------------------- */

body.layout-full {
	background-color: white;
	background-image : none!important;
}
/* adattamento layout per banner SKIN sfondo body */
/* adattamento per layout boxed */
/* adattamento versione mobile per layout boxed */
body.layout-boxed, body.layout-boxed section.top-strip {
	width: 1000px;
	max-width: 1000px;
	margin-top: 85px;
}
body.layout-boxed {
	background-size: auto!important;
	background-position: center top!important;
}
body.layout-boxed .wrapper:not(.entry-header),
body.layout-boxed .wp-image-wrap {
	width: 970px;
}
body.layout-boxed .main-menu .sub-posts {
	max-width: 970px;
}
body.layout-boxed .header .search-form,
body.layout-boxed .top-strip .search-form {
	width: 100px;
}
body.layout-boxed #masthead {
	margin-bottom: 0px!important;
}
body.layout-boxed ul#menu-top-viaggi-off {
	display: flex;
	-webkit-display: flex;

	flex-direction: row;
	-webkit-flex-direction: row;

	justify-content: center;
	-webkit-justify-content: center;
	position: relative;
	z-index: 999;
	left: -40px;
}
body.layout-boxed ul#menu-top-viaggi-off li {
	position: relative;
	display: flex;
	-webkit-display: flex;
	flex: 0 1 auto; /* ingrandimento - restringimento - valore iniziale */
}
body.layout-boxed ul#menu-top-viaggi-off li a {
	padding-left: 10px;
	padding-right: 10px;
}
body.layout-boxed .top-strip .social {
	margin-right: -10px!important;
}
body.layout-boxed ul.social {
	position: relative;
	left: -5px;
}
body.layout-boxed .colonna1,
body.layout-boxed .colonna3 {
	width: 15%!important;
	padding-top: 20px!important;
}
body.layout-boxed .colonna2 {
	width: 70%!important;
	padding-top: 35px!important;
}
@media all and (max-width: 600px) {
	body.layout-boxed .colonna2 {
		width: 100%!important;
		padding-top: 20px!important;
		padding-bottom: 0!important;
	}
	body.layout-full .colonna2 {
		padding-bottom: 0!important;
	}
}
body.layout-boxed .home-section:nth-of-type(2) {
	margin-top: 20px!important;
}
@media all and (min-width:959px) {
	body.layout-boxed .header .search-form input[type="text"],
	body.layout-boxed .top-strip .search-form input[type="text"] {
		max-width: 250px;
	}
}

@media all and (max-width:959px) {
	body.layout-boxed, body.layout-boxed section.top-strip {
		width: 100%!important;
		max-width: 100%!important;
		margin-top: 0;
	}
	body.layout-boxed {
		background-image: none!important;
	}
	body.layout-boxed section#content,
	body.layout-boxed main#content {
		padding-left: 15px;
		padding-right: 15px;
	}
	.top-strip-logo {
		max-width: 100%!important;
	}
	body.layout-boxed .wrapper:not(.entry-header),
	body.layout-boxed .wp-image-wrap {
		width: 100%!important;
	}
	body.layout-boxed .main-menu .sub-posts {
		max-width: 100%!important;
	}
}

@media all and (max-width:750px) {
	.top-strip .mobile-search-button {
		z-index: 100;
	}
	.icomoon-share::before {
		position: absolute;
		z-index: 100;
	}
	.social li a:hover {
		z-index: 100;
	}
	.widget-area #text-2 {
		padding-left: 15px;
	}
	.copyright {
		padding-left: 15px;
	}
	.header .search-form, .top-strip .search-form {
		width: 50px;
	}
	.top-strip .social {
		margin-right: 0px!important;
	}
}

body.layout-boxed .main-menu .sub-menu-full-width .sub-posts .mega-menu-item {
	width: 30%!important;
}

body.layout-boxed .mega-menu-item:nth-child(1) {
	margin-left: 2.5%;
}
body.layout-boxed .mega-menu-item:nth-child(2) {
	margin-left: 2.5%;
	margin-right: 2.5%;
}
body.layout-boxed .mega-menu-item:nth-child(3) {
	margin-right: 2.5%;
}

body.layout-boxed .main-menu .sub-menu-full-width .sub-posts .mega-menu-item figure {
	width: 100%!important;
	height: 200px;
	margin-left: 0!important;
}

.home-section {
	margin-top: 0;
}

@media all and (min-width:751px) {
	body.layout-boxed .entry-image {
		height: auto!important;
	}
}
