/* Styles for content pages */

/************************************************************
Home Page Banner */

#banner {
	position:relative;
	margin:0.5em 1em 1em 0;
}
#banner img {
	position:relative;
	z-index:3;
	border-radius:0.5em;
	box-shadow:0 0 1em rgba(8,42,71,0.2);
}
#banner>div {
	position:absolute;
	right:0;
	bottom:1em;
	z-index:2;
	width:185px;
	padding:0.5em 1em 0.5em 2em;
	background:#e5dbcf;
	border-radius:0.5em;
	box-shadow:0 0 0.7em rgba(8,42,71,0.1);
}
#banner>div h2 {
	margin:0.3em 0;
	padding:0 0 0.3em 2em;
	text-indent:-2em;
	line-height:1.1;
	border-bottom:1px solid #ededed;
}

/* Specific banners */
#banner #banner-map {
	background:transparent url('../images/callouts/wi-map.png') no-repeat 70% bottom;
	padding-bottom:200px;
}


/* Side column "banners" */
.side-img {
	margin:0.5em 0 2em;
}
.side-img img {
	border-radius:0.5em;
	box-shadow:0 0 1em rgba(8,42,71,0.2);
}


/************************************************************
Side navigation */

#side-nav {
	list-style:none;
	margin:0 0 2em;
	padding:0;
	border-top:1px solid #092344;
	border-bottom:1px solid #092344;
}
#side-nav li {
	border-top:1px solid #092344;
	border-bottom:1px solid #092344;
	margin:3px 0;
}
#side-nav a {
	display:block;
	padding:0.2em 0.5em;
}



/************************************************************
Events list */

#event-list {
	margin:0 0 1em;
	border-bottom:1px solid #ededed;
}
#event-list dt {
	position:absolute;
	text-align:center;
	text-transform:uppercase;
	font:13pt/1.1 Radley,'Times New Roman',Times,serif;
	width:3.7em;
	padding:0.5em 0;
	margin:0.8em 0 0;
	background:#092344;
	color:#e5dbcf;
	border-radius:0.5em;
}
#event-list dt strong {
	display:block;
	font-weight:normal;
}

#event-list dd {
	padding:1em 0 1em 6em;
	margin:0 0 0.3em;
	border-top:1px solid #ededed;
	border-bottom:1px solid #ededed;
}
#event-list dt:first-child+dd {
	border-top:none;
}
#event-list h3 {
	font-size:15pt;
	margin:0;
}
#event-list p {
	margin:0.5em 0;
}

#event-list~p { /* Following links */
	margin:0.4em 0;
}


/************************************************************
FAQs */

.faqs {
	margin:0 0 2em;
}
.faqs dt {
	padding:0.5em 36px 0.4em;
	border-bottom:1px solid #ededed;
	font-size:13.5pt;
	line-height:1.2;
	color:#092344;
}
.faqs dt,
.faqs dd {
	position:relative;
}
.faqs dd {
	margin:0.2em 0 0 0;
	padding:0 0 0 36px;
	border-top:1px solid #ededed;
}
.faqs p:first-child {
	margin-top:0.2em;
	padding-top:0.5em;
}
.faqs dt:before,
.faqs dd:before {
	position:absolute;
	font-size:18pt;
	left:0;
}
.faqs dt:before {
	content:'Q:';
	line-height:1;
}
.faqs dd:before {
	content:'A:';
	line-height:1.5;
}



/************************************************************
Fees table */

.fees {
	border-collapse:collapse;
	font-size:11pt;
	margin:0.5em 0 1em 2em;
}
.fees tbody th {
	font-weight:normal;
	text-align:left;
	color:#092344;
}
.fees tbody tr {
	border-top:1px solid #ededed;
}
.fees tbody tr:first-child {
	border-top:none;
}
.fees th,
.fees td {
	padding:0.2em 1em 0.2em 0;
}


/************************************************************
Testimonials */

