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

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

html {
    font-size: 10px;
    -webkit-tap-highlight-color: rgba(0,0,0,0)
}
body {
    /*font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;*/
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
    line-height: 1.44444444;
    color: #000000;
    background-color: #ffffff
}

/* Main content area
 * 
 */

main {
    background:#ffffff;
    padding: 20px 0 0 0
}
@media only screen and (min-width:767px) {
 main {
    padding: 30px 0 0 0
 }
}
.well {
    background-color: #fff;
    padding: 30px;
    border: 1px solid #DADADA;
    overflow: hidden;
    clear: both;
}


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

header {
    margin-top: 20px;
}

#header a img.nhs-logo {
    width: 420px;
    margin-bottom: 20px;
}
#header a img.nhs-brand {
    float: right;
    top: 60px;
}
#navbar {
    border-bottom: 7px solid #E6F1F9;
}

/* Full width search bar */
#searchbar {
    background: #9b52ab;
    padding: 10px 0;
}
#searchbar label {
    display: none;
}
#searchbar .large-search-box {
    height: 48px;
    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: #f0f4f5;
}
#searchbar .large-search-button {
    position: absolute;
    right: 15px;
    top: 0;
    bottom: 0;
    height: 48px;
    font-size: 22px;
    padding: 0 20px;
    border: 0;
    border-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    background: #ED8B00;
}
#searchbar .large-search-button:hover{
    background: #FFB81C;
}

/* Full width page header */
#headerbar {
    background: #9b52ab;
    color: #fff;
    margin-bottom: 20px;
    padding: 50px 0 20px
}
#headerbar h1 {
    font-weight: normal;
    letter-spacing: 1px;
    margin-top: 15px
}


/* Coookie control banner at the top */
.cookie-control {
    padding:17.1px 0 16.5px 0;
    background:#f1f3f4;
    border-bottom:1px solid #d9e1e2;
    border-top:1px solid #d9e1e2;
    position:relative;
    width:100%;
    position: relative;
    bottom:0px
}
.cookie-control-message p {
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
    margin: 0;
}
.cookie-control-message p a {
	color: #ED8B00;/*#425563;*/
}


/* Footer
 *
 */

footer {
    background: #e7eced;
    font-size: 14px;
}
footer a,
footer a:visited
 {
    color: #425563
}
footer a:hover {
    color: #000000;
}
footer .footer-social {
    margin: 30px 0;
}
footer .footer-social i {
    font-size: 32px;
}
footer .footer-links {
}
footer .footer-copyright {
    margin: 20px 0 30px;
}


/* Sidebar navigation and sidebar widgets
 *
 */
.sidebar {
}
.sidebar .widget {
    font-size: 16px;
    margin-bottom: 40px;
}
.sidebar ul {
    padding: 0;
}
.sidebar ul li {
    list-style-type: none;
}
.sidebar h4 {
    border-bottom: 4px solid #dddddd;
    background: #9b52ab;
    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-navigation h4 a {
    color: #FFF;
    text-decoration: none;
}
#sidebar-navigation h4 a:hover {
    color: #FAFAFA;
}
#sidebar-navigation ul li {
    border-left: 4px solid #ddd;
    background: #fafafa;
    margin-bottom: 5px;
}
#sidebar-navigation ul li.current_page_item {
    border-left: 4px solid #9b52ab;
}
#sidebar-navigation ul li a {
    display: inline-block;
    line-height: 1.2;
    padding: 8px 10px;
    font-size: 14px;
}
#sidebar-navigation ul li.current_page_item a {
    font-weight: bold;
}
#sidebar-navigation 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;
}

/* Sidebar news search */
.widget_search label {
    display: none;
}
.widget_search input[type=text] {
    height: 36px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 6px 10px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 0;
    background: #f0f4f5;
    border: 0px;
}
.widget_search button[type=submit] {
    height: 36px;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 0;
    border: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    margin-top: 2px;
    background: #2A6CBE;
    color: #fff;
}
.widget_search button span {
    display: none;
}

/*
 Page
 *
 */
.main-contetn .post-image {
    max-height: 440px;
    overflow: hidden;
    margin-bottom: -20px;
}
.panel-grey {
  background: #fafafa;
  padding: 20px;
}

