/*
Theme Name: August Twenty Two
Text Domain: https://niita.ca
Version: 1.1.0
Description: First customized theme developed by in-house FNHSSM developers
Tags: One Column, Non-Profit
Author: Erin Ringland
Author URI: https://fnhssm.com
*/
 
:root {
  --white: #fff;
  --lightgrey: #98908E;
  --medgrey: #5B4F4B;
  --darkgrey: #1E0700;
  --darkgrey-alt: #1e070062;
  --black: rgb(13, 4, 1);
  --lightblue: #339CE1;
  --medblue: #00568E;
  --darkblue: #003253;
  --lightyellow: #F8DD59;
  --medyellow: #FFBA1B;
  --medred: #A82500;
  --darkred: #550101;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  line-height: 1.15;
  scroll-behavior: smooth;
}

body {
  color: var(--medgrey);
  overflow-x: hidden;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  line-height: 30px;
}

/**************** Links ****************/

a{
  color: var(--medred);
  font-weight: 700;
  font-style: italic;
  text-decoration: none;
}

a:hover{
  color: var(--white);
  background: var(--medred);
  font-weight: 700;
  font-style: italic;
  text-decoration: none;
}

.btn-link {
  font-weight: bold;
  color: var(--black);
  background: var(--medyellow);
  border-radius: 5px;
  padding: 20px;
  line-height: 20px;
  display: block;
  margin: auto;
  font-style: normal;
  font-weight: 700;
  text-align: center;
  max-width: 450px;
}

.btn-link:hover {
  background-color: #003253;
  font-style: normal;
  color: var(--white);
}


/**************** Headers ****************/

h1 {
  font-size: 60px;
  max-width: 940px;
  font-weight: 900;
  margin: auto;
  line-height: 50px;
  color: var(--darkred);
  text-align: center;
}

h2 {
  font-size: 50px;
  text-align: center;
  color: var(--medred);
  font-weight: 400;
}

h3 {
  font-size: 35px;
  text-align: center;
  color: var(--medgrey);
}

h4 {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  color: var(--black);
}

h5 {
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  color: var(--black);
}

/**************** Top Navigation ****************/

nav {
  display: flex;
  align-items: center;
  flex-direction: row;
  width: 100%;
}

.desktop-logo {
  height: 55px;
}

#desktop-nav {
  display: none;
}

#desktop-nav.nav-fixed {
  width: 100%;
  position: fixed;
  transition: 0.3s ease-in-out;
}

.nav-active {
  background-color:#fff;
  box-shadow: 5px -1px 12px -5px grey;
}

.alt-nav {
  background: var(--white);
}

.desktop-nav-container {
  max-width: 1080px;
  margin: auto;
  display: none;
  width: 100%;
  height: 100px;
  align-items: center;
  padding: 0 25px;
}

.links li {
  display: inline-block;
}

.links li a {
  padding: 10px 15px;
  font-style: normal;
  font-weight: 400;
}

.links li a:hover {
  background: none;
  font-style: normal;
  font-weight: 700;
}

.stationary-link a {
  color: var(--white);
}

.stationary-link a:hover {
  border-bottom: 2px solid var(--white);
}

.scroll-link a {
  color: var(--darkblue);
}

.scroll-link a:hover{
  border-bottom: 2px solid var(--darkblue);
}

.mobile-logo {
  height: 40px;
  width: 35px;
  margin: auto;
}

html body header.header nav div#mobileNavigation div.mobile-logo a:hover, body header.header nav div#desktop-nav div.desktop-nav-container a:hover {
  background: none;
}

#mobileNavigation {
  background: linear-gradient(0deg, rgba(241,242,246,1) 0%, rgba(255,255,255,1) 4%, rgba(255,255,255,1) 100%);
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  position: fixed;
  top: 0;
}

.menuBtn {
  width: 29px;
  height: 29px;
}

.menuBtn:hover {
  cursor: pointer;
}

#mobileLinkMenu {
  position: fixed;
  display: none;
  height: 100%;
  width: 100%;
  max-width: 500px;
  background: var(--darkgrey);
  top: 0;
  left: 0;
  padding-top: 10px;
  margin: auto;
  z-index: 10;
}

