/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 .page-section {
    width: 100%;
    position: relative;
}

.container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}


.is-hidden {
    display: none;
}

/*---spacing set----*/

.p-40 {
    padding: 40px;
}

.p-40-mpb {
    padding: 40px;
}

.py-80-discover {
    padding-top: 80px;
    padding-bottom: 80px;
}

.py-15 {
    padding-top: 15px;
    padding-bottom: 15px;
}

.py-0 {
    padding-top: 0px;
    padding-bottom: 0px;
}

.px-0 {
    padding-left: 0px;
    padding-right: 0px;
}

.px-20 {
    padding-left: 20px;
    padding-right: 20px;
}
.px-40 {
    padding-left: 40px;
    padding-right: 40px;
}

.px-50 {
    padding-left: 50px;
    padding-right: 50px;
}

.pr-40 {
    padding-right: 40px;
}

.pt-0 {
    padding-top: 0px;
}

.pt-30 {
    padding-top: 30px;
}

.mr-40 {
    margin-right: 40px;
}

.mb-30 {
    margin-bottom: 30px
}

.max-600 {
    max-width: 600px;
}

.max-800 {
    max-width: 800px;
}

.max-900 {
    max-width: 900px;
}

.max-1000 {
    max-width: 1000px;
}

.m-auto {
    margin: 0 auto;
}

.min-ht {
    min-height: 300px;
}

@media (min-width: 1200px) and (max-width: 1276px)  {
    .min-ht {
        min-height: 350px;
    }
}

@media (min-width: 1095px) and (max-width: 1200px)  {
    .min-ht {
        min-height: 300px;
    }
}

@media (min-width: 1010px) and (max-width: 1095px)  {
    .min-ht {
        min-height: 330px;
    }
}

@media (min-width: 997px) and (max-width: 1009px)  {
    .min-ht {
        min-height: 340px;
    }
}

@media (min-width: 961px) and (max-width: 997px)  {
    .min-ht {
        min-height: 370px;
    }
}



