/*
	Theme Name: NHS-Gloucestershire-ICB-Extranet
	Description: New version for Gloucestershire ICB Extranet based on Bootstrap and NHS.UK theme
	Author: Rich Gwilt
	Author URI: http://www.activelabs.co.uk
	Version: 1.0

	The CSS, XHTML and Design are released under the GPL:
	http://www.opensource.org/licenses/gpl-license.php

    Styles an extension of NHS Style Guide: 
    https://service-manual.nhs.uk/
    #005EB8
*/

html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

body {
    font-size: 16px;
    background-color: #f0f4f5
}


/* General styles
 *
*/

.bg-white {
    background: #ffffff;
}
.bg-light-grey {
    background: #d8dde0;
}
.bg-dark-grey {
    background: #425563;
}


/* Main content area
 *
*/

main {
    padding: 20px 0 0 0;
    margin-bottom: 100px;
}

main.homepage {
    margin-bottom: 0px;
}

@media only screen and (min-width:767px) {
    main {
        padding: 30px 0 0 0
    }
}


/* Header and navigation
 *
 * - Note that menu styles are in seperate sheet
 */

header {
    background: #005eb8;
    padding: 20px 0 0 0;
}

#header a.nhs-logo {
    text-decoration: none;
}
#header a.nhs-logo img {
    width: 120px;
}
#header a.nhs-logo .nhsuk-header__service-name {
    font-weight: 400;
    font-size: 1.1875rem;
    line-height: 1.47368;
    color: #fff;
    margin-left: 30px;
}
#header a.nhs-logo:hover .nhsuk-header__service-name {
    text-decoration: underline;
}

/* Full width search bar */
#searchbar {
    background: #005EB8;
}

#searchbar label {
    display: none;
}

#searchbar .large-search-box {
    height: 40px;
    width: 99%;
    letter-spacing: 1px;
    padding: 10px 10px 8px;
    border: 0px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 0;
    background: #FFF;
}

#searchbar .large-search-button {
    position: absolute;
    right: 15px;
    top: 0;
    bottom: 0;
    height: 40px;
    font-size: 1.125rem;
    padding: 0 10px;
    border: 0;
    border-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    background: #f0f4f5;
    color: #005eb8;
}

#searchbar .large-search-button:hover {
    background: #ffeb3b;
}

/* Menu bar (menu styles in seperate css file) */
#navbar {
    margin-top: 30px
}

/* Breadcrumb bar */
.nhsuk-breadcrumb {
    background-color: #fff;
    padding-bottom: 12px;
    padding-top: 12px;
}
.breadcrumb-container ol {
    font-size: 1rem;
    line-height: 1.5;
    padding-inline-start: 15px;
    margin-bottom: 0px;
}

.breadcrumb-container li .separator {
    font-size: 0.75rem;
    color: #bbb;
}

.breadcrumb-container li a,
.breadcrumb-container li a:visited {
    color: #005eb8;
    text-decoration: underline !important;
}
.breadcrumb-container li a:hover {
    color: #330072;
    text-decoration: none;
}

/* Full width page header */
#headerbar {
    /*
    background: #005EB8;
    color: #fff;
    margin-bottom: 20px;
    padding: 50px 0 20px
    */
    color: #000;
    padding: 30px 0 0px
}

#headerbar h1 {
    font-weight: normal;
    letter-spacing: 1px;
    margin-top: 15px
}


/* Coookie control banner at the top */


/* Footer
 *
 */

footer {
    background-color: #d8dde0;
    border-top: 4px solid #005eb8;
    color: #4c6272;
    font-size: 1rem;
    line-height: 1.5;
    padding-bottom: 50px;
}

footer a,
footer a:visited {
    color: #EEEEEE
}

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

footer .footer-social {
    display:none;
    margin: 30px 0;
}

footer .footer-social li.list-inline-item:not(:last-child) {
    margin-right: 10px;
}

footer .footer-social i {
    font-size: 2.25rem;
}

footer .footer-links {
    margin: 20px 0 30px;
    font-size: 88%;
}

footer .footer-links h2 {
    margin-bottom: 20px;
}

footer .footer-links ul {
    list-style-position: inside;
    list-style-type: none;
    padding-inline-start: 0px;
}

footer .footer-links i {
    margin-right: 10px
}

footer .footer-links a {
    color: #4c6272;
}

footer .footer-copyright {
    margin: 20px 0 30px;
}


/* Sidebar navigation and sidebar widgets
 *
 */
.sidebar {}

.sidebar .widget,
.sidebar .card
 {
    margin-bottom: 40px;
}

.sidebar .widget .nhs-heading {
    font-size: 1.1rem;
    padding: 8px 22px;
    margin: 0 0 10px 0 !important;
}

.sidebar ul {
    padding: 0;
}

.sidebar ul li {
    list-style-type: none;
}

