/**
*
*		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: relative;
    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: absolute;
    top: 0;
    left:20px;
    width: 94%;
    padding:20px 0 100px 0;
    z-index: 1337;
 	}
 	
 	.drop-down:target > ul {
     display : block;
	}
	
	.drop-down span.title_menu {
	display: block;
	float:right;
	position: relative;
	margin:8px 14px 6px 10px;
	line-height: 1;
	font-weight: normal;
	}
	
	.drop-down span.title_menu a {	
	display: inline-block;
	font-size: 18px;
	padding: 8px 10px 8px 30px;
	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;
	}
	
	.drop-down span.title_menu a:before {
	 content: "";
  	position: absolute;
	top: 12px;
  	left: 10px;
  	width: 13px;
  	height: 0.135em;
  	border-top: 0.375em double #ddd;
  	border-bottom: 0.125em solid #ddd;
	}
	
	.drop-down span.title_menu a:hover, .drop-down 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 4px 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 > 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="#"] {
	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 */
	
	.drop-down li:hover, .drop-down li.active {
	background-image : none;
	}
	
	.drop-down li li:first-child {
	margin:0;
	}
	
	.drop-down li ul ul {
	padding:0;
	}

}




@media screen and (max-width: 979px) {

	
	/** 		**/
	
	#top-site, #top-site-with-googlemap {
    min-width: 0;
	}

	#logo span {
	font-size:30px;
	line-height:30px;
	}
	
	#logo span span {
	font-size:13px;
	line-height:13px;
	margin-top:6px;
	}
	
	#top-site .margin-menu {
    margin-right: 16px;
	}
	
	#middle-site {
    padding: 35px 0 85px 0;
    min-height:80%;
    }
	
	#middle-site .wrapper {
	width:97%;
	}
	
	
	.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: 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_four {
	left:20px;
	}
	
	.content_two, .content_three {
	right:20px;
	}	
	
	/** 	FOOTER 		**/
	
	.empty-space-mobile {
	min-height:100%;
	}
	
	#bottom_site {
	position:relative;
	height:auto;
	width:auto;
    padding: 10px 0 6px 0;
	text-align:center;
	}
	
	.footer-right > div {
	margin-bottom:8px !important;
	}
	
	#adress {
	float:none;
	clear:both;
	text-align:center;
	margin: 0;
	}
	
	#search, #bottom_menu, .social-links {
	display:inline-block;
	float:none;
	padding-bottom:6px;
	}
	
	#search .inputbox {
	width:72px;
	}

}



@media screen and (max-width: 767px) {

	/**		Special module position 		**/
	
	.content_one, .content_two, .content_three, .content_four {
	position:relative;
	top:0;
	left:0;
	margin: 40px 3%;
	max-width:70%;
	}
	
	/**		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;
	}

}