/***** FONTS *****/
@font-face {
  font-family: 'font';
  src: url('fonts/font-light.woff');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'font';
  src: url('fonts/font-roman.woff');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'font';
  src: url('fonts/font-bold.woff');
  font-weight: 600;
  font-style: normal;
}
/***** GENERAL *****/
html, body {
  margin:0;
  padding:0;
}
body {
  text-align:center;
  background: #fff;
  font-family: 'font', Helvetica, Arial;
  font-weight: 300;
}
.sb-active .overlay {
  background: rgba(0, 0, 0, 0.65);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9999;
  transition: .2s all ease;
}
a {
  outline:none !important;
  text-decoration: none;
  font-weight: 600;
  transition: .3s all ease;
}
a:hover {
  color: #000;
  text-decoration: underline;
}
.container {
  max-width:1100px;
  margin-right: auto;
  margin-left: auto;
  position:relative;
  z-index:1;
}
.section {
  text-align: left;
  position: relative;
}
img.img-responsive{
  display:inline-block;
}
.both{
  clear: both;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'font', Helvetica, Arial;
  font-weight: 600;
}
p {
  font-family: 'font', Helvetica, Arial;
  font-size: 16px;
  line-height: 22px;
  margin-bottom: .6rem;
}
p.featured {
  font-size: 19px;
  line-height: 26px;
}
strong {
  font-family: 'font', Helvetica, Arial;
  font-weight: 600;
}
h1 {
  font-size: 82px;
  line-height: 68px;
  letter-spacing: -0.02em;
  margin-bottom: 25px;
}
h2 {
  font-size: 42px;
  line-height: 47px;
  letter-spacing: -.01em;
  margin-bottom: 30px;
}
h3 {
  font-size: 27px;
  font-weight: 300;
  line-height: 32px;
  letter-spacing: 0;
  margin-top: 25px;
  margin-bottom: 20px;
}
h4 {
  font-size:35px;
  font-weight: 600;
  line-height: 45px;
  letter-spacing: -0.02em;
  margin-top: 15px;
}
.button-large {
  color: #fff;
  background: #000;
  font-weight: 600;
  font-size: 18px;
  padding: 10px 30px 12px;
  margin-top: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  transition: 0.2s all ease;
  outline: none;
  display: inline-block;
  border: 3px solid rgba(1,1,1,0);
}
.button-large:hover {
  border: 3px solid #000;
  background: rgba(1,1,1,0);
  text-decoration: none;
}
/*** HEADER ***/
nav {
  padding-top: 25px;
  padding-bottom: 30px;
  background: rgba(255, 255, 255, 0.6);
  transition: .3s all ease;
}
.navbar {
  padding: .8rem 1rem;
}
.nav-link {
  display: block;
  padding: 0;
  color: #000;
  letter-spacing: .01em;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 3px solid rgba(1,1,1,0);
  transition: .3s all ease;
}
li.nav-item {
  padding: 0 15px;
}
li.nav-item:last-child {
  padding-right: 0;
}
.nav-link:focus, .nav-link:hover {
  border-bottom: 3px solid #000;
}
img.main-logo {
  height: 45px;
}
img.secondary-logo {
  display: none;
}
nav.scrolled {
  background: rgba(160, 174, 217, 0.9);
}
nav.scrolled img.main-logo {
  height: 25px;
}
nav.scrolled .nav-link {
  font-size: 14px;
}
nav.scrolled .main-logo {
  display: none
}
nav.scrolled img.secondary-logo {
  display: block;
  height: 32px;
}
ul.main {
  list-style: none;
  padding: 20px 0px;
}
#menu-mobile .nav-link {
  font-size: 19px;
  text-align: left;
  margin-bottom: 12px;
}
#menu-mobile .navbar-brand {
  padding: 20px 15px;
  width: 100%;
}
#menu-mobile img.main-logo {
  height: auto;
  width: 100%;
}
#menu-mobile .nav-link:focus, #menu-mobile .nav-link:hover {
  border-bottom: 3px solid rgba(1,1,1,0);
}
.sb-slidebar {
  height: 100%;
  overflow-y: auto;
  position: fixed;
  top: 0;
  z-index: 0;
  display: none;
  background-color: #d9dfef;
  -webkit-transform: translate(0px);
}
.hamb_line {
  display: block;
  height: 3px;
  width: 25px;
  margin-bottom: 5px;
  background-color: #000;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}
/*** TOP ***/
#top {
  background: url(../images/localhealth/bed-background.png), #a0aed9;
  padding: 200px 0 140px;
  background-size: 1100px;
  background-repeat: no-repeat;
  background-position: right -150px bottom -1px;
}
#top h3 {
  color: #000;
  line-height: 25px;
  margin-bottom: 40px;
}
#top h3 span {
  background: #fff;
  padding: 0 3px;
}
#top .bottom {
  padding-top: 10px;
}
/*** CHARACTERISTICS ***/
#characteristics {
  padding: 105px 0;
}
#characteristics img.icon {
  width: 100px;
  height: 100px;
}
#characteristics .box {
  text-align: center;
  padding: 20px;
  transition: .3s all ease;
}
#characteristics h3 {
  text-align: center;
  margin-bottom: 30px;
}
#characteristics .circle {
  background: #f5f9fc;
  border-radius: 100px;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  transition: .2s all ease;
}
/*** STAY IN TOUCH ***/
#stayintouch {
  background: #02F0D8;
  text-align: center;
  padding: 80px 0 35px;
}
/*** FOOTER ***/
footer {
  padding: 35px 0 30px;
}
footer img.logo {
  max-width: 100px;
  margin-bottom: 15px;
}
p.copyright {
  font-size: 12px;
  line-height: 18px;
  margin-bottom: 0px;
}
ul.footer-links {
  display: flex;
  padding-left: 0px;
  justify-content: flex-end;
}
.footer-links li {
  list-style: none;
  padding: 0 10px;
}
.footer-links li a {
  font-size: 14px;
  color: #000;
  border-bottom: 2px solid rgba(1,1,1,0);
}
.footer-links li a:hover {
  text-decoration: none;
  border-bottom: 2px solid;
  padding-bottom: 2px;
}
/* COOKIES */
.cookieinfo {
  padding: 15px 25px 12px !important;
}
.cookieinfo a {
  font-family: 'font', Helvetica, Arial;
  font-weight: 600;
}
.cookieinfo-close {
  color: rgb(255, 255, 255)!important;
  background: rgb(0, 0, 0)!important;
  font-family: 'font', Helvetica, Arial!important;
  font-weight: 600;
  border-radius: 0px!important;
  padding: 8px 20px!important;
  min-width: 50px!important;
  font-size: 16px!important;
}

