/* Helper CSS */

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

}

.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);
    color: white;
}

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

.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;
    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);
}

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

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

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

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

/* .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;
}

.event{
  background-color: rgba(255, 255, 255, .55);
  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);
}

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

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

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 */
.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;
}

.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;
}

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

.socialMediaBar__icon:hover {
    opacity: 1;
}

/* Footer */
#footContainer a {color: rgb(89, 161, 241); text-decoration:none;} */
#footContainer a:hover { text-decoration:underline; }
#footContainer {
  position:relative;
  margin-right:auto;
  margin-bottom:0;
  margin-left:auto;
  margin-top: 0;
  width:100%;
  clear:both;
  z-index:1000;
  padding: 20px 0px;
}
#footMain {
  max-width:964px;
  margin-bottom:0;    
  margin-left:auto;
  margin-right:auto;
  z-index:1001;
  }
#footer { 
  text-align:center;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color:#111;
  z-index:1002;
  border-top: none;
  margin: 0;
  padding: 0;
}
.footerLink {
  text-align: left;
  padding: 20px 10px 20px 20px;
}
.footerLink a{
  color: #9b9b9b;
}
.footerLink a:link {
  text-decoration: none;
  font-size: 100%;
  color: #9b9b9b;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: bold;
  padding: 8px 8px 9px 8px;
  display: block;
  transition: color .35s;
}
.footerLink a:visited {color: #9b9b9b;font-family: 'Open Sans', Arial, Helvetica, sans-serif;font-weight:bold;}
.footerLink a:hover{color: #c5c5c5;font-family: 'Open Sans', Helvetica, sans-serif;font-weight:bold;}

.footerBox {
  padding: 20px 0px 20px 28px;
  text-align: left;
  color: #c5c5c5;
}

.footerBoxTitle {
  padding: 8px 0px;
  font-weight: bold;
  text-align: left;
  color: #9b9b9b;
}

.floatLeft {
  float: left;
}

.clear {
  clear: both;
}

.clear:after {
    clear: both;
    content: "";
    display: table;
}
