@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300; src: local('Open Sans Light'), local('OpenSans-Light'), url(/_assets/_fonts/opensans/opensans-light.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-light.woff) format('woff'); font-display: swap; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; src: local('Open Sans Regular'), local('OpenSans-Regular'), url(/_assets/_fonts/opensans/opensans-regular.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-regular.woff) format('woff'); font-display: swap; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; src: local('Open Sans Bold'), local('OpenSans-Bold'), url(/_assets/_fonts/opensans/opensans-semibold.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-semibold.woff) format('woff'); font-display: swap;  }

/*****************

Centre for Health Systems CSS (Base camp build)

*****************/

body {
    background: url(gfx/background-inner.png) center 0px repeat-x;
}
#wrapper {
    background: url(gfx/banner-inner.jpg) center 0px no-repeat;
}
.titleinner img {
    display: none;
}
#title h1 {
  background: url(gfx/title.png) 0 110px no-repeat;
  color: #1b568c;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-size: 35px;
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 0 23px;
  opacity: 1;
  padding: 355px 0 21px 0px;
  position: static;
  margin-top: 3px;
  max-width: 627px;
}
.titleinner h1 {
  margin-top: 0px;
}
#content h2 {
  padding-bottom: 7px;
  font-size: 28px;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-weight: 300;
  line-height: 1.3;
  margin-top: 28px;
}
#content h2:first-of-type {
  margin-top: 0;
}
#content p + h2:first-of-type {
  margin-top: 28px;
}

#content p,
#content ul,
#content ol,
#content li,
#content table,
#content dl,
#content form fieldset label,
#content form fieldset input,
#content form fieldset textarea,
#right p,
#right li {
 font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
 font-weight: 400;
 text-rendering: optimizeLegibility;
}
#content table td,
#content table td p {
 font-size: 15px;
 line-height: 1.6;
}
#content li {
    margin-bottom: 7px;
}
#content th,
#content td,
#right p,
#right li {
 font-size: 13px;
}
#right p,
#right ul {
 margin-bottom: 14px;
}
#content a {
 transition: all 0.3s ease-out;
}

#right {
  background: none;
}

body.frontpage {
  background: url(gfx/background.png) center 0px repeat-x;
}
body.frontpage #wrapper {
  background: url(gfx/banner.jpg) center 0px no-repeat;
}
body.frontpage #title h1 {
  background: url(gfx/title.png) 0px 142px no-repeat;
  line-height: 1.3;
  padding-top: 440px;
}
body.frontpage #title h1.notopimage {
  max-width: 882px;
}
body.frontpage #right {
  background-image: none;
  clear: both;
  margin: -250px 0 0 0;
  padding: 0;
}
body.frontpage #right {
  background-image: none;
  clear: both;
  margin: -250px 0 0 0;
  padding: 0;
}
body.frontpage #content {
  width: 882px;
}
body.frontpage #content .shadow-box {
  min-height: 288px;
}

/*  Feature boxes  */

#content .shadow-box,
#content.otgx .shadow-box {
    box-shadow: 0 5px 20px #f5f5f5;
    border: 1px solid #dddddd;
    border-radius: 4px;
    margin-top: 27px;
    margin-bottom: 35px;
    margin-right: 5.7%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.no-boxshadow #content .shadow-box:hover {
    border: 1px solid #cccccc;
}
#content.otgx .grid_third.shadow-box {
    width: 29.5%;
    box-sizing: border-box;
}
#content.otgx .grid_third.shadow-box img {
    border-radius: 2px 2px 0 0;
}
#content .shadow-box.grid_third h3 {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    margin: 0 14px;
    padding: 0 0;
}
#content .shadow-box.grid_third h3 a {
    display: block;
    padding: 0 0;
}
#content .shadow-box.grid_third h3:after {
    background: #f9c000;
    content: '';
    display: block;
    height: 3px;
    margin: 14px 14px 14px 0;
    transition: all 0.3s ease-out;
    width: 40px;
}
#content .shadow-box.grid_third:hover h3:after {
    width: 50%;
    background: #7dabff;
}
#content .shadow-box.grid_third p {
    padding-left: 14px;
    padding-right: 14px;
    font-size: 13px;
    line-height: 1.5;
}
#content .shadow-box.grid_third img {
    margin: 0;
    padding: 0;
    border: none;
}
#content .shadow-box.grid_third a {
    border-bottom: none;
}
#content .shadow-box.grid_third a p {
    color: #444444;
}
#content.otgx .grid_third:nth-of-type(3n+1){
    margin-right: 0;
}



@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi) {
  #title h1,
  body.frontpage #title h1 {
    background-image: url(gfx/title@2x.png);
    background-size: 490px;
  }
}



/* Tablet styles */

@media only screen and (max-width: 1024px) and (min-width: 769px) {
    #content .grid4 .grid_half {
        width: 302px;
    }
    body.frontpage #wrapper {
        background: url(gfx/banner.jpg) -180px 0px no-repeat;
    }
    #wrapper {
        background: url(gfx/banner-inner.jpg) -200px 0px no-repeat;
    }
    body.frontpage #content {
        box-sizing: border-box;
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    #wrapper {
        background-position: -400px 0;
    }
    #title h1 {
        padding-right: 0;

    }
    body.frontpage #content {
        box-sizing: border-box;
        width: 100%;

    }
    body.frontpage #title h1 {
        padding-right: 0;
    }
    #right {
        border-bottom: none;
    }
    body.frontpage #right {
        margin: 0;
    }
}



/* Mobile styles*/

@media only screen and (max-width: 700px) {
    body,
    body.frontpage {
        background: none;
    }
    #wrapper,
    body.frontpage #wrapper {
        background-image: url(gfx/banner-inner.jpg);
        background-position: -200px 0;
        background-size: 1000px;
    }
    .titleinner {
        width: 92%;
    }
    #title h1.notopimage,
    body.frontpage #title h1 {
        background-position: 0 55px;
        background-size: 300px;
        line-height: 1.2;
        margin-left: 0;
        max-width: 100%;
        padding-right: 0;
        padding-top: 215px;
    }
    body.frontpage #content.otgx {
        max-width: 97%;
        width: 97%;
    }
    body.frontpage #content.otgx .grid_third.shadow-box {
        margin-right: 5%;
        width: 29.9%;
    }
    body.frontpage #content.otgx .grid_third.shadow-box:nth-of-type(3n+1) {
        margin-right: 0;
    }
    #content .grid_third img {
        float: none;
        max-width: 100%;
    }
}



@media only screen and (max-width: 430px) {
    body.frontpage #content.otgx .grid_third.shadow-box {
        margin-bottom: 23px;
        margin-right: 0%;
        margin-top: 0;
        min-height: auto;
        width: 100%;
    }
    body.frontpage #content.otgx .grid_third.shadow-box img {
        border-radius: 0;
        float: right;
        margin-left: 14px;
        margin-right: 14px;
        margin-top: 14px;
        max-width: 30%;
    }
}
