/**
* 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: #ff7f0f;
	--red: #DB4244;
	--amber: #883000;
	--purple: #aa237a; /* branded purple */
	--mediumblue: #005294;
	--blue: #005294 ; /* branded blue rgb(0,69,124) */
	--merlot: #67233a;
	--green: #456951;
	--grey: #fafafa;
	--dark-grey: #2e2e2e; /* branded purple */
	--font-oswald: 'Oswald', sans-serif;
	--font-robotoslab: 'Roboto Slab', serif;
}

.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: 'Cardo', 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;
}

#img-logo
{
	padding: 8px;
}

strong {
	color: var(--orange) !important;
}

#header-text {
	margin-top: 19%;
	border-radius: 4px;
	padding: 10px;
	letter-spacing: 0px;
	margin-bottom: 0px;
	background-color: #005294c1;
}

	#header-text h1 {
		font-family: 'Cardo', serif;
		font-weight: bold;
		font-size: 44px;
		line-height: 58px;
		color: #fff !important;
		opacity: 1;
	}

	#header-text p {
		margin-top: 5px;
		color: #fff;
		opacity: 1;
		text-align: center;
		font-family: 'Raleway', sans-serif;
		font-size: 20px;
		margin-bottom: 20px;
	}

	#header-text p a
	{
		color: white;
		text-decoration: underline;
	}

	#header-logo {
		padding: 20px;
		width: 100px;
	}

p span
{
	font-weight: normal;
	color:#094268;
}

.abstract
{
	font-family: 'Raleway', sans-serif;
	font-size: 24px;
	text-align: center;
	line-height: 40px;
	background-color: var(--blue) !important;
	font-weight: 300;
	background: #ef5e49;
	padding: 28px 28px;
	margin-bottom: 0px;
	margin-top: 20px;
	color: #fff !important;
}

	.abstract p
	{
		color: #fff !important;
	}

	.abstract h2
	{
		font-family: 'Cardo', serif;
		color: #fff !important;
	}

.blue-abstract
{
	font-family: 'Raleway', sans-serif;
	font-size: 18px;
	line-height: 44px;
	color: var(--orange);
	font-weight: 300;
	background: #ef5e49;
	padding: 18px 28px;
}

.feature-row-wrapper .col-md-4
{
	min-height: 300px;
}


.abstract a, .blue-abstract a {
	color: #d1e7ea;
	font-weight: 600;
}


	.abstract a:hover, .blue-abstract a:hover {
		color: var(--green) !important;
		text-decoration: none;
	}

a {
	color: var(--orange);
	
}

p a {
	font-weight: bold;
	color: var(--mediumblue);
}

a:hover
{ 
	color: #30434d;
}

.icon-and-title
{
	margin-bottom: 4px;
}

h2, .h2 {
	line-height: 60px;
	font-size: 44px;
	text-align: center !important;
	color: #2C5697;
	font-family: 'Cardo', serif;
	text-align: left;
	padding: 10px 0px;
	font-weight: normal;
	width: 100%;
	margin-bottom: 0 !important;
}


.blue-abstract h3 {
	font-family: 'Cardo', serif;
	color: #fff;
	background: none;
	margin-bottom: 10px;
}

.blue-abstract p, .abstract p {
	
}

.blue-abstract ul
{
	font-size: 18px;
}

.bold400
{
	line-height:28px;
}


	.bold400 a {
		color: #2C5697 !important;
		font-size: 24px;
		line-height: inherit;
		font-family: 'Cardo', serif;
	}

h4 {
	color: var(--red);
	font-family: 'Cardo', 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: 'Raleway', sans-serif;
	font-size: 17px;
	margin-bottom: 30px;
}

.caption {
	margin-top: 6px;
	margin-left: 10px;
	font-size: 16px;
	line-height: 22px;
	width: auto;
	font-weight: 500;
	text-align: left;
}

.image-divider .divider-overlay, .video-divider .divider-overlay
{
	opacity: 0.0;
}

a.de-button,
span.de-button,
input[type=submit] {
	background-color: var(--mediumblue) !important;
	line-height: 26px;
	width: 80%;
	border: 0 !important;
	font-family: 'Raleway', sans-serif;
}

#narrative-header {
	/*font-size: 2.75rem;*/
	text-align:center;
}

#narrative-header .cat {
	padding-right: 5px;
}

#nav-bar
{	
	background-color: var(--white);
	padding: 4px 4px !important;
}

.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(--mediumblue) !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: #a6ce39 !important;
}

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 {
	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 {
		margin-top: 32% !important;
	}
}


	@media screen and (max-width: 767px) {

		.image-divider.fixed-height {
			background-position: initial !important;
		}

		#main-slider.flexslider {
			height: 620px !important;
		}

		.image-divider.fixed-height {
			width: 100%;
			height: 400px !important;
		}


		.image-divider {
			position: relative !important;
			background-size: contain;
			-webkit-background-size: contain;
			background-attachment: scroll !important;
		}

		#header-text p {
			font-size: 18px;
		}




		#header-text h1 {
			font-size: 32px;
			line-height: 44px;
		}

		#slide-arrow {
			display: none;
		}

	
	}
#slide-arrow {
margin-bottom: -12px;
}

	@media screen and (max-width: 567px) {



		.image-divider.fixed-height {
			width: 100%;
			height: 300px !important;
		}
	}

	@media screen and (max-width: 467px) {



		.image-divider.fixed-height {
			width: 100%;
			height: 260px !important;
		}
	}


.centered {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}