/* Template Core Styles */
  body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--light) var(--page-image);
    color: var(--demolay-blue);
    font-size: 1.1em;
    line-height: 1.5;
    text-align: center;
  }

  a {
    text-decoration: none;
  }

  /* __Header Container___________________________ */
  .header-bar {
    background-color: rgba(37, 45, 70, 1.0);
    color: #FFF;
    padding: 10px;
    height: 80px;
    display: grid;
    grid-template-columns: 1fr 1.30fr 1.30fr;
    grid-template-rows: 25px 20px 35px;
    grid-auto-flow: row;
  }

  .head-logo {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 100%;
    height: 100%;
    text-align: left;
    align-self: center;
  }

  .head-members {
    grid-column: 2 / span 3;
    grid-row: 1;
    width: 100%
    height: 100%;
    padding-right: 15px;
    text-align: right;
    align-self: top;
    color: var(--light);
  }

  .head-members img {
    height: 25px;
    padding-left: 5px;
  }

  .head-member form {
    display: inline;
  }

  .head-menu {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.5em;
    grid-column: 2 / span 3;
    grid-row: 3;
    width: 100%
    height: 100%;
    text-align: center;
    align-self: end;
  }

  .head-menu ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    background-color: rgba(37, 45, 70, 1.0);
  }

  .head-menu li {
    float: left;
  }

  .head-menu li a {
    display: block;
    color: white;
    text-align: center;
    padding: 7px 15px;
    text-decoration: none;
  }

  .head-menu li a:hover:not(.active) {
    background-color: rgb(79, 97, 150);
    border-radius: 10px;
  }

  .head-menu .active {
    background-color: rgb(62, 75, 117);
  }

  .maincontainer {
    width: 100%;
    height: 100%;
    text-align: center;
    align-items: center;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(45%,1fr));
    grid-column-gap: 5px;
  }

  .container {
    width: 100%;
    height: 100%;
    text-align: center;
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-column-gap: 5px;
  }

  .heading {
    grid-column: 1 / span 6;
    width: 100%;
  }

  .headingIMG {
    width: 99.5%;
    height: auto;
    border-style: ridge;
    object-fit: st;
    box-shadow: var(--shadow);
    text-align: justify;
    align-items: center;
    justify-self: center;
  }

  .calendar {
    grid-column: 1 / span 6;
    width: 100%;
  }

  .stripIMG {
    width: 100%;
    height: 75px;
    margin-top: 2px;
    border-style: fill;
    object-fit: cover;
    box-shadow: var(--shadow);
    text-align: justify;
    align-items: center;
    justify-self: center;
  }

  .emblem {
    height: auto;
    float: left;
    shape-outside: url("../img/Emblem.png");
    shape-image-threshold: 0.2;
    shape-margin: 15px;
  }

  .mainsub-panels {
    vertical-align: top;
    height: 95%;
    background-image: var(--bg-paper);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--light);
    border: 1px solid var(--primary);
    box-shadow: var(--shadow);
    border-radius: 25px;
    display: inline-block;
    text-align: justify;
    align-items: center;
    justify-self: center;
    padding: 0 20px 20px;
    font-size: 1.5vw;
    color: var(--dark);
    margin: 25px;
  }

  .mainsub-panels h3 {
    width: 100%;
    font-size: 18px;
    padding: 5px;
    background-color: var(--demolay-blue);
    color: var(--light);
    text-align: center;
    box-shadow: var(--shadow);
    opacity: 0.8;
  }

  .justified {
    grid-column: span 3;
    vertical-align: top;
    height: 95%;
    background-image: var(--bg-paper);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--light);
    border: 1px solid var(--primary);
    box-shadow: var(--shadow);
    border-radius: 25px;
    display: inline-block;
    text-align: justify;
    align-items: center;
    justify-self: center;
    padding: 0 20px 20px;
    font-size: 1.5vw;
    color: var(--dark);
    margin: 25px;
  }

  .center {
    width: 75%;
    margin-left: auto ;
    margin-right: auto ;
  }

  .sub-panels {
    grid-column: 2 / span 5;
    width: 90%;
    background-image: var(--bg-paper);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--light);
    border: 1px solid var(--primary);
    box-shadow: var(--shadow);
    border-radius: 25px;
    display: inline-block;
    text-align: justify;
    align-items: center;
    justify-self: center;
    padding: 0 20px 20px;
    font-size: 1.5vw;
    color: var(--dark);
    margin: 0 25px 25px 25px;
  }

  .sub-panels h2 {
    border-bottom: 1px inset var(--background);
    width: 100%;
  }

  .sub-panels .demolay-int {
    float: right;
    shape-outside: url("../img/DeMolayInt.png");
    shape-image-threshold: 0.2;
    shape-margin: 15px;
    margin: 15px;
  }

  .sub-panels .demolay-crown {
    float: right;
    shape-outside: url("../img/DeMolayCrown.png");
    shape-image-threshold: 0.2;
    shape-margin: 15px;
    margin: 15px;
  }

  .sub-panels .demolay-self {
    float: right;
    margin: 15px;
    border: 1px solid var(--background);
  }

  .sub-panels .demolay-frank {
    float: right;
    shape-outside: url("../img/frank-s-land.png");
    shape-image-threshold: 0.2;
    shape-margin: 15px;
    margin: 15px;
  }

  .sub-table {
    text-align: left;
  }

  .sub-table .info img {
     width: 100px;
     height: 125px;
     border: 1px solid var(--primary);
     box-shadow: var(--shadow);
  }

  .sub-table th {
    width: 300px;
    text-align: center;
    font-style: italic;
    border-radius: 15px 15px 0px 0px;
    box-shadow: var(--shadow);
  }

  .sub-table .title {
    background-color: var(--medium);
    color: var(--light);
    border-collapse: collapse;
  }

  .sub-table .info td {
    padding-left: 15px;
  }

  .sub-table .info:nth-child(even) {
    background-color: #f2f2f2;
  }

  .sub-table .info:nth-child(odd) {
    background-color: #fff;
  }

  .side-menu {
    font-family: "Times New Roman", Times, serif;
    grid-column: 1;
    vertical-align: initial;
    width: 225px;
    height: 100%;
    font-size: 0.8em;
  }

  .side-menu h3 {
    background-color: var(--demolay-blue);
    color: white;
    padding: 10px;
    margin: 0px;
    text-align: center;
  }

  .side-menu a {
    background-color: var(--gray);
    color: black;
    display: block;
    padding: 10px;
    text-decoration: none;
    text-align: right;
    font-weight: bold;
    border-bottom: 1px solid var(--demolay-blue);
  }

  .side-menu a:hover {
    background-color: var(--background);
  }

  .side-menu a.active {
    background-color: var(--primary);
    color: rgb(51, 51, 255);
  }



  /* __Signup Form Container___________________________ */

