/**
* Override.css
* 6/17/2021
*
* Overrides the themes default styling. 
*
* Quest Digital 2021
*/

/* Theme colors */

@font-face {
	font-family: 'introheadr-base';
font-style: normal;
	font-weight: normal;
	src: url('fonts/introheadr-base.ttf') format('truetype');
}


:root {
	--maroon: #6F0C24;
	--white: #ffffff;
	--brown: #4e2714;
	--black: #000000;
	--pink: #f08080;
	--beige: #DECBA5;
	--orange: #e09139;
	--amber: #883000;
	--purple: #aa237a; /* branded purple */
	--mediumblue: #269acd;
	--blue: #1F355E; /* branded blue rgb(0,69,124) */
	--merlot: #321410;
	--green: #9FB62A;
	--grey: #fafafa;
	--midnightblue: #263f6a;
	--turquoise: #47d5cd;
	--dark-grey: #2e2e2e; /* branded purple */
	--font-oswald: 'Oswald', sans-serif;
	--font-robotoslab: 'Roboto Slab', serif;
}


.midnightblue {
	color: var(--midnightblue);
}

.turquoise {
	color: var(--turquoise);
}


.wine {
	font-size: 30px;
	position: relative;
	z-index: 2;
	margin-left: -7px;
}

.white
 {
	color: var(--white);
}

.orange 
{	
	color: var(--orange);	
}

.beige
{
	color: var(--beige);	
}

.purple
 {
	color: var(--purple);
}
.merlot {
	color: var(--merlot);
}
.blue {
	color: var(--blue);
}

.mediumblue
{
	color: var(--mediumblue);
}

.brown {
	color: var(--brown);
}

.green {
	color: var(--green);
}

.maroon {
	color: var(--maroon);
}

blockquote {
	font-family: 'Lato', sans-serif;
	font-size: 24px;
	line-height: 4rem;
	font-weight: 300;
	color: var(--orange);
	background-color: #eee;
	margin-left: 0px;
	margin-right: 0px;
	/* border-top: 1px solid var(--plum); */
	/* border-bottom: 1px solid var(--plum);*/
	border-left: 0;
	border-radius: 1px !important;
	padding: 3rem;
}

blockquote:before {
  font-family: "fontello";
  font-weight: 400;
  /*content: '\ec03';*/
  color: var(--white);
  margin-right: 0.25em;  
}

#main-slider.flexslider
{
	height: 820px !important;
}

.feature-wrapper
{
	text-align: center;
}

#header-text {
	margin-top: 8%;
	border-radius: 4px;
	padding: 10px;
	letter-spacing: 1px;
	margin-bottom: 20px;
}

	#header-text h1 {
		font-family: 'Roboto Slab', serif;
		font-weight: bold;
		font-size: 76px;
		line-height: 72px;
		opacity: 1;
	}

	#header-text p {
		margin-top: 15px;
		color: #fff;
		opacity: 1;
		font-family: 'Lato', sans-serif;
		font-size: 20px;
		margin-bottom: 20px;
	}

	#header-text p a
	{
		color: white;
		text-decoration: underline;
	}

	#header-logo {
		margin-top: 20px;
		width: 100px;
	}

p span
{
	font-weight: normal;
	color:#094268;
}


.abstract,
blockquote {
	font-size: 24px;
	font-weight: 300;
	line-height: 44px;
	background: var(--midnightblue);
	color: white;
	padding: 60px;
	position: relative;
	overflow: hidden;
}


	.abstract a,
	.abstract a:visited {
		color: #fff;
		text-decoration: none;
	}

	.abstract p a {
		text-decoration: underline;
	}

	blockquote.pad-more {
		padding-left: 75px;
	}

	.abstract::before,
	blockquote::before {
		content: "";
		width: 200px;
		height: 100px;
		background: var(--turquoise);
		position: absolute;
		left: -30px;
		top: -70px;
		border-bottom: 10px solid white;
		transform: rotate(-24deg);
	}

	.abstract::after,
	blockquote::after {
		content: "";
		position: absolute;
		right: -28px;
		bottom: -6px;
		width: 300px;
		height: 40px;
		background: rgba(255, 255, 255, 0.3);
		transform: rotate(-24deg);
	}


.blue-abstract {
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	line-height: 44px;
	color: var(--orange);
	font-weight: 300;
	background: #ef5e49;
	padding: 18px 28px;
}


