/*
///////////////////////////////////////////////////////////////////////////////////////////// 
---
	RESPONSIVE [Media Queries]
---
/////////////////////////////////////////////////////////////////////////////////////////////
*/
img {
	max-width: 100%;
	/* just in case, to force correct aspet ratio */
	height: auto !important;
	width: auto\9; /* ie8 */
}
a img { border: 0px; }
video {
  max-width: 100%;
  /* just in case, to force correct aspet ratio */
  height: auto !important;
}
.video-container {position: relative;padding-bottom: 56.25%;height: 0;overflow: hidden;}
.video-container iframe, .video-container object, .video-container embed {position: absolute;top: 0;left: 0;width: 100%;height: 100%;}
.video-container .mejs-video, .video-container .mejs-layer, .video-container video{position: absolute;top: 0;left: 0;width: 100% !important;height: 100% !important;}


@media only screen and (min-width: 1280px) {
	.gridEntry.grid6 { width: 11.1%;}
}
@media only screen and (max-width: 1658px) {
	
	.grid_item{ width:16.66666667%;}
	.boxed .grid_item{ width:25%;}

}

@media only screen and (max-width: 1168px) {
	.content_box
	{ max-width:960px; }
	
	.grid_item{ width:25%; }
	#page_content{
		width:65%;
		
	}
	#sidebar{
		padding:30px 0 0 40px;
		width:35%;
	}
	.team_social_networks li {
	width: 25px;
	height: 25px;
	}

	
	#nivo_slider {padding:0px 0 !important; }
	
	
	.event_box .event_box_title{
		width: 373px;
	}
	

}

@media only screen and (orientation:landscape) and (min-width: 1024px) and (max-width: 1024px) {
	.content_box
	{ max-width:100%; margin:0 auto; }
	
	.grid_item{ width:25%; }

}
    
/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
	

	.content_box{ max-width:768px; }
	
	
	h1{
		font-size:60px;
		line-height:60px;
	}
	h2{
		font-size:48px;
		line-height:50px;
	}
	h3{
		font-size:36px;
		line-height:40px;
	}


	.cartouche .date_post {
		background:none;
		padding-left: 8px;
		text-align:center;
	}
	.cartouche .likes a, .cartouche .comments a{
	padding: 19px 4px 0 4px;
	}
	.ads-blocks-4 a{
		float:none;
		margin:0 0 5px 0;
		width:100%;
	}
	#page_content{
		width:65%;
		
	}
	#sidebar{
		padding:30px 0 0 40px;
		width:35%;
	}
	
	
		.size1{ width:46%; }
	.size2{ width:46%; }
	.size3{ width:46%; }
	.size4{ width:46%; }
	.size5{ width:46%; }
	
	#footer #flickr_badge_wrapper a {
	float: left;
	margin: 1%;
	width: 49%;
	height: inherit;
	}
	.team_member .member_block { width: 28%; }
	.team_social_networks li {
	width: 30px;
	height: 30px;
	}
	
	.event_box_img{ display:none !important;}
	.event_box .event_box_title{ width: 325px; }
	.event_box .event_box_title h4{ font-size:14px; }
	.event_box .event_box_location { width: 110px; }

	
}
@media only screen and (orientation:portrait) and (min-width: 767px) and (max-width: 768px) {
	
	.boxed .grid_item, .grid_item {
	width: 33.4% !important;
	}

}
/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {

	#header #navigation ul{ display: none; }
	#header .mobileMenu_tool{
	display:block;
	}
	#registrer_box {
	float: none;
	padding: 20px 0;
	text-align: center;
	position:inherit;
	right:auto;
	}
	.boxed .grid_item {
	width: 33.4% !important;
	}
	#footer #flickr_badge_wrapper a {
	float: left;
	margin: 1%;
	width: 22%;
	height: inherit;
	}
	.grid2,
	.grid3,
	.grid4,
	.grid5,
	.grid6{ width:25%; }

	.section_box {
	clear: both;
	padding: 20px 0 0px 0;
	}
	#page_title .breadCrumb{ display:none; }
	.event_box .event_box_img {
display: block !important;
	}
	.event_box .event_box_title, .event_box .event_box_price{ border-left:none; }
	.event_box .event_box_title{ border-bottom:1px solid #eaeaea; width: 340px; }
	.event_box .event_box_location {width: 130px;}
	#registrer_box .avatar_user {margin-left: 0px;}

}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	
.type-emission {
	float: none;
	width: 100%;
	margin: 0;
}

	.stream {
		float: none;
		width: 240px;
		margin: 20px auto;
	}


	.content_box
	{ max-width:90%; }
	
	#page_content{
		width:100%;
		padding:20px 0px !important;
	}
	#sidebar{
		padding:20px 0px !important;
		width:100%;
		border:none;
		margin-top:0;
	}

	
	.one-full,
	.one-half,
	.one-third,
	.two-third,
	.one-fourth,
	.two-fourth,
	.three-fourth,
	.one-fifth,
	.two-fifth,
	.three-fifth,
	.four-fifth,
	.widget_col{
		width:100% !important;
		margin-left:0%;
		margin-right:0%;
		
    }
	
	h1{
		font-size:36px;
		line-height:40px;
	}
	h2{
		font-size:30px;
		line-height:36px;
	}
	h3{
		font-size:24px;
		line-height:30px;
	}


	.boxed .grid_item, .grid_item, .home_grid .grid_item {
	width: 50%;
	}

	#top_bar #social_top{
		display:none;
	}
	#top_bar #top_navigation{
		width:100%;
		text-align:center;
	}
	#top_bar #top_navigation li{
		display:inline-block;
		text-align:left;
	}

	#header .content {
	height: 100%;
	}
	#header .clear{ display:none; }
	#header #header_logo {
	float: none;
	padding: 20px 0 0 0px;
	margin: 0 auto;
	display: inline-block;
	width: 100%;
	text-align: center;
	}
	#header #header_logo a {
	margin: 0 auto;
	display: inline-block;
	}


	.counter_style_2 .countdown_amount{ font-size:30px; line-height:30px; padding-top:10px; }
	.counter_style_2 .countdown_intitule{ display:block; clear:both; position:inherit; top:auto; font-size:16px;}
	
	.event_preview{
		max-width:280px;
		float:none;
		margin-right:0px;
		margin-bottom:5px;
	}
	.widget_4cols .widget_col {
	float:none;
	margin-left: 0%;
	margin-right: 0%;
	margin-bottom: 20px;
	width: 96%;
	}
	
	.ads-blocks-4 a{
		float:left;
		display:inline-block;
		margin:0 0 5px 0;
		width:25%;
	}
	.grid2,
	.grid3,
	.grid4,
	.grid5,
	.grid6{ width:33.333336%; }
	
	.size1,
	.size2,
	.size3,
	.size4,
	.size5{ width:96%;
	width: 90%;
	margin: 0 auto 40px auto;
	float: none;
}
	
	
	.team_member .member_block {
	float:none;
	width: 100%;
	margin: 0 auto 40px auto;
	}

	#footer #bottom_navigation, .copyright_line{ float:none; text-align:center; width:100%; }
	
