/* Helper CSS */

.options__radio::before {
    display: none;
}

:root {
    --primary-color: #333333;
    --secondary-color: #00a9cc;
    --tertiary-color: #771e7e;
    --quadrary-color:  #e6853f;

}

html,body
{
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
}

.body {
  background-color: #fff !important;
}

html {
  background-color: #fff !important;
}

.titleUnderline--orange{
  border-color: #e6853f;
}

.titleUnderline--blue{
  border-color: #00a9cc;
}

.titleUnderline--red{
  border-color: #c41230;
}

.titleUnderline--purple {
  border-color: #771e7e;
}

.text-decoration-fix, .text-decoration-fix:hover{
    color: white;
    text-decoration: none;
}


body, p{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

.commission{
  padding-bottom: 1em;
  flex-direction: column;
  align-items: center;
}

.commission-text{
padding-top: 0.5em;
max-width: 400px;
text-align: center;
font-size: xx-small;
}

#commission-img{
  max-width: 90%;
}

.header{
    /* background-color: var(--primary-color);*/
    background-color: #fff;
}

.header-top{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 1.5em;
    flex-basis: auto;
    /* overflow: hidden; */
}

.responsive-image {
  max-width: 100%;
  height: auto;
}

.header-logo{
    flex: 1;
    margin-bottom: 2em;
    box-sizing: border-box;
}

.header-nav{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin: auto;
	margin-bottom: auto;
    gap: 10px;
}

.header-message{
  width: 70%;
}

.header-nav-margin > a{
    position: relative;
    margin: 0 1em;
}

.header-nav > a::before{

    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.25s ease-in-out 0s;
  
}

#sponsors-nav::before{
  background-color: var(--tertiary-color);
}

#browse-nav::before{
  background-color: var(--quadrary-color);
}

#home-nav::before{
  background-color: var(--quadrary-color);
}

#projects-nav::before{
  background-color: var(--secondary-color);
}

.header-nav > a:hover::before{
  visibility: visible;
  transform: scaleX(1);
}

.nav-link-yellow {
  font-weight: bold;
  font-size: 20px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  padding: 20px 0px !important;
  margin: 0px 20px;
  display: inline-block !important;
  position: relative;
  opacity: 0.75;
}

.nav-link-yellow:hover {
  opacity: 1;
  color: white !important;
  text-decoration: none; 
}

.nav-link-yellow::before {
  transition: 300ms;
  height: 5px;
  content: "";
  position: absolute;
  background-color: #eeb111;
}

.nav-link-primary {
  font-weight: bold;
  font-size: 20px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  padding: 20px 0px !important;
  margin: 0px 20px;
  display: inline-block !important;
  position: relative;
  opacity: 0.75;
}

.nav-link-primary:hover {
  opacity: 1;
  color: white !important;
  text-decoration: none; 
}

.nav-link-primary::before {
  transition: 300ms;
  height: 5px;
  content: "";
  position: absolute;
  background-color: #bc0b36;
}

.nav-link-quadrary {
  font-weight: bold;
  font-size: 20px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  padding: 20px 0px !important;
  margin: 0px 20px;
  display: inline-block !important;
  position: relative;
  opacity: 0.75;
}

.nav-link-quadrary:hover {
  opacity: 1;
  color: white !important;
  text-decoration: none; 
}

.nav-link-quadrary::before {
  transition: 300ms;
  height: 5px;
  content: "";
  position: absolute;
  background-color: #e6853f;
}

.nav-link-tertiary {
  font-weight: bold;
  font-size: 20px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  padding: 20px 0px !important;
  margin: 0px 20px;
  display: inline-block !important;
  position: relative;
  opacity: 0.75;
}

.nav-link-tertiary:hover {
  opacity: 1;
  color: white !important;
  text-decoration: none; 
}

.nav-link-tertiary::before {
  transition: 300ms;
  height: 5px;
  content: "";
  position: absolute;
  background-color: #771e7e;
}