/*
 News category page
 *
 */
.category .postarea {
    margin-bottom: 100px;
}
.category .postarea .post {
    background: #ebe3f4;
}
.category .postarea .post h3 {
    margin-top: 0px;
}
.category .postarea .post .post-thumbnail img {
    width: 100%;
    height: auto;
}
.category .postarea .post .post-thumbnail .video-overlay {
    position: absolute;
    top: 0px;
    left: 15px;
    padding: 15px;
    background: #000;
    color: #fff;
    font-size: 12px;
    opacity: 0.8;
}
.pagination .page-item .page-link {
	border-radius: 0px;
}

/*
 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: 14px;
    text-decoration: none;
}
.post-meta > div span.icon {
    background: #57133A;
    padding: 6px 10px;
}
.post-meta > div span.description {
    background: #9b52ab;
    padding: 6px 10px;
}


/*
 Breadcrumbs
 *
 */
.breadcrumb-container {
    background:none;
    color: #FFF;
    font-size:12px;
    letter-spacing: 1px;
    font-weight: 300;
    line-height:1.4;
    margin:0 0 5px 0;
    padding:0
}
.breadcrumb-container li {
    margin-right: 5px !important;
}
.breadcrumb-container li a {
    color: #FFF;
    padding: 0px 5px 0 0 !important;
}
.breadcrumb-container li a:hover {
    color: #FFF;
    text-decoration: underline;
}


/*
 Cards
 *
 */
.card {
    border-radius: 0px;
    border: 0px;
    border-bottom: 5px solid #DDD;
}
.card:hover {
    border-bottom: 5px solid #BBB;
}


/* Homepage styles
 *
 */
.home main {
    padding-top: 0px;
}
.home main > div {
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 30px;
}
.home h2 {
    margin-top: 0px;
    margin-bottom: 30px;
}


/* Homepage Intro */
.homepage-intro {
    margin-bottom: 0px !important;
}
.homepage-intro .lead {
    font-weight: 400;
    color: #212b32;
}

/* Homepage Carousel */
.homepage-slider.container-fluid {
    padding: 0 15px;
    margin: 20px auto;
}
.carousel-inner {
  width:100%;
  max-height: 480px !important;
}
.carousel-inner img {
  width: 100%;
  height: 100%;
}

.carousel-caption {
    left: 20px;
    bottom: 20px;
    max-width: 400px;
    padding: 10px 20px;
    background-color: #9b52ab; /*rgba(255, 255, 255, 0.5);*/
    color: #FFF;
    text-align: left;
}
.carousel-caption .carousel-control-next,
.carousel-caption .carousel-control-prev {
    left: auto;
    right: 0;
    top: 15px !important;
    bottom: auto;
}
.carousel-caption .carousel-control-prev {
    right: 30px;
}
.carousel-caption .caption-meta {
    border-bottom: 1px solid #FFF;
    margin-right: 70px;
}
.carousel-caption .caption-category {
    color: #FFF;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    margin-right: 20px;
}
.carousel-caption .caption-date {
    color: #FFF;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
}
.carousel-caption a {
    color: #FFF !important;
    text-decoration: none;
}
.carousel-caption a:hover {
    color: #E6EFF8;
    text-decoration: none;
}
.carousel-caption h2.caption-heading {
    font-size: 22px;
    margin: 15px 0 15px;
}
.carousel-caption p {
    font-size: 15px;
    margin: 0;
}
.carousel-caption h2.caption-heading {
    font-size: 32px;
    margin: 15px 0 15px;
}


/* Homepage Video Section */
.homepage-videos {
    background: #F1F1F1
}
.homepage-videos .video-item {
    background: #fff;
    padding: 20px;
}
.homepage-videos .video-heading {
    font-size: 20px;
    line-height: 26px;
}
.homepage-videos img.video-image {
    width: 100%;
}
.homepage-videos .video-overlay {
    position: absolute;
    padding: 18px;
    background: #000;
    color: #fff;
    font-size: 22px;
    opacity: 0.8;
}

/* Homepage banner thing */
#homepage-panel {
    /*margin: 20px 0 40px 0;*/
    margin: 0px 0px 40px 0px;
    background: #768692;
}
#homepage-panel .col-md-6 .well {
    margin: 20px;
    padding: 10px !important;
    border-radius: 0px;
    border: 0px;
}

