/* Color Scheme */
.color-1{
  background: #03243c;
  color: white;
}
.color-2{
  background: #0072bc;
  color: white;
}
.color-3{
  background: white;
  color: #444;
}
/* CT Reset */
html{
  font-family: 'Raleway';
  font-family: 'Lato';
  background: #03243c;
}
body{
  margin: 0;
  max-width: 100%;
  width: 100vw;
  min-height: 100vh;
  animation: 0.8s backwards ease-in fadeIn;
}
@keyframes fadeIn {
  from{opacity: 0;}
}
.page-fade-out{
  animation: 0.8s forwards ease-out fadeOut;
}
@keyframes fadeOut {
  50%{opacity: 0;}
  80%{opacity: 0;}
  100%{opacity: 1;}
}
#content{
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
}
div, header, footer, section, article{
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: stretch;
  box-sizing: border-box;
}
p, section li{
  max-width: 35em;
}
/* Simple Classes */
.bold{
  font-weight: bold;
}
.italic{
    font-style: italic;
}
.center{
  text-align: center;
}
img.full-width{
  width: 100%;
  align-self: center;
}
a.inherit{
  color: inherit;
}
/*call-button*/
.call-button{
  border-radius: 10px;
  display: block;
  padding: 1em;
  background: #0072bc;
  text-decoration: none;
  transition-duration: 0.4s;
  color: white;
  margin: 1rem;
}
/**/
.cta{
  align-items: center;
  padding: 1rem;
  text-align: center;
  align-self: stretch;
}
.cta .row{
  align-self: stretch;
justify-content: center;
}
.cta .row a{
  color: white;
  flex: 0 1 12em;
  text-align: center;
  font-weight: normal;
}
/* Nav */
nav ul{
  list-style-type: none;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    align-items: stretch;
    padding: 0;
    margin: 0;
}
nav a{
  text-decoration: none;
  letter-spacing: normal;
}
nav.header{
  padding: 0; /*was 0 2rem*/
}
nav.header li{
  padding: 0;
  flex: 1;
  text-align: center;
  transition-duration: 0.4s;
  display: flex;
}
nav.header li:hover{
  background: #0072bc;
}
nav.header a{
  color: white;
  flex-grow: 1;
  padding: 1em;
}
nav.footer {
    border-top: 1px solid #a9b0bd;
    border-bottom: 1px solid #a9b0bd;
}
  nav.footer ul {
    flex-flow: column nowrap;
    align-items: center;
  }

nav.footer li{
  margin: 1rem;
}
nav.footer a{
  font-size: 1.6rem;
  padding: 1em 0;
}
@media (min-width: 900px){
  nav.footer ul {
    flex-flow: row nowrap;
    font-size: 1rem;
  }
  nav.footer a{
    font-size: 1rem;
  }
}

@media (min-width: 901px) {
#menu-button, #close-menu{display: none;}
}

@media (max-width:900px) {
      nav.header{
        position: fixed;
        left: 0;
        top: -100%;
        width: 100%;
        height: 100%;
        z-index: 11;
        box-sizing: border-box;
      }
      nav.header ul{
        flex-flow: column nowrap;
        height: 87.5%;
      }
      nav.header li, #close-menu{
        text-align: center;
        padding: 0.25rem;
        display: flex;
        align-items: stretch;
        justify-content: center;
        flex-flow: column;
      }
      nav.header a, #close-menu{
        font-size: 5vmin;
        border: 1px solid white;
        padding: 0.75rem;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      #close-menu{
        padding: 1rem;
      }
      #menu-button{
        text-align: center;
        margin: 0;
        padding: 1em;
      }
      #menu{
          transition-duration: 0.4s;
          overflow: hidden;
      }
      #menu.show{
        transform: translateY(100%);
      }
      #close-menu{
          margin: 0.25rem;
          text-transform: uppercase;
          font-size: 3vmin;
      }
}

@media (max-width: 900px) and (orientation: landscape) {
nav.header ul{
flex-flow: row wrap;
height: 80%;
}
nav.header li{
flex: 1 1 40vw;
}
nav.header li:first-child{
flex: 1 1 80vw;
}
}

header{
  min-height: 600px;
  background: no-repeat center/cover url('http://www.badmoodtaylor.com/archives/donald/img/chicago-river-1800.jpg');
  overflow: hidden;
}
header .black-overlay{
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: stretch;
}
.header-left{
  flex: 1 0 auto;
      background: #0072bc;
  transform-origin: 0 0;
}