.abstract a, .blue-abstract a
{ color: #d1e7ea; font-weight: 600; }


	.abstract a:hover, .blue-abstract a:hover {
		color: #fff;
		text-decoration: none;
	}

a {
	color: var(--blue);
	
}

p a {
	font-weight: bold;
}

a:hover
{ 
	color: #30434d;
}

h2, .h2 {
	line-height: 60px;
	font-size: 46px;
	text-align: center !important;
	color: var(--blue);
	font-family: 'Roboto Slab', serif;
	text-align: left;
	padding: 10px 0px;
	font-weight: normal;
	width: 100%;
	margin-bottom: 0 !important;
}

.icon-and-title
{
	margin-bottom: 3px;
}


.blue-abstract h3 {
	font-family: 'Roboto Slab', serif;
	color: #fff;
	background: none;
	margin-bottom: 10px;
}

.blue-abstract ul
{
	font-size: 18px;
}

.bold400 a {
	color: var(--blue) !important;
}

h4 {
	color: var(--blue);
	line-height: 34px;
	font-family: 'Roboto Slab', serif;
}

.footer-link
{
	color: var(--white);
	font-size: 44px;
	margin-bottom: 30px;
	width: 100%;
	display: block;
}

footer p a
{
	color: var(--white);
	
	font-size: 64px;
}

footer .social a {
	padding-top: 74px !important;
	margin-right: 44px;
}
	footer p a:hover {
		color: #fff;
	}

footer p
{
	margin-top: 60px;
	color: #fff;
}

.footer .social 
{
	color: #fff!important;
}

#logo-wrapper {
	text-align: center;
	float: none;
}


.bold { 
	font-weight: bold;
}

.center
{
	margin: 0 auto;
	text-align: center;
}

p {
	font-family: 'Lato', sans-serif;
	font-size: 17px;
	margin-bottom: 30px;
}

.caption
{
	margin-top: 6px;
	margin-left: 10px;
	font-size: 14px;
	width: auto;
	text-align: left;
}

.image-divider .divider-overlay, .video-divider .divider-overlay
{
	opacity: 0.1;
}

a.de-button,
span.de-button,
input[type=submit] {
	background-color: var(--blue) !important;
	line-height: 26px;
	width: 80%;
	border: 0 !important;
	font-family: 'Lato', sans-serif;
}

#narrative-header {
	/*font-size: 2.75rem;*/
	text-align:center;
}

#narrative-header .cat {
	padding-right: 5px;
}

#nav-bar {
	background-color: var(--white);
	padding: 8px 10px !important;
	border-bottom: solid 4px var(--blue);
}

.icon-and-title
{
	margin-left: 0;
}

.bold400 img{
	text-align: center !important;
}

p {
	color: #333;
}
 
/* @keyframes clink-left { */
	/* 0% { left: 0;} */
	/* 50%{ left : 10px;} */
	/* 100%{ left: 0;} */
/* } */

/* @keyframes clink-right { */
	/* 0% { right: 0;}	 */
	/* 50%{ right: 10px; transform: rotate(-25deg);} */
	/* 100%{ right: 0;} */
/* } */


/* .wine.animate-left{ */
	/* position: absolute; */
	/* margin-left: auto; */
	/* margin-right: auto; */
	/* left: 0; */
	/* right: 0; */
	/* animation:linear infinite alternate; */
	/* animation-name: clink-left; */
	/* animation-duration: 3s; */
/* } */


/* .wine.animate-right{ */
	/* position: absolute; */
	/* margin-left: auto; */
	/* margin-right: auto; */
	/* left: 0; */
	/* right: 0; */
	/* animation:linear infinite alternate; */
	/* animation-name: clink-right; */
	/* animation-duration: 3s; */
	
/* } */

/* override theme padding 
	makes things tighter around text and heroes
*/
.section-padding { padding: 42px 0; }

/*
change the color on image overlays
*/
.photo-item .layer.hidden-blue-overlay
 {
	background-color: rgba(0,69,124, 0.4);	
}

/* change image gallery buttons */
.de-button {
	background-color: var(--blue) !important;
	
}
/* change image gallery buttons */
.de-button:hover {
	border-color: var(--white) !important;
}

/* change image gallery modal background */
.mfp-bg {
	background-color: var(--blue) !important;
	opacity: 0.98 !important;
}


footer, footer .alignment {
	background: var(--blue);
}

footer .alignment address p {	
	
	text-align: center;
    font-size: 1.75rem;
    line-height: 2rem;
    margin-bottom: 2px;
	
}

footer div[class^="col-md-"] {
	margin-bottom: 30px;
	
}

footer .alignment .social li a i {
	color:var(--white);
	font-size: 4.5rem;
}

footer .alignment .social li a i:before {
	margin-right: 0;
}

footer .alignment .social > li {
	padding-right: 0;
}


@media screen and (min-width: 768px) {


#nav-bar {
	text-align:initial;
	padding: 14px 10px;
	background-color: none;
}

#narrative-header {
	/*font-size: 5rem;*/
	text-align: initial;
}


#narrative-header .cat {
	margin-right: 6px;
}
	footer .social {
		text-align: left;
	}

	
/* Change the footer background color */
footer .alignment {
	background-color: var(--blue);
	height: 35%;
}

footer .alignment address p {		
	text-align: center;   
}

footer .alignment .social li a i {
	color:var(--maroon);
	font-size: 2.3rem;
}

footer .alignment .social {
	text-align: center;
	color: #fff;
}

footer .alignment .social li:not(:last-child) {
	padding-right: 1.0em;	
}
footer div[class^="col-md-"] {
	margin-bottom: inherit;
}

}


@media screen and (max-width: 767px) {
	#header-text p {
		font-size: 18px;
	}



		#header-text h1 {
			font-size: 32px;
			line-height: 44px;
		}

	#slide-arrow {
		display: none;
	}

	#header-text {
		margin-top: 14%;
		
	}
}