.col.main blockquote {
	position:relative;
	margin:1.5em 2em 3em 0;
}
.col.main blockquote cite {
	display:block;
	color:#092344;
	font-style:normal;
	margin-left:4em;
}
.col.main blockquote cite:before {
	content:'\2013';
	margin-right:0.2em;
}

/* The usual quote
.col.main blockquote:before {
	content:'\201C';
	position:absolute;
	font:60pt/0.55 Futura,Arial,Helvetica,sans-serif;
	left:-0.45em;
	top:0;
	color:#cbb79e;
}*/

/* Trying something new */
.col.main blockquote:before,
.col.main blockquote:after {
	content:'{';
	position:absolute;
	font:60pt/1 Radley,'Times New Roman',Times,serif;
	color:#092344;
	right:101%;
	top:30%;
	margin-top:-30pt;
}
.col.main blockquote:after {
	content:'}';
	left:101%;
	right:auto;
}


/************************************************************
Callouts */

.callout {
	margin:3em 0 4em;
	position:relative;
	font:10pt/1.3 Radley,'Times New Roman',Times,serif;
	text-transform:uppercase;
	width:265px;
	background-color:#092344;
	box-shadow:0 1px 7px 1px rgba(13,51,85,0.6);
	border-radius:0.5em;
}
.callout a {
	display:block;
	padding:1.6em 4em 1.8em 1.5em;
	color:#e5dbcf;
}
.callout a:after {
	content:'\00BB';
	font-size:14pt;
	line-height:0;
	margin:0 0.1em;
}
.callout strong {
	display:block;
	margin:0 0 0.5em;
	font-size:15pt;
	font-weight:normal;
	color:#e5dbcf;
}
.callout a:before {
	position:absolute;
	margin:-85px 0 0;
	top:50%;
	right:0;
}
.callout a:hover {
	text-shadow:0 0 3px rgba(255,255,255,0.6);
}

/* On splash page */
.callout.splash {
	display:inline-block;
	margin:1em -0.2em 1em 0;
	width:48%;
}
.callout.splash a:before {
	right:1.5em;
}
.callout.faq.splash a {
	
}
.callout.faq.splash:before {
	content:' ';
	position:absolute;
	top:20%;
	left:-0.9em;
	height:60%;
	width:1.7em;
	border-radius:24px / 100%;
	background-color:#092344;
	box-shadow:1px 0 1px #e5dbcf;
}



/* Specific callouts */
.callout.tour a:before {
	content:url('../images/callouts/tour.png');
	margin-right:-1em;
}
.callout.brochure a:before {
	content:url('../images/callouts/brochure.png');
}



/* Vacancies callout */
.callout.vacancies {
	font-size:13pt;
	margin-bottom:3em;
	color:#e5dbcf;
}
.callout.vacancies h3 {
	margin:0 0.7em;
	padding:0.7em 0 0.2em;
	font-size:15pt;
	color:#e5dbcf;
	border-bottom:1px solid #cbb79e;
}
.callout.vacancies ul {
	list-style:none;
	text-align:right;
	margin:0.1em 0.8em 0;
	padding:0.3em 0 0.7em;
	border-top:1px solid #cbb79e;
}
.callout.vacancies li {
	padding:0.1em 20% 0.1em 0;
	clear:left;
}
.callout.vacancies strong {
	font-size:13pt;
	display:inline-block;
	text-align:left;
	float:left;
}


/************************************************************
Vacancies list (home page) */

#vacancies-list {
	list-style:none;
	margin:0 0 1em;
	padding:0;
	border-top:1px solid #ededed;
	border-bottom:1px solid #ededed;
	font:10pt/1.3 Futura,Arial,Helvetica,sans-serif;
}
#vacancies-list li {
	border-top:1px solid #ededed;
	border-bottom:1px solid #ededed;
	margin:3px 0;
	padding:0.4em 0;
	text-align:right;
	clear:left;
}
#vacancies-list h3 {
	text-align:left;
	font-size:15pt;
	margin:0;
}
#vacancies-list p {
	margin:0.2em 0;
	padding:0.2em 30% 0 0;
	border-top:1px solid #f7f7f7;
}
#vacancies-list strong {
	display:block;
	text-align:left;
	float:left;
	font-weight:normal;
}


