
/* main wrapper */
.cbp-contentslider {
	width: 100%;
	height: 600px;
	margin: 1em auto;
	position: relative;
	border: 4px solid #099EFF
}

.cbp-contentslider > ul {
	list-style: none;
	height: 87%;
	width: 100%;
	overflow: hidden;
	position: relative;
	padding: 0;
	margin:7% 0 0 0 ;
}

.cbp-contentslider > ul li {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	padding: 1% 2%;
	background: #f5f6f7 ;
}

/* Whithout JS, we use :target */
.cbp-contentslider > ul li:target {
	z-index: 100;
}

.cbp-contentslider nav {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 12%;
	font-size: 20px;
	z-index: 1000;
	border-bottom: 4px solid #099EFF; 
	overflow: hidden;
}

.cbp-contentslider nav a {
	float: left;
	display: block;
	width: 20%;
	height: 50%;
	
	overflow: hidden;
	color: #099EFF;
	background: #fff;
	outline: none;
	position: relative;
	padding-left: 2%;
	border-right: 4px solid #099EFF;
	border-bottom: 4px solid #099EFF;
	-webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
	-moz-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
	transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.cbp-contentslider nav a span {
	display: block;
}

.cbp-contentslider nav a:last-child {
/*	border: none;
	/*box-shadow: 1px 0 #099EFF; /* fills gap caused by rounding */
}

.cbp-contentslider nav a:hover {
	background-color: #099EFF;
	color: #fff;
}

.cbp-contentslider nav a.rc-active {
	background-color: #099EFF;
	color: #fff;
	text-decoration:none;
}



.cbp-contentslider h3 {
	  border-bottom: 4px solid #099EFF;
    color: #5e685e;
    font-size: 2em;
    height: 40px;
    position: relative;
}


.cbp-contentslider li > div {
	position: absolute;
	width: 100%;
	left: 0;
	padding: 0 1em;
	overflow-x: hidden;
	overflow-y: auto;
}

.cbp-contentslider .cbp-content {
	-webkit-column-count: 2;
	-moz-column-count: 2;
	-o-column-count: 2;
	column-count: 2;
	-webkit-column-gap: 2em;
	-moz-column-gap: 2em;
	-o-column-gap: 2em;
	column-gap: 2em;
	vertical-align: top;	
	padding: 1em 0;
}

.cbp-contentslider p {
	color: #5e685e;
	padding: 0 0.5em 0.4em;
	margin: 0;
	font-size: 1.2em;
	font-weight: 300;
	text-align: left;
	
}
#cbp-contentslider nav > a:nth-child(5) { border-right: none;}
#cbp-contentslider nav > a:nth-child(6) { border-bottom: none;}
#cbp-contentslider nav > a:nth-child(7) { border-bottom: none;}
#cbp-contentslider nav > a:nth-child(8) { border-bottom: none;}
#cbp-contentslider nav > a:nth-child(9) { border-bottom: none;}

/* Media queries */

@media screen and (max-width: 70em) { 
	.cbp-contentslider p {
		font-size: 100%;
	}
}

@media screen and (max-width: 67.75em) {
.cbp-contentslider nav{ font-size: 16px}
}
@media screen and (max-width: 1024px) {
 .cbp-contentslider > ul{ margin-top: 9%; }
}
@media screen and (max-width: 61.5em) {
.cbp-contentslider ul{ margin-top: 10%}
}

@media screen and (max-width: 53em) {

	.cbp-contentslider h3 {
		font-size: 2em;
	}

	.cbp-contentslider .cbp-content {
		-webkit-column-count: 1;
		-moz-column-count: 1;
		-o-column-count: 1;
		column-count: 1;
	}

	.cbp-contentslider li > div {
		top: 3em;
	}

}
@media screen and (max-width: 48em) {
	.cbp-contentslider > ul li{ height: 98%; }
	.cbp-contentslider{ height: 690px;}
	.cbp-contentslider ul { margin-top: 18%; height: 87%; }
	.cbp-contentslider nav{ height: 13%}
	.cbp-contentslider nav a{ width: 33.33333%; height: 33.3333% }
	#cbp-contentslider nav > a:nth-child(5) {border-right: 4px solid #099EFF;}
	#cbp-contentslider nav > a:nth-child(3), #cbp-contentslider nav > a:nth-child(6) {border-bottom: 4px solid #099EFF; border-right: none;}
	#cbp-contentslider nav > a:nth-child(9){ border-right: none;}
}
@media screen and (max-width: 580px) {
 .cbp-contentslider > ul{ margin-top: 22%; }
}

@media screen and (max-width: 27.5em) {
.cbp-contentslider{ height: 890px; width: 109%; } 
.cbp-contentslider p {
    font-size: .9em;
}
.cbp-contentslider ul{ margin-top: 35%; }
.cbp-contentslider nav a span{ font-size: 14px; }
.cbp-contentslider nav a { padding: 0; line-height: 16px; }
}
@media screen and (max-width: 375px) {
 .cbp-contentslider > ul{ margin-top: 38%; }
 .cbp-contentslider > ul li{height: 97%; }
}
@media screen and (max-width: 375px) {
 .cbp-contentslider > ul{ margin-top: 46%; }
}