/* 1976 Ford Campaign Site - Custom CSS */

h1 {
	font-size: 1.375rem;
	font-weight: 500;
    line-height: 1.375rem;  /* 22px based on 16px root/body size */
}
h2 {
	font-size: 1.25rem;  /* 20px based on 16px root/body size */
}
.text-blue-classic {
	color: #0f4c81;
}

/* Home Page CSS */
.campaign-landing-page .welcome {
  position: relative;
  /* height: 100vh; */
  height: 100vh;
  min-height: 600px;
  background-color: #0f4c81;  /* navy ... bg if image does not display */
  background: url("../images/ford-home-cover.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.campaign-landing-page .welcome:before {
  position: absolute;
  z-index: 0;
  content: '';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* original CSS w/ blue opacity background
  opacity: .6;
  background: #007bff;  */
  /* replaced with lenear horizontal gradient ... RGB values = blue color above */
  background: linear-gradient(to right,
	rgba(0, 123, 255, 0.2),
    rgba(0, 123, 255, 0.25) 10%,
	rgba(0, 123, 255, 0.3) 20%,
	rgba(0, 123, 255, 0.35) 30%,
	rgba(0, 123, 255, 0.4) 40%,
	rgba(0, 123, 255, 0.45) 50%,
	rgba(0, 123, 255, 0.5) 60%,
	rgba(0, 123, 255, 0.55) 70%,
    rgba(0, 123, 255, 0.6) 100%
);
}

.inner-wrapper {
    margin: 20px 10px;
}
@media (min-width: 768px) {
	.inner-wrapper {
		margin: 20px 70px;
	}
}

.home-overlay {
    position: relative;
}
.home-overlay::after {
    position: absolute;
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #0056b3;
	opacity: 0.1;
}
.home-overlay h1 {
	font-size: 3rem;  /* 48px based on 16px root size */
	font-weight: 400;
    line-height: 3rem;
	color: white;
	text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
	opacity: 1;
	z-index: 999;
}
@media (min-width: 992px) {
	.home-overlay h1 {
		font-size: 3.75rem;  /* 60px based on 16px root size */
		line-height: 3.75rem;
	}
}
.home-overlay h2 {
    font-size: 1.5rem;  /* 24px based on 16px root size */
	font-weight: 400;
	color: white;
	opacity: 1;
	z-index: 998;
}

@media (min-width: 992px) {
	.home-overlay h1 {
		font-size: 3.5rem;
	}
}

.campaign-landing-page .btn-outline-white {
    font-size: 1rem;
}

.campaign-landing-page .section-title {
  position: relative;
  color: #cd340e;
}

.campaign-landing-page .section-title:after {
  content: '';
  width: 30px;
  height: 2px;
  background: #0056b3;
  position: absolute;
  left: 50%;
  margin-left: -15px;
  bottom: -20px;
}

.campaign-landing-page .feature .icon {
  border-radius: 50%;
  min-width: 65px;
  height: 65px;
  line-height: 65px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(33, 37, 41, 0.1), 0 7px 14px rgba(33, 37, 41, 0.1);
  font-size: 27px;
}

.campaign-landing-page .section {
  border-bottom: 1px solid #eaebed;
}

.campaign-landing-page .section-invert {
	background: #f4faff;
}

.campaign-landing-page .testimonials .avatar {
  max-width: 80px;
  overflow: hidden;
}

.campaign-landing-page .app-screenshot {
  background: url("../images/home-intro-background.jpg") no-repeat center center fixed;
  background-size: cover;
  min-height: 400px;
}


.campaign-landing-page .app-screenshot:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #e9ecef;
  opacity: .3;
}

.campaign-landing-page .app-screenshot img {
  max-width: 300px;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 100%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  box-shadow: 0 13px 25px rgba(0, 0, 0, 0.05), 0 60px 100px rgba(192, 192, 192, 0.5);
}

@media (max-width: 991.98px) {
  .campaign-landing-page .app-screenshot img {
    display: table;
    position: static;
    -webkit-transform: translate(0);
            transform: translate(0);
    margin: 0 auto;
  }
}


.campaign-landing-page .feature .icon {
  border-radius: 50%;
  min-width: 65px;
  height: 65px;
  line-height: 65px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(33, 37, 41, 0.1), 0 7px 14px rgba(33, 37, 41, 0.1);
  font-size: 27px;
}

@media (max-width: 767.98px) {
  .campaign-landing-page .feature .icon {
    margin-right: 1.5rem !important;
  }
}

/* page titling banner background below to navbar */
.page-header {
    position: absolute;
	width: 100%;
	background-color: #f4faff;
	height: 120px;
}
.page-header-2 {
    position: absolute;
	width: 100%;
	background-color: #f4faff;
	height: 170px;
}