.nav-link-secondary {
  font-weight: bold;
  font-size: 20px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  padding: 20px 0px !important;
  margin: 0px 20px;
  display: inline-block !important;
  position: relative;
  opacity: 0.75;
}

.nav-link-secondary:hover {
  opacity: 1;
  color: white !important;
  text-decoration: none; 
}

.nav-link-secondary::before {
  transition: 300ms;
  height: 5px;
  content: "";
  position: absolute;
  background-color: #00a9cc;
}

.nav-link-ltr::before {
  width: 0%;
  bottom: 10px;
}

.nav-link-ltr:hover::before {
  width: 100%;
}

.nav-link-ltr::before {
  width: 0%;
  bottom: 10px;
}

.nav-link-ltr:hover::before {
  width: 100%;
}




/* Hamburger */
#menu__toggle {
  opacity: 0;
}
#menu__toggle:checked + .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked + .menu__btn > span::before {
  top: 0;
  transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  left: 0 !important;
}
.menu__btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  cursor: pointer;
  z-index: 1;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition-duration: .25s;
}
.menu__btn > span::before {
  content: '';
  top: -8px;
}
.menu__btn > span::after {
  content: '';
  top: 8px;
}
.menu__box {
  display: block;
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100%;
  margin: 0;
  padding: 80px 0;
  list-style: none;
  background-color: #ECEFF1;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
  transition-duration: .25s;
  z-index: 0;
}
.menu__item {
  display: block;
  padding: 12px 24px;
  color: #333;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition-duration: .25s;
}
.menu__item:hover {
  background-color: #CFD8DC;
}

/* .header */

.center-flex{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.section{
  padding: 2.25em 2.5em;
}

.sponsor-logo-container{
  flex-basis: 25em;
}

.indv-logo-container{
  margin-bottom: 2em;
}

.sponsor-logo-fit{
  width: 100%;
}

.sponsor-text{
  overflow: hidden;
  color: white;
  font-size: large;
}

.section-title{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    text-align: center;
    padding-bottom: 2rem;
    height: 100%;
}

.subheader{
  font-weight: bold;
  font-size: 16px;
}

.about{
    background-color: var(--tertiary-color);
    color: white;
}

.section-content{
  text-align: center;
  padding-bottom: 1.5em;
  max-width: 100%;
}

.section-content:nth-of-type(p){
  padding: 1em 0em;
}

.news{
    background-color: var(--secondary-color);
    color: white;
}

.color-link{
  color: black;
}

.events-section{
/*    background-color: var(--quadrary-color);*/
}

.sponsors-section{
  background-color: var(--tertiary-color);
  color: white;
}

.partners-section{
  background-color: var(--quadrary-color);
}

.event, .news-story{
  font-size: 18px;
  padding: 1rem 1.5rem;
  /* width: 30%; */
  flex-basis: 300px;
  border: 2px black solid;
  
}

.event{
 background-color: antiquewhite;
  margin: 0.5rem;
  border-radius: 0.5rem;
}

.news-story, .news-story:active{
  color: white;
  text-decoration: none;
  outline: none;
}

.news-blob{
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .40);
  /* opacity: 75%; */
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
}

.events-wrapper, .news-wrapper{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  text-align: left;
}

#events-extended, #news-extended{
  display: none;
}

.footer{
    background-color: var(--primary-color);
    color: white;
}

.more-button{
  margin-top: 2em;
}

@media (min-width: 1120px){
  #constitution-button{
    margin-right: 1em;
  }
}

/* .const-buttons{
  gap: 1em;
} */

#history-button{
  background-color: var(--secondary-color);
}

#constitution-button{
  background-color: var(--tertiary-color);
}

#home-button{
  background-color: var(--tertiary-color);
}

#news-button{
  background-color: var(--quadrary-color);
}

.text-white {
  color: white;
}

.project-image {
  width: 260px;
}

