/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
    border: 0;
    max-width: 100%;
}

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
   ========================================================================== */
body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

section, article, nav {
    display:block;   
}
a:link, a:active, a:visited {
    color: inherit;
    text-decoration: none;
}
.tel:hover { 
/* if needed override hover color */
}
nav li {
    display: inline-block;
    text-transform: uppercase;
}
nav ul {
    padding: 0;
    margin: 0;
}
nav li.active {
    position:relative;   
}
.contentwrap {
    width:1450px;
    padding-top: 40px;
	margin: 0 auto;
}
.table {
    display: table;
    width:100%;
}
.col {
    display: table-cell;
    vertical-align: top;
}
.half {
    width: 48%;
    display: inline-block;
}
.third {
    width: 33%;
    display: inline-block;
}
/*** text ***/
h1, h2, h3, h4 {
    text-transform: uppercase;
}
.no-wrap {
    white-space: nowrap;
}
.thinner {
    font-weight: normal;
}

/* global form styles */
form input, form button {
    border:0;
}
input {
    position: relative;
}
input label .infield {
    position: absolute;
    display: inline-block;
    vertical-align: middle;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* ==========================================================================
   Header
 ========================================================================== */
header .contentwrap {
    padding-bottom: 0;
}
#mobile-menu {
    display: none;
    float: right;
    background: #62b1b0 url(../menu-icon.svg) center no-repeat;
    background-size: 24px;
    font-size: 24px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 8px;
    width: 24px;
    height: 24px;
    margin: 10px;
    margin-bottom: 0;
    cursor: pointer;
}
/***** top bar ***/
header h1 {
    margin:0;
}
.top-bar {
    position: relative;
    padding-left: 290px;
    min-height: 100px;
}
.top-bar .logo {
    position: absolute;
    left:0;
    top:0;
    width: 280px;
    height: auto;
}
#centacare {
    color: #62b1b0;
    font-size: 40px;
    line-height: 60px;
    text-align: right;
}

a.tel {
    white-space: nowrap;
}

#centacare h2, 
#lifeline h3 {
    margin: 0;
}
#lifeline {
    color: #ff6565;
    font-size: 30px;
    line-height: 40px;
    text-align: right;
}
#lifeline a {
    position: relative;
    color: #db0000;
    display: inline-block;
    padding-left: 40px;
}
#lifeline a:before{
    content:"";
    position: absolute;
    bottom:8px;
    left:10px;
    width: 30px;
    height: 24px;
    background: url(https://keo-cms.appspot.com.storage.googleapis.com/sites/centacare/app_files/img/phone.svg) no-repeat;
}
/*** header menu ***/
.clearfix {
    clear: both;
}
.header-menu {
    position: relative;
    margin-top: 20px;
    background: #1f458b;
    color: #FFF;
    text-transform: uppercase;
    font-weight: bold;
    padding-right: 52px;
}
a.fb {
    position: absolute;
    top:50%;
    right:0;
    display:inline-block;
    vertical-align:middle;
    width: 30px;
    height: 30px;
    background-image:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/centacare/app_files/img/fb-icon.png');
    background-repeat: no-repeat;
    background-size: 15px ;
    background-position: center;
    border: 1px solid #FFF;
    border-radius: 5px;
    margin: 5px;
    margin-right: 10px;
    margin-top: -16px;
    transition: background-color 0.5s ease-in-out;
}
a.fb:hover {
    background-color: #62b1b0;
}

/** top level **/
header nav li.depth-0 {
    position: relative;
    padding: 1%;
}
header li.depth-0.active {
    background: #62b1b0;
}
header li.depth-0:after {
    content:"";
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 0;
    width: 1px;
    background: #062152;
}
header li.depth-0.active:after {
    content:"";
    width: 0;
}
header li.depth-0:nth-last-of-type(-n+3):after {
    width: 0;
}
header li.depth-0:nth-last-of-type(-n+2) {
    float: right;
}
li a[href="/About-Us"] {
    color: #ffc600;
}
li a[href="/Help"] {
    color: #62b1b0;
}
header li.active a[href="/Help"],
header li a[href="/Help"]:hover {
    color: #FFF;
}