@media (min-width:576px) {
  .navbar-expand-sm .navbar-nav .nav-link {
    padding-right: 0rem;
    padding-left: 0rem;
  }
  nav.scrolled {
    padding: 5px 0;
  }
  #top h1 {
    max-width: 500px;
  }
}
@media (min-width:992px) {
  h4 {
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 15px;
  }
}
@media (min-width:1024px) {
  .container {
    width: 1200px
  }
}
@media (min-width:1500px) {
  #top {
    background-position: right -2% bottom -1px;
    background-size: 1200px;
  }
}
@media (min-width:1900px) {
  #top {
    background-position: right 15% bottom -1px;
    background-size: 1200px;
  }
}
@media (max-width:1023px) {
  h1 {
    font-size: 76px;
    line-height: 62px;
  }
  #top {
    padding: 180px 0 115px;
    background-size: 1050px;
    background-position: right -225px bottom -10px;
  }
  h4 {
    font-size: 21px;
    line-height: 24px;
  }
  h2 {
    font-size: 43px;
    line-height: 47px;
  }
}
@media (max-width:991px) {
  h1 {
    font-size: 74px;
    line-height: 64px;
  }
  h2 {
    font-size: 37px;
    line-height: 42px;
  }
  h4 {
    font-size: 23px;
    line-height: 28px;
  }
  #top {
    background-position: right -325px bottom -10px;
  }
  #characteristics {
    padding: 65px 0 45px;
  }
  #characteristics .box {
    padding: 20px;
    margin-bottom: 55px;
  }
  #characteristics .box:last-child {
    margin-bottom: 0px;
  }
  footer .right-side {
    order: 1;
  }
  footer .left-side {
    order: 2;
  }
  ul.footer-links {
    justify-content: center;
  }
  footer img.logo {
    max-width: 100px;
    display: block;
    margin: 15px auto 15px;
  }
  p.copyright {
    text-align: center;
  }
  .footer-links li a {
    font-size: 16px;
  }
  .footer-links li {
    padding: 0 15px;
  }
}
@media (max-width:767px) {
  #top {
    background-position: right -380px bottom -10px;
    background-size: 1000px;
    padding: 160px 0 90px;
  }
  img.main-logo {
    height: 42px;
  }
  nav {
    padding-top: 20px;
    padding-bottom: 10px;
  }
  h1 {
    font-size: 74px;
    line-height: 66px;
  }
  h4 {
    font-size: 30px;
    line-height: 36px;
    margin-top: 20px;
  }
  h5 {
    font-size: 22px;
    line-height: 24px;
    margin: 10px 0 5px;
  }
  p, p.featured {
    font-size: 18px;
    line-height: 25px;
  }
  ul.footer-links {
    flex-wrap: wrap;
  }
  .footer-links li {
    margin-bottom: 10px;
  }
}
@media (max-width:575px) {
  h1 {
    font-size: 44px;
    line-height: 42px;
    margin-bottom: 12px;
    text-align: center;
  }
  h3 {
    font-size: 23px;
    line-height: 27px;
    margin-top: 15px;
    text-align: center;
  }
  .navbar-brand {
    text-align: center;
    display: block;
  }
  h4 {
    font-size: 26px;
    line-height: 31px;
  }
  #top .bottom {
    padding-top: 20px;
  }
  .navbar {
    padding: .5rem 1rem .4rem;
  }
  #stayintouch {
    padding: 55px 0 15px;
  }
  #top {
    background-position: center bottom -40px;
    background-size: 600px;
    padding: 100px 0 210px;
  }
  #top h3 {
    margin: 10px auto 30px;
  }
  #top p {
    text-align: center;
  }
  #top .button-large {
    margin: 5px auto 15px;
    display: table;
  }
  #characteristics .box {
    margin-bottom: 25px;
  }
}
@media (max-width:424px) {
  #top {
    background-position: center bottom -9px;
    background-size: 400px;
    padding: 110px 0 160px;
  }
  h1 {
    font-size: 50px;
    line-height: 45px;
    margin-bottom: 20px;
  }
  h2 {
    font-size: 32px;
    line-height: 35px;
  }
  h3 {
    font-size: 22px;
    line-height: 26px;
    margin-top: 10px;
  }
  h4 {
    font-size: 23px;
    line-height: 27px;
  }
  h5 {
    font-size: 19px;
    line-height: 24px;
    margin: 10px 0 5px;
  }
  p, p.featured {
    font-size: 18px;
    line-height: 23px;
  }
  #stayintouch {
    padding: 45px 0 0px;
  }
  .footer-links li {
    margin-bottom: 5px;
  }
  .button-large {
    font-size: 16px;
  }
}
