/* @override http://localhost/littletrain/css/component.css */

@font-face {
	font-family: 'icomoon';
	src:url('../fonts/icomoon.eot');
	src:url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'),
		url('../fonts/icomoon.svg#icomoon') format('svg'),
		url('../fonts/icomoon.woff') format('woff'),
		url('../fonts/icomoon.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

/* Needed for a fluid height: */
html, body, .container, .main { 
	height: 100%;
	/*background: #CDE9E1;*/
}

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

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

.cbp-contentslider > ul li {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	padding: 1em 5em;
}

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

.cbp-contentslider nav {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 5.313em;
	z-index: 1000;
	border-top: 4px solid #fff;
	overflow: hidden;
}

.cbp-contentslider nav a {
	float: left;
	display: block;
	width: 20%;
	height: 100%;
	font-family: PontiacBlack;
	font-size: 1.2em;
	letter-spacing: 0.1em;
	overflow: hidden;
	color: #231F20;
	/*background: #fff;*/
	outline: none;
	text-align: center;
	line-height: 4.3;
	position: relative;
	/*padding-left: 3.125em;*/
	text-transform: uppercase;
	border-right: 4px solid #fff;
	-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.about {
	background: url(../images/about-bg.png) no-repeat center center;
}
.cbp-contentslider nav a.services {
	background: url(../images/services-bg.png) no-repeat center center;
}
.cbp-contentslider nav a.more {
	background: url(../images/contact-bg.png) no-repeat center center;
}

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

.cbp-contentslider nav a:hover {
	/*background-color: #CDE9E1;*/
	color: #fff;
}

.cbp-contentslider nav a.rc-active {
	/*background-color: #A4DAD4;*/
	color: #231F20;
}

/* Iconfont for navigation and headings */
/*.cbp-contentslider [class^="icon-"]:before, 
.cbp-contentslider [class*=" icon-"]:before {
	font-family: 'icomoon';
	font-style: normal;
	text-align: center;
	speak: none;
	font-weight: normal;
	line-height: 2.5;
	font-size: 2em;
	position: absolute;
	left: 10%;
	top: 50%;
	margin: -1.250em 0 0 0;
	height: 2.500em;
	width: 2.500em;
	color: rgba(0,0,0,0.1);
	-webkit-font-smoothing: antialiased;
}*/

.cbp-contentslider .icon-wolf:before {
	content: "\56";
}

.cbp-contentslider .icon-rabbit:before {
	content: "\52";
}

.cbp-contentslider .icon-turtle:before {
	content: "\54";
}

.cbp-contentslider .icon-platypus:before {
	content: "\42";
}

.cbp-contentslider .icon-aligator:before {
	content: "\41";
}

.cbp-contentslider [class^="icon-"].rc-active:before, 
.cbp-contentslider [class*=" icon-"].rc-active:before,
.cbp-contentslider nav a:hover:before {
	color: rgba(255,255,255,0.9);
}

.cbp-contentslider h3 {
	font-family: 'DelmBold', Calibri, Arial, sans-serif;
	font-size: 1.4em;
	line-height: 1.4;
	letter-spacing: 0.06em;
	font-weight: 300;
	margin-bottom: 2px;
	color: #231F20;
}

.cbp-contentslider h3[class^="icon-"]:before, 
.cbp-contentslider h3[class*=" icon-"]:before {
	top: 0;
	left: 0;
	width: 2em;
	line-height: 1;
	height: 1.2em;
	margin: 0;
	color: #231F20;
}

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

.cbp-contentslider .cbp-content {
	/* 
-webkit-column-rule: 1px dashed #231F20;
	-moz-column-rule: 1px dashed #231F20;
	column-rule: 1px dashed #231F20;
	-webkit-column-count: 2;
	-moz-column-count: 2;
	-o-column-count: 2;
	column-count: 2;
	-webkit-column-gap: 1em;
	-moz-column-gap: 1em;
	-o-column-gap: 1em;
	column-gap: 1em;
 */
	vertical-align: top;	
	padding: 1em 0;
}

.cbp-contentslider p {
	color: #231F20;
	padding: 0;
	margin: 0 0 1.3em;
	font-size: 1.4em;
	font-weight: 300;
	text-align: justify;
	line-height: 1.4;
}

.col {
	float: left;
}
.one-third {
	width: 20%;
	margin-left: 13%;
	float: right;
	text-align: right;
}
.two-thirds {
	width: 66%;
}

/* Media queries */

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

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

	.cbp-contentslider { /*font-size: 85%;*/ }

	.cbp-contentslider nav a[class^="icon-"]:before, 
	.cbp-contentslider nav a[class*=" icon-"]:before {
		left: 50%;
		margin-left: -1.250em;
	}

	.cbp-contentslider nav a span {
		/*display: none;*/
		
	}
}

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

	.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 nav {
		height: 3.313em;
	}
	.cbp-contentslider nav a {
		font-size: 0.8em;
		background-size: 160%!important;
	}

	.cbp-contentslider li > div {
		top: 3.313em;
		bottom: 3.313em;
		padding: 0 1em;
	}
	.cbp-contentslider li#slide2 > div {
		top: 4.513em;
	}
	.cbp-contentslider > ul li {
		padding: 0 1em;
	}
	
	.cbp-contentslider h3 {
		font-size: 1.1em;
	}
	.cbp-contentslider p {
		margin-bottom: 1.4em;
	}

}

@media screen and (max-width: 25em) { 
	.cbp-contentslider nav a { padding: 0;}
	.cbp-contentslider h3[class^="icon-"]:before, 
	.cbp-contentslider h3[class*=" icon-"]:before { display: none;}
}