/* adjust body content for topnav bar placement */
.body-content {
	margin-top: 60px;
}
.body-content-2 {
	margin-top: 40px;
}

/* color backgrounds for different sections */
.overview-section {
  background: #f4faff;
  width: 100%;
}
.overview-nav-tab {
    font-size: 1.5em;
	font-weight: 500;
	color: #0f4c81;
}
.section-bg-lightblue {
  background: #dfeafd;
}

/* css for owl carousel captions (on overview page) */
.owl-carousel-caption {
	margin-top: 10px;
	font-size: .875em;
	font-weight: 500;
}

/* CSS hack to position anchor tags correctly for pages that have a fixed top navbar */
.anchor {
    content: "";
    display: block;
    margin-top: -50px;
	padding-top: 50px;
}

/* CSS for banners used on selected pages */
.intro-header {
    position: relative;
	width: 100%;
    /* use campaign group photo at 300px H */
	/* background: url(../images/players-banner.jpg) no-repeat center center;
	/* height: 300px; */
	/* use blue tones gradient
	background: linear-gradient(rgb(15, 76, 129) 30%, rgb(83, 144, 241) 100%);  */
	background: linear-gradient(to bottom, #0f4c81, #22568d, #316199, #3f6ca5, #4c77b1);
	height: 60px;
    background-size: cover;
}
.intro-header:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0f4c81;
  opacity: .5;
}
.intro-message {
    position: relative;
	z-index: 10;
    /* padding-top: 20%; */
}
.intro-message > p {
    color: #f1f1f1;
	font-size: 1.35em;
    font-weight: 600;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}
.intro-header-2 {
    position: absolute;
	width: 100%;
    /* use campaign group photo at 300px H */
	/* background: url(../images/players-banner.jpg) no-repeat center center;
	/* height: 300px; */
	/* use blue tones gradient
	background: linear-gradient(rgb(15, 76, 129) 30%, rgb(83, 144, 241) 100%);  */
	background-color: #f4faff;
	height: 120px;
    background-size: cover;
}

.heading-overview {
	font-size: 1.125rem; /* 18px based on 16px root/body size */
	font-weight: 600;
}


.text-footer {
  padding-left: 15px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1em;
}
.social-icon-footer {
  padding-left: 5px;
  font-size: 1em;
}

.app-features .section-title {
  position: relative;
}

.app-features .section-title:after {
  content: '';
  width: 60px;
  height: 2px;
  background: #0056B3;
  position: absolute;
  left: 50%;
  margin-left: -30px;
  top: -10px;
}

.exhibit-page-title h1 {
  color: #0056b3;
}
.exhibit-page-title h2 {
  color: #cd340e;
}

.section-layout-1 .page-title {
  position: relative;
  color: #0f4c81;
}

/* this code applies a blue border line above the section title
.section-layout-1 .page-title:after {
  content: '';
  width: 60px;
  height: 2px;
  background: #007bff;
  position: absolute;
  left: 50%;
  margin-left: -30px;
  top: -10px;
}
 */
 
.section-layout-1 .section-title {
  color: #cd340e;
}

.full-width-photo-caption {
    text-align: center;
    letter-spacing: .025em;
    font-family: Roboto,Arial,sans-serif;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1rem;
    color: #5f6368;
    margin: 10px;
    text-align: left;
}

/* CSS for Artifacts Page */
.filter-button-group {
    margin-top: 20px;
	border-bottom: 1px solid #3498db;
}
.grid {
    margin-top: 10px;
	min-height: 60vh;
}
.grid-item {
    margin-top: 10px;
	margin-bottom: 10px;
}
.grid-item-content h3 {
    margin: 5px;
	font-size: .9em;
	line-height: 1em;
	font-weight: bold;
	color: #34495e;
}
/*
.grid-item-content p {
	margin: 0 0 5px 5px;
	font-size: .75em;
	line-height: .9em;
	font-weight: normal;
	color: #34495e;
}
*/
 
 /* CSS for Players Page */
.testimonials .avatar {
    max-width: 120px;
    overflow: hidden;
}
.app-features .avatar {
    max-width: 120px;
    overflow: hidden;
}

.home-buttons img {
  border: 2px solid #ffffff;
  padding: 5px;
  width: 100%;
}
.border-button {
  border: none;
  transition: border 1s;
}
.border-button:hover { 
	border: solid 2px #3498db; 
}

/* CSS for artifact cards */
.card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  color: #0056b3;
}
.card-text {
  font-size: .875rem; /* 14px based on 16px for root/body */
  line-height: 1.25rem;
  font-weight: 400;
  color: #5A6169;
}

