/**
*
*		Media queries
*
**/


body {
-webkit-text-size-adjust: none;
}


.hidden {
display: none;
visibility: hidden;
}

.visible-phone {
display: none !important;
}

.visible-tablet {
display: none !important;
}

.hidden-desktop {
display: none !important;
}

.visible-desktop {
display: block !important;
}



/* Portrait tablet to landscape and desktop */
@media screen and (max-width: 979px) {


	.hidden-desktop {
	display: block !important;
	}
	.visible-desktop {
	display: none !important ;
	}
	.visible-tablet {
	display: block !important;
	}
	.hidden-tablet {
	display: none !important;
	}

}


/* Phone and little tablet */
@media screen and (max-width: 767px) {


	.hidden-desktop {
	display: block !important;
	}
	.visible-desktop {
	display: none !important;
	}
	.visible-phone {
	display: block !important;
	}
	.hidden-phone {
	display: none !important;
	}
	
}


@media screen and (max-width: 979px) {

	/** 		Supersized -  to down a little the slideshow if the position "home_page" is loaded			**/
	
	.home_page #supersized {
	top:20%;
	height:80%;
	}
			
	.home_page #supersized a {
	top:20%;
	height:80%;
	}
	
	/** 	Video and Google map 		**/
	
	.module_video {
	margin-top: 0;
	padding-bottom: 60px;
	position:relative !important;
	height: 400px !important;
	min-height:400px !important;
	}
	
	.module_google_map {
	margin-top: 0;
	position:relative !important;
	height: 50% !important;
	min-height:50% !important;
	}	
  
  	/** 		Column menu 			**/
  	
	#column-menu {
	position:relative;
	min-height:0;
	-moz-box-shadow : 0px 0px 16px 0px rgba(0,0,0, 0.40) ;
	-webkit-box-shadow : 0px 0px 16px 0px rgba(0,0,0, 0.40) ;
	box-shadow : 0px 0px 16px 0px rgba(0,0,0, 0.40) ;
	}
	
	.menu-white #column-menu {
	background-color : #fff;
	}
	
	.menu-black #column-menu {
	background-color : #000;
	}
		
	#main-column-menu {
	padding: 10px;
	}

	#column-menu, .nav_main, #search {
	width:auto;
	}

	
	.logo {
	padding:0;
	margin: 8px 0 18px 0;
	float:none;
	text-align:center;
	}
	
	.logo span {
	line-height:100%;
	}
	
	#translate {
	margin:0;
	position:absolute;
	top:4px;
	right:0;
	}
	
	.social-links li a img {
	width:20px;
	}
	
	/** 	Main menu 		**/
	
	.nav_main {
	position:relative;
	float:left;
	width:100%;
	padding:5px 0;
	margin:0;
	}
	
	.drop-down li ul, .drop-down li ul ul {
	top:100%;
	left:9%;
	width:88%;
	margin-top:0;
	}
	
	.drop-down li {
	text-align:center;
	float:left;
	margin : 0px 0 3px 2%;
	background: transparent url(../images/black-04.png) 0 0 repeat;
	padding : 0 ;
	width:47%;
	border:none;
	}
	
	.menu-black .drop-down li {
	background: transparent url(../images/white-10.png) 0 0 repeat;
	}
	
	.drop-down li:first-child {
	border:none;
	}
	
	.drop-down li li {
	text-align:left;
	float:none;
	margin : 2px 2px;
	background-image : none;
	width:auto;
	}
	
	.menu-black .drop-down li li {
	background-image : none;
	}
	
	.drop-down li a, .drop-down li span.separator {
	text-align:left;
	margin:0;
	padding: 4px 12px 3px 12px;
	border:none;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
	}
	
	.drop-down li:hover > a, .drop-down li:hover > span, .drop-down li.active > a, .drop-down li.active > span {
	color: #eee ;
	background : transparent url(../images/black-70.png) 0 0 repeat;
	}

	.menu-black .drop-down li:hover > a, .menu-black .drop-down li:hover > span, .menu-black .drop-down li.active > a, .menu-black .drop-down li.active > span {
	color: #eee ;
	background : transparent url(../images/white-14.png) 0 0 repeat;
	}
	
	.drop-down li li:hover > a, .drop-down li li:hover > span, .drop-down li li.active > a, .drop-down li li.active > span {
	color: #eee ;
	}	
	
	.drop-down li li a, .drop-down li li span.separator {
	padding:6px 12px;
	border:none;
	width:auto;
	}
	
	.drop-down li li:hover > a, .drop-down li li:hover > span, .drop-down li li.active > a, .drop-down li li.active > span {
	border:none;
	}
	
	.white0 .drop-down li ul, .white1 .drop-down li ul, .white2 .drop-down li ul, .white3 .drop-down li ul, .white4 .drop-down li ul, .white5 .drop-down li ul,
	.white6 .drop-down li ul, .white7 .drop-down li ul, .white8 .drop-down li ul, .white9 .drop-down li ul, .white10 .drop-down li ul {
	background-color : #f5f5f5;
	}
	
	.black0 .drop-down li ul, .black1 .drop-down li ul, .black2 .drop-down li ul, .black3 .drop-down li ul, .black4 .drop-down li ul, .black5 .drop-down li ul,
	.black6 .drop-down li ul, .black7 .drop-down li ul, .black8 .drop-down li ul, .black9 .drop-down li ul, .black10 .drop-down li ul {
	background-color : #222;
	}
	
	.drop-down li.parent a::after , .drop-down li.parent span::after {
	display:none;
	}
	
  
	/** 		Column content 		  	**/
	
	#column-content {
	position:relative;
	min-height : 0;
	margin:0;
	}
	
	.module_google_map, .module_video {
	padding-left: 0;
	}
	
	#column-content > .top, #column-content > .bottom, #column-content > .full_width {
	position: relative;
	top:0;
	left:0;
	max-width:none;
	width:auto !important;
	}
	
	#column-content > .top .all-content {
	margin-bottom:0px;
	}
	
	#column-content #main-column-content .all-content {
	padding: 24px 16px 14px 16px;
	min-height:600px; 				/**		second condition if height > 800px line 390 in this file 	**/
	}
	
	.shadow-normal .all-content, .shadow-none .all-content {
	-moz-border-radius:0;
	-webkit-border-radius: 0;
	-khtml-border-radius: 0;
	border-radius: 0;
	}
	
	.shadow-normal .all-content {
	-moz-box-shadow : none ;
	-webkit-box-shadow : none ;
	box-shadow : none ;
	}
	
	.shadow-corner > .bottom {
	min-height:0px;
	background-image : none;
	padding:0;
	}
	
	.shadow-corner > .top {
	min-height:0px;
	background-image : none;
	padding:0;
	top:0;
	}

	.shadow-corner .all-content {
	-moz-box-shadow : none ;
	-webkit-box-shadow : none ;
	box-shadow : none ;
	-moz-border-radius:0;
	-webkit-border-radius: 0;
	-khtml-border-radius: 0;
	border-radius: 0;
	}	
	
	/** 	CONTENT 	**/
	
	
	.left_column, .right-module-position, .top-module-position, .bottom-module-position {
	float:none;
	padding: 12px 0 12px 0;
	margin:0;
	background-image:none;
	min-height:auto;
	border:none;
	width : auto ;
	clear:both;
	}
	
	.left_column > div, .right-module-position > div {
	background-image:none;
	padding:0;
	}
	
	
	.right_column {
	overflow:visible;
	}
	
	.left_column .moduletable > div, .right-module-position .moduletable > div,
	.top-module-position .moduletable > div, .bottom-module-position .moduletable > div {
	clear:both;
	border:1px solid #ddd;
	border-color : rgba(0,0,0,0.10);
	margin:0 ;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-khtml-border-radius: 8px;
	border-radius: 8px;
	background: transparent url(../images/black-03.png) 0 0 repeat;
	}
	
	.white-text .left_column .moduletable > div, .white-text .right-module-position .moduletable > div,
	.white-text .top-module-position .moduletable > div, .white-text .bottom-module-position .moduletable > div {	
	border:1px solid #666;
	border-color : rgba(255,255,255,0.10);
	}
	
	.main_component {
	padding: 0 6px;
	}
	
	.submenu li {
	display : inline-block;
	margin : 0 1%;
	width:48%;
	}
	
	.submenu li li {
	text-align:left;
	float:none;
	margin : 2px 2px;
	width:100%;
	}
	
	.submenu li li a, .submenu li li span.separator {
	text-align:left;
	padding-top:4px;
	padding-bottom:3px;
	}
	
	.submenu li.active a, .submenu li.active span.separator,
	.submenu li.active a:hover, .submenu li.active span.separator:hover {
	margin-left: 0;
	width:auto;
	}
	
	.submenu li li a, .submenu li li span.separator,
	.submenu li.active li a, .submenu li.active li span.separator {
	background-position : 5px 10px;
	}
	

}