/*** level 2 ***/
header nav li.depth-0 > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFF;
    color: #1f458b;
    width: 200px;
    font-size: 14px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(50, 50, 50, 0.35);
    -moz-box-shadow:    0px 2px 5px 0px rgba(50, 50, 50, 0.35);
    box-shadow:         0px 2px 5px 0px rgba(50, 50, 50, 0.35);
    z-index: 100;
}
header nav.desktop li.depth-0:hover > ul {
    display: block;
}
header nav li.depth-1 {
    display: table;
    padding-left: 6%;
    width: 100%;
    min-height: 40px;
    border: 1px solid #f2f2f2;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
header nav li.depth-1:hover {
    background: #f2f2f2;
}
header nav li.depth-1 > a {
    display: table-cell;
    vertical-align: middle;
}

/** level 3+ ***/
header nav li.depth-1 > ul {
    display: none;
}

/* ==========================================================================
   Footer
 ========================================================================== */
footer .contentwrap {
    position: relative;
}
footer .logo {
    position: absolute;
    right:0;
    bottom:65px;
    width: 280px;
    height: auto;
}
/** sitemap navigation **/
footer nav li {
    padding: 0 1%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.site-map {
    display: table;
    background: #1f458b;
    color: #FFF;
    font-weight: normal;
    padding:20px;
    padding-right: 280px;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.site-map li.depth-0:first-of-type {
    padding-left: 0;
}
.site-map li {
    display: table-cell;
    padding: 0 30px;
}
.site-map > ul > li {
    font-weight: bold;
}
.site-map li.depth-1 {
    font-weight: normal;
    display: block;
    padding: 0;
    width: 100%;
}
.site-map li.depth-1 > ul {
    display: none;
}

/** feature navigation **/
.features {
    margin: 20px 0;
    font-weight: bold;
    color: #1f458b;
    min-height: 100px;
    padding-right: 280px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.features li  {
    width: 16%;
    padding: 0 1%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/** bykeo ***/
.bykeo { 
    display: block;
    text-align: center;
    font-size: 12px;
    padding-bottom: 20px;
}
.bykeo a {  color: grey; }
.bykeo img {
    vertical-align: middle;
    display: inline-block;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
.bykeo a:hover img{
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-transform: translateX(-200%) rotate(-360deg);
    -ms-transform: translateX(-200%) rotate(-360deg);
    transform: translateX(-200%) rotate(-360deg);
}

/* ==========================================================================
   Home Page
 ========================================================================== */
/*** banner-area table ***/
.banners.banners-home {
    block
    width: 100%;
    min-height: 396px;
}
.banner-stage {
    position: relative;
    display: inline-block;
    width: 70%;
    height: 100%;
    min-height: 396px;
}
.banner.banner-image {
    position: absolute;
    width:100%;
    height:100%;
    top:0;
    bottom:0;
    left:0;
    right:0;
    display: none;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.banner.banner-image.active {
    display: block;
}
.banner-content {
    position: absolute;
    left:0;
    bottom: 60px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase;
    background: rgba(0,0,0,0.7);
    padding:10px;
    padding-left: 30px;
    padding-right: 20px;
}

.banner-content .banner-title {
    font-size: 30px;
    margin:0;
}
.banner-content .banner-caption,
.banner-content .banner-name {
    display: none;
}

/*** banners ***/
.banner-navigation {
    display: inline-block;
    vertical-align: top;
    width: 30%;
    height: 100%;
    padding-left: 2%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.banner-navigation-body {
    display: table;
    width: 100%;
    height: 100%;
    border-collapse: collapse;
}
.banner-nav-item {
    display: table-row;
    width: 100%;
    height: 20%;
    border-bottom: 1px dashed #b7c3da;
}
.banner-nav-item .banner-name {
    display: none;
}
.banner-nav-item .banner-title {
    display: block;
    text-transform: uppercase;
    color: #1f458b;
    font-weight: bold;
    margin:4%;
    margin-bottom: 0;
}
.banner-nav-item .banner-caption {
    display: block;
    color: #000;
    margin: 4%;
    margin-top: 0;
}

.banner-nav-item {
    display: table-row;
    vertical-align: middle;
    width: 100%;
    height: 20%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
}
.banner-nav-item.active {
    background: #f2f2f2;
}
 
/*** search bar ***/
.search-bar {
    position: relative;
    display: block;
    background: #62b1b0;
    color: #FFF;
    padding: 1% 2%;
    padding-right: 30%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 40px 0;
}
.search-bar h3 {
    margin:0;
}
.search-bar form {
    position: absolute;
    top: 0;
    right:0;
    bottom:0;
    width: 30%;
    display: inline-block;
}
.search-bar input {
    width: 100%;
    height: 100%;
    border: 2px solid #62b1b0;
    padding: 1% 2%;
    padding-right: 50px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.search-bar form button {
    position: absolute;
    top:0;
    right: 10px;
    width: 30px;
    height: 100%;
    background: url(https://keo-cms.appspot.com.storage.googleapis.com/sites/centacare/app_files/img/search.svg) no-repeat;
    background-size: contain;
    z-index: 10;
    border:none;
    background-position: center;
}

/*** home content table ***/
.home .row {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 100%;
    margin-bottom: 20px;
}
.home .row.bottom {
    margin-bottom: 0;
}

.home .row .col {
    display: table-cell;
    width: 50%;
    height: 100%;
}
.home .row .col:nth-of-type(odd){
    padding-right: 2%;
}
.home .row .col:nth-of-type(even){
    padding-left:2%;
}
.home .row .col h3 {
    border-bottom: 1px dashed #b7c3da;
    padding-bottom: 20px;
    margin-top:0;
}
/** services col **/
.home .col.services {
    color: #1f458b;
}
.home .col.services .service {
    display:inline-block;
    vertical-align: top;
    width: 50%;
    -webkit-box-sizing: border-box;
    box-sizing:border-box;
}
.home .col.services .service:nth-of-type(odd){
    padding-right:2%;
}
.home .col.services .service:nth-of-type(even){
    padding-left:2%;
}

.service .wrapper {
    overflow: hidden;
    position: relative;
}
.service img {
    width: 100%;
    height: auto;
    -webkit-transition: transform 0.5s ease;
    -moz-transition: transform 0.5s ease;
    -o-transition: transform 0.5s ease;
    transition: transform 0.5s ease;
}
.service img:hover {
    -webkit-transform: scale(1.3) rotateY(15deg);
    -ms-transform: scale(1.3) rotateY(15deg);
    transform: scale(1.3) rotateY(15deg);
}

.service p {
    text-transform: uppercase;
    font-weight:600;
    margin-top: 5px;
}

/** activities col **/
.col.activities h3 {
    position:relative;
    padding-right: 50px;
    color: #1f458b;
}
.col.activities h3:after {
    content:"";
    position:absolute;
    top:0;
    right: 10px;
    width: 40px;
    height: 40px;
    background: url(https://keo-cms.appspot.com.storage.googleapis.com/sites/centacare/app_files/img/calender.svg) no-repeat;
    background-size: contain;
}

.col.activities .event {
    width:100%;
    padding: 3.9% 0;
}

.col.activities .event.active {
    position: relative;
    padding:0;
    padding-bottom: 44%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.event.active a {
    position: absolute;
    display: inline-block;
    top:0;right:0;bottom:0;left:0;
}

.event .heading {
    position: relative;
    vertical-align: middle;
    text-transform: uppercase;
    min-height: 44px;
    padding: 1%;
    color: #000;
    padding-left: 60px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.event:nth-of-type(odd){
    background: #f2f2f2;
}
.event.active .heading {
    background: #1f458b;
    color: #FFF;
}
.event .date {
    position: absolute;
    top:0;
    left:0;
    display:inline-block;
    font-weight: bold;
    text-align: center;
    line-height: 16px;
    font-size: 20px;
    padding: 1%;
    width: 55px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.event.active .date {
    color: #FFF;
}
.event .date {
    color: #ff6565;
}
.event p.small {
    font-size: 12px;
}
.event h4, 
.event p {
    margin:0;
    line-height: 16px;
}

/*** reachout col ***/
.col.reachout {
    position: relative;
    padding-top: 20%;
    background: url(https://keo-cms.appspot.com.storage.googleapis.com/sites/centacare/app_files/img/reachout.jpg) no-repeat;
    background-position: center right;
    background-size: contain;
}
.col.reachout .text {
    position: absolute;
    left:0;
    bottom: 92px;
    text-transform: uppercase;
    color: #FFF;
    background: rgba(117,180,179,0.7);
    padding:10px;
    padding-left: 30px;
    padding-right: 20px;
}
.col.reachout .text h3 {
    font-size: 40px;
    line-height: 40px;
    margin:0;
    padding:0;
    border-bottom: 0;
}
.col.reachout .text p {
    margin:0;
}
.col.reachout .text a {
    position: relative;
    display: inline-block;
    font-weight: bold;
    color: #ffdb5d;
    font-size: 50px;
    line-height: 50px;
    padding-left: 60px;
}
.col.reachout .text a:before {
    content:"";
    position: absolute;
    top:5px;
    left:0;
    width: 50px;
    height: 50px;
    background: url(https://keo-cms.appspot.com.storage.googleapis.com/sites/centacare/app_files/img/phone-yellow.svg) no-repeat;
    background-size: contain;
}

/*** local-services col ***/
.col.local-services {
    color: #1f458b;
}
.col.local-services .location {
    display: inline-block;
    vertical-align: top;
    width: 48%;
    padding-bottom:20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.location h4, 
.location p {
    margin:0;
}

/* ==========================================================================
   Content Page
 ========================================================================== */
.col.content {
    width: 80%;
    padding-right: 6%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
/* page content */
#content img,
#content table {
    max-width: 100% !important;
}
#content p:first-of-type {
    margin-top:0;
}
/* sub-page drop-downs */
.drop-title {
    display: block;
    background: #5fb1af;
    font-weight: 600;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    color: #FFF;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 0;
}
.drop-content.active .drop-title,
.drop-title:hover {
    background: #ffc600;
}

.drop-content.active .sub-content {
    display: block;
    padding: 10px;
}
.drop-content .sub-content {
    display: none;
}

/* sidebar */
.col.sidebar {
    width: 20%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.col.sidebar > div {
    padding: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 20px 0;
}
.col.sidebar > div h3,
.col.sidebar > div h4 {
    margin:0;
}
.col.sidebar > div h3 {
    font-size: 25px;
}
.col.sidebar > div p {
    margin-top:0;
}
/* call-promo include */
.col.sidebar > div.call-promo {
    background: #1f458b;
    color: #FFF;
    padding-left: 35px;
    text-transform: uppercase;
}
.call-promo a.phone {
    position: relative;
    display: inline-block;
    color: #ffdb5d;
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    padding-left: 40px;
    line-height: 20px;
    white-space: nowrap;
}
.call-promo a.phone:before {
    content: "";
    position: absolute;
    top:0;
    left:0;
    width: 30px;
    height: 30px;
    background:url(https://keo-cms.appspot.com.storage.googleapis.com/sites/centacare/app_files/img/phone-yellow.svg) no-repeat;
}

/* events */
.upcoming-events {
    background: #7ebfbe;
    color: #FFF;
}
.upcoming-events .event:nth-of-type(odd) {
    background: transparent;
}
.col.sidebar > div.upcoming-events h3 {
    font-size: 20px;
    padding-bottom: 15px;
    padding-left: 15px;
    border-bottom: 2px dashed #FFF;
    margin-bottom: 15px;
}
.upcoming-events .event .date,
.upcoming-events .event .heading {
    color: #fff;
}

/* articles */
.col.sidebar > div.related-articles {
    padding:0;
}
.related-articles h3,
.related-articles h4 {
    color: #ffc600;
}
.related-articles h4 {
     font-size: 17px;
}
.related-articles p {
    font-size: 14px;
}

.sidebar .article {

}

/* ========================================================
   Services Page
 ========================================================== */

.categories .service {
    display:inline-block;
    vertical-align: top;
    width: 22%;
    -webkit-box-sizing: border-box;
    box-sizing:border-box;
    margin: 1%;
}

/* =======================================================
   News Index Content styles
 ====================================================== */
.news-index{
    padding:40px 0;
}
.news-index .news-item {
    display:table;
    width:100%;
}
.news-index .news-item:nth-of-type(odd){
    background: #f2f2f2;
}
.news-item .col.image-col {
    width:200px;
    padding-right:20px;
}
.news-item .col.image-col  img {
    width: 100%;
}
.news-item .col {
    display:table-cell;
    vertical-align:top;
    text-align:left;
    padding: 20px;
}
.news-item .col h4,
.news-item .col .date {
    margin:0;
}
.news-item .col h4 {
    color: #1f458b;
}
.news-item .col .date {
    color: #666;
    font-size:12px;
}

/* ========================================================
   News Item view
 ========================================================== */
.news-item > img {
    padding-right: 20px;
    padding-bottom: 20px;
    max-height: 200px;
    float: left;
}

/* =======================================================
   Events Index Content styles
 ====================================================== */
.event-index .event-item {
    display:table;
    width:100%;
}
.event-index .event-item:nth-of-type(odd){
    background: #f2f2f2;
}
.event-item .col,
.event-item .image-col{
    display:table-cell;
    vertical-align:top;
    text-align:left;
    padding: 20px;
}
.event-item .image-col {
    width:200px;
    padding-right:20px;
}
.event-item .image-col img {
    width: 100%;
}
.event-item h4,
.event-item .date {
    margin:0;
}
.event-item .date {
    color: red;
}

/****** paging ******/
a.next,
a.back {
    display: inline-block;
    color: #FFF;
    font-weight: bold;
    background: #1f458b;
    padding: 10px 20px;
}

@media only screen and (max-width:760px) {
    .news-item .col {
        display:block;
        width:100%;
    }
}

/* ========================================================
   Event Item view
 ========================================================== */
.blue {
    color: #1f458b;
}
/* ==========================================================================
   Calendar Page
 ========================================================================== */
.kmscalendar .fc-event {
    background-color: #62b1b0;
}
.kmscalendar .fc-past-event {
    background-color: rgba(98,177,176,0.1);
}
.event-index {
    display:none;
}
/* ==========================================================================
   Media Queries
 ========================================================================== */

@media only screen and (max-width:1470px){
    .contentwrap{ width: 90%; }
}

@media only screen and (max-width:1400px){
    #centacare { font-size: 30px; }
    #lifeline { font-size: 20px; }
}

@media only screen and (max-width: 1300px){
    /*** page ads need to be bigger ***/
    .col.content {
        width: 70%;
        padding-right: 2%;
    }
    .col.sidebar {
        width: 30%;
    }
}

@media only screen and (max-width:1200px){
    .home .row.bottom .col {
        display: block;
        width: 100%;
        height: auto;
    }
    .home .row.bottom .col:nth-of-type(odd) {
        padding-right:0;
    }
    .home .row.bottom .col:nth-of-type(even) {
        padding-left:0;
    }
    .col.reachout {
        padding-top: 35%;
        background-size: cover;
        margin-bottom: 20px;
    }
    .col.reachout .text {
        bottom: 0;
    }
    /*** footer ***/
    .site-map {
        padding-right: 20px;
    }
}

@media only screen and (max-width:1050px){
/** center header top bar **/
    header .contentwrap {
        padding-top:0;
    }
    .top-bar {
        padding-left: 0;
        text-align: center;
    }
    .top-bar .logo {
        position: static;
        max-width: 100%;
        margin: 20px 0;
    }
    #centacare {
        font-size: 20px;
        line-height: 25px;
        text-align: center;
    }
    #lifeline {
        font-size: 18px;
        line-height: 40px;
        text-align: center;
    }
/** reorganise banner to fullsize **/
    .banner-table,
    .banner-stage {
        display: block;
        width: 100%;
    }
    .banner.banner-image {
        position: absolute;
    }
    .banner-text {
        bottom:0;
    }
    .banner-navigation {
        display: block;
        width: 100%;
        padding-left:0;
    }
    .banner-nav-item {
        display: inline-block;
        width: 50%;
        height: 100px;
        border: 1px dashed #b7c3da;
        overflow: hidden;
    }
    .banner-nav-item:nth-of-type(even){
        border-left: 0;
    }
    .banner-navigation .row {
        display: none;   
    }
    .banner-navigation .row.active {
        display: table;
    }
    .banner-navigation .row a {
        padding: 2%;
    }
/*** pages make single column ***/
    .col.content,
    .col.sidebar {
        display: block;
        width: 100%;
        padding: 0;
    }
    /** promos **/
    .col.sidebar > div.call-promo,
    .col.sidebar > div {

    }
    .col.sidebar > div.call-promo {
        display: block;
        text-align: center;
        margin: 0 1%;
        margin-top: 20px;
    }
    .col.sidebar > div {
        display: inline-block;
        vertical-align: top;
        width: 48%;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        margin: 20px 1%;
    }
}

@media only screen and (max-width:950px){
    .site-map li {
        display: inline-block;
        vertical-align: top;
        text-align: left;
        width: 30%;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
}

@media only screen and (max-width:800px){
/** banner smaller **/
    .banners.banners-home,
    .banner-stage {
        min-height: 300px;
    }
/** footer **/
     footer {
        text-align: center;
    }
    .features {
        padding-right:0;
        min-height: auto;
    }
    footer .logo {
        position: static;
        max-width: 100%;
        margin: 20px 0;
    }
}

@media only screen and (max-width:750px){
/** header top bar  **/
    #lifeline {
        line-height: 25px;
    }
    #lifeline a:before {
        bottom:2px;
        height: 20px;
    }
/*** mobile menu ***/
    #mobile-menu {
        display: inline-block;
        position:relative;
        z-index: 110;
    }
    .header-menu {
        display: none;
        position: absolute;
        text-align: center;
        top: 120px;
        width: 90%;
        padding-right:0;
        z-index: 100;
        margin:0;
    }
    a.fb {
        position: static;
        margin-top: 5px;
    }
    header li,
    header li a {
        display: block;
        width: 100%;
        text-align: center;
        line-height: 40px;
        min-height: 40px;
        padding:0;
    }
    header nav li.depth-0 {
        padding: 0;
        border: 1px solid #FFF;
    }
    header li.depth-0:after {
        display: none;
    }
    header li.depth-0:nth-last-of-type(-n+2) {
        float: none;
    }
    header li a[href="/help"]:hover{
        color: #FFF;
    }

    /*** expand level 2 ***/
    li.depth-0.active {
        border-bottom: 0;
    }
	li.depth-0.active > ul {
	    display: block;
	    position: static;
	    width: 100%;
        -webkit-box-shadow: 0 0 0 0;
        -moz-box-shadow: 0 0 0 0;
        box-shadow: 0 0 0 0;
	}
	header nav li.depth-1 {
	    padding-left: 0;
	    min-height: 40px;
	}
    .header-menu ul .expand {
		position: absolute;
		top: 0;
		right: 0;
		height: 40px;
		width: 40px;
		cursor: pointer;
	}
	.header-menu ul .expand i {
		content:"";
        position: absolute;
        top: 0;
        right: 0;
		display: block;
		height: 40px;
		width: 40px;
        background: rgba(255,255,255,0.3);
		background-image: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/centacare/app_files/menu-drop.svg');
        background-repeat:no-repeat;
        background-position: center;
        background-size: 20px 20px;
        margin: 0;
	}
	.active > .expand i {
		-webkit-transform: rotate(180deg);
		-moz-transform: rotate(180deg);
		-ms-transform: rotate(180deg);
		-o-transform: rotate(180deg);
		transform: rotate(180deg);
	}

/** Banners ***/
    .banners.banners-home,
    .banner-stage {
        min-height: 250px;
    }
    .banner-content {
        bottom: 5px;
        padding: 2%;
    }
    .banner-content .banner-title {
        font-size: 20px;
    }
    .banner-nav-item {
        height: 50px;
    }
    .banner-nav-item .banner-caption {
        display: none;
    }
/** home middle **/
    .home .row.top .col {
        display: block;
        width: 100%;
        height: auto;
    }
    .home .row.top .col:nth-of-type(odd), 
    .home .row.top .col:nth-of-type(even) {
        padding:0;
    }
/** home reachout **/
    .col.reachout .text h3,
    .col.reachout .text a {
        font-size: 24px;
        line-height: 24px;
    }
    .col.reachout .text a {
        padding-left: 30px;
    }
    .col.reachout .text a:before {
        width: 24px;
        height: 24px;
    }
/** footer **/
    .site-map {
        text-align: left;
    }
    .site-map li {
        width: 30%;
    }
    .features li {
        display: inline-block;
        vertical-align: top;
        width: 32%;
    }

/**** Calendar ***/
    .kmscalendar {
        display:none;
    }
    .event-index {
        display:block;
    }
}

@media only screen and (max-width:600px){
/** home **/
    .col.reachout .text {
        position: static;
        display: block;
        text-align: center;
        padding: 20px;
    }
    .col.reachout .text a {
        margin-top:10px;
    }
    .col.reachout .text a:before {
        top: 5px;
    }
    /** wrap emails in local-services **/
    .col.local-services .location {
        width: 100%;
    }
    .location .email {
        word-wrap: break-word;
    }
/*** page layout ***/
    .col.sidebar > div.call-promo {
        text-align: left;
    }
    .col.sidebar > div {
        display: block;
        width: 100%;
    }
}

@media only screen and (max-width:500px){
/** home adjsutments **/
    /** banner **/
    .banners.banners-home,
    .banner-stage {
        min-height: 200px;
    }
    .banner-text h3 {
        font-size: 18px;
    }
    /** search bar **/
    .search-bar {
        padding-right: 1%;   
    }
    .search-bar form {
        position: relative;
        height: 40px;
        width: 100%;
    }
    /** home event **/
    .col.activities .event.active {
        padding-bottom: 200px;
    }
    /** services **/
    .home .col.services .service {
        width: 100%;
    }
    .home .col.services .service:nth-of-type(odd), 
    .home .col.services .service:nth-of-type(even){
        padding:0;
    }
    /*** reachout text ***/
    .col.reachout .text h3 {
        font-size: 20px;
        line-height: 20px;
    }
    .col.reachout .text p {
        font-size: 12px;
    }
    .col.reachout .text a {
        padding-left: 40px;
        font-size: 30px;
        line-height: 30px;
        white-space: nowrap;
    }
    .col.reachout .text a:before {
        top: 3px;
        width: 30px;
        height: 30px;
    }
    /** footer **/
    .site-map li {
        padding: 0;
        width: 50%;
        line-height: 40px;
    }
    .features {
        margin:0;
    }
    .features li {
        width: 100%;
        height: 40px;
        line-height: 40px;
    }
}

@media only screen and (max-width:450px){
/*** banner ***/
    .banner-nav-item {
        width: 100%;
    }
    .banner-nav-item:nth-of-type(even){
        border-left: 1px dashed #b7c3da;
    }
}

@media only screen and (max-width:400px){
/*** header ***/
    header .contentwrap {
        padding-top: 0;
    }
/*** banner ***/
    .banner-nav-item {
        display: none;
    }
/*** index reachout phone# ***/
    .col.reachout .text a {
        white-space: normal;
    }
}

@media only screen and (max-width: 390px){
    .header-menu {
        top: 50px;
    }
/*** home reachout ***/
    .col.reachout .text a {
        padding-left: 0;
    }
    .col.reachout .text a:before {
        display: none;
    }
/*** sitemap hide ***/
    footer .contentwrap {
        padding-top: 0;
    }
    .site-map {
        display: none;
    }
}



