/* Healthwatch Local WIB sites */

/*
 █████  ██████  ███    ███ ██ ███    ██
██   ██ ██   ██ ████  ████ ██ ████   ██
███████ ██   ██ ██ ████ ██ ██ ██ ██  ██
██   ██ ██   ██ ██  ██  ██ ██ ██  ██ ██
██   ██ ██████  ██      ██ ██ ██   ████
*/

/*** Admin menu ***/
@media (max-width:991px) {
    #admin-menu {
        display: none;
    }
    html body.admin-menu {
        margin-top: 0 !important;
    }
}

/*** Block contectual menu ***/
div.contextual-links-wrapper a {
    font-size: 13px !important;
    font-weight: normal;
}

/*** Main page admin tabs ***/ 
.tabs--primary {
    margin-bottom: 0;
    padding:0.5em 55px 0;
    background-color: #EDF1F3;
    font-size: 0.75em;
}
.tabs--primary > li {
    margin-left:0;
}
.tabs--primary > li > a {
    padding: 0.2em 0.5em 0.1em;
}
.tabs--primary > li > a:hover,
.tabs--primary > li > a:focus {
    text-decoration: none;
    background-color: #E1E4E5;
}

/*** Alert messages ***/

.alert {
    z-index: 999;
    position: relative;
}
.alert:first-of-type {
    margin-top:1.6em;
}

/*** Accessibility ***/

#skip-link a {
    background-color:#00415B;
    color:#fff;
}


/*
████████ ██    ██ ██████  ███████        ██        ██████   █████  ███████ ███████
   ██     ██  ██  ██   ██ ██             ██        ██   ██ ██   ██ ██      ██
   ██      ████   ██████  █████       ████████     ██████  ███████ ███████ █████
   ██       ██    ██      ██          ██  ██       ██   ██ ██   ██      ██ ██
   ██       ██    ██      ███████     ██████       ██████  ██   ██ ███████ ███████
*/

html, body {
    font-size: 18px;
    font-weight: 400;
    color: #00133F;
    font-family: 'Lato', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    background-color: #00415B;
    line-height: 1.5;
}
/*a.logo img {
    height: 38px;
    width: auto;
}*/
/* HW Local override */
/*#navbar.site-name */a.logo img {
    height: auto;
    width: 260px;
}

/**
 * reece@circle -> IE 11 fix
 * 06/11/2018, related to ticket 29846:
 * https://intranet.circle-interactive.co.uk/site/healthwatch-england-public-website/ticket/29846#comment-137064
 */
 @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    a.logo img {
        height: auto;
        width: 100%;
    }
}
/** end/reece@circle */

a {
    color: #E73E97;
    /* siteimprove */
    color: #CC3A8E;
    text-decoration: underline;
}
/* siteimprove */
.wrap.grey a,
.paragraphs-item-text-in-grey-box a {
    color: #B23482;
}
a:hover, a:focus {
    color: #CC3A8E;
    /* siteimprove */
    color: #B23482;
    text-decoration: none;
}
a:focus {
    outline: 1px solid #CC3A8E;
}

p {
    margin: 0 0 1.2em;
}
p.small-print {
	font-size: 0.85em;
    color: #607988;
}
h1.page-header {
    padding-bottom: 0;
    margin: 0 0 0.75em;
    border-bottom: none;
    color:#fff;
}
#title-header h1.page-header:last-child {
    margin-bottom:0;
}
h1, h2, h3, h4,
.h2, .h3, .h4 {
    font-weight: 700;
    margin:1.2em 0 0.75em;
    line-height: 1.2;
}
h1 {
    font-size: 1.9em;
}
h2, .h2 {
    font-size: 1.6em;
}
h2:first-child {
    margin-top:0;
}
h3, .h3 {
    font-size:1.3em;
}
h3:first-child {
    margin-top:0;
}
h4, .h4 {
    font-size:1em;
}
h4:first-child {
    margin-top:0;
}
ul, ol {
    margin:0 0 1.5em;
    padding:0;
}
ul li, ol li {
    margin:0 0 0.5em 1.2em;
    padding:0;
}
ol li {
    margin-left:1.6em;
}
.main-content ul, .main-content ol {
    /* https://perishablepress.com/margin-list-floated-image/ */
    width: auto; overflow: hidden;
}
.main-content ul:last-child, .main-content ol:last-child {
    margin-bottom:0;
}

/*** Media Queries ***/

@media (max-width:991px) {
    h1.page-header {
        margin-bottom:0.5em;
    }
}
@media (max-width:767px) {
    h2 {
        font-size: 1.4em;
    }
    h3 {
        font-size: 1.2em;
    }
}
@media (max-width:600px) {
    h2 {
        font-size: 1.3em;
    }
}
@media (max-width:480px) {
    body {
        line-height: 1.4;
    }
}


/*
██████  ███████  ██████  ██  ██████  ███    ██ ███████
██   ██ ██      ██       ██ ██    ██ ████   ██ ██
██████  █████   ██   ███ ██ ██    ██ ██ ██  ██ ███████
██   ██ ██      ██    ██ ██ ██    ██ ██  ██ ██      ██
██   ██ ███████  ██████  ██  ██████  ██   ████ ███████
*/

.well {
    min-height: 20px;
    padding: 1rem;
    margin-bottom: 1.2em;
    background-color: #EDF1F3;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}


.navbar .logo {
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.region:after {
    content: "";
    display: table;
    clear: both;
}
.main-content .container {
    padding-top:3%;
    padding-bottom:3.5%;
    padding-top:2em;
    padding-bottom:2.5em;
}
body.node-type-event .main-container {
    padding-top:0;
}
.container {
    padding-right: 1.291%;
    padding-left: 1.291%;
    margin-right: auto;
    margin-left: auto; 
}
/* .main-container,
.hero-banner .container {
    font-size: 0;
} */


.container > .navbar-header, .container-fluid > .navbar-header, 
.container > .navbar-collapse, .container-fluid > .navbar-collapse {
    margin-right: 0;
    margin-left: 0;
}

/*** Media Queries ***/

@media (max-width:767px) {

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .region-sidebar-second {
        padding-top:2rem;
    }

}


/***********************************************/
/******************** Header *******************/
/***********************************************/


#page-header {
    background:#006B8D;
}

.main-container {
    /* background-color: #fff; */
    /* min-height: 24em; */
}

/*.navbar-btn {
    margin:0.2em 0 0;
}*/
/* HW Local override */
/*#navbar.site-name */.navbar-btn {
    margin:0;
}
/* @media screen and (min-width: 1120px) { */
    .navbar.container {
        max-width: 1440px;
        width: auto;
        padding-left:0;
        padding-right:0;
        margin-top:0;
    }
    .wrap {
        max-width: 1440px;
        margin:0 auto;
        background-color:#fff;
    }
/* } */
.wrap.grey {
    background-color: #EDF1F3;
}
.wrap:last-child {
    padding-bottom:2em;
}
.footer.wrap {
    background: transparent url('../images/bg-footer.png') center top / cover no-repeat;
}

/* .navbar.container, .navbar.container-fluid {
    margin-top:0;
    padding-top:0;
    padding-bottom:0;
} */
.navbar-default {
    border: none;
    /* border-bottom-color: #CBD0DE; */
    border-radius: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top:0;
    padding-bottom:0;
}
.navbar-header {
    background-color: #EDF1F3;
    padding-top:22px;
    padding-bottom:22px;
    padding-top:1em;
    padding-bottom:1.1em;
    display: block;
    
}
/* HW Local override */
/*#navbar.site-name */.navbar-header {
    padding-bottom:0.9em; 
}
@media (min-width: 768px) {
    .navbar-header {
        float: none;
    }
}

.navbar-default .navbar-collapse {
    background-color: #fff;
    /* padding-top:1.6em;
    padding-bottom:1.6em; */
    border-top: 1px solid #CBD0DE;
}
.region-navigation {
    /* height: 80px; */
    /* height: 5em; */
    position: relative;
}

#title-header {
    padding:1.6em 0 2.2em;
}
#title-header > *:last-child {
    margin-bottom:0;
}

/* .navbar-header .container,
#navbar-collapse .container {
    padding:0;
} */

/*** Hide mobile menu items in main menu ****/
@media (min-width:980px) {
    #navbar .navbar-collapse .nav li.mobile {
        display: none;
    }
}


/*** Logo and site name ***/

.navbar-brand {
    float: left;
    height: 50px;
    padding: 0.7em 1em;
    font-size: 18px;
    line-height: 20px;
    text-decoration: none;
}
@media (max-width:991px) {
    .navbar-brand {
        display: none;
    }
}

/*** Media Queries ***/

@media (min-width:1250px) {

    .navbar-header, 
    .navbar-default .navbar-collapse,
    .footer {
        padding-left: 40px;
        padding-right: 40px;
    }
    .navbar-header .container,
    #navbar-collapse .container,
    .footer .container {
        width:auto;
        /* padding-left: 1.291%;
        padding-right: 1.291%; */
    }

}
@media (max-width:1200px) and (min-width:1048px) {

    .navbar-header, 
    .navbar-default .navbar-collapse {
        padding-left: 40px;
        padding-right: 40px;
    }
    .navbar-header .container,
    #navbar-collapse .container {
        width:auto;
    }
}
@media (max-width:991px) and (min-width:828px) {

    .navbar-header, 
    .navbar-default .navbar-collapse {
        padding-left: 40px;
        padding-right: 40px;
    }
    .navbar-header .container,
    #navbar-collapse .container {
        width:auto;
    }
}
@media (max-width:979px) {
    
    /* HW Local override */
    /*#navbar.site-name */.navbar-header {
        padding-bottom:0.5em; 
    }

    /*** Header message: 'BETA Healthwatch website' ***/
    .navbar-brand {
        float: left;
        clear:both;
        height: auto;
        padding: 15px 0 15px 0;
        font-size: 16px;
        line-height: 16px;
    }
    /* HW Local override */
    /*#navbar.site-name */.navbar-brand {
        display: none;
    }
    
    

}
@media (max-width:600px) {

    /* a.logo img {
        height: 32px;
    } */

}
@media (max-width:500px) {

    /* HW Local override */
    /*#navbar.site-name */.navbar-header {
        padding-bottom:0; 
    }

    /* a.logo {
        float: none !important;
        display: block;
        margin-left:auto;
        margin-right:auto;
        text-align: center;
    } */

    /*a.logo img {
        height: 32px;
    }*/
    /* HW Local override */
    /*#navbar.site-name */a.logo img {
        width: 242px;
    }
    /* .navbar-btn {
        margin-top:0.5em;
    } */
    
}
@media (max-width:435px) {

    /* .navbar-btn {
        margin-top:0.4em;
    } */

}
@media (max-width:396px) {

    /*a.logo img {
        height: 28px;
    }*/
    /* HW Local override */
    /*#navbar.site-name */a.logo img {
        width: 212px;
    }
    /* .navbar-btn {
        margin-top:0.5em;
    } */

}
@media (max-width:343px) {

    .navbar-brand {
        font-size: 15px;
    }
    /* a.logo img {
        height: 26px;
    } */
    /* HW Local override */
    /*#navbar.site-name */a.logo img {
        width: 196px;
    }
    /* .navbar-btn {
        margin-top:0.5em;
    } */

}


/* .container {
    padding-left:55px;
    padding-right:55px;
} */
/* .navbar.container, .navbar.container-fluid {
    margin-top: 0;
    margin-bottom: 0;
} */





/* @media (max-width:1248px) {

    .navbar-header .container,
    #navbar-collapse .container {
        padding-right: 1.291%;
        padding-left: 1.291%;
        margin-right: auto;
        margin-left: auto;
    }
    .navbar-header .container,
    #navbar-collapse .container {
        width: 1170px;
    }
    
} */



/***********************************************/
/*************** Page title region *************/
/***********************************************/

#page-header {
    background:#006B8D url('../images/bg-page-title.png') left top / 1440px auto no-repeat;
}
/* .title-container {
    padding-top:0;
    padding-bottom:0;
} */

.title-container p.lead-para {
    margin-bottom:0.75em;
    font-weight: 700;
    color: #fff;
    font-size: 1.1em;
}


/***********************************************/
/************ Main Container Layout ************/
/***********************************************/

/*** Content ***/


/*** Sidebar ***/



/***********************************************/
/******************** Footer *******************/
/***********************************************/

.footer {
    /* padding-left:55px;
    padding-right:55px; */
    padding-top:42px;
    border:none;
}
.region-footer {
    font-weight: 700;
    font-size: 0.85em;
}


/*
███    ███ ███████ ███    ██ ██    ██ ███████
████  ████ ██      ████   ██ ██    ██ ██
██ ████ ██ █████   ██ ██  ██ ██    ██ ███████
██  ██  ██ ██      ██  ██ ██ ██    ██      ██
██      ██ ███████ ██   ████  ██████  ███████
*/

ul.nav li {
    margin:0;
    padding:0;
}
.nav > li > a {
    padding: 0.5em 1em;
    outline: none;
    text-decoration: none;
}


/***********************************************/
/***************** Header menu *****************/
/***********************************************/

.region-site-header {
    float:right;
}
/* .navbar-header .block-menu-block {
    float:right;
} */
.navbar-header .block-menu-block .nav > li {
    display: inline-block;
    font-weight: 700;
    margin-bottom:0;
}
.navbar-header .block-menu-block .nav > li.first {
    margin-left:0;
}
.navbar-header .block-menu-block .nav > li a {
    background-color: #E54397;
    /* siteimprove */
    background-color: #CC3A8E;
    color: #fff;
    border-radius: 2px;
}
.navbar-header .block-menu-block .nav > li a:hover,
.navbar-header .block-menu-block .nav > li a:focus {
    background-color: #CC3A8E;
    /* siteimprove */
    background-color: #B23482;
}

@media (max-width:979px) {

    .region-site-header {
        margin-bottom:0.75em;
        display: none;
    }

}
@media (max-width:600px) {

    .region-site-header {
        font-size: 0.85em;
    }

}
@media (max-width:500px) {

    .region-site-header {
        margin-top:1.5em;
        float:none;
        text-align: center;
    }

}

/***********************************************/
/****************** Main menu ******************/
/***********************************************/

#block-menu-block-1 {
    float:left;
}
@media (min-width:980px) {
    #block-menu-block-1 {
        display: block !important;
    }
}
/* .navbar-collapse .nav {
    font-size: 0;
} */
.navbar-collapse .nav {
    margin:0;
    padding:0;
    margin-left:-0.3rem;
    font-size: 0;
    height: 78px;
}
.navbar-collapse .nav > li {
    position: relative;
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    /* height: 4.2em; */
    margin: 0 1em 0 0;
    line-height: 1;
}
.navbar-collapse .nav > li > a {
    color:#00133F;
    height: 100%;
    border-bottom: 4px solid transparent;
    padding:1.3em 0.3rem 1.4em;
    /* display: inline-block; */
}
.navbar-collapse .nav > li > a:hover,
.navbar-collapse .nav > li > a:focus {
    background-color: transparent;
    text-decoration: none;
}
.navbar-collapse .nav > li > a span.underline,
.navbar-collapse .nav > li > a span.underline {
    border-bottom:2px solid transparent;
}
.navbar-collapse .nav > li > a:hover span.underline,
.navbar-collapse .nav > li > a:focus span.underline {
    border-bottom-color:#00133F;
}
.navbar-collapse .nav > li.active-trail > a:hover span.underline,
.navbar-collapse .nav > li.active-trail > a:focus span.underline {
    border-bottom-color:#00133F;
}
.navbar-collapse .nav > li.active > a,
.navbar-collapse .nav > li.active-trail > a {
    /* text-decoration: underline; */
    border-bottom-color: #004F6B;
    background-color: transparent;
}

.navbar-collapse .nav li.dropdown > .dropdown-toggle .caret {
    /* background-image: url('../images/dropdown.png'); */
    background-image: url('../images/ico-chevron-down.svg');
    background-repeat: no-repeat;
    width: 17px;
    height: 17px;
    border: none;
    background-size: contain;
    border: 0;
    /* margin-top: 1px; */
    margin-bottom: -5px;
    margin-left:0.5em;
}

/*** Dropdown menu ***/

@media (min-width:980px) {

    /* http://jeromejaglale.com/doc/drupal7/bootstrap_menu_dropdown_over */
    ul.nav li.dropdown:hover ul.dropdown-menu,
    /* siteimprove */
    ul.nav li.dropdown > a.dropdown-toggle:focus ul.dropdown-menu {
        display: block;
    }

    .navbar-collapse ul.nav li.dropdown ul.dropdown-menu {
        margin-top: 0;
        border-radius: 0;
        border:none;
        border-bottom: 4px solid #004f6b;
        border-top:1px solid #cbd0de;
        width:100%;
        min-width: auto;
        min-width: 18em;
        font-size: 0.85em;
    }
    .navbar-collapse ul.nav li.dropdown ul.dropdown-menu li {
        margin-bottom:1px;
    }
    .navbar-collapse ul.nav li.dropdown ul.dropdown-menu li a {
        color:#607988;
        font-weight: 700;
        padding: 0.5em 1em;
        line-height: 1.2;
    }
    .navbar-collapse ul.nav li.dropdown ul.dropdown-menu li a:hover,
    .navbar-collapse ul.nav li.dropdown ul.dropdown-menu li a:focus {
        background-color:#edf1f3;
        color:#00133F;
    }
    .navbar-collapse ul.nav li.dropdown ul.dropdown-menu li a.active {
        background-color:#edf1f3;
        color:#00133F;
    }
    
    
    /*** Pages with manual active styling ***/
    
    /** News and reports - Search **/
    body.page-news-and-reports li.menu-mlid-465 a {
        border-bottom-color: #004F6B;
    }
    body.page-news-and-reports .navbar-collapse .nav > li.menu-mlid-465 > a:hover span,
    body.page-news-and-reports .navbar-collapse .nav > li.menu-mlid-465 > a:focus span {
        border-bottom-color:transparent;
    }
    /** Your local Healthwatch - List **/
    body.page-your-local-healthwatch li.menu-mlid-689 a {
        border-bottom-color: #004F6B;
    }
    body.page-your-local-healthwatch .navbar-collapse .nav > li.menu-mlid-689 > a:hover span,
    body.page-your-local-healthwatch .navbar-collapse .nav > li.menu-mlid-689 > a:focus span {
        border-bottom-color:transparent;
    }
    
}

/*** Main menu media queries ***/

@media (min-width:980px) and (max-width:991px) {

    .navbar-collapse .nav {
        height: 70px;
    }
    .navbar-collapse .nav > li {
        font-size: 18px;
    }
    .navbar-collapse .nav > li ul.dropdown-menu {
        font-size: 13px;
    }
}

