@charset "utf-8";
/* CSS Document */
.gbox {
	display: block;
	width: 100%;
	min-width: 320px;
	max-width: 720px;
	position: relative;
	height: 160px;
}
a.gbox {
}
.gtxt {
	width:160px;
	height:160px;
	position: absolute;
	background-color: #62625E;
	display: table;
}
.gtxt.color2 {
	background-color: #62625E;
}
#pagecontent .gtxt h2 {
	color: #FFFFFF;
	font-weight: 300;
	font-size: 17px;
	line-height: 20px;
	margin: 0;
	padding: 10px;
	display: table-cell;
	vertical-align: middle;
}
#pagecontent .gtxt h2 span {
	font-family: 'Ubuntu',Arial,Helvetica,sans-serif;
	font-size: 14px;
	display: none;
}
.gimg {
	position: absolute;
	height: 100%;
	max-width: 320px;
	width: calc(100% - 160px);
	overflow: hidden;
	background-size: cover;
	background-position: center;
}
.gimg.fixl {
	background-position: left;
}
.gimg.fixr {
	background-position: right;
}
.gimg.fixt {
	background-position: top;
}
.gimg.fixb {
	background-position: bottom;
}
.imgl .gtxt,
.imgr .gimg {
	right: 0;
	top:0;
}
.imgr .gtxt,
.imgl .gimg {
	left: 0;
	top: 0;
}

