@import url(https://fonts.googleapis.com/css?family=Merriweather:300,300italic,400,400italic,700,700italic,900,900italic);
@import url(https://fonts.googleapis.com/css?family=Merriweather+Sans:300,300italic,400,400italic,700,700italic,800,800italic);
/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; }
a{-webkit-transition:all 1s ease;
         -moz-transition:all 1s ease;
               -o-transition:all 1s ease;
                     transition:all 1s ease;
text-decoration: none;
color: #BFBC30;}
a img{-webkit-transition:all 1s ease;
         -moz-transition:all 1s ease;
               -o-transition:all 1s ease;
                     transition:all 1s ease;}
.smoothie{-webkit-transition:all 1s ease;
         -moz-transition:all 1s ease;
               -o-transition:all 1s ease;
                     transition:all 1s ease;}
.smoothiefast{-webkit-transition:all 0.3s ease;
         -moz-transition:all 0.3s ease;
               -o-transition:all 0.3s ease;
                     transition:all 0.3s ease;}
h1,h2,h3,h4,h5,h6{margin: 0 0 10px 0; color: #231E21; font-family: 'Merriweather', sans-serif; font-weight: 700; letter-spacing: -0.1px;}
p{margin: 0 0 10px 0;}
strong{ color: #231E21;}

.black{color: #231E21;}
.red{color: #ED1C23;}
.darkred{color: #BF2128;}
.green{color: #0FA599;}
.darkgreen{color: #0F7F72;}
.yellow{color: #BFBC30;}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body{background: #ccc;}
.container{width: 100%; max-width: 1920px; height: auto; margin: 0 auto; background: #EFEFEF; padding: 0; font-family: 'Merriweather Sans', sans-serif; position: relative;}
.header{width: 100%; height: auto; padding: 0; background: #fff; box-shadow: 0 3px 3px -3px rgba(0,0,0,.3); position: relative; z-index: 19999999;}

.logo{position: absolute; top: -40px; left: -10px; width: auto;}
.logoimage{position: relative; z-index: 2; width: auto;}
.logoimage img{width: 180px;}

.logo{position: absolute; width: 100%;  top: 30px; left: 0px; width: 100%; text-align: center; z-index: 500; }
.logo img{width: 250px; }

.phonenumber{background: #BF2128; padding: 5px; color: #fff !important; font-size: 22px; 
box-shadow: 0 3px 3px -3px rgba(0,0,0,.3); 
}

.innerheader{max-width: 1515px; width: 98%; padding: 0; margin: 0 auto; display: flex; justify-content: center; flex-wrap: nowrap; align-items: stretch; position: relative; z-index: 100000; }

.upper{position: absolute; top: 0; right:0; width: 100%; z-index: 2000; margin: 0 auto; text-align: right; font-weight: 700; padding: 0;}

.upper h4{color: #1d1d1b; margin:0;}

.inner{width: 100%; padding: 0 10px 0 0; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; position: relative;}
.toggler{display: none;}
.navigation{}


.nav{outline: 0px solid red; margin: 0; padding: 0; }
.nav li{list-style-type: none; padding: 30px 0;}
.nav li a{color: #231E21; margin: 0 25px; font-size: 16px; font-family: 'Merriweather', sans-serif; font-weight: 700; text-transform: capitalize; border-left: 0px solid #eee;  }
.nav li a:hover{color: #0FA599;}
.nav li a.current{color: #0FA599;}
.nav li a.current:hover{color: #231E21;}
.mobilelink{color: #fff;}
.footsocial-circle [class*="fa fa-"] {
    width: 25px;
    height: 25px;
    border-radius: 12.5px;
    display: inline-block;
    line-height: 25px;
    margin-left: 3px;;
    font-size: 12px;
    text-align: center;
}

.fb{color: #fff; background: #3b5998;}
.tw{color: #fff; background: #4099FF;}
.go{color: #fff; background: #d34836;}
.lin{color: #fff; background: #0077B5;}

.fb:hover{background: #fff; color: #3b5998;}
.tw:hover{background: #fff; color: #4099FF;}
.go:hover{background: #fff; color: #d34836;}
.lin:hover{background: #fff; color: #0077B5;}

.band{width: 100%; height: auto; max-height: calc(100vh - 80px); position:relative; border-bottom: 0 solid #0FA599;  overflow: hidden;}
.smallband{width: 100%; height: auto; max-height: 50vh; position:relative; border-bottom: 0 solid #0FA599;  overflow: hidden;}
.slideshow{width: 100%;}
.slideshow img{width: 100%;}

.content{width: 100%; max-width: 1515px; margin: 20px auto 0; height: auto; display: flex; flex-wrap: wrap; justify-content: space-between; }
.reversecontent{flex-flow: row-reverse;}

.hometext{width: 98%; margin: 0 auto; max-width: 800px; text-align: center; padding: 40px 0;} 
.hometext h1{font-family: 'Merriweather', sans-serif; text-transform: uppercase; display: inline-block;  font-size: 1.6rem;}
.hometext p{line-height: 26px;}

.headtext{width: 98%; margin: 0 auto; max-width: 800px; text-align: center; padding: 40px 0;} 
.headtext h2{font-family: 'Merriweather', sans-serif; text-transform: uppercase; display: inline-block;  font-size: 1.6rem;}
.headtext p{line-height: 26px;}

.homebutton{width: 100%; text-align: center; padding: 20px 0;}
.aboutlink{border: 2px solid #0FA599; padding: 10px 25px; color: #0FA599; border-radius: 0px; font-size: 0.9rem; text-transform: uppercase; }
.aboutlink:hover{background: #0FA599; color: #fff; border: 2px solid #0FA599;}

.box{background: #fff; box-shadow: 0 3px 3px -3px rgba(0,0,0,.3); padding: 40px 20px; overflow: hidden; position: relative; }
.qcontent{width: 100%; margin: 20px auto 0; height: auto; display: flex; flex-wrap: wrap; justify-content: space-between; }

.boxtriangle{position: absolute; top:6px; left: -20px; z-index: 1; pointer-events: none; }
.boxtriangle img{width: 60px;}


.aboutbox{padding: 100px 20px 40px; }

.qbox{width: 33.333333%; height: 300px; position: relative;}


.boxcover{position: absolute; top: 0; left: 0; width: 100%; height: 100%; background:rgba(0,0,0,0.6);}

.qbox:hover .boxcover{background: rgba(0,0,0,0.1);}
.boxheaderlower{position: absolute; top: 0; left: 0; z-index: 10; background: #0FA599; padding: 10px; color: #fff; text-transform: capitalize; letter-spacing: 1.2px; font-family: 'Merriweather', sans-serif; font-weight: 700;}


/* ==========================================================================
   ABOUT
   ========================================================================== */
.thestaff{width: 98%; margin: 0 auto; max-width: 800px; text-align: center; padding: 0; display: flex; justify-content: space-between; flex-wrap: wrap;} 
.thestaff h2{font-family: 'Merriweather', sans-serif; text-transform: uppercase; width: 100%; margin-bottom: 20px; font-size: 1.2rem;}

.eachstaff{width: calc(50% - 10px); background: #fff; box-shadow: 0 3px 3px -3px rgba(0,0,0,.3); padding: 20px;  margin-bottom: 20px;}
.staffupper{display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; }
.staffimage{width: 120px; border-radius: 50%; overflow: hidden;}
.staffimage img{width: 100%;}
.staffimage img:nth-child(2){display:none}
.staffimage:hover img:first-child{display:none}
.staffimage:hover img:last-child{display:inline-block}
.staffname{width: calc(100% - 140px); font-weight: 300; font-size: 0.8rem;}
.staffhead, .staffrole{color: #BF2128;}
.whatwedo{text-align: center;}
.aboutlist{text-align: center;}
.staffbio{width:100%; padding-top:20px;}
.staffbio p{font-size:0.8rem; text-align:center;}

.whatwedo{font-size: 0.9rem; font-weight: 300;
color: #7A7F8B; padding: 40px;}
.whatwedo h2{font-family: 'Merriweather', sans-serif; text-transform: uppercase; width: 100%; margin-bottom: 20px; font-size: 1.2rem;}

.bulletlist{padding: 20px 0;}
.eachbullet{width: 100%; padding: 20px 0 20px; border-top: 1px solid #eee; margin-top: 0; list-style-type: none;}
.bulletheader{display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 10px; align-items: center;}
.bullettitle{font-weight: 300; width: 100%; font-style: italic;}
.bullettext p{font-size: 0.9rem; }

/* ==========================================================================
   PRICE LIST
   ========================================================================== */
.boxcontent{background: #fff; box-shadow: 0 3px 3px -3px rgba(0,0,0,.3); padding: 20px; text-align:left; font-weight: 300;
color: #7A7F8B;}
.eachpricelist{padding: 0; margin: 0 0 20px 0;}
.treatmentsection{display: block; border-bottom: 2px solid #0F7F72; color: #0F7F72; padding-bottom: 10px;}
.eachtreatment{width: 100%; padding: 10px 0 10px; border-bottom: 1px solid #ccc; margin-bottom: 10px; list-style-type: none;}
.treatmentsection .eachtreatment:last-of-type{border-bottom: 0px solid #ccc;}
.treatmentheader{display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 10px; align-items: center;}
.treatmenttitle{font-weight: 600; width: calc(100% - 320px)}
.treatmentprice{font-weight: 600; width: 300px; text-align: center; background: #f2f2f2; padding: 10px 0;}
.treatmenttext{width: 100%; font-style: italic;}
.treatmenttext p{font-size: 0.9rem; }
.eachpricelist li:last-child{border-bottom: 0px solid #ccc;}

/* ==========================================================================
   SOLE TALK
   ========================================================================== */
.newsimage{position: relative; width: 100%;}
.newsimage img{width: 100%;}
.newscaption{position: relative;}
.newsdate{display: block; border-bottom: 1px solid #d9d9d9; color: #231E21; padding-bottom: 10px; margin-bottom: 20px;}

.newsstory{border-top: 1px solid #d9d9d9; border-bottom: 0px solid #d9d9d9; color: #231E21; margin-top: 10px; padding: 20px 0 0; margin-bottom: 0; font-size: 0.8rem; color: #7A7F8B;}
.newsarchive{padding: 0; margin: 0 0 20px 0;}
.eachnewsarchive{width: 100%; padding: 0 0 10px; border-bottom: 1px solid #d9d9d9; margin-bottom: 10px; color: #7A7F8B; display: block;}
.newsheader{}
.newstitle{font-weight: 600; width: 100%; color: #231E21; font-size: 1.0rem; }
.newsdater{font-weight: 600; width: 100%; color: #231E21; font-size: 0.5rem;  }
.newstext{width: 100%; font-style: italic; font-size: 0.7rem; padding: 10px 0;}
.newsarchive h2{font-family: 'Merriweather', sans-serif; text-transform: uppercase; width: 100%;  margin-bottom: 20px; font-size: 1.2rem;}
.archivebox{background: #fff; box-shadow: 0 3px 3px -3px rgba(0,0,0,.3); padding: 20px; overflow: hidden; position: relative; width: 98%; margin: 20px auto; max-width: 800px; text-align: center;}
/* ==========================================================================
   FAQS
   ========================================================================== */

.accordion {
    background-color:  #0F7F72; background: #EFEFEF;
    color: #fff; color: #0F7F72;
    cursor: pointer;
    padding: 22px 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    transition: 0.4s;
    font-weight: 300;
}

.accordion.active, button.accordion:hover {
    background-color:#0FA599; color: #fff;
}

.accordion:after {
    content: '\02795';
    font-size: 13px;
    color:#0F7F72;
    float: right;
    margin-left: 5px;
    transition: 0.4s;
}
.accordion:hover:after{color: #fff}
.accordion.active:after {
    content: "\2796";
    color: #fff;
}

.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0px;
    overflow: hidden;
    transition: 0.6s ease-in-out;
    opacity: 0;
    border-left: 1px solid #d9d9d9;
    border-right: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
}
.innerpanel{margin: 20px auto;}
.panel.show {
    opacity: 1;
    max-height: 1000px;  
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.theform{width:100%; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; padding: 20px 0; text-align: left;}
.halfinput{width:  50%; position: relative;}
.fullinput{width: 100%; position: relative;}
.theform label{padding: 10px 0px; display: block;}
.textinput{width: 100%; border-top: 1px solid #d9d9d9; border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; padding: 15px;}
.textinput:focus{background: #d9d9d9;}
.submitbutton{width: 100%; border: 1px solid #d9d9d9; background: #BF2128; color: #fff; padding: 15px; transition: 0.4s;}
.submitbutton:hover{background: #ED1C23;}
.submitbutton:active{background: #BF2128;}
.mapbox{width: 100%;height: 400px;}

/* ==========================================================================
   PIGLETS
   ========================================================================== */

.shoes{display: flex; justify-content: space-between; flex-wrap: wrap;}
.eachshoe{width: 100px; margin: 10px; padding: 10px; background: #efefef;}
.eachshoe img{width: 100%;}
.badges{max-width: 100%;}
.badges img{width: 100%; max-width: 500px;}
.designashoe{padding: 20px 0; border-top: 1px solid #d9d9d9; margin-top: 20px;}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.accreditation{display: none;}
.eachlogo{width: 200px; margin: 0 20px; filter: invert(100%) grayscale(100%); -webkit-filter: invert(100%) grayscale(100%); opacity: 0.5;}
.eachlogo img{width: 100%;}

.acc{display: flex; justify-content: center; flex-wrap: wrap; flex-grow: 1; align-items: center;}
.eachacc{width: 200px; margin: 0 20px 20px; opacity: 0.5;}
.eachaccl{width: 120px; margin: 0 20px; opacity: 0.5;}
.eachacc img{width: 100%;}
.eachaccl img{width: 100%;}



.eachopening{display: flex; justify-content: space-between; flex-wrap: wrap;  font-size: 0.8rem}
.openday{margin-right: 20px;}
.address{ font-size: 0.8rem}
.lowerfooter{border-top: 1px solid #fff; padding: 20px 0 0; text-align: center; width: 100%; margin: 0 auto;}
.lowernav a{margin: 0 20px; text-transform: uppercase;}
.footlink{color: #fff; font-size: 0.7rem; }
.footcurrent{color: #BFBC30; font-size: 0.7rem; }
.lowernav a:hover{color: #BFBC30;}
.details{color: #fff; padding: 20px 0 10px; font-size: 10px;}

.footer{width: 100%; height: auto; padding: 0;  margin-top: 20px; background: #0F7F72;}
.upperfooter{width: 100%; color: #fff; display: flex; justify-content: space-between; flex-wrap: wrap;}
.eachfoot{width: calc(25% - 10px); padding: 20px; position: relative;}
.foot1:after, .foot2:after, .foot3:after{content: ""; position: absolute; top: 20px; right: -7px; height: calc(100% - 40px); background:#515151; width: 1px; }
.foot3,.foot4{display: flex; align-items: center;}
.footlogo{width: 70%; margin: 0 auto; }
.footlogo img{width: 100%; }
.footer h3{color: #fff; font-size: 1.4rem;}
.lowerfooter{border-top: 1px solid #515151; padding: 20px 0 0; text-align: center; width: calc(100% - 40px); margin: 0 auto;}
/* ==========================================================================
   GDPR
   ========================================================================== */

.ptable{margin: 20px 0;}
.ptable tr td{padding: 20px;}
.ptable thead th{padding: 20px; background: #003E4A; }
.ptable thead th p strong{font-weight: 700; color: #F7CA18;}
.smallprint{font-size: 12px !important;}
.smallprint p{font-size: 12px !important; line-height: 20px;}




.has-tooltip:hover + .tooltip,
.has-tooltip:focus + .tooltip,
.has-tooltip.hover + .tooltip {
  opacity: 1;
  transform: translate(-50%, -100%) scale(1) rotate(0deg);
  pointer-events: inherit;
}
.has-tooltip:hover + .textinput { background-color: yellow;}
.has-tooltip{color: #044C62;}
.tooltip {
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.75) rotate(5deg);
  transform-origin: bottom center;
  padding: 10px 30px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.75);
  text-align: center;
  color: #fff;
  transition: 0.15s ease-in-out;
  opacity: 0;
  width: 100%;
  max-width: 100%;
  pointer-events: none;
  z-index: 5;
}
.tooltip.blue {
  background: rgba(4,76,98, 0.75);
}
.tooltip.blue:after {
  border-top: 5px solid rgba(4,76,98, 0.75);
}
.tooltip.red {
  background: rgba(231, 29, 54, 0.75);
}
.tooltip.red:after {
  border-top: 5px solid rgba(231, 29, 54, 0.75);
}
.tooltip.green {
  background: rgba(46, 196, 182, 0.75);
}
.tooltip.green:after {
  border-top: 5px solid rgba(46, 196, 182, 0.75);
}
.tooltip.purple {
  background: rgba(165, 147, 224, 0.75);
}
.tooltip.purple:after {
  border-top: 5px solid rgba(165, 147, 224, 0.75);
}
.tooltip:hover {
  opacity: 1;
  transform: translate(-50%, -100%) scale(1) rotate(0deg);
  pointer-events: inherit;
}
.tooltip img {
  max-width: 100%;
}
.tooltip:after {
  content: "";
  display: block;
  margin: 0 auto;
  widtH: 0;
  height: 0;
  border: 5px solid transparent;
  border-top: 5px solid rgba(0, 0, 0, 0.75);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
}

.field {
  position: relative;
  padding: 20px;
}


.privacylinks{width: 100%; padding: 40px 40px 20px; background: #0F7F72; display: flex; justify-content: space-between; flex-wrap: wrap; text-align: left; margin-bottom: 40px;}
.privacylink{width: calc(50% - 10px); margin-bottom: 20px; padding: 10px; background: #fff;color: #231E21; transition: all 0.3s cubic-bezier(.25,.8,.25,1); box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); text-transform: uppercase; font-weight: 300; font-size: 14px;}
.privacylink:hover{background: #BF2128; color: #fff;}
.privacy{text-align: left;}
@media screen and (max-width: 600px) {
    .privacylink{width: 100%;}
}
.ptable{margin: 20px 0;}
.ptable tr td{padding: 20px;}
.ptable thead th{padding: 20px; background: #00134E; }
.ptable thead th p strong{font-weight: 700; color: #fff;}

.subfooter{width: 100%; text-align: center; color: #b3b3b3; font-size: 10px; padding: 0 0 10px;}
.subfooter a{color: #F7CA18;}
.subfooter a:hover{color:#fff;background: none;}



/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
  padding-top: 202px;
}


/* ==========================================================================
   LINKS & SITEMAP
   ========================================================================== */
.eachuseful{width:100%; background:#f7f7f7; padding:20px 20px 40px 20px; margin-bottom:20px; position:relative;}
.usefullink{position:absolute; bottom:0; right:0; padding:10px; background: #fff; color: #1d1d1b;}
.usefullink:hover{color: #fff; background: #BF2128;}
.smallchevron{font-size:0.7rem;}

.sitemap{width: 100%; margin: 20px auto; max-width: 1000px; padding: 20px; background: #fff; text-align: left}
.sitemapul{list-style-type: none; margin: 0; padding: 0; text-align: left}
.sitemapul li{margin-bottom:5px; padding: 10px; background: #fff;}
.sitemapul li ul li{margin-bottom:0px; background:none;}
.sitemapul li ul{list-style-type: none;}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 1300px) {
    .togglee{display: flex !important;}
}
@media screen and (max-width: 1300px) {
    .band{padding-top: 0;}

    .header{background: #fff; background: rgba(255,255,255,1); width: 100%; padding: 0; margin: 0 auto; align-items: center;  } 
    .innerheader{width:100%; justify-content: center;}

    .container{padding-top: 0; width: 100%; margin: 0 auto;}

    .logo img{max-width: 30%;}
    .toggler{display: block; width: 100%; text-align: center;}
    .togglee{display: none;}
    .boxtriangle{display: none;}
    
    
    .navigation{width: auto; text-align: right; position: absolute; top: 0px; right: 0; width: 100%; display: block; background: #fff; }
    .nav{ background: #fff;}
    .nav li{display: block; text-align: center; padding: 10px 0;}
    .nav li a{}
    .hometext{padding: 100px 20px 20px;}


    
    .logger{ padding: 10px 15px 10px; display: block;}
    
    .logger:before{background: url();}
    
    .bottomboxcover{background:rgba(255,255,255,0.9);}
}

@media screen and (min-width: 1000px) {
    .onlyless{display: none;}   
    .onlymore{display: block;}   
}
@media screen and (max-width: 1000px) {
    .accreditation{display: flex; justify-content: center; flex-wrap: wrap; padding-top: 20px;}
    .acc{display: none;}
    .foot3,.foot4{display: none;}
    .foot1:after,.foot2:after{display: none;}
    .foot1,.foot2{width: 40%;}
    .onlyless{display: block;}   
    .onlymore{display: none;}   
    .halfbox{width: 100%;}
.thirdbox{width: 100%;}
.twothirdbox{width: 100%;}
    .brokertext{order:1; }
    .twitterbox{order: 2; max-height: 300px;}
    
    .box1{order: 3;}
    .box2{order: 4;}
    .box3{order: 5;}
    .box4{order: 6;}

    .twothirdbox{margin-bottom: 20px;}

    

    .band{height: auto; max-height: 100vh; }
    .nopad{padding: 20px 20px; min-height: 120px;}
    .qbox{width: 50%; flex-grow: 1;}
    .boxheader h2{font-size: 1.1rem;}
    .mapbox{height: 300px;}
    .captioner{font-size: 1.2rem; padding: 10px;}
    
}
@media screen and (max-width: 600px) {
    .logoimage img{width: 100px;}

    .qbox{width: 100%;}
    .leftfooter{width: 96%; text-align: center; margin:0 auto 20px; border-bottom: 1px solid #fff;}
    .rightfooter{width: 100%; text-align: center; margin-bottom: 20px;}
    .lowernav a{margin: 0 5px; text-transform: uppercase; font-size: 0.9rem;}
    .eachlogo{width: 120px;}
    .eachstaff{display: block; overflow: hidden}
    .staffimage{width: 120px; float: left; margin: 0 20px 10px 0;}
    .staffbio{width: 100%;}
    .treatmenttitle{font-weight: 600; width: 100%; margin-bottom: 10px;}
.treatmentprice{font-weight: 600; width: 100%; text-align: center; background: #f2f2f2; padding: 10px 0; margin-bottom: 10px;}
    .foot1,.foot2{width: 100%; text-align: center}
    .boxheader h2{font-size: 0.9rem;}
    .eachstaff{width: 100%;}
    .phonenumber{background: #BF2128; padding: 5px; color: #fff !important; font-size: 14px; position: absolute; top: 0; left: -1%;
box-shadow: none; width: 102%; text-align: center;}
    .footsocial-circle{display: none;}
    .sticky + .content {
  padding-top: 82px;
}
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}



/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    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;
    }
}
