/* Zentropy Subtheme layout styles */
/* Targets screens between 992px and 1382px */

@media only screen and (min-width : 1160px) and (max-width: 1679px) {
	
	#messages,
	#main-wrapper,
	#footer-wrapper {
		width: 1160px;
	}
	#header-inner-wrapper {
		width: 1120px;
	}
	#logo {
/*		margin-top: 35px;
*/	}
	#block-system-main-menu .block-content {
		padding-top: 60px;
	}

	
	/* sommaire panneaux */
	body.node-type-sommaire-stores .group-right,
	body.node-type-sommaire-parois-verre .group-right,
	body.node-type-sommaire-rideaux .group-right,
	body.node-type-sommaire-feutre-acoustique-par-6 .group-right,
	body.node-type-sommaire-panneaux-japonais .group-right {
		width: 857px;
	}
	.field-name-field-stores-blocs-types-par-6 > .field-items > .field-item.n1, .field-name-field-stores-blocs-types-par-6 > .field-items > .field-item:nth-child(1),
	.field-name-field-panneaux-bloc-type > .field-items > .field-item.n1, .field-name-field-panneaux-bloc-type > .field-items > .field-item:nth-child(1) {
		width: 351px;
	}
	.field-name-field-stores-blocs-types-par-6 > .field-items > .field-item.n2, .field-name-field-stores-blocs-types-par-6 > .field-items > .field-item:nth-child(2),
	.field-name-field-stores-blocs-types-par-6 > .field-items > .field-item.n3, .field-name-field-stores-blocs-types-par-6 > .field-items > .field-item:nth-child(3),
	.field-name-field-panneaux-bloc-type > .field-items > .field-item.n2, .field-name-field-panneaux-bloc-type > .field-items > .field-item:nth-child(2),
	.field-name-field-panneaux-bloc-type > .field-items > .field-item.n3, .field-name-field-panneaux-bloc-type > .field-items > .field-item:nth-child(3) {
		width: 235px;
	}
	.field-name-field-stores-blocs-types-par-6 > .field-items > .field-item.n4, .field-name-field-stores-blocs-types-par-6 > .field-items > .field-item:nth-child(4),
	.field-name-field-stores-blocs-types-par-6 > .field-items > .field-item.n5, .field-name-field-stores-blocs-types-par-6 > .field-items > .field-item:nth-child(5),
	.field-name-field-panneaux-bloc-type > .field-items > .field-item.n4, .field-name-field-panneaux-bloc-type > .field-items > .field-item:nth-child(4),
	.field-name-field-panneaux-bloc-type > .field-items > .field-item.n5, .field-name-field-panneaux-bloc-type > .field-items > .field-item:nth-child(5) {
		width: 273px;
	}
	.field-name-field-stores-blocs-types-par-6 > .field-items > .field-item.n6, .field-name-field-stores-blocs-types-par-6 > .field-items > .field-item:nth-child(6),
	.field-name-field-panneaux-bloc-type > .field-items > .field-item.n6, .field-name-field-panneaux-bloc-type > .field-items > .field-item:nth-child(6) {
		width: 275px;
	}
	
	
	/* Sommaire catégories pj */
	.view-taxo-custom .view-content {
		width: 857px;
	}
	
	
	/* Sommaire stores */
	.field-name-field-stores-bloc-type > .field-items > .field-item {
		width: 267px;
	}
	.field-name-field-parois-verre-bloc-type .field-name-field-panneaux-vignette-type,
	.field-name-field-stores-bloc-type .field-name-field-panneaux-vignette-type {
		margin-left: -7px;
	}
	/* Sommaire rideaux / parois verre */
	.field-name-field-parois-verre-bloc-type > .field-items > .field-item,
	.field-name-field-rideaux-bloc-type > .field-items > .field-item {
		width: 410px;
	}
	.field-name-field-rideaux-bloc-type .field-name-field-panneaux-vignette-type {
		margin-left: -15px;
	}
	
	.field-name-field-stores-bloc-type > .field-items > .field-item img,
	.field-name-field-parois-verre-bloc-type > .field-items > .field-item img,
	.field-name-field-rideaux-bloc-type > .field-items > .field-item img,
	.field-name-field-stores-blocs-types-par-6 > .field-items > .field-item img,
	.field-name-field-panneaux-bloc-type > .field-items > .field-item img {
		/*max-width: none !important;*/
	}

	/* Produits  + sommaire type de store + showroom + simple alt */
	body.node-type-basic-page-alter .group-left,
	body.node-type-showroom .group-left,
	body.node-type-sommaire-type-stores-rideaux .group-left, 
	body.node-type-page-produit-tapis-moquette .group-left, 
	body.node-type-page-produit-parois-verre .group-left,
	body.node-type-page-produit-store .group-left, 
	.node-page-produit .group-left {
		width: 300px;
		margin-right: 20px;
		overflow: hidden;
	}
	.group-left .field-name-field-product-image-principale ul.slides,
	.group-right .group-flexslider-small .field-name-field-product-image-principale ul.slides {
		width: 340px;
		margin-left: -25px;
	}
	.node-showroom .group-flexslider-small .flexslider ul.slides {
		line-height: 263px;
	}
	
	body.node-type-showroom .group-middle,
	body.node-type-sommaire-type-stores-rideaux .group-middle, 
	body.node-type-page-produit-tapis-moquette .group-middle, 
	body.node-type-page-produit-parois-verre .group-middle,
	body.node-type-page-produit-store .group-middle, 
	.node-page-produit .group-middle {
		margin-right: 0px;
	}
	

	
	/* Sommaire videos */
	body.page-videos .view-content {
		width: 857px;
	}
	.node-page-video .group-left {
		margin-right: 20px;
	}
	body.page-videos .view-content .views-row {
		width: 260px;
	}

	/* Sommaire presse */
	body.page-presse .view-content {
		width: 857px;
	}
	.node-page-presse .group-left {
		margin-right: 20px;
	}
	body.page-presse .view-content .views-row {
		width: 194px;
	}

	body.page-videos .content-header div.contextual-links-wrapper, 
	body.page-presse .content-header div.contextual-links-wrapper {
	  right: auto;
	  left: 240px;
	  top: 5px;
	}
	body.page-videos .content-header div.contextual-links-wrapper ul.contextual-links, 
	body.page-presse .content-header div.contextual-links-wrapper ul.contextual-links {
	  right: auto;
	}

	
	
	/* Page réalisations + R&D */
	body.node-type-sommaire-projets .group-left,
	body.node-type-page-projet .group-left {
		margin-right: 30px;
	}
	body.node-type-sommaire-projets .group-right,
	body.node-type-page-projet .group-right {
		width: 830px;
	}
	body.node-type-sommaire-projets .flexslider {
		width: 400px;
		height: 448px;
	}
	body.node-type-sommaire-projets .flexslider .slides img {
		width: 448px;
		height: 448px;
		max-width: none;
		margin-left: -24px;
	}
	.groupe-texte-rd .fieldset-wrapper {
		width: 230px;
	}
	body.node-type-page-projet .group-flexslider-small .flexslider {
		width: 570px;
		height: 448px;
	}
	body.node-type-page-projet .group-flexslider-small .flexslider .slides img {
		width: 600px;
		height: 448px;
		max-width: none;
		margin-left: -15px;
	}
	
	/* Page Presse */
	body.node-type-page-presse .group-left {
		margin-right: 15px;
	}
	body.node-type-page-presse .group-right {
		width: 875px;
	}
	body.node-type-page-presse .groupe-texte-presse .fieldset-wrapper {
		width: 190px;
	}
	body.node-type-page-presse .group-flexslider-small .flexslider {
		width: 672px;
		height: 448px;
	}
	body.node-type-page-presse .group-flexslider-small .flexslider .slides img {
		width: 672px;
		height: 448px;
		max-width: none;
/*		margin-left: -15px;
*/	}
	
	/* page simple + tech + simple alt */
	body.node-type-basic-page-alter .group-left,
	#site-map .group-left,
	body.node-type-page .group-left,
	body.node-type-page-texte .group-left,
	body.node-type-webform .group-left,
	body.node-type-page-technique .group-left {
		margin-right: 20px;
	}
	body.node-type-contenu-bloc-gauche #block-system-main {
		margin-right: 20px;
	}

	body.node-type-page-texte .group-middle {
		width: 405px;
		margin-right: 20px;
	}
	body.node-type-basic-page-alter .group-middle {
		margin-right: 20px;
	}
	body.node-type-page-texte .group-right {
		width: 345px;
		overflow: hidden;
	}
	body.node-type-page .group-middle {
		width: 357px;
		margin-right: 20px;
	}
	body.node-type-page .group-right {
		width: 448px;
		overflow: hidden;
	}
	body.node-type-basic-page-alter .group-right {
		width: 415px;
	}
	#site-map .group-right,
	body.node-type-webform .group-right,
	body.node-type-page-technique .group-right {
		overflow: hidden;
		width: 855px;
	}
	.col-1-tech {
		width: 512px;
		margin-right: 30px;
	}
	.col-2-tech {
		width: 303px;
	}
	
	/* blog */
	body.section-actualites #main .content-inner,
	body.section-news #main .content-inner,
	body.section-blog #main .content-inner {
		width: 660px;
	}

	/* Plan */
	.site-map-box-menu-main-menu .content > ul.site-map-menu > li:nth-child(5) {
		clear: left;
	}
	.site-map-box-menu-main-menu .content > ul.site-map-menu > li:nth-child(9) {
		top: 0;
	}

}
