/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body,
html{
  height: 100%;
  min-height: 100%;
}

body {
  color: #5a5a5a;  
}

/*

primary:  #204385
info:     #65dbfc

*/

h1,
h2,
h3,
h4,
h5,
h6{
  color: #204385;
}

h1{
  font-size: 48px;
}

h1 span{
  font-size: 27px;
}

h2{
  text-align: center;
  background: url(../img/hbg.gif) center center repeat-x;
  margin-top: 30px;
  margin-bottom: 30px;
}

h2 span{
  background-color: #ffffff;
  padding: 0 12px;
}

h5{
    line-height: 1.4;
}

p{
  font-weight: 300;
}

.lg{
    font-size: 21px;
    color: #204385;
    font-weight: 500;
}

strong{
  color: #204385;
}

.author{
    font-size: 90%;
    color: #204385;
    font-weight: 500;
    border-bottom: 1px solid #204385;
    padding-bottom: 15px;
}

.text-c{
  text-align: center;
}

.text-r{
  text-align: right;
}

.img-circle {
    border-radius: 50%;
    border: 4px solid #65dbfc;
    padding: 2px;
    width: 100%;
    max-width: 200px;
    margin: 0px auto;
} 


/* Footer */

footer{
  margin-top: 30px;
}

.footer-nav{
  padding-top: 15px;
}

.footer-nav ul{
  border-top: 1px solid #204385;
  text-align: center;
}

.footer-nav ul li{
    display: inline-block;
    padding: 10px 0;
    margin: 0px 8px;
}

.footer-info{
    margin: 30px 0;
    font-size: 90%;
    text-align: center;
}



.test{
    position: fixed;
    z-index: 10000;
    width: 80px;
    height: 80px;
    top: 20px;
    left: 20px;
    border-radius: 50%;
    text-align: center;
    background-color: #000;
    color: #fff;
    font-size: 4em;
}

.tip{
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 15px auto 30px;
}

.tip h3{
    margin-top: 0;
}

.quote{
    position: relative;
    padding: 30px;
    margin: 30px auto;
    border: 5px solid #204385;
    color: #204385;
    font-weight: 500;
    background: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
}

.quote:before{
    content: "";
    position: absolute;
    bottom: -20px;
    right: 23px;
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: #204385 transparent;
    display: block;
    width: 0;
}

.quote:after{
    content: "";
    position: absolute;
    bottom: -13px;
    right: 30px;
    border-width: 13px 13px 0;
    border-style: solid;
    border-color: #fff transparent;
    display: block;
    width: 0;
}

.question{
    padding: 30px;
    margin: 30px auto;
    border: 5px solid #204385;
    color: #204385;
    font-size: 2rem;
    font-weight: 500;
    background: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    max-width: 800px;
    display: table;
    vertical-align: top;
    position: relative;
    text-align: left;
}

.question span{
    display: table-cell;
    vertical-align: middle;
    padding-left: 15px;
    font-size: 1.6rem;
}

.question span:first-child{
    color: #fff;
    background-color: #204385;
    font-size: 3rem;
    padding: 0px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
}

.question:before{
    content: "";
    position: absolute;
    bottom: -20px;
    right: 23px;
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: #204385 transparent;
    display: block;
    width: 0;
}

.question:after{
    content: "";
    position: absolute;
    bottom: -13px;
    right: 30px;
    border-width: 13px 13px 0;
    border-style: solid;
    border-color: #fff transparent;
    display: block;
    width: 0;
}

.answer{
    padding: 30px;
    margin: 30px auto;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
    background-color: #204385;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    width: 100%;
    max-width: 800px;
    position: relative;
}

.adv{
    padding: 15px;
    border: 1px solid #65dbfc;
    border-radius: 4px;
    margin-bottom: 15px;
    background-color: rgba(101, 219, 252, 0.26);
}

.adv h3{
        margin-top: 0;
}

.help-block{
    color: red;
    font-weight: 500;
}

.disclaimer{
    margin: 15px;
}

.address{
    margin-bottom: 30px;
}



/* ======================================== 
=============== MOBILE ====================
======================================== */

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */


.test:after{
  content: "M";
}

body {
  padding-top: 90px;
  padding-bottom: 40px;
  color: #5a5a5a;  
}

.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 0;
    border: 1px solid transparent;
}

.navbar-default {
    background-color: #ffffff;
    border: none;
}
.navbar-fixed-top {
    top: 38px;
    border-width: 0;
    position: fixed;
}

