/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

.video-container{position:relative;padding-bottom:56.25%;padding-top:30px; height: 0; overflow:hidden;}
.video-container iframe, .video-container object, .video-container embed{position:absolute;top:0;left:0;width:100%;height:100%;}


html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    font-family: 'Bitter', serif;
}
h2{
    font-size:1.9em;
}
h3{
    font-size:1.6em;

}
h4{
  font-size:1.4em;
}
h1,
h2,
h3,
h4,
h5{
    font-family: 'Open Sans', sans-serif;
}
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 6px solid #3173A3;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   Used http://www.color-hex.com/color/141e69 for shades of blue
   Used http://www.color-hex.com/color/9bb1fe for light blue on hero
   ========================================================================== */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a{
    color:#1B6758;
    text-decoration:none;
}
i{
    padding-right:4px;
    line-height:1.4em !important;
}
/* ==========================================================================
   Components

   ========================================================================== */

.services-wrapper{
  width:100%;

}
.services-image{
  width:50%;
  float:left;
}
.services-list{
  width:50%;
  float:left;
}
.scrolloff {
    pointer-events: none;
}
.btn{

    background:#0B2A24;
    color:#fff;
    padding:15px;
    width:85%;
    font-size:1.4em;
    display:block;
    margin-top:10px;
    text-align:center;
    transition:all .3s ease-out;
}
.btn:hover{
    background:#1B6758;

}
.show{
    display:block !important;
}
.modal{
    position:fixed;
    bottom:4%;
    right:4%;
    background:#fff;
    text-align:center;
    display:none;

}
.modal i{
    color:#0B2A24;
    margin:0 auto;
    font-size:2.5em;
    padding:0 6px;

}
.modal i:hover{
    cursor:pointer;
}

.close-item{
  float:right;
  font-size:1.8em;

}
.close-item:hover{
  cursor:pointer;
}
.contain{
  max-width:1040px;
  width:90%;
  margin:0 auto;
}
 .closed{
  color:red;
}
.clear:after {
    content: "";
    display: table;
    clear:both;
}
/* ==========================================================================
    Main Site styles

   ========================================================================== */

 /* Main header styles */
.main-header{
    width:100%;
    background:#0B2A24;
    color:#fff;
}
.main-header a{
    color:#fff;
}
.main-header h1{
    margin:0;
}
.main-header .top-header {
    padding:15px 0px;
}
.main-header .top-header .logo{

}
.brand{
  font-size:2.1em;
  margin:0;
}
.main-header .top-header .logo a{
    display:inline-block;
    float:left;

}
.main-header .top-header .header-address{
    float:right;
    padding:0 40px;
    line-height:.95em;

}
.header-address p{
  margin:0;
}
.main-header .top-header .header-phone{
    float:right;
    padding:0 40px;
    font-size:1.3em;
    line-height:2.1em;


}
.main-header .top-header .header-phone p{
    margin:0;
}
.main-header .top-header .header-social{
    float:right;

}
.main-header .top-header .header-social i{
    font-size:2em;
    color:#fff;
    transition:all .3s ease-out;
}
.main-header .top-header .header-social i:hover{
    color:#ccc;

}
.main-header .bottom-header {
    background:#1B6758;
    position:relative;
    display:block;
}
.main-header .bottom-header a{
    color:#fff;
}
.main-header .bottom-header #nav-toggle{
    display:none;
}
.main-header .bottom-header ul{
    list-style:none;
    display:block;
    padding:0;
    margin:0;
    height:100%;

}
.main-header .bottom-header ul li{
    display:inline-block;
    float:left;
}
.active{
  background:#fff;
  color:#1B6758 !important;
}
.main-header .bottom-header ul li a{
    padding:15px;
    display:block;
    transition:all .3s ease-out;
}
.main-header .bottom-header ul li a:hover{
    background:#fff;
    color:#1B6758;


}

.header-phone img {
  width:10%;
}

.main-menu{
    width:50%;
    float:left;
}
.header-map{
    width:50%;
    float:left;
    padding:15px;
    text-align:right;
}
.header-map p{
    margin:0;
}
 /* End Main header styles */

 /* Hero styles */
 .hero{
    width:100%;
    height:450px;
    padding-top:80px;
    position:relative;
    background-color:#0B2A24;
    background:url(img/susan-m-minchin-green.jpg) no-repeat;

   background-position:center center !important;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transition:all .5s ease-out;

 }

 .hero .hero-line{
    margin:0;
   background:rgba(248, 226, 150, 0.8);

    color:#0B2A24;
    font-size:2.5em;
    width:50%;
    padding:15px;
 }
 .hero .hero-toolbar{
    width:100%;
    padding:15px;
    position:absolute;
    bottom:0;
    left:0;
    background:rgba(11, 42, 36, .8);
    color:#fff;

 }
  .hero .hero-toolbar .toolbar-msg{

    float:left;
 }
 .hero .hero-toolbar .toolbar-btn{
    text-align:right;
    float:right;
    font-size:1.4em;
    line-height:31.6px !important;
    border:2px solid #fff;
    padding:0px 12px;
    margin-right:8px;
    transition:all .3s ease-out;
    color:#fff;
 }
 .hero .hero-toolbar .toolbar-btn:hover{
    background:#fff;
    color:#1B6758;
 }