#mobileLinks {
  width: 90%;
  margin: auto;
}

#menuCloseBtn {
  width: 90%;
  color: var(--white);
  text-align: right;
  font-size: 45px;
}

#menuCloseBtn:hover {
  cursor: pointer;
}

#mobileLinks ul {
  width: 90%;
}

#mobileLinks li {
  width: 90%;
  margin: auto;
  border-bottom: 1px solid var(--medgrey);
  list-style: none;
}

#mobileLinks li a {
  text-decoration: none;
  color: var(--white);
  font-size: 20px;
  display: block;
  padding: 20px;
  width: 100%;
}

#mobileLinks li a:hover {
  background: var(--white);
  color: var(--darkgrey);
}

/***************** General ****************/

.center {
  margin: auto;
}

.none {
  display: none;
}

.container {
  margin: 100px auto;
  max-width: 1080px;
}

.container h2 {
  margin-top: 75px;
}

.container p {
  margin: 50px 0;
}

.wp-block-quote {
  border-left: 5px solid var(--darkred);
  padding-left: 25px;
}

.wp-block-image {
  text-align: center;
}

.responsive {
  width: 100%;
  height: auto;
}

/***************** Main Logo Section ****************/

.logo-wrapper {
  margin: auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.logo-wrapper a:hover {
	background: none;
}

.niita-logo-link {
  display: block;
  max-width: 270px;
  width: 100%;
}

html body div.bottom-nav div.logo-wrapper div.spon-logos a:hover {
	background:none;
}

.niita-logo {
  width: 100%;
}

.spon-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spon-logos img {
  max-width: 200px;
}

/**************** Home Page ****************/

/** Home Page - Header */

.main-header {
  background: var(--darkgrey);
  background: radial-gradient(circle, rgba(117,71,71,1) 0%, rgba(90,44,45,1) 10%, rgba(64,32,37,1) 25%, rgba(13,4,1,1) 45%);
  padding: 125px 15px 100px 15px;
  margin-top: 0px;
  text-align: center;
}

.main-header h1 {
  margin: 20px auto;
  text-align: center;
  color: var(--white);
}

.main-header h2 {
  color: var(--lightgrey);
  line-height: 45px;
  margin-bottom: 20px;
}

html body div.main-wrapper div.main-header a.header-logo-link:hover {
  background: none;
}

.header-logo {
  max-width: 355px;
  width: 100%;
  padding: 0 15px;
}

.top-header h2 {
  color: var(--white);
  margin-top: 50px;
}

.h2-alt {
  margin-top: 25px!important;
}

/** Main Content */

.main-content {
  width: 100%;
  background: var(--black);
  padding: 15px;
  padding-bottom: 100px;
}

.main-content-wrapper {
  background: var(--white);
  max-width: 1063px;
  margin: auto;
  padding: 50px 15px;
}

.main-content-wrapper p {
  max-width: 750px;
  margin: 50px auto 15px auto;
}

/** Pillars of NIITA **/

.main-promises {
  display: flex;
  justify-content: space-evenly;
  align-items: baseline;
  flex-wrap: wrap;
}

.pillar-col {
  max-width: 275px;
  text-align: center;
  margin-top: 35px;
}

.pillar-col h4 {
  color: var(--medred);
  margin: 15px 0;
}

/**************** General Pages ****************/

.page-content {
  width: 95%;
  max-width: 1040px;
  margin: 100px auto 100px auto;
}

.page-content h1 { 
  margin-bottom: 50px;
}

/** General Pages - Meet The Team */

.team-members {
  text-align: center;
}

.team-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  border: 1px solid var(--lightgrey);
  border-radius: 5px;
  padding: 25px;
  margin-bottom: 25px;
  max-width: 1040px;
}