/***********************************************/
/***********************************************/
/***************** FOOTER MENUS ****************/
/***********************************************/
/***********************************************/

.footer .block-menu-block {
    float:right;
    clear:right;
}
.footer .block-menu-block .nav > li {
    display: inline-block;
    /* padding-left:0.5em;
    padding-right:0.5em; */
    margin-left:0.5em;
    margin-right:0.5em;
    line-height: 1;
}
.footer .block-menu-block .nav > li:first-child {
    margin-left:0;
}
.footer .block-menu-block .nav > li:last-child {
    margin-right:0;
}
.footer .block-menu-block .nav > li a {
    color: #fff;
    padding:0;
}
.footer .block-menu-block .nav > li a:hover,
.footer .block-menu-block .nav > li a:focus {
    /* border-bottom:2px solid #fff; */
    text-decoration: underline;
    background-color: transparent;
}

/***********************************************/
/*************** Footer menu large ***************/
/***********************************************/

.block.footer-menu-large {
    margin: 1em 0 2.25em;
}
.block.footer-menu-large .nav > li {
    font-size: 1.3em;
    margin-bottom:0;
}

/***********************************************/
/************** Footer menu small **************/
/***********************************************/

.block.footer-menu-small .nav > li:last-child  {
    border-left: 1px solid #839DA7;
    padding-left:1.25em;
}
/* .footer-menu-small .nav > li:last-child a {
    padding-left:0.5em;
} */

/*** Media Queries ***/

@media (max-width:991px) {

    .footer .block.footer-menu-small {
        float:none;
        margin-left:auto;
        margin-right:auto;
        display: block;
        clear:both;
        text-align: center;
        margin-top:3em;
    }
    .block.footer-menu-small .nav > li:last-child {
        display: block;
        border-left:0;        
        padding-left:0;
        margin-left:0;
    }
    .block.footer-menu-small .nav > li:last-child a {
        border-top:1px solid #839DA7;
        padding:0.75em 2em;
        margin-top:0.75em;
        display: inline-block;
    }
    /* .block.footer-menu-large {
        margin-bottom: 3em;
    } */

}
@media (max-width:660px) {

    .block.footer-menu-large {
        clear:both;
        float:none;
        text-align: center;
        margin: 3em 0 1em;
    }
    .footer .block.footer-menu-small {
        margin-top:2em;
    }
    
}


/*
██████  ██       ██████   ██████ ██   ██ ███████
██   ██ ██      ██    ██ ██      ██  ██  ██
██████  ██      ██    ██ ██      █████   ███████
██   ██ ██      ██    ██ ██      ██  ██       ██
██████  ███████  ██████   ██████ ██   ██ ███████
*/

.block {
    position: relative;
}
.main-content .block {
    /* background-color: #EDF1F3; */
    /* padding:1.2em 1.6em 1.6em; */
    margin-bottom:2.582%;
}
.main-content .block-views,
.main-content .block-chartblock,
#block-system-main,
.main-content .block:last-child {
    margin-bottom:0;
}
.main-content .wrap.grey .block {
    background-color: transparent;
    padding:0;
}
h2.block-title {
    margin-top:0;
    margin-bottom:1em;
}

.grey-block h2.block-title {
    margin-bottom:0.75em;
}

.block-block .btn {
    margin-top:0.75em;
}


/*** Fix find out more button ***/

.main-content .block .content.last-button {
    position: relative;
}
.main-content .block .content.last-button p:last-child a.btn {
    position: absolute;
    bottom:1.2em;
}
.main-content .block-block .content.last-button,
.main-content .block-imageblock .content.last-button .block-body {
    padding-bottom:5.5em;
}

/* .main-content .region .block-views {
    margin-top:0.5rem;
} */


/*** Media Queries ***/

@media (max-width:991px) {

    /* .block.mobile-margin-top {
        margin-top:1.5em;
    } */
    .block.title-block-margin:not(.two-columns) {
        margin-top:1.5rem;
    }
    .block.title-block-margin:first-child {
        margin-top:0;
    }

}
/* @media (max-width:600px) {

    .block.title-block-margin:not(.two-columns) {
        margin-top:1.5rem;
    }
    .block.title-block-margin:first-child {
        margin-top:0;
    }

} */

/***********************************************/
/**************** Admin blocks *****************/
/***********************************************/

/***** Masquerade block ******/

.block-masquerade {
    margin-bottom:3rem;
}

@media (max-width:991px) {

    .block-masquerade {
        display: none;
    }

}

/***********************************************/
/**************** Search block *****************/
/***********************************************/

.navbar .block-search {
    margin:0.75em 0 0 !important;
    /* line-height: 1; */
    font-size: 1em;
    width:20%;
    border-bottom: 1px solid #CBD0DD;
}
.navbar .block-search .input-group {
    width:100%;
}
.navbar .block-search .form-group {
    margin-bottom: 0;
    margin-top:0;
}
.navbar .block-search .form-control {
    border-radius: 0;
    border:none;
    box-shadow: none;
    height: auto;
    font-size: 1em;
    color: #00133F;
    padding: 0.4em 0.9em;
    background-color: transparent;
}
.navbar .block-search .form-control::placeholder {
    color:#607988;
    opacity: 1;
}
/* siteimprove */
.navbar .block-search .form-control:focus,
.navbar .block-search .form-control:focus::placeholder {
    color:#CBD3D8;
}
.navbar .block-search .btn-primary {
    background-color: transparent;
    border-radius: 0;
    border:none;
    margin:0;
}
.navbar .block-search .input-group-btn {
    font-size: 1em;
    /* padding:0;
    margin:0;
    line-height: 1; */
}
.navbar .block-search input.btn-search-submit {
    width: 1em;
    height: 1em;
    padding: 0;
    margin-bottom: -0.5em;
}
.navbar .block-search input.btn-search-submit:focus,
.navbar .block-search input.btn-search-submit:hover {
    opacity: 0.5;
}

/***********************************************/
/****** Webform block confirmation text ********/
/***********************************************/

.block-webform .webform-confirmation {
    margin-bottom:1.4em;
    padding:1em;
    background-color:#fad8ea;
    border-radius:2px;
    border:1px solid #e73e97;
    color:#e73e97;
    font-weight:700;
}

/***********************************************/
/************ Header region blocks *************/
/***********************************************/

.region-site-header {
    text-align: right;
}
.region-site-header .block {
    /* float:right; */
    display: inline-block;
    margin: 0 0.5em;
}
.region-site-header .block:first-child {
    margin-left:0;
}
.region-site-header .block:last-child {
    margin-right:0;
}

/**** gtranslate block ****/

#block-menu-block-1 .gtranslate-menu-item {
    padding: 15px 60px;
}
@media (max-width:767px) {
    #block-menu-block-1 .gtranslate-menu-item {
        padding: 15px 35px;
    }
}

/***********************************************/
/***********************************************/
/****************** PAGE BLOCKS ****************/
/***********************************************/
/***********************************************/


/**************************************************/
/***** Social Media share buttons - AddToAny  *****/
/**************************************************/

/*** AddToAny styles: https://www.addtoany.com/buttons/customize/ ***/

.a2a_svg, .a2a_count { 
    border-radius: 2px !important;
}

.a2a_s_link, .a2a_s_email {
    background-color: #0080a4 !important;
}

/* .a2a_s_instagram {
    background:#5258cf;
    background: radial-gradient(circle farthest-corner at 35% 90%, #fec564, transparent 50%), radial-gradient(circle farthest-corner at 0 140%, #fec564, transparent 50%), radial-gradient(ellipse farthest-corner at 0 -25%, #5258cf, transparent 50%), radial-gradient(ellipse farthest-corner at 20% -50%, #5258cf, transparent 50%), radial-gradient(ellipse farthest-corner at 100% 0, #893dc2, transparent 50%), radial-gradient(ellipse farthest-corner at 60% -20%, #893dc2, transparent 50%), radial-gradient(ellipse farthest-corner at 100% 100%, #d9317a, transparent), linear-gradient(#6559ca, #bc318f 30%, #e33f5f 50%, #f77638 70%, #fec66d 100%) !important;
} */

@media (min-width:992px) { 

    /*** Artice pages - white background ***/

    body.node-type-article.tbc-advice-and-information .a2a_s__default,
    body.node-type-article.tbc-blog .a2a_s__default,
    body.node-type-article.tbc-news .a2a_s__default,
    body.node-type-article.tbc-response .a2a_s__default {
        background: #fff !important;
    }
    /** SVG Path colours **/
    /* Twitter */
    body.node-type-article.tbc-advice-and-information .a2a_s_twitter svg path,
    body.node-type-article.tbc-blog .a2a_s_twitter svg path,
    body.node-type-article.tbc-news .a2a_s_twitter svg path,
    body.node-type-article.tbc-response .a2a_s_twitter svg path {
        fill: rgb(85, 172, 238);
    }
    /* Facebook */
    body.node-type-article.tbc-advice-and-information .a2a_s_facebook svg path,
    body.node-type-article.tbc-blog .a2a_s_facebook svg path,
    body.node-type-article.tbc-news .a2a_s_facebook svg path,
    body.node-type-article.tbc-response .a2a_s_facebook svg path {
        fill: rgb(59, 89, 152);
    }
    /* Linkedin */
    body.node-type-article.tbc-advice-and-information .a2a_s_linkedin svg path,
    body.node-type-article.tbc-blog .a2a_s_linkedin svg path,
    body.node-type-article.tbc-news .a2a_s_linkedin svg path,
    body.node-type-article.tbc-response .a2a_s_linkedin svg path {
        fill: rgb(0, 123, 181);
    }
    /* Instagram */
    /* body.node-type-article.tbc-advice-and-information .a2a_s_instagram svg path,
    body.node-type-article.tbc-blog .a2a_s_instagram svg path,
    body.node-type-article.tbc-news .a2a_s_instagram svg path,
    body.node-type-article.tbc-response .a2a_s_instagram svg path {
        fill: #5258cf;
    } */
    /* Link */
    body.node-type-article.tbc-advice-and-information .a2a_s_link svg path,
    body.node-type-article.tbc-blog .a2a_s_link svg path,
    body.node-type-article.tbc-news .a2a_s_link svg path,
    body.node-type-article.tbc-response .a2a_s_link svg path {
        fill: #0080a4;
    }
    /* Email */
    body.node-type-article.tbc-advice-and-information .a2a_s_email svg path,
    body.node-type-article.tbc-blog .a2a_s_email svg path,
    body.node-type-article.tbc-news .a2a_s_email svg path,
    body.node-type-article.tbc-response .a2a_s_email svg path {
        fill: #0080a4;
    }

}

/*** Block styling ***/
/* .main-content .block-block, .main-content .block-webform {
    background-color: #EDF1F3;
    padding: 1.2em 1.6em 1.6em;
    margin-bottom: 1.5em;
} */
.main-content .block.social-media-share-icons {
    margin-top:2em;
    padding:0;
    background:transparent;
    width:40px;
}

.block.social-media-share-icons .a2a_default_style a {
    padding: 0;
    margin-bottom:0.5em;
}

/*** Media Queries ***/

@media (max-width:991px) {

    /* body.node-type-event  */.main-content .region .block.social-media-share-icons {
        margin-left:0;
        margin-right:0;
        width:auto;
        padding-top:1em;
        margin-top:0;
    }
    body.node-type-event .main-content .block.social-media-share-icons {
        padding-top: 4em;
    }
    /* #book-now-btn {
        height: auto !important;
    } */
    /* body.node-type-event */ .block.social-media-share-icons .a2a_default_style a {
        margin-bottom: 0;
        margin-right: 0.5em;
    }
    .block.social-media-share-icons .a2a_default_style a:last-of-type {
        margin-right: 0;
    }

}
@media (max-width:343px) {

    span.a2a_s__default {
        width: 36px !important;
        line-height: 36px !important;
        height: 36px !important;
        background-size: 36px !important;
    }
    .block.social-media-share-icons .a2a_default_style a {
        margin-right:10px;
    }
    
}


/***********************************************/
/***** 'Contact us' page Google Maps block *****/
/***********************************************/

.block.google-maps {
    background-color: transparent;
    padding:0;
}

.block.google-maps .content {
    background-color: #EDF1F3;
    padding:0 1.3em 1.3em;
}
/* .block.google-maps iframe {
    width:calc(100% + 2.6em);
    border:none;
    margin:0 -1.3em 0.75em;
} */

.block.google-maps .iframe-wrapper {
    position: relative;
    padding-bottom: 65.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    width:calc(100% + 2.6em);
    margin:0 -1.3em 0.75em;
}
.block.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border:none;
}
.block.google-maps iframe .i4ewOd-pzNkMb-haAclf {
    display: none !important;
}

/*************************************************************/
/*********** Front: Share your views webform block ***********/
/*************************************************************/

.block.share-your-views {
    padding-bottom:2em;
}
.block.share-your-views a.btn {
    margin-bottom:0;
}

/*** Media Queries ***/

@media (max-width:991px) {
    .block.share-your-views {
        display: block;
        width: auto;
    }
    .block.share-your-views .btn.full-width {
        width:auto;
    }
}
@media (max-width:767px) {
    .block.share-your-views {
        padding-bottom:1.6em;
    }
}

/***********************************************/
/****** Form: Find your local healthwatch ******/
/***********************************************/

.block.form-find-local-healthwatch {
    background: #004F6B url('../images/bg-find-healthwatch-map.png') center / cover no-repeat;
    padding:2.1em;
    /* min-height: 250px; */
}
.block.form-find-local-healthwatch .block-inner {
    background-color: #fff;
    padding:1.5em 2em 1.75em;
}
@media (min-width:992px) {
    .block.form-find-local-healthwatch .block-inner {
        position: absolute;
        top:2em;
        /* bottom:2em; */
        left:2em;
        right:2em;
    }
}
.block.form-find-local-healthwatch h2.block-title {
    background: url('../images/ico-map-pin.svg') left 0.1em / auto 1em no-repeat;
    padding-left:1.2em;
}
.block.form-find-local-healthwatch .form-item-postcode {
    padding-right:1em;
}
.block.block-hw-local-healthwatch-views button.form-submit {
    margin:0;
}
.block.block-hw-local-healthwatch-views form > div {
    display: table;
}
.block.block-hw-local-healthwatch-views form > div > div.form-item,
.block.block-hw-local-healthwatch-views form > div > button.form-submit {
    display: table-cell;
    vertical-align: top;
}

/*** Media Queries ***/

@media (max-width:991px) {
    .block.form-find-local-healthwatch {
        display: block;
        width: auto;
    }
}
@media (max-width:600px) {
    .block.form-find-local-healthwatch h2.block-title {
        margin-bottom: 0.75em;
        font-size: 1.2em;
    }
    .block.form-find-local-healthwatch {
        padding:1.4em;
    }
    .block.form-find-local-healthwatch .block-inner {
        padding: 1.2em 1.2em 1.45em;
    }
}
@media (max-width:435px) {
    .block.block-hw-local-healthwatch-views form > div {
        display: block;
    }
    .block.form-find-local-healthwatch .form-item-postcode {
        padding-right: 0;
    }
    .block.form-find-local-healthwatch button.btn {
        height: auto;
        margin-top:0.5em;
    }
    .block.form-find-local-healthwatch {
        padding:1.2em;
    }
    .block.form-find-local-healthwatch .block-inner {
        padding: 1em 1em 1.2em;
    }
}


/***********************************************/
/**************** Testimonials *****************/
/***********************************************/

.block.testimonial {
    text-align: center;
    margin-bottom:0;
}
.block.testimonial .views-row {
    margin-bottom:0.75em;
    font-size: 1rem;
}
.block.testimonial .views-field {
    margin-bottom:0;
}
.block.testimonial .field {
    margin-bottom:1.2em;
}
.block.testimonial .field:last-child {
    margin-bottom:0;
}
.block.testimonial .quote {
    font-weight: 700;
    font-size: 1.2em;
    padding-left: 7.5%;
    padding-right: 7.5%;
}
.block.testimonial .author {
    font-size: 0.85em;
}
.block.testimonial .button .btn {
    margin-bottom:0;
}

/** Paralax background speech marks **/

/* .wrap.testimonial-parallax {
    background-attachment: fixed, fixed;
    background-size:  auto 240px, auto 240px;
    background-repeat: no-repeat, no-repeat;
    background-position: left 17% top 35%, right 17% top 55%;
    background-image: url('../images/ico-quote-left.svg'),
                      url('../images/ico-quote-right.svg');
} */
.wrap.testimonial-parallax {
    background: #EDF1F3 url('../images/ico-testimonial-speech-marks.svg') center 45% / 1268px auto fixed no-repeat;
}

/*** Media Queries ***/

@media (max-width:991px) {

    .wrap.testimonial-parallax {
        background: #EDF1F3 url('../images/ico-testimonial-speach-marks-991px.svg') center 45% / 1021px auto fixed no-repeat;
    }

}
@media (max-width:767px) {
    
    .wrap.testimonial-parallax {
        background-attachment: fixed, fixed;
        background-size:  auto 200px, auto 200px;
        background-repeat: no-repeat, no-repeat;
        background-position: left -120px top 53%, right -120px top 55%;
        background-image: url('../images/ico-quote-left.svg'),
                          url('../images/ico-quote-right.svg');
    }

}

/***********************************************/
/************ Call-to-action block *************/
/***********************************************/

#block-views-call-to-action-block-block {
    border: 32px solid #00425c;
    background-color: #fff;
    margin-top:1.6em;
    padding:1.2em 1.6em 1em;
    text-align: left;
}
#block-views-call-to-action-block-block .views-row {
    font-size: 1rem;
    margin-bottom:0.75em;
}
#block-views-call-to-action-block-block .views-row .views-field {
    margin-bottom:0;
}

@media (max-width:600px) {

    #block-views-call-to-action-block-block {
        border: 1.2em solid #00425c;
        margin-top: 1.4em;
        padding: 1.2em 1.2em 1em;
    }

}

/***********************************************/
/***** Related Report Block on Event Node ******/
/***********************************************/

#block-views-events-event-related-report {
    background-color: #fff;
    padding:1.6em;
}
#block-views-events-event-related-report .grid {
    display: block;
}
/* #block-views-events-event-related-report .views-field-field-main-image {
    display: inline-block;
    width:214px;
} */


/******************************************************/
/***** Form (front): Sign up for our news alerts ******/
/******************************************************/

#block-webform-client-block-15 form div:after {
    content: "";
    display: table;
    clear: both;
}
#block-webform-client-block-15 .webform-component--consent {
    float:left;
}
#block-webform-client-block-15 .form-actions {
    float:right;
    clear:none;
    margin-top: 2em;
}
/* #block-webform-client-block-15 form input[type=hidden] {
    display: none;
} */

