/*
	Theme Name: NHS-Gloucestershire-CCG
	Description: This stylesheet dictates everything within the user editable area
	Author: Rich Gwilt
	Author URI: http://www.activelabs.co.uk
*/

html {
    font-family: Frutiger W01, Arial, Sans-serif;
    font-size: 16px;
}

@font-face {
    font-display: swap;
    font-family: "Frutiger W01";
    font-style: normal;
    font-weight: 400;
    src: url(https://assets.nhs.uk/fonts/FrutigerLTW01-55Roman.eot?#iefix);
    src: url(https://assets.nhs.uk/fonts/FrutigerLTW01-55Roman.eot?#iefix) format("eot"), url(https://assets.nhs.uk/fonts/FrutigerLTW01-55Roman.woff2) format("woff2"), url(https://assets.nhs.uk/fonts/FrutigerLTW01-55Roman.woff) format("woff"), url(https://assets.nhs.uk/fonts/FrutigerLTW01-55Roman.ttf) format("truetype"), url(https://assets.nhs.uk/fonts/FrutigerLTW01-55Roman.svg#7def0e34-f28d-434f-b2ec-472bde847115) format("svg")
}

@font-face {
    font-display: swap;
    font-family: "Frutiger W01";
    font-style: normal;
    font-weight: 600;
    src: url(https://assets.nhs.uk/fonts/FrutigerLTW01-65Bold.eot?#iefix);
    src: url(https://assets.nhs.uk/fonts/FrutigerLTW01-65Bold.eot?#iefix) format("eot"), url(https://assets.nhs.uk/fonts/FrutigerLTW01-65Bold.woff2) format("woff2"), url(https://assets.nhs.uk/fonts/FrutigerLTW01-65Bold.woff) format("woff"), url(https://assets.nhs.uk/fonts/FrutigerLTW01-65Bold.ttf) format("truetype"), url(https://assets.nhs.uk/fonts/FrutigerLTW01-65Bold.svg#eae74276-dd78-47e4-9b27-dac81c3411ca) format("svg")
}


/* Default styles */
body {
    font-family: Frutiger W01, Arial, Sans-serif;
    font-size: 1.0000rem;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    color: #212b32;
}


h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 700;
    line-height: 1.4;
    color: inherit;
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small,
.h1 small,
.h2 small,
.h3 small,
.h4 small,
.h5 small,
.h6 small,
h1 .small,
h2 .small,
h3 .small,
h4 .small,
h5 .small,
h6 .small,
.h1 .small,
.h2 .small,
.h3 .small,
.h4 .small,
.h5 .small,
.h6 .small {
    font-weight: normal;
    line-height: 1;
    color: #d9e1e2
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
    margin-top: 46px;
    margin-bottom: 28px
}

h1 small,
.h1 small,
h2 small,
.h2 small,
h3 small,
.h3 small,
h1 .small,
.h1 .small,
h2 .small,
.h2 .small,
h3 .small,
.h3 .small {
    font-size: 65%
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
    margin-top: 13px;
    margin-bottom: 13px
}

h4 small,
.h4 small,
h5 small,
.h5 small,
h6 small,
.h6 small,
h4 .small,
.h4 .small,
h5 .small,
.h5 .small,
h6 .small,
.h6 .small {
    font-size: 75%
}

h1,
.h1 {
    font-size: 3.0000rem
}

h2,
.h2 {
    font-size: 2.0000rem
}

h3,
.h3 {
    font-size: 1.6250rem
}

h4,
.h4 {
    font-size: 1.3125rem
}

h5,
.h5 {
    font-size: 1.1250rem
}

h6,
.h6 {
    font-size: 1.0000rem
}

p {
    margin: 20px 0 30px
}

p:empty {
    display: none;
}

.lead {
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 1.3750rem;
    line-height: 1.3;
    margin-top: 0px;
    margin-bottom: 36px;
}

@media (min-width:767px) {
    .lead {
        font-size: 1.6875rem
    }
}

small,
.small {
    font-size: 88%
}

blockquote {
    border-left: 6px solid #005EB8; /* Grey:#4c6272 */
    background: #F0F4F5;
    padding: 10px 10px 2px 20px;
}

hr {
    margin-top: 62px;
    margin-bottom: 32px;
    border: 0;
    border-top: 4px solid #F0F4F5
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    margin: 30px 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* General link styles */
a {
    color: #005eb8;
    text-decoration: underline;
}

a.alternate {
    color: #4c6272;
}

a.text-dark-blue,
a.text-dark-blue:visited {
    color: #005EB8;
}

a:visited {
    color: #330072;
    text-decoration: underline;
}

a:hover {
    color: #7c2855;
    text-decoration: none
}
.no-decoration,
.no-decoration:hover {
    text-decoration: none !important;
}




/* Styles for admin editable content areas */
#content {
    margin-bottom: 50px;
}

#content .posttitle h1 {
    margin: 10px 0 50px 0;
}

#content .posttitle h1 small {
    color: #425563;
    display: block
}

#content ul {
    list-style-type: square;
    margin-bottom: 28px;
    padding-left: 21px;
}

#content ul>li {
    margin-bottom: 8px;
}