#homepage-panel .col-md-6 .well .custom-html-widget {
    font-size: 13px;
}
#homepage-panel .col-md-6 .well .custom-html-widget h3.widgettitle {
    margin-bottom: 5px;
    margin-top: 0px;
    text-transform: uppercase;
    font-size: 120%;
}
#homepage-panel .col-md-6 .well .custom-html-widget img {
    float: left;
    width: 100px;
    margin-right: 20px;
}

/* Homepage cards */
.homepage-cards .row {
    margin-bottom: 25px;
}
.homepage-cards a:hover {
    text-decoration: none;
}
.homepage-cards .card {
    background: #9b52ab;
    min-height: 130px;
    color: #fff;
}
.homepage-cards .card:hover{
    background: #9b52ab;
}
.homepage-cards .card .card-body {
    padding: 20px;
}
.homepage-cards .card .card-body h4 {
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 18px;
    margin-top: 0;
}
.homepage-cards .card .card-link {
    font-size: 24px;
    position: absolute;
    right: 15px;
    bottom: 15px;
}

/* Homepage Recent Posts */
.homepage .homepage-news .post {
    padding: 10px 0;
    background: #fafafa;
    margin-bottom: 10px;
}
.homepage .homepage-news .post a {
    line-height: 22px
}
.homepage .homepage-news .post img {
    width: 100%;
    height: auto;
}
.homepage .homepage-news .post h5 {
    font-weight: normal;
    letter-spacing: 1px;
}
.homepage .homepage-news .post .post-meta > div {
    margin: 4px 0 20px;
}
.homepage .homepage-news .post .post-meta > div span.icon,
.homepage .homepage-news .post .post-meta > div span.description {
    padding: 4px 10px;
}
.homepage .homepage-news .post .video-overlay {
    position: absolute;
    top: 0px;
    left: 15px;
    padding: 15px;
    background: #000;
    color: #fff;
    font-size: 12px;
    opacity: 0.8;
}

/* Homepage Quick Links */
.homepage ul.quick-links {
    padding: 0;
    margin: 30px 0 0;
}
.homepage ul.quick-links li {
    list-style-type: none;
    padding: 20px;
    background: #fafafa;
    margin-bottom: 10px;
}


/* Homepage Social Media box */
.homepage .ctf-tweets .ctf-item {
	background: #fafafa;
    margin: 0px 0px 20px;
    border: 0px !important;
}
.homepage .ctf-tweets .ctf-item .ctf-context {
	margin-left: 5px !important;
    margin-bottom: 10px !important;
}
.homepage .ctf-tweets .ctf-item .ctf-author-box {
	margin-left: 60px !important;
}
.homepage .ctf-tweets .ctf-item .ctf-author-avatar {
	border-radius: 0px !important;
    width: 75px !important;
    height: 75px !important;
}
.homepage .ctf-tweets .ctf-item .ctf-author-avatar img {
    width: 75px !important;
    height: 75px !important;
}
.homepage .ctf-tweets .ctf-item .ctf-tweet-content {
	margin-left: 90px !important;
}

/* Homepage Pre-Footer */
.homepage-pre-footer {
    background: #425563;
    color: #fff;
    text-align: center;
}
.homepage-pre-footer h2 {
    margin-bottom: 30px;
	color: #fff;
}
.homepage-pre-footer p {
    font-size: 16px;
    font-weight: normal;
}
.homepage-pre-footer a.btn.btn-lg {
    padding: 10px 30px !important;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}



/* On this page list */
.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: #9b52ab;
    color: #fff;
    display: block;
    padding: 14px 26px;
    position: relative;
    text-decoration: none;
    width: 100%;
    letter-spacing: 1px;
    font-size: 16px;
}
.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;
}

/*
 * Accordions
 *
 */

.accordion-title {
	cursor: pointer;
	border-bottom: 1px solid #eee;
	padding: 5px 0;
    margin-top: 30px;
    color: #000;
    font-size: 120%
}
.accordion-title::before {
	content: '\25bc';
	padding-right: 0.5em;
}
.accordion-title.open::before {
	content: '\25b2';
	padding-right: 0.5em;
}