.gimg img {
	height: 100%;
}
.imgb .gimg img {
	width: 100%;
	height: auto;
}
.tran {
	opacity: 0;
}
.ghead {
	display: none;
}
.flex-caption {
	position: absolute;
	padding: 10px;
	background: rgba(98, 98, 94, 0.9);
	width: calc(100% - 20px);
}
.flex-caption-headline {
	margin: 0;
}
a:hover .gimg::after {
	content: "";
	border: 480px solid rgba(255, 255, 255, 0.25);
	position: absolute;
	top: 0px;
	left: 0;
}
a:hover .gtxt {
	background-color: #034051;
}
.flex-caption.quote p {
	font-size: 12px;
	padding: 0;
	margin: 0;
	text-align: left;
}
.flex-caption.quote p + p {
	text-align: right;
}
@media screen and (max-width: 479px) {
	.gtxt p {
		max-height: 140px;
		overflow: hidden;
	}
	.gbox.imgh {
		display: none;
	}
}
@media screen and (max-width: 719px) {
	.sidepanel iframe {
		height: 240px;
		width: 100%
	}
	.sidepanel div.gimg {
		display: none;
	}
	.sidepanel ul {
		padding-left: 20px;
		list-style-image: url("../img/elements/bullet-small.jpg");
	}

}
@media screen and (min-width: 480px) and (max-width: 719px) {
	.gbox.imgh + .sidepanel.hx2 {
		background-color: #EFEFEF;
		position: relative;
		float: right;
		width: 240px;
		right: 0;
		height: 480px;
		top: -480px;
		margin-bottom: -480px;
	}
	.gbox.imgh .gimg {
		min-width: 240px;
	}
	.gbox.imgh + .sidepanel.hx2 div, .gbox.imgh + .sidepanel.hx2 iframe {
		height: 440px;
	}
	.gbox.imgh + .sidepanel.hx2 ul {
		height: 420px;
		overflow: auto;
	}
	#pagecontent .sidepanel h2 {
		color: #FFFFFF;
		font-family: 'miritalic',serif;
		font-size: 18px;
		font-weight: normal;
		line-height: 20px;
		margin: 0;
		padding: 10px 20px;
		position: relative;
	}
}
@media screen and (min-width: 480px) {
	.gbox {
		height: 240px;
	}
	.gbox.imgh {
		height: 480px;
	}
	.gtxt {
		width:240px;
		height: 240px;
	}
	#pagecontent .gtxt h2 {
		font-size: 30px;
		line-height: 30px;
		padding: 0 20px;
	}
	#pagecontent .gtxt h2 span {
		display: block;
		line-height: 24px;
		padding-top: 6px;
	}
	.gimg {
		max-width: 480px;
	}
	.imgr .gtxt::after {
		content: "";
		display: block;
		position: absolute;
		top: 110px;
		left: 240px;
		border-left: 15px solid #62625E;
		border-top: 10px solid rgba(89,92,94,0);
		border-bottom: 10px solid rgba(89,92,94,0);
		border-right: none;
	}
	.imgl .gtxt::before {
		content: "";
		display: block;
		position: absolute;
		top: 110px;
		left: -15px;
		border-right: 15px solid #62625E;
		border-top: 10px solid rgba(89,92,94,0);
		border-bottom: 10px solid rgba(89,92,94,0);
		border-left: none;
	}
	.imgr a:hover .gtxt::after {
		border-left: 15px solid #034051;
		border-top: 10px solid rgba(3,64,81,0);
		border-bottom: 10px solid rgba(3,64,81,0);
	}
	.imgl a:hover .gtxt::before {
		border-right: 15px solid #034051;
		border-top: 10px solid rgba(3,64,81,0);
		border-bottom: 10px solid rgba(3,64,81,0);
	}
	.gimg {
		width: calc(100% - 240px);
	}
	.imgl .callbtn, .imgl .callbtn.bl {
		bottom: 20px;
		left: 20px;
		transform:rotate(10deg);
	}
	.imgl .callbtn.br {
		bottom: 20px;
		right: 260px;
		left: auto;
		transform:rotate(-10deg);
	}
	.imgl .callbtn.tl {
		top: 20px;
		left: 20px;
	}
	.imgl .callbtn.tr {
		top: 20px;
		right: 260px;
		left: auto;
		transform:rotate(-10deg);
	}
	.imgr .callbtn, .imgr .callbtn.br {
		bottom: 20px;
		right: 20px;
		transform:rotate(-10deg);
	}
	.imgr .callbtn.bl {
		bottom: 20px;
		left: 260px;
		right: auto;
		transform:rotate(10deg);
	}
	.imgr .callbtn.tr {
		top: 20px;
		right: 20px;
		transform:rotate(10deg);
	}
	.imgr .callbtn.tl {
		top: 20px;
		left: 260px;
		right: auto;
	}
	.sidepanel .callbtn, .sidepanel .callbtn span {
		text-decoration: none;
		color: #fff;
	}
	.callbtn.norotate {
		transform: none !important;
	}
}
@media screen and (min-width: 720px) {
	.gbox.imgb {
		height: 480px;
	}
	.gbox.imgb .gtxt {
		padding-bottom: 240px;
	}
	.gbox.gbox1 {
		width: 240px;
	}
	.gbox.gbox2 {
		width: 480px;
	}
	#pagecontent h2.ghead {
		position: absolute;
		top: 0;
		left: 0;
		display: block;
		margin: 0;
		z-index: 10;
		font-size: 42px;
		line-height: 42px;
		padding: 10px 20px;
		max-width: 400px;
		background-color: rgba(239, 239, 239, 0.8);
		color: #000;
	}
	.sidepanel {
		width: 240px;
		height: 240px;
		position: relative;
		top: -240px;
		left: 480px;
		margin-bottom: -240px;
		background-color: #EFEFEF;
	}
	.sidepanel.hx2 {
		height: 480px;
		top: -480px;
		margin-bottom: -480px;
	}
	.sidepanel div, .sidepanel iframe {
		height: 200px;
	}
	.sidepanel.hx2 div, .sidepanel.hx2 iframe {
		height: 440px;
	}
	#pagecontent .gbox + .sidepanel ul,
	#pagecontent .gbox + .sidepanel.hx2.cx2 ul {
		height: 200px;
		margin: 0 0 0 20px;
		width: 220px;
		overflow: auto;
		padding: 0;
	}
	#pagecontent .gbox + .sidepanel.hx2 ul {
		height: 460px;
	}
	#pagecontent .gbox + .sidepanel li {
		max-width: 200px;
	}
	#pagecontent .gbox + .sidepanel li:first-of-type {
		padding-top: 15px;
	}
	#pagecontent .gbox + .sidepanel li:last-of-type {
		padding-bottom: 15px;
	}
	.gbox + .sidepanel h2 {
		max-height:20px;
	}
	.sidepanel div.gimg {
		width: 240px;
		height: 480px;
	}
	.flex-caption {
		position: absolute;
		background: rgba(98, 98, 94, 0.9);
		padding: 10px 20px;
		width: 200px;
		bottom: 40px;
		left: 60px;
	}
	.flex-caption.right {
		left: 420px;
	}
	.flex-caption.top {
		top: 40px;
		bottom: auto;
	}
	.flex-caption.wide {
		width: 400px;
	}
	.flex-caption.wide.right {
		left: 220px;
	}
	.flex-caption.headline {
		font-family: 'miritalic',serif;
		font-size: 20px;
		line-height: 20px;
		font-weight: normal;
		color: #FFF;
	}
	.flex-caption.quote p {
		font-family: 'miritalic',serif;
		font-size: 16px;
		line-height: 20px;
		font-weight: normal;
		color: #FFF;
	}
	.flex-caption.quote p + p {
		font-family: 'Ubuntu',Arial,Helvetica,sans-serif;
		font-size: 14px;
		padding-top: 10px;
	}
}
@media screen and (min-width: 960px) {
	.flex-caption.right {
		left: 660px;
	}
	.flex-caption.wide.right {
		left: 460px;
	}
	.flex-caption.headline {
		font-family: 'miritalic',serif;
		font-size: 30px;
		line-height: 30px;
	}
}
@media screen and (max-width:600px) {
	.flex-caption {
		position: relative;
	}
	.flexslider {
		background: rgba(98, 98, 94, 1) none repeat scroll 0% 0%;
	}
	a .flex-caption *{
		text-decoration: none !important;
	}
}
