html, body {
  height: 100%;
}

#wrap {
  min-height: 100%;
}

#main {
  overflow:auto;
}

body {
   margin:0;
   padding:0;
   height:100%;
}

.flex-center {
  display: flex; align-items: center; justify-content: center;
}

.contact-map {
  display: none;
  padding-top: 20px;
}

.contact-map-mobile {
  display: block;
  padding-top: 20px;
}



/* TEXT__________________________________________________________________ */

* {font-family: "Raleway", "HelveticaNeue", Helvetica, Arial, sans-serif;}

p, li {font-size: 1.3em;
      margin-bottom: 16px;
      }

nav li, footer p {
    font-size: 18px;
    margin-bottom: 0px;
}

footer a {
  color: #fff;
}

footer a:hover {
  color: #fff;
}

a:hover {
  color:#C3B26B;
  text-decoration: none;
  transition: .3s;
}

h1 small {
  line-height: 1.2;
  display: inline-block;
  margin-top: 10px;
}

h1, h2, h3, h4 {
  color: #C3B26B;
}

#facebook {
  display: inline-block;
  height: 20px;
  width: 20px;
  margin-top: 10px;
}

.footer-mobile p {
  font-size: 18px;
}

.footer p {
  font-size: 20px;
}

/* HEADER__________________________________________________________________ */

header {
  height: 120px;
  background-color: #fff;
}

.logo {
  position: absolute;
  padding-top: 20px;
  left: 50%;
  margin-left: -163px;
  height: 100px;
  width: 325px;
}

#header-contact {
  display: none;
}

/* NAVIGATION______________________________________________________________ */


.navbar {
  margin-bottom: 0;
  border-radius: 0;
  background-color: #20779C;
  color: #fff;
  padding: 0;
  font-size: 1.2em;
  border: 0;
}

#myNavbar .active a {
  background-color: #20779C;
  color: #fff;
  font-weight: bold;
}


#myNavbar li a:hover {
  color: #fff;
}

.navbar-default .navbar-nav li a {
  color: #d5d5d5;
}

.navbar .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: top;
}

.navbar .navbar-collapse {
  text-align: center;
  border-top: none;
}

.navbar-toggle {
  width: 45px;
  margin-left: 50vw;
  margin-right: 50vw;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

/* HERO SECTION____________________________________________________________ */

.home-hero-section {
  background-image: url(../images/home-img-768x600.jpg);
  height: 600px;
  background-size: cover;
  background-repeat: no-repeat;
}

#counselling-hero-section {
  background-image: url(../images/counselling-hero-mob.jpg);
  background-position: top;
  background-repeat: no-repeat;
  height: 400px;
}

#about-hero-section {
  background-image: url(../images/about-hero-mob.jpg);
  background-color: #000;
  background-position: right;
  background-repeat: no-repeat;
  height: 400px;
}

#work-hero-section {
  background-image: url(../images/work-hero-mob.jpg);
  background-color: #dfdfdf;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px;
}

#contact-hero-section {
  background-image: url(../images/contact-hero-mob.jpg);
  background-color: #000;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px;
}

.home-hero-gradient {
  display:block;
  height: 400px;
  width: 100vw;
  margin-left: 0;
  margin-top: 50px;
  background: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.page-black-hero-gradient {
  position: absolute;
  display:block;
  height: 400px;
  width: 70vw;
  margin-left: 0;
  margin-top: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.page-grey-hero-gradient {
  position: absolute;
  display:block;
  height: 400px;
  width: 70vw;
  margin-left: 0;
  margin-top: 0;
  background: linear-gradient(to right, rgba(80, 80, 80, 1), rgba(0, 0, 0, 0));
}

.page-white-hero-gradient {
  position: absolute;
  display:block;
  height: 400px;
  width: 70vw;
  margin-left: 0;
  margin-top: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.page-hero-text h1 {
  font-size: 2em;
  color: #fff;
  margin-top: 60px;
  padding-left: 20px;
  border-left: 3px solid;
  border-left-color: #C3B26B;
  line-height: 1.2em;
}

.the-way-i-work-hero-text h1 {
  font-size: 2em;
  color: #20779C;
  margin-top: 60px;
  padding-left: 20px;
  border-left: 3px solid;
  border-left-color: #C3B26B;
  line-height: 1.2em;
}

.hero-image {
  display: block;
  max-height: 440px;
  margin: 0 auto;
}

.tagLine {
  display:block;
  top: 150px;
  left:50%;
  transform: translate(-50%, -50%);
}

.heroText {
  color: #20779C;
  font-size: 2.2em;
  font-weight: bold;
  margin-top: 30px;
}

/* PAGE CONTENT ___________________________________________________________ */

.content-header {
  display: block;
  color: #20779C;
  padding-bottom: 15px;
  border-bottom: 1px solid #D3D3D3;
  margin-bottom: 25px;
  font-size: 2.6em;
}

#counselling-content {
  display: block;
  padding-top: 40px;
  padding-bottom: 40px;
}

#counselling-content li {
  margin-bottom: 8px;
}

#about-me-content {
  display: block;
  padding-top: 40px;
  padding-bottom: 40px;
}

