/* For screen bigger than 800px */
@media (min-width: 50em) {

	/* Transforms the list into a horizontal navigation */

	.nav a {
		display: block;
		width: auto;
	}
	
}

@media (min-width: 50em) and (max-width: 61.250em) {

	/* Size and font adjustments to make it fit into the screen*/
	.nav ul {
		
	}
}

/* The "tablet" and "mobile" version */

@media (max-width: 49.938em) {

	#mainslider {
	z-index: 10;
}
	
	.home-middle-nav {
	height: 114px;
	margin-bottom: 40px;
}
	
	.home-middle-nav a {
	width: 100%;
	height: 36px;
	padding-top: 10px;
	background: #fff url('../img/middle_nav_bg_mob.png') top left; 
	display: block;
}

	.home-middle-nav a:hover {
	background: #eeebde url('../img/middle_nav_bg_mob.png') no-repeat;
	display: block;
}
	
	.nav a {
		margin: 0;
		float: none;
		text-align: center;	
		padding-bottom: 10px;
	}
	
	a .navicon  {
		width: 28px;
		height: 28px;
		display: block;
		margin: 0 auto 6px;
}
	
	.nav ul li:nth-child(4n+1) span {
		background: url('../img/navicon_accommodation.jpg'); 
		display: block;
		overflow: hidden;
		margin: 0 auto 6px;
}	

	.nav ul li:nth-child(4n+2) span {
		background: url('../img/navicon_activities.jpg'); 
		display: block;
		overflow: hidden;
		margin: 0 auto 6px;
}	

	.nav ul li:nth-child(4n+3) span {
		background: url('../img/navicon_reserve.jpg'); 
		display: block;
		overflow: hidden;
		margin: 0 auto 6px;
}	

	.nav ul li:nth-child(4n+4) span {
		background: url('../img/navicon_care.jpg'); 
		display: block;
		overflow: hidden;
		margin: 0 auto 6px;
}	
	

	.nav ul li {
		-webkit-transition: background 0.5s;
		-moz-transition: background 0.5s;
		-o-transition: background 0.5s;
		-ms-transition: background 0.5s;
		transition: background 0.5s;
	}	

}

/* CSS specific to the 2x3 columns version */
@media (min-width:32.5em) and (max-width: 49.938em) {
	
	/* Creating the 2 column layout using floating elements once again */
	
	.nav ul {
	padding: 0;
	background: url('../img/CN_texture_dark.jpg'); 
}
	
	.nav li {
		display: block;
		float: left;
		width: 25%;
	}
	
	/* Adding some padding to make the elements look nicer*/
	.nav a {
		font-size: 14px;	
	}



	/* Adaptating to the icons to animate the size and border of the rounded background in a more discreet way */
	.nav li i {
		display: inline-block;
		padding: 8% 9%;
		border: 4px solid transparent;
		border-radius: 50%;
		font-size: 1.5em;
		background: rgba(255,255,255,0.1);
		-webkit-transition: border .5s;
		-moz-transition: border .5s;
		-o-transition: border .5s;
		-ms-transition: border .5s;
		transition: border .5s;
	}

	/* Transition effect on the border color */
	.no-touch .nav li:hover i,
	.no-touch .nav li:active i,
	.no-touch .nav li:focus i {
		border: 4px solid rgba(255,255,255,0.1);
	}
	
}

/* Adapting the font size and width for smaller screns*/
@media (min-width: 32.5em) and (max-width: 38.688em) {
	
	.nav li {
		display: block;
		float: left;
		width: 25%;
	}
	
	/* Adding some padding to make the elements look nicer*/
	.nav a {
		font-size: 14px;	
	}



	/* Adaptating to the icons to animate the size and border of the rounded background in a more discreet way */
	.nav li i {
		display: inline-block;
		padding: 8% 9%;
		border: 4px solid transparent;
		border-radius: 50%;
		font-size: 1.5em;
		background: rgba(255,255,255,0.1);
		-webkit-transition: border .5s;
		-moz-transition: border .5s;
		-o-transition: border .5s;
		-ms-transition: border .5s;
		transition: border .5s;
	}

	/* Transition effect on the border color */
	.no-touch .nav li:hover i,
	.no-touch .nav li:active i,
	.no-touch .nav li:focus i {
		border: 4px solid rgba(255,255,255,0.1);
	}
	
}