#webform-client-form-15 > div {
    font-size: 0;
    margin-left:-1.291%;
    margin-right:-1.291%;
}
#webform-client-form-15 > div > div {
    margin-left:1.291%;
    margin-right:1.291%;
    font-size: 1rem;
}
#webform-client-form-15 .webform-component-email,
#webform-client-form-15 .webform-component-textfield {
    display: inline-block;
    width: 30.7513%;
}

/*** Media Queries ***/

@media (max-width:767px) {

    #block-webform-client-block-15 .webform-component--consent {
        float:none;
        margin-bottom: 0.5em;
    }
    #block-webform-client-block-15 .form-actions {
        float:none;
        /* clear:both; */
        margin-top: 0;
    }
    #webform-client-form-15 .webform-component-email,
    #webform-client-form-15 .webform-component-textfield {
        display: block;
        width: 97.418%;
    }
    
}

/******************************************************/
/******* Reports Library: Quick Searches block ********/
/******************************************************/

body.page-reports-library .region-header {
    position: relative;
}
.quick-search-menu {
    position: absolute;
    top:-4.5rem;
    right:0;
    margin:0;
    /* z-index: 99999999; */
}
.quick-search-menu ul.menu li {
    padding:0;
}
.quick-search-menu ul.menu li > a {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    padding-left:0;
}
.quick-search-menu a.dropdown-toggle span.underline:hover,
.quick-search-menu a.dropdown-toggle span.underline:focus {
    border-bottom: 2px solid #fff;
}
.quick-search-menu a.dropdown-toggle:hover,
.quick-search-menu a.dropdown-toggle:focus {
    background-color: transparent;
}
.quick-search-menu ul.menu li > a .caret {
    /* display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-top: 6px solid;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent; */

     /* background-image: url(../images/dropdown.png); */
     background-image: url('../images/ico-chevron-down-white.svg');
     background-repeat: no-repeat;
     width: 17px;
     height: 17px;
     border: none;
     background-size: contain;
     border: 0;
     /* margin-top: 1px; */
     margin-bottom: -5px;
     margin-left: 0.5em;
}
.quick-search-menu ul.menu li.expanded ul {
    padding-left: 0;
    border-top: 1px solid #ddd;
    margin-top: 0;
    /* display: block; */
}
.quick-search-menu ul.menu li ul.dropdown-menu {
    min-width: 100%;
    /* display: block; */
    margin:0;
    border-bottom:none;
    border-radius: 2px;
}
.quick-search-menu ul.menu li ul.dropdown-menu li {
    list-style: none;
    padding: 0;
    margin: 0;
}
.quick-search-menu ul.menu li ul.dropdown-menu li a {
    color: #333;
    font-size: 14px;
    /* line-height: 20px; */
    display: block;
    padding: 3px 20px;
}
@media (min-width: 0px) {
    .quick-search-menu ul.nav li.dropdown:hover ul.dropdown-menu, 
    .quick-search-menu ul.nav li.dropdown > a.dropdown-toggle:focus ul.dropdown-menu {
        display: block;
    }
}

@media (max-width: 500px) {
    .quick-search-menu {
        position: static;
        margin:-1em 0 0.5em;
        display: inline-block;
    }
    
}


/***********************************************/
/***********************************************/
/**************** FOOTER BLOCKS ****************/
/***********************************************/
/***********************************************/

.footer .block {
    color: #fff;
}

/***********************************************/
/******** Healthwatch white footer logo ********/
/***********************************************/

.logo-healthwatch-footer {
    width:290px;
    /* float:left; */
    display: inline-block;
}

@media (max-width:660px) {
    .logo-healthwatch-footer {
        display: block;
        text-align: center;
        width: 100%;
    }
    .logo-healthwatch-footer img {
        margin:0 auto;
        width:290px;
        max-width:100%;
    }
}

/***********************************************/
/**************** Copyright info ***************/
/***********************************************/

.block.footer-copyright-info {
    clear:left;
    margin-top:4em;
    /* display: inline-block; */
    float:left;
}

@media (max-width:991px) {
    .block.footer-copyright-info {
        margin-top:2em;
    }
}
@media (max-width:660px) {
    .block.footer-copyright-info {
        float:none;
        text-align: center;
        margin-top:3em;
    }
}

/***********************************************/
/********* Investing in volunteers logo ********/
/***********************************************/

/*** Currently only on Islington: https://healthwatchislington.co.uk/ ***/

.footer .logo-investing-in-volunteers {
    float:left;
    margin:1.25em 0 0 2.5em;
}
.footer .logo-investing-in-volunteers img {
    width:70px;
    height: auto;
}
@media (max-width:660px) {
    .footer .logo-investing-in-volunteers {
        float:none;
        margin:2em 0 0;
        text-align: center;
    }
}

/***********************************************/
/************** Social Media icons *************/
/***********************************************/

.footer .social-media-icons {
    clear: right;
    float: right;
    vertical-align: middle;
    margin-top:2.5em;
}
.footer .social-media-icons a {
    /* font-size: 36px; */
    margin:0 15px;
    /* color: #fff; */
}
.footer .social-media-icons a:first-of-type {
    margin-left:0;
}
.footer .social-media-icons a:last-of-type {
    margin-right:0;
}

/*** Converting FontAwesome glyfs to images ***/

.footer .social-media-icons img.icon {
    width:auto;
    height: 36px;
    margin-bottom:0.5em;
}

@media (max-width:991px) {
    .footer .social-media-icons {
        margin-top:1em;
    }
}
@media (max-width:660px) {
    .footer .social-media-icons {
        /* margin-top:3em; */
        float:none;
        clear:both;
        text-align: center;
    }
}


/***********************************************/
/***********************************************/
/***************** BLOCK TYPES *****************/
/***********************************************/
/***********************************************/

/***********************************************/
/*********** Video block - full width **********/
/***********************************************/
/* 'Video block' is a standard block with a video added to it
via the embed media WYSIWYG button */

.block-block .media_embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ( (h / w) * 100 ) */ 
    overflow: hidden;
    height: 0;

    margin:0 0 1.6em;
}
.block-block .media_embed iframe {
    position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
    height: 100% !important;
}

/***********************************************/
/***************** Chart blocks ****************/
/***********************************************/

.block-chartblock h2.block-title {
    font-size: 1.1em;
    /* margin-bottom: 0; */
}

/***********************************************/
/***********************************************/
/************** BLOCK THEME STYLES *************/
/***********************************************/
/***********************************************/


/***********************************************/
/*************** Two column blocks *************/
/***********************************************/

.main-content .block.two-columns:nth-last-child(2) {
    margin-bottom:0;
}

/***********************************************/
/*********** Image block - Two column **********/
/***********************************************/

.block-imageblock.two-columns .content {
    background-color: #EDF1F3;
}
.wrap.grey .block-imageblock.two-columns .content {
    background-color: #fff;
}
.block-imageblock.two-columns .block-image img {
    width: 100%;
}
.block-imageblock.two-columns .block-body,
/* Video block */
.block-block.video-block.two-columns .block-body {
    padding:1.2em 1.4em 2em;
}
.wrap.grey .block-imageblock.two-columns .block-body,
/* Video block */
.wrap.grey .block-block.video-block.two-columns .block-body {
    background-color: #fff;
}

/***********************************************/
/*********** Text block - Two column ***********/
/***********************************************/

.block-block.two-columns {
    padding:0;
    background:transparent;
}
.block-block.two-columns .content {
    background-color: #EDF1F3;
    padding:1.2em 1.4em 2em;
}
.wrap.grey .block-block.two-columns .content {
    background-color: #fff;
}

/***********************************************/
/*********** Video block - Two column **********/
/***********************************************/
/* 'Video block' is a standard block with a video added to it
via the embed media WYSIWYG button */

.block-block.video-block.two-columns .content {
    background-color: #EDF1F3;
    padding:0;
}
.block-block.video-block.two-columns .media_embed.block-image {
    margin-bottom:0;
    padding-bottom: 66.66667%; /* 3:2 ( (h / w) * 100 ) */ 
}

/*** Media Queries ***/

@media (max-width:600px) {

    .main-content .block.two-columns {
        margin-bottom:2.582% !important;
    }

}


/***********************************************/
/****************** Grey block *****************/
/***********************************************/

.grey-block {
    background-color: #EDF1F3;
    padding:1.2em 1.6em 1.6em;
}

@media (max-width:396px) {
    .grey-block {
        padding:1.2em 1.2em 1.4em;
    }
    
}

/***********************************************/
/***************** Title block *****************/
/***********************************************/

.main-content .block.title-block {
    margin-bottom:0;
}

/***********************************************/
/************** Hero Banner Image **************/
/***********************************************/

.block-imageblock.hero-banner-image {
    overflow: hidden;
}
.block-imageblock.hero-banner-image h2 {
    font-size: 1.9em
}
.block-imageblock.hero-banner-image .content {
    /* position: relative; */
    /* height:540px; */
}
.block-imageblock.hero-banner-image .content .container {
    padding:0;
    /* font-size:0; */
    position: relative;
    height:540px;
    pointer-events: none;
}
/* .block-imageblock.hero-banner-image .content .container .region {
    margin-left: -1.291%;
    margin-right: -1.291%;
} */
.block-imageblock.hero-banner-image .content .block-image img {
    position: absolute;
    top:0;
    left:50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    max-width:1440px;
}
.block-imageblock.hero-banner-image .content .block-body {
    position: absolute;
    top:50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    /* bottom:10%; */
    /* left:calc(1.291% + 55px); */
    background-color:rgba(255,255,255,0.75);
    /* padding: 1.2em 1.4em 2em; */
    padding:1.6em 1.8em 2.2em;
    width: 47.418%;
    /* width: 44.836%; */
    margin-left:1.291%;
    margin-right:1.291%;
    font-size:1rem;
    /* min-height: 70%; */
    max-height: 100%;
    overflow: hidden;
    /* font-weight: 700; */
    z-index: 1;
}
.block-imageblock.hero-banner-image .content .block-body p:last-child .btn {
    margin-bottom:0;
    pointer-events: auto;
}
.block-imageblock.hero-banner-image ul, 
.block-imageblock.hero-banner-image ol {
    margin: 0 0 1.25em;
    padding: 0;
}
.block-imageblock.hero-banner-image ul li, 
.block-imageblock.hero-banner-image ol li {
    margin-bottom:0.25em;
}

/*********** Hero Banner Video Poster **********/

.block-imageblock.hero-banner-video-poster .play-icon {
    position: absolute;
    top:50%;
    left:50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 104px;
    height: auto;
    pointer-events: none;
}
.block-imageblock.hero-banner-video-poster .content .block-body {
    width: calc(47.418% - 90px);
}


/*** Text block right ***/

.block-imageblock.hero-banner-image.text-block-right .content .block-body {
    right:0;
}

/*** Media Queries ***/

@media (max-width:1199px) {

    .block-imageblock.hero-banner-image .content .block-body {
        padding: 1.2em 1.4em 1.4em;
    }
    .block-imageblock.hero-banner-video-poster .content .block-body {
        width: calc(47.418% - 60px);
    }
    .block-imageblock.hero-banner-image h2 {
        font-size: 1.6em;
    }
    .block-imageblock.hero-banner-image .content .block-body p:last-child .btn {
        margin-top:0.5em;
    }
    .block-imageblock.hero-banner-video-poster .play-icon {
        width: 90px;
    }

}
@media (max-width:991px) {

    .block-imageblock.hero-banner-image .content .block-body *:nth-child(n+3) {
        display: none;
    }
    .block-imageblock.hero-banner-image .content .block-body p.btn-para {
        display: block;
    }
    .block-imageblock.hero-banner-video-poster .play-icon {
        width: 70px;
    }

}
@media (max-width:767px) {

    .block-imageblock.hero-banner-image .content .block-body {
        top: auto;
        left:20px;
        right:20px;
        bottom:25px;
        transform: none;
        padding: 1.2em 1.4em 1.4em;
        width: auto;
        margin:0;
    }
    .block-imageblock.hero-banner-image.text-block-right .content .block-body {
        right:20px;
    }
    
}
@media (max-width:396px) {

    .block-imageblock.hero-banner-image h2 {
        font-size: 1.4em;
    }

}


/***********************************************/
/********* Text with image left/right **********/
/***********************************************/

/* Text wuth image right */
.node-page .paragraphs-items .paragraphs-item-image-float-right-page,
.node-page .paragraphs-items .paragraphs-item-image-float-left-page,
.node-webform .paragraphs-items .paragraphs-item-image-float-right-page,
.node-webform .paragraphs-items .paragraphs-item-image-float-left-page {
    margin-bottom:0;
}
.block-imageblock.text-with-image-right img,
.node-page .paragraphs-item-image-float-right-page img,
.node-webform .paragraphs-item-image-float-right-page img {
    float:right;
    margin: 0 0 2.582% 2.582%;
    width:47.418%;
    width:48.709%;
    height: auto;
}
/* Video version */
.block-block.text-with-image-right .media-embed-wrap {
    float:right;
    margin: 0 0 2.582% 2.582%;
    width:47.418%;
    width:48.709%;
    height: auto;
}
.block-block.text-with-image .media_embed {
    margin:0;
}

/* Text wuth image left */
.block-imageblock.text-with-image-left img,
.node-page .paragraphs-item-image-float-left-page img,
.node-webform .paragraphs-item-image-float-left-page img {
    float:left;
    margin: 0 2.582% 2.582% 0;
    width:47.418%;
    width:48.709%;
    height: auto;
}
/* Video version */
.block-block.text-with-image-left .media-embed-wrap {
    float:left;
    margin: 0 2.582% 2.582% 0;
    width:47.418%;
    width:48.709%;
    height: auto;
}

.block.text-with-image .too-high {
    margin-bottom:0;
}

/*** Media Queries ***/

@media (max-width:600px) {

    .block-imageblock.text-with-image-right img,
    .node-page .paragraphs-item-image-float-right-page img,
    .node-webform .paragraphs-item-image-float-right-page img,
    .block-imageblock.text-with-image-left img,
    .node-page .paragraphs-item-image-float-left-page img,
    .node-webform .paragraphs-item-image-float-left-page img,
    /* Video version */
    .block-block.text-with-image .media-embed-wrap {
        float:none;
        width: auto;
        margin: 0 0 1.6em;
    }

}

/***********************************************/
/******* Impact Stats - full/half widths *******/
/***********************************************/

.block-block.impact-stats {
    margin-bottom:0;
    font-weight: 700;
}

/*** Half width ***/

.block-block.impact-stats-half-width {
    top:0;
}

/*** Full width ***/

.block-block.impact-stats-full-width {
    text-align: center;
    top:-0.5em;
}
.main-content .region .block-block.impact-stats-full-width .content {
    font-size: 1.6rem;
    line-height: 1.2;
}
.block-block.impact-stats-full-width .block-inner {
    padding:0 5%;
}
.main-content .region .block-block.impact-stats-full-width .content h2 {
    font-size: 3em;
    margin-bottom: 0.25em;
}

/*** Half width ***/

.main-content .region .block-block.impact-stats-half-width {
    font-size: 1.3rem;
}
.block-block.impact-stats-half-width h2 {
    font-size: 3em;
    margin-bottom:0.25em;
}

/*** Media Queries ***/

@media (max-width:767px) {

    .main-content .region .block-block.impact-stats-full-width .content h2 {
        font-size: 2.6em;
        margin-bottom: 0.25em;
    }
    .main-content .region .block-block.impact-stats-full-width .content {
        font-size: 1.4rem;
    }

}
@media (max-width:600px) {

    .block-block.impact-stats-half-width:nth-child(n+2) {
        margin-top:1em;
    }

}

/*
 ██████  ██████  ██ ██████
██       ██   ██ ██ ██   ██
██   ███ ██████  ██ ██   ██
██    ██ ██   ██ ██ ██   ██
 ██████  ██   ██ ██ ██████
*/


/*** For admin block region demo page ***/
body.page-admin-structure-block-demo .region {
    font-size: 1rem;
}

/*** If JS hide girds until height resizeing is complete ***/
html.js .view.grid-content .view-content,
html.js .block.two-columns {
    opacity:0;
    transition:opacity 0.5s linear;
}
html.js .view.grid-content.visible .view-content,
html.js .block.two-columns.visible {
    opacity:1;
}

.grid-content {
    text-align: center;
}
.grid-align-left .grid-content,
#block-system-main .grid-content {
    text-align: left;
}
.grid-content .grid {
    text-align: left;
}

.row,
.main-content .region,
.view.grid-content .view-content {
    margin-left:-1.291%;
    margin-right:-1.291%;
    font-size: 0;
}
/*** Content - No sidebar ***/
.col-sm-12 {
    margin-left:0;
    margin-right:0;
    padding-left:1.291%;
    padding-right:1.291%;
}
/*** Content - One sidebar ***/
.col-sm-9 {
    width:66.66667%;
    margin-left:0;
    margin-right:0;
    padding-left:1.291%;
    padding-right:1.291%;
}
/*** Sidebar ***/
.col-sm-3 {
    width:33.33333%;
    margin-left:0;
    margin-right:0;
    padding-left:1.291%;
    padding-right:1.291%;
}

/* .main-content .region .block {
    margin-left:1.291%;
    margin-right:1.291%;
    font-size: 1rem;
    vertical-align: top;
} */

.main-content .region .block,
.grid {
    margin-left:1.291%;
    margin-right:1.291%;
    font-size: 1rem;
    vertical-align: top;
}

.grid {
    display: inline-block;
    /* min-height: 550px; */
}
.grid-25 {
    width: 22.418%;
}
.grid-33 {
    width: 30.7513%;
}
.grid-50 {
    width: 47.418%;
}
.grid-66 {
    width: 64.0847%;
}
/** Full width with margins: width: 97.418%; 
    1.291% * 2 = 2.582%
**/

/*** NO JS: Grid min-height if no JS ***/

html .grid-content .grid {
    min-height: 650px;
}

/** Grid 50 **/

/* Report */
html .grid-content.report .grid-50 {
    min-height: 300px;
}

/** Grid 33 **/

/* Event */
html .grid-content.event .grid-33 {
    min-height: 600px;
}
/* Advice and information */
html .grid-content.advice .grid-33 {
    min-height: 550px;
}

/** Grid 25 **/

html .grid-content .grid-25 {
    min-height:510px;
}

/** Front page promoted news combined **/
html .front-promoted-news-combined .grid {
    min-height: 540px;
}

/* JS */
html.js .grid-content .grid {
    min-height: auto;
}


/*** Media Queries ***/

