/**
*
*		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-tablet {
	display: none !important;
	}
	.hidden-tablet {
	display: block !important;
	}
	.visible-phone {
	display: block !important;
	}
	.hidden-phone {
	display: none !important;
	}
	
}


/** 			 
**				MAIN MENU
**		
**/



@media screen and (max-width: 979px) {
	
	.drop-down {
	position: absolute;
	top:0px;
	left:0;
	right:0;
    float: none;
    margin:0;
    padding:0;
    width: auto;
    height:auto;
    z-index: 10;
	}
	
	.drop-down ul {
	background-color: transparent;
    border : none;
    display : none;
    max-width: 400px;
    position: relative;
    top: 0;
    margin-left:3%;
    width: 94%;
    padding:20px 0 20px 0;
    z-index: 1337;
 	}
 	
 	.drop-down:target > div > ul {
    display : block;
	}
	
	span.title_menu {
	display: block;
	position: absolute;
	bottom:-60px;
	left:0;
	right:0;
	margin: 0 ;
	line-height: 1;
	font-weight: normal;
	}
	
	span.title_menu a {	
	display: block;
	font-size: 20px;
	margin : 0 auto;
	width:100px;
	padding: 6px 25px 10px 25px;
	color: #fff;
	background: #333;
	border-radius: 8px;
	-moz-box-shadow: 1px 1px 3px #aaa inset;
	-webkit-box-shadow: 1px 1px 3px #aaa inset;
	box-shadow : 1px 1px 3px #aaa inset;
	}
	
	.icon-menu {
	display : inline-block;
	padding-right:10px;
	}

	span.title_menu a:hover, span.title_menu a:focus {
	background: #000;
	text-decoration: none;
	}
	
	.drop-down:target span.title_menu {
	display: none;
	}
	
	.drop-down:target:before {
	content: "";
	position: fixed;
	z-index: -1;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(80,80,80,.8);
	}
    
    .drop-down li {
    position: relative;
    display : block ;
    float: none;
    height:auto;
    width:auto;
    line-height: inherit;
    padding: 0 ;
    margin:0 0 6px 0;
    background-image : none;
    }
    
    .drop-down li, .drop-down li:first-child {
    border : none;
    }
    
    .drop-down li.parent a:after, .drop-down li.parent span:after {
    color: #fff;
    font-size: 100%;
    right: 12px;
    top: 15px;
    -moz-transform:rotate(90deg);
	-webkit-transform:rotate(90deg);
	-o-transform:rotate(90deg);
	-ms-transform:rotate(90deg);
	transform:rotate(90deg);
	}
	
	.drop-down li.parent li.parent a::after , .drop-down li.parent li.parent span::after,
	.drop-down li.parent li.parent li.parent a::after , .drop-down li.parent li.parent li.parent span::after {
    color: #000;
    font-size: 100%;
    right: 12px;
    top: 15px;
    -moz-transform:rotate(90deg);
	-webkit-transform:rotate(90deg);
	-o-transform:rotate(90deg);
	-ms-transform:rotate(90deg);
	transform:rotate(90deg);
	}
	
	.drop-down li.parent li.parent:hover a::after , .drop-down li.parent li.parent:hover span::after,
	.drop-down li.parent li.parent li.parent:hover a::after , .drop-down li.parent li.parent li.parent:hover span::after {
	color:#000;
	}		
	
	.drop-down li ul {
	display : block ;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
	opacity:1;
	width: auto;
	/**	change	**/
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-o-border-radius: 0;
	border-radius:0;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	padding: 0;
	margin:0;
	background-color: transparent;
	}

	.drop-down li ul ul {
	top: 0;
	left: 0;
	margin:0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-o-border-radius: 0;
	border-radius:0;
	}

	.drop-down li ul:hover {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	}
	
	.drop-down li li ul:hover {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	}
	
	.drop-down li li {
	float:none;
	width:auto;
	background-image : none;
	padding:0;
	margin:0;
	}
	
	.drop-down li a, .drop-down li span.separator {
	display : block;
	width:auto;
	height : auto;
	padding: 14px 15px 14px 25px;
	margin:0;
	text-align : left;
	text-transform: none;
	font-weight: normal;
	line-height:100%;
	font-size:150%;
	background-image:none;
	background-color : #000;
	color : #fff;
	-moz-border-radius: 8px 8px 0 0;
	-webkit-border-radius: 8px 8px 0 0;
	-o-border-radius: 8px 8px 0 0;
	border-radius: 8px 8px 0 0;
	border : none;
	-webkit-transition : none;
	-moz-transition : none;
	-ms-transition : none;
	-o-transition : none;
	transition : none;
	}
	
	.drop-down > div > ul > li > a:only-child {
	border-radius: 8px;
	}
	
	.drop-down li li a, .drop-down li li span.separator {
	display : block;
	width:auto;
	color : #222;
	letter-spacing: 0px;
	font-size:140%;
	line-height:inherit;
	padding: 14px 15px 14px 25px;
	margin:0 ;
	background-image:none;
	background-color : #fff;
	border: 1px solid #aaa;
	border-top: 0;
	-moz-border-radius:  0;
	-webkit-border-radius:  0;
	-o-border-radius:  0;
	border-radius:  0;
	}
	
	.drop-down li ul, .drop-down ul ul li:last-child > a {
    border-radius: 0 0 8px 8px;
	}

	.drop-down li li li a, .drop-down li li li span.separator {
	font-size:125%;
	padding: 14px 15px 14px 40px;
	background-color : #e8e8e8;
	}
	
	.drop-down ul ul ul li:last-child > a {
    border-radius: 0 ;
	}
	
	.drop-down li li li li a, .drop-down li li li li span.separator {
	font-size:120%;
	padding: 14px 15px 14px 60px;
	background-color : #d8d8d8;
	}	
	
	.drop-down li a:hover, .drop-down li span.separator:hover {
	-webkit-transition : none;
	-moz-transition : none;
	-ms-transition : none;
	-o-transition : none;
	transition : none;
	}
	
	.drop-down li li li:first-child > a, .drop-down li li li:first-child > span {
	border-top-right-radius: 0;
	border-top-left-radius: 0;
	}
	
	.drop-down li li:last-child > a, .drop-down li li:first-child > span {
	border-bottom-left-radius:  0;
	border-bottom-right-radius:  0;
	}
	
	.drop-down li:hover > ul, .drop-down li:focus > ul {
	display : block ;
	z-index:10;
	opacity:1;
	-webkit-transition : none;
	-moz-transition : none;
	-ms-transition : none;
	-o-transition :none;
	transition : none;
	}
	
	
	.drop-down a {
	text-decoration : underline !important;
	}
	
	.drop-down li:hover > a, .drop-down a[href="#navigation"] {
	text-decoration : none !important;
	}
	
	.drop-down a[href="#"], .drop-down span.separator {
	text-decoration : none !important;
	cursor : default;
	}
	
	.drop-down li.active > a, .drop-down li.active > span, .drop-down li:hover > a, .drop-down li:hover > span {
	color: #fff ;
	background-color : #000;
	background-image: none;
	border: none;
	-moz-box-shadow: none;
	-webkit-box-shadow:none;
	box-shadow: none;
	}	
	
	.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: #000 ;
	background-color : #fff;
	background-image: none;
	-moz-box-shadow: none ;
	-webkit-box-shadow: none ;
	box-shadow: none ;
	border: 1px solid #aaa;
	border-top: 0;
	}
	

	.drop-down li li li:hover > a, .drop-down li li li:hover > span, .drop-down li li li.active > a, .drop-down li li li.active > span {
	background-color : #e8e8e8;
	}

	.drop-down li li li li:hover > a, .drop-down li li li li:hover > span, .drop-down li li li li.active > a, .drop-down li li li li.active > span {
	background-color : #d8d8d8;
	}
	
	.drop-down li.current > a {
	color: #fff !important;
	text-decoration : none !important;
	background-color : #6699cc !important;
	}
	
	/* others + Disable position fixed for header */
	
	.menu_left, .menu_right {
	position : relative;
	left:0;
	top:0;
	}
	
	.drop-down .menu_right li ul ul {
	margin: 0 ;
	}

}