.wrapper-main {
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup-form {
  background-color: rgba(224, 230, 235, 0.3);
  width: 50%;
  margin: 0px 0px 0px 0px;
  padding: 5px 5px 5px 5px;
  border: 1px solid rgb(208, 218, 225);

}

.signup-form h1 {
  color: var(--demolay-blue);
}

.signup-form p {
  padding: 15px;
  color: rgba(162, 180, 195, 1);
}

.signup-form hr {
  border: 1px solid rgb(224, 230, 235);
}

.signup-form input {
  width: 90%;
  border-top: 0px;
  border-left: 0px;
  border-right: 0px;
  border-bottom: 1px solid rgba(93.3, 93.3, 93.3, 0.1);
  font-size: 13px;
  font-weight: 300;
  color: var(--demolay-blue);
  letter-spacing: 0.11em;
  padding: 5px;
}

.signup-form input::placeholder {
  color: rgba(93.3, 93.3, 93.3, 0.5);
  font-size: 10px;
}

.signup-form input:focus {
  outline: 0;
  border-bottom: 1px solid rgba(37, 45, 70, 0.7);
  transition: 0.6s all ease;
}


.signup-form input[type=submit] {
  background-color: rgba(162, 180, 195, 1);
  color: var(--light);
  padding: 5px 5px 5px 5px;
  margin: 4px 2px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  border-radius: 25px;
}






/* __Contact Information________________________ */
  .information {
    background: var(--demolay-blue);
    border: 1px solid var(--primary);
    box-shadow: var(--shadow);
    color: rgb(128, 159, 255);
    width: 100%;
    margin: 0px;
  }

  .information a {
    color: rgb(128, 159, 255);
  }

  .information ul {
    display: inline-block;
    text-decoration: none;
    list-style-type: none;
  }

  .information ul li {
    display: inline-block;
    font-size: 13px;
    font-style: italic;
    text-transform: uppercase;
    padding: 0 2em;
  }

  .information ul li img{
    height: 25px;
    width: 25px;
  }

/* __DeMolay Chapter____________________________ */
.chapterinfo {
  grid-column: 1;
}

.chapterlogo {
  grid-column: 2 / span 6;
  width: 100%;
}

/* __Footer Information________________________ */
.footer {
  background: var(--medium);
  border: 1px solid var(--primary);
  box-shadow: var(--shadow);
  width: 100%;
  margin: 20px 0;
}

.footer p {
  color: rgb(204, 204, 204);
  font-size: 10px;
}


@media only screen and (max-width: 700px) {
    .page-container {
      max-width: none;
      width: auto;
      padding: 0;
      margin: 0;
    }

    header {
      width: auto;
      height: auto;
    }

    img {
      width: 50%;
      height: auto;
    }

    .maincontainer {
      grid-template-columns: 1fr;
    }

    .mainsub-panels {
      font-size: 3vw;
    }
