/**
* Override.css
*
* Overrides the themes default styling. 
*
* Quest Digital 2021 JM
*/

/* Theme colors */

:root
{
	--maroon: #9d2136;
	--white: #ffffff;	
	--brown: #e7e1d5;
	--black: #000000;
	--pink: #f08080;
	--beige: #e7e1d5;
	--orange: #f37445;
	--amber: #883000;
	--purple: #7f3f98; /* branded purple */
	--teal: #00b2a9; /* brand teal */
	--blue: #094268; 
	--merlot: #321410;
	--green: #78a22f;
	--grey: #616e76; 
	--yellow: #f3b944; /* brand */
	--dark-grey: #e6e6e6; 
	--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);
}

.yellow
{
	color: var(--yellow);
}

.orange 
{	
	color: var(--orange);	
}

.beige
{
	color: var(--beige);	
}

.purple
{
	color: var(--purple);
}

.merlot
{
	color: var(--merlot);
}

.blue
{
	color: var(--blue);
}

.teal
{
	color: var(--teal);
}

.brown
{
	color: var(--brown);
}

.green
{
	color: var(--green);
}

.maroon
{
	color: var(--maroon);
}

/* end colors */

/*header banner area */

#header-text img
{
	width: auto;
	padding: 20px;
	width: 140px;
}

.image-divider .divider-overlay,
.video-divider .divider-overlay
{
	opacity: 0.0;
}

#header-text
{	
	border-radius: 4px;
	padding: 38px 20px; 
	letter-spacing: 0px;
	background-color: #094268c5;
	text-shadow: 0px 1px 5px rgba(0, 0, 0, 1.0);	
	border-radius: 10px;
	margin-top: 30%;
}

#header-text h1
{
	margin-top: 0;
	font-size: 48px;
	letter-spacing: 0  !important;
	line-height: 52px;
	opacity: 1;
	font-weight: bold;
	text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
	font-family: cabrito-normal, sans-serif;
}

#header-text p
{
	margin-top: 20px;
	margin-bottom: 0 !important;
	padding-bottom: 0;
	color: #fff;
	opacity: 1;
	font-family: museo-sans, sans-serif;
	line-height: 24px;
	margin-bottom: 18px;
	text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
	font-weight: 400;
}

#header-logo
{
	margin-bottom: -14px;
	width: 144px;
}

/*block qoute*/

.block
{	
	font-size: 2rem;	
	line-height: 4.5rem;
	font-weight: 600;
	color: var(--white);
	background-color: var(--blue);		
	margin-left: 0px; 
	margin-right: 0px;
	border-left: 0; 
	padding: 3rem;
	border-radius: 10px;
}


.block h2,
.block p
{
	color: #fff;	
}

.block p a
{
	color:  var(--yellow);
}

.block p
{
	margin-bottom: 0;
	text-align: center;
}

.block a:hover
{
	color: #fff;
}

.block:before
{
  font-family: "fontello";
  font-weight: 400;
  /*content: '\ec03';*/
  color: var(--white);
  margin-right: 0.25em;  
}

.abstract
{
	text-align: center;
	font-size: 22px;
	font-weight: 300;
	line-height: 32px;
	font-family: museo-sans, sans-serif;
	padding: 30px;
	color: #fff;
	background:  var(--blue);
	border-radius: 100px 5px 100px 5px; 

}

/* link style*/

a,
p a
{
	color: var(--blue);
	text-decoration: underline;	
}

a:hover,
p a:hover
{
	color: var(--maroon);
}

/* main headers */

h2
{
	line-height: 60px;
	margin-bottom: 20px;
	color: var(--blue);
	text-align: center;
	font-family: cabrito-normal, sans-serif;
	letter-spacing: 0;
	font-weight: bold;
	margin-top: 30px;
}

h3
{
	line-height: 40px;
	margin-bottom: 20px;
	font-size: 31px;
	color: var(--maroon);
	text-align: center;
	font-family: cabrito-normal, sans-serif;
	letter-spacing: 0;
	font-weight: bold;
}

h4,
.bold400 a
{	
	letter-spacing: 0;
	line-height: 32px;
	color: var(--blue);
	font-family: cabrito-normal, sans-serif;
}

.icons
{
	width: 40px !important;
}

.bold400
{
	text-align: center;
	
}

.bold400 a
{
	margin-bottom: 10px !important;
    display: block;
}

#logo-wrapper
{
	text-align: center;
	float: none;
}

.bold
{ 
	font-weight: bold;
}

.center
{
	margin: 0 auto;
	text-align: center;
}

/* caption style */

.caption
{
	margin-top: 6px;
	margin-left: 10px;
	color: #333;
	font-size: 14px;
	width: auto;
	font-family: museo-sans, sans-serif;
}

a.de-button,
span.de-button,
input[type=submit]
{
	background-color: var(--blue) !important;
	line-height: 26px;
	width: 200px;
	border:0;
}

.slide-overlay
{
	opacity: 0.1 !important;
}

#narrative-header
{
	/*font-size: 2.75rem;*/
	text-align:center;
}

#narrative-header .cat
{
	padding-right: 5px;
}

.icon-and-title
{
	margin-left: 0;
}

/* nav bar */

#nav-bar
{	
	background-color: var(--blue);
}

#nav-bar #img-logo img
{
	width: 160px;
}

/* paragrpah styles */

p
{
	color: rgb(53, 53, 53);
	font-family: museo-sans, sans-serif;
	font-size: 16px;
	margin-bottom: 28px;
	line-height: 30px;
}

/* 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(0,69,124, 0.4);	
}

.photo-item
{
border-radius: 24px;	
}

/* change image gallery buttons */
.de-button
{
	background-color: var(--blue) !important;
	border: none !important;
	font-family: museo-sans, sans-serif;
}

/* change image gallery buttons */

.de-button:hover 
{
	border-color: none !important;
}

/* change image gallery modal background */

.mfp-bg 
{
	background-color: #269ACD !important;
	opacity: 0.98 !important;
}

/* footer */

footer, footer .alignment
{
	background: var(--blue)  !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;
}

footer p 
{
	margin-top: 60px;
	color: #fff;
	text-align: left;
}

footer p a
{
	color: var(--green);
}

@media screen and (min-width: 768px)
{

#nav-bar 
{
	text-align:initial;
	padding: 4px 60px;
}

#narrative-header
{
	/*font-size: 5rem;*/
	text-align: initial;
}

#narrative-header .cat 
{
	margin-right: 6px;
}	

/* Change the footer background color */

footer .alignment {
	background-color: var(--grey);
	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(--white);
	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;
}
}

@media screen and (max-width: 767px)
{
	/* reduce font size on mobile */
	
	#header-text h1
	{
		font-size: 36px;
		line-height: 46px;
	}
}