@media (max-width:1199px) {

    .grid-25 {
        width: 30.7513%;
    }
    .block-views .grid-content .grid-25:nth-child(4) {
        display: none;
    }

}
@media (max-width:991px) {

    .grid-25 {
        width: 47.418%;
    }
    .block-views .grid-content .grid-25:nth-child(4) {
        display: inline-block;
    }
    .grid-33 {
        width: 47.418%;
    }
    .block-views .grid-content .grid-33:nth-child(3) {
        display: none;
    }
    

}
@media (max-width:600px) {

    .grid-25, .grid-33 {
        min-width: 356px;
    }
    .block-views .grid-content .grid-33:nth-child(3) {
        display: inline-block;
    }
    .grid-align-left .grid-content,
    #block-system-main .grid-content {
        text-align: center;
    }
    .grid-50 {
        width: 97.418%;
    }

}
@media (max-width:396px) {

    .grid-25, .grid-33 {
        min-width: auto;
        width: 97.418%;
    }

}


/*
██    ██ ██ ███████ ██     ██ ███████
██    ██ ██ ██      ██     ██ ██
██    ██ ██ █████   ██  █  ██ ███████
 ██  ██  ██ ██      ██ ███ ██      ██
  ████   ██ ███████  ███ ███  ███████
*/

.views-row {
    /* padding: 1em 1em 4.5em; */
    padding: 0;
    /* padding-bottom:4em; */
    margin-bottom:2.582%;
    position: relative;
}
.views-row .views-field {
    margin-bottom:1.2em;
}
/* .views-row .views-field:last-child {
    margin-bottom:2em;
} */
.views-row a,
.views-row a:hover, .views-row a:focus {
    color: #00133F;
    text-decoration: none;
}

/*** Views header link ***/

.block-views .view-header {
    position: absolute;
    /* top:0.5em; */
    top:0;
    right:0;
}
.block-views .view-header a.view-all {
    color:#00133F;
    /* text-decoration: underline; */
    text-decoration: none;
    border-bottom:2px solid #00133F;
    font-weight: 700;
    font-size: 1.1em;
}
.block-views .view-header a.view-all:hover,
.block-views .view-header a.view-all:focus {
    text-decoration: none;
    border-bottom:none;
    color: #E73E97;
}

/*** Node link ***/

.grid a.node-link {
    display: block;
    position: absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    background-color: #EDF1F3;

    padding: 1rem 1.2rem 4.5rem;
}
/* .grid .content {
    padding-bottom:0.1em;
} */
.wrap.grey .views-row a.node-link {
    background-color: #fff;
    color:#00133F;
}
.views-row a.node-link:hover,
.views-row a.node-link:focus {
    background-color: #E1E4E5;
}
/* .wrap.grey .views-row a.node-link:hover,
.wrap.grey .views-row a.node-link:focus {
    background-color: #f6f8f9;
} */
a.node-link:focus {
    outline:none;
}
.views-row .views-field-second-paragraph-summary {
    margin-bottom:0;
    padding-bottom:1.2em;
}

/*** View no results ***/

#block-system-main .view-empty {
    padding: 2rem 0 3rem;
}

/*** Media Queries ***/

@media (max-width:396px) {

    .views-row .views-field {
        margin-bottom: 1em;
    }
    .block-views .view-header {
        font-size: 0.9em;
        top:0.1em;
    }

}


/***********************************************/
/******************** Grid *********************/
/***********************************************/


/*** Main image ***/

.views-field-field-main-image {
    margin:-1em -1.2em 1.2em;
    /* display:none; */
}
.views-field-field-main-image img {
    margin-bottom:0;
}

span.views-field-field-main-image {
    display: block;
    cursor: pointer;
}

/*** Title ***/

.views-field-title {
    font-weight: 700;
    font-size: 1.1em;
}

/*** Details ***/

.views-row .details {
    position: absolute;
    bottom:1.25em;
}
.views-row .details .views-field,
.views-row .details > div {
    font-size: 0.85em;
    color: #607988;
    margin-bottom:0;
}
/* Second to last field to make enough space for details */

.article .views-row .content {
    /* padding-bottom:6em; */
}

/* .views-row .content .views-field:last-child {
    margin-bottom:0;
} */


/***********************************************/
/************ Advice & Info Grid ***************/
/***********************************************/

.advice .views-row a.node-link {
    padding-bottom:3rem;
}

/***********************************************/
/***************** Report Grid *****************/
/***********************************************/

/* .report .wrapper {
    font-size: 0;
}
.report .wrapper > div {
    font-size: 1rem;
} */
.report .views-row a.node-link {
    font-size: 0;
    padding-bottom:4.6rem;
}
.report .views-row .content {
    padding:0 1.2em 0 0;
    /* position: relative; */
}
.report .content {
    /* display: inline-block; */
    width:64.9%;
    vertical-align: top;
    font-size: 1rem;
    float:left;
}
.report .views-row .views-field {
    margin-bottom:0.6em;
}
.report .views-row .views-field-link {
    margin-bottom: 0;
}
.report .views-row .views-field-field-main-image {
    /* display: inline-block; */
    margin:0;
    width:35.1%; 
    vertical-align: top;
    font-size: 1rem;
    float:right;
}
.report .views-field-field-main-image img {
    width:100%;
}
.report .views-field-created {
    font-size: 0.85em;
    color: #607988;
    /* siteimprove */
    color: #506573;
}
.views-field-link {
    position: absolute;
    bottom:1.5em;
    left:1.2em;
    right: 1.2em;
    color: #fff;
    text-align: center;
    padding:0.5em 1em;
    background-color: #E73E97;
    /* siteimprove */
    background-color: #CC3A8E;
    border-radius: 2px;
    font-weight: 700;
}
.report .views-field-link {
    right: calc(35.1% + 2.4em);
}
.report a.node-link:hover .views-field-link,
.report a.node-link:focus .views-field-link {
    background-color: #CC3A8E;
}

/*** Media Queries ***/

@media (max-width:991px) {

    .report .grid-50 {
        width:97.418%;
        display: block;
    }
    .report .content {
        width:calc(100% - 178px);
    }
    .report .views-row .views-field-field-main-image {
        width:178px;
    }
    .report .views-field-link {
        right: calc(178px + 2.4em);
    }

}
/* @media (max-width:767px) {

    .report .views-field-link {
        right: calc(178px + 2.4em);
    }

} */
@media (max-width:600px) {

    .report .content {
        width:64.9%;
    }
    .report .views-row .views-field-field-main-image {
        width:35.1%;
    }
    .report .views-field-link {
        right: calc(35.1% + 2.4em);
    }

}
@media (max-width:480px) {

    .report .content {
        width:100%;
        float: none;
    }
    .report .views-row .content {
        padding-right: 0;
    }
    .report .views-row .views-field-field-main-image {
        float:right;
        margin:0 0 5% 5%;
        width:121px;
        max-width: 30%;
    }
    .report .views-field-link {
        position: static;
        /* bottom: 1.5em; */
        right:auto;
        clear: both;
        margin-top:1.2em;
    }
    .report .views-row a.node-link {
        padding-bottom: 1.4rem;
        position: static;
    }
    .report .views-row {
        height: auto !important;
    }

}

/***********************************************/
/***************** Event Grid ******************/
/***********************************************/

.event a.node-link,
a.node-link.event
/* For landing page node reference related content block */ {
    padding-bottom: 5.5rem;
}

/*** Calendar date image overlay ***/

.event .image-overlay {
    position: relative;
}
.event .calendar {
    line-height: 1;
    text-align: center;
    display: inline-block;
}
.event .image-overlay .calendar {
    position: absolute;
    top:50%;
    left:50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-weight: 700;
    color: #fff;
    font-size: 1.3rem;
}
.event .image-overlay .calendar .day {
    font-size: 4em;
}
.event .image-overlay .calendar .month {
    margin-top:0.5em;
}

/*** Mini calendar label and title ***/

.event .event-date-title {
    font-size: 0;
    /* margin-top:1.2rem; */
    margin-bottom:1rem;
    color: #00133f;
}
.event .event-date-title:after {
    content: "";
    display: table;
    clear: both;
}
.event .event-date-title .calendar {
    background:#fff;
    border-top:10px solid #E73E97;
    /* font-size: 0.85em; */
    padding:0.5em;
    border-radius: 2px;
    width:20%;
    /* margin-right:6%; */
    margin-right: 1em;
    font-size: 1rem;
    vertical-align: top;
    max-width:63px;
    float:left;
}
.wrap.grey .event .event-date-title .calendar {
    background:#edf1f3;
}
.event .event-date-title .calendar .day {
    font-weight: 700;
    font-size: 1.3em;
}
.event .event-date-title .calendar .month {
    color: #607988;
    /* siteimprove */
    color: #506573;
    margin-top:0.25em;
    font-size: 0.7em;
}
.event .views-field-title {
    /* display: inline-block; */
    /* width:74%; */
    /* float:left; */
    font-size: 1.1rem;
    vertical-align: top;
    color: #00133f;
    margin-bottom:0;
    margin-left:calc(20% + 1em);
}
.event .views-field-title.single-line {
    /* margin-top:1em; */
    position: relative;
    top:0.75em;
}

/*** Event Details ***/

.event .event-details {
    font-size: 0.9rem;
    color: #607988;
    /* siteimprove */
    color: #506573;
}
.event .event-details .views-field {
    margin-bottom:0.5em;
    padding-left:1.6em;
}
.event .event-type {
    margin-top:-0.5em;
}
.event .event-location {
    background:url('../images/ico-map-pin.svg') left 0.15em / 1.14em auto no-repeat;
}
.event .event-date {
    background:url('../images/ico-calendar.svg') left 0.15em / 1.14em auto no-repeat;
}

.event .views-field-link {
    color: #00133f;
    border:2px solid #004f6b;
    background-color: transparent;
    margin-bottom:0;
    font-size: 1.1rem;
}
.event a.node-link:hover .views-field-link,
.event a.node-link:focus .views-field-link,
/* For landing page node reference block */
a.node-link.event:hover .views-field-link,
a.node-link.event:focus .views-field-link {
    color: #fff;
    background-color: #004f6b;
}

/************************************************************************/
/*********** Carousel - landing page & Events Promoted banner ***********/
/************************************************************************/

.carousel-landing-page,
.event-banner {
    margin-bottom: 2.582%;
}
.carousel-landing-page .view-content,
.view-content {
    font-size: 0;
}
.view-content table.views-table {
    font-size: 1rem;
}
.carousel-landing-page .views-row,
.event-banner .views-row {
    margin-bottom:0;
    width: 100%;
    height: 500px;
    text-align: left;
    /* font-size: 1rem; */
}
.carousel-landing-page div.field-content,
.event-banner div.field-content {
    height: 100%;
}
.carousel-landing-page a.node-link,
.event-banner a.node-link {
    background: transparent !important;
    color: #fff;
    padding:0;
    position: static;
    /* margin-left:1.291%;
    margin-right:1.291%; */
    height: 100%;
}
.carousel-landing-page .content {
    background: #004f6b;
}
.carousel-landing-page a.node-link:hover .content,
.carousel-landing-page a.node-link:focus .content {
    background-color: #003e4f;
}
.carousel-landing-page .views-field-field-main-image,
.carousel-landing-page .content,
.event-banner .views-field-field-main-image,
.event-banner .content {
    font-size: 1rem;
    display: inline-block;
    vertical-align: top;
    margin:0;
    margin-left:1.291%;
    margin-right:1.291%;
}
.carousel-landing-page .views-field-field-main-image,
.event-banner .views-field-field-main-image {
    /* width:64.0847%; */
    width:66.66667%;
    margin-right:0;
    height: 100%;
    overflow: hidden;
    /* position: relative; */
    /* object-fit: cover; */
}
.carousel-landing-page .views-field-field-main-image img,
.event-banner .views-field-field-main-image img {
    /* min-width: 100%;
    min-height: 100%;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%); */
    object-fit: cover;
    object-position: 50% 50%;
    width:auto;
    min-height: 100%;
}
.carousel-landing-page .content,
.event-banner .content {
    width:30.7513%;
    padding: 1em 1.2em 4.5em;
    margin-left:0;
    height: 100%;
}
.carousel-landing-page .views-row .views-field {
    margin-bottom:0.75rem;
}
.carousel-landing-page .views-row .views-field-field-main-image {
    margin-bottom:0;
}
.carousel-landing-page .views-row .views-field-title {
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom:0.75rem;
}
.carousel-landing-page .views-row .details .views-field, 
.carousel-landing-page .views-row .details > div {
    color: #fff;
}

/*** NO JS: hide all slides apart from first ***/

html .carousel-landing-page .views-row {
    display: none;
}
html .carousel-landing-page .views-row:first-child,
html.js .carousel-landing-page .views-row {
    display: block;
}

/** Pager **/

.carousel-landing-page .cycle-pager {
    position: absolute;
    bottom: 33px;
    left: 70px;
    z-index: 999;
    height: 14px;
    font-size: 1rem;
}
.carousel-landing-page .cycle-pager span {
    width: 14px;
    height: 14px;
    background-color:#094861;
    display: inline-block;
    margin-left:8px;
    cursor: pointer;
}
.carousel-landing-page .cycle-pager span:first-child {
    margin-left:0;
}
.carousel-landing-page .cycle-pager span.cycle-pager-active {
    background-color:#d83889;
}

/*** Player controller ***/

#block-views-news-and-reports-block-2 svg#carousel-controller {
    bottom: 25px;
    left: 2rem;
}


/************ Events Promoted Banner specific styling ***********/

/* #block-views-events-block-3 {
    height:700px;
} */


.event-banner a.node-link {
    color: #00133f;
}
.event-banner .content {
    background: #EDF1F3;
}
.event-banner a.node-link:hover .content,
.event-banner a.node-link:focus .content {
    background: #E1E4E5;
}
.event-banner .event-details {
    margin-bottom:1.2em;
}
.event-banner .text .body {
    margin-bottom:0.5em;
}
.event-banner .views-field-nothing {
    height: 100%;
}

.event-banner .views-field-link {
    position: absolute;
    bottom: 1.5em;
    left: calc(67.95767% + 1.2em);
    right: calc(1.291% + 1.2em);
    color: #fff;
    background-color: #E73E97;
    border:none;
}
.event-banner a.node-link:hover .views-field-link,
.event-banner a.node-link:focus .views-field-link {
    background-color: #CC3A8E;
}


/*** Media Queries ***/

@media (max-width:1199px) {

    .carousel-landing-page .views-field-lead-paragraph {
        margin-bottom:0;
    }
    .carousel-landing-page .views-field-second-paragraph-summary {
        display: none;
    }
    .carousel-landing-page .views-row,
    .event-banner .views-row {
        height: 440px;
    }
    .event .views-field-title {
        font-size: 1rem;
    }

    #block-views-news-and-reports-block-2 svg#carousel-controller {
        bottom: 25px;
        left: 2rem;
    }

    /** Event banner **/
    .event-banner .text .contact {
        display: none;
    }

}
@media (max-width:991px) {

    .carousel-landing-page .views-field-field-main-image, 
    .event-banner .views-field-field-main-image {
        width: 50%;
    }
    .carousel-landing-page .content,
    .event-banner .content {
        width: 47.418%;
    }
    .event .views-field-title {
        font-size: 1.1rem;
    }

    #block-views-news-and-reports-block-2 svg#carousel-controller {
        bottom: 44px;
        left: 1.2rem;
    }

    /** Event Banner **/

    .event-banner .views-field-link {
        left: calc(51.291% + 1.2em);
        right: calc(1.291% + 1.2em);
    }
    /** Event banner **/
    /* .event-banner .text .body {
        display: block;
    } */

    #block-views-news-and-reports-block-2 svg#carousel-controller {
        bottom: 25px;
        left: 2rem;
    }

}
@media (max-width:767px) {

    .carousel-landing-page .views-row,
    .event-banner .views-row {
        height: auto;
        margin-left:1.291%;
        margin-right:1.291%;
    }
    .carousel-landing-page .views-field-field-main-image, 
    .event-banner .views-field-field-main-image {
        width: 97.418%;
        margin:0;
        height: 484px;
    }
    .carousel-landing-page .content,
    .event-banner .content {
        width: 97.418%;
        margin:0;
    }
    .event .views-field-title {
        font-size: 1rem;
    }
    .event .views-field-title.single-line {
        margin-top:0;
    }
    .event-banner .views-field-link {
        position: static;
        display: block;
        margin-top: 1.6em;
    }
    .event-banner .content {
        padding-bottom: 1.6em;
    }
    .event-banner .text .contact {
        display: block;
    }
    .event .views-field-title {
        margin-left: 1em;
    }

    .carousel-landing-page .cycle-pager {
        bottom: 31px;
        right: 1.9rem;
        left: auto;
    }
    .carousel-landing-page .cycle-pager span {
        background-color: #fff;
    }
    #block-views-news-and-reports-block-2 svg#carousel-controller {
        bottom: 50px;
        right: 1.8rem;
        left: auto;
    }
    #block-views-news-and-reports-block-2 svg#carousel-controller .cls-1 {
        fill: #fff;
    }
    #block-views-news-and-reports-block-2 svg#carousel-controller g.carousel-show-hide:hover .cls-1,
    #block-views-news-and-reports-block-2 svg#carousel-controller g.carousel-play-pause:hover .cls-1 {
        fill: #d83889;
    }
    #block-views-news-and-reports-block-2 svg#carousel-controller g.carousel-play-pause.playing .carousel-play,
    #block-views-news-and-reports-block-2 svg#carousel-controller g.carousel-play-pause.paused .carousel-pause .cls-1 {
        fill: none;
    }

}
@media (max-width:660px) {
    .carousel-landing-page .views-field-field-main-image, 
    .event-banner .views-field-field-main-image {
        height: 412px;
    }
}
@media (max-width:600px) {
    .carousel-landing-page .views-field-field-main-image, 
    .event-banner .views-field-field-main-image {
        height: 373px;
    }
    .event .views-field-title {
        font-size: 1.1rem;
    }
}
@media (max-width:480px) {
    .carousel-landing-page .views-field-field-main-image, 
    .event-banner .views-field-field-main-image {
        height: 293px;
    }
}
@media (max-width:396px) {
    .carousel-landing-page .views-field-field-main-image, 
    .event-banner .views-field-field-main-image {
        height: 237px;
    }
    .carousel-landing-page .views-row .views-field-title {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom:1rem;
    }
    .event .views-field-title {
        font-size: 1rem;
    }
    .event .views-field-title {
        margin-left:calc(20% + 1em);
    }
}
@media (max-width:320px) {
    .carousel-landing-page .views-field-field-main-image, 
    .event-banner .views-field-field-main-image {
        height: 186px;
    }
}

/***********************************************/
/************* Home page carousel **************/
/***********************************************/

