
.header {
	background-image:url('/cisiweb2/image/caixa/aboutusheadernew.jpg');
	background-size:cover;
	background-position:center center;
	height:600px;
	text-align:center;
}

.headerText {
	height: 600px;
}

.quote {
    background-image: url("/cisiweb2/image/caixa/homepagequotelarge.jpg");
	background-size:cover;
	background-position:center;
	background-attachment:fixed;
	text-align:center;
	padding:0 5%;
}
.quote h2 {
	font-size:45px;	
	color:#5d5d5d;
}

.greyWrapper {
	background:#f3f3f3;	
	padding-top:70px !important;
	margin-bottom:80px !important;
}

.timeLine .row .sfContentBlock {
	background:#f5f5f5;
	padding:20px;
	display:block;
	overflow:auto;
	margin-top:-50px;
}

.arLink {
	display:inline-block;
	*display: inline;
	zoom:1;
	width:49%;
	margin-bottom:10px;
}

.arLink a {
	text-decoration:none;
	font-size:16px;	
}


.videoRight {
	position:relative;
	left:30rem;
	float: left;
	margin-left:60px;
	margin-bottom:30px;
}

.videoLeft {
position:relative;
	left:30rem;
	float: right;
	margin-left:0px;
	margin-bottom:0px;
}

.etImage {
	width:200px !important;
	max-width:80% !important;
	border-radius:200px;
}

@media (max-width : 1599px) {
	.crest {
	width:30% !important;	
	}
	.arLink a {
		text-decoration:none;
		font-size:14px;	
	}
}

@media (max-width : 1199px) {
	.crest {
		width:30% !important;	
	}
	.arLink a {
		text-decoration:none;
		font-size:12px;	
	}

}


.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}


.col-xs-5ths {
    width: 20%;
    float: left;
}
@media (min-width: 767px) {
.col-sm-5ths {
        width: 20%;
        float: left;
    }
}
@media (min-width: 991px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}
@media (min-width: 1199px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}


@media (max-width: 1400px) {
	.videoRight {
		float:none;
		margin: 0px 0px 0px 0px;
		position:relative;
		left: auto;
		padding-bottom: 56.25%;
		height: 0;
		overflow: hidden;
	}
	.videoLeft {
		float:none;
		margin: 0px 0px 0px 0px;
		position:relative;
		left: auto;
		padding-bottom: 56.25%;
		height: 0;
		overflow: hidden;
	}
	
	
	.videoRight iframe { 
		position: absolute; 
		top: 0; 
		left: 0; 
		width: 100%; 
		height: 100%; 
	}

	.timeLine .row .sfContentBlock {
		margin-bottom:20px;
		margin-top:0px;
	}

}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 2) { 
	.quote { /*  ?? OMG BODGE - has to be a better way of sizing the BG image when not using the parralax effect */
		background-image: url("/cisiweb2/image/caixa/homepagequotelarge.jpg");
		background-size:100% 600px !important;
		background-position:0px 20px !important;
		padding:0% 5%;
	}
}


/* ##  Add in some styling for landscape mobile for the timeline - currently taking up too much space ##*/

@media (max-width: 767px) {
	.crest {
		display: block !important;
		float: none !important;
		margin: 0px auto 30px !important;
		width: 70% !important;
	}
	.greyWrapper {
		background:#f3f3f3;	
		padding-top:50px !important;
		padding-bottom:20px !important;
		margin-bottom:50px !important;
	}
	.timeLine .row .sfContentBlock img {
		margin-bottom:20px;
	}
	.arLink {
		width:99%;
	}	
}