.team-col img {
  max-width: 225px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.team-col h4 {
  margin-bottom: 20px;
  color: var(--medred);
}

.team-col h5 {
  margin-bottom: 20px;
}

.bold-header {
  font-weight: 700;
}

.italic-header {
  font-style: italic;
}

.team-col p {
  text-align: left;
  width: 100%;
}

/** General Pages - Previous Symposiums*/

.prev-symposiums {
  border: 0;
  border-collapse:collapse;
  width: 100%;
  display: block;
}

.prev-symposiums tbody {
  display: block;
  width: 100%;
}

.prev-symposiums tr:first-child {
  margin-bottom: 20px;
  background: var(--darkblue);
}

.prev-symposiums tr {
  width: 100%;
  display: block;
}

.prev-symposiums tr th {
  padding: 5px 0 5px 20px;
  width: 100%;
  display: block;
  color: #fff;
  text-align: left;
}

.prev-symposiums tr th:last-child {
  display: none;
}

.prev-symposiums tr td {
  width: 100%;
  padding: 0 0 5px 20px;
  display: block;
}

.prev-symposiums tr td:last-child {
  padding: 0;
  padding-top: 5px;
  margin-bottom: 20px;
}

/**************** Symposium Templates ****************/

/** General **/

.top-title {
  color: var(--white);
  line-height: 45px;
  padding: 0px 0 25px 0;
}

.logos {
  max-width: 1080px;
  width: 90%;
  margin: auto;
  margin-bottom: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
}

.logos img {
  max-width: 250px;
}

/** Current Symposium ** /

/** Current Symposium - Header **/

.top-header {
  background: var(--darkgrey) url("assets/images/PageBannerImage.png") no-repeat center;
  background-size: cover;
  padding: 50px 0 100px 0;
  margin-top: 50px;
  padding-top: 50px;
  text-align: center;
}

.top-header img{
  max-height: 300px;
}

body div.main-wrapper div.top-header a:hover {
  background: none;
}

.top-header h3 {
  padding-bottom: 25px;
  font-weight: 400;
  color: var(--lightgrey);
}

/** Current Symposium - Countdown **/

.hasCountdown{
  padding: 0;
}

.countdown_row{
  min-width: 290px;
  padding: 0 0px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 15px;
  font-size: 18px;
}

body div.main-wrapper div.top-header div.widget.shailan_CountdownWidget div#shailan-countdown--1_1.shailan-countdown--1.countdown.hasCountdown .countdown_section {
  background: var(--white);
  border-radius: 10px;
  width: 135px;
  height: 160px;
  padding-top: 50px;
}

body div.main-wrapper div.top-header div.widget.shailan_CountdownWidget div#shailan-countdown--1_1.shailan-countdown--1.countdown.hasCountdown .countdown_section .countdown_amount {
  font-size: 75px;
  font-weight: 900;
  color: var(--medred);
}

/** Current Symposium - Themes **/

.themes {
  width: 100%;
  padding: 25px 0 50px 0;
  background: #000;
}

.themes-content {
  margin: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  border-radius: 5px;
  background: var(--white);
  width: 90%;
  padding: 25px 15px;
  max-width: 915px;
  gap: 25px;
}

.themes-main{
  max-width: 380px;
  width: 100%;
}

.themes-content h1 {
  margin: 15px 0 30px 0;
}

.theme-items {
  max-width: 350px;
  width: 80%;
  text-align: center; 
}