@keyframes slideInLtoR {
  from{
  transform: translateX(-105%);
    /*  transform: rotateY(-90deg);*/
  }
}
@keyframes slideInRtoL {
  from{
  transform: translateX(105%);
    /*  transform: rotateY(-90deg);*/
  }
}
.header-left img{
  width: 100%;
}
.header-right{
  justify-content: flex-end;
  align-items: center;
  flex-grow: 1;
  background: no-repeat center/cover url('http://www.badmoodtaylor.com/archives/donald/img/chicago-river-1800.jpg');
  padding: 3rem;
}
h1{
  margin: 0;
  padding: 0.25em;
  text-align: center;
}
header h2{
  color: white;
  text-shadow: 0.04em 0.04em 2px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.05em;
  word-spacing: 0.1em;
  font-size: 1.5rem;
  text-align: center;
}
@keyframes fadeAcross {
  from{
    opacity: 0;
    transform: translate(-4em, -2em);
  }
  50%{opacity: 1;}
  to{
    opacity: 1;
    transform: translate(1em, -2em);
  }
}
.address p, .address h4{
  margin: 0.25rem 0;
}

@media (max-width: 900px) {
  header .black-overlay{
    flex-flow: column-reverse nowrap;
  }
  .header-right{
      padding: 0;
      align-items: stretch;
  }
  header h2{
    background: rgba(0, 0, 0, 0.4);
    flex: 1 1 auto;
    margin: 0;
    padding: 3em 1em;
  }
}


@media (min-width: 901px) {
  .header-left{
    flex: 0 0 auto;
    animation: 1s 0.8s backwards slideInLtoR;
  }
  header h2{
    color: white;
    animation: 4s 0.8s ease-in-out both fadeAcross;
    font-size: 2.5vw;
    text-shadow: 0.04em 0.04em 2px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.05em;
    word-spacing: 0.1em;
  }
  header.small h2{
      animation: 4s 0.8s ease-in-out both fadeAcross2;
  }
  .header-right{
    background: none;
  }
}

@media (max-width: 400px) {
header .address{
font-size: 0.6rem;
}
}


.black-overlay{
  background: rgba(0, 0, 0, 0.3);
  flex: 1 1 auto;
}

header .img-holder{
  align-self: stretch;
}
@media screen and (max-width: 900px) {
  header{
    min-height: inherit;
  }
  .header-left{
    flex-flow: row wrap;
    justify-content: center;
  }
  header .img-holder{
    margin: 1rem;
    height: 100px;
    width: 100px;
    border-radius: 50%;
    overflow: hidden;
    align-self: center;
  }
}
header .address-holder{
  align-self: center;
  font-size: 0.8em;
}

section.opening-section{
  align-items: center;
  padding: 2em;
}
@media screen and (max-width: 600px) {
  section.opening-section h2{
    font-size: 8vw;
    text-align: center;
  }
  section.opening-section h3{
    font-size: 5vw;
    text-align: center;
  }
  section.opening-section p{
    font-size: 1rem;
  }

}

section{

}
.section-holder a{
  text-decoration: none;
  color: #0072bc;
  font-weight: bold;
}

.section-holder{
    flex-flow: row wrap;
    justify-content: center;
    align-items: stretch;

}
.section-holder section{
  margin: 2em;
  border: 2px dashed #eee;
  padding: 2rem;
  max-width: 100%;
  font-size: 0.8em;
}
@media screen and (min-width: 1300px) {
  .section-holder section{
    flex: 0 1 21vw;
  }
}
.section-holder .row{
  flex-flow: row wrap;
}

@media screen and (max-width: 400px) {
  .section-holder section{
    margin: 1em 0.25rem;
    padding: 1rem;
    border-left: none;
    border-right: none;
  }
}

        .section-holder section h2{
          align-self: center;
          text-align: center;
        }
.img-icon-holder{
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  align-self: center;
  margin-bottom: 1rem;
}
        .img-icon-holder img{
          width: 100%;
        }

@media (max-width: 375px) {
h1{
font-size: 8.1vw;
}
}

p.fill{
flex: 1 1 auto;
display: flex;
justify-content: flex-start;
align-items: flex-end;
}
@media (max-width: 500px) {
p.fill{
justify-content: center;
}

}
section p, section li {
font-size: 1.4em;
max-width: 50em;
}
section h2{
font-size: 2.4em;
}
section h3{
font-size: 1.4em;
max-width: 25em;
}

/* Footer */
footer{
    padding: 3rem;
}
@media (max-width: 400px) {
    footer{
      padding: 15px;
    }
}
footer a, .address a{
  color: white;
}
footer .row{
  flex-flow: row wrap;
  justify-content: space-between;
}
.address, .about, .in-the-news{
  padding: 1rem;
  letter-spacing: normal;
}
footer p, footer h3, footer h4{
    margin: 0.25rem 0;
}
.address > p{
      font-style: italic;
}

.social{
  padding: 3rem;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  order: 2;
  flex: 1 1 auto;
}
@media (min-width: 1050px) {
    .social{
      order: 0;
    }
}
.social img{
  max-width: 50px;
}
.social a{
  margin: 1rem;
}

img.yelp-badge{
  background: white;
  border-radius: 5px;
  width: 45px;
}
.row div{

}