.view-homepage-carousel .views-row {
    width:100%;
    margin-bottom:0;
    font-size: 1rem;
}
.view-homepage-carousel .view-content {
    /* height: 540px;   */
    overflow: hidden;
}
.view-homepage-carousel .views-field-field-main-image {
    margin:0;
}
.view-homepage-carousel .views-field-field-main-image img {
    height: 540px;
    object-fit: cover;
    object-position: 50% 50%;
    width: auto;
}
.view-homepage-carousel .views-field-nothing {
    margin-bottom:0;
}
.view-homepage-carousel .content {
    position: absolute;
    left:0;
    top:50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width:607px;
    height: 412px;
    background-color: rgba(255,255,255,0.75);
    padding: 2em 55px 3em;
}
.view-homepage-carousel .views-row .views-field {
    margin-bottom: 0;
}
.view-homepage-carousel .views-field-link {
    position: absolute;
    bottom: 1.5em;
    left: 55px;
    text-align: left;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    font-weight: 700;
    display: inline-block;
}
.view-homepage-carousel .views-field-link a {
    color: #fff;
}

/** Pager **/

.view-homepage-carousel .cycle-pager {
    position: absolute;
    bottom: 70px;
    right: 55px;
    right: 90px;
    z-index: 999;
    height: 14px;
    font-size: 1rem;
}
.view-homepage-carousel .cycle-pager span {
    width: 14px;
    height: 14px;
    background-color:#094861;
    display: inline-block;
    margin-left:8px;
    cursor: pointer;
}
.view-homepage-carousel .cycle-pager span:first-child {
    margin-left:0;
}
.view-homepage-carousel .cycle-pager span.cycle-pager-active {
    background-color:#d83889;
}

/*** Player controller ***/

svg#carousel-controller {
    display: inline-block;
    z-index: 999;
    position: absolute;
    width: auto;
    height: 18px;
}
#block-views-homepage-carousel-block svg#carousel-controller {
    bottom: 62px;
    right: 55px;
}

svg#carousel-controller g {
    cursor: pointer;
}
svg#carousel-controller g.carousel-show-hide:hover .cls-1,
svg#carousel-controller g.carousel-play-pause:hover .cls-1 {
    fill: #d83889;
}
svg#carousel-controller g.carousel-show-hide.cont-visible .carousel-show,
svg#carousel-controller g.carousel-show-hide.cont-hidden .carousel-hide {
    fill: none;
}
svg#carousel-controller g.carousel-play-pause.playing .carousel-play,
svg#carousel-controller g.carousel-play-pause.paused .carousel-pause .cls-1 {
    fill: none;
}

.block-views.cont-hidden .content {
    height: 3.5rem;
}
.block-views.cont-hidden .view {
    display: none;
}

/*** Media Queries ***/

@media (max-width:1199px) {

    .view-homepage-carousel .views-field-field-main-image img {
        height: 500px;
    }
    .view-homepage-carousel .content {
        width: 550px;
        height: 412px;
        padding: 2em 40px 3em 55px;
    }
    .view-homepage-carousel .cycle-pager {
        bottom: 50px;
    }
    #block-views-homepage-carousel-block svg#carousel-controller {
        bottom: 42px;
    }

}
@media (max-width:991px) {

    .view-homepage-carousel .views-field-field-main-image img {
        height: 500px;
    }
    .view-homepage-carousel .content {
        width: 550px;
        height: 412px;
        padding: 2em 40px 3em 55px;
    }

}
@media (max-width:767px) {

    /* #block-views-homepage-carousel-block svg#carousel-controller {
        top:1em;
        left:20px;
    } */
    .view-homepage-carousel .views-field-field-main-image img {
        height: 540px;
    }
    .view-homepage-carousel .content {
        width: auto;
        left:20px;
        right:20px;
        bottom:20px;
        top: auto;
        transform: none;
        height: auto;
        padding: 1.2em 1.2em 5.6em 1.2em;
    }
    .view-homepage-carousel .views-field-link {
        left:1.3em;
        bottom: 1em;
    }
    .view-homepage-carousel .cycle-pager {
        bottom: 58px;
        right: calc(1.3em + 20px);
    }
    #block-views-homepage-carousel-block svg#carousel-controller {
        bottom: 76px;
        right: calc(1.3em + 18px);
    }

}
@media (max-width:480px) {

    .view-homepage-carousel .views-row h2 {
        font-size: 1.2em;
    }

}


/************************************************************************/
/****************** Suitable for reports library list *******************/
/************************************************************************/

.view-suitable-for-reports-library-list .field {
    margin-bottom:0;
}
.view-suitable-for-reports-library-list .views-field-title {
    font-size:1em;
    /* font-weight: normal; */
}
.view-suitable-for-reports-library-list .field-name-field-downloads {
    margin-bottom:0;
}
.view-suitable-for-reports-library-list .field-name-field-downloads a {
    margin:0 0 0.5em;
}

/***********************************************/
/****************** Pagination *****************/
/***********************************************/

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 2em 0 1em;
    border-radius: 4px;
}
.pagination > li {
    display: inline;
    margin: 0;
}
.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #004F6B;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #004F6B;
    border-color: #004F6B;
}
.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    z-index: 2;
    color: #004F6B;
    background-color: #EDF1F3;
    border-color: #ddd;
}
.pagination > li:first-child > a, .pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}
.pagination > li:last-child > a, .pagination > li:last-child > span {
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}
/* siteimprove */
.pagination > .disabled > span, 
.pagination > .disabled > span:hover, 
.pagination > .disabled > span:focus, 
.pagination > .disabled > a, 
.pagination > .disabled > a:hover, 
.pagination > .disabled > a:focus {
    color: #506573;
}

/******************************************************************/
/******* Front page news promoted and list combined block *********/
/******************************************************************/

/* .front-promoted-news-combined .view-footer {
    display: none !important;
} */

.front-promoted-news-combined {
    font-size: 0;
    margin-left:-1.291%;
    margin-right:-1.291%;
}
.front-promoted-news-combined .view-header {
    font-size: 1rem;
}
.view.front-promoted-news-combined > .view-content,
.front-promoted-news-combined > .view-footer {
    width: 47.418%;
    margin-left:1.291%;
    margin-right:1.291%;
    font-size: 1rem;
    display: inline-block;
    vertical-align: top;
}
.view.front-promoted-news-combined > .view-content .grid {
    margin-left:0;
    margin-right:0;
    width:100%;
}
.view.front-promoted-news-combined > .view-content .views-field-field-main-image img {
    width:100%;
}
.view.front-promoted-news-combined > .view-footer .view-content {
    margin-left:0;
    margin-right:0;
}
.view.front-promoted-news-combined > .view-footer .view-content .grid.views-row-1 {
    margin-left:0;
    margin-right:2.582%;
}
.view.front-promoted-news-combined > .view-footer .view-content .grid.views-row-2 {
    margin-left:2.582%;
    margin-right:0;
}

.front-promoted-news-combined > .view-content .views-field-field-main-image {
    margin-bottom:1em;
}
.front-promoted-news-combined > .view-content .views-field-title {
    margin-bottom:0.75em;
    font-size: 1.3em;
    line-height: 1.3;
}

/** Promoted: make blue **/

.front-promoted-news-combined > .view-content a.node-link {
    background-color:#004f6b;
    color:#fff;
}
.front-promoted-news-combined > .view-content a.node-link:hover,
.front-promoted-news-combined > .view-content a.node-link:focus {
    background-color:#003e4f;
}
/* Details text colour */
.front-promoted-news-combined > .view-content .views-row .details .views-field,
.front-promoted-news-combined > .view-content .views-row .details > div {
    color: #fff;
}

/** Hide lead Paragraph on wider view ports **/

.view.front-promoted-news-combined > .view-content .views-field-lead-paragraph {
    display: none;
    margin-bottom:0;
}

/*** Media Queries ***/

/* @media (max-width:1199px) {

    .view.front-promoted-news-combined > .view-footer .view-content .grid.views-row-1 {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    .view.front-promoted-news-combined > .view-footer .view-content .grid.views-row-2 {
        display: none;
    }

} */
@media (max-width:991px) {

    /* .front-promoted-news-combined-block {
        margin-top: 1em;
    } */
    .view.front-promoted-news-combined > .view-content,
    .view.front-promoted-news-combined > .view-footer {
        width:97.418%;
    }
    .view.front-promoted-news-combined > .view-footer .grid-content {
        font-size: 0;
    }
    .view.front-promoted-news-combined > .view-footer .view-content .grid.views-row-1 {
        margin-right: 1.291%;
        /* margin-right: 0; */
        width:48.709%;
    }
    .view.front-promoted-news-combined > .view-footer .view-content .grid.views-row-2 {
        display: inline-block;
        margin-left: 1.291%;
        /* margin-left: 0; */
        width:48.709%;
    }
    .view.front-promoted-news-combined > .view-content .views-field-lead-paragraph {
        display: inline-block;
    }

}
@media (max-width:600px) {

    .view.front-promoted-news-combined > .view-footer .view-content .grid.views-row {
        min-width: 356px;
        margin-left: 0;
        margin-right: 0;
    }

}
@media (max-width:396px) {

    .view.front-promoted-news-combined > .view-footer .view-content .grid.views-row {
        min-width: auto;
        width: 100%;
    }
    .front-promoted-news-combined > .view-content .views-field-title {
        margin-bottom: 1em;
        font-size: 1.1em;
        line-height: 1.4;
    }

}

/*
██████   █████   ██████  ███████ ███████
██   ██ ██   ██ ██       ██      ██
██████  ███████ ██   ███ █████   ███████
██      ██   ██ ██    ██ ██           ██
██      ██   ██  ██████  ███████ ███████
*/

.field {
    margin-bottom:1.6em;
}
.field-name-field-lead-paragraph {
    font-weight: 700;
}

/***********************************************/
/***********************************************/
/***************** CONTENT TYPES ***************/
/***********************************************/
/***********************************************/

/***********************************************/
/****************** Paragraphs *****************/
/***********************************************/

.paragraphs-items .field {
    margin-bottom: 0;
}

.paragraphs-items .entity {
    margin-bottom:1.6em;
}

.field-type-paragraphs > .field-items > .field-item:last-of-type .entity-paragraphs-item {
    margin-bottom:0;
}

/*** Float images ***/

.paragraphs-item-image-float-left img {
    /* margin: 0.25em 1.6em 1em 0; */
    margin: 0.25em 5% 2.582% 0;
    float: left;
    width: 47.418%;
}
/** Media module ***/
.paragraphs-item-image-float-left .file-image {
    /*display: inline-block;*/
    margin: 0.25em 5% 2.582% 0;
    float: left;
    width: 47.418%;
    /*float:left;*/
}
.paragraphs-item-image-float-left .file-image img {
    margin: 0;
    float: none;
    width: auto;
}


.paragraphs-item-image-float-right img {
    /* margin: 0.25em 0 1em 1.6em; */
    margin: 0.25em 0 2.582% 5%;
    float: right;
    width: 47.418%;
}
.paragraphs-item-image-float-right .file-image {
    /* margin: 0.25em 0 1em 1.6em; */
    margin: 0.25em 0 2.582% 5%;
    float: right;
    width: 47.418%;
}
.paragraphs-item-image-float-right .file-image img {
    margin: 0;
    float: none;
    width: auto;
}


@media (max-width:435px) {

    .paragraphs-item-image-float-left img,
    .paragraphs-item-image-float-right img {
        /* margin: 0.25em 1.6em 1em 0; */
        margin: 0;
        float: none;
        width: 100%;
    }
    /** Media module ***/
    .paragraphs-item-image-float-left .file-image,
    .paragraphs-item-image-float-right .file-image {
        /*display: inline-block;*/
        margin: 0;
        float: none;
        width: 100%;
        /*float:left;*/
    }

}

/*** Embed video ***/

.paragraphs-item-embed-video .player {
    position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.paragraphs-item-embed-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}
.paragraphs-item-embed-video .video-embed-description {
    font-size: 0.85em;
    color: #607988;
    margin-top:1em;
}

/*** Quote paragraph and Quote block ***/

.paragraphs-items .entity.paragraphs-item-quote {
    margin:2.2em 0 2.2em;
}
body.node-type-page .block.quote {
    margin: 2.2em 0 2.2em;
}
body.node-type-page .block.quote:first-child {
    margin-top:0;
}
body.node-type-page .block.quote:last-child {
    margin-bottom:0;
}

.paragraphs-items .entity.paragraphs-item-quote,
.block.quote blockquote {
    padding:0;
    border:none;
    font-size: 1em;
}
body.node-type-page .block.quote,
.node-page .paragraphs-items .paragraphs-item-quote,
.node-webform .paragraphs-items .paragraphs-item-quote {
    /* padding-left: 15%;
    padding-right: 15%; */
    text-align: center;
}
body.node-type-page .block.quote .content,
.node-page .paragraphs-items .paragraphs-item-quote .content,
.node-webform .paragraphs-items .paragraphs-item-quote .content {
    max-width: 790px;
    margin-left:auto;
    margin-right:auto;
    display: inline-block;
    text-align: left;
}
.paragraphs-items .entity.paragraphs-item-quote em,
.block.quote blockquote em {
    font-style: normal;
}

.paragraphs-item-quote .field-name-field-text,
.block.quote blockquote {
    font-weight: 700;
    font-size: 1.4em;
    line-height: 1.45;
    padding:0 35px;
    margin-bottom:0.6em;
    display: inline-block;
    background: url('../images/ico-quote-start.svg') left top / auto 16px no-repeat,
                url('../images/ico-quote-end.svg') right bottom / auto 16px no-repeat;
}
.paragraphs-item-quote .field-name-field-text *,
.block.quote blockquote * {
    display: inline-block;
}
/* blockquote {
    margin-top:1.5em;
    margin-bottom:1.5em;
} */
.quote-author {
    padding:0 25px;
    font-size: 0.85em;
    color: #607988;
    margin-top:-1em;
}

.paragraphs-item-quote .field-name-field-quote-author,
.block.quote .quote-author {
    margin-top:0;
    padding:0 35px;
    font-size: 0.85em;
    color: #607988;
}
/* p.quote-author {
    margin-top:-1.5em;
    margin-bottom:3.5em;
} */
p.quote-author::before {
    content: '\2014\00a0';
}

/*** Downloads ***/

.paragraphs-items .entity.paragraphs-item-downloads {
    margin-bottom: 1.6em;
}
.entity.paragraphs-item-downloads .field-name-field-text {
    margin-bottom:1.2em;
}
.paragraphs-items .field-name-field-file-download .entity {
    margin-bottom:0.5em;
}
.field-name-field-downloads img {
    display: none;
}
/* .field-name-field-file-download .field-name-field-file-description {
    margin-bottom:0.5em;
} */


/*** Text in grey box ***/

/* .paragraphs-items .entity.paragraphs-item-text-in-grey-box {
    margin-bottom:0;
} */
.paragraphs-items  .paragraphs-item-text-in-grey-box {
    padding: 1.2em 1.4em 1.8em;
    background:#EDF1F3;
    /* line-height: 1.3; */
    margin:2.6em 0;
}
.paragraphs-item-text-in-grey-box *:first-child {
    margin-top:0;
}
.paragraphs-item-text-in-grey-box *:last-child {
    margin-bottom:0;
}
.paragraphs-item-text-in-grey-box a.btn {
    margin:0.75em 0;
}

/*** Media Queries ***/

@media (max-width:1199px) {
    
    /* body.node-type-page .block.quote,
    .node-page .paragraphs-items .paragraphs-item-quote {
        padding-left: 10%;
        padding-right: 10%;
    } */

}
@media (max-width:991px) {

    .paragraphs-item-quote .field-name-field-text, 
    .block.quote blockquote {
        font-size: 1.2em;
    }

}
@media (max-width:479px) {

    /* body.node-type-page .block.quote,
    .node-page .paragraphs-items .paragraphs-item-quote {
        padding-left: 0;
        padding-right: 0;
    } */
    .paragraphs-item-quote .field-name-field-text, 
    .block.quote blockquote {
        font-size: 1.1em;
        font-weight: 700;
        line-height: 1.45;
        padding: 0 25px;
        margin-bottom: 0.6em;
        display: inline-block;
        background: url('../images/ico-quote-start.svg') left top / auto 12px no-repeat, 
                    url('../images/ico-quote-end.svg') right bottom / auto 12px no-repeat;
    }
    .paragraphs-item-quote .field-name-field-quote-author,
    .block.quote .quote-author {
        padding: 0 25px;
    }

}

/***********************************************/
/******************* Articles ******************/
/***********************************************/

/***** Layout *****/

body.node-type-article .main-container {
    text-align: center;
}
body.node-type-article .main-container .row {
    display: inline-block;
    /* margin-left:auto;
    margin-right:auto; */
    text-align: left;
}
/** Main content **/
body.node-type-article .col-sm-9 {
    /* margin:0 auto;
    float:none; */
    width:auto;
    max-width: 831px;
}
/** Sidebar **/
body.node-type-article .col-sm-3 {
    width:40px;
    padding:0;
}

/*** Report page ***/

body.tbc-report .main-container {
    text-align: left;
}
body.tbc-report .main-container .row {
    display: block;
}
body.tbc-report .col-sm-9 {
    width: 66.66667%;
    max-width: 100%;
}
body.tbc-report .col-sm-3 {
    width: 33.33333%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 1.291%;
    padding-right: 1.291%;
}

/*** CTA region ***/

/* body.node-type-article .content-bottom {
    width: auto;
    max-width: 831px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.291%;
    padding-right: 1.291%;
}
body.node-type-article .region-content-bottom {

} */
body.node-type-article .article-cta {
    clear:both;
    width: auto;
    max-width: 831px;
    padding-left: 1.291%;
    padding-right: 1.291%;
    padding-top: 0.5rem;
}
/* Report article type */
body.tbc-report .article-cta {
    width: 66.66667%;
    max-width: 100%;
}

/***** Page styling *****/

body.node-type-article .main-wrap,
body.node-type-report .main-wrap {
    background:#EDF1F3 url('../images/bg-title-header-news.png') center top / 1440px auto no-repeat;
}
body.node-type-article .main-container,
body.node-type-report .main-container {
    background:transparent;
}

.node-article,
.node-report {
    background-color: #fff;
    /* max-width: 810px;
    margin:0 auto; */
    padding:1.6em 1.6em 2em;
}
h1.node-header {
    color: #00133F;
    margin-top:0;
}
.node .byline {
    font-size: 0.85em;
    color:#607988;
    margin-bottom:2em;
}

/*** Report cover block ***/

#report-cover.block {
    padding:1em;
    background:#fff;
    margin-bottom:1em;
    display: inline-block;
}
#report-cover img {
    -webkit-box-shadow: 0px 1px 10px 0px rgba(194,194,194,1);
    -moz-box-shadow: 0px 1px 10px 0px rgba(194,194,194,1);
    box-shadow: 0px 1px 10px 0px rgba(194,194,194,1);
}


/*** Media Queries ***/