/* Adapting the font size and width for smaller screns*/
@media (min-width: 32.5em) and (max-width: 38.688em) {
	
	.nav li span.icon {
		width: 50%;
	}

	.nav li .icon + span {
		font-size: 0.9em;
	}
}




@media (max-width: 32.438em) {

	.nav ul {
	padding: 0;
	background: url('../img/CN_texture_dark.jpg'); 
}
	
	.nav ul li {
	margin: 0 30px;
	height: 40px;
	border-bottom: 1px dashed #b9ab88;
}
	
	
	.nav li span {
		display: block;
		float: left;
	}

	.nav a {
		padding: 7px 0 7px 9px;	
		min-height: 40px;
	}
	

	/* make the nav bigger on touch screens */
	.touch .nav a {
		padding: 0.8em;
	}
}




@media only screen and (max-width: 958px) {

.nav-con {
	margin: 0;
	float: none;
	}
	
.sitetitle a {
	background: url(../img/capenature_logo.png)center no-repeat;
	margin: 0 auto;
	float: none;
}

.meganizr {
	background: url('../img/CN_texture_dark.jpg') !important; 
	border-top: 1px solid #fff;
	margin: 0 10px;
}

.meganizr li a:hover span {
	background-position: bottom;
}

.navicon-accommodation {
		background: url('../img/navicon_accommodation.png'); 
		display: block!important;
		overflow: hidden;
		width: 28px;
		height: 28px;
		display: block;
		margin: 0 auto 6px;
}

.navicon-activities {
		background: url('../img/navicon_activities.png'); 
		display: block!important;
		overflow: hidden;
		width: 28px;
		height: 28px;
		display: block;
		margin: 0 auto 6px;
}

.navicon-reserves {
		background: url('../img/navicon_reserve.png'); 
		display: block!important;
		overflow: hidden;
		width: 28px;
		height: 28px;
		display: block;
		margin: 0 auto 6px;
}

.navicon-care {
		background: url('../img/navicon_care.png'); 
		display: block!important;
		overflow: hidden;
		width: 28px;
		height: 28px;
		display: block;
		margin: 0 auto 6px;
}
}

@media only screen and (max-width: 800px) {
.contact-header {
	float: left;
	margin-left: 20px;
}

.search-box {
	margin-right: 20px;
}
		
}


/* Used to alter styles for screens at least 768px wide. This is where the grid changes. */
@media only screen and (max-width: 768px) {

.featured-6 {
	position: relative;
	width: 50%; }

.featured-home-con {
	min-height: 410px;
}

.report-crime {
	padding: 14px 0;
	height: auto;
	margin: 0 0 18px;

}

.home-description-takeaction {
	margin: 10px 0 0;
}

.header-top {
	background: url('../img/CN_texture.jpg') !important; 
}

.nav-con {
	background: url('../img/CN_texture_dark.jpg') !important; 
}


.slidercon {
	
}



.footer-facebook-con {
	padding: 0 0 0 20px;
}

.get-involved {
}

.home-description-takeaction h2 {
	padding: 0 20px 20px;
}

.footer-divider-2group {
	display: block;
	width: 100%;
	clear: both;
	margin: 2px 0 0px;
	padding: 10px 0 0;
	height: 1px;
	border-bottom: 1px dashed #0e5e7d;
}

}

@media only screen and (max-width: 767px) {	

	.home-findout {
		width: 104px;
		height: 124px;
		margin: 15px auto;
		background: url('../img/findout.png') top right; 
	
}
.home-description-takeaction h2 {
	padding: 0 20px;
}
}

/* Used to alter styles for screens at least 1280px wide. */
@media only screen and (min-width: 1280px) {}

/* Used to alter styles for screens at least 1440px wide. */
@media only screen and (min-width: 1440px) {}

/* Apply styles to screens in landscape orientation */
@media only screen and (orientation: landscape) {}

/* Apply styles to screens in portrait orientation */
@media only screen and (orientation: portrait) {}

/* We also use Modernizr to add a .touch class to the body when applicable */
/* You can prepend this class to anything and it will style only for touch devices */
.touch .your-element {}

@media only screen and (max-width: 568px) { 

.contact-header {
	margin-left: 20px;
}


@media only screen and (max-width: 420px) { 
.featured-6 {
	position: relative;
	display: block;
	width: 100%; }
	
.contact-header {
	text-align: center;
	float: none;
	clear: both;
	margin: 0 auto;
	padding: 20px 0 0;	
}


	 
@media only screen and (max-width: 240px) {
	 

	 
}