@media (max-width: 960px) {
    .py-80 {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .py-80-discover {
        padding-top: 40px;
        padding-bottom: 0px;
    }

    .py-60 {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .py-40 {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .pr-40 {
        padding-right: 0px;
    }

    .p-40-mpb {
        padding: 10px;
    }
}

@media (max-width: 1240px) {
    .max-600 {
        max-width: 100%;
    }
}

/*---text-size and colour---*/

p.text-20 {
    font-size: 20px!important;
    line-height: 1.1em!important;
}

.bg-is-hero h1.has-text-white {
    line-height: 1.1;
    margin: 0px;
    padding: 0px;
}


h2.text-20 a {
    font-size: 20px!important;
    line-height: 1.1em!important;
    cursor: pointer!important;
}

.text-28 {
    font-size: 28px;
    line-height: 1.2em!important;
}

a h2.text-28 {
    color: #00558C!important;
}

.left-roll p {
    margin-bottom: 0px;
    padding-top: 5px;
}

.left-roll h2.text-20.is-navy {
    margin-top: 0px;
    padding-top: 0px;
    padding-bottom: 5px;
    line-height: 1em;
}

.left-roll h2.text-24.is-navy {
    font-size: 24px!important;
    font-weight: bold!important;
    line-height: 1.2em!important;
    cursor: pointer!important;
    margin-top: 0px;
    padding-bottom: 3px;
    padding-top: 3px;
}

.left-roll p.text-14 {
    font-size: 14px!important;
    line-height: 1.2em!important;
}

h2.text-40 {
    font-size: 40px!important;
    line-height: 1.2em!important;
    padding-top: 0px;
}

.text-48 {
    font-size: 48px!important;
    line-height: 1.2em!important;
}

h2.text-48 a {
    font-size: 48px!important;
    line-height: 1.2em!important;
    padding-top: 0px;
    cursor: pointer!important;
}

.right h2.text-20 {
    line-height: 1em!important;
}

.latest-post-container h2.text-28 {
    font-size: 28px!important;
    line-height: 1.25!important;
}


h3.text-28 {
    font-size: 28px!important;
    line-height: 1.25!important;
    font-weight: 400!important;
}


a.no-line {
    text-decoration: none;
    cursor: pointer!important;
}

.has-text-bold {
    font-weight: 700!important;
}

.has-text-white {
    color: #fff;
}

.latest-post-container article.latest-post h1 a, .latest-post h2 a {
    color: #00558C;
}

.latest-post .post-link.py-20 {
    color: #00558C!important;
}

h2 a:hover {
    text-decoration: underline!important;
}

a h2 {
    color: #00558C!important;
}

.item-3 a,
.featured-post-container a,
.latest-post a,
.latest-post:hover a {
    text-decoration: none!important;
}

a.block-link:hover {
    text-decoration: none!important;
} 

.item-3 h2.text-28:hover,
.featured-post-container h2.text-28:hover,
article h1:hover,
.latest-post h2.text-40:hover {
    text-decoration: underline;
}

.latest-post h1.text-28 {
    color: #00558C!important; 
    padding-bottom: 20px!important;
}

.latest-post:hover h2.text-28.is-navy {
    text-decoration: underline;
}

.latest-post-container h1.text-28:hover {
    text-decoration-color: #00558C;;
}

.post-link:hover,
a.no-line:hover {
    text-decoration: underline;
}

.item-3 .is-flex h2 {
    line-height: 1.2;
}

/*---flex-rules---*/
.is-flex {
    display: flex;
    flex-wrap: wrap;
}

.contnet-space-between {
    justify-content: space-between;
}

.content-space-start {
    justify-content: flex-start;
}

.align-items-center {
    align-items: center;
}

.align-items-start {
    align-items: flex-start;
}

.no-wrap-desktop {
    flex-wrap: nowrap;
}

.item-2 {
    width: calc(50% - 30px);
}

.item-3  {
    width: calc(33% - 20px);
}

.item-33 {
    flex: 1 1 33.3%;
}

.item-67 {
    flex: 1 1 66.7%;
}

.item-51 {
    flex: 1;
    margin-right: 40px;
    padding-bottom: 45px;
}

.item-52 {
    flex: 1;
    margin-right: 0px;
}

.featured-post-container {
    flex: 1;
    margin-right: 10px;
}

.other-posts-container {
    flex: 1.5;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.gap-20 {
    gap: 20px;
}

.gap-60 {
    gap: 60px;
}

.post {
    position: relative;
    margin-bottom: 40px;
}


.post:nth-child(odd) {
    margin-right: 40px;
}


/* flex on mobile */

@media (max-width: 960px) {

    .flex-column {
        flex-direction: column;
    }

    .item-2 {
        width: 100%;
    }

    .item-3  {
        width: 100%;
        margin-bottom: 24px;
    }

    .tiles-3 .item-3  {
        width: 100%;
        margin-bottom: 40px;
    }

    .is-flex.is-reversed {
        flex-direction: column-reverse;
    }

    .featured-post-container {
        flex: 1;
        width: 100%;
        margin-right: 0px;
        margin-bottom: 24px;
    }

    .other-posts-container {
        flex: 1;
        width: 100%;
        display: block;
        margin-bottom: 24px;
    }

    .post:nth-child(odd) {
        margin-right: 0px;
    }

    .gap-60 {
        gap: 30px;
    }

    .no-wrap-desktop {
        flex-wrap: wrap;
    }


}

/* ---------------------- */


/*--images--*/
.top-line {
    width: 100%;
}

.divider {
    width: 62px;
    height: 2px;
    background-color: #92CCF0;
    border: none;
    margin-left: 0;
    margin-top: 20px;
    margin-bottom: 20px;
}

.short-purple {
    position: relative;
    width: 65px;
    height: 2px;
    background-color: rgba(132, 110, 173, 0.3);
    border: none;
    margin-left: 0;
    margin-top: 20px;
    margin-bottom: 20px;;
}

.has-top-line {
    background-image: url('../img/line-1.png');
    background-repeat: no-repeat;
    background-size: 100% 10px;
    background-position: top center;
}

.has-short-line-1 {
    background-image: url('../img/short-line-1.png');
    background-repeat: no-repeat;
    background-size: 100% 10px;
    background-position: top center;
}

.has-short-line-2 {
    background-image: url('../img/short-line-2.png');
    background-repeat: no-repeat;
    background-size: 100% 10px;
    background-position: top center;
}

.has-short-line-3 {
    background-image: url('../img/short-line-3.png');
    background-repeat: no-repeat;
    background-size: 100% 10px;
    background-position: top center;
}

.has-short-line-4 {
    background-image: url('../img/short-line-4.png');
    background-repeat: no-repeat;
    background-size: 100% 10px;
    background-position: top center;
}

.has-short-line-5 {
    background-image: url('../img/short-line-5.png');
    background-repeat: no-repeat;
    background-size: 100% 10px;
    background-position: top center;
}

.has-short-line-6 {
    background-image: url('../img/short-line-6.png');
    background-repeat: no-repeat;
    background-size: 100% 10px;
    background-position: top center;
}

.careers {
    background-image: url('../img/Careers.png');
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: bottom right;
}

@media (min-width: 1241px) {
    .bg-is-hero {
        background-image: url('../img/home-h.png');
        background-repeat: no-repeat;
        background-size: 100%;
        background-position: center;
    }
}

@media (max-width: 1240px) {
    .bg-is-hero {
        background-color: #003b71;
    }
}


/* Different top-border images for each post */
.post-1 {
    background-image: url('../img/short-line-1.png');
}

.post-2 {
    background-image: url('../img/short-line-2.png');
}

.post-3 {
    background-image: url('../img/short-line-3.png');
}

.post-4 {
    background-image: url('/../img/short-line-4.png');
}


/* Position the background at the top center as a border */
.post-1, .post-2, .post-3, .post-4 {
    background-repeat: no-repeat;
    background-size: 100% 10px;
    background-position: top center;
}

.is-tile:nth-of-type(1) {
    background-image: url('../img/short-line-1.png');
    background-repeat: no-repeat;
    background-size: 100% 10px;
    background-position: top center;
}

.is-tile:nth-of-type(2) {
    background-image: url('../img/short-line-4.png');
    background-repeat: no-repeat;
    background-size: 100% 10px;
    background-position: top center;
}


.is-tile:nth-of-type(3) {
    background-image: url('../img/short-line-5.png');
    background-repeat: no-repeat;
    background-size: 100% 10px;
    background-position: top center;
}

.icon {
    width: 15px;
    height: 15px;
}

.tile-icon {
    height: 50px;
    width: auto;
}

/*---colors---*/

.is-grey {
    background-color: #E5EBF1;
}

.is-white {
    background-color: #fff;
}

h2.is-navy a {
    color: #00558C;
    cursor: pointer!important;
}


/*--discover more section --*/

img.lines {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 20%;
}


.with-careers-text {
    position: relative;
    display: block;
    width: 65%;
}

.with-img {
    position: relative;
    display: block;
    width: 35%;
    padding: 0 60px;
}


img.journal {
    width: 100%;
}

@media (min-width: 960px) and (max-width: 1470px) {
    img.lines {
        position: absolute;
        bottom: 0;
        left: 0;
        max-width: 16%;
    }
}

@media (max-width: 960px) {
    img.lines {
        position: relative;
        bottom: 0;
        left: 0;
        max-width: 200px;
    }

    .with-careers-text {
        width: 100%;
    }

    .with-img {
        width: 100%;
        padding: 0px;
    }

    img.journal {
        max-width: 300px;
        float: left;
        margin-bottom: 30px;
    }
}


/*-- accordion styles--*/

.accordion {
    width: 100%;
}

.accordion-item {
    border-left: 2px solid #009CBD;
    transition: border-left-width 0.3s ease;
    margin-bottom: 30px;
    padding-left: 20px;
}

.accordion-item.open {
    border-left: 8px solid #009CBD;
}

.accordion-header {
    padding: 5px;
    cursor: pointer;
    font-size: 20px;
    font-weight: normal;
    color: #000;
}

.accordion-content {
    display: none;
    padding: 15px 5px;
    color: #000;
}

.accordion-content a {
    color: #0078B3;
    font-size: 28px;
    line-height: 32px;
    text-decoration: none;
    cursor: pointer!important;
}

.accordion-content a:hover {
    text-decoration: underline;
}


.accordion-content.open {
    display: block;
}

.accordion-header:hover {
    color: #0078B3!important;
}

.accordion-item:hover {
    border-left: 8px solid #009CBD;
}

@media only screen and (max-width: 1024px) {
    .accordion-header {
        font-size: 24px;
    }
}

/*--mainlchimp form on home new--*/

.home-subscribe .mc_embed_signup_scroll {
    width: 100%;
    background-color: #E5EBF1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.home-subscribe.is-white .mc_embed_signup_scroll {
    background-color: #fff;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.home-subscribe .mc_embed_signup input.email {
    width: 400px !important;
    font-size: 12px !important;
    background-color: #fff;
    height: 46px;
}


.home-subscribe input.mc-embedded-subscribe.button {
    height: 44px;
    margin-top: 5px;
    margin-left: 10px;
    width: 100px;
    font-size: 15px;
}

.home-subscribe.is-white input.mc-embedded-subscribe.button {
    margin-left: 0px;
}

.home-subscribe .mceemail {
    display: flex;
    margin-right: 49%;
    flex-direction: column;
    margin-bottom: 5px;
    font-weight: normal;
    font-size: 12px;
}

.home-subscribe.is-white label.mceemail {
    color: #000;
}

@media (max-width: 959px) {
    .home-subscribe .mc_embed_signup,
    .itme-2.home-subscribe.is-white .mc_embed_signup {
        width: 80%!important;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
    }

    .home-subscribe.is-white .mc_embed_signup_scroll,
    .home-subscribe.is-white .mc_embed_signup {
        background: rgba(0, 0, 0, 0)!important;
    }


    .home-subscribe input.mc-embedded-subscribe.button {
        margin-top: 5px;
        margin-left: 0px;
        width: 120px;
        font-size: 15px;
    }

}

/*--insights page*/

.is-flex-insights {
    display: flex;
    width: 100%;
    gap: 60px;
}

.left {
    flex: 1.8;
    padding: 40px;
}

.left-roll {
    flex: 2;
}

.right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.top-right, .bottom-right {
    flex: 1;
    padding: 40px;
}

.is-tile {
    padding: 48px;
    margin-bottom: 24px;
    margin-left: 20px;
}

.with-blocks {
    position: relative;
    overflow: hidden;
}

.item-3 h2 {
    padding-top: 20px;
}

@media (min-width: 960px) {
    .blocks-img {
        position: absolute;
        top: 0;
        right: 0;
        margin-right: -10px;
        width: 20%;
    }
}

/* -insights section mob - */
@media (max-width: 960px) {

    .is-flex-insights {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 60px;
    }

    .left {
        flex: 1;
    }
    .top-right {
        margin-bottom: 40px;
    }

    .item-3 h2 {
        padding-top: 10px;
    }

    .is-tile {
        margin-left: 0px;
    }

    .blocks-img {
        display: none;
        /*position: absolute;
        bottom: 0;
        right: 0;
            top: 40%;
        margin-right: -20px;
          width: 40%;*/
    }


}

/* ---------------------- */

.border-btm {
    border-bottom: 1px solid rgba(0, 59, 113, 0.10);
}

.wpex-has-primary-bottom-spacing #primary {
    padding-bottom: 0px;
}

.any-loop:nth-of-type(3) hr {
    display: none;
}

/*---event on Home page---*/

.events-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}

.event-item {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex: 1 1 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
    /*background-color: #bde6fb;
    border: 1px solid #bde6fb;*/
    background-color: #def2fd;         /*#d1edfc*/
    border-radius: 1px;
    box-sizing: border-box;
    padding: 20px;
    margin: 0px;
    gap: 20px;
}

/* For exactly 2 events: Divide equally across the row */
.events-wrapper.two-items .event-item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
}

/* For exactly 1 event: Full width */
.events-wrapper.one-item .event-item {
    flex: 1 1 100%;
    max-width: 100%;
}

.event-details h2.text-20 {
    font-size: 20px!important;
    padding: 10px;
    color: #00558C!important;
}

a {
    text-decoration: none;
}

.event-date h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.event-date .month {
    font-size: 22px;
    font-weight: medium!important;
}

.event-date .day {
    font-size: 34px;
    font-weight: bold;
}

@media (max-width: 960px) {
    .events-wrapper {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }

    .event-item {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
        background-color: #bde6fb;
        border: 1px solid #bde6fb;
        border-radius: 1px;
        box-sizing: border-box;
        padding: 20px;
        margin: 0 0 20px 0;
        gap: 20px;
        border-top: 20px solid transparent;
    }

    .events-wrapper.two-items .event-item,
    .events-wrapper.one-item .event-item {
        width: 100%;
        max-width: 100%;
    }
}



/*----------tegline in the top navigation desktop and footer colour - GLOBAL CHANGES ------------------------- */

#site-navigation::before {
    content: "Physician-led care that puts patients first";
    display: block;
    margin-top: 15px;
    text-align: left;
    font-size: 21px;
    color: #0078b3;
}

#footer {
    border-top:1px solid #ccc;
}

.postid-7992 img.blog-single-media-img {
    display: none;
}

/*--adding box shadow for mobile */

@media (max-width: 960px) {
    .page-section.is-white .item-3:not(:last-child) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 30px;
    }
}

#footer-widgets .textwidget p a {
    text-decoration: none;
}

#footer-widgets .textwidget p a:hover {
    text-decoration: underline;
}