/* Global Settings */
* {
  box-sizing: border-box;
}

:root {
  --rjb-blue: #0c2364;
  --rjb-green: #32c87b;
  --away-team-grey: #ECECEC;
  --standard-white: whitesmoke;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-feature-settings:'tnum';
  /* font-family: 'Open Sans', sans-serif; */
  margin: 0;
  background-color: var(--away-team-grey);
}



/* Main Grid Layout */
#gridContainer {
  min-height: 100vh;
  margin: 0px;
  padding: 0px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas: 'header'
                       'main'
                       'footer';
}

.main-window {
  margin: 0px;
  padding: 20px;
  min-height: calc(100% - 100);
}

header {
  grid-area: header;
}

main {
  grid-area: main;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 20px;
}

footer {
  grid-area: footer;
  background-color: var(--rjb-blue);
  height: 50px;
  display: flex;
  color: #fff;
  align-items: flex-end;
  justify-content: center;
  font-size: .75rem;
  padding-bottom: 10px;
}

footer span {
  opacity: .8;
}


/* Media Query - tablets*/
@media only screen and (max-width: 1024px) {
  main {
    grid-area: main;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 20px;
  }
}
/* Media Quert - phones*/
@media only screen and (max-width: 699px) {
  main {
    grid-area: main;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px;
  }
}




#sideNav {
  grid-area: sideNav;
  background-color: #5a5c69;
  background-image: linear-gradient(180deg,#5a5c69 10%,#373840 100%);
}

p {
  margin: 0;
}


/* Button Row */
  .buttonRow {
      display: flex;
      flex-direction: row;
      margin: 10px;
      flex-wrap: wrap;
  }
  .buttonRow button {
      font-size: 16px;
      cursor: pointer;
      height: 2.5rem;
      border: none;
      border-radius: 10px;
      color: #fff;
      background: #333;
      outline: none;
      padding: 0.5rem 1.8rem;
      box-shadow: 0 0.3rem rgba(121, 121, 121, 0.65);
      margin: 5px;
  }
  
  .buttonRow button:hover {
      filter: brightness(140%);
  }
  
  .buttonRow button:active, .buttonRow button.pressed {
      transform: translate(0, 0.3rem);
      box-shadow: 0 0.1rem rgba(255,255,255,0.65);
  }



/* ############ */
/* Flex Columns */
/* ############ */
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.col-1 {flex-basis: calc(8.33%);}
.col-2 {flex-basis: calc(16.66%);}
.col-3 {flex-basis: calc(25%);}
.col-4 {flex-basis: calc(33.33%);}
.col-5 {flex-basis: calc(41.66%);}
.col-6 {flex-basis: calc(50%);}
.col-7 {flex-basis: calc(58.33%);}
.col-8 {flex-basis: calc(66.66%);}
.col-9 {flex-basis: calc(75%);}
.col-10 {flex-basis: calc(83.33%);}
.col-11 {flex-basis: calc(91.66%);}
.col-12 {flex-basis: calc(100%);}

.col.child-gap > *:not(:last-child), .col-child-gap > *:not(:last-child) {
  margin-bottom: 20px;
}

    /* Media Query - tablets*/
    @media only screen and (max-width: 1024px) {
      .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
        flex-basis: 50%;
      }
      /* .row {
        flex-direction: column;
      } */
    }
    /* Media Quert - phones*/
    @media only screen and (max-width: 699px) {
      .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
          flex-basis: 100%;
      }
    }


/* ######### */
/* Flex Rows */
/* ######### */

.row {
  display: flex;
  flex-direction: row;
}

.row.child-gap > *:not(:last-child), .row-child-gap > *:not(:last-child) {
  margin-right: 20px;
}



/* Panels */
.panel {
  width: 100%;
  border-radius: 10px;
  background-color: rgba(255,255,255,1);
  box-shadow: 5px 10px 10px rgba(0,0,0,0.2);
  padding: 20px;
  /* margin: 0px 20px 20px 0px; */
}

.panel h1, h2 {
  margin-top: 0px;
}

/* Media Query - tablets*/
@media only screen and (max-width: 1024px) {
  .panel {
    margin: 0px 10px 10px 0px;
  }
  .panel:only-of-type {
    margin: 0px 0px 10px 0px;
  }
}
/* Media Quert - phones*/
@media only screen and (max-width: 699px) {
  .panel {
    margin: 0px 0px 10px 0px;
  }
}

.insetCard {
  padding: 5px;
  border-radius: 10px;
  box-shadow: 5px 10px 10px rgba(0,0,0,0.2);
  border: 1px solid rgb(230,230,230);
}

.insetCard h3 {
  background-color: var(--rjb-green);
  text-align: center;
  margin: -5px -5px 5px -5px;
  padding: 10px;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}