@media screen and (max-width: 979px) {


	/** 	WIDTH 		**/
	
	#middle-site {
	width : 97%;
	}
	
	body {
	min-width : 0;
	}
	
	.content-top-site, #bottom_site > div {
	min-width : 0;
	width : auto;
	}

	/** 		**/
	
	.top-site-frontpage {
    position: relative !important;
    top: 0 !important;
	}
	
	#top-site {
	width: auto;
	height:auto;
	}
	
	.content-top-site {
	height:auto;
	}
	
	#top-site, #top-site-with-googlemap {
    min-width: 0;
	}

	#logo {
	position:relative;
	top:0;
	left:0;
	padding : 10px 0;
	text-align:center;
	}
	
	#logo img {
	max-height:115px;
	}
	
	#logo .left {
	text-align:inherit;
	}
	
	#logo .right {
	text-align:inherit;
	}
	
	.separator_header_bottom {
	height:90px !important;
	}
	
	.bottom-right-corner {
	position:relative;
	top:0;
	left:0;
	}
	
	#middle-site .breadcrumb {
	position : relative;
	margin : 10px 0 -4px 0;
	}	
	
	.module_video {
	margin-top: 0;
	padding-bottom: 60px;
	position:relative !important;
	min-height:400px !important;
	}
	
	.module_google_map {
	margin-top: 0;
	position:relative !important;
	min-height:50% !important;
	}
	
	/**		full screen button 		**/

	#close-box {
	position:absolute;
	top:12px;
	right:6px;
	width:24px;
	height:24px;
	cursor:pointer;
	background : transparent url(../images/closebox-mobile.png) 0 0px no-repeat;
	z-index:999;
	}
	
	#close-box:hover {
	background: transparent url(../images/closebox-mobile.png) 0 -24px no-repeat;
	}
	
	.reduce {
	top:12px;
	right:6px;
	background: transparent url(../images/closebox-mobile.png) 0 0px no-repeat !important;
	margin: 0 !important;
	}
	
	.reduce:hover {
	background: transparent url(../images/closebox-mobile.png) 0 -24px no-repeat !important;
	}
	
	/** 	remove the fixed width of Google map 		**/
	
	div[id*="googlemap"] {
	width:auto !important;
	}
	
	
	/** 	CONTENT 	**/
	
	#middle-site > .wrapper > div {
    margin: 40px 15px 30px;
    padding: 0;
	}
	
	.left, .right {
	float:none;
	margin: 15px 0 0 0;
	padding: 0;
	border:none;
	width : auto !important;
	clear:both;
	}
	
	.right {
	overflow:visible;
	}
	
	.left .border {
	margin-left:0;
	margin-right:0;
	}
	
	.left .moduletable, .right .moduletable {
	clear:both;
	-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;
	}
	
	.content {
	clear:both;
	}

	/**		Special module position 		**/
	
	.content_one, .content_two,
	.content_four, .content_three {
	position:relative;
	top:0;
	left:0;
	margin: 40px 3%;
	max-width:70%;
	}
	
	.content_one.with_google_map, .content_two.with_google_map,
	.content_four.with_google_map, .content_three.with_google_map {
	margin: 60px 10px 0 10px;
	max-width:none;
	width:auto;
	-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;
	}
	
	/** 	FOOTER 		**/
	
	#bottom_site {
	position:relative;
	height:auto;
	width:auto;
    padding: 10px 10px 0 10px;
    margin:0;
    overflow : visible;
	text-align:center;
	background : transparent url(../images/white-80.png) 0 0 repeat;
	-moz-box-shadow : 0px 1px 8px #999;
	-webkit-box-shadow : 0px 1px 8px #999;
	box-shadow:  0px 1px 8px #999;
	z-index:1;
	}
	
	.theme-black #bottom_site {
	background-image : url(../images/black-80.png);
	}
	
	.bottom-left, .bottom-right {
	display : none;
	}
	
	#footer-right {
	position : relative;
	top:0;
	left:0;
	height:auto;
	background-image : none;
	display:inline-block;
	margin: 0;
	padding:0 14px 10px 14px;
	vertical-align:middle;
	}
	
	#adress {
	position : relative;
	top:0;
	left:0;
	height:auto;
	background-image : none;
	display:inline-block;
	text-align:center;
	margin: 0;
	padding:0 14px 10px 14px;
	vertical-align:middle;
	}
	
	#bottom_menu li a, #bottom_menu li span.separator {
	padding: 0px 13px;
	}
	
	#adress .moduletable, #footer-right .moduletable, #footer-right .moduletable_menu {
	margin:0;
	}

	#adress .moduletable {
	float:none;
	margin:0;
	}
	
	/**					JS Copyright 		**/
	
	.js {
    bottom: 50px;
    }


}



@media screen and (max-width: 767px) {

	#logo img {
	max-height:90px;
	}

	
	/**		users 		**/

	#users_top, #users_bottom {
	padding: 0;
	}
	
	.user1, .user2, .user3, .user4, .user5, .user6 {
	float:none;
	padding:0;
	margin:0 0 20px 0;
	width : 100% !important;
	clear:both;
	}

	/* ++++++++++++++  blog  ++++++++++++++ */
	
	.cols1, .cols2, .cols3 {
	clear:both;
	float: none ;
	width : auto;
	}
	
	.column1, .column2, .column3 {
	padding: 20px 0 0 0;
	float: none;
	}
	
	.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-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: 640px) {

	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;
	}

}