.hero .hero-toolbar p{
    margin:0;
    font-size:1.5em;

    text-transform:uppercase;
}
 /* End Hero styles */

/* Advertise styles */
.advertise{
    padding:20px 0;
    background:#eee;
}
.advertise .col-2-3{
    float:left;
    width:66.6%;
}
.advertise .col-1-3 h3,
.advertise .col-2-3 h3{
    margin:0;
}
.advertise .col-1-3{
    float:left;
    width:33.3%;
}
.advertise .col-1-3 p{
    margin:0;
}
/* End Advertise styles */

/* Row styles */
.row{
  width:100%;
  padding:20px 0;
}
.row .col-1-2{
  width:50%;
  float:left;
}
.row iframe{
  width:100%;
  height:250px;
}
.row .first{
  padding-right:40px;
}
.row .second img{
  width:100% !important;
 }
.row .row-btn{
  border:2px solid #0B2A24;
  color:#0B2A24;
  padding:13px;
  transition:all .3s ease-out;
  display:block;
  width:205px;
  font-weight:bold;
  font-size:1.3em;
}
.row .row-btn:hover{
  background:#0B2A24;
  color:#fff;

}

/* End Row styles */



/* Main content styles */
main{

    padding:20px 0;
}
main .content{
    width:75%;
    padding-right:40px;
    float:left;
}
.office-images{

}
.office-images ul{
  float:right;
  width:50%;
  padding-left:5px;
}
.office-images figure{
  margin:0;
  width:45%;
  float:left;
  margin-right:2.5%;
  margin-bottom:8px;
}
.office-images figure figcaption{
  color:#4C4C4C;
}
figure figcaption{
  color:#4C4C4C;
}
figure img{
  display:block;
}
main h1{
  margin-top:0;
}
main header .tagline{
  color:#545454;
}
main .sidebar img,
main .content img{
    width:100%;
}
main .sidebar{
    width:25%;
    float:left;
}
.widget{
  margin-bottom:16px;
}
.widget ul{
  padding-left:20px;
}

main .sidebar h2{
  margin-top:0;
}

/* End main content styles */

/* Full map styles */
.full-map{
    width:100%;
    height:350px;
    background:#0B2A24;
}
.full-map iframe{
    width:100%;
    height:100%;
}
/* End full map styles */

/* Gallery styles */
.gallery{
  padding:20px 0;

}
.gallery header{
  text-align:center;
}
.gallery-image-row{
  width:100%;
}
.gallery-image{
  width:25%;
  float:left;
  padding:10px;
}
.gallery-image img{
  width:100%;
  padding:10px;
  background:#EEEEEE;
  transition:background .3s ease-out;
}
.gallery-image img:hover{
  background:#0B2A24;
}
/* End gallery styles */
/* Contact styles */
.contact{
    padding:20px 0;
    background:#EEEEEE;
}
.contact header{
    text-align:center;
}
.contact header h2{
    margin-bottom:0;
}
.contact header .tagline{
    margin-top:0;

}
main form{

    width:80%;
    margin:0 auto;
}
/*input[type="text"]*/
main textarea,
main input{
    border:2px solid #1B6758;
    width:100%;
    padding:6px;
    float:left;
    display:block;
    margin-bottom:12px;
    transition: all .3s ease;
}
main textarea:active,
main textarea:focus,
main input:active,
main input:focus{
  border:2px solid #0B2A24;
}
main input[type="submit"]{
    border:none;
    border-radius:0;
    padding:14px;
    color:#0B2A24;
    font-weight:bold;
}
.contact-btn:hover{

  background:#DFBF71;
}
.main-contact{

  padding:15px 0;
}

/* Client took out contact form used in div>contact-right...so made left div 100% */
.contact-left{float:left; width:100%;} .contact-left a{white-space:nowrap;}

/* .contact-right{float:right; width:50%;} */


/* End Contact Styles */
/* Insurance list */
.insurance-list{
  list-style:none;
  padding:0;
}
.insurance-list li{
  padding-bottom:12px;
  text-align:center;

}
.insurance-list img{
  padding-bottom:12px;
  width:200px !important;
  margin:0 auto;
  margin-right:20px;
}
/* end insurance list */
/* Testimonials styles */
.testimonials{
    padding:20px 0;
    background:#0B2A24;
    color:#fff;
}
.testimonials header{
    text-align:center;
}
.testimonials header h2{
    margin-bottom:0;
}
.testimonials header .tagline{
    margin-top:0;

}
.testimonials .quote-wrap{
  font-size:1.2em;
  height:150px;
  width:70%;
  margin:0 auto;
}
.quote-wrap ul{
  list-style:none;
  padding:0;
  padding-bottom:20px;
  position:relative;
}
.quote-wrap li{

  display:none;
  position:absolute;

}