/************************************************************
Photo Gallery */

/* Tiles */
#gallery-tiles {
	list-style:none;
	margin:0;
	padding:0;
}
#gallery-tiles li {
	display:inline-block;
	margin:0 2.5% 1em 0;
	width:30%;
}
#gallery-tiles p {
	margin:0;
}
#gallery-tiles img {
	display:block;
	margin:0 auto;
	max-width:100%;
	max-height:150px;
	border-radius:0.5em;
	box-shadow:0 1px 7px 1px rgba(13,51,85,0.6);
}



/* Photos */

/* Entire container */
.photoGallery {
	overflow:hidden;
}


/* Main photo */
#main_image {
	float:left;
	text-align:center;
	margin:10px 0;
	width:52%;
	min-height:300px;
}
#main_image img {
	margin-bottom:5px;
	max-width:100%;
	border-radius:0.5em;
	box-shadow:0 1px 7px 1px rgba(13,51,85,0.6);
}
#main_image .caption {
	color:#6E665F;
}

/* Thumbnails */
.gallery_right {
	float:right;
	width:40%;
}
ul.gallery_demo_unstyled {
	list-style-type:none;
	margin:0;
	padding:0;
}
ul.gallery_demo_unstyled li {
	display:inline-block;
	margin:2px;
	height:55px;
	width:72px;
	cursor:pointer;
	overflow:hidden;
	text-align:center;
	border-radius:0.2em;
	box-shadow:0 1px 4px 1px rgba(13,51,85,0.4);
}

/* Thumbnail pagination */
.pagination {
	text-align:center;
}
.pagination li {
	display:inline-block;
	padding:0.1em;
}


/************************************************************
Videos */

/* Tiles */
.videos {
	position:relative;
	list-style:none;
	margin:-0.5em 0 0;
	padding:0;
}
.videos li {
	display:inline-block;
	vertical-align:top;
	width:47%;
	margin:0 2% 0.3em 0;
}
.videos h3 {
	margin:0.8em 0 0;
	font-size:15pt;
}
.videos p {
	margin:0.5em 0 0.7em;
}
.videos img {
	display:block;
	max-width:95%;
	border-radius:0.5em;
	box-shadow:0 1px 7px 1px rgba(13,51,85,0.6);
	background:rgba(13,51,85,0.3); /* Gets rid of white edging on images */
}
.videos li>div {
	display:none;
}
.videos li:before {
	content:' ';
	position:absolute;
	width:95%;
	left:0;
	height:0.3em;
	border-top:1px solid #ededed;
	border-bottom:1px solid #ededed;
}
.videos li:first-child:before,
.videos li:first-child+li:before {
	display:none;
}


/* Modal */
#vid-modal {
	display:none;
	position:fixed;
	overflow:auto;
	max-width:80%;
	max-height:60%;
	top:50%;
	left:50%;
	z-index:2001;
	background:#e5dbcf;
	border-radius:0.5em;
	padding:0 7px 0.5em;
}
#vid-modal-close {
	color:#e5dbcf;
	position:absolute;
	right:0.4em;
	top:0.4em;
	font-size:16pt;
	line-height:0.4;
}
#vid-modal h2 {
	color:#e5dbcf;
	background-color:#092344;
	margin:0 -7px 0.3em;
	padding:0.3em 0.4em;
	border-radius:0.2em 0.2em 0 0;
}

#vid-modal-overlay {
	display:none;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:2000;
	background:rgba(0,0,0,0.4);
}

/************************************************************
Modal window */

#modal {
	display:none;
	background:#e5dbcf;
	color:#2E2D2D;
	padding:1px 15px 1em 15px;
	width:900px;
	height:400px;
	margin:auto;
	overflow:auto;
}
#modal h2 {
	margin:-1px -15px 0.5em -15px;
	padding:0.5em;
	background:#eff0f0;
}
#modal .simplemodal-close {
	cursor:pointer;
	float:right;
	font-size:12pt;
	margin-top:0.5em;
}