#content ol.highlighted,
#content ol.list-highlighted {
    border-left: 6px solid #005EB8; /* Grey:#4c6272 */
    background: #F0F4F5;
    margin-bottom: 28px;
    padding: 15px 10px 8px 30px;
}

#content ul.highlighted,
#content ul.list-highlighted {
    border-left: 6px solid #005EB8; /* Grey:#4c6272 */
    background: #F0F4F5;
    list-style-type: square;
    margin-bottom: 28px;
    padding: 15px 10px 8px 30px;
}


/* Generic content styles */
#content .well {
    background: #fafafa;
    padding: 10px 10px;
    border-radius: 0px;
    border-bottom: 5px solid #DDD;
    margin: 10px 0;
}
#content .well-basic {
    background: #fafafa;
    padding: 30px 30px 10px;
    border-radius: 0px;
    margin: 30px 0;
}


/* Table styles */

.borderless td,
.borderless th {
    border: none;
}
.thick-borders-horizontal td, 
.thick-borders-horizontal th {
    border-top: 4px solid #F0F4F5;
}

/* Cards */
#content .cards a:hover,
#content .nhs-blueboxes a:hover {
    text-decoration: none;
}

#content .cards .card,
#content .nhs-bluebox {
    background: #005EB8;
    min-height: 130px;
    color: #fff;
}

#content .cards .card:hover,
#content .nhs-bluebox:hover {
    background: #4c6272;
}

#content .cards .card .card-body,
#content .nhs-bluebox .card-body {
    padding: 20px;
}

#content .cards .card .card-body h4,
#content .nhs-bluebox .card-body h4 {
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 1.125rem;
    margin-top: 0;
}

#content .cards .card .card-link,
#content .nhs-bluebox .card-link {
    font-size: 1.5rem;
    position: absolute;
    right: 15px;
    bottom: 15px;
}

/* Accordions */
#content .nhs-accordion-btn {
    margin-top: 10px;
    background-color: rgba(232, 237, 238, 0.5);
    border-radius: 0px;
    color: #4c6272;
    font-size: 0.875rem;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 10px;
    text-align: left;
    text-decoration: none;
}

#content .nhs-accordion-btn:hover {
    color: #330072;
}

#content .nhs-accordion-btn:focus {
    outline: none;
    box-shadow: none;
}

#content .nhs-accordion-card {
    border: 2px solid rgba(232, 237, 238, 0.5);
}

#content .nhs-accordion-card p {
    margin: 20px 0 10px;
}

/* NHS vertical navigation tabs */
#content .nhs-vertical-tabs a.nav-link {
    background: #f4f4f4;
    padding: 20px 10px;
    border-radius: 0px;
    border-left: 5px solid #DDD;
    margin-bottom: 10px;
    text-decoration: none;
    min-height: 140px;
    color: #000;
}

#content .nhs-vertical-tabs a.nav-link i {
    float: right;
    margin-top: 12px;
    font-size: 1.125rem;
}

#content .nhs-vertical-tabs a.nav-link.active {
    background: #4c6272;
    color: #fff;
}

#content .nhs-vertical-tabs a.nav-link:hover {
    background: #4c6272;
    color: #fff;
}

/* NHS tabs */
#content ul.nav {
    list-style-type: none;
    margin-bottom: 0;
    padding-left: 0;
}

#content ul.nav li.nav-item {
    margin-bottom: 0px;
}