@media (max-width:991px) {

    /** Sidebar **/
    body.node-type-article .col-sm-3 {
        width:100%;
        padding-left: 1.291%;
        padding-right: 1.291%;
    }
    body.node-type-article .region-sidebar-second {
        background-color: #fff;
        padding: 0 1.6rem 2rem;
        margin-left:0;
        margin-right:0;
    }
    
    /* Report article type */
    body.tbc-report .article-cta {
        width: 100%;
    }
    body.tbc-report .col-sm-9 {
        width: 100%;
    }
    #report-cover img {
        float:right;
        margin:0 0 2.582% 2.582%;
        max-width: 47.418%;
    }

}
@media (max-width:600px) {

    .node-article,
    .node-report {
        background-color: #fff;
        padding:1.2em 1.2em 2em;
    }
    .node-article h1.node-header {
        font-size:1.5em;
    }
    body.node-type-article .region-sidebar-second {
        padding: 0 1.2rem 2rem;
    }

}

/***********************************************/
/******************** Events *******************/
/***********************************************/

/*** Main image ***/

body.node-type-event .main-wrap {
    position: relative;
    overflow: hidden;
    background-color:#EDF1F3;
}
#events-img {
    position: absolute;
    top:0;
    width: 100%;
    height: 576px;
    z-index: 0;
    display: block;
}
#events-img.uploaded-image {
    background: #00133f;
}
#events-img.default-image {
    background: #00425E;
}
#events-img img {
    opacity: 0.3;
    /* siteimprove */
    opacity: 0.2;
    position: absolute;
    top:0;
    left:50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width:auto;
    height: 100%;
    /* object-position: center; */
    /* object-fit: cover; */
}
#events-img.default-image img {
    opacity: 1;
}

/*** Header Views Block ***/

.block-views.event-node-header {
    color: #fff;
    padding:3em 0 3em;
}
.block-views.event-node-header .views-field-nothing {
    font-size: 0;
}
.block-views.event-node-header .views-field-nothing > .field-content > div {
    font-size: 1rem;
}
.block-views.event-node-header .views-field-nothing .content .views-field {
    font-size: 0.95em;
    /* line-height: 1.75; */
    margin-bottom:0.5em;
}
.block-views.event-node-header .calendar,
.block-views.event-node-header .content {
    vertical-align: top;
}
.block-views.event-node-header .calendar {
    background-color:#fff;
    padding:1.1em 1em;
    color:#00133f;
    border-top:1.778em solid #e73e97;
    /* border-top:32px solid #e73e97; */
    border-radius: 0.2em;
    font-weight: 700;
    text-align: center;
    line-height: 1;
    display: inline-block;

    width:21.2%;
    margin-right:4.417%;

    height:240px;
    /* background: #fff url('../images/event-node-calendar.png') center bottom / 240px auto no-repeat; */
}
.block-views.event-node-header .calendar .day {
    font-size: 6.8em;
}
.block-views.event-node-header .calendar .month-year {
    color:#004f6b;
    font-size: 1.3em;
    margin-top: 0.75em;
}

.block-views.event-node-header .view-content .content {
    display: inline-block;
    width: 74.383%;
    margin-top:20px;
}

.block-views.event-node-header h1.page-header {
    margin-bottom:1em;
}
.block-views.event-node-header .views-field-nothing .content .event-type {
    margin:-1em 0 1em;
}
.block-views.event-node-header .event-location {
    padding-left:1.5em;
    background: url('../images/ico-map-pin-white.svg') left 0.3em / auto 1.1em no-repeat;
}
.block-views.event-node-header .event-date {
    padding-left:1.5em;
    background: url('../images/ico-calendar-white.svg') left 0.25em / auto 1em no-repeat
}

/*** Node ***/

.node-event {
    background:#fff;
    padding:1.6em;
}
.node-event h1.node-header {
    color:#fff;
}
/* .event-cal-date {
    border-top: #E73E97 solid 32px;
    border-radius: 2px;
    background: #fff;
    padding:2em;
} */

.node-event .field-name-field-file-description {
    margin-bottom:0;
}
.node-event .field-name-field-downloads-fieldset .field-name-field-text {
    margin-bottom:1.2em;
}
.node-event .field-name-field-downloads {
    margin-bottom:0.5em;
}

.node-event .field-name-field-downloads a {
    background-color: #8ecc47;
}

/*** Book now button ***/

body.node-type-event .field-name-field-event-form-link {
    font-size: 1.1rem;
    margin-bottom:0;
}
body.node-type-event .field-name-field-event-form-link a {
    margin:2em 0 0;
    /* min-width: 290px; */
}
body.node-type-event .region-sidebar-second .field-name-field-event-form-link a {
    margin-top:0;
    display: block;
}

/*** Closed button ***/

body.node-type-event .field-name-field-event-form-link.closed {
    padding: 0.5em 1em;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.42857143;
    text-align: center;
    /* white-space: nowrap; */
    vertical-align: middle;
    border: 2px solid #fff;
    border-radius: 2px;
    margin: 0;
    color:#fff;
}


/*** Media Queries ***/

@media (max-width:991px) {

    .block-views.event-node-header {
        padding: 1.5em 0 2.5em;
    }

    body.node-type-event .col-sm-9,
    body.node-type-event .col-sm-3 {
        width:100%;
    }
    body.node-type-event .field-name-field-event-form-link.closed {
        color:rgba(0, 19, 63, 1);
        border-color:rgba(0, 19, 63, 1);
    }
    body.node-type-event .region-sidebar-second {
        margin-left:0;
        margin-right:0;
        background-color: #fff;
        padding:0 1.6em 2em;
        font-size: 1rem;
    }
    .block-views.event-node-header .calendar {
        width:200px;
        float:left;
        margin-right: 32px;
        height: 260px;
    }
    .block-views.event-node-header .view-content .content {
        display: block;
        width: auto;
        padding-top:20px;
        margin-left: 232px;
    }
    
}
@media (max-width:767px) {

    .block-views.event-node-header .views-field-nothing > .field-content > .calendar {
        width:170px;
        font-size: 0.8rem;
        border-top-width: 20px;
        margin-right: 30px;
        height: 200px;
    }
    .block-views.event-node-header .view-content .content {
        padding-top:10px;
        margin-left: 200px;
    }

}
@media (max-width:600px) {

    .block-views.event-node-header {
        padding: 1.5em 0 2.5em;
    }
    #block-views-events-block-1 h1.page-header {
        font-size: 1.6em;
        margin-bottom: 1.25em;
    }
    .block-views.event-node-header .views-field-nothing > .field-content > .calendar {
        width: 130px;
        font-size: 0.6rem;
        border-top-width: 20px;
        margin-right: 30px;
        height: 150px;
    }
    .block-views.event-node-header .view-content .content {
        padding-top:5px;
        margin-left: 160px;
    }

}
@media (max-width:500px) {

    .block-views.event-node-header {
        padding: 2em 0 2em;
    }
    .block-views.event-node-header .calendar {
        float:none;
    }
    .block-views.event-node-header .view-content .content {
        padding-top: 0;
        margin-top: 2em;
        margin-left: 0;
    }
}
@media (max-width:396px) {

    #block-views-events-block-1 h1.page-header {
        font-size: 1.4em;
        margin-bottom: 1.5em;
    }
    .node-event {
        background: #fff;
        padding: 1.4em 1.2em;
    }
    #block-views-events-event-related-report {
        padding: 1.2em;
    }
    body.node-type-event .region-sidebar-second {
        padding-left:1.2em;
        padding-right:1.2em;
    }
}


/***********************************************/
/*************** WYSIWYG stying ****************/
/***********************************************/

.field-name-body img {
    width:100% !important;
    height: auto !important;
    margin: 0.6em 0;
}
.field-name-body img[style*="float:right"] {
    margin: 0.25em 0 1em 1.6em;
    width:360px;
    height: auto;
}
.field-name-body img[style*="float:left"] {
    margin: 0.25em 1.6em 1em 0;
    width:360px;
    height: auto;
}

/*** Coloured text ***/

span.text-pink {
	color: #E73E97;
}
span.text-light-blue {
	color: #0080A4;
}
span.text-green {
	color: #8ECC47;
}

/*** Media Embed button ***/

.media_embed {
    margin: 2em 0 2em;
    width:100%;
    height: auto;
}
.media_embed > * {
    margin:0 auto;
}

/*** Icons ***/

p.icon {
    padding-left: 1.6em;
    background-position: left 0.15em;
    background-size: 1.14em auto;
    background-repeat: no-repeat;
    overflow: hidden;
}
span.icon {
    padding-left: 1.3em;
    margin-left:0.3em;
    background-position: left 0.15em;
    background-size: 0.95em auto;
    background-repeat: no-repeat;
}
button span.icon {
    padding:0;
}
/*** Pooks https://intranet.circle-interactive.co.uk/comment/188808#comment-188808 ***/
p.icon, span.icon {
    /** https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/ **/
    /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;
  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}


/* IE 10+ */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    p.icon {
        padding-left: 26px;
        background-position: left 5px;
        background-size: 18px 18px;
    }
    span.icon {
        padding-left: 45px;
        margin-left: -22px;
        background-position: 0 5px;
        background-size: 66px auto;
    }
}

.ico-map-pin {
    background-image: url('../images/ico-map-pin.svg');
}
p.ico-mail,
span.ico-mail {
    background-image: url('../images/ico-mail.svg');
    background-position-y: 0.4em;
}

/* IE 10+ */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    p.ico-mail,
    span.ico-mail {
        background-position-y: 6px;
    }
}
.ico-link {
    background-image: url('../images/ico-link.svg');
}
.ico-calendar {
    background-image: url('../images/ico-calendar.svg');
}
.ico-phone {
    background-image: url('../images/ico-phone.svg');
}
.ico-search {
    background-image: url('../images/ico-main-search-pink.svg');
}
.ico-email {
    background-image: url('../images/ico-email.svg');
}
p.ico-speech,
span.ico-speech {
    background-image: url('../images/ico-speech.svg');
    background-size: 1.24em auto;
    padding-left: 1.5em;
}
/* IE 10+ */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    span.ico-speech {
        background-size: 66px auto;
    }
}

/***********************************************/
/***********************************************/
/*************** INDIVIDUAL PAGES **************/
/***********************************************/
/***********************************************/

/***********************************************/
/***************** Contact us ******************/
/***********************************************/

body.page-node-16 .col-sm-9,
body.page-node-16 .col-sm-3 {
    width:50%;
}
body.page-node-16 .col-sm-3 {
    padding-left:9.33333%; /* 8.333 + 1 */
}

/*** Media Queries ***/

@media (max-width:1199px) {

    body.page-node-16 .col-sm-3 {
        padding-left:1.291%;
    }

}
@media (max-width:767px) {

    body.page-node-16 .col-sm-9,
    body.page-node-16 .col-sm-3 {
        width:auto;
    }

}

/*************************************************/
/***** Find your local Healthwatch Map page ******/
/*************************************************/

/* Making map full width */
body.page-your-local-healthwatch-map .main-wrap .main-container,
body.page-your-local-healthwatch-map .main-wrap .main-container .row,
body.page-your-local-healthwatch-map .main-wrap .main-container .col-sm-12,
body.page-your-local-healthwatch-map .main-wrap .main-container .region-content,
body.page-your-local-healthwatch-map .main-wrap .main-container #block-system-main {
    margin:0;
    padding:0;
    width:100%;
}

/**************************************************/
/***** Find your local Healthwatch List page ******/
/**************************************************/

.local-healthwatch-list .view-header h2 {
    margin-bottom: 1.2em;
}
.local-healthwatch-list .views-row {
    background-color: #edf1f3;
}
.local-healthwatch-list .node {
    font-size: 0;
    height: 430px;
    position: relative;
}
.local-healthwatch-list .content {
    padding:1.4em 1.6em 1.8em;
    /* display: inline-block; */
    width:33.33333%;
    font-size: 1rem;
    height: 100%;
    vertical-align: top;
    float:left;
}
.local-healthwatch-list h3 {
    margin-bottom:1.2em;
}
.local-healthwatch-list .field {
    margin-bottom:1em;
    padding-left:1.6em;
    background-repeat: no-repeat;
    background-position: left 0.2em;
    background-size: 1em auto;
}
.local-healthwatch-list .links .field {
    margin-bottom:0;
    display: inline-block;
}
.local-healthwatch-list .links a:hover,
.local-healthwatch-list .links a:focus {
    border-bottom: 2px solid #00133F;
    text-decoration: none;
}

/** Icons **/
/* Address */
.local-healthwatch-list .field-type-addressfield {
    background-image: url('../images/ico-map-pin.svg');
}
/* Telephone */
.local-healthwatch-list .field-name-field-lh-tel {
    background-image: url('../images/ico-phone.svg');
}
/* Email */
.local-healthwatch-list .email {
    background-image: url('../images/ico-mail.svg');
    background-position-y: 0.35em;
    padding-right: 1em;
    margin-right: 0.75em;
    border-right: 1px solid #cbd0de;
}
/* Website */
.local-healthwatch-list .website {
    background-image: url('../images/ico-link.svg');
}

/** Google Map in list **/

.local-healthwatch-list .field-name-field-lh-location {
    /* display: inline-block; */
    width: 66.66667%;
    font-size: 1rem;
    height: 100%;
    vertical-align: top;
    margin: 0;
    padding: 0;
    float:right;
}
.local-healthwatch-list .field-name-field-lh-location .field-items,
.local-healthwatch-list .field-name-field-lh-location .field-item {
    height: 100%;
}
.local-healthwatch-list .gmap-control {
    width: 100% !important;
    height: 100% !important;
}

/*** Media Queries ***/

@media (max-width:991px) {

    .local-healthwatch-list .content,
    .local-healthwatch-list .field-name-field-lh-location {
        width:50%;
    }
    .local-healthwatch-list .content {
        padding: 1.4em 1.4em 1.6em;
    }

}
@media (max-width:767px) {

    .local-healthwatch-list .content,
    .local-healthwatch-list .field-name-field-lh-location {
        width:100%;
        display: block;
        float:none;
    }
    .local-healthwatch-list .field-name-field-lh-location {
        height: 300px;
    }
    .local-healthwatch-list .node {
        height: auto;
    }

}
@media (max-width:435px) {

    .local-healthwatch-list .content {
        padding-bottom:2em;
    }
    .local-healthwatch-list .links .field {
        display: block;
    }
    .local-healthwatch-list .links .email {
        padding-right: 0;
        margin-right: 0;
        border-right: none;
        margin-bottom: 1em;
    }

}
@media (max-width:435px) {

    .local-healthwatch-list .field-name-field-lh-location {
        height: 250px;
    }

}

/**************************************************/
/****** Find your local Healthwatch Map page ******/
/**************************************************/

/* Override gmap font size */
.local-healthwatch-map .gm-style .gm-style-iw {
    font-size: 0.85rem !important;
}
.local-healthwatch-map .gmap-popup {
    max-width: 260px;
}
.local-healthwatch-map .gmap-popup h2.title {
    font-size: 1.2em;
    margin-bottom:0.5em;
}
.local-healthwatch-map .gmap-popup .field {
    padding-left:1.6em;
    margin-bottom:0.75em;
    background-repeat: no-repeat;
    background-position: left 0.2em;
    background-size: 1em auto;
}
.local-healthwatch-map .gmap-popup .links {
    margin-bottom:0.5em;
}
.local-healthwatch-map .gmap-popup .links .field {
    margin-bottom:0;
    display: inline-block;
}
.local-healthwatch-map .gmap-popup  .links a:hover,
.local-healthwatch-map .gmap-popup  .links a:focus {
    border-bottom: 1px solid #E73E97;
    text-decoration: none;
}

/** Icons **/
/* Address */
.local-healthwatch-map .gmap-popup .address {
    background-image: url('../images/ico-map-pin.svg');
}
/* Telephone */
.local-healthwatch-map .gmap-popup .phone {
    background-image: url('../images/ico-phone.svg');
}
/* Email */
.local-healthwatch-map .gmap-popup .email {
    background-image: url('../images/ico-mail.svg');
    background-position-y: 0.35em;
    padding-right:1em;
    margin-right:0.75em;
    border-right:1px solid #cbd0de;
}
/* Website */
.local-healthwatch-map .gmap-popup .website {
    background-image: url('../images/ico-link.svg');
}



/*
███████  ██████  ██████  ███    ███ ███████
██      ██    ██ ██   ██ ████  ████ ██
█████   ██    ██ ██████  ██ ████ ██ ███████
██      ██    ██ ██   ██ ██  ██  ██      ██
██       ██████  ██   ██ ██      ██ ███████
*/


.control-group .help-inline, .help-block {
    color: #506573;
    font-size:15px;
}
#page-header .control-group .help-inline, 
#page-header .help-block {
    color: #fff;
}

/* Exposed filters in blue header readgon */

.region-header .help-block {
    color:#fff;
}

/***********************************************/
/***********************************************/
/******************* BUTTONS *******************/
/***********************************************/
/***********************************************/

.btn,
.field-name-field-downloads a,
.field-name-field-event-form-link a {
    display: inline-block;
    padding: 0.5em 1em;
    margin-bottom: 0;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.42857143;
    text-align: center;
    /* white-space: nowrap; */
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: none;
    border-radius: 2px;

    margin:0.75em 0;

    white-space: normal;
}
/* a.btn,
.field-name-field-downloads a,
.field-name-field-event-form-link a {
    white-space: nowrap;
} */
button.btn {
    height: 48px;
}
.btn-default,
.btn,
.views-row .btn,
.field-name-field-downloads a,
.field-name-field-event-form-link a,

.wrap.grey a.btn, 
.paragraphs-item-text-in-grey-box a.btn {
    color: #fff;
    background-color: #E73E97;
    /* siteimprove */
    background-color: #CC3A8E;
    /* border-color: #ccc; */
    border: none;
    text-decoration: none;
}

.btn.full-width {
    width: 100%;
}

.btn:active, .btn:active:hover, .btn.active, 
.open > .dropdown-toggle.btn {
    color: #fff;
    background-color: #BA3482;
    border-color: #BA3482;
}
.btn-default:active:hover, 
.btn-default.active:hover, 
/* .open > .dropdown-toggle.btn-default:hover,  */
.btn-default:active:focus, 
.btn-default.active:focus, 
/* .open > .dropdown-toggle.btn-default:focus,  */
.btn-default:active.focus, 
.btn-default.active.focus, 
/* .open > .dropdown-toggle.btn-default.focus, */

.field-name-field-downloads a:hover, .field-name-field-downloads a:focus,

.btn-primary:active, .btn-primary.active, /* .open > .dropdown-toggle.btn-primary, */