.navbar-wrapper {
  position: absolute;
  top: 40px;
  right: 0;
  left: 0;
  z-index: 20;
  background-color: #fff;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}

.navbar-default .navbar-nav>li>a {
    color: #777;
    border-bottom: 4px solid #ffffff;
}

.navbar-default .navbar-nav>li>a:hover {
    color: #204385;
    border-bottom: 4px solid #204385;
}

.navbar-brand {
    float: left;
    padding: 0;
    font-size: 18px;
    line-height: 20px;
    height: 50px;
    margin-top: 0px;
}

.logo{
  height: 50px;
}

/* INFO BAR */

.info-bar{
  background-color: #204385;
  color: #65dbfc;
  font-size: 16px;
  padding: 8px;
  top: 0;
  position: fixed;
  width: 100%;
  z-index: 20;
}

.info-bar a{
  color: #65dbfc;
  padding: 0 8px;
}

.info-bar a:hover{
  color: #ffffff;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  height: 200px;
  margin-bottom: 0px;
}
/* Since positioning the image, we need to help out the caption */

.promo-caption {
  z-index: 10;
  position: absolute;
  left: 0px;
  padding: 10px;
  text-align: left;
  width: 100%;
  color: #FFFFFF;
}

.promo-caption h1{
  font-size: 21px;
  color: #FFFFFF;
  margin: 0 0 15px 0;
}

.promo-caption p{
  font-size: 14px;
  color: #FFFFFF
}

.carousel-caption {
    z-index: 10;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    padding-top: 0px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
    background: rgba(255,255,255,0.7);
    width: 100%;
    text-shadow: none;
}

.carousel-caption h1{
    color: #204385;
    font-size: 28px;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 200px;
}

.carousel-inner{
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: url('../img/mbg.jpg') no-repeat top center;
  background-size: cover;
}

.carousel-caption {
    background: none;
    padding: 20px;
}

.carousel-caption h1{
    color: #ffffff;
    font-size: 28px;
}

.slide-1,
.slide-2,
.slide-3,
.slide-4,
.slide-5,
.slide-6
 {
    background: none;
}

.about{
  padding-bottom: 15px;
}

.text-block{
    min-height: 0px;
}

.header_img{
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    position: relative;
    margin-bottom: 20px;
}

.jobs_img{
      background-image: url('/img/jobs-m.jpg');
}

.services_img{
    background-image: url('/img/services-m.jpg');
}

.tips_img{
    background-image: url('/img/tips-m.jpg');
}

.contact_img{
    background-image: url('/img/contact-m.jpg');
}

.header_img h1{
    color: #65dbfc;
    font-size: 40px;
    position: absolute;
    bottom: 0;
    text-shadow: 2px 1px 0px rgba(0, 0, 0, 1);
}

h1{
  font-size: 48px;
}

h1 span{
  font-size: 21px;
}




/* ======================================== 
=============== TABLET ====================
======================================== */

@media (min-width: 768px) {

  .test:after{
    content: "T";
  }

    .navbar {
      position: relative;
      min-height: 100px;
      margin-bottom: 0;
      border: 1px solid transparent;
  }

  ul.nav{
    float: right;
  }

  .navbar-default {
      background-color: #ffffff;
      border: none;
  }
  .navbar-fixed-top {
      top: 38px;
      border-width: 0;
      position: fixed;
  }

  .navbar-wrapper {
    position: absolute;
    top: 40px;
    right: 0;
    left: 0;
    z-index: 20;
    background-color: #fff;
  }

  /* Flip around the padding for proper display in narrow viewports */
  .navbar-wrapper > .container {
    padding-right: 0;
    padding-left: 0;
  }
  .navbar-wrapper .navbar {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar .container {
    width: auto;
  }

  .navbar-default .navbar-nav>li>a {
      color: #777;
      border-bottom: 4px solid #ffffff;
      padding: 38px 20px;
  }

  .navbar-default .navbar-nav>li>a:hover {
      color: #204385;
      border-bottom: 4px solid #204385;
  }

  .navbar-brand {
      float: left;
      padding: 0;
      font-size: 18px;
      line-height: 20px;
      height: 80px;
      margin-top: 10px;
  }

  .logo{
    height: 80px;
  }

  /* INFO BAR */

  .info-bar{
    background-color: #204385;
    color: #65dbfc;
    font-size: 16px;
    padding: 8px;
    top: 0;
    position: fixed;
    width: 100%;
    z-index: 20;
  }

  .info-bar a{
    color: #65dbfc;
    padding: 0 8px;
    margin-left: 16px;
  }

  .info-bar a:hover{
    color: #ffffff;
  }

.offer_img{
      background-image: url('/img/slide-offer.jpg');
}
  /* CUSTOMIZE THE CAROUSEL
  -------------------------------------------------- */

  /* Carousel base class */
  .carousel {
    height: 400px;
    margin-bottom: 24px;
  }
  /* Since positioning the image, we need to help out the caption */

  .promo-caption {
      z-index: 10;
      position: absolute;
      bottom: 0px;
      padding: 20px 15%;
      color: #fff;
      text-align: left;
      width: 100%;
      color: #ffffff;
      background: rgba(32,67,133,0.7);
  }

  .promo-caption h1{
      font-size: 28px;
  }

  .promo-caption p{
    font-size: 14px;
  }

  .carousel-caption {
      z-index: 10;
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 10;
      padding-top: 0px;
      padding-bottom: 20px;
      color: #fff;
      text-align: center;
      background: rgba(255,255,255,0.7);
      width: 100%;
  }

  .carousel-caption h1{
      color: #204385;
      font-size: 28px;
  }


  .fill {
      width: 100%;
      height: 100%;
      background-position: center;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      background-size: cover;
      -o-background-size: cover;
      background-position: top center;
  }

  .slide-1 {
      background: url('../img/slide-1.jpg') no-repeat top center;
      background-size: cover;
  }

  .slide-2 {
      background: url('../img/slide-2.jpg') no-repeat top center;
      background-size: cover;
  }

  .slide-3 {
      background: url('../img/slide-3.jpg') no-repeat top center;
      background-size: cover;
  }

  .slide-4 {
      background: url('../img/slide-4.jpg') no-repeat top center;
      background-size: cover;
  }

  .slide-5 {
      background: url('../img/slide-5.jpg') no-repeat top center;
      background-size: cover;
  }

  .slide-6 {
      background: url('../img/slide-6.jpg') no-repeat top center;
      background-size: cover;
  }

  .slide-offer {
      background: url('../img/slide-offer.jpg') no-repeat top center;
      background-size: cover;
  }

  /* Declare heights because of positioning of img element */
  .carousel .item {
    height: 400px;
  }

  h1{
    font-size: 48px;
  }

  h1 span{
    font-size: 27px;
  }
  .carousel .item {
    height: 400px;
  }

  .text-block{
    min-height: 0px;
  }

  .header_img{
      height: 300px;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: top center;
      position: relative;
      margin-bottom: 20px;
  }

  .jobs_img{
        background-image: url('/img/jobs.jpg');
  }

  .services_img{
      background-image: url('/img/services.jpg');
  }

  .tips_img{
      background-image: url('/img/tips.jpg');
  }

  .contact_img{
      background-image: url('/img/contact.jpg');
  }

  .header_img h1{
      color: #65dbfc;
      font-size: 86px;
      position: absolute;
      bottom: 0;
      text-shadow: 2px 1px 0px rgba(0, 0, 0, 1);
  }

  .footer-nav ul{
    border-top: 1px solid #204385;
    text-align: left;
  }

  .footer-nav ul li{
      display: inline-block;
      padding: 10px 0;
      margin-right: 20px;
  }

  .question{
    padding: 30px;
    margin: 30px auto;
    border: 5px solid #204385;
    color: #204385;
    font-size: 2rem;
    font-weight: 500;
    background-color: #ffffff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    max-width: 800px;
    display: table;
    vertical-align: top;
    position: relative;
    text-align: left;
  }

  .question span{
      display: table-cell;
      vertical-align: middle;
      padding-left: 15px;
      font-size: 2rem;
  }

  .question span:first-child{
      color: #fff;
      background-color: #204385;
      font-size: 6rem;
      padding: 2px;
      text-align: center;
      border-radius: 50%;
      display: inline-block;
      vertical-align: middle;
      width: 90px;
      height: 90px;
  }

  .question:before{
      content: "";
      position: absolute;
      bottom: -20px;
      right: 23px;
      border-width: 20px 20px 0;
      border-style: solid;
      border-color: #204385 transparent;
      display: block;
      width: 0;
  }

  .question:after{
      content: "";
      position: absolute;
      bottom: -13px;
      right: 30px;
      border-width: 13px 13px 0;
      border-style: solid;
      border-color: #fff transparent;
      display: block;
      width: 0;
  }

  .answer{
      padding: 30px;
      margin: 30px auto;
      color: #fff;
      font-size: 2rem;
      font-weight: 500;
      background-color: #204385;
      -webkit-border-radius: 10px;
      -moz-border-radius: 10px;
      border-radius: 10px;
      width: 100%;
      max-width: 800px;
      position: relative;
  }

  .ad-text-block{
      min-height: 180px;
  }

  .testimonials{
    margin-bottom: 30px;
  }

  .testimonials .ad-text-block{
        min-height: 0px;
    }

}



/* ======================================== 
=============== DESKTOP ====================
======================================== */


@media (min-width: 992px) {

    .test:after{
      content: "D";
    }
      body{
        padding-top: 118px;
      }

  .navbar {
    position: relative;
    min-height: 100px;
    margin-bottom: 0;
    border: 1px solid transparent;
    }

    ul.nav{
      float: right;
    }

    .navbar-default {
        background-color: #ffffff;
        border: none;
    }
    .navbar-fixed-top {
        top: 38px;
        border-width: 0;
        position: fixed;
    }

    .navbar-wrapper {
      position: absolute;
      top: 40px;
      right: 0;
      left: 0;
      z-index: 20;
      background-color: #fff;
    }

    /* Flip around the padding for proper display in narrow viewports */
    .navbar-wrapper > .container {
      padding-right: 0;
      padding-left: 0;
    }
    .navbar-wrapper .navbar {
      padding-right: 15px;
      padding-left: 15px;
    }
    .navbar-wrapper .navbar .container {
      width: auto;
    }

    .navbar-default .navbar-nav>li>a {
        color: #777;
        border-bottom: 4px solid #ffffff;
        padding: 38px 20px;
    }

    .navbar-default .navbar-nav>li>a:hover {
        color: #204385;
        border-bottom: 4px solid #204385;
    }

    .navbar-brand {
        float: left;
        padding: 0;
        font-size: 18px;
        line-height: 20px;
        height: 80px;
        margin-top: 10px;
    }

    .logo{
      height: 80px;
    }

    /* INFO BAR */

    .info-bar{
      background-color: #204385;
      color: #65dbfc;
      font-size: 16px;
      padding: 8px;
      top: 0;
      position: fixed;
      width: 100%;
      z-index: 20;
    }

    .info-bar a{
      color: #65dbfc;
      padding: 0 8px;
      margin-left: 16px;
    }

    .info-bar a:hover{
      color: #ffffff;
    }


    /* CUSTOMIZE THE CAROUSEL
    -------------------------------------------------- */

    /* Carousel base class */
    .carousel {
      height: 500px;
      margin-bottom: 24px;
    }
    /* Since positioning the image, we need to help out the caption */
    .promo-caption {
      padding: 20px 20%;
    }

    .carousel-caption {
        z-index: 10;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding-top: 0px;
        padding-bottom: 20px;
        color: #fff;
        text-align: center;
        background: rgba(255,255,255,0.7);
        width: 100%;
    }

    .promo-caption h1{
        font-size: 37px;
    }

    .promo-caption p{
      font-size: 18px;
    }

    .fill {
        width: 100%;
        height: 100%;
        background-position: center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
        -o-background-size: cover;
        background-position: top center;
    }

    .slide-1 {
        background: url('../img/slide-1.jpg') no-repeat top center;
        background-size: cover;
    }

    .slide-2 {
        background: url('../img/slide-2.jpg') no-repeat top center;
        background-size: cover;
    }

    .slide-3 {
        background: url('../img/slide-3.jpg') no-repeat top center;
        background-size: cover;
    }

    .slide-4 {
        background: url('../img/slide-4.jpg') no-repeat top center;
        background-size: cover;
    }

    .slide-5 {
        background: url('../img/slide-5.jpg') no-repeat top center;
        background-size: cover;
    }

    .slide-6 {
        background: url('../img/slide-6.jpg') no-repeat top center;
        background-size: cover;
    }

    .slide-offer {
      background: url('../img/slide-offer.jpg') no-repeat top center;
      background-size: cover;
    }

    /* Declare heights because of positioning of img element */
    .carousel .item {
      height: 500px;
    }

    h1{
      font-size: 48px;
    }

    h1 span{
      font-size: 27px;
    }

    .text-block{
      min-height: 240px;
    }

    .header_img{
        height: 500px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top center;
        position: relative;
        margin-bottom: 20px;
    }

    .question{
        padding: 30px;
        margin: 30px auto;
        border: 5px solid #204385;
        color: #204385;
        font-size: 2rem;
        font-weight: 500;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        text-align: center;
        width: 100%;
        max-width: 800px;
        display: table;
        vertical-align: top;
        position: relative;
        text-align: left;
    }

    .question span{
        display: table-cell;
        vertical-align: middle;
        padding-left: 15px;

    }

    .question span:first-child{
        color: #fff;
        background-color: #204385;
        font-size: 6rem;
        padding: 6px;
        text-align: center;
        border-radius: 50%;
        display: inline-block;
        vertical-align: middle;
        width: 100px;
        height: 100px;
    }

    .question:before{
        content: "";
        position: absolute;
        bottom: -20px;
        right: 23px;
        border-width: 20px 20px 0;
        border-style: solid;
        border-color: #204385 transparent;
        display: block;
        width: 0;
    }

    .question:after{
        content: "";
        position: absolute;
        bottom: -13px;
        right: 30px;
        border-width: 13px 13px 0;
        border-style: solid;
        border-color: #fff transparent;
        display: block;
        width: 0;
    }

    .ad-text-block{
        min-height: 120px;
    }

    .testimonials .ad-text-block{
        min-height: 240px;
    }
}

.small{
  font-size: 85% !important;
}