#content ul.nav li.nav-item a.nav-link {
    padding: 20px;
    border-radius: 0px;
    border: 0px;
}

#content ul.nav li.nav-item a.nav-link.active {
    background: #4c6272 !important;
    color: #fff;
}

#content ul.nav li.nav-item a.nav-link:hover {
    background: #E8EDEE;
}

#content .nav-tabs {
    border-bottom: 5px solid #4c6272;
}

#content .tab-content-horizontal {
    padding: 30px 10px 10px;
    background: #f9f9f9;
    border: 8px solid #E8EDEE;
    border-top: 0px;
}
#content .blue-bar {
	margin: 120px 0 -180px 0;
	padding: 10px 0 180px;
	background-color: #005EB8;
	text-align: center;
}
#content .card-img, #content .card-img-top {
	border-radius: 0px;	
}


/* Print friendly commands */
@media print {
    a:after {
        color: #212b32;
        content: " (Link: "attr(href) ")";
        font-size: 0.875rem
    }
}


/* Table for the info bus page... */
.page-id-786 #content table {
	width:100%;
}
.page-id-786 #content table td {
	vertical-align: top;
	padding: 20px 10px;
	border: 3px solid #eee;
}
.page-id-786 #content table tr:nth-child(even) {background: #f3f3f3}
.page-id-786 #content table tr:nth-child(odd) {background: #FFF}






/* ******
 * NHS colour pallette
* ****** */

/* ******
 * Change bootstrap defaults to match NHS colour pallette
* ****** */

.color_nhsuk-blue { color: #005eb8; }
.color_nhsuk-green { color: #007f3b; }
.color_nhsuk-yellow { color: #ffeb3b; }
.color_nhsuk-warm-yellow { color: #ffb81C; }
.color_nhsuk-red { color: #d5281b; }
.color_nhsuk-dark-pink { color: #7C2855; }
.color_nhsuk-purple { color: #330072; }
.color_nhsuk-grey-1 { color: #4c6272; }
.color_nhsuk-grey-2 { color: #768692; }
.color_nhsuk-grey-3 { color: #aeb7bd; }
.color_nhsuk-grey-4 { color: #d8dde0; }
.color_nhsuk-grey-5 { color: #f0f4f5; }
.color_nhsuk-white { color: #ffffff; }
.color_nhsuk-pale-yellow { color: #fff9c4; }

.text-primary { color: #005eb8 !important; }
.text-primary-subtle { color: #3d8bfd !important; }
.text-warning { color: #ffb81C !important; }
.text-danger { color: #d5281b !important; }
.text-teal { color: #00A499 !important; }
.text-blue { color: #005eb8; }

.border-primary { border-color: #005eb8 !important; }
.border-primary-subtle { border-color: #3d8bfd !important; }
.border-top-primary { border-top: 4px solid #005eb8 !important;}
.border-teal { border-color: #00A499 !important;}
.border-teal-subtle { border-color: #00beb1 !important; }
.border-purple { border-color: #AE2573 !important; }
.border-grey { color: #4c6272; }

.bg-primary-subtle { background-color: #3d8bfd !important; }
.bg-primary { background-color: #005eb8 !important; }
.bg-dark { background-color: #005eb8 !important; }
.bg-secondary { background-color: #4c6272 !important; }
.bg-warning { background-color: #ffb81C !important; }
.bg-danger { background-color: #d5281b !important; }
.bg-danger-light { background-color: #e7aca4 !important }
.bg-teal { background-color: #00A499 !important }
.bg-teal-subtle { background-color: #00beb1 !important; }
.bg-purple { background-color: #AE2573; }

.btn-primary-subtle { background-color: #3d8bfd !important; }
.btn-primary { background-color: #005eb8 !important; }
.btn-primary:hover { background-color: #7C2855 !important; }
.btn-success { background-color: #007f3b !important; }
.btn-success:hover { background-color: #00662f !important; }
.btn-dark { background-color: #005eb8 !important; }
.btn-secondary { background-color: #4c6272 !important; }
.btn-warning { background-color: #ffb81C !important; }
.btn-danger { background-color: #d5281b !important; }
.btn-danger-light { background-color: #e7aca4 !important }
.btn-teal { background-color: #00A499 !important }
.btn-teal-subtle { background-color: #00beb1 !important; }
.btn-purple { background-color: #AE2573; }