﻿/*** banner 1 ***/

#hpabout {
	background: url(/img/db/banners/banner1hpbg.jpg);
	background-attachment: fixed;
	background-size: cover;
	color: white;
	padding-top: 60px;
	padding-bottom: 120px;
}

#hpabout .bannerintro {
	width: 45%;
	padding-left: 4.7%;
	font-family: "PoppinsRegular";
	font-weight: 100;
}

#hpabout .bannerintro a
{
	margin-top:25px;
}

#hpabout .bannerintro p {
	font-size: 19px;
	line-height: 24px;
}

#hpabout .bannerintro h3 {
	font-size: 25px;
	line-height: 28px;
	padding-top: 15px;
	font-weight: 500;
}

#hpabout .bannerintro p:last-child {
	margin-top: 5px;
	font-size: 17px;
	line-height: 22px;
}

#hpabout h3, #hpabout h2 {
	color: white;
}

#hpabout h3::after {
	background: white;
	display: none;
}

#bannerlist-1 {
	width: 90%;
	margin-left: 5%;
	margin-top: 30px;
	display: table;
	padding-left: 0px;
}

#bannerlist-1 li {
	width: 23%;
	float: left;
	margin: 50px 1% 0px 1%;
}

#bannerlist-1 li .imagespace {
	width: 30%;
	margin-left: 35%;
	display: none;
}

#bannerlist-1 li .imagespace img {
	width: 100%;
}

#bannerlist-1 li .contentspace h2 {
	font-size: 30px;
	line-height: 50px;
	font-family: "PoppinsRegular";
	font-weight: 100;
	width: 100%;
	text-align: center;
}

#bannerlist-1 li .contentspace .txtblock {
	width: 70%;
	height: 42px;
	font-size: 15px;
	line-height: 21px;
	font-family: "PoppinsRegular";
	text-align: center;
	margin: 10px 15%;
}

#bannerlist-1 li .contentspace a {
	margin: 5px auto;
	display: table;
}

#bannerlist-1 li .banner1bottomline, #bannerlist-1 li .banner1topline {
	width: 1px;
	height: 50px;
	display: block;
	margin: 0px calc(50% - 1px);
	background: white;
}

#bannerlist-1 li .banner1bottomline {
	margin-top: 30px;
	margin-bottom: 30px;
}

/*** banner 2 ***/

#bannerlist-2 {
	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;
}

#bannerlist-2 li .contentspace h2 {
	font-size: 30px;
	line-height: 50px;
	font-family: "PoppinsRegular";
	font-weight: 100;
	width: 100%;
	text-align: left;
}

#taglinelinediv {
	position: absolute;
	margin-left: 5vw;
	width: 1px;
	height: 500px;
	background: white;
	display: block;
}

#bannerlist-2 li .contentspace {
	background: url(/img/db/banners/OY_Brand_Icon.png) no-repeat;
	background-size: 80px;
	background-position: calc(5vw - 40px);
	padding-left: 8vw;
}

#bannerlist-2 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) {
	#bannerlist-1 li .contentspace .txtblock {
		height: 70px;
	}
}


@media screen and (max-width: 1255px) {
	#bannerlist-1 li:nth-child(1) .contentspace .txtblock {
		width: 80%;
		margin: 10px 10%;
	}
}

@media screen and (max-width: 1216px) {
	#bannerlist-1 li .contentspace h2 {
		height: 100px;
	}

	#bannerlist-2 li {
		width: 45vw;
	}

	#bannerlist-2 li .contentspace {
		padding-left: 10vw;
	}
}

@media screen and (min-width: 1000px) and (max-width: 1449px) {
	#bannerlist-1 li .contentspace .txtblock {
		height: 85px;
	}
}

@media screen and (min-width: 786px) and (max-width: 999px) {
	#bannerlist-1 li .contentspace .txtblock {
		height: 105px;
	}
}

@media screen and (max-width: 856px) {
	#bannerlist-1 {
		width: 100%;
		margin-left: 0%;
	}

	#hpabout h2, #hptaglines h2 {
		margin-bottom: 20px;
	}
}

@media screen and (max-width: 785px) {
	#bannerlist-1 li {
		width: 80% !important;
		margin: 20px 10% !important;
	}

	#bannerlist-1 li .banner1topline {
		width: 80%;
		height: 1px;
		display: block;
		margin: 30px 10% 10px 10%;
	}

	#bannerlist-1 li:first-child .banner1topline {
		display: none;
	}

	#bannerlist-2 li {
		width: 85vw;
		text-align: justify;
	}

	#hpabout .bannerintro {
		width: 93.5vw;
		padding-left: 6.5vw;
	}

	#bannerlist-2 li .contentspace {
		padding-left: 15vw;
	}
}

@media screen and (max-width: 600px) {
	#bannerlist-1 li .contentspace h2 {
		height: 30px;
	}

	#bannerlist-1 li .contentspace h2, #bannerlist-2 li .contentspace h2 {
		font-size: 25px;
		line-height: 30px;
	}
}