.sidebar h4 {
    border-bottom: 4px solid #dddddd;
    background: #005EB8;
    color: #ffffff;
    margin: 0 0 10px;
    padding: 10px;
}

.sidebar h4 a {
    color: #425563;
    text-decoration: none;
}

.sidebar h4 a:hover {
    color: #000;
}

/* Sidebar navigation */
.sidebar .widget {
    margin: 10px 0 0;
}

.sidebar .widget h4 a {
    color: #FFF;
    text-decoration: none;
}

.sidebar .widget h4 a:hover {
    color: #f0f4f5;
}

.sidebar .widget ul li {
    border-left: 4px solid #ddd;
    background: #f0f4f5;
    margin-bottom: 5px;
}

.sidebar .widget ul li.current_page_item {
    border-left: 4px solid #005EB8;
}

.sidebar .widget ul li a {
    display: inline-block;
    line-height: 1.4;
    padding: 8px 10px;
    font-size: 0.875rem;
}

.sidebar .widget ul li.current_page_item a {
    font-weight: bold;
}

.sidebar .widget ul li.page_item_has_children>a::after {
    border-bottom: 4px solid transparent;
    border-left: 4px solid #0072c6;
    border-top: 4px solid transparent;
    content: '';
    display: inline-block;
    height: 0;
    margin-left: 10px;
    vertical-align: middle;
    width: 0;
}


/*
 News category page
 *
 */
.archive .postarea,
.search .postarea,
.category .postarea {
    margin-bottom: 100px;
}

.archive .postarea .post,
.search .postarea .post,
.category .postarea .post {
    background: #FFF;
}

.archive .postarea .post h3,
.search .postarea .post h3,
.category .postarea .post h3 {
    margin-top: 0px;
}

.archive .postarea .post .post-thumbnail img,
.search .postarea .post .post-thumbnail img,
.category .postarea .post .post-thumbnail img {
    width: 100%;
    height: auto;
}

.archive .postarea .post .post-thumbnail .video-overlay,
.search .postarea .post .post-thumbnail .video-overlay,
.category .postarea .post .post-thumbnail .video-overlay {
    position: absolute;
    top: 0px;
    left: 15px;
    padding: 15px;
    background: #000;
    color: #fff;
    font-size: 0.75rem;
    opacity: 0.8;
}

.pagination {
    margin-top: 30px;
}

.pagination .page-item {
    list-style-type: none;
}

.pagination .page-item .page-link {
    border-radius: 0px;
    color: #002659;
    padding: 0.4rem 1.5rem;
    font-size: 1rem;
}

/*
 News article page
 *
 */
.single .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.single .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.single .image-wrapper {}

.single .image-wrapper img {
    width: 100%;
    height: auto;
}

/* Date style for category and article */
.post-meta>div {
    list-style-type: none;
    padding: 0px;
    margin: 20px 0;
}

.post-meta>div span {
    color: #fff;
    font-size: 0.875rem;
    text-decoration: none;
}

.post-meta>div span.icon {
    background: #005593;
    padding: 6px 10px;
}

.post-meta>div span.description {
    background: #0072C6;
    padding: 6px 10px;
}

/*
 Tables
 *
*/
table td, 
table th,
.table td,
.table th {
    background-color: #FFFFFF;
}


/*
 Cards
 *
*/

.nhs-heading {
    background-color: #005eb8;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.33333;
    display: inline-block;
    padding: 8px 32px;
    position: relative;
    top: -10px;
    margin: 0 !important;
}
.nhs-heading a,
.nhs-heading a:visited {
    color: #fff;
}
.nhs-card {
    padding-top: 0px !important;
}

.card {
    border-radius: 0px;
    border: 0px;
    background: #fff;
    border: 1px solid #d8dde0;
    border-bottom: 5px solid #d8dde0;
}
.card.padded {
    padding: 30px 20px;
}

.card:hover {
    border-bottom: 5px solid #aeb7bd;
}


/* Homepage styles
 *
 */
.home main {
    padding-top: 0px;
}

.home main .section {
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.home h2 {
    margin-top: 0px;
    margin-bottom: 30px;
}


/*
 * On this page icon
 *
 */

.on-this-page h3 {
    margin-top: 0px !important;
}

.on-this-page hr {
    margin: 60px 0;
}

.on-this-page ul {
    width: 75%;
    padding-left: 0px !important;
    margin-top: 30px;
}

.on-this-page ul li {
    list-style-type: none;
}

.on-this-page ul li a {
    background: #005EB8;
    color: #fff;
    display: block;
    padding: 14px 26px;
    position: relative;
    text-decoration: none;
    width: 100%;
    letter-spacing: 1px;
}

.on-this-page ul li a:hover {
    background: #003D78;
}

.on-this-page ul li a i {
    line-height: 28px;
    float: right;
}


/*
 * Modals
 *
 */

.modal-content {
    border: 0px;
    border-radius: 0px;
}

.modal-content iframe {
    border: 0px;
}