/* temp css override file */


body {background: #ddd;} /* #f0f0f0 overflow-x: hidden; */
.page-documents .w3eden table#wpdmmydls-746336c9b444a300c8e9cb77ea137e90 thead th.sorting_asc {display:none;}
#search-filter-form-795 ul {margin-left:0;}
.site { 
    max-width: 1660px;
    margin-left:auto;margin-right:auto; 
    background-color: #fff;
}
body.loaded nav {
    -webkit-animation: none;
    animation: none;
}

/* Font corrections - remove html bold and just use bold version of font */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {font-weight: 400;}
strong, b {font-weight: 400; font-family: "Frutiger LT W01_65 Bold1475746",Arial,sans-serif;}

/* 
Adjust page column widths and gutter to match CCG design 
---------------------------------------------------
Add class 'gutter-ccg' before class 'row'
Add class 'col-md-3-ccg' after 'class col-md-3'
Add class 'col-md-9-ccg' after 'class col-md-9'
*/
main .container {
    max-width: 1230px;
    padding-left:35px;
    padding-right:35px;
}
.gutter-ccg.row {
    margin-right: -35px;
    margin-left: -35px;
    /*border-top:3px solid red;*/
}
.gutter-ccg > [class^="col-"], .gutter-ccg > [class^=" col-"] {
    padding-right: 35px;
    padding-left: 35px;
}
.col-md-12, .col-lg-12, .col-xl-12 { padding-right: 35px; padding-left: 35px;}

@media (min-width: 768px) {
    /* repeated as sometimes above selection fails - due to multiline class statements? */
    .gutter-ccg .col-md-3-ccg { /*border-top:3px solid red;*/ width: 29.268293%; flex: 0 0 29.268293%; max-width: 29.268293%; padding-right: 35px; padding-left: 35px; } 
    .gutter-ccg .col-md-9-ccg { /*border-top:3px solid green;*/ width: 70.731707%; flex: 0 0 70.731707%; max-width: 70.731707%; padding-right: 35px; padding-left: 35px;}

    /* footer adjustments */
    footer .container {padding-left:0; padding-right:0;}

    /* header adjustments */
    header .container {padding-left:0; padding-right:0;}
    /*#search {padding-left:0;}*/
}
/* news items columns ========================================== */
.gutter-ccg2.row {
    margin-right: -15px;
    margin-left: -15px;
} 
.gutter-ccg2 > [class^="col-"], .gutter-ccg2 > [class^=" col-"] {
    padding-right: 15px;
    padding-left: 15px;
}
@media (min-width: 768px) {
    /* repeated as sometimes above selection fails - due to multiline class statements? */
    .gutter-ccg2 .col-md-4-ccg {  width: 38.554217%; flex: 0 0 38.554217%; max-width: 38.554217%; padding-right: 15px; padding-left: 15px; } 
    .gutter-ccg2 .col-md-8-ccg { width: 61.445783%; flex: 0 0 61.445783%; max-width: 61.445783%; padding-right: 15px; padding-left: 15px;}
}
.gutter-ccg2 p.mb-0 {
    font-size: 1.0rem;
    line-height:1.4rem;
}
.gutter-ccg2 .pb-4, .gutter-ccg2 .py-4 {
    padding-bottom: 1.0rem !important;
    padding-top: 1.0rem !important;
}
.gutter-ccg2 .mt-3 {
    margin-top: 0.9rem !important;
}

/* home columns ================================================= */
.container.homecontainer {
    max-width: 1200px; /* 1160 + 20 + 20 */
    padding-left:20px;
    padding-right:20px;
}
.gutter-ccg3.row {
    margin-right: -20px;
    margin-left: -20px;
} 
.gutter-ccg3 > [class^="col-"], .gutter-ccg2 > [class^=" col-"] {
    padding-right: 20px;
    padding-left: 20px;
}
/* percentage with still 66.667% & 33.333% so no adjustment needed */
/* LEFT col - news */
.gutter-ccg3L.row {
    margin-right: -15px;
    margin-left: -15px;
} 
.gutter-ccg3L > [class^="col-"], .gutter-ccg3L > [class^=" col-"] {
    padding-right: 15px;
    padding-left: 15px;
}
@media (min-width: 768px) {
    /* repeated as sometimes above selection fails - due to multiline class statements? */
    .gutter-ccg3L .col-md-4-ccgh3 {  width: 40.506329%; flex: 0 0 40.506329%; max-width: 40.506329%; padding-right: 15px; padding-left: 15px; } 
    .gutter-ccg3L .col-md-8-ccgh3 { width: 59.493671%; flex: 0 0 59.493671%; max-width: 59.493671%; padding-right: 15px; padding-left: 15px;}
}
.gutter-ccg3L .card-block.px-3 { padding-left: 0 !important;}
.gutter-ccg3L h2.card-title {font-size:1.5rem;}
.gutter-ccg3L .mb-4 { margin-bottom: 1.88rem !important;}
section.homenewsevents {padding-bottom: 80px;}
/* adjustments to make news fit... */
.gutter-ccg3L h2.card-title { font-size: 1.3rem;}
.gutter-ccg3L p, .gutter-ccg3L p.has-large-font-size {font-size: 1.1rem;line-height: 1.5rem;}
.gutter-ccg3L .mt-3 {margin-top:0.5rem !important;font-size: 1rem;}
/* endadjustments to make news fit... */
/* RIGHT col - events */
.gutter-ccg3R.row {
    margin-right: -9px;
    margin-left: -9px;
} 
.gutter-ccg3R > [class^="col-"], .gutter-ccg3R > [class^=" col-"] {
    padding-right: 9px;
    padding-left: 9px;
}
@media (min-width: 768px) {
    /* repeated as sometimes above selection fails - due to multiline class statements? */
    .gutter-ccg3R .col-lg-4-ccgh3 {  width: 29.100529%; flex: 0 0 29.100529%; max-width: 29.100529%; padding-right: 9px; padding-left: 9px; } 
    .gutter-ccg3R .col-lg-8-ccgh3 { width: 70.899471%; flex: 0 0 70.899471%; max-width: 70.899471%; padding-right: 9px; padding-left: 9px;}
}
.gutter-ccg3R h3 {font-size:1.5rem;}
.site-main .event-list .card .card-body span { color: #005EB8;}
.site-main .event-list h3 {font-size: 20px;}
.page-id-482 .event-list h3 {font-size: 22px;}
.site-main .event-list .time {display: block;font-size: 16px;}
.site-main .event-list .location {display: block;padding-top: 10px;font-size: 16px;}
.site-main .event-list .locationlocation {color: #005EB8;}
.eventdetails {padding:0 0 10px 0;}
.eventdetails .date, .eventdetails .time, .eventdetails .location {display: block;padding:0 0 10px 0; font-size:18px;}
.eventdetails .timetime, .eventdetails .datedate, .eventdetails .locationlocation {color: #005EB8;font-weight: 400; font-family: "Frutiger LT W01_65 Bold1475746",Arial,sans-serif;}
.eventbox {min-height: 300px;}

.col-lg-4-ccgh3.mb-2 {margin-bottom: 0rem !important;}
hr.nande {margin: 1.25rem 0;}

.gutter-ccg4.row {
    margin-right: -40px;
    margin-left: -40px;
} 
.gutter-ccg4 > [class^="col-"], .gutter-ccg4 > [class^=" col-"] {
    padding-right: 40px;
    padding-left: 40px;
}
#page-wrapper .gutter-ccg4 .contact-info div.card a {margin-bottom:0;}

@media (min-width: 768px) {
  section.homesocial .container {
    max-width: 1280px; /* 1160 + 60 + 60 */
    padding:70px 60px 46px 60px;
    padding-left:60px;
    padding-right:60px;
  }
  .gutter-ccg5.row {
    margin-right: -60px;
    margin-left: -60px;
  } 
  .gutter-ccg5 > [class^="col-"], .gutter-ccg5 > [class^=" col-"] {
    padding-right: 60px;
    padding-left: 60px;
  }
  section.homesocial .sideline {border-right:2px solid #005EB8;}
}
@media (max-width: 768px) {
  
}
section.homesocial {padding-bottom:0;}
section.homesocial .fts-jal-fb-header {display:none;visibility:hidden;}
section.homesocial h2 {margin-bottom: 1.5rem;}
section.homesocial .fts-powered-by-text {display:none;visibility:hidden;}
section.homesocial .btn { display: block; }
section.homesocial .btn::after {background-image: none;}
section.homesocial .socialfoot.row {padding-top: 70px; padding-bottom: 0px;}

.fts-tweeter-wrap .tweeter-info {padding: 30px 0;}
.fts-twitter-image {display:none;visibility:hidden;}
.tweeter-info .fts-right {padding:0;}
.fts-uppercase.fts-bold .fts-twitter-div a {display:block;}
a.fts-twitter-full-name {color:#232a32;font-size: 24px !important;font-weight:400;font-family: "Frutiger LT W01_65 Bold1475746",Arial,sans-serif;}
.fts-uppercase.fts-bold a.fts-twitter-at-name {display:block;font-size: 20px !important;color: #005EB8 !important;margin-top:10px;margin-bottom:10px;}
.fts-twitter-text {font-size: 1rem;line-height: 1.5rem;}
.fts-twitter-reply-wrap {display:none;visibility:hidden;}
.fts-twitter-reply-wrap-left {display:none;visibility:hidden;}
.fts-twitter-text {padding-bottom:0px}
.fts-twitter-quoted-text-wrap {} /* quoted posts */

.fts-jal-fb-user-thumb {display:none;visibility:hidden;}
.fts-jal-fb-user-name, .fts-jal-fb-user-name a {color:#232a32;font-size: 24px !important;line-height: 1.5rem;font-weight:400;font-family: "Frutiger LT W01_65 Bold1475746",Arial,sans-serif;padding:0;}
.fts-jal-fb-message {font-size: 1rem; line-height: 1.5rem;}
.fts-likes-shares-etc-wrap {display:none;visibility:hidden;}
.fts-jal-single-fb-post {padding: 30px 0 !important;}
.fts-jal-fb-link-wrap {} /* link */
.fts-jal-fb-link-wrap .fts-jal-fb-picture {margin:0;}
.fts-jal-fb-link-wrap .fts-jal-fb-description-wrap {padding: 20px 0 0px 0 !important;}
.fts-jal-fb-link-wrap .fts-jal-fb-name {
    font-weight: 400;
    color: #005EB8;
    padding-bottom: 5px;
    font-size: 16px;
    display: inline-block;
    line-height: 18px;
    font-family: "Frutiger LT W01_65 Bold1475746",Arial,sans-serif;
}
.fts-jal-fb-link-wrap .jal-fb-description {font-size: 1rem !important;line-height: 1.5rem;color:#232a32;}
.fts-jal-fb-link-wrap .fts-jal-fb-description-wrap {font-size: 1rem !important;line-height: 1.5rem;color:#232a32;}

@media (max-width: 768px) {
    section.homesocial .container .row  {padding: 35px;}
    section.homesocial .sideline {border-bottom:2px solid #005EB8;margin-bottom:50px;padding-bottom: 40px !important;}
    section.homesocial .socialfoot {display:none; visibility:hidden;}
}

/* general css tweaks */
.btn {
    text-decoration: none !important;
    font-size: 1.125rem;
    padding-right: 40px;
    position: relative;
    padding: 12px 60px 12px 38px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
	font-family: "Frutiger LT W01_55 Roma1475738",Arial,sans-serif !important;
}
.btn-primary:hover {border-color: #ffcd60;}
p:last-of-type {margin-bottom: 24px;}
.site-main a:not(.wp-block-button__link):hover {
    background: #063386 !important;
    box-shadow: 0 0 0 4px #ffcd60;
    color: #ffcd60;
    text-decoration: none;
}
.site-main .col-md-4-ccg a:hover {box-shadow: none;}
.homehelpful .list-links a:hover {box-shadow: none;}
a.nohighlight:hover {box-shadow: none;} 

a.no-hover:hover, a.no-hover:active { box-shadow: none !important; }


/* footer */
footer {background: #fff url("/wp-content/themes/ccg/assets/images/footer-bg.png") repeat-x top center}
footer ul li { font-size: 15px; }
.foot-tel { text-decoration: none !important; font-size:20px }
.footer ul li a {text-decoration: none;}
.footer {background: url("/wp-content/themes/ccg/assets/images/one-devon-logo-header.svg") no-repeat right 40px top 70px; min-height: 390px; margin-top: 50px }

.footer-a {width: 300px; float: left; margin: 85px 0 0 40px}
.footer-b {width: 615px; float: left; height: 417px; background: url("/wp-content/themes/ccg/assets/images/logo-heart-footer3.png") no-repeat left top}
.footer-c {width: 666px; float: left; text-align: right; margin-top: 160px}
.footer-c a:hover {background: none; box-shadow: none}
.footer-c-nhs {float: right;margin-right: 40px; text-align: right; margin-top: 300px}
.footer-c-nhs p {font-size: 12px; margin: 10px 0}

.nhsdevon footer {background: none}
.nhsdevon .footer {background: #005EB8 url("/wp-content/themes/ccg/assets/images/nhs-logo-footer.png") no-repeat right 40px top 70px}

.footer-d {background: #D5D5D5; text-align: right}
.footer-d p {padding: 15px 25px;background: #fff;display: block;float: right;margin: 0;font-size: 16px}
.footer-d p a {color: #666666}


section.nhsblue {background: #005EB8;} /* homepage footer .blue class changed to .nhsblue to avoid inadvertly using another class .blue  */
section.nhsblue h1, section.nhsblue h2, section.nhsblue h3, section.nhsblue h4, section.nhsblue h5, section.nhsblue h6, 
section.nhsblue p, section.nhsblue a {color: #fff;}

/* search bar */
.search-field::-webkit-input-placeholder {color: #000}
.search-field::-moz-placeholder {color: #000}
.search-field:-ms-input-placeholder {color: #000}
.search-field::placeholder {color: #000}

/* side nav */
#page-wrapper ul.sidebar-menu {background: #f0f0f0;margin-bottom: 30px;}
#page-wrapper ul.sidebar-menu li {padding: 14px 30px 14px 20px;}
#page-wrapper ul.sidebar-menu li a {font-family: "Frutiger LT W01_55 Roma1475738",Arial,sans-serif;}
#page-wrapper ul.sidebar-menu li.no-children {text-align: right;}
#page-wrapper ul.sidebar-menu li.show-hide-li::after {background: none;}

/* side nav NHS*/
#page-wrapper .sidebar-nhs ul.sidebar-menu {background: #fff; border-right: 4px solid #005eb8}
#page-wrapper .sidebar-nhs ul.sidebar-menu li {border-bottom: none}
#page-wrapper .sidebar-nhs ul.sidebar-menu li::after {background: none}

.page-template-tmplt-nhs-pages .site-header {margin-bottom:0}
.title-nhs { background: #EBEBEB; /*padding-left: 267px;*/ min-height: 120px;}
.title-nhs h1 {margin-bottom: 0; line-height: 120px; font-size: 40px; font-family: "Frutiger LT W01_55 Roma1475738",Arial,sans-serif !important;
    max-width: 1230px;padding-left: 35px;padding-right: 35px;margin:0 auto;}
@media (max-width: 768px){
    .title-nhs h1 {padding-left: 25px;padding-right:25px;}
}
.nhs-content-first-h2 {line-height: 100%; margin-top: 0 !important}

.site-header {border-bottom: 1px solid #f0f0f0}

/* news */
.searchandfilter label {font-size: 15px;}
.alignright {float:right;margin: 0 0 40px 50px;}
.alignleft {float:left;margin: 0 50px 40px 0;}
figcaption {border-bottom: 1px solid #f0f0f0; padding: 14px 0;}
.news-extra-copy {  margin-top: 60px; }
.news-extra-copy p {  font-size: 0.95rem;  margin-bottom: 10px;  line-height: 140%; }
.type-post p.news-date {font-size: .9em}
.type-post h1 {margin-bottom: 10px}

/* health services block of links */
.services .list-button:hover, .services .list-button:focus {color: #333333 !important;}

 /* ordered lists */
 ol { padding-left: 32px; margin: 40px 0 40px 50px; }
 ol li {font-size: 1.25rem;line-height: 1.875rem;margin-bottom: 1.75rem;padding-left: 0.45rem;position: relative}
 
/* downloads box shortcode output on page/post */
.w3eden {display: block}
.w3eden .link-btn {width:100%}
.w3eden .lightblue {border: 1px solid #063386 !important;background: #063386;margin-bottom: 2%;
    -webkit-transition: none;
    -moz-transition:  none;
    -o-transition:  none;
	transition: none}
.w3eden a.no-hover {color: #fff;text-decoration: none}
.w3eden a.no-hover:hover {color: #ffb600}

.w3eden .link-btn img.wpdm_icon {border: 0 !important;box-shadow: none !important;width: 32px;height: auto}
.w3eden strong.ptitle {display: block; margin-bottom: 7px; font-size: 17px; font-weight: inherit !important}
.w3eden .media {padding: 10px}
.w3eden #wpdm-all-packages .dataTables_wrapper .col-sm-6 {flex: 0 0 100%;max-width: 100%}
.w3eden #wpdm-all-packages .dataTables_wrapper.form-inline label {justify-content: normal}
.wpdm-custom-select { margin-left: 10px; margin-right: 10px; }
.w3eden #wpdm-all-packages .dataTables_wrapper.form-inline {display: block}
.w3eden .dataTables_paginate.paging_simple_numbers {padding-top: 0.755em}
.w3eden .dataTables_paginate.paging_simple_numbers ul.pagination li::before {background: none}
.w3eden ul.pagination li.paginate_button:first-child a, .w3eden ul.pagination li.paginate_button:last-child a { font-size: 1rem; }
.w3eden ul.pagination li.paginate_button:last-child a { line-height: 32px; }
.w3eden ul.pagination li.paginate_button:first-child {margin-top: -2px !important}
.w3eden .od-link-box p:last-of-type {margin-bottom: 0}

.clear {clear: both}

/* Breadcrumbs*/

#breadcrumbs {margin-bottom: 4.5rem; }
#breadcrumbs span {color: #737373; display: none }
#breadcrumbs span.breadcrumb_last {color: #005EB8; }
#breadcrumbs span a {color: #737373;font-size: 1rem;text-decoration: none;position: relative;margin: 0 10px; }
#breadcrumbs span a:hover {background: #ffcd60;box-shadow: 0 0 0 4px #ffcd60;color: #212B32; }
#breadcrumbs span a:after {content: '';width: 10px;height: 10px;background: url(assets/images/ccg-arrow-dddddd-right-bc.svg) no-repeat;position: absolute;top: 50%;
        -webkit-transform: translate(-50%, -50%);
                transform: translate(-50%, -50%);right: -25px; }
#breadcrumbs span.breadcrumb_last {margin-left: 10px; }


table td, table th {font-size: 1.125rem; line-height: 120%}



/*
.w3eden .list-group-item.level0 {padding-left: 1.25rem;}
.w3eden .list-group-item.level1 {padding-left: 1.5rem;}
.w3eden .list-group-item.level2 {padding-left: 1.75rem;}
.w3eden .list-group-item.level3 {padding-left: 2.0rem;}
*/
ul.accordion {margin:0;padding:0; border:none;}
ul.accordion li {margin:0;padding:0;background:none; list-style: none;}
ul.accordion ul {margin:0;padding:0;background:none;}
ul.accordion li::before {background:none;}
ul.accordion a {display:block; padding: 0.75rem 2.20rem 1rem 1.25rem;font-size: 1rem;line-height: 1rem;}
ul.accordion span.toggle {position: absolute;top:0;right:0;display:block;color:#41b6e6; font-weight: 900;height: 2rem;width: 2rem;text-align: center; cursor: pointer;}
ul.accordion span.toggle:hover {color: #212B32; background-color: #ffcd60;} 
ul.accordion a.level1 {border-left:0px solid #41b6e6 !important;padding-left:1.25rem;}
ul.accordion a.level3 {border-left:4px solid #41b6e6 !important;padding-left:1.50rem;}
ul.accordion a.level5 {border-left:8px solid #41b6e6 !important;padding-left:1.75rem;}
ul.accordion a.level7 {border-left:12px solid #41b6e6 !important;padding-left:2.00rem;}
.page-documents div#filter_categories_sidebar {
    background-color: #005EB8;
    border-radius: 0.25rem;
    padding-bottom: 0.25rem;
}
div#filter_categories_sidebar .w3eden .list-group li.selected a {background-color: #41b6e6; color:#fff;}
.w3eden .list-group li.selected  .badge { background-color: #41b6e6;}
ul.accordion li.selected  span.toggle {color:#fff;}
.page-documents aside#left-sidebar {
    display: block;
}

/* owl carousel */
.owl-slide { height: 453px; }
.slider-caption {height: auto;  margin-left: 17px;}
.owl-slide-subtitle.mb-3 {margin-bottom: 2rem;}

/* documents page */
body.page-documents .badge {font-weight: 400;}
.page-documents .w3eden table tr td h3 {font-weight: 400; font-family: "Frutiger LT W01_45 Ligh1475730";}
.page-documents .w3eden table .__dt_update_date {font-weight: 400; font-family: "Frutiger LT W01_65 Bold1475746",Arial,sans-serif; padding-right: 3px; box-shadow: none;}
.page-documents .w3eden table .__dt_description {font-size: 1.0rem; line-height: 1.875rem;}
main .w3eden .dataTables_filter {padding: 30px;}
.page-documents #wpdmmydls-746336c9b444a300c8e9cb77ea137e90_filter input[type="search"] {
    padding: 20px !important;
    border-radius: 5px !important;
    border: 1px solid #dddddd !important;
    color: #737373;
    margin-left: 1em;
}
#wpdmmydls-746336c9b444a300c8e9cb77ea137e90_previous {font-size: 1rem;}
#wpdmmydls-746336c9b444a300c8e9cb77ea137e90_next {font-size: 1rem;}
#wpdmmydls-746336c9b444a300c8e9cb77ea137e90_paginate {padding-top: 0.755em;}

/* mega menu */
.site-header #mega-menu-wrap-primary img {position: relative;}
@media (max-width: 992px){
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title {font-size: 20px; top: 50px;  left: 54px;  width: 250px;}
}

@media (min-width: 768px) {
    #mega-menu-wrap-primary {background: #fff url("/wp-content/themes/ccg/assets/images/main-nav-curve.png") no-repeat right -68px top; }
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column {min-height: 220px; border-right: 1px solid #063386}
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column:last-child {border-right: none}
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {background: #fff url("/wp-content/themes/ccg/assets/images/maxi-menu-foot.png") no-repeat left bottom}
	#mega-menu-item-8880 ul.mega-sub-menu {padding-left: 2.5% !important; padding-right: 2.5% !important} 
	.page-template-tmplt-nhs-pages #mega-menu-wrap-primary {background: #fff url("/wp-content/themes/ccg/assets/images/main-nav-curve-nhs.png") no-repeat right top}
	.mega-menu-nhs-block {margin-top: 35px}
	.mega-menu-nhs-block h3 {font-size: 22px; color: #005eb8 !important}
	.mega-menu-nhs-block p {font-size: 16px; color: #005eb8}
}
@media (min-width: 1201px) {
    #mega-menu-wrap-primary,
    .page-template-tmplt-nhs-pages #mega-menu-wrap-primary { padding-left: 62px}
}
@media (max-width: 1400px) {
    #mega-menu-wrap-primary,
    .page-template-tmplt-nhs-pages #mega-menu-wrap-primary {background-position-x: left 900px;}
}



/* additions MT */
h1 span, .h1 span { line-height: 140%; }
p, p.has-large-font-size { margin: 0 0 24px; }
.gutter-ccg h2 { font-size: 1.55rem; font-family: "Frutiger LT W01_55 Roma1475738",Arial,sans-serif !important; margin: 2.5rem 0 1rem 0; }
.col-md-9-ccg ol  {margin-left: 20px;}
.col-md-9-ccg ul {margin-left: 30px;}
h3 { font-size: 1.8rem; font-family: "Frutiger LT W01_65 Bold1475746",Arial,sans-serif !important;}
.small-print p, .small-print li { font-size: 95%; line-height: 140%; margin-bottom: 10px; }
.small-print ul { margin: 20px; }
.small-print ul li::before { width: 8px; height: 8px; }
.wpcf7-date { border: 1px solid #232b32; font-size: 1.125rem; padding: 6px 20px; }

.cmplz-blocked-content-container .cmplz-blocked-content-notice, .cmplz-wp-video .cmplz-blocked-content-notice {background-color: rgba(0,0,0,0.75)}
.cmplz-cookiebanner .cmplz-header {grid-template-columns: 70px 1fr 70px!important}
.cmplz-open:focus {border: 2px solid red}

@media (max-width: 768px) {
  .cmplz-cookiebanner .cmplz-buttons {flex-direction: row !important}
  .cmplz-cookiebanner {right: 0!important; width: 73%!important}
}

.header-second {background:#063386; display: flex; justify-content: space-between}
.header-second-nhs {background:#005EB8; display: flex; justify-content: space-between}
.header-third {display: flex; padding-top: 17px}
.header-translate {margin: 0 15px 0 25px}
.second-nav {width: 640px; max-width:100%; float: left; background: #005EB8 url('/wp-content/themes/ccg/assets/images/second-nav-curve.png') no-repeat right top; padding-left: 62px}
.second-nav-nhs {background: #063386 url('/wp-content/themes/ccg/assets/images/second-nav-curve-nhs.png') no-repeat right top}
.second-nav ul {margin: 0; clear: both; height: 63px}
.second-nav li {float:left; font-size: 16px; margin: 10px 15px 0 0; padding: 0}
.second-nav li::before {background: none}
.second-nav li a {color:#fff}
.second-nav-right {width: 770px; float: right; padding-top: 15px}
.search-form .input-group {width: 360px}

.header-logo {height: 82px; background: #063386; padding: 22px 0 0 62px}
.header-logo img {width: 215px}
.header-logo-nhs {height: 128px; background: #005EB8; padding: 24px 0 0 62px}
.header-socials {margin: 0 20px}
.header-socials img {margin: 0 0 7px}

.home-intro p {max-width: 930px; margin: 0 auto; text-align: center; font-size: 22px; line-height: 140%}
.home-intro h1 {font-size: 40px; text-align: center; color: #063386; padding-bottom: 20px; margin-bottom: 20px}

.home-divider {height: 200px; background: url("/wp-content/themes/ccg/assets/images/onedevon-logo-210.png") no-repeat center center}

.homehelpful {padding-top:100px;padding-bottom:108px; background: url("/wp-content/themes/ccg/assets/images/helpful-links-bg.png") no-repeat left top; min-height: 768px}
.homehelpful .container {max-width: 1240px; /* 1160 + 40 + 40 */padding-left:310px;padding-right:40px}
.homehelpful h2 {color:#fff; font-size: 40px}
.homehelpful ul.list-links {background: transparent;margin: 50px 40px 0 0; }
.homehelpful ul.list-links a {text-decoration: none; color:#fff}
.homehelpful ul.list-links li a {font-size: 1.125rem;margin-bottom: 0;padding: 0px 22px 15px 0;line-height: 1.2;border-bottom: 1px solid #7C7C7C;display: block}
.homehelpful ul.list-links li { margin-bottom: 1rem; }
.homehelpful ul.list-links li:after {content: '';display: block;width: 14px;height: 14px;background: url("/wp-content/themes/ccg/assets/ccg-arrow-dddddd-right-bc.svg") no-repeat;background-position: 0 0;position: absolute;top: 50%;
        -webkit-transform: translate(-50%, -50%);
                transform: translate(-50%, -50%);
        right: 0;opacity: 1;z-index: 1000; }
.homehelpful ul.list-links li:before {content: none;background: none; }

.home-contacts, .home-twitter {width: 530px;max-width:100%; float: left}
.home-twitter {padding-left: 30px}
.home-contacts-twitter {padding-top: 120px; background: url("/wp-content/themes/ccg/assets/images/contacts-bg.png") repeat-x top 80px center}
.home-contacts h2, .home-twitter h2 {font-size: 25px; margin-bottom: 70px}
.home-contacts h3 {font-size: 22px}
.home-contacts p, .home-contacts p a {color: #00943C; line-height: 200%; margin-bottom: 70px; text-decoration: none !important}

.home-video {background: #F7F7F7 url("/wp-content/themes/ccg/assets/images/heart-pale.png") no-repeat center top 60px; border-top: 1px solid #D1D1D1; padding: 210px 0 100px 0}
.home-video .container {/*max-width: 1396px; padding: 0;*/max-width: 1436px; padding: 0 20px; display: flex;}
.home-video h2 {font-size: 22px; color: #00943C}
.home-video p {margin: 30px; font-size: 16px; line-height: 140%}
.home-video-panel {width: 458px;max-width:100%; margin-right: 10px; display: flex;flex-direction: column;}
.home-video-panel-lower {background: #fff; padding-bottom: 1px;flex-grow: 1;}

.home-w3 {max-width: 1370px; display: flex; margin: 0 auto}
.home-w3a {padding: 0 60px 0 30px; border-left: 8px solid #005EB8; width: 33.33%}
.home-w3b {padding: 0 60px 0 30px; border-left: 8px solid #009639; width: 33.33%}
.home-w3c {padding: 0 60px 0 30px; border-left: 8px solid #DA291C; border-right: 8px solid #FFB600; width: 33.33%}
.home-w3 h2 {font-size: 35px; font-family: "Frutiger LT W01_55 Roma1475738",Arial,sans-serif !important; color: #063386}
.home-w3 p {font-size: 16px; line-height: 160%}
.home-w3 ul li:before {background: url("assets/images/li-aro.png") no-repeat; width: 10px; height: 16px; top: 2px}

.home-w3 li {font-size: 18px;line-height: 120%; margin-bottom: 10px}
.home-w3 a {text-decoration: none !important}

.home-map {display: flex; max-width: 1548px; margin: 0 auto}
h2.home-map-title {font-family: "Frutiger LT W01_55 Roma1475738",Arial,sans-serif !important; text-align: center; margin: 100px 0 50px; color: #063386}
.home-map-left {width: 50%}
.home-map-right {background: #fff; width: 50%; color: #fff}
.home-map-lookup {background: #2c2c2c; color: #fff; padding: 55px 70px}
.home-map-lookup label {font-size: 25px}
.home-map-lookup p {font-size: 20px; font-family: "Frutiger LT W01_45 Ligh1475730",Arial,sans-serif}
.home-map-lookup input[type="text"] {padding: 15px 25px; font-size: 30px; margin: 15px 0; width: 280px; text-transform: uppercase; border: none}
.home-map-area .home-map-area-inner { padding: 65px 70px 80px 70px; }
.home-map-area h2 {font-family: "Frutiger LT W01_45 Ligh1475730",Arial,sans-serif !important; color: #fff; font-size: 40px; margin-bottom: 30px}
.home-map-area button {font-size: 20px; padding: 20px 100px 20px 35px; border: 1px solid #fff; background: #7cd0a8}
.home-map-area-inner button a:after {  display: inline-block; position: relative; background: url("assets/images/form-aro.png") no-repeat; content: ''; width: 11px; height: 19px; top: 3px; margin-left: 20px;  }
.home-map-area button a {color: #FFF; text-decoration: none !important}
.map-submit {color: #fff; background: #868686; border: none; height: 67px; padding: 10px 25px; font-size: 31px}

.hnt {padding: 60px 0; background: #F4F4F4}
.hnt h2 {margin: 20px 0 40px; color: #063386; text-align: center}
.hn {display: flex; max-width: 1370px; margin: 0 auto; justify-content: space-between}
.hnl {max-width: 772px}
.hnl .hn-date {padding: 20px; background: #063386; font-size: 16px; line-height: 100%; color: #fff; margin-bottom: 15px}
.hnl h3 {font-size: 25px; line-height: 120%}
.hnl h3 a {text-decoration: none!important}
.hnl p {font-size: 15px; line-height: 140%}
.hnr {display: flex; width: 41.7%; flex-wrap: wrap; justify-content: space-between}
.hnr h4 {font-size: 18px; line-height: 120%}
.hnr h4 a {text-decoration: none!important}
.hnr p {font-size: 14px; line-height: 140%}
.hnr .hni {width: 48%}
.hnr .hn-date {padding: 20px; background: #063386; font-size: 14px; line-height: 100%; color: #fff; margin-bottom: 10px}
/*video*/
.hnv h3 {margin: 0 0 20px}
.hnv .hnr h4 {font-size: 15px; line-height: 140%; margin-bottom: 8px; height: 41px}
.hnv .hnr p, .hnv .hnl p {margin-top: 15px}
.hnv .hnl p {font-size: 16px}
.hnv .hnl {width: 54%}
.hnv .hnr {width: 43%}

.hhlc {display: flex; justify-content: space-between; margin: 0 auto; background: #fff url("assets/images/hrule.png") repeat-x top left}
.hhl {width: 49%}
.hhl h2 {margin: 0 180px 70px; color: #063386}
.hhl ul {margin: 40px 0 0 180px}
.hhl ul li {border-bottom: 1px solid #005BBB; margin: 0 0 10px; padding: 13px 0 18px 0 !important; font-size: 20px; background: url("assets/images/li-aro.png") no-repeat right center}
.hhl ul li a {text-decoration: none !important}
.hhl ul li::before {background: none} 
.hc {width: 42%}
.hc h2 {color: #063386; margin-bottom: 90px}
.hc h3 {color: #005BBB; font-size: 20px; font-family: "Frutiger LT W01_65 Bold1475746",Arial,sans-serif; margin: 20px 0 0}
.hc p {color: #009639; font-size: 20px; line-height: 160%}
.hc p a {color: #009639}

.home-events {background: #fff url("assets/images/hrule.png") repeat-x top 110px left}
.home-events h2 {font-size: 1.88rem}
.he {display: flex; justify-content: space-between; max-width: 1300px; margin: 0 auto}
.hel {width: 48%}
.her {width: 38.5%}

.careers-half {width:50%; display: flex;flex-direction: column;}
.careers-half-working, .careers-half-living {padding: 65px 95px 33px; min-height: 500px}
.careers-half-working h2, .careers-half-living h2 {color:#fff; font-size: 36px; margin-bottom: 60px}
.careers-half-working p, .careers-half-living p {color:#fff; font-size: 18px; line-height: 140%; margin-bottom: 70px}
.careers-half-working p a, .careers-half-living p a {color:#063386; font-size: 16px; line-height: 100%; padding: 23px 100px 23px 40px; text-decoration: none !important; background: #fff url("assets/images/button-arrow-right-blue.svg") no-repeat right 30px center; text-transform: uppercase; font-family: "Frutiger LT W01_65 Bold1475746",Arial,sans-serif; letter-spacing: 1px}
.careers-half-working {background: #063386} 
.careers-half-living {background: #005EB8}
.careers-about-devon {margin-bottom: 100px;display: flex;}

.careers-intro, .careers-intro-video {padding: 65px 95px}
.careers-intro h2 {font-size: 30px; margin: 40px 0 20px; padding-bottom: 20px; border-bottom: 1px solid #D1D1D1; color: #063386; font-family: "Frutiger LT W01_55 Roma1475738",Arial,sans-serif !important}
.careers-intro p {font-size: 20px; color: #005eb8; margin-bottom: 30px}
.careers-search {background: #005EB8; padding: 90px 250px}
.careers-search h2 {font-size: 100px; color: #FFF; font-family: "Frutiger LT W01_45 Ligh1475730",Arial,sans-serif !important}
.careers-search h2 span {font-size: 60px}
.careers-search h3 {font-size: 30px; color:#fff; font-family: "Frutiger LT W01_55 Roma1475738",Arial,sans-serif !important}

.careers-job-intro {display:flex;}
.careers-job-form {display: flex; margin: 0 70px 50px}
.careers-third {width:33.33333%; display: flex;flex-direction: column; padding: 0 25px}
#wpcf7-f12376-o1 {margin-top: 0}
.wpcf7 .careers-job-form input {width: 100%; margin-top: 5px; border: none}
.wpcf7 .careers-job-form textarea {width: 100%; margin-top: 5px; height: 197px; border: none}
.wpcf7 .careers-job-form label {font-size: 1.1rem; margin-bottom: 5px; color:#fff}
.wpcf7 .careers-job-form .wpcf7-form-control-wrap {margin-bottom: 30px}
.wpcf7 .careers-job-form .smallfont {font-size: 15px}
.wpcf7 .careers-job-form .codedropz-upload-inner h3 {margin-bottom: 5px;font-size: 20px; color:#fff}
.wpcf7 .careers-job-form span {color: #fff}
.wpcf7 .careers-job-form .wpcf7-not-valid-tip {color: #FFE600}
.wpcf7 .careers-job-form .codedropz-btn-wrap a {color: #fff;text-decoration: underline !important}
.careers-job-form-container .wpcf7-response-output {padding: 1.25% !important; margin: 0% auto 2% !important;font-size: 17px !important;width: 700px}
.careers-job-form-container {background: #005eb8; padding-bottom: 15px}
.pharmacyc {background: #009639}
.pharmacyc .wpcf7-submit {background: #78BE20 url("/wp-content/themes/ccg/assets/images/ccg-arrow-dddddd-right-bc.svg") no-repeat; border: none; background-size: 8px; background-position: right 15px center}
.pharmacyc div.wpcf7 {margin-top: 0}
.careers-job-form-container h2 {margin: 0px 95px;padding: 75px 0 50px; color: #fff}

.page-template-tmplt-pharmacy-careers .careers-intro p {color: #333}
.page-template-tmplt-pharmacy-careers .careers-intro p a {color: #009639}
.page-template-tmplt-pharmacy-careers .careers-intro h2 {color: #009639; margin-top: 0}
.page-template-tmplt-pharmacy-careers .careers-half-living {background: #009639}

.pharmala {padding: 65px 265px 33px 95px; min-height: 500px; background:#006747 no-repeat right top}
.pharmara {padding: 65px 95px 33px 285px; min-height: 500px; background:#009639 no-repeat left top}
.pharmalb {padding: 65px 265px 33px 95px; min-height: 500px; background:#78BE20 no-repeat right top}
.pharmarb {padding: 65px 95px 33px 285px; min-height: 500px; background:#005EB8 no-repeat left top}
.pharmala h2, .pharmara h2, .pharmalb h2, .pharmarb h2 {color:#fff; font-size: 36px; margin-bottom: 60px}
.pharmala h2, .pharmara h2, .pharmala p, .pharmara p, .pharmalb h2, .pharmarb h2, .pharmalb p, .pharmarb p {color: #fff}
.pharmala p, .pharmara p, .pharmalb p, .pharmarb p {font-size: 18px; line-height: 140%; margin-bottom: 40px}
.careers-half.pharmala p a, .careers-half.pharmara p a, .careers-half.pharmalb p a, .careers-half.pharmarb p a {color:#005Eb8; font-size: 16px; line-height: 100%; padding: 23px 100px 23px 40px; text-decoration: none !important; background: #fff url("assets/images/button-arrow-right-blue.svg") no-repeat right 30px center; text-transform: uppercase; font-family: "Frutiger LT W01_65 Bold1475746",Arial,sans-serif; letter-spacing: 1px}


#searchform #jq, #searchform select {margin-bottom: 10px;}
.aspect-ratio-box {height: 0; overflow: hidden; padding-top: calc(720 / 1280 * 100%); /* all videos */ background: white; position: relative}
.aspect-ratio-box-inside {position: absolute; top: 0;left: 0;width: 100%;height: 100%;}
.aspect-ratio-box-inside iframe {width:100%;height:100%}
.aspect-ratio-box-hero {padding-top: calc(580 / 1660 * 100%);} /* careers hero image */

.page-medical-recruitment .owl-slide-text {max-width: 480px}
.btn-dark-blue {background: #063386}


/* job vacancies */
.awsm-lists {border: none}
.awsm-lists a {text-decoration: none!important}
.awsm-list-item .awsm-job-more-container {display: none}
.awsm-list-item .awsm-job-specification-item {display: block;margin: 0 0 5px 0}
.awsm-job-item {padding: 15px}
.awsm-job-item h2.awsm-job-post-title a {font-size: 20px; font-family: "Frutiger LT W01_65 Bold1475746",Arial,sans-serif}
.awsm-job-item h2.awsm-job-post-title {margin-top: 6px}
.awsm-list-left-col {width: 70%}
.awsm-list-right-col {width: 30%}
.awsm-job-single-content .awsm-job-specification-item {font-size: 1.15rem;margin-bottom: 8px;padding-bottom: 8px;border-bottom: 1px solid #eee}
.awsm-selectric-scroll li::before {background: none}

div.wpcf7-response-output { padding:3%!important; border-radius: 5px; text-align: center; text-transform: uppercase; letter-spacing: 0.75px; margin: 5% 0 !important; border: none !important; color: #FFFFFF !important; font-size: 20px !important; background: #00a0d2 !important;}
div.wpcf7-mail-sent-ok { background: #41b6e6 !important; color: #fff;}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing { background: #009634 !important; color: #fff;}
div.wpcf7 .wpcf7-form-control-wrap.groups { margin-bottom: 0; }
div.wpcf7 .cf7-mtop { margin-top: 42px; }
div.wpcf7 input.datecheck { width: 30px; }


#cf-notify {margin-top: 20px; text-align: center; color: #005EB8; font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px;}

h3 { font-size: 1.8rem; font-family: "Frutiger LT W01_65 Bold1475746",Arial,sans-serif !important; }

@media (max-width: 768px) {
	.h-100 .col-lg-6.col-md-6.col-sm-6 { width: 100% !important; }
	.header-top { height: auto !important; }
  	div.wpcf7 label.datetext { font-size: 14px;}
	
	.careers-job-form-container h2 {margin: 0px 25px; padding: 40px 0}
	.careers-job-form {display: inherit}
	.careers-third {width: 100%; padding: 0}
	.careers-job-form {margin: 0 25px 50px} 
}

/* team */
.gutter-ccg .team h2 {margin-top:0.5rem;}
.team img.w-100 {max-width:225px;}
.full-text {display: none;}
.readmorelink, .readlesslink { cursor: pointer; color: #005EB8; text-decoration: underline;}
.readmorelink:hover, .readlesslink:hover {
    cursor: pointer;
    background: #ffcd60;
    box-shadow: 0 0 0 4px #ffcd60;
    color: #212B32;
}
/* adjustments to make news fit... */
body.page-news .gutter-ccg h2 {font-size: 1.3rem; margin-top:0;margin-bottom:0.5rem;}
.gutter-ccg p.card-subtitle {font-size: 1rem;line-height: 1.5rem;}
/* /adjustments to make news fit... */


.ie8910only {display:none;visibility:hidden; color:gray;}
@media screen\0 {
    .ie8910only {display:block; visibility:visible; margin-bottom:42px; color:gray;}
    div.wpcf7 .wpcf7-form-control-wrap.dob,
    div.wpcf7 .wpcf7-form-control-wrap.date-of-incident,
    body div.wpcf7 .dob,
    body div.wpcf7 .date-of-incident {margin-bottom:6px;}   
    .dob:-ms-input-placeholder {color: #fff;}   /* Internet Explorer 10+ */
    .date-of-incident:-ms-input-placeholder {color: #fff;} /* Internet Explorer 10+ */

}
:-ms-fullscreen, :root .ie11up {
	.ie8910only { display:none;visibility:hidden;}
}



/* download manager docs page */
.w3eden ul.wpdm-cat-tree {padding: 0.25rem 0!important;border-radius: 0.25rem!important;background: #005eb8;}
.wpdm-cat-tree:before {content:"Filter Documents";color:#fff;background:#005eb8;display: block;padding: 10px 1.25rem; text-transform: initial;font-size: 14px;line-height: 25px;}
.wpdm-cat-tree ul {margin:0!important;}
.wpdm-cat-tree .btn::after, 
#srcp .input-group .btn::after {background-image:none;}
#srcp .input-group .btn {cursor: pointer;}
svg.fa-search, svg.fa-search path {fill:#fff;cursor: pointer;}
#srcp .form-control {border-color: #232b32;font-weight: 300;font-size: 1.125rem;}
#srcp .col-md-12 {padding-right: 17.5px;padding-left: 17.5px;}
#srcp .wpdm-custom-select {margin-left: 0px;margin-right: 0px;}
.w3eden .col-md-12, .w3eden .col-lg-12, .w3eden .col-xl-12 {padding-right: 17.5px;padding-left: 17.5px;}

.site-main .wpdm-cat-tree a:not(.wp-block-button__link):hover,
.wpdm-cat-tree .btn-primary:not(:disabled):not(.disabled):active:focus, 
.wpdm-cat-tree .btn-primary:not(:disabled):not(.disabled).active:focus, 
.wpdm-cat-tree .show > .btn-primary.dropdown-toggle:focus {
box-shadow: none!important;
}
.w3eden .wpdm-cat-item .wpdm-dropdown-menu {padding: 0 0 0 10px !important; border-left: 4px solid #41b6e6 !important;}
.btn-primary:not(:disabled):not(.disabled):active, 
.btn-primary:not(:disabled):not(.disabled).active, 
.show > .btn-primary.dropdown-toggle {background-color: #41b6e6;border-color: #41b6e6;}
.btn-primary.btn-clps:not(:disabled):not(.disabled).active {background-color: #005eb8;}
.w3eden .wpdm-cat-tree .wpdm-cat-item {margin-bottom: 0 !important;}
.w3eden .wpdm-cat-tree .wpdm-cat-item a.btn {  border-radius: 0!important;padding: 0.75rem 0.5rem 1rem 1.25rem; padding-left: 1.25rem;font-weight: 400 !important; font-size: 1rem; line-height: 1.2rem;letter-spacing: 0;text-transform: initial; justify-content: flex-start}
.w3eden .wpdm-cat-tree .wpdm-cat-item a.btn:only-child {padding: 0.35rem calc(0.5rem + 44px) .8rem 1.25rem;}
.wpdm-cat-link.active + .btn-clps.active {background-color: #41b6e6 !important;}
.wpdm-cat-tree .btn .badge {border: 1px solid #fff;float: right;}

.w3eden ul li::before {background:none;}
.w3eden .list-group .badge {background-color: #005EB8 !important}

.od-link-box {padding: 14px 0 7px; border-top: 1px solid #c5c5c5; }
.w3eden .od-link-box h3,
.w3eden .od-link-box h3 a {text-decoration: none;font-size: 22px !important; font-family: "Frutiger LT W01_55 Roma1475738",Arial,sans-serif !important;}
.w3eden .od-link-box .wpdm_icon { width: 40px; float: left; margin: 0 10px 50px}
.w3eden .btn { font-weight: 500 !important; height: auto; font-size: 15px; padding: 9px 8px; text-align: left; letter-spacing: 0}
.w3eden .btn.btn-xs {padding: 4px 35px 4px 15px !important; font-size: 13px}
.w3eden .btn.wpdm-download-link {padding-right: 30px}
.w3eden h3 {font-size: 1.5rem; margin-top: 20px}
.card-body .wpdm-custom-select { border: 1px solid #dfdfdf; padding: 8px; height: auto}
.card-body .form-control { border: 1px solid #dfdfdf; font-size: 1rem; padding: 20px 10px}
.card-body .btn-secondary {background: #063386; border: none}

.__dt_update_date { font-size: 10pt; }

.site-header nav .row {margin-right: 0;margin-left: 0;}
.site-header nav .col-12 {padding-right: 0;padding-left: 0;}



/* Formidable GAS */
.gas {border: 10px solid #005eb8; padding: 20px; max-width: 600px}
.gas .frm_primary_label {line-height: 120%}
.gas .frm_description {line-height: 140%}
.gas .frm_description ul li::before, .gas-1 ul li::before, .gas-3 ul li::before { width: 8px; height: 8px; top: 7px}
.gas .frm_description ul li { font-size: 1.2rem; line-height: 120%; margin-bottom: .5rem; padding-left: 1.25rem}
.gas .frm_prev_page {background: #ccc !important}
.gas .frm_percent_complete {font-weight: normal}
.gas .frm_rootline_group li::before {background: none}
.gas-1 {color: #fff; background: red; padding: 15px 20px}
.gas-1 ul, .gas-3 ul {margin-top: 10px}
.gas-1 ul li, .gas-3 ul li {font-size: 1.2rem; line-height: 120%; margin-bottom: .5rem; padding-left: 1.25rem}
.gas-2 {background: #ffb600; padding: 15px 20px; color: #000}
.gas-4 {font-size: 18px}





@media (max-width: 1660px){
    .footer-c {position: absolute;width: auto;float: none;right: 40px;}
}
@media (max-width: 1500px){
    .footer-a { width: calc(50% - 407px);}
}
@media (max-width: 1440px){
    .header-second .second-nav-right,
    .header-second-nhs .second-nav-right {width: 520px;}
    div#page header .search-form {width: 400px;}
	
	.careers-intro, .careers-intro-video {padding: 25px 45px}
	.careers-intro h2 {font-size: 24px}
	.careers-intro p {font-size: 16px; line-height: 145%}
	.pharmala, .pharmalb {padding: 35px 255px 10px 35px}
	.pharmara, .pharmarb {padding: 35px 35px 10px 275px}
	.pharmala h2, .pharmara h2, .pharmalb h2, .pharmarb h2 {font-size: 26px; margin-bottom: 30px}
	.pharmala p, .pharmara p, .pharmalb p, .pharmarb p {font-size: 16px}
	.careers-half.pharmala p a, .careers-half.pharmara p a, .careers-half.pharmalb p a, .careers-half.pharmarb p a, .careers-half-working p a, .careers-half-living p a {padding: 13px 60px 13px 20px}
	.careers-half-working, .careers-half-living {padding: 35px; min-height: 450px}
}
@media (max-width: 1200px){ /* mobile menu */
    div#page header .search-form { width: auto; }
    .header-second .second-nav,
    .header-second-nhs .second-nav { width: 420px;max-width:100%;}
    .header-second .second-nav-right,
    .header-second-nhs .second-nav-right {width: auto;padding-right:20px;}
	
	.header-socials, .header-search {display: none}
	.header-translate {margin: 0 10px}
	.header-logo {height: 72px; padding: 10px}
	.header-logo img {width: 175px}
	.header-logo-nhs-devon {width: 60px}

	.careers-intro, .careers-intro-video {padding: 65px 65px;}
    .careers-intro-video {padding-right:0;}
    .careers-search {padding: 90px 150px; }
	section {padding-bottom: 40px}
	.search-form .input-group {width: 100%}

	.home-intro h1 {margin-bottom: 0}
	.home-w3 h2 {font-size: 28px}
	.home-w3a, .home-w3b, .home-w3c {padding: 0 20px 0 20px; width: 100%}
	.home-w3 p {font-size: 14px;line-height: 140%}
	.home-w3 li {font-size: 15px; padding-left: 1rem}
	.home h2 {font-size: 1.55rem; margin: 40px 0 20px 0 !important}
	.home-map-lookup {padding: 20px 20px 1px}
	.home-map-lookup label {font-size: 15px}
	.home-map-lookup input[type="text"] {padding: 5px 15px; font-size: 20px; margin: 5px 0}
	.map-submit {height: 34px; padding: 5px 15px; font-size: 19px}
	.home-map-area {padding: 20px}
	.home-map-area h2 {margin: 10px !important}
	.hn {gap: 10px}
	.hnt {padding: 10px}
	.hnr {width: 100%}
	.hnl {width: 86%}
	.hnl .hn-date {padding: 10px; font-size: 14px;}
	.hnl h3 {font-size: 20px}
	.hnr .hn-date {padding: 10px;font-size: 13px}
	.hnr h4 {font-size: 16px}
	.home-events, .hhlc {padding-top: 0 !important; background: none; margin: 0 10px}
	.nebdate svg {width: 30px}
	.nebtitle {font-size: 16px; margin-bottom: 5px}
	.home-divider {height: 120px}
	.hc h3 {font-size: 18px}
	.hc p {font-size: 16px}
	.hhl ul li { margin: 0 0 5px; padding: 3px 10px 8px 0 !important; font-size: 17px; line-height: 120%}
	.hhl ul {margin: 20px 0 0 20px}
}
@media (max-width: 1160px){
    .footer {background-position: left 40px top 70px;}
    .footer-a {margin: 155px 0 0 40px;min-width:180px;}
    .footer-c {right: auto;left: 40px;bottom: 70px;}
    .footer-b { float: right;}
}
@media (max-width: 1024px){
    .owl-carousel-hero .imagcover {background-position: top 0 left -100px;}
    .owl-slide-text {max-width: 450px;}
	h2.owl-slide-title {font-size: 3rem}
    .careers-half-working, .careers-half-living {padding: 65px 65px 33px;min-height: 0;}
}
@media (max-width: 1000px){
    .home-video .container{flex-wrap: wrap;}
    .home-video-panel{width: calc(50% - 10px);margin-bottom: 30px;}
} 
@media (max-width: 860px){
    .footer-b {width: calc(100% - 250px);height: 390px;background-size: contain;background-position-y: bottom;}
    .owl-slide {height: 453px;}
	h2.owl-slide-title {font-size: 2.5rem}
    .careers-job-intro {flex-direction: column-reverse;}
    .careers-half {width: 100%; }
    .careers-intro, .careers-intro-video {padding: 60px 65px 0 65px;}
    .careers-intro-video {padding-bottom:60px;}
    .careers-search {padding: 90px 50px; }
    .careers-about-devon {flex-direction: column;}
	section {padding-bottom: 20px}
	
	.careers-job-form-container h2 {margin: 0px 30px; padding: 75px 0 50px}
	.careers-job-form {margin: 0 20px 50px}
	.careers-third {padding: 0 10px}
}

.title-nhs-mobile {display:none}
@media (max-width: 767px){
    .owl-carousel-hero .imagcover {background:none;}
    .owl-slide-title {background-color: #063386;padding:20px;font-size: 2.5rem!important;margin:0!important;}
    .owl-slide-subtitle {background-color: #063386;padding:10px 20px;font-size: 1rem;}
	.owl-slide-subtitle p {font-size: 15px !important}
    .owl-slide-text {padding: 20px;margin: 80px 20px 0 20px;}
    .owl-carousel-hero {margin-bottom:0;}
    .home-intro h1,
    .home-intro p
    {padding-left:10px;padding-right:10px; font-size: 35px; margin: 0}
    .home-intro p {padding-bottom: 20px;}
    section.homehelpful,
    section.home-events,
    section.home-video,
    section.home-contacts-twitter
    {padding: 20px!important;}
    section.home-contacts-twitter {padding-top: 120px!important;}
    .home-video-panel iframe {max-width: 100%!important;}
    .home-twitter {padding-left: 0px; }
    .footer {background-position: left 20px top 70px;}
    .footer-a {margin: 155px 0 0 20px;}
    .footer-c {left:20px;}
    .title-nhs-mobile {display:block}
    .title-nhs {display:none}
}
@media (max-width: 700px){
    .second-nav-right {float: left;padding-left: 40px;}
    .header-logo {padding: 15px 40px 0 10px;}
    .nhsdevon .footer {background-position: right 40px top 40px;}
    .nhsdevon .footer-a { margin: 220px 0 100px 40px;}
    .nhsdevon .footer-c {text-align: left;float: none;position: absolute;left: 40px;bottom: 20px;}
    .careers-intro, .careers-intro-video {padding: 10px 20px 0 20px;}
	.careers-intro h2 {margin:10px 0 20px}
    .careers-intro-video {padding-bottom:40px;}
    .careers-search h2 {font-size: 80px;line-height: 0.8}
    .careers-search h2 span {font-size: 42px; }
    .careers-search-foot {padding-top:10px;}
    .careers-half-working, .careers-half-living {padding: 40px 20px 30px;}
    /*.careers-half {flex-direction: column-reverse;}*/
}

@media (max-width: 576px){
    .second-nav { padding-left: 40px;background-position: right bottom;   }
    .header-second .second-nav-right, .header-second-nhs .second-nav-right {width: 100%;}
    .second-nav ul {height: 35px; }
    .second-nav li {margin: 2px 15px 0 0;}
    .owl-slide {height: 400px;}
    .owl-slide-text {height: 380px;}
    .owl-slide-text {margin: 10px  }
    .owl-slide-text h2 {margin: 0 0 20px 0 !important}
    .home-video-panel{width:100%;}
    .careers-search {padding: 60px 20px;}
    .home-video .container{padding:0;}
	
	.home-w3 {display: inherit; margin: 0 10px}
	.home-w3a {padding: 0 30px 0 10px; border-left: 4px solid #005EB8}
	.home-w3b {padding: 0 30px 0 10px; border-left: 4px solid #009639}
	.home-w3c {padding: 0 30px 0 10px; border-left: 4px solid #DA291C; border-right: none}
	.home-w3 h2 {margin: 10px 0 10px 0 !important;}
	.home-w3 ul {margin: 20px 0}
	
	.home-map-left, .home-map-right {width: 100%}
	
	.hn, .he, .home-map, .hhlc {display: inherit}
	.hnv .hnl, .hnl, .hnv .hnr, .hel, .hhl, .hc {width: 100%}
	.hnr h4 {font-size: 14px}
	.hnr p {font-size: 13px}
	.hhl ul {margin: 0}
	.hhl ul li {font-size: 15px}
	
	#google_language_translator select.goog-te-combo {padding: 5px !important; width: 125px !important}
	#google_language_translator:focus {border: 2px solid #ffad00}
	
	.careers-half-working p, .careers-half-living p {font-size: 15px; margin-bottom: 30px}
	.careers-half-working h2, .careers-half-living h2 {font-size: 24px; margin-bottom: 10px}
	.careers-half-working p a, .careers-half-living p a, .careers-half.pharmal p a, .careers-half.pharmar p a {padding: 13px 70px 13px 20px}
	.careers-intro p {font-size: 15px}
	.careers-intro h2 {font-size: 20px}
	.careers-job-form-container h2 {font-size: 16px; padding: 25px 0}
	.home-video p {margin: 15px; font-size: 15px; line-height: 120%}
	.pharmala, .pharmara, .pharmalb, .pharmarb {padding: 25px; min-height: inherit; background-image: none !important}
	.pharmala h2, .pharmara h2, .pharmalb h2, .pharmarb h2 {font-size: 22px; margin-bottom: 10px;}
	.pharmala p, .pharmara p, .pharmalb p, .pharmarb p {font-size: 15px;line-height: 120%; margin-bottom: 40px}
}

.page-id-9113 .owl-slide {height:auto; }
@media (max-width: 767px) {
    .page-id-9113 .owl-carousel-hero {margin-bottom:0;}
}
@media (max-width: 1660px){
    .page-id-9113 .owl-slide { height:35vw;}
}