/************************************************************
Odds and Ends */

/* Google maps */
#map-canvas-1,
#map-canvas-2,
#map-canvas-3,
#map-canvas-4 {
	border:0.7em solid #e5dbcf;
	border-radius:0.5em;
	box-shadow:0 0 0.3em rgba(0,0,0,0.2);
	height:200px;
	margin:1.5em 0 3em;
}


.employee_photo {
	border:1px solid #092344;
	float:right;
	border-radius: 5px;
	margin-left:15px;
}

/* Contact Form / Employement form reCaptcha */
#recaptchaContactContainer > .g-recaptcha > div {
 margin: 15px 38% !important;
 text-align: center;
 width: auto !important;
 height: auto !important;
}

#recaptchaEmplContainer > .g-recaptcha > div {
 text-align: center;
 width: auto !important;
 height: auto !important;
}


/* Login Form */
[data-placeholder] {
    position: relative;
}
[data-placeholder]:before {
    content: attr(data-placeholder);
    display: inline-block;
    top: 50%;
    position: absolute;
    left: 0;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    transition: all 0.3s ease 0s;
    color: #999999;
    opacity: 1;
    font-size: 14px;
}
[data-placeholder].on:before {
    top: -14px;
    left: 0px;
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    -o-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    color: #000000;
    font-size: 13px;
    z-index: 2;
}
[data-placeholder]:after {
    content: attr(data-required);
    display: inline-block;
    right: 5px;
    top: 3px;
    color: #EA0009;
    position: absolute;
    font-size: 18px;
}
.login-form {
	display: block;
	padding: 30px;
	width: 350px;
}
.login-form .form-control {
	background-color: transparent;
	border: #a0a9b4;
	border-bottom: 1px solid;
	color: #868e97;
	display: block;
    padding: 10px 0;
    position: relative;
    z-index: 1;
    font-size: 14px;
    margin-bottom: 30px;
    width: 100%;
}
.login-form .form-title {
	text-transform: uppercase;
	padding: 20px 0;
	color: #092344;
	font:21pt/1.2 Radley,'Times New Roman',Times,serif;
}
.login-form .row {
	font-size: 0;
}
.login-form .row > div {
	display: inline-block;
	width: 100%;
}
.login-form .btn {
	padding: 10px;
	min-width: auto;
}
.login-form .btn i {
	font-weight: 400;
}


.col.main.login-page {
	width: 100%;
}

/*=== VIDEOS PAGE ===*/
.video-section {
	display: block;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	margin: 45px auto 0;
}
/*
.video-section .frame-contain:not(:first-child) {
	margin-top: 35px;
}
*/
.video-section .video-box {
	display: inline-block;
	vertical-align: top;
	width: 45%;
	text-align: center;
}
.video-box div {
	color: #2f2635;
}
.video-section .video-box:nth-child(2n) {
	margin-left: 2.5%;
}
.video-section .video-box:nth-child(n+3) {
	margin-top: 7.25%;
}
.video-box .med-heading {
	margin-bottom: 10px;
}
.full-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}
.play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: 70px;
	width: 70px;
	background-color: #e1de95;
	border-radius: 50%;
	opacity: 0.75;
	z-index: 1;
	transition: all 0.25s ease 0s;
}
.play-btn::after {
	content: "";
	display: inline-block;
	height: 0;
	width: 0;
	border-left: 30px solid #092344;
	border-top: 20px solid transparent;
	border-bottom: 20px solid transparent;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin-left: 5px;
	z-index: 1;
}
a:hover > .play-btn,
a:active > .play-btn {
	opacity: 1;
}
.frame-box, .frame-contain {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 0;
    overflow: hidden;
    padding-bottom: 125%; /* 56.25% = 16:9 */
                            /* 75% = 4:3 */
}
.frame-contain iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}