.in-the-news h4{

}

.copyright{
  padding: 2rem;
  align-items: center;
  font-size: 0.8rem;
  margin-top: 3rem;
}

/**/

.line-break{
  width: 90%;
  margin: 1em 5%;
  height: 4px;
  border-top: 4px dotted #0072bc;

}
    header.small{
      min-height: auto;
    }
    @media screen and (min-width: 901px) {
      header.small .black-overlay{
        flex-flow: row-reverse;
      }
    }

    header.small .header-left{
      flex-flow: row wrap;
      align-items: center;
      padding: 1rem;
    }
    @media screen and (min-width:901px) {
     header.small  .header-left{
              animation: 1s 0.4s ease-out backwards slideInRtoL;
            }
    }
    header.small .img-holder{
      margin: 1rem;
      height: 100px;
      width: 100px;
      border-radius: 50%;
      overflow: hidden;
      align-self: center;
    }
    header.small .address-holder{
      align-self: center;
    }

    @keyframes fadeAcross2 {
      from{
        opacity: 0;
        transform: translate(-2em, -1em);
      }
      50%{opacity: 1;}
      to{
        opacity: 1;
        transform: translate(1em, 0em);
      }
    }
    section.opening-section-2{
    position: relative;
      padding: 4rem;
    }
    section.opening-section-2 h2, section.opening-section-2 h3{
      position: relative;
      z-index: 3;
      text-shadow: 0.04em 0.08em 2px rgba(0, 0, 0, 0.8);
      letter-spacing: 0.04em;
      word-spacing: 0.1em;
      max-width: none;
      text-align: center;
    }
    section.opening-section-2::after{
      content: "";
      position: absolute;
      width: 100%; height: 100%;
      top: 0; left: 0;
      z-index: 2;
      background: rgba(0, 0, 0, 0.5);
    }
    section li{
      margin-bottom: 0.5em;
    }
    .section-holder-2 section{
      flex: 0 0 auto;
    }

    @media screen and (min-width: 1300px){
              ul.flex{
                display: flex;
                flex-flow: row nowrap;
                justify-content: space-around;
                align-items: stretch;
                padding: 0;
                list-style-type: none;
              }
              ul.flex > li{
                margin: 1em;
                padding: 1em;
                background: #f7f7f7;
              }
              ul.flex li h4{
                text-align: center;

              }
              .section-holder-2 section h3{
                align-self: center;
                text-align: center;
              }
              .section-holder-2 section > p{
                align-self: center;
                max-width: 35em;
              }
              ul.center-adjust{
                align-self: center;
                padding: 0;
              }
    }
    li h5{
      margin: 0.75em -0.25em;
    }
    .section-holder-2 h3{
      font-size: 1.8em;
    }


    /* video page  */

    /* video size */
      .video-container-1 video{
        height: auto;
        width: 100%;
        /* margin: 1rem 0; */
      }
      .video-post-container{
        display: flex;
        flex-flow: column nowrap;
        justify-content: flex-start;
        align-items: stretch;
      }

      .vid-blurb .video-date{
        font-style: italic;
        font-size: 0.8em;
        margin-bottom: 0;
      }

    @media (min-width: 1250px) {
      .video-container-1 video{
        height: 405px;
        width: 720px;
        /* margin: 1rem 0; */
      }
      .video-post-container{
        align-self: center;
        display: grid;
        grid-template-columns: 740px 1fr;
        grid-template-rows: 4em 1fr;
        grid-template-areas:
          "video title"
          "video blurb";
      }
    }
    @media (min-width: 1150px) and (max-width: 1249px) {
      .video-container-1 video{
        height: 360px;
        width: 640px;
        /* margin: 1rem 0; */
      }
      .video-post-container{
        align-self: center;
        display: grid;
        grid-template-columns: 650px 1fr;
        grid-template-rows: 4em 1fr;
        grid-template-areas:
          "video title"
          "video blurb";
      }
    }
    @media (min-width: 1000px) and (max-width: 1149px) {
      .video-container-1 video{
        height: 315px;
        width: 560px;
        /* margin: 1rem 0; */
      }
      .video-post-container{
        align-self: center;
        display: grid;
        grid-template-columns: 570px 1fr;
        grid-template-rows: 4em 1fr;
        grid-template-areas:
          "video title"
          "video blurb";
      }
    }

    @media (min-width: 1000px) {
      .vid-blurb .video-date{
        margin-top: 0;
      }
      .video-post-container .vid-title{
        text-align: left;
      }
    }

      .vid-title{
        order: 1;
        grid-area: title;
      }
      .vid-blurb{
        text-align: left ;
        grid-area: blurb;
        order: 3;
        align-self: stretch;
      }
      .vid-blurb p, .vid-title{
        margin: 1rem;
      }
      .vid-container{
        order: 2;
        grid-area: video;

      }