/* CSS for card-column masonry ... mobile default already saet for 1 */
@media (min-width: 576px) { 
    .card-columns {
        column-count: 2;
   }
}

@media (min-width: 768px) { 
    .card-columns {
        column-count: 3;
   }
}

@media (min-width: 992px) { 
    .card-columns {
        column-count: 3;
   }
}

@media (min-width: 1200px) { 
    .card-columns {
        column-count: 4;
   }
}

.personality-card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.personality-card-bio {
  font-size: .8125rem; /* 13px based on 16px for root/body */
  line-height: 1 rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.border-button {
  border: none;
  transition: border 1s;
}

.display-client {
	font-size: 2rem;
}
.display-tagline {
    margin-bottom: 20px;
	font-size: 1.25em;
	font-weight: normal;
	color: #34495e;
}
.list-group-item {
    padding: 10px;
	font-size: .9em;
}

/* CSS override for timeline campaign stop info */
.text-stops {
  color: #cd340e !important;
}

/* CSS for Issues: Read More / Read Less */
#issue {
  font-size: .95em;
  line-height: 1.35em;
}
#issue p.collapse:not(.show) {
    height: 2.5em !important;
    overflow: hidden; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
}
#issue p.collapsing {
    min-height: 2.5em !important;
}
#issue a.collapsed:after  {
	content: '+ Read More';
	font-weight: 500;	
}
#issue a:not(.collapsed):after {
    content: '- Read Less';
	font-weight: 500;
}

/* CSS for the Collapse-Accordian component */

/* accordian icons on left ... using font-awesome icons 
f13a ... <i class="fas fa-chevron-circle-down"></i>
f139 ... <i class="fas fa-chevron-circle-up"></i>
}*/
.accordion .card-header .collapsed .fa::before {
    /* symbol for "collapsed" panels */
    content: "\f13a"; 
}
.accordion .card-header .fa::before { 
    content: "\f139";
}

#accordionIssues .card .card-header h4 {
  font-size: 1rem; /* match 16px root/body size */
  font-weight: 500;
}
#accordionIssues .card .card-body p {
  font-size: .9375rem; /* 14px based on 16px for root/body */
  line-height: 1.5;
  font-weight: 400;
}

#accordionStates .card .card-header h4 {
  font-size: 1rem; /* match 16px root/body size */
  font-weight: 500;
}
#accordionStates .card .card-body p {
  font-size: .9375rem; /* 14px based on 16px for root/body */
  line-height: 1.5;
  font-weight: 400;
}

#accordionDelegates .card .card-header h4 {
  font-size: 1rem; /* match 16px root/body size */
  font-weight: 500;
}
#accordionDelegates .card .card-body p {
  font-size: .9375rem; /* 14px based on 16px for root/body */
  line-height: 1.5;
  font-weight: 400;
}

#accordionDebates .card .card-header h4 {
  font-size: 1rem; /* match 16px root/body size */
  font-weight: 500;
}
#accordionDebates .card .card-body p {
  font-size: .9375rem; /* 14px based on 16px for root/body */
  line-height: 1.5;
  font-weight: 400;
}

#accordionStory .card .card-header h4 {
  font-size: 1rem; /* match 16px root/body size */
  font-weight: 500;
}
#accordionStory .card .card-body p {
  font-size: .9375rem; /* 14px based on 16px for root/body */
  line-height: 1.5;
  font-weight: 400;
}

/* accordian icons on right ... drawing / animating plus/minus lines */
/* horizontal line */
.collapsible-link::before {
  content: "";
  width: 14px;
  height: 3px;
  background: #0f4c81;
  position: absolute;
  top: calc(50% - 3px);
  right: 1rem;
  display: block;
  transition: all 0.3s;
}
/* vertical line */
.collapsible-link::after {
  content: "";
  width: 3px;
  height: 14px;
  background: #0f4c81;
  position: absolute;
  top: calc(1rem - 7px);
  right: calc(1rem + 5px);
  display: block;
  transition: all 0.3s;
}
.collapsible-link[aria-expanded='true']::after {
  transform: rotate(90deg) translateX(-1px);
}
.collapsible-link[aria-expanded='true']::before {
  transform: rotate(180deg);
}

/* CSS for Primaries page - States section */
#states h4 {
  font-size: 1.125rem; /* 18px based on 16px root/body size */
  font-weight: 600;
}
#states p {
  font-size: .9375rem; /* 14px based on 16px for root/body */
  line-height: 1.5;
  font-weight: 400;
}

