﻿/*** banner 1 ***/

#hpabout {
	color: #0b474b;
	padding-top: 60px;
	padding-bottom: 60px;
}

#hpabout * {
	text-align: center;
}

#hpabout .bannerintro {
	font-family: "RamillasRegular";
	font-weight: 100;
}

#hpabout .bannerintro p {
	max-width: 864px;
	margin: 0 auto;
	font-size: 19px;
	line-height: 24px;
	margin-bottom: 20px;
}

#hpabout .bannerintro h2 {
	padding-top: 10px;
}

#hpabout .bannerintro ul {
	display: table;
	width: 100%;
	list-style: disc;
	font-size: 19px;
	line-height: 24px;
	text-align: left;
}

#hpabout .bannerintro ul li {
	float: left;
}

#hpabout .bannerintro h3 {
	font-size: 25px;
	line-height: 28px;
	padding-top: 15px;
	font-weight: 500;
}

#hpabout h3, #hpabout h2 {
}

#hpabout h3::after {
}

#hpabout h2.b11kh4title {
	margin-top: 30px;
}

#hpabout h2.b11kh1title {
	margin-bottom: 20px;
}

#bannerlist1 {
	margin-left: 7%;
	margin-top: 30px;
}

#bannerlist1 li {
	width: 30%;
	float: left;
	margin: 0px 1%;
}

#bannerlist1 li .imagespace {
	width: 30%;
	margin-left: 32%;
}

#bannerlist1 li .imagespace img {
	width: 70%;
}

#bannerlist1 li .contentspace h2 {
	font-size: 30px;
	line-height: 50px;
	font-family: "RamillasRegular";
	font-weight: 100;
	width: 100%;
	text-align: center;
}

#bannerlist1 li .contentspace .txtblock {
	width: 70%;
	min-height: 42px;
	font-size: 17px;
	line-height: 21px;
	font-family: "RamillasRegular";
	text-align: center;
	margin: 10px 15%;
}

#bannerlist1 li .contentspace a {
	margin: 5px auto;
	display: table;
}

#bannerlist1 li .banner1bottomline, #bannerlist1 li .banner1topline {
	display: none;
	width: 1px;
	height: 70px;
	margin: 0px calc(50% - 1px);
	background: white;
}

#bannerlist1 li .banner1bottomline {
	margin-top: 30px;
	margin-bottom: 30px;
}

/*** banner 2 ***/

#bannerlist2 {
	width: 100%;
	margin: 120px 0px;
	height: auto;
	display: table;
}

#hptaglines {
	/*background: url(/img/db/banners/banner2hpbg.jpg);
	background-attachment: fixed;
	background-size: cover;*/
	overflow: hidden;
	color: white;
	position: relative;
}

#bannerlist2 li .contentspace h2 {
	font-size: 30px;
	line-height: 50px;
	font-family: "RamillasRegular";
	font-weight: 100;
	width: 100%;
	text-align: left;
}

#taglinelinediv {
	position: absolute;
	margin-left: 5vw;
	width: 1px;
	height: 500px;
	background: white;
	display: block;
}

#bannerlist2 li .contentspace {
	background: url(/img/db/banners/oy-icon-white-2.png) no-repeat;
	background-size: 60px;
	background-position: calc(5vw - 30px);
	padding-left: 8vw;
}

#bannerlist2 li {
	width: 35vw;
	float: left;
	clear: left;
	margin: 80px 0px;
}


.slideshowvideocontent {
	display: block;
}

.slideshowvideocontent h1 {
	text-shadow: 2px 2px #000000;
	width: 93.5%;
}

@media screen and (min-width: 1450px) {
	#bannerlist1 li .contentspace .txtblock {
		min-height: 42px;
	}
}


@media screen and (max-width: 1255px) {
	#bannerlist1 li:nth-child(1) .contentspace .txtblock {
		width: 80%;
		margin: 10px 10%;
	}
}

@media screen and (max-width: 1216px) {
	#bannerlist1 li .contentspace h2 {
		height: 100px;
	}

	#bannerlist2 li {
		width: 45vw;
	}

	#bannerlist2 li .contentspace {
		padding-left: 10vw;
	}
}

@media screen and (min-width: 1000px) and (max-width: 1449px) {
	#bannerlist1 li .contentspace .txtblock {
		height: 85px;
	}
}

@media screen and (min-width: 786px) and (max-width: 999px) {
	#bannerlist1 li .contentspace .txtblock {
		height: 105px;
	}
}

@media screen and (max-width: 856px) {
	#bannerlist1 {
		width: 100%;
		margin-left: 0%;
	}

	#hpabout h2, #hptaglines h2 {
		margin-bottom: 20px;
	}
}

@media screen and (max-width: 785px) {
	#bannerlist1 li {
		width: 80%;
		margin: 20px 10%;
	}

	#bannerlist1 li .banner1topline {
		width: 80%;
		height: 1px;
		display: block;
		margin: 30px 10% 10px 10%;
	}

	#bannerlist1 li:first-child .banner1topline {
		display: none;
	}

	#bannerlist2 {
		margin: 60px 0px;
	}

	#bannerlist2 li {
		width: 88vw;
		text-align: justify;
		margin: 40px 0px;
	}

	#hpabout .bannerintro {
		width: 93.5vw;
		padding-left: 6.5vw;
	}

	#bannerlist2 li .contentspace {
		background-size: 50px;
		background-position: calc(10vw - 29px);
		padding-left: 20vw;
	}

	#taglinelinediv {
		margin-left: 9vw;
	}
}

@media screen and (min-width: 601px) {
	#hpabout .bannerintro ul {
		width: 80%;
		margin: 0 18%;
	}

	#hpabout .bannerintro ul li {
		float: left;
		width: 33%;
		text-align: left;
	}
}

@media screen and (max-width: 600px) {
	#bannerlist1 li .contentspace h2 {
		height: 30px;
	}

	#bannerlist1 li .contentspace h2, #bannerlist2 li .contentspace h2 {
		font-size: 25px;
		line-height: 30px;
	}

	#hpabout .bannerintro {
		width: 90%;
		padding-left: 5%;
	}

	#hpabout .bannerintro p {
		width: 100%;
	}

	#hpabout .bannerintro ul li {
		margin-left: 20px;
	}

	#bannerlist1 li .imagespace {
		width: 100%;
		margin-left: 0;
	}

	#bannerlist1 li .imagespace img {
		width: 82px;
	}
}