button {
  display: inline-block;
  border: none;
  border-radius: 1rem;
  padding: 1rem 2rem;
  margin: 0;
  text-decoration: none;
  background: #0069ed;
  color: #ffffff;
  font-family: sans-serif;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  transition: background 250ms ease-in-out, 
              transform 150ms ease;
  -webkit-appearance: none;
  -moz-appearance: none;
}

button:hover,
button:focus {
  background: #0053ba;
}

button:focus {
  outline: 1px solid #fff;
  outline-offset: -4px;
}

button:active {
  transform: scale(0.99);
}

/* JUNK */
.const_socialMediaBar {
    max-width: 964px;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 1001;
    text-align: center;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.const_socialMediaBar-wrapper {
    position: relative;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    width: 100%;
    clear: both;
    z-index: 1000;
    padding: 1rem 0 0 0;
}

.const_socialMediaBar__icon {
    height: 3rem;
    width: 3rem;
    padding: 0 0.5rem;
    opacity: 0.5;
    transition: opacity 0.1s linear;
    cursor: pointer;
}

.const_socialMediaBar__icon:hover {
    opacity: 1;
}

/* Image Hover Effect */
.img__wrap {
  position: relative;
  width: 300px;
  height: 300px;
}
.img__constitution {
  width: 300px;
  height: 300px;
}

.img__description_layer {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.9);
color: #fff !important;
visibility: hidden;
opacity: 0;
display: flex;
align-items: center;
justify-content: center;
transition: opacity .2s, visibility .2s;
}

.img__wrap:hover .img__description_layer {
visibility: visible;
opacity: 1;
}

.img__description {
transition: .2s;
transform: translateY(1em);
color: #fff;
}

.img__wrap:hover .img__description {
transform: translateY(0);
}

/* Browse Styles */
.browse__constitution{
  max-width: 250px;
}

.container-fluid {
  padding: 0 !important;
}
.text-white {
  color: white;
}

.header::after {
	content: ""; 
	display: block; 
	width: 100%; 
	height: 100%; 
	background-color: #333; 
	position: absolute; 
	top: 0; 
	left: 0; 
	opacity: .7; 
	z-index: 0; 
}

.header {
	position: relative;
}

.header > * {
	z-index: 10;
	position: relative;
}

.header {
  background-image: url("https://old.lva.virginia.gov/constitutions/resources/img/1776_Constitution_HighRes.png");
  background-position: 50% 15%;;
  padding: 5vh 0;
  color: inherit;
}

.parallax {
  background-image: url("http://www.touro.edu/media/touro-college/content-assets/images/mosaic/general/Constitutionpreamble.jpg");
  min-height: 300px; 
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax-1971 {
  background-image: url("https://old.lva.virginia.gov/constitutions/resources/img/1971_Constitution_HighRes.png");
  min-height: 300px; 
  background-attachment: fixed;
  background-position: top -25%;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax-1902 {
  background-image: url("https://old.lva.virginia.gov/constitutions/resources/img/1902_Constitution_HighRes.png");
  min-height: 300px; 
  background-attachment: fixed;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax-1868 {
  background-image: url("https://old.lva.virginia.gov/constitutions/resources/img/1868_Constitution_HighRes.png");
  min-height: 300px; 
  background-attachment: fixed;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax-1776 {
  background-image: url("https://old.lva.virginia.gov/constitutions/resources/img/1776_Constitution_HighRes.png");
  min-height: 300px; 
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.overlay {
  padding: 5vh 0;
  color: inherit;
}

.overlay::after {
	content: ""; 
	display: block; 
	width: 100%; 
	height: 100%; 
	background-color: #333; 
	position: absolute; 
	top: 0; 
	left: 0; 
	opacity: .7; 
	z-index: 0; 
}

.overlay {
	position: relative;
}

.overlay > * {
	z-index: 10;
	position: relative;
}

.introduction {
padding: 50px;
}

.center-image {
display: block;
margin: auto; 
}

.img-border {
border: 5px solid #555;
}