.btn-primary:active:hover, .btn-primary.active:hover, /* .open > .dropdown-toggle.btn-primary:hover, */ .btn-primary:active:focus, .btn-primary.active:focus, /* .open > .dropdown-toggle.btn-primary:focus, */ .btn-primary:active.focus, .btn-primary.active.focus, /* .open > .dropdown-toggle.btn-primary.focus, */

.btn:hover, .btn:focus, .btn.focus,

.wrap.grey a.btn:hover, .wrap.grey a.btn:focus,
.paragraphs-item-text-in-grey-box a.btn:hover, .paragraphs-item-text-in-grey-box a.btn:focus,

.views-row .btn:hover, .views-row .btn:focus,

.field-name-field-downloads a:hover, .field-name-field-downloads a:focus,
.field-name-field-event-form-link a:hover, .field-name-field-event-form-link a:focus {
    color: #fff;
    text-decoration: none;
    background-color: #CC3A8E;
    /* siteimprove */
    background-color: #BA3482;
    border: none;
}
.btn:active, .btn.active,

.views-row .btn:active,

.field-name-field-downloads a:active,
.field-name-field-event-form-link a:active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.btn.blue,
/* siteimprove */
.wrap.grey .btn.blue {
    background-color: #004F6B;
}
.btn.blue:hover, .btn.blue:focus, .btn.blue.focus,
/* siteimprove */
.wrap.grey .btn.blue:hover, .wrap.grey .btn.blue:focus, .wrap.grey .btn.blue.focus {
    background-color: #003E4F;
}
.btn.light-blue,
/* siteimprove */
.wrap.grey .btn.light-blue {
    background-color: #0080A4;
}
.btn.light-blue:hover, .btn.light-blue:focus, .btn.light-blue.focus,
/* siteimprove */
.wrap.grey .btn.light-blue:hover, .wrap.grey .btn.light-blue:focus, .wrap.grey .btn.light-blue.focus {
    background-color: #006F89;
}
.btn.green,
/* siteimprove */
.wrap.grey .btn.green {
    background-color: #8ECC47;
    /* siteimprove */
    background-color: #739937;
}
.btn.green:hover, .btn.green:focus, .btn.green.focus
/* siteimprove */
.wrap.grey .btn.green:hover, .wrap.grey .btn.green:focus, .wrap.grey .btn.green.focus {
    background-color: #80B23F;
    /* siteimprove */
    background-color: #647F2F;
}

.btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
    outline: none;
    outline-offset: 0;
}


/***********************************************/
/***********************************************/
/******************* FIELDS ********************/
/***********************************************/
/***********************************************/


span.form-required {
    color:#E54397;
    /* siteimprove */
    color: #BA3482;
}
label {
    font-size: 1rem;
    margin-bottom:1em;
    line-height: 1.2;
}

/* .main-content  */.form-control {
    display: block;
    /* width: 100%; */
    /* width:auto; */
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(100, 79, 79, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
#page-header .form-control {
    width:100%;
}
/* .main-content  */.form-control {
    height: 48px;
    font-size: 1rem;
	/* width: 555px; */
	border: 1px solid #CBD0DE;
	border-radius: 2px;
    background-color: #FFFFFF;
    color: #00133F;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 0.25em 0.75em;
}
/* .main-content  */.form-control:focus {
    border-color: rgb(204, 58, 142);
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
/* .main-content  */.form-control::placeholder {
    color:#607988;
    opacity: 1;
}
/* .main-content  */.form-control:focus::placeholder {
    color:#CBD3D8;
}
/* .main-content  */.form-group {
    margin-bottom: 1.5em;
}

/** Submit button top margin ***/
/* .main-content  */.form-actions {
    margin-top:2.5em;
}

/** Select list **/
.form-select,
.views-exposed-form .views-exposed-widget .dropdown-toggle {
    -webkit-appearance: none;
    -moz-appearance: none;
    color:#607988;
    /* siteimprove */
    color: #506573;
    background: #fff url('../images/ico-chevron-down.svg') right 1em center / auto 0.5em no-repeat;
    /* padding-right: 2.75em; */

    padding: 0.25em 2.75em 0.25em 0.75em;
    height: 48px;
}
/* siteimprove */
.bootstrap-select option {
    background-color: #fff;
    color: #00133F;
}

/** Bootstrap Select Select/Deselect All buttons **/

.bootstrap-select .dropdown-menu button.btn {
    /* background-color: #00415B; */
    font-size: 0.8em;
    padding:0.35em 0.5em 0.4em;
    height: auto;
    min-height: auto;
    margin-bottom: 0.5em;
}
.bootstrap-select .dropdown-menu button.btn:first-of-type {
    border-right: 1px solid #fff;
}
.bootstrap-select .dropdown-menu button.btn:last-of-type {
    border-left: 1px solid #fff;
}

/** Text area **/
.resizable-textarea textarea {
    border-radius: 2px;
    padding: 0.75em 0.75em 1em;
}



/*** Media Queries ***/

@media (max-width:991px) {

    .form-control {
        font-size: 0.9em;
    }

}


/***********************************************/
/***********************************************/
/******************* WEBFORM ********************/
/***********************************************/
/***********************************************/

/*** webform node: adding space above ***/
.webform-client-form.margin-top {
    margin-top:3em;
}

/*** Progress bar ***/

.webform-progressbar {
    margin-bottom: 5em;
}
/* .webform-progressbar-inner {
    height: 1em;
    background-color: #E73E97;
    height: 3px;
} */

.webform-progressbar-outer {
    position: relative;
    border: none;
    width: 100%;
    height: 5px;
    margin: 0.35em -1px 2em;
    background-color: #cbd0de;
}
.webform-progressbar-page.current {
    background-color: #E73E97;
}
.webform-progressbar-page.completed {
    background-color: #E73E97;
}
.webform-progressbar-inner {
    height: 1em;
    background-color: #E73E97;
    height: 0.25em;
}
.webform-progressbar-page {
    position: absolute;
    width: 1em;
    height: 1em;
    margin: -11px -4px;
    border: none;
    background-color: #cbd0de;
    border-radius: 0.5em;
    padding-bottom:1em;
}
.webform-progressbar-page .webform-progressbar-page-label {
    position: relative;
    top: 26px;
    margin: 0 -10em;
}


/*** Webform fields ***/

.webform-container-inline div, 
.webform-container-inline div.form-item {
    display: inline-block;
    margin-left:0.25em;
    margin-right:0.25em;
}
.webform-container-inline div:first-child, 
.webform-container-inline div.form-item:first-child {
    margin-left:0;
}
.webform-container-inline div:last-child, 
.webform-container-inline div.form-item:last-child {
    margin-right:0;
}

@media (max-width:991px) {

    .webform-progressbar {
        display: none;
    }

}


/*
███████ ██ ██   ████████ ███████ ██████  ███████
██      ██ ██      ██    ██      ██   ██ ██
█████   ██ ██      ██    █████   ██████  ███████
██      ██ ██      ██    ██      ██   ██      ██
██      ██ ███████ ██    ███████ ██   ██ ███████
*/


/***********************************************/
/***********************************************/
/************ VIEWS EXPOSED FILTER *************/
/***********************************************/
/***********************************************/

/* 'Boostrap Select'
 * https://silviomoreto.github.io/bootstrap-select/
 */

 /* #views-exposed-form-reports-library-page .views-exposed-widget, 
 #views-exposed-form-reports-library-page .bef-secondary-options .form-item {
    float: none;
    display: inline-block;
    padding: 1em 0.5em 0;
    vertical-align: bottom;
} */

.views-exposed-widgets {
    /* height:20em; */
    padding-bottom:2em;
    /* float: none;
    display: inline-block; */
    vertical-align: bottom;
}
.views-exposed-form .views-exposed-widget {
    padding-top:1em;
}
.views-exposed-widgets label {
    margin-bottom:0.75em;
}
.views-exposed-form .views-exposed-widget .btn {
    margin-top:0;
    /* color:#607988; */
}
.views-exposed-widgets .dropdown-toggle {
    margin-top:0;
}
.views-exposed-form .views-exposed-widget .btn .bs-caret {
    display:none;
}
.region-header .views-exposed-widgets label {
    color: #fff;
}
.region-header .views-exposed-widgets .views-submit-button,
.region-header .views-exposed-widgets .views-reset-button {
    float:right;
}
.views-exposed-form .views-submit-button {
    padding-right: 0;
}


.region-header .views-exposed-widgets .dropdown-toggle:hover,
.region-header .views-exposed-widgets .dropdown-toggle:focus {
    background-color:#fff;
    color: #00133F;
}

.region-header .views-exposed-widgets .bootstrap-select button.dropdown-toggle {
    min-width: 190px;
}

.region-header .views-exposed-widgets .bootstrap-select .dropdown-toggle {
    border:1px solid transparent;
    border-radius: 2px;
    white-space: nowrap;
}
.region-header .views-exposed-widgets .bootstrap-select .open .dropdown-toggle {
    border:none;
}
.region-header .views-exposed-widgets .bootstrap-select .dropdown-toggle:focus,
.region-header .views-exposed-widgets .open .dropdown-toggle {
    outline: none !important;
    outline-offset: 0;
    border-color: rgb(204, 58, 142);
    color: #00133F;
}
.views-exposed-widgets .dropdown-menu {
    border-radius: 2px;
    border-bottom:none;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    font-size: 0.9em;
    padding-top:0.6em;
    padding-bottom:0.6em;
}
.views-exposed-widgets .dropdown-menu > li > a {
    display: block;
    padding: 0.25em 1em;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #00415B;
    white-space: nowrap;
}
.views-exposed-widgets .dropdown-toggle {
    margin-bottom: 0;
}
.views-exposed-widgets .dropdown-menu > li > a {
    text-align: left;
}
.bootstrap-select.btn-group .dropdown-menu li {
    margin:0;
}
.region-header .btn-default:active:hover,
.region-header .btn-default.active:hover,
.region-header .open > .dropdown-toggle.btn-default:hover,
.region-header .btn-default:active:focus,
.region-header .btn-default.active:focus,
.region-header .open > .dropdown-toggle.btn-default:focus,
.region-header .btn-default:active.focus,
.region-header .btn-default.active.focus,
.region-header .open > .dropdown-toggle.btn-default.focus {
  color: #00133F;
  background-color: #fff;
  /* border-color: transparent; */
}
.region-header .btn.form-submit:active:hover,
.region-header .btn.form-submit:active,
.bootstrap-select .dropdown-menu button.btn:active:hover,
.bootstrap-select .dropdown-menu button.btn:active {
    color: #fff;
    background-color: #BA3482;
    /* border-color: #BA3482; */
}

/** Input field icons **/

/* .views-exposed-widgets .views-widget-filter-combine input.form-text {
    background-image: url()
} */

/* @media (max-width:979px) {
    .views-exposed-widgets .dropdown-menu {
        top:auto;
    }    
} */

/*** Media Queries ***/

@media (max-width:991px) {

    .views-exposed-form .views-exposed-widget {
        padding-top:0.5em;
    }
    #views-exposed-form-events-page-2 .views-exposed-form .views-exposed-widget {
        padding-top:1em;
    }

}
@media (max-width:600px) {

    .views-exposed-form .views-exposed-widget {
        padding-top:0.25em;
    }
    #views-exposed-form-events-page-2 .views-exposed-form .views-exposed-widget {
        padding-top:0.75em;
    }
    .views-exposed-widgets label {
        margin-bottom: 0.5em;
    }

}

/****************************************************/
/******* News and reports & Advice and Info *********/
/****************************************************/

/* News & Reports */
#views-exposed-form-news-and-reports-page .views-widget-filter-field_themes_tid {
    width:16em;
}
/* Advice & Info */
#block-views-a022a0924d646995eb4d968acf2b0de1 .views-widget-filter-field_themes_tid {
    width:20em;
}
#block-views-exp-news-and-reports-page .views-widget-filter-field_article_type_tid {
    width:13em;
}

/*** Media Queries ***/

@media (max-width:1199px) {

    #views-exposed-form-news-and-reports-page .views-widget-filter-combine {
        float:none;
        padding-right:0;
        margin-bottom:0.5em;
    }

}
@media (max-width:991px) {

    #views-exposed-form-news-and-reports-page .views-widget-filter-field_article_type_tid,
    #views-exposed-form-news-and-reports-page .views-widget-filter-field_themes_tid {
        float:left;
        padding-right:0;
        margin-bottom:0.5em;
        width: 48.709%;
    }
    #views-exposed-form-news-and-reports-page .views-widget-filter-field_article_type_tid {
        margin-right: 1.291%;
    }
    #views-exposed-form-news-and-reports-page .views-widget-filter-field_themes_tid {
        margin-left: 1.291%;
    }
    #views-exposed-form-news-and-reports-page .views-exposed-widgets .views-submit-button, 
    #views-exposed-form-news-and-reports-page .views-exposed-widgets .views-reset-button {
        float: none;
        display: inline-block;
        padding-right: 1em;
    }
    #views-exposed-form-news-and-reports-page button.form-submit {
        margin-top:1em !important;
    }

    #block-views-a022a0924d646995eb4d968acf2b0de1 .views-widget-filter-combine {
        float:none;
        padding-right:0;
        margin-bottom:0.5em;
    }

}
@media (max-width:600px) {

    #views-exposed-form-news-and-reports-page .views-widget-filter-field_article_type_tid,
    #views-exposed-form-news-and-reports-page .views-widget-filter-field_themes_tid {
        width: 100%;
        margin-left:0;
        margin-right: 0;
    }

    #block-views-a022a0924d646995eb4d968acf2b0de1 .views-widget-filter-field_themes_tid {
        float:none;
        width: 100%;
        padding-right:0;
        margin-bottom:0.5em;
    }
    #block-views-a022a0924d646995eb4d968acf2b0de1 .views-exposed-widgets .views-submit-button, 
    #block-views-a022a0924d646995eb4d968acf2b0de1 .views-exposed-widgets .views-reset-button {
        float: none;
        display: inline-block;
        padding-right: 1em;
    }
    #block-views-a022a0924d646995eb4d968acf2b0de1 button.form-submit {
        margin-top:1em !important;
    }

}

/***********************************************/
/********* Find your local Healthwatch *********/
/***********************************************/

.block-views.find-local-healthwatch {
    border-bottom:1px solid rgba(255,255,255,0.5);
    padding-bottom:2em;
    /* margin-bottom:1.4em; */
}
.block-views.find-local-healthwatch .block-inner {
    background-color:#fff;
    padding:1.6em;
}
.region-header .block-views.find-local-healthwatch .views-exposed-widgets label {
    color: #00133F;
}

.block-views.find-local-healthwatch .form-item-distance-postal-code label,
.block-views.find-local-healthwatch .form-item-distance-search-distance,
.block-views.find-local-healthwatch .form-item-distance-search-units {
    display: none;
}

.block-views.find-local-healthwatch h2.block-title {
    background: url(../images/ico-map-pin.svg) left 0.15em / auto 1em no-repeat;
    padding-left: 1.2em;
}

.block-views.find-local-healthwatch .views-exposed-widgets {
    padding:0;
}


/** Search by local authority: select with search widget **/

.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}
.block-views.find-local-healthwatch .select2-container {
    width: 100% !important;
}
.select2-container--default .select2-selection--single {
    background: #fff url('../images/ico-chevron-down.svg') right 1em center / auto 0.5em no-repeat;
    border: 1px solid #CBD0DE;
    border-radius: 2px;
    height: 48px;
    
}
.select2-container--default .select2-selection--single:focus {
    border-color: rgb(204, 58, 142);
    outline: 0;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    display: block;
    padding:0.5em 2.75em 0.5em 0.75em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 48px;
    color: #607988;
}
.select2-container .select2-selection--single .select2-selection__rendered:focus {
    border-color: rgb(204, 58, 142);
    outline: 0;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #CBD0DE;
    border-radius: 2px;
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: rgb(204, 58, 142);
    outline: 0;
}

.views-exposed-form .label-or {
    margin-top:2.7em;
    font-style: italic;
}

.select2-results__option {
    margin:0;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #EDF1F3;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #00415B;
}

.block-views.find-local-healthwatch .views-widget-filter-title,
.block-views.find-local-healthwatch .views-widget-filter-distance {
    width:calc(50% - 70px);
}


/*** Media Queries ***/

@media (max-width:767px) {

    .block-views.find-local-healthwatch .views-widget-filter-title,
    .block-views.find-local-healthwatch .views-widget-filter-distance {
        width:100%;
        display: block;
        padding-right: 0;
        float:none;
    }
    .views-exposed-form .label-or {
        margin-top: 0.3em;
        margin-bottom: 0.3em;
        float:none;
    }
    .region-header .block-views.find-local-healthwatch .views-exposed-widgets .views-submit-button, 
    .region-header .block-views.find-local-healthwatch .views-exposed-widgets .views-reset-button {
        float: none;
    }
    .block-views.find-local-healthwatch button.form-submit {
        margin-top:1.3em !important;
        /* height: auto; */
    }

}
@media (max-width:435px) {

    .block-views.find-local-healthwatch .block-inner {
        padding: 1.2em;
    }
    .views-exposed-form .label-or {
        padding-right: 0;
        text-align: center;
    }
    .block.switch-buttons-list-map h2.block-title {
        display: none;
    }
    .block-views.find-local-healthwatch {
        border-bottom: none;
        padding-bottom: 0;
        /* margin-bottom: 1.4em; */
    }
    .block-views.find-local-healthwatch button.form-submit {
        width:100%;
    }
}

/*** View results as list or map switch buttons ***/

.block.switch-buttons-list-map {
    float:right;
    margin:1.75em 0 1.25em;
}
.block.switch-buttons-list-map h2.block-title {
    color:#fff;
    font-size: 1rem;
    float:left;
    margin-right:1em;
}
.block.switch-buttons-list-map .content {
    float:left;
}
.block.switch-buttons-list-map ul.switch {
    margin:0;
    padding:0;
    list-style: none;
    font-size:0;
/*     border:2px solid #fff;
    border-radius: 2px; */
/*     background:#fff; */
}
.block.switch-buttons-list-map ul.switch:after {
    content: "";
    display: table;
    clear: both;
}
.block.switch-buttons-list-map ul.switch li {
    margin:0;
    padding:0;
    float:left;
    font-size: 1rem;
    font-weight:700;
}
.block.switch-buttons-list-map ul.switch li a {
    padding:0.4em 1.25em;
    background-color: transparent;
    color:#fff;
    border:2px solid #fff;
    outline:none;
    /* display: inline-block; */
}

.block.switch-buttons-list-map ul.switch li:first-child {
    margin-right:-1px;
}
.block.switch-buttons-list-map ul.switch li:first-child a {
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    border-right-width:1px;
}
.block.switch-buttons-list-map ul.switch li:last-child a {
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    border-left-width:1px;
}