.theme-item-section {
  margin-top: 25px;
  display: flex;  
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.theme-item-section h5 {
  color: var(--medred);
  text-align: center;
  font-weight: 700;
}

/** Current Symposium - Main Area **/

.main-area {
  max-width: 930px;
  margin: 100px auto;
  padding: 0 15px;
}

.main-area h1 {
  margin-bottom: 50px;
}

/** Current Symposium - Participants **/

.participants {
  margin-bottom: 100px;
}

.participants-content .container {
  max-width: 800px;
  text-align: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: center;
  margin: auto;
}

.participants-content img {
  max-width: 200px;
}

body div.main-wrapper div.main-area div.participants div.participants-content div.container figure.wp-block-image.size-full a:hover {
  background: none;
}

/** Current Symposium - Sponsorship **/

.sponsorship {
  margin-bottom: 100px;
}

.sponsorship p {
  max-width: 750px;
  margin: 50px auto;
}

/** Current Symposium - Symposium Agenda **/

.agenda-container {
  margin-bottom: 100px;
}

.agenda-section {
  max-width: 950px;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  justify-content: center;
}

.agenda-section h4 {
  margin-bottom: 15px;
}

.agenda-section ul {
  margin: 5px;
  padding-left: 20px;
}

.agenda-col {
  width: 280px;
}

.time {
  width: 100%;
  background: var(--darkblue);
  padding: 3px 0;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  margin-top: 5px;
}

.description {
  padding: 5px;
  color: var(--lightgrey);
}

/** Current Symposium - Previous Symposium **/

.prev-symposium-section {
  margin-bottom: 100px;
  text-align: center;
}

/** Previous Symposium **/

/** Previous Symposium - Overview **/

.overview-section {
  background: var(--white);
  max-width: 840px;
  width: 90%;
  margin: 100px auto 50px auto;
  padding: 25px 15px;
}

.overview-section p {
  margin: 25px 0;
}

body div.main-wrapper div.top-header div.overview-section a.btn-link:hover {
  background: var(--darkblue);
}

/** Previous Symposium - Keynote Speakers **/

html body div.main-wrapper div.main-area a.img-link:hover{
  background: none;
}

/** Previous Symposium - Pictures **/

.symposium-pics {
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  max-width: 1080px;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.symposium-pics img{
  width: auto;
  max-width: 100%;
  max-height: 400px;
}

/**************** Footer ****************/

/** Contact **/

.contact {
  padding: 10px;
  background: var(--darkgrey) url("assets/images/ContactBG.png") no-repeat fixed center;
  background-size: cover;
}

.contactform-outer {
  padding: 10px;
  width: 100%;
  min-width: 290px;
  max-width: 450px;
  background: var(--darkgrey-alt);
  border-radius: 5px;
  margin:auto;
}

.contactform-outer h3 {
  color: var(--white);
  margin: 15px;
}

html body.customize-support div.main-wrapper div#Contact.contact div.contactform-outer div.wp-container-2.wp-block-columns {
  margin-top: 0;
  z-index: 1;
}

html body.customize-support div.main-wrapper div#Contact.contact div.contactform-outer div.wp-container-2.wp-block-columns div.wp-container-1.wp-block-column div#wpforms-39.wpforms-container.wpforms-container-full form#wpforms-form-39.wpforms-validate.wpforms-form div.wpforms-field-container label {
  color: var(--white);
  font-size: 18px;
  padding-bottom: 10px;
}

body div.main-wrapper div#Contact.contact div.contactform-outer div#wpforms-39.wpforms-container.wpforms-container-full.contact-form form#wpforms-form-39.wpforms-validate.wpforms-form.wpforms-ajax-form div.wpforms-field-container div#wpforms-39-field_0-container.wpforms-field.wpforms-field-name div.wpforms-field-row.wpforms-field-medium, html body div.main-wrapper div#Contact.contact div.contactform-outer div#wpforms-39.wpforms-container.wpforms-container-full.contact-form form#wpforms-form-39.wpforms-validate.wpforms-form.wpforms-ajax-form div.wpforms-submit-container {
  position: inherit;
}

body div.main-wrapper div#Contact.contact div#wpforms-39.wpforms-container.wpforms-container-full.contact-form form#wpforms-form-39.wpforms-validate.wpforms-form.wpforms-ajax-form div.wpforms-field-container input {
  border-radius: 5px;
  padding:15px;
}

body div.main-wrapper div#Contact.contact div#wpforms-39.wpforms-container.wpforms-container-full.contact-form form#wpforms-form-39.wpforms-validate.wpforms-form.wpforms-ajax-form div.wpforms-field-container textarea {
  padding:15px;
  border-radius: 5px;
}

body div.main-wrapper div#Contact.contact div#wpforms-39.wpforms-container.wpforms-container-full.contact-form form#wpforms-form-39.wpforms-validate.wpforms-form.wpforms-ajax-form div.wpforms-field-container select {
  border-radius: 5px;
}

html body div#Contact.contact div.contactform-outer div.wp-container-2.wp-block-columns div.wp-container-1.wp-block-column div#wpforms-39.wpforms-container.wpforms-container-full form#wpforms-form-39.wpforms-validate.wpforms-form div.wpforms-submit-container button#wpforms-submit-39.wpforms-submit {
  width: 100%;
  border-radius: 5px;
  background: var(--medred);
  font-size: 18px;
  font-weight: 700;
  border: 0;
  color: var(--white);
  margin-top: 15px;
}