.quote-wrap li.show-quote{
  display:block;
}

/* End Testimonials Styles */

/* Footer sidebar styles */
.footer-sidebar{
    width:100%;
    padding:20px 0;
    background:#1B6758;
    color:#fff;
}
.footer-sidebar h2{
    text-align:center;
}
.footer-sidebar .col-1-4{
    width:25%;
    float:left;
}
.footer-sidebar .closed{
  color:#fff;
}
.footer-sidebar a{
  color:#fff;
}
/* End Footer sidebar styles */

/* Footer styles */
.main-footer{
    padding:40px 0;
    background:#0B2A24;
    color:#fff;

}


/* End Footer styles */




/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}
@media only screen and (max-width: 1130px) {

    .hero .hero-line{
        width:70%;

     }
     .hero .hero-toolbar .toolbar-btn{

     }
     .hero .hero-toolbar .toolbar-btn:hover{

     }
    .hero .hero-toolbar .contain{
       display:none;


    }
}

@media only screen and (max-width:938px){
    .hero{
      height:250px;
      padding-top:20px;
      background-position:70% 30% !important;
    }
.main-header .bottom-header .main-menu{
        display:none;
        position:absolute;
        background:#1B6758;
        top:45px;
        z-index:9001;
        height:260px !important;

     }
     .main-menu li{
        width:100% !important;
     }
     .header-map{
        width:80%;
     }
     #nav-toggle{
        display:block !important;
        float:left;
        width:20%;
    }
    #nav-toggle:hover{
        cursor:pointer;
    }
    #nav-toggle i{
        font-size:2.2em;
    }
    .hero{

      background-color:#0B2A24;
    }
    .hero .hero-line{
        width:80%;

     }
     .header-address,
     .header-social,
     .header-phone{
        width:33%;
        float:left;

        padding:0 !important;
     }
     .header-social{
      padding-left:6% !important;
     }
     .header-address{
      line-height:1em !important;
     }
     .top-header{
      text-align:center !important;
     }
     .top-header img{
      text-align:center !important;
      margin:0 auto;
      margin-bottom:10px;
     }
     .btn{
      width:100%;
     }
     .main-header .top-header .logo a {
        display: block;
        float: none;
    }
     .main-header .top-header .logo{
      width:100%;
      float:left;
      text-align:center;
     }
     .insurance-list li{

        text-align:left;

      }
      .main-contact{
        padding:15px 0;
      }
      .contact-left{
        float:left;
        width:100%;
      }
      .contact-right{
        float:left;
        width:100%;
      }
}

@media only screen and (max-width:640px){

    .hero .hero-line{
        width:90%;

     }
     .header-address,
     .header-social,
     .header-phone{
        width:50%;
        float:left;
        padding:0 !important;
     }
     .content{
        width:100% !important;
        padding:0 !important;
     }
     .sidebar{
        width:100% !important;
     }
     .gallery-image{
        width:50%;

      }
      .testimonials .quote-wrap{
        font-size:1.0em;

      }
      .services-wrapper{
        width:100%;

      }
      .services-image{
        width:100%;
        float:left;
      }
      .services-list{
        width:100%;
        float:left;
      }


}
@media only screen and (max-width:570px){
    .hero{

    }
    .hero .hero-line{
        width:100%;


     }
     .col-1-4{
        width:50% !important;
     }
     .header-address,
     .header-social,
     .header-phone{
        width:100%;
        float:left;
        padding:0 !important;
     }
     .office-images figure{
        margin:0;
        width:100%;
        float:left;
        margin-right:0;
      }
      .office-images ul{
        float:left;
        width:100%;
        padding-left:5px;
      }


}
@media only screen and (max-width:518px){
    .hero{

    }
    .hero .hero-line{
        font-size:2.1em;


     }
     .col-2-3{
       width:100% !important;
       margin-bottom:15px;
     }
     .col-2-3 .btn{
        width:100%;
     }
     .col-1-3{
       width:100% !important;
     }
     #contact-form {
        width:70%;
     }
     .row .col-1-2{
      width:100%;
      margin-bottom:15px;
     }
     .row .first{
      padding:0 !important;
     }



}
@media only screen and (max-width:450px){
      .gallery-image{
        width:100%;

      }
     .hero .hero-line{
        font-size:1.9em;


     }
     .col-1-4{
        width:100% !important;
     }
     .testimonials .quote-wrap{
        font-size:1.0em;
        height:190px;
        width:80%;
        margin:0 auto;
      }
}
@media only screen and (max-width:405px){

     .hero .hero-line{
        font-size:1.7em;


     }
     .col-1-4{
        width:100% !important;
     }
     .header-social{
        width:100% !important;
     }
}
@media only screen and (max-width:355px){

     .map-cta{
        display:none;
     }
     .header-map{
        padding:0;
     }
     .header-map i{
        font-size:2.1em;
     }
}
@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