/*		To display the background on all screen if tablet with portrait mode 	*/
/*		First condition if height < 800px line 266 in this file 				*/

@media screen and (max-width: 979px) and (min-height: 800px) {

	#column-content #main-column-content .all-content {
	min-height:900px;
	}
	
}	




/* Phone and little tablet */
@media screen and (max-width: 767px) {

	
	.top_menu li {
	padding: 4px 2px 0 2px;
	}
	
	.user1, .user2, .user3, .user4, .user5, .user6, .right-module-position {
	float:none;
	padding:12px 0;
	margin:0;
	width : 100% !important;
	clear:both;
	}
	
	.user1, .user2, .user3, .user4, .user5, .user6 {
	margin : 8px 0 0 0;
	}
	
	.top-module-position .border > div, .bottom-module-position .border > div, .user1 .border > div, .user2 .border > div, .user3 .border > div, .user4 .border > div, .user5 .border > div, .user6 .border > div,
	.address .border > div, .translate .border > div, .search .border > div, top_menu .border > div, .bottom_menu .border > div {
	margin-bottom:8px;
	}
	
	.moduletable.shadow > div {
	margin-bottom:0 !important;
	}
	
	
	/* ++++++++++++++  blog  ++++++++++++++ */
	
	.cols-2 .column-1 {
	width:auto;
	float:none;
	}
	
	.cols-2 .column-2 {
	width:auto;
	float:none;
	}
	
	.cols-3 .column-1 {
	float:none;
	width:auto;
	padding:0;
	margin-right:0;
	}
	
	.cols-3 .column-2 {
	float:none;
	width:auto;
	width:auto;
	padding:0;
	}
	
	.cols-3 .column-3 {
	float:none;
	width:auto;
	padding:0;
	}
	
	.column-1, .column-2, .column-3 {
	padding:10px 0px;
	}
	
	.column-2 {
	width:auto;
	margin-left:0;
	}
	
	.column-3 {
	width:auto;
	}

}

@media (max-height: 640px) {

	/** 	Disable the position fixed 	when the height is less than 640 pixels	**/
	
	.barre-fixed {
	position:relative;
	width:100%;
	}

}

@media (max-width: 600px) {

	textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"],
	input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"],
	input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
	max-width:280px;
	}
	
	fieldset dt {
    float: none;
    margin: 0;
    padding:15px 20px 0 0;
}

}


@media (max-width: 450px) {

	textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"],
	input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"],
	input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
	max-width:200px;
	}

}

@media (max-width: 350px) {

	textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"],
	input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"],
	input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
	max-width:150px;
	}

}

@media (max-width: 769px) and (max-width: <?php echo ($width + 32); ?>px) {

	img {
	height: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	max-width: 100%;
	}
	
	textarea, table, td, th, code, pre, samp {
	word-wrap: break-word; 
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	}
	
	code, pre, samp {
	white-space: pre-wrap;
	}

} 

@media (max-width:769px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio:2) {

	body {
	-webkit-text-size-adjust: 70% !important;
	}

}