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

@media only screen and (min-width : 960px) and (max-width: 1159px) {
	
	#messages,
	#main-wrapper,
	#footer-wrapper {
		width: 980px;
	}
	#header-inner-wrapper {
		width: 940px;
	}
	#logo {
/*		margin-top: 35px;
*/	}
	#block-system-main-menu .block-content {
		padding-top: 38px;
	}
	#block-menu-menu-menu-annexe ul.menu {
		text-align: center;
		padding-top: 1rem;
		line-height: 2rem;
	}
	#block-menu-menu-menu-annexe ul.menu li a {
		margin: 0 1.4rem; 
	}

	/* sommaire panneaux */
	body.node-type-sommaire-stores .group-left,
	body.node-type-sommaire-parois-verre .group-left,
	body.node-type-sommaire-rideaux .group-left,
	body.node-type-sommaire-feutre-acoustique-par-6 .group-left,
	body.node-type-sommaire-panneaux-japonais .group-left {
		width: 200px;
	}
	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: 697px;
	}
	.field-name-field-stores-blocs-types-par-6e > .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: 261px;
	}
	.field-name-field-stores-blocs-types-par-6 > .field-items > .field-item.n1 img, .field-name-field-stores-blocs-types-par-6 > .field-items > .field-item:nth-child(1) img,
	.field-name-field-panneaux-bloc-type > .field-items > .field-item.n1 img, .field-name-field-panneaux-bloc-type > .field-items > .field-item:nth-child(1) img {
		margin: -35px 0 0 -57px;
	}
	.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: 190px;
	}
	.field-name-field-stores-blocs-types-par-6 > .field-items > .field-item.n2 img, .field-name-field-stores-blocs-types-par-6 > .field-items > .field-item:nth-child(2) img,
	.field-name-field-stores-blocs-types-par-6 > .field-items > .field-item.n3 img, .field-name-field-stores-blocs-types-par-6 > .field-items > .field-item:nth-child(3) img,
	.field-name-field-panneaux-bloc-type > .field-items > .field-item.n2 img, .field-name-field-panneaux-bloc-type > .field-items > .field-item:nth-child(2) img,
	.field-name-field-panneaux-bloc-type > .field-items > .field-item.n3 img, .field-name-field-panneaux-bloc-type > .field-items > .field-item:nth-child(3) img {
		margin: -35px 0 0 -92px;
	}
	.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: 213px;
	}
	.field-name-field-stores-blocs-types-par-6 > .field-items > .field-item.n5 img, .field-name-field-stores-blocs-types-par-6 > .field-items > .field-item:nth-child(5) img {
		margin: 0px 0 0 -54px;
	}
	.field-name-field-stores-blocs-types-par-6 > .field-items > .field-item.n4 img, .field-name-field-stores-blocs-types-par-6 > .field-items > .field-item:nth-child(4) img,
	.field-name-field-panneaux-bloc-type > .field-items > .field-item.n4 img, .field-name-field-panneaux-bloc-type > .field-items > .field-item:nth-child(4) img,
	.field-name-field-panneaux-bloc-type > .field-items > .field-item.n5 img, .field-name-field-panneaux-bloc-type > .field-items > .field-item:nth-child(5) img {
		margin: 0px 0 0 -81px;
	}
	.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: 215px;
	}
	.field-name-field-stores-blocs-types-par-6 > .field-items > .field-item.n6 img, .field-name-field-stores-blocs-types-par-6 > .field-items > .field-item:nth-child(6) img {
		margin: 0px 0 0 -112px;
	}
	.field-name-field-panneaux-bloc-type > .field-items > .field-item.n6 img, .field-name-field-panneaux-bloc-type > .field-items > .field-item:nth-child(6) img {
		margin: 0px 0 0 -82px;
	}

	/* Sommaire catégories pj */
	.view-taxo-custom .view-header {
		width: 280px;
	}
	.view-taxo-custom .view-header .taxonomy-term,
	.view-tapis-moquettes .view-header .node-description-tapis-moquette, 
	.view-tissus-stores-rideaux .view-header .node-description-type-stores-rideaux {
		width: 237px;
	}
	.view-taxo-custom .view-content {
		width: 640px;
	}

	/* Sommaire stores*/
	.field-name-field-stores-bloc-type > .field-items > .field-item {
		width: 214px;
	}
	.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: -34px;
	}
	/* Sommaire rideaux / parois en verre  */
	.field-name-field-parois-verre-bloc-type > .field-items > .field-item,
	.field-name-field-rideaux-bloc-type > .field-items > .field-item {
		width: 330px;
	}
	.field-name-field-rideaux-bloc-type .field-name-field-panneaux-vignette-type {
		margin-left: -55px;
	}

	/* Produits + sommaire type de store */
	.node-type-basic-page-alter .group-left,
	.node-type-showroom .group-left,
	.node-type-sommaire-type-stores-rideaux .group-left, 
	.node-type-page-produit-tapis-moquette .group-left, 
	.node-type-page-produit-parois-verre .group-left,
	.node-type-page-produit-store .group-left, 
	.node-page-produit .group-left {
		width: 250px;
		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: -45px;
	}
	
	.node-type-basic-page-alter .group-middle,
	.node-type-showroom .group-middle,
	.node-type-sommaire-type-stores-rideaux .group-middle, 
	.node-type-page-produit-tapis-moquette .group-middle,
	.node-type-page-produit-parois-verre .group-middle,
	.node-type-page-produit-store .group-middle, 
	.node-page-produit .group-middle {
		width: 225px;
		padding: 0px 10px 0px 25px;
		margin-right: 0px;
	}
	.node-type-showroom .group-right,
	.node-type-sommaire-type-stores-rideaux .group-right, 
	.node-type-page-produit-tapis-moquette .group-right,
	.node-type-page-produit-parois-verre .group-right,
	.node-type-page-produit-store .group-right, 
	.node-page-produit .group-right {
		width: 390px;
	}
	.node-type-page-produit-tapis-moquette .field-name-field-product-dessin, 
	.node-type-page-produit-tapis-moquette .field-name-field-product-matiere, 
	.node-type-sommaire-type-stores-rideaux .field-name-field-product-dessin, 
	.node-type-sommaire-type-stores-rideaux .field-name-field-product-matiere, 
	.node-page-produit-parois-verre .field-name-field-product-dessin, 
	.node-page-produit-parois-verre .field-name-field-product-matiere, 
	.node-page-produit-store .field-name-field-product-dessin, 
	.node-page-produit-store .field-name-field-product-matiere, 
	.node-page-produit .field-name-field-product-dessin, 
	.node-page-produit .field-name-field-product-matiere {
		width: 183px;
	}
	.group-flexslider-small .field-name-field-product-diaporama .flexslider {
		width: 390px;
		height: 320px;
	}
	.group-flexslider-small .field-name-field-product-diaporama .flexslider .slides img {
		max-width: none;
		width: auto;
		height: 317px;
		margin-left: -60px;
	}
	.node-type-sommaire-type-stores-rideaux .field-name-field-types-tissus-store-rideau .field-collection-view {
		width: 120px;
		height: 35px;
	}

	/* Sommaire videos */
	body.page-videos .view-content {
		width: 677px;
	}
	body.page-videos .view-content .views-row {
		width: 310px;
	}
	.node-page-video .group-left {
		margin-right: 20px;
	}
	.node-page-video .group-right {
		width: 610px;
		height: 448px;
	}
	.node-page-video .field-name-field-video-image .field-name-field-video {
		width: 610px;
		height: 343px;
		overflow: hidden;
	}
	.node-page-video .field-name-field-video-image .field-name-field-video .field-items {
		width: 620px;
/*		height: 345px;*/
		top: -3px;
		left: -5px;
	}
	.node-page-video .field-name-field-video-image .field-name-field-product-diaporama .field-items {
		margin-left: -93px;
	}
	
	/* Sommaire presse */
	body.page-presse .view-content {
		width: 677px;
	}
	body.page-presse .view-content .views-row {
		width: 205px;
	}
	.node-page-presse .group-left {
		margin-right: 20px;
	}
	.node-page-presse .group-right {
		width: 610px;
		height: 448px;
	}
	
	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 showroom */
	.node-showroom .group-flexslider-small .flexslider ul.slides {
		line-height: 218px;
	}
	.node-showroom .field-name-field-video-image .field-name-field-product-diaporama,
	.node-showroom .group-flexslider-small .field-name-field-video-image .field-name-field-video {
		width: 388px;
		height: 218px;
		overflow: hidden;
	}
	.node-showroom .field-name-field-video-image .field-name-field-product-diaporama .field-items,
	.node-showroom .group-flexslider-small .field-name-field-video-image .field-name-field-video .field-items {
		width: 396px;
/*		height: 345px;*/
		top: -3px;
		left: -4px;
	}
	.node-showroom .field-name-field-video-image .field-name-field-product-diaporama .field-items {
		margin-left: 0px;
	}
	.field-name-field-tech-texte-small {
		width: 390px;
		height: 207px;
	}
	.field-name-field-tech-texte-small iframe {
		width: 390px;
		height: 207px;
	}

	/* Page réalisations + R&D */
	body.node-type-sommaire-projets .group-left,
	body.node-type-page-projet .group-left {
		margin-right: 20px;
	}
	.field-name-field-r-et-d-diaporama-sommaire {
		margin-right: 20px;
	}
	body.node-type-sommaire-projets .group-right,
	body.node-type-page-projet .group-right {
		width: 696px;
	}
	body.node-type-sommaire-projets .flexslider {
		width: 338px;
		height: 448px;
	}
	body.node-type-sommaire-projets .flexslider .slides img {
		width: 448px;
		height: 448px;
		max-width: none;
		margin-left: -45px;
	}
	body.node-type-page-projet .group-flexslider-small .flexslider {
		width: 450px;
		height: 448px;
	}
	body.node-type-page-projet .group-flexslider-small .flexslider .slides img {
		width: 600px;
		height: 448px;
		max-width: none;
		margin-left: -75px;
	}
	.groupe-texte-rd .fieldset-wrapper {
		width: 230px;
	}
	
	/* Page Presse */
	body.node-type-page-presse .group-left {
		margin-right: 50px;
	}
	body.node-type-page-presse .group-right {
		width: 666px;
	}
	body.node-type-page-presse .group-flexslider-small .flexslider {
		width: 336px;
		height: 448px;
	}
	body.node-type-page-presse .group-flexslider-small .flexslider .slides img {
		width: 672px;
		height: 448px;
		max-width: none;
/*		margin-left: -75px;
*/	}
	body.node-type-page-presse .groupe-texte-presse .fieldset-wrapper {
		width: 280px;
	}
	
	/* 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: 305px;
		margin-right: 20px;
	}
	body.node-type-page-texte .group-right {
		width: 265px;
		overflow: hidden;
	}
	body.node-type-basic-page-alter .group-middle {
		margin-right: 20px;
	}
	body.node-type-page .group-middle {
		width: 250px;
		margin-right: 20px;
		padding: 0px 15px 0 25px;
	}
	body.node-type-page .group-right {
		width: 390px;
		overflow: hidden;
	}
	body.node-type-page .group-flexslider-small .field-name-field-product-diaporama .flexslider {
		width: 390px;
		height: 448px;
	}
	body.node-type-page .group-flexslider-small .field-name-field-product-diaporama .flexslider .slides img {
		max-width: none;
		width: 448px;
		height: 448px;
		margin-left: -29px;
	}
	#site-map .group-right,
	body.node-type-webform .group-right,
	body.node-type-page-technique .group-right {
		width: 675px;
	}
	body.node-type-basic-page-alter .group-right {
		width: 355px;
		padding: 0px 10px 0 25px;
	}
	.col-1-tech {
		width: 362px;
		margin-right: 30px;
	}
	.col-2-tech {
		width: 283px;
	}
	.col-1-1-tech {
		width: 180px;
		margin-right: 12px;
	}
	.col-1-2-tech {
		width: 180px;
	}
	form input.form-text, form textarea.form-textarea-wrapper {
		width: 100%;
	}
	
	/* plan du site */
	.site-map-box-terms .content > ul > li {
		width: 190px;
		margin-right: 10px;
		margin-bottom: 5px;
	}
	.site-map-box-menu-main-menu .content > ul.site-map-menu > li:nth-child(9),
	.site-map-box-menu-main-menu .content > ul.site-map-menu > li:nth-child(10) {
		position: relative;
		/*top: -110px;*/
	}
	.site-map-box-terms {
		position: relative;
		//top: -125px;
		//left: 200px;
	}
	.site-map-box-menu-menu-menu-annexe .content > ul.site-map-menu > li:nth-child(5n+1) {
		clear: none;
	}
	.site-map-box-menu-menu-menu-annexe .content > ul.site-map-menu > li:nth-child(4n+1) {
		clear: left;
	}
