/* Basic Structure */
body {
    font-family: 'Montserrat', 'Open Sans', Helvetica, Arial, sans-serif;
    background-color: #FFFEFC;
    color: #3C4653;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: #3C4653;
}

h1, h2 {
    font-weight: 600;
}

h2 {
    font-size: 42px;
    padding-bottom: 1em;
    margin-bottom: 0;
}

h3 {
    font-size: 23px;
    line-height: 37px;
    font-weight: 300;
}

h4 {
    font-size: 23px;
    line-height: 37px;
    font-weight: 400;
}

a {
    color: #5293FF;
}

a:hover {
    color: #3C4653;
    text-decoration: none;
}

em {
    font-style: normal;
}

ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.flex-center-left {
    display: -webkit-box; 
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: baseline;
    align-items: baseline;
    flex-direction: column;
    align-items: flex-start;
}

.flex-center-center {
    display: -webkit-box; 
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
}

.flex-center-right {
    display: -webkit-box; 
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: baseline;
    align-items: baseline;
    flex-direction: column;
    align-items: flex-end;
}

.divider {
    margin: 5rem auto;
    text-align: center;
}

#content.site-content {
    padding-bottom: 7.75rem;
}
  

/* Button */
.btn {
    border: none;
    border-radius: 50px !important;
    padding: 7px 20px;
    color: #fff;
    font-size: 14px;
}

.btn-primary {
    background-color: #5293FF;
}


/* Header Nav */
body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    color: #222;
    padding: 0 2rem;
    font-size: 14px;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover {
    color: #5293FF;
    font-size: 14px;
    font-weight: 500;
}

#logo img {
    width: 125px;
}


/* Masthead */
#page-sub-header {
    padding-top: 11rem;
    padding-bottom: 15rem;
}

#page-sub-header > .container > div {
    padding-left: 0;
}

body:not(.theme-preset-active) #page-sub-header h1 {
    line-height: 4.25rem;
    color: #222;
    text-shadow: 0 1px 0 #fff;
    margin-top: 5px;
}

header#masthead{
    background-color: #ffffff;
    padding: 1.25rem 1rem;
    box-shadow: none;
}

#page-sub-header em {
    font-style: normal;
    font-size: 28px;
    text-shadow: 0 1px 0 #fff;
    font-weight: 300;
    text-transform: uppercase;
    color: #222;
}

#page-sub-header svg {
    width: 15px;
    fill: #5293FF;
}

#page-sub-header a:hover svg {
    fill: #222;
}

#page-sub-header a {
    font-weight: 300;
}

#page-sub-header a:hover {
    color: #222;
}


/* Landing */
#take-action > .row {
    margin-top: 5px;
}

#take-action p {
    font-size: 16px;
    line-height: 28px;
}

#what-we-do svg,
#what-we-do em,
#what-we-do strong {
    display: block;
}

#what-we-do h3 {
    margin: 0 auto;
}

#what-we-do em {
    font-size: 20px;
    font-weight: 400;
    margin-top: 15px;
    line-height: 30px;
}

#what-we-do strong {
    font-size: 23px;
}

#what-we-do > .row {
    margin-top: 50px;
}


/* Announcement */
.announcement-block {
    padding: 7px 20px;
    color: #fff;
}

.announcement-block p {
    margin: 0;
    color: #fff !important;
}

.announcement-block.one {
    background-color: #086EFC;
}

.announcement-block.two {
    background-color: #5293FF;
}


/* Kindred Homes */
#supported-living-services p, 
#licensed-homes p,
#senior-homes p {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 3rem;
}


/* Sub Page */
.page-template-home .entry-header,
.page-template-home .entry-footer,
.page-template-kainos-page .entry-header,
.page-template-kainos-page .entry-footer {
    display: none;
}

.page-template-kainos-page #content.site-content {
    padding: 0;
}

.page-template-kainos-page #content.site-content > .container {
    max-width: 100%;
    padding: 0;
}

.page-template-kainos-page .entry-content {
    margin-top: 0;
}

.page-template-home h2, 
.page-template-kainos-page h2 {
    text-align: center;
}

.page-template-kainos-page #blog {
    padding-bottom: 7.75rem;
}

.sub-page-main-content {
    padding-top: 4.125rem;
    margin-top: 1.5em;
}


/* Blog */
#blog strong {
    text-transform: uppercase;
    display: block;
}

#blog h5 {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}

#blog img {
    -webkit-border-top-left-radius: 15px;
    -webkit-border-top-right-radius: 15px;
    -moz-border-radius-topleft: 15px;
    -moz-border-radius-topright: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

#blog a {
    color: #3C4653;
    background: #FFFFFF;
    box-shadow: 0 0 18px 0 rgba(0,0,0,0.20);
    border-radius: 15px;
    display: block;
    margin: 0 auto;
    position: relative;
}

#blog a:hover {
    color: #3C4653;
}

#blog a .read-more {
    color: #5293FF;
}

#blog a:hover .read-more {
    color: #3C4653;
}

#blog a > div {
    padding: 20px;
}


/* Footer */
#footer-widget {
    padding: 50px 0;
}

#footer-widget, .site-footer {
    background-color: #0CC4B2 !important;
}

#footer-widget .widget {
    line-height: 35px;
}

#footer-widget .widget-title,
footer .site-info {
    color: #fff
}

#footer-widget .widget-title {
    font-weight: 600;
}

#footer-widget a {
    color: #fff;
}

#footer-widget a:hover {
    text-decoration: underline;
}


/* Media Query */
@media (min-width: 1440px) { 
    #blog a {
        height: 420px;
    }
}

@media (max-width: 1365.98px) { 
    #take-action p {
        width: 88%;
    } 

    #what-we-do h3 {
        width: 80%;
    }

    #blog a {
        width: 90%;
    }

    #blog a {
        height: 420px;
    }
}

@media (max-width: 1199.98px) { 
    #take-action p {
        width: 100%;
    } 

    #what-we-do h3 {
        width: 100%;
    }

    #what-we-do > .row {
        margin-top: 80px;
    }

    #blog a {
        width: 100%;
    }

    #blog > div {
        margin-bottom: 5rem;
    }
}

@media (max-width: 991.98px) { 

}

@media (max-width: 767.98px) { 
    #take-action > .row > div + div {
        margin-top: 3rem;
    }

    #what-we-do .flex-center-left {
        margin: 2rem 0 0 0;
        align-items: center;
    }

    #what-we-do .flex-center-right {
        order: 1;
        align-items: center;
        margin-top: 2rem;
    }

    #blog a {
        height: auto;
    }
    
}

@media (max-width: 575.98px) { 

}