body.page-your-local-healthwatch-list ul.switch li.list a,
body.page-your-local-healthwatch-map ul.switch li.map a {
    background-color: #fff;
    color: #00133F;
}
.block.switch-buttons-list-map ul.switch li a:hover,
.block.switch-buttons-list-map ul.switch li a:focus {
    text-decoration: none;
}
body.page-your-local-healthwatch-map ul.switch li.list a:hover,
body.page-your-local-healthwatch-map ul.switch li.list a:focus,
body.page-your-local-healthwatch-list ul.switch li.map a:hover,
body.page-your-local-healthwatch-list ul.switch li.map a:focus {
    background-color: rgba(0, 65, 91, 0.5);
}
body.page-your-local-healthwatch-map ul.switch li.map a:focus,
body.page-your-local-healthwatch-list ul.switch li.list a:focus {
    background-color: rgba(255, 255, 255, 0.5);
}

/*** Media Queries ***/

@media (max-width:435px) {

    .block.switch-buttons-list-map {
        float: none;
        margin: 1.5em 0 1.6em;
        text-align: center;
    }
    .block.switch-buttons-list-map .content {
        float:none;
    }
    .block.switch-buttons-list-map ul.switch {
        display: block;
        width:100%;
    }
    .block.switch-buttons-list-map ul.switch li {
        width:50%;
    }
    .block.switch-buttons-list-map ul.switch li a {
        display: block;
        padding:0.5em 1.25em;
    }

}


/****************************************************/
/********************** Events **********************/
/****************************************************/


#views-exposed-form-events-page-2 {

}
#views-exposed-form-events-page-2 .event-dates-wrapper:after {
    content: "";
    display: table;
    clear: both;
}
#views-exposed-form-events-page-2 .event-dates-wrapper input,
#views-exposed-form-events-page-2 .event-dates-wrapper .container-inline-date > .form-item {
    margin-right: 0;
}
#views-exposed-form-events-page-2 #edit-combine-wrapper {
    margin-right: 2.582%;
    padding-right: 0;
}
#views-exposed-form-events-page-2 #edit-combine-wrapper,
#views-exposed-form-events-page-2 .event-dates-wrapper {
    width: 48.709%;
    display: inline-block;
}
#views-exposed-form-events-page-2 .event-dates-wrapper > div:first-child {
    margin-right: 2.582%;
}
#views-exposed-form-events-page-2 .event-dates-wrapper .views-exposed-widget {
    padding-right: 0;
    width:48.709%;
    display: inline-block;
}
#views-exposed-form-events-page-2 .event-dates-wrapper div {
    float:none;
}
.event-dates-wrapper .container-inline-date > .form-item {
    display: block;
}
.event-dates-wrapper .container-inline-date .form-item input {
    width: 100%;
}

#views-exposed-form-events-page-2 .views-widget-sort-order {
    /* clear:both; */
}
.region-header .views-exposed-widgets .views-widget-sort-order button.dropdown-toggle {
    min-width: 40px;
}
#views-exposed-form-events-page-2 .views-widget-sort-order label.control-label {
    font-size: 1em;
}

/** Hide 'sort by' field **/
#views-exposed-form-events-page-2 .views-widget-sort-by {
    display: none;
}

/*** Media Queries ***/

@media (max-width:767px) {

    #views-exposed-form-events-page-2 #edit-combine-wrapper {
        width: 31.709%;
    }
    #views-exposed-form-events-page-2 .event-dates-wrapper {
        width: 64.709%;
    }

}
@media (max-width:600px) {

    #views-exposed-form-events-page-2 #edit-combine-wrapper {
        width: 100%;
        margin-right: 0;
        display: block;
    }
    #views-exposed-form-events-page-2 .event-dates-wrapper {
        width: auto;
        display: block;
    }
    #views-exposed-form-events-page-2 .views-exposed-widgets .views-submit-button {
        clear:left;
        padding-right: 1em;
    }
    #views-exposed-form-events-page-2 .views-exposed-widgets .views-submit-button, 
    #views-exposed-form-events-page-2 .views-exposed-widgets .views-reset-button {
        float: left;
        margin-top:-1em;
        /* display: inline-block; */
    }

}
@media (max-width:435px) {

    #views-exposed-form-events-page-2 .views-widget-filter-field_event_type_tid {
        padding-right: 0;
        width:100%;
        display: block;
    }
    #views-exposed-form-events-page-2 .views-exposed-widgets .views-submit-button {
        clear:none;
        padding-right: 0;
    }

    #views-exposed-form-events-page-2 .views-exposed-widgets .views-submit-button, 
    #views-exposed-form-events-page-2 .views-exposed-widgets .views-reset-button  {
        float: right;
        margin-top:0;
    }

}
@media (max-width:396px) {

    #views-exposed-form-events-page-2 .event-dates-wrapper > div:first-child {
        margin-right: 0;
    }
    #views-exposed-form-events-page-2 .event-dates-wrapper .views-exposed-widget {
        padding-right: 0;
        width: 100%;
        display: block;
        float: none;
        clear: both;
    }
    #views-exposed-form-events-page-2 .views-exposed-widgets .views-submit-button {
        clear:left;
        padding-right: 1em;
    }
    #views-exposed-form-events-page-2 .views-exposed-widgets .views-submit-button, 
    #views-exposed-form-events-page-2 .views-exposed-widgets .views-reset-button {
        float: left;
        margin-top:-1em;
        /* display: inline-block; */
    }
    #views-exposed-form-events-page-2 .views-exposed-widgets .views-widget-sort-order {
        padding-right: 0;
        float:none;
        clear:both;
    }
    /* #views-exposed-form-events-page-2 .views-exposed-widgets .views-widget-sort-order div {
        display: block;
    } */

}   

/****************************************************/
/****************************************************/
/***************** Reports Library ******************/
/****************************************************/
/****************************************************/

/*** Publication date ***/

#views-exposed-form-reports-library-page .views-widget-filter-field_publication_date_value input {
    margin:0;
    width:100%;
}
#views-exposed-form-reports-library-page .views-widget-filter-field_publication_date_value .container-inline-date > .form-item,
#views-exposed-form-reports-library-page .views-widget-filter-field_publication_date_value .container-inline-date .date-padding,
#views-exposed-form-reports-library-page .views-widget-filter-field_publication_date_value .container-inline-date .form-item .form-item {
    display: block;
    float:none;
}
#views-exposed-form-reports-library-page .views-widget-filter-field_publication_date_value .views-widget {
    font-size: 0;
    margin-left:-0.05rem;
    margin-right:-0.05rem;
}
#views-exposed-form-reports-library-page .views-widget-filter-field_publication_date_value .views-widget > div {
    font-size: 1rem;
    display: inline-block;
    width:calc(50% - 0.1rem);
    margin-left:0.05rem;
    margin-right:0.05rem;
}
#views-exposed-form-reports-library-page .views-widget-filter-field_publication_date_value input::placeholder {
    font-weight: 700;
    color:#506573;
}
#views-exposed-form-reports-library-page .views-widget-filter-field_publication_date_value input:focus::placeholder {
    color:#D7DDE1;
}
#views-exposed-form-reports-library-page .views-widget-filter-field_publication_date_value .control-label {
    display: none;
}
#views-exposed-form-reports-library-page #edit-field-publication-date-value-max-wrapper .form-item {
    margin-right:0;
}

#views-exposed-form-reports-library-page .views-exposed-widgets .dropdown-menu > li > a {
    white-space: normal;
}


/***** Setting indivdual fields min-widths *****/

/* Healthwatch name */
#edit-field-reports-library-hw-value-wrapper button.dropdown-toggle {
    width:14em;
}
/* Report Type */
#edit-field-select-product-type-value-wrapper button.dropdown-toggle {
    width:12em;
}
/* Which service category... */
#edit-field-which-service-category-doe-value-1-wrapper button.dropdown-toggle {
    width:25em;
}
/* Conditions or disease */
#edit-field-conditions-or-disease-value-1-wrapper button.dropdown-toggle {
    width:17em;
}

.views-exposed-widget button.dropdown-toggle {
    max-width: 100%;
}

/**********************************************/
/************** Advanced options **************/
/**********************************************/

#views-exposed-form-reports-library-page .views-widget-filter-secondary {
    float:none;
    display: block;
    clear:both;
    padding: 1.2em 0 0;
    /* margin-top:1em; */
    border-top:1px solid rgba(255,255,255,0.5);
    position: relative;
    top:1.6em;
    /* margin:0.5em 0; */
    margin-bottom:0.5em;
}
#views-exposed-form-reports-library-page .views-widget-filter-secondary .panel {
    background-color: transparent;
}
#views-exposed-form-reports-library-page .views-widget-filter-secondary .panel-heading {
    /* height: 48px; */
    /* padding:0; */
    background-color: #fff;
    padding:0;
}
#views-exposed-form-reports-library-page .views-widget-filter-secondary a.panel-title {
    background-color: #fff;
    color:#506573;
    font-size: 18px;
    font-weight: 700;
    vertical-align: middle;
    padding:0.75em 0.75em;
    margin:0;
    background: #fff url('../images/ico-chevron-down.svg') right 1em center / auto 0.5em no-repeat;
}
#views-exposed-form-reports-library-page .views-widget-filter-secondary a.panel-title:hover,
#views-exposed-form-reports-library-page .views-widget-filter-secondary a.panel-title:focus {
    text-decoration: none;
    color:#00133F;
}
#views-exposed-form-reports-library-page .views-widget-filter-secondary .panel {
    border-radius: 2px;
}

/**** Advanced options fieldset ****/

#views-exposed-form-reports-library-page .bef-secondary-options {
    margin-left:-0.5rem;
    margin-right:-0.5rem;
    font-size: 0;
}
#views-exposed-form-reports-library-page .bef-secondary-options > .form-item {
    float:none;
    display: inline-block;
    width:calc(33.33333% - 1em);
    font-size:1rem;
    margin: 0 0.5em 1em;
}


/*** Submit / Reset buttons ***/

/* #views-exposed-form-reports-library-page .views-submit-button,
#views-exposed-form-reports-library-page .views-reset-button {
    margin-top:0.5em;
} */


/**********************************************/
/******************* Table ********************/
/**********************************************/

/* Publication date */

.view-reports-library table.views-table td.views-field-field-publication-date {
    white-space: nowrap;
}

/* Rating */

.view-reports-library .views-table .rate-widget .rate-button,
.view-reports-library .views-table .rate-widget li:last-child {
  display: none;
}


/*** Media queries ***/

@media (max-width: 991px) {
    #views-exposed-form-reports-library-page .views-exposed-form .views-exposed-widget {
        padding-top: 1em;
    }
    #views-exposed-form-reports-library-page .bef-secondary-options > .form-item {
        width:calc(50% - 1em);
    }
    .region-header #block-views-exp-reports-library-page .views-exposed-widgets .views-submit-button, 
    .region-header #block-views-exp-reports-library-page .views-exposed-widgets .views-reset-button {
        float:left;
    }
    .region-header #block-views-exp-reports-library-page .views-exposed-widgets .views-submit-button {
        padding-right: 1em;
    }
}
/* @media (max-width: 767px) {
    #views-exposed-form-reports-library-page .bef-secondary-options > .form-item {
        width:calc(50% - 1em);
    }
} */
@media (max-width:600px) {
    #views-exposed-form-reports-library-page .views-exposed-form .views-exposed-widget {
        float:none;
        display: block;
        padding-right:0;
    }
    .views-exposed-widget button.dropdown-toggle {
        width: 100% !important;
    }
    /* .views-exposed-widget  .bootstrap-select.btn-group .dropdown-menu {
        max-width: 100%;
    }
    #views-exposed-form-reports-library-page .views-exposed-widgets .dropdown-menu > li > a {
        white-space: normal;
    } */

    /*** Advanced options ***/
    #views-exposed-form-reports-library-page .bef-secondary-options > .form-item {
        width:calc(100% - 1em);
    }
}


/**********************************************/
/********* Node node-reports-library **********/
/**********************************************/


.node-reports-library .field {
    margin-bottom:0.5em;
}

/*** Did you find this report useful ***/

/* body.node-type-reports-library #content-wrapper */
.node-reports-library {
    position: relative;
}
.node-reports-library .form-item {
    position: absolute;
    top:0.15em;
    right:0;
    margin:0;
    /* padding-top:0.3em; */
}
.node-reports-library .form-item label.control-label {
    /* margin:0; */
}
.node-reports-library .form-item > * {
    vertical-align: top;
}
.node-reports-library .form-item .rate-widget {
    display: inline-block;
    font-weight: bold;
}
.node-reports-library .form-item .rate-widget ul {
    padding:0;
    margin:0;
    overflow: visible;
}
.node-reports-library .form-item .rate-widget .rate-info {
    display: none;
}
.node-reports-library .form-item .rate-widget ul li:last-child {
    display: none;
}

/** 'Yes' thumbs up button **/

.node-reports-library .rate-widget-1 {
    margin-top:-0.2em;
    margin-bottom:0.5em;
}
.node-reports-library a#rate-button-1 {
    text-indent: -1000px;
    overflow: hidden;
    /* margin-left:0.3em; */
    background: grey;
    border: none;
    margin: -0.3em 0.5em 0 0.3em;
    padding: 0;
    color: #666 !important;
    border: none;

    width: 32px;
    height: 32px;

    background: transparent url('../images/ico-thumbs-up-grey.svg') center / 32px no-repeat;

    transition-duration:100ms;
}
.node-reports-library a#rate-button-1:after { 
    position:absolute; width:0; height:0; overflow:hidden; z-index:-1;
    content: url('../images/ico-thumbs-up-green.svg');
}
.node-reports-library a#rate-button-1:hover,
.node-reports-library a#rate-button-1:focus,
.node-reports-library a#rate-button-1.voted-yes,

.node-reports-library .form-item.voted-yes:first-of-type a#rate-button-1 {
    background-image: url('../images/ico-thumbs-up-green.svg');
    outline: none;
}
.rate-widget-yesno ul li {
    float: left;
    list-style: none;
    margin:0;
}

/*** Media Queries ***/

@media (max-width:767px) {

    .node-reports-library .form-item {
        position: static;
        /* top:auto;
        right:auto;
        margin:auto; */
        /* padding-top:0.3em; */
        /* padding-bottom:0.75em; */
        margin-bottom:1.25em;
        border-bottom:1px solid rgba(0, 19, 63, 0.5);
    }

}


/*
 ██████ ██   ██  █████  ██████  ████████ ███████
██      ██   ██ ██   ██ ██   ██    ██    ██
██      ███████ ███████ ██████     ██    ███████
██      ██   ██ ██   ██ ██   ██    ██         ██
 ██████ ██   ██ ██   ██ ██   ██    ██    ███████
*/


svg.highcharts-root,
svg.highcharts-root text {
    font-size: 0.9rem !important;  
}
/* svg.highcharts-root text {
    width:20% !important;
}
svg.highcharts-root g.highcharts-legend {
    width:20% !important;
} */
/* svg.highcharts-root rect {
    width:100% !important;
} */

.chart svg {
    font-family: 'Lato', sans-serif !important;
}


/*
███████ ███████  █████  ██████   ██████ ██   ██
██      ██      ██   ██ ██   ██ ██      ██   ██
███████ █████   ███████ ██████  ██      ███████
     ██ ██      ██   ██ ██   ██ ██      ██   ██
███████ ███████ ██   ██ ██   ██  ██████ ██   ██
*/

/*** Apache Solr search page ***/


.block-facetapi h2.block-title {
    font-size:1.3em;
    margin-bottom:0.75em;
}

form.search-form {
    padding:0.85rem 1.2em 1em;
    background-color: #EDF1F3;
    margin-bottom:2.5em;
}
form.search-form + h2 {
    margin-bottom: 1.5em;
    font-size: 2em;
    display: none;
}
form.search-form .form-inline .control-label {
    display: block;
    font-size:1.3em;
    margin:0 0 0.5em;
}
@media (max-width:991px) {
    form.search-form .form-inline .control-label,
    .block-facetapi h2.block-title {
        font-size: 1.1em
    }
}
form.search-form .form-group .form-item.form-item-retain-filters {
    margin-right: 0;
    float:right;
}
form.search-form .form-inline .form-item-retain-filters .control-label  {
    font-size: 1em;
    margin:1em 0 0;
}
form.search-form .form-inline .form-item-retain-filters .control-label .form-checkbox {
    margin-right: 0.5em;
}
form.search-form .form-group {
    margin:0;
    width:100%;
}
form.search-form .form-group .form-item {
    margin-right:0.75em;
}
form.search-form .form-group .form-item input.form-control {
    width:100%;
}

body.page-search ol.search-results {
    margin-top:2em;
}
body.page-search ol.search-results li.search-result {
    margin: 0 0 1.2em 1.2em;
    font-weight: 700;
    /* margin: 1.2em 0 0.75em; */
    line-height: 1.2;
    font-size: 1.3em;
}
body.page-search ol.search-results li.search-result h3.title {
    font-size: 1.3rem;
    margin-bottom:0.5em;
}
body.page-search .search-snippet-info {
    font-size: 1rem;
    font-weight: 400;
}
body.page-search .search-snippet {
    margin-bottom:0.75em;
    line-height: 1.4;
}
body.page-search .search-info {
    font-weight: 700;
}

@media (max-width:767px) {
    body.page-search .region-sidebar-first {
        display:none;
    }
    body.page-search .col-sm-9 {
        width: auto;
    }
    form.search-form .form-group .form-item.form-item-retain-filters {
        display: none;
    }
}


/*** New display suite teaser displays ***/

body.page-search .node-teaser {
    padding:0;
}
body.page-search .node-teaser .field-name-field-lead-paragraph {
    font-weight: 400;
}
body.page-search .node-teaser h2 {
    font-size:1.3em;
}
body.page-search .node-teaser p.byline {
    margin-bottom:1em;
}
/* body.page-search .node-teaser footer {
    display: none;
} */


#block-views-homepage-carousel-block .view-footer {
    position:absolute;
    top:1rem;
    right:1rem;
    /* background-color: #000; */
    z-index: 999;
}
#block-views-homepage-carousel-block .control-btn {
    color: transparent;
    text-indent: 1000px;
    font-size: 1px;
    text-align: right;
    /*background-color: #004F6B;*/
    overflow: hidden;
    width: 18px;
    height: 18px;
    display: inline-block;
    background-repeat:no-repeat;
}

/*#block-views-homepage-carousel-block .control-btn.btn-play {
    background: url('../images/ico-play.svg');
    width: 16px;
}
#block-views-homepage-carousel-block .control-btn.btn-pause {
    background: url('../images/ico-pause.svg');
}
#block-views-homepage-carousel-block .control-btn.btn-hide {
    background: url('../images/ico-hide.svg');
    width:19px;
}*/