#homeCarousel { height: 340px; }
#sliderCarousel {
	height: 340px;
}
#sliderCarousel ul {
	height: 340px;
}
#sliderCarousel ul li {
	height: 340px;
}
#sliderCarousel ul li img {
	max-height: 340px;
	width:auto;
}
#sliderCarousel ul li .video-container iframe{
	min-height: 340px !important;
	width: 400px !important;
}
#sliderCarousel ul li .video-container {
	min-height: 340px !important;
	width: 400px !important;
}
.pricing-table.col-2 .plan,
.pricing-table.col-3 .plan,
.pricing-table.col-4 .plan,
.pricing-table.col-5 .plan{
	width:100%;
	border-right:1px solid #d5d5d5;
}
.pricing-table .plan:last-child{
	border-right:1px solid #d5d5d5;
}
.plan.featured h3 {
margin: -0px -1px 0px -1px;
}
.plan.featured {
position:inherit;
margin: -0px -1px 0 0;
padding: 0; 
}
.plan.featured::before,.plan.featured::after { visibility:hidden; }

.noMobile{ display:none; }

/*.nivo-caption, nivo-controlNav { display:none !important; }*/

}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {

.type-emission {
	float: none;
	width: 100%;
	margin: 0;
}
		.stream {
		float: none;
		width: 240px;
		margin: 20px auto;
	}
	
	.content_box
	{ max-width:90%; }
	#page_title{ text-align:center; }
	.one-full,
	.one-half,
	.one-third,
	.two-third,
	.one-fourth,
	.two-fourth,
	.three-fourth,
	.one-fifth,
	.two-fifth,
	.three-fifth,
	.four-fifth,
	.widget_col{
		width:100% !important;
		margin-left:0% !important;
		margin-right:0% !important;
    }
	
	h1{
		font-size:36px;
		line-height:40px;
	}
	h2{
		font-size:30px;
		line-height:36px;
	}
	h3{
		font-size:24px;
		line-height:30px;
	}

	#top_bar #social_top{
		display:none;
	}
	#top_bar #top_navigation{
		width:100%;
		text-align:center;
	}
	#top_bar #top_navigation li{
		display:inline-block;
		text-align:left;
	}
	
	#header .content {
	height: 100%;
	}
	#header .clear{ display:none; }
	#header #header_logo {
	float: none;
	padding: 20px 0 0 0px;
	margin: 0 auto;
	display: inline-block;
	width: 100%;
	text-align: center;
	}
	#header #header_logo a {
	margin: 0 auto;
	display: inline-block;
	}
	
	#header .clear {
		display:none;
	}
	
	
	.boxed .grid_item, .grid_item {
	width: 50% !important;
	}
	.boxed .grid_item .box .info, .grid_item .box .info{ top:5%; }
	.boxed .grid_item h4, .grid_item h4{ font-size:13px;}
	.home_grid .grid_item {
	width: 100% !important;
	}
	.wspace {
	padding: 20px 0px;
	}


	#page_content{
		width:100%;
		padding:20px 0px !important;
	}
	#sidebar{
		padding:20px 0px !important;
		width:100%;
		border:none;
		margin-top:0;
	}
	.ads-blocks-4 a{
		float:left;
		display:inline-block;
		margin:0 0 5px 0;
		width:50%;
	}
	#footer #bottom_navigation, .copyright_line{ float:none; text-align:center; width:100%; }

	.countdown_amount{ font-size:30px; line-height:30px;  margin-bottom:0px;}
	.countdown_intitule{ font-size:13px; padding:4px 0; }
	
	.counter_style_2 .countdown_amount{ font-size:30px; line-height:30px; padding-top:10px; }
	.counter_style_2 .countdown_intitule{ display:block; clear:both; position:inherit; top:auto; font-size:16px;}
	.event_preview{
		max-width:100%;
		float:none;
		margin-right:0px;
		margin-bottom:5px;
	}
	
	.boxed .portrait {
		width: auto;
		height: 130px !important;
		margin: 0 auto 20px auto !important;
		clear:both;
		float:none;
	}
	.grid2,
	.grid3,
	.grid4,
	.grid5,
	.grid6{ width:50%; }
	
	.gallery_thumb {width: 50%;}

	.size1{ width:96%; }
	.size2{ width:96%; }
	.size3{ width:96%; }
	.size4{ width:96%; }
	.size5{ width:96%; }
	
	.team_member .member_block {
	float:none;
	width: 100%;
	margin-left: 0%;
	margin-bottom:40px;
	}
	
