/**
* Override.css
*
* Overrides the themes default styling. 
*
* Quest Digital 2021
*/

/* Theme colors */

:root {
	--maroon: #6F0C24;
	--white: #ffffff;	
	--brown: #4e2714;
	--black: #000000;
	--pink: #f08080;
	--beige: #DECBA5;
	--orange: #f37445;
	--amber: #883000;
	--purple: #aa237a; /* branded purple */
	--mediumblue: #347322;
	--blue: #094268; /* branded blue rgb(0,69,124) */
	--merlot: #321410;
	--green: #741019;
	--grey: #fafafa; 
	--yellow: #edcf3d;
	--dark-grey: #e6e6e6; /* branded purple */
	--font-oswald: "Montserrat", Arial, sans-serif;
	--font-robotoslab: 'Roboto Slab', serif;
}

@font-face{font-family:'HandyBold';src:url(fonts/handy_bold.eot);src:url(fonts/handy_bold.eot?#iefix) format("embedded-opentype"),url(fonts/handy_bold.woff) format("woff"),url(fonts/handy_bold.otf) format("otf"),url(fonts/handy_bold.ttf) format("truetype"),url(fonts/handy_bold.svg) format("svg");font-weight:400;font-style:normal}



.wine
 {
	font-size: 30px;   
    position: relative;
    z-index: 2;
	margin-left: -7px;	
}

.white
 {
	color: var(--white);
}

.yellow
 {
	color: var(--yellow);
}

.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-size: 2rem;	
	line-height: 4.5rem;
	font-weight: 600;
	color: var(--white);
	background-color: var(--purple);		
	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;
	border-bottom: var(--green) 5px solid;
}

blockquote:before {
  font-family: "fontello";
  font-weight: 400;
  /*content: '\ec03';*/
  color: var(--white);
  margin-right: 0.25em;  
}

#header-text img
{
	width: auto;
	padding: 20px;
}

.image-divider .divider-overlay, .video-divider .divider-overlay
{
	opacity: 0.1;
}

#header-text
{	
	border-radius: 4px;
	padding: 24px;
	letter-spacing: 1px;
	text-shadow: 0px 1px 5px rgba(0, 0, 0, 1.0);
	background-color: rgba(44, 86, 151, 0.4);	
	padding-bottom:60px;
	
}

#header-text h1
{
	font-family: 'Niramit', sans-serif;
	font-weight: 400;
	margin-top: 0;
	text-transform: uppercase ;
	font-size: 40px;
	line-height: 63px;
	opacity: 1;
	text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
}
#header-text p
{
	margin-top: 12px;
	color: #fff;
	opacity: 1;
	font-family: 'Niramit', sans-serif;
	font-size: 17px;
	line-height: 24px;
	margin-bottom: 18px;
	text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.0);
	font-weight: 400;
}

#header-logo
{
	margin-bottom: -14px;
	width: 144px;
}

.abstract
{
	font-size: 22px;
	font-weight: 300;
	line-height: 42px;
	font-family: 'Niramit', sans-serif;
	color: var(--white);
	padding: 30px;
	background:  var(--green);
}

a
{
	color: #F27F00;
}

a:hover
{
	color: #2C5697;
	text-decoration:underline;
}


.bold400{
	color:#2C5697;
	
}

b{
	color:#F27F00;
}

h2
{
	font-size:30px;
	line-height: 40px;
	margin-bottom: 20px;
	text-transform: uppercase;
	color: #2C5697;
	text-align: center;
	font-family: 'Niramit', sans-serif;
	font-weight:700;
	margin-top:0;
	padding-top:0;
}



h4
{
	line-height: 44px;
	font-family: 'Niramit', sans-serif;
}
footer p 
{
	margin-top: 60px;
	color: #fff;
	text-align: left;
	
}

footer p  a
{
	color: var(--green);
}

#logo-wrapper
{
	text-align: center;
	float: none;
}

.bold
{ 
	font-weight: bold;
}

.center
{
	margin: 0 auto;
	text-align: center;
}

.caption
{
	margin-top: 6px;
	margin-left: 10px;
	font-size: 16px;
	width: auto;
}


a.de-button,
span.de-button,
input[type=submit]
{
	
	line-height: 26px;
	width: 80%;
	border:0;
}

.slide-overlay
{
	opacity: 0.1 !important;
}

#narrative-header {
	/*font-size: 2.75rem;*/
	text-align:center;
}


#narrative-header .cat
 {
	padding-right: 5px;
}

#nav-bar
{	
	background-color: var(--white);
}

.icon-and-title
{
	margin-left: 0;
}

#nav-bar #img-logo img
{
	width: 110px;
}

p
{
	color: #231f20;
	font-family: "Source Sans Pro", Verdana, Tahoma, Segoe, sans-serif;
	font-size: 18px;
	margin-bottom: 24px;

}
 
/* @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: 32px 0; }
.image-wrapper
{
	margin-bottom: 24px;
}
/*
change the color on image overlays
*/
.photo-item .layer.hidden-blue-overlay
 {
	background-color: rgba(44, 86, 151, 0.4);	
}

/* change image gallery buttons */
.de-button {
	background-color:#2C5697 !important;
	/* background-color: var(--green) !important; */
	font-family: 'Niramit', sans-serif !important;

	font-weight:400;

	
}
/* change image gallery buttons */
.de-button:hover 
{
	border-color: var(--white) !important;
}

/* change image gallery modal background */
.mfp-bg 
{
	background-color: var(--yellow) !important;
	opacity: 0.98 !important;
}


footer, footer .alignment
{
	background:#fff !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: 15px 60px;
	background-color: var(--white);
}

#narrative-header
 {
	/*font-size: 5rem;*/
	text-align: initial;
}


#narrative-header .cat 
{
	margin-right: 6px;
}	
	
blockquote
 {	
	font-size: 24px;
	font-weight: 500;
	line-height: 44px;
	font-family: 'Roboto Slab', serif;
	color: var(--white);
	padding: 30px;
	background:  var(--green);
	margin-bottom: 42px;
	/* border-top: 1px solid var(--plum); */
	/* border-bottom: 1px solid var(--plum); */
	/* border-right: 1px solid var(--plum); */
	/* border-left: 8px solid var(--plum); */
}
	
/* Change the footer background color */
footer .alignment {
	background-color: #fff;
	height: 35%;
	color: #fff;
}

footer p a 
 {
	color: #fff; text-decoration:underline;
}

footer p .alignment address p 
{		
	text-align: right;   
	color: #fff;
}

footer .alignment .social li a i 
{
	color:var(--maroon);
	font-size: 2.3rem;
}

footer .alignment .social {
	text-align: right;
}

footer .alignment .social li:not(:last-child) {
	padding-right: 1.0em;	
}
footer div[class^="col-md-"] {
	margin-bottom: inherit;
}

}
