﻿
/* Home Slider Area - basic */

#homepageSlider {
	background: rgb(185,214,230); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(185,214,230,1) 0%, rgba(243,248,252,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(185,214,230,1)), color-stop(100%,rgba(243,248,252,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(185,214,230,1) 0%,rgba(243,248,252,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(185,214,230,1) 0%,rgba(243,248,252,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(185,214,230,1) 0%,rgba(243,248,252,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(185,214,230,1) 0%,rgba(243,248,252,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b9d6e6', endColorstr='#f3f8fc',GradientType=0 ); /* IE6-9 */

	padding: 35px 0 20px;
}

#homepageSlider .mainCenter { 
	position: relative; 
	overflow: hidden;
}

#home_outer {
	position: relative;
}

#home_portrait {
	position: absolute;
	left: 0;
	top: 0;
	width: 25%;
	height: 100%;
	background-color: black;
}

#home_portrait img {
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 50;	
}

#home_portrait_1 {
	 display: none;
}

#home_portrait img#home_portrait_fade {
	z-index: 150;
}



#home_slider {
	position: relative;
	padding-left: 0%;
	width: 100%;	
}


/* Slider functionality/interface */

#home_slider .sliderArrows {
	background-image: url("../images/home/rightArrow.png");
    background-repeat: no-repeat;
    display: block;
    height: 79px;
    right: 0px;
    outline: medium none;
    position: absolute;
    text-indent: -10000px;
    top: 0;
    width: 47px;
}

	#home_slider .sliderArrows:active
	#home_slider .sliderArrows:focus {
		margin: -1px;
		border: dotted 1px black;
	}
	
#home_slideview {
	left: 0px;
	overflow: hidden;
	position: relative;
	top: 0px;
	width: 100%;
	background-color: #194785;
}	

#home_slideCenterer {
	height: 100%;
	min-height: 250px;
	display: inline-block;
	vertical-align: middle;
	width: 1px;
	display: none;
}

#home_slideview .slide {
	width: 99%;
	width: calc(100% - 5px);
	height: 100%;
	position: relative;
	background-color: #194785;
	color: white;	
	box-sizing: border-box;
}

#home_slideview .slide a {
	color: white;
	
}

#home_slideview .slide.js {
	position: absolute;
	top: 0;
	left: 0;
	height: auto;
}


#home_slideview .slide .title {
	font-size: 1.6em;
	font-weight: bold;
	display: inline-block;
	vertical-align: middle;	
	width: 27%;
	padding: 20px 3%;
	color: white;
} 
#home_slideview .slide .content {
	font-size: 1.22em;
	display: inline-block;
	vertical-align: middle;	
	width: 49%;
	border-left: solid 1px #7691b6;
	padding: 20px 3%;
}

#home_slideview .slide .more {
	position: absolute;
	right: 20px;
	bottom: 20px;
	background-color: #7f724c; 
	color: #ffffff;
	padding: 5px 7px;
	text-decoration: none;
}

	#home_slideview .slide a {
		outline: none;
	}
	
	#home_slideview .slide a:active,
	#home_slideview .slide a:focus {
		margin: -1px;
		border: dotted 1px black;
	}


/* image variant */


#home_slideview .slide.image {
	padding-left: 22%;
	
}

#home_slideview .slide.image .canvas {
	position: absolute;
    left: 1%;
    top: 0;
    width: 20%;
    height: 100%;
}

#home_slideview .slide.image .canvas .vert {
	display: inline-block;
	vertical-align: middle;
	height: 100%;
	width: 0px;
}


#home_slideview .slide.image img {
    display: inline-block;
    vertical-align: middle;
    width: 95%;
    width: calc(100% - 7px);
    margin-left: 0;
    border-radius: 10px;
    overflow: hidden;}

#home_slideview .slide.image-replace img {
	width: 1px;
}


#home_slideview .slide.image .content {
    display: block;
    border-left: none;
    margin: 0px 0 0px 0;
    padding-left: 0;
}


#home_slideview .slide.image .title,
#home_slideview .slide.image .content {
	display: block;	
	width: 80%;
	width: calc(100% - 85px);
}

@media (max-width: 450px) {

	#home_slideview .slide.image .title,
	#home_slideview .slide.image .content {
		width: calc(100% - 46px);
	}

	#home_slideview .slide .more {
		right: 0px;
	}
}

#home_slideview .slide.image .title {
	margin: 20px 0 0 0;
	padding: 0;
}



#home_slidecircles {
    left: 0px;
    position: relative;
    top: 0px;
    width: 100%;
	background-color: #7f724c;
	color: #d1cab2;
	padding: 0px 0;
	display: none;
}

#home_slidecircles a {
	color: #ffffff;
	text-decoration: none;
	display: inline-block;
	padding: 20px 2%;
	width: 16%;
	background-image: url(../images/home/divider.png);
	background-repeat: no-repeat;
	background-position: right center;
	vertical-align: middle;
}	
#home_slidecircles a:last-child {
	background-image: none;
}
#home_slidecircles a.selected {
	font-weight: bold;
}	

#home_arrowright {
	position: absolute;
	right: 5px;
	top: 10px;
	display: none;
}

#home_boxes {
	color: #666666;
	text-align: center;
	
}


#home_boxes .box {
	width: 310px;
	border: solid 1px #cccccc;
	box-sizing: border-box;
	padding: 20px 10px 20px 142px;
	margin-right: 8px;
	min-height: 158px;
	background-repeat: no-repeat;
	background-position: top left;
	position: relative;
	margin-top: 20px;
	display: inline-block;
	vertical-align: middle;
	text-align: left;
}
#home_boxes .box:last-child {
	margin-right: 0;
}

#home_boxes .box p {
	margin: 0;
	padding: 0 0 10px;
}

#home_boxes .box .title {
	font-weight: bold;
	font-size: 0.9em;
}

#home_boxes .box .content {
	font-size: 0.8em;	
}

#home_boxes #hb_comment.box {
	background-image: url(../images/home/box_regulation.jpg);
}	

#home_boxes #hb_assistance.box {
	background-image: url(../images/home/box_assistance.png);
	background-position: 15px center;
}

#home_boxes #hb_share.box {
	background-image: url(../images/home/box_share.png);
}

#home_boxes #hb_online.box {
	background-image: url(../images/home/box_letters.jpg);
}

#home_boxes #hb_letters.box {
	background-image: url(.../images/home/box_letters.jpg);
}
	
#home_boxes .box .more {
	position: absolute;
	right: 10px;
	bottom: 10px;
	background-color: #7f724c; 
	color: #ffffff;
	padding: 5px 7px;
	text-decoration: none;
	font-size: 0.8em;
}
#home_boxes .box .more a {
	color: white;
	text-decoration: none;
}


/* Responsive */

@media screen and (max-width: 900px) {
	#home_slideview .slide .content {
		font-size: 1.0em;
		width: 54%;
	}
	
	#home_slideview .slide .title {
		font-size: 1.2em;
		width: 22%;
	}
}

@media screen and (max-width: 750px) {
	#home_slideview .slide .content {
		font-size: 0.8em;
	}
	
	#home_slideview .slide .title {
		font-size: 0.8em;
	}
	#home_slidecircles a {
		display: block;
		background-image: none;
		width: 100%;
		border-bottom: solid 1px #c8bfa3;
	}
	#home_slidecircles a:last-child {
		border-bottom: none;
	}
}

@media screen and (max-width: 450px) {
	#home_portrait {
		width: 100%;
		position: static;
	}
	#home_slider {
		padding-left: 0;
		width: 100%;
	}
	
}