/*	.site-map-box-menu-main-menu .content > ul.site-map-menu > li:nth-child(6) {
		position: relative;
		top: -50px;
	}
	.site-map-box-menu-main-menu .content > ul.site-map-menu > li:nth-child(7) {
		position: relative;
		top: 0px;
	}
	.site-map-box-menu-main-menu .content > ul.site-map-menu > li:nth-child(8) {
		position: relative;
		top: -157px;
		left: 200px;
	}
	.site-map-box-menu-main-menu .content > ul.site-map-menu > li:nth-child(9) {
		position: relative;
		top: -100px;
		left: -200px;
	}
	.site-map-box-terms {
		top: -114px;
		left: 0;
	}
	.site-map-box-menu-menu-menu-annexe {
		position: relative;
		top: -97px;
	}
 */
	/* blog */
	body.section-actualites #main .content-inner,
	body.section-news #main .content-inner,
	body.section-blog #main .content-inner {
		width: 570px;
	}
	body.section-actualites #sidebar-second,
	body.section-news #sidebar-second,
	body.section-blog #sidebar-second {
		width: auto;
	}
	form .webform-component--colonne-1--FIRST-NAME input,
	form .webform-component--colonne-1--LAST-NAME input {
		width: 100%;
	}


}


@media only screen and (min-width : 960px) and (max-width: 979px) {
	
	#messages,
	#main-wrapper,
	#footer-wrapper {
		width: 960px;
	}
	#header-inner-wrapper {
		width: 920px;
	}
	/* Sommaire catégories pj */
	.view-taxo-custom .view-content {
		width: 640px;
	}
	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: 677px;
	}

	/* Sommaire stores */
	.field-name-field-stores-bloc-type > .field-items > .field-item {
		width: 207px;
	}
	.field-name-field-stores-bloc-type .field-name-field-panneaux-vignette-type {
		margin-left: -37px;
	}
	/* Sommaire rideaux */
	.field-name-field-parois-verre-bloc-type > .field-items > .field-item,
	.field-name-field-rideaux-bloc-type > .field-items > .field-item {
		width: 320px;
	}
	.field-name-field-parois-verre-bloc-type .field-name-field-panneaux-vignette-type,
	.field-name-field-rideaux-bloc-type .field-name-field-panneaux-vignette-type {
		margin-left: -60px;
	}
	
	/* Sommaire videos */
	body.page-videos .view-content {
		width: 657px;
	}
	body.page-videos .view-content .views-row {
		width: 300px;
	}
	
	/* Sommaire presse */
	body.page-presse .view-content {
		width: 657px;
	}
	body.page-presse .view-content .views-row {
		width: 198px;
	}
	
	/* Produits */
	.node-type-basic-page-alter .group-left,
	.node-type-showroom .group-left,
	.node-type-sommaire-type-stores-rideaux .group-left, 
	.node-type-page-produit-tapis-moquette .group-left, 
	.node-type-page-produit-parois-verre .group-left,
	.node-type-page-produit-store .group-left, 
	.node-page-produit .group-left {
		width: 240px;
	}
	
	.node-type-sommaire-type-stores-rideaux .group-middle,
	.node-type-page-produit-parois-verre .group-middle,
	.node-type-page-produit-store .group-middle, 
	.node-type-page-produit-tapis-moquette .group-middle, 
	.node-type-showroom .group-middle, 
	.node-page-produit .group-middle {
		width: 215px;
	}
	.node-type-basic-page-alter .group-middle {
		width: 235px;
	}
	
	/* Page réalisations + R&D */
	body.node-type-sommaire-projets .group-right,
	body.node-type-page-projet .group-right {
		width: 676px;
	}
	body.node-type-sommaire-projets .flexslider {
		width: 328px;
	}
	body.node-type-sommaire-projets .flexslider .slides img {
		width: 448px;
		margin-left: -50px;
	}
	body.node-type-page-projet .group-flexslider-small .flexslider {
		width: 430px;
		height: 448px;
	}
	body.node-type-page-projet .group-flexslider-small .flexslider .slides img {
		width: 600px;
		margin-left: -80px;
	}


	/* Page Presse */
	body.node-type-page-presse .group-left {
		margin-right: 30px;
	}
	body.node-type-page-presse .group-right {
		width: 666px;
	}
	body.node-type-page-presse .group-flexslider-small .flexslider {
		width: 336px;
		height: 448px;
	}
	body.node-type-page-presse .group-flexslider-small .flexslider .slides img {
		width: 672px;
/*		margin-left: -80px;
*/	}
	body.node-type-page-presse .groupe-texte-presse .fieldset-wrapper {
		width: 300px;
	}


	/* page simple + tech + sitemap */
	body.node-type-page .group-middle,
	body.node-type-page-texte .group-middle {
		width: 285px;
	}
	body.node-type-page-texte .group-right {
		width: 265px;
	}
	body.node-type-page .group-right {
		width: 335px;
	}
	#site-map .group-right,
	body.node-type-page-technique .group-right {
		width: 650px;
	}
	body.node-type-basic-page-alter .group-right {
		width: 335px;
	}
	
	/* blog */
	body.section-actualites #main .content-inner,
	body.section-news #main .content-inner,
	body.section-blog #main .content-inner {
		width: 550px;
	}
	body.section-actualites #sidebar-second,
	body.section-news #sidebar-second,
	body.section-blog #sidebar-second {
		width: auto;
	}

}