/* CSS for General Election page - Tabbed sections */
.tab-photo-caption {
  font-size: .8125rem; /* 13px based on 16px for root/body */
  line-height: 1 rem;
  font-weight: 400;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* CSS for PDFObject which is used within the Documents section
   PDFObject appends the classname "pdfobject-container" to the target element. */
.pdfobject-container {
	width: 100%;
	max-width: 800px;
    height: 600px;
    border: 2px solid rgba(0,0,0,.2);
    margin: 2em 0;
}
.pdfobject {
    border: solid 1px #666;
}
#results {
    padding: 1rem;
}
.hidden {
    display: none;
}
.success {
    color: #4F8A10;
    background-color: #DFF2BF;
}
.fail {
    color: #D8000C;
    background-color: #FFBABA;
}

/* CSS for Timeline */
/* resizes images and carousels based on device width */
.timeline-images {
    width: 100%;
}
@media (min-width: 768px) {
  .timeline-images {
    width: 75%;
  }
}
@media (min-width: 992px) {
  .timeline-images {
    width: 50%;
  }
}

/* add a thick border under row with delegates for map */
.row-bottom-border {
    border-bottom: 4px solid #4d4d4d;
}

/* Carousels: this 1st item overrides the shadowing found on ford-custom css */
.carousel {
    box-shadow: none;
}
.carousel-caption {
    position: relative;
    left: 0;
    top: 0;
}
.carousel-caption p {
    font-size: .875rem;
		line-height: 1.25rem;
}

/* CSS for Owl Carousel */
.owl-theme .owl-dots .owl-dot {
    outline: none;
}
.owl-theme .owl-next, .owl-theme .owl-prev {
	outline: none;
}

.owl-prev { 
	left: -30px;
	top: 30%;
    position: absolute;
	display: inline-block;
}
.owl-next { 
	right: -30px;
	top: 30%;
    position: absolute;
	display: inline-block;	
}

/* CSS for Timeline small bar charts */
.bar{
  height: 26px;
  max-width: 500px;
  margin: 0 auto 5px auto;
  line-height: 26px;
  font-size: .875rem;
  color: white;
  padding: 0 0 0 10px;
  position: relative;
}
.bar::before{
  content: '';
  width: 100%;
  position: absolute;
  left: 0;
  height: 26px;
  top: 0;
  z-index: -2;
  background: #ecf0f1;
}
.bar::after{
  content: '';
  background: #0056b3;
  height: 26px;
  transition: 0.7s;
  display: block;
  width: 100%;
  animation: bar-before 1 2s;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
/* for bar chart animation */
@-webkit-keyframes bar-before{
  0%{
    width: 0px;
  }
  100%{
    width: 100%;
  }
}
/* sizing for each bar */  
.NH-bar1::after{
	max-width: 50.1%;
}
.NH-bar2::after{
  /* background: #757575; */
  background: #cd340e;
  max-width: 48.3%;
}

/* css change for navbar test on artifact page, where brand image changes 
   when scrolling down the page(with sticky top) ... 
   the 2 images called in the JS used on this page already have their opacity baked in */
.no-opacity img {
  opacity: 1;
}


/* start of css for bars that animate once the viewport has scolled to it */
.meter { 
    height: 18px; 
    position: relative;
    max-width: 500px;
    margin: 0 0 5px 0;
    background: #ecf0f1;
	line-height: 26px;
	font-size: .875rem;
	color: white;
	padding: 0;
}

.meter > span {
    display: block;
    height: 100%;
    background-color: #0056b3;
    position: relative;
    overflow: hidden;
}

.home-menu-link {
  color: #0056b3;
  font-size: 1.125rem;
  font-weight: 600;
}

/* some css to force the footer to position at the bottom of viewport */
.section-spacer { 
    min-height: calc(100vh - 295px);
}

/* css to do banner photos in a parallax mode ... does not work well on Apple iOs devices so 
for now, we have decied not to deploy on the site
.parallax-image {
    background-attachment: fixed;
	min-height: 600px;
	background-size: cover;
	background-position: 50% 50%;
}
.parallax-image p {
	padding-top: 300px;
	color: #f1f1f1;
	text-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
	text-align: center;
	font-size: 2.415rem;
}
@media (max-width: 767px) { 
    .parallax-image {
        min-height: 400px;
   }
   .parallax-image p {
        padding-top: 200px;
		font-size: 2rem;
   }
}
.primaries-banner {
    background-image: url("../images/primaries-banner.jpg");
	filter: sepia(70%) hue-rotate(180deg) saturate(2);
	opacity: 95%;
}
 */
.blue-sepia-banner {
	filter: sepia(70%) hue-rotate(180deg) saturate(2);
	opacity: 95%;
}