/** Footer Navigation **/

.bottom-nav {
  background: var(--darkgrey);
  width: 100%;
  padding: 25px 0;
}

body div.main-wrapper div.bottom-nav a:hover {
  background: none;
}

.footer-menu ul {
  text-align: center;
  line-height: 35px;
}

.footer-menu li {
  list-style: none;
}

.footer-menu a {
  font-style: normal;
  padding: 10px 15px;
  font-weight: 400;
  color: var(--lightgrey);
}

.footer-menu a:hover{
  color: var(--white);
}

/** Footer Copyright **/

footer {
  background:var(--black);
  text-align: center;
  font-size: 12px;
  color: var(--white);
}

/**************** Media Queries ****************/

@media only screen and (max-width: 600px) {
  .top-header {
    padding-bottom: 35px;
  }
  
  h1 {
    font-size: 40px;
    font-weight: 700;
  }
  
  h2 {
    font-size: 30px;
    font-weight: 400; 
  } 
}

@media only screen and (min-width: 600px) {
  .top-title {
    padding-top: 25px;
    line-height: 70px;
  }

  .logo-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
  }
  
  .themes {
    padding-bottom: 100px;
  }
  .contact {
    padding: 40px 0;
  }

  .contactform-outer{
    padding: 5px 45px 15px 45px;
  }
  
  body div.main-wrapper div#Contact.contact div.contactform-outer div#wpforms-38.wpforms-container.wpforms-container-full.contact-form form#wpforms-form-38.wpforms-validate.wpforms-form.wpforms-ajax-form input{
    max-width: 100%;
  }
  body div.main-wrapper div#Contact.contact div.contactform-outer div#wpforms-38.wpforms-container.wpforms-container-full.contact-form form#wpforms-form-38.wpforms-validate.wpforms-form.wpforms-ajax-form select{
    max-width: 100%;
  }

  body div.main-wrapper div#Contact.contact div.contactform-outer div#wpforms-38.wpforms-container.wpforms-container-full.contact-form form#wpforms-form-38.wpforms-validate.wpforms-form.wpforms-ajax-form div.wpforms-field-container div#wpforms-38-field_0-container.wpforms-field.wpforms-field-name div.wpforms-field-row.wpforms-field-medium {
    max-width: 100%;
  }
  
  .prev-symposiums {
    display: table;
    table-layout: fixed;
    text-align: center;
  }
  
  .prev-symposiums tbody {
    display: table-row-group;
  }
  
  .prev-symposiums tr {
    display:table-row;
  }
  
  .prev-symposiums tr th {
    display:table-cell;
    text-align: center;
  }

  .prev-symposiums tr th:last-child {
    display:table-cell;
  }
  
  .prev-symposiums tr td {
    display:table-cell;
  }
  
  .overview-section {
    padding: 50px;
  }
  .overview-section p {
    margin: 50px 0;
    text-align: left;
  }

  .footer-menu li {
    display: inline-block;
  }
}

@media only screen and (min-width: 890px) {
  #desktop-nav{
    width: 100%;
    height: 200px;
    position: fixed;
    display: flex;
    justify-content: center;
    transition: 0.3s ease-in-out;
  }
  
  .desktop-nav-container {
    display: flex;
    position: fixed;
    justify-content: space-between;
    top: 0;
  }
  
  #mobileNavigation {
    display: none;
  }

  .main-header {
    padding-top: 200px;
  }

  .top-header {
    padding-top: 150px; 
    margin-top: 0;
  }
  
  .page-content{
    margin-top: 150px;
  }

  .theme-item-section {
    flex-wrap: nowrap;
  }

}

@media only screen and (min-width: 975px) {
  .team-col {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    gap: 25px;
  }
  
  .header-group {
    max-width: 215px;
  }
  
  .header-group h4, h5 {
    text-align: left;
    max-width: 350px;
  }
  
  .team-col p {
    max-width: 350px;
  }
}