#homeCarousel { height: 240px; }
#sliderCarousel {
	height: 240px;
}
#sliderCarousel ul {
	height: 240px;
}
#sliderCarousel ul li {
	height: 240px;
}
#sliderCarousel ul li img {
	max-height: 240px;
	width:auto;
}
#sliderCarousel ul li .video-container iframe{
	min-height: 240px !important;
	width: 320px !important;
}
#sliderCarousel ul li .video-container {
	min-height: 240px !important;
	width: 320px !important;
}

.pricing-table.col-2 .plan,
.pricing-table.col-3 .plan,
.pricing-table.col-4 .plan,
.pricing-table.col-5 .plan{
	width:100%;
	border-right:1px solid #d5d5d5;
}
.pricing-table .plan:last-child{
	border-right:1px solid #d5d5d5;
}
.plan.featured h3 {
margin: -0px -1px 0px -1px;
}
.plan.featured {
position:inherit;
margin: -0px -1px 0 0;
padding: 0; 
}
.plan.featured::before,.plan.featured::after { visibility:hidden; }

	.event_box .event_box_img {
display: block;
float:none;
overflow:inherit;
}
	.event_box_img{ display:block !important; width:40% !important; height:40% !important; margin:0 auto; padding:15px 0 0 0;}
	.event_box_img img{ display:block !important; width:100% !important;}
	.event_box .event_box_title{ text-align:center; padding:15px; width:100%; }
	.event_box .event_box_price,
	.event_box .event_box_location{border-bottom:1px solid #eaeaea; width:50%; }
	.event_box .event_box_link { width: 210px;}
	.event_box .event_box_link a {
font-size: 16px !important;
width: 90%;
}
.event_box .event_box_opener {
width: 50px;
}
.noMobile{ display:none; }
/*.nivo-caption, .nivo-controlNav { display:none !important; }*/

.album_cover{
	max-width:280px;
	float:none;
	margin-right:0px;
	margin-bottom:20px;
}
.album_details{
	float:none; width: 100%;
}



}

/* RETINA DEVICES */
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) { 
  

}