#about-me-content li {
  margin-bottom: 8px;
}

.next-page-btn {
  border: none;
  color: #fff;
  font-size: 1.2em;
  background-color: #20779C;
  padding-left: 14px;
  padding-top: 8px;
  padding-right: 14px;
  padding-bottom: 8px;
  border-radius: 15px;
}

.next-page-btn:hover {
  color: #C3B26B;
}

.accred-logo-v {
  display: block;
  margin-top: 40px;
}

.accred-logo-h {
  display: none;
  margin-top: 40px;
}


/* FOOTER ________________________________________________________________ */



.footer {
  display: none;
}

.footer-mobile {
  display: block;
  visibility: visible;
  background-color: #C3B26B;
  height: 125px;
  width: 100%;
  color: #ffffff;
  padding-top: 20px;
}






/* MEDIA QUERIES _________________________________________________________ */

/* EXTRA SMALL - under 450px */

  @media (max-width: 450px) {

    .page-hero-text h1 {
      font-size: 1.5em;
      color: #fff;
      margin-top: 40px;
      padding-left: 10px;
      border-left: 3px solid;
      border-left-color: #C3B26B;
      line-height: 1.2em;
    }

    .the-way-i-work-hero-text h1 {
      font-size: 1.5em;
      color: #20779C;
      margin-top: 40px;
      padding-left: 10px;
      border-left: 3px solid;
      border-left-color: #C3B26B;
      line-height: 1.2em;
    }

    #counselling-hero-section, .page-black-hero-gradient,    {
      height: 350px;}

    #about-hero-section, .page-grey-hero-gradient {
      height: 350px;}


    #work-hero-section, .page-white-hero-gradient {
      height: 350px;}


    #contact-hero-section, .page-blue-hero-gradient {
      height: 200px;}



  }


/* sm 768px and up */

  @media (min-width: 768px) {

    header{
      height: 160px;
    }

    .logo {position: relative;
      left: 0px;
      margin-left: 0;
      padding-top: 20px;
      height: 135px;
      width: 360px;}

    #header-contact{
        display:inline-block;
        font-size: 2.4em;
        margin-top: 95px;
      }

    .heroText {
        color: #20779C;
        font-size: 2.6em;
        font-weight: bold;
        margin-top: 45px;
      }

      #main {
        overflow:auto;
        padding-bottom:55px;
      }

      .footer {
        width:100%;
        display: block;
        background-color: #C3B26B;
        height: 55px;
        width: 100%;
        color: #ffffff;
        position: relative;
        margin-top: -55px;
        clear:both;
        padding-top:13px;
      }

      .footer p {
        margin-bottom: 0px;
      }

      .footer-mobile {
        display: none;
      }

      .footerText-mobile {
        visibility: hidden;
        padding-top: 15px;
      }

      .home-hero-section {
        height: 90vh;
        background-image: url(../images/home-img-768x600.jpg);
      }

      .page-hero-text h1 {
        font-size: 2.2em;
      }

      .the-way-i-work-hero-text h1 {
        font-size: 2.2em;
      }

      .contact-map-mobile {
        display: none;
      }

      .contact-map {
        display: block;
      }

      #counselling-hero-section {
        background-image: url(../images/counselling-hero.jpg);
        background-repeat: no-repeat;
        background-position: top;
        height: 400px;
      }

      #about-hero-section {
        background-image: url(../images/about-hero.jpg);
        background-repeat: no-repeat;
        background-position: top;
        height: 400px;
      }

      #work-hero-section {
        background-image: url(../images/work-hero.jpg);
        background-repeat: no-repeat;
        background-position: top;
        height: 400px;
      }

      #contact-hero-section {
        background-image: url(../images/contact-hero.jpg);
        background-repeat: no-repeat;
        background-position: top;
        height: 400px;
      }

      .accred-logo-v {
        display: none;
        margin-top: 40px;
      }

      .accred-logo-h {
        display: block;
        margin-top: 40px;
      }

}


/* md 992px and up */

  @media (min-width: 992px) {
      #header-contact {
      display: block;
      }

      .page-hero-text h1 {
        font-size: 2.2em;
      }

      .the-way-i-work-hero-text h1 {
        font-size: 2.2em;
      }


      .home-hero-section {
        background-image: url(../images/home-img-1200x600.jpg);
      }




}

/* lg 1200px and up */

  @media (min-width: 1200px) {


    #counselling-hero-section {
      background-size: 100vw;
    }


        }
