html, body {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 300;color:#333;;
}
.containertest{position:relative;height:300px;overflow-y:scroll;}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 300 !important;
    line-height: 1.4;
}
h2{font-size:28px;}
.logobox{margin-left:-10%;}
.searchdiv{margin-left:5%;}
.bannerimg h2{background-color:rgba(0,0,0,0.6);}
.topBox p{color:#fff;}
.infobox{min-height:250px;}
.inner-infobox{border: 10px solid rgba(0,0,0,0);height:auto;min-height:250px;}
.relatedcontent{background:rgba( 240, 237, 232, 1 );width:100%;padding:2em}
.relatedcontent .inner-infobox{padding:0.4em 0.5em;}
.relatedcontent a,.relatedcontent a:hover{color:#fff;text-decoration:none;}
.contacticonsbar .container{width:80%;margin:0.8em auto;padding:0 5%;}
.contacticonsbar .title{display:block;margin-bottom:0.8em;width:100%;}
.contacticonsbar .locations,a div.locations,.contacticonsbar .locations h2{text-align:center;}
a.infobox h3,a.infobox:hover,.contacticonsbar a ,.contacticonsbar a:hover {text-decoration:none;}
.contacticonsbar a,.contacticonsbar .contact{text-align:center !important;border:none !important;}
.contacticonsbar .contact{padding:2em 0;width:100%;}
a.infobox.colour-aubergine{color:#F15D3B;}
a.infobox.colour-aubergine h3,a.infobox.colour-candy h3,.colour-teal-dark,
.colour-teal-dark a,.colour-teal-dark h1,.colour-teal-dark h2,.colour-teal-dark h3,.colour-candy-dark,.colour-candy-dark a,
.colour-candy-dark h2,
.colour-aubergine,.colour-aubergine h2,.color-egg-yolk,.colour-egg-yolk h2,.colour-egg-yolk-dark,.colour-egg-yolk-dark h2{color:#fff;}
.infobox:hover .inner-infobox{border: 10px solid rgba(0, 0, 0, 0.2);}


/* colors */
.colour-teal-dark{background-color: #00627F;}
.colour-egg-yolk-dark{background-color:#946B1B;}
.colour-egg-yolk {background-color: #F3BC52;}
.colour-sky-blue{background-color:#57C1E9;}
.color-tangerine{background-color:#F15D3B;}
.colour-aubergine {background-color: #51246B;}
.colour-green-grass{background-color: #97CA3D;}
.colour-candy{background-color: #EF5095;}
.colour-candy-dark{background-color: #D40665;} 

.coloursection a{color: #FFF;border-bottom: 1px solid; text-decoration:none;}   
/* typography, links */
.entry a{
    border-bottom: 1px solid;
}
a{color: #14657F;}
a.arrowLink,#footer-menu a{color:#fff;}
a.arrowLink:after,.leftslider span.readmore:after,.navboxes span.readmore:after,p.discover a:after{content: '\f061';
   font-family: FontAwesome;
   font-weight: 300;font-size:15px;
   font-style: normal;
   margin:-25px 0px 15px 10px;
   text-decoration:none;}

.navboxes span.readmore:after{content:'\f063';}
.navboxes.up span.readmore:after{content:'\f062';}   
   a.arrowLink:hover{color:#fff;text-decoration:none;}
.whiteBox a.arrowLink{color:#7E7F80;    font-size: 25px;}

.rubbaseparator{width:80% !important;    margin-top: 20px;margin-left:auto;margin-right:auto;
    border-top: 4px solid #DFE1E1;
    padding: 30px 0;
    color: #757678;}

.newscontainer .rubbaseparator,.full.rubbaseparator{width:100% !important;}
.full.rubbaseparator{padding-bottom:15px;}
.media{margin:2em 0;padding:2em 0;}
ul.catmenu{list-style:none;text-align:right;font-size:18px;}
.rubbascroll{position:relative;}
.rubbascrollspy{position:fixed;} 

.rubbasubmenu ul.menu{padding-left:10%;padding-right:5%;word-wrap: break-word;list-style:none;border-left:1px solid rgba(0, 0, 0, 0.2) !important;
}

.logo,.hsearch{padding-top:0.8em;}

.bannerimg{padding:350px 0 0px 0 !important;}
.pagebanner{display:block;position:relative;width:100%;height:450px;background-size:cover;}
.pagetitle{position:absolute;bottom:0;background:rgba(0,0,0,0.8);width:100%;text-align:center;color:#fff;
    padding:0.8em;}
.bannerimg h2{margin-bottom:0px !important;}
p{font-size: 18px;
    line-height: 24px;}
p.rubbaBlogtitle{font-size: 24px;
    line-height: 26px;color:#fff;
}

.wp-block-separator.is-style-wide {
    border-bottom-width: 1px;
}

   .blogPosts h1{font-weight: 300 !important;
    line-height: 1.4;color: #14657F;font-size: 36px;}

    figure.round{border-radius:150px;padding:4em;}

/* breadcrumbs */
.postBreadcrumb {padding-top:1.5em;padding-bottom:1.5em;font-size:0.8em;}
.postBreadcrumb li.list-group-item{margin-right:1.4em !important;
	margin-left:0 !important;border-radius:0px !important;background:#B1ADA7;}
.postBreadcrumb li.list-group-item a{color:#000;}
.postBreadcrumb li.list-group-item.active{background:#006980;} 

/* front page */
#frontContent{padding:2em 0;min-height:600px;position:relative;background:#F0F2F2;;}
#frontContent .firstBox,#frontContent .col--md3{min-height:600px;position:relative;padding:0;}
#frontContent .col-md-3{margin-left:1%;}
#frontContent .col-md-3.secondbox{padding-right:0;}
.innerBox{position:absolute;width:60%;max-width:60%;height:50%;top:0;left:0;}
.innerBox h3{position:absolute;top:46%;left:10px;}
#frontContent .topBox{width:100%;height:49%;max-height:50%;padding:20px;}
.innerBox, .topBox{border:10px solid rgba(0,0,0,0);}
.innerBox:hover, .topBox:hover{border:10px solid rgba(0,0,0,0.4);}
.whiteBox{background-color:#fff;}
.upper{margin-bottom:4%;}

.row.secondrow{margin:0.8em -15px;padding:0;}
#frontContent .row.secondrow  .col-md-3.secondbox{margin-left:0;min-height:550px;}
#frontContent .row.secondrow .topBox{position:absolute;bottom:0;}
.secondrow .firstBox .innerBox{position:absolute;top:50%;bottom:0;}
#frontContent .row.secondrow .topBox.upper{position:relative;}
#frontContent .row.secondrow .topBox.upper h3{color:#fff;font-weight:600 !important;}
#frontContent .row.secondrow .topBox p.rubbaTitle,#frontContent .row.secondrow .topBox.whiteBox.upper a.arrowLink{color:#F3BC52;}
#frontContent .row.secondrow .thirdbox .topBox.whiteBox{width:96%;}
#frontContent .row.secondrow .thirdbox .topBox.whiteBox.upper{width:100%;}
/* young people */
.personbadge{
background-position: center;
    background-size: cover;
    border-radius: 250px;
    display: inline-block;
    height: 250px;
    width: 250px;}
a .personbadge, .personcard a{text-decoration:none;border-bottom-style:none;} 
.personcard a{color:#000;}
.personcard{padding-top:4em;}
.personbadge{margin-bottom:0.5em;}
.personexcerpt{height:110px;overflow:hidden;margin-top:20px;}
.personcard,.personcard h2,.personcard .storybutton{text-align:center;} 
.storybutton a.btn{background:#D33B26;color:#fff;}  


/* about page */
#aboutSlide .tb-container{width:30%;padding:0 1.5%;display:inline-block;}
.carouselslide{overflow:hidden;}

/*boostrap mos*/
.carousel-item{background:#fff;}
.boxcontrol{width:48% !important;margin-right:1%;height:200px;position:relative;
  display:inline-block;padding:2%;margin-bottom:10px;
    color: #FFF;}
.boxcontrol a{color:#fff;}

#footer{background-color: #14657F;
    color: #FFF;padding-top:2em;padding-bottom:2em;}

#footer form input.form-control,#footer button.btn-danger{background:transparent !important;border:1px solid #14657F ;}
#footer .search .input-group{border-bottom:1px solid #fff;margin-bottom:20px;}
#footerpolicy{padding:1.5em 0;}
#footer ul{list-style:none;padding:0px !important;}
#footer ul li a,#footer .gidscol a{
    color: #FFF;
    padding: 4px 0;
}
#footer .gidscol{padding:0 2%;font-size:16px;}
#footer .gidscol.gidsmenu{padding-left:4%;}
#footer .sharing ul li{display:inline-block;float:left;padding:0.5em;border:solid 2px #14657F;border-radius:8px;}
#footer .sharing ul li:hover{border:solid 2px #397F96;}


/* storyslider block */

.storyslide .row{padding:0.8em 0;}
.storyslide a.infobox {color:#fff;text-decoration:none;}
.storyslide .inner-infobox{padding:0.5em 1.2em;min-height:300px;}
.storyslide h3,3{font-size: 24px;
    line-height: 1.4; }

.row.navboxes div.col-md-3:first-of-type{padding-left:0;}

 .storyslide .carousel-inner,.storyslide.side .bring-me{border: 4px solid #DDDFE0;}
 .storyslide.side .carousel-inner{border:0px;padding-bottom:0px;}
 .storyslide .carousel-inner .carousel-item {
    font-size: 1.2em;
    line-height: 1.5em;
    padding: 50px;
    padding-bottom: 60px;}

.storyslide  .carousel-inner .carousel-item h3 {
    color: #356683;
    font-size: 24px !important;
    margin-bottom: 30px;
}

.storyslide .carousel-inner .carousel-item p{
    font-size: 18px !important;
    margin-bottom: 20px;color:#757678;
} 



/* carousel block (powered by slick) */
.rubbaslide{height:500px;}
.rubbaslick button.slick-prev{display:inline-block;left:40px;}
.rubbaslick button.slick-next{display:inline-block;right:60px;}
.rubbaslick .slick-prev:before,.rubbaslick .slick-next:before {
    font-family: 'slick';
    font-size: 40px;
    line-height: 1;
    opacity: .75;
    color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.rubbaslick .slick-dots {bottom:40px;}
.rubbaslick .slick-dots li button:before {
    font-family: 'FontAwesome';
    font-size: 15px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '\f10c';
    text-align: center;
    opacity: .85;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.rubbaslick .slick-dots li.slick-active button:before {
    font-family: 'FontAwesome';
    font-size: 15px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '\f192';
    text-align: center;
    opacity: .95;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.rubbaslick .rubbaslickcontent{color:#fff;z-index:5;position:relative;display:block;}
.rubbamask{background:rgba(0,0,0,0.4);width:100%;height:100%;z-index:2;padding:15% 40% 15% 10%;}


/* side story slide */
.leftslider .row{padding-top:0;padding-right:10px;padding-bottom:0;}
.leftslider .col-md-6{padding:0px 4px 10px 4px;font-size:25px;}
.leftslider .col-md-6:nth-last-child(-n+2){padding-bottom:0px;}
.leftslider .col-md-6 span.readmore,.navboxes span.readmore{position:absolute;bottom:25px;}

/* parent advice */
.parentadvicebadge{width:100%;min-height:150px;}
.parentadvicepagebadge{width:100%;min-height:220px;}
.gids-parent-advice-body,.gids-parent-advice-jumplinks,.advicepage{border-top: 4px solid #DDDFE0;
    padding-top: 40px;
}
.advicepage{padding-bottom:4em;margin-top:40px;padding-top:10px;}
.advicepage .gids-parent-advice-body{border-style:none;padding-top:0px;}
.gids-parent-advice-jumplinks ul{list-style:none;text-align:right;}
.gids-parent-advice-body h2 {
    color: #EF5095;
    margin-bottom: 40px;
}
.gids-parent-advice-jumplinks ul li {
    font-size: 20px;
    text-align: right;
    margin-bottom: 12px;
    line-height: 1;
}
.gids-parent-advice-jumplinks ul li a {
    color: #757678;
    font-size: 16px;border-style:none;
}

.gids-parent-advice-jumplinks ul li.active a {
    border-bottom: 1px solid;
    color: #EF5095;
    text-decoration: none;
}

/* captions carousel */
.rubbacaptions .carousel, .gids-page-section {
    margin-top: 20px;
    border-top: 4px solid #DFE1E1;
    padding: 30px 0;
    color: #757678;
}
.rubbacaptions .slider-height-tall .slide-background {
    min-height: 600px;
}
.rubbacaptions .slide-background {
    background-size: cover;position:relative;
    height: 100%;
    width: 100%;
}

/* nhs carousel import */
.gids-page-section {
    margin-top: 20px;
    border-top: 4px solid #DFE1E1;
    padding: 30px 0;
    color: #757678;
}
.background .gids-page-section {
    color: #FFF;
    border: none;
}
.section-background {
    margin-bottom: 30px;
}
.section-background:last-child {
    margin-bottom: 0px;
}
.gids-page-section h1,
.gids-page-section h2,
.gids-page-section h3,
.gids-page-section h4,
.gids-page-section h5,
.gids-page-section h6 {
    margin-top: 0;
}
.path-frontpage .gids-page-section {
    border-top: 0;
}


/* search results */

#searchpage{padding:2em 0;display:block;position:relative;}
#searchpage h2.pagetitle{position:relative;}
#searchpage .hentry{padding:0.8em 0;}
#footer .search {padding:0.4em;border-bottom:solid 1px #ccc;margin-bottom:0.5em;}
#footer .search input{background:transparent;}


li.about-menun:hover::after{bottom: -21px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid black;
    
    height: 20px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 20px;}

@media (min-width: 1200px){
.container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1340px;
}}


@media all and (min-width: 1024px) {
    .gids-page-section-title {
        padding-left: 0;
    }
}
.gids-page-section-title h1 {
    color: #666;
    font-size: 1.8em;
    font-weight: 300;
    margin-top: 0;
}
.gids-page-section-title img {
  max-width: 100%;
}
.gids-page-section-body {
    font-size: 18px;
    line-height: 24px;
    font-weight: 300;
}
.gids-page-section-body a {
  border-bottom: 1px solid;
}
.gids-page-section-body a:hover {
  border: 0px;
  text-decoration: none;
}
.remove-padding {
    padding-left: 0;
    padding-right: 0;
}
.remove-padding > .row {
    padding: 30px 15px;
}
.gids-page-section.green {
    background-color: #90C149;
    color: #FFF;
    border-top: none;
}
.gids-page-section.green h1,
.gids-page-section.green h2,
.gids-page-section.green h3,
.gids-page-section.green h4,
.gids-page-section.green h5,
.gids-page-section.green h6 {
    color: #FFF;
}
.gids-page-section.purple {
    background-color: #512773;
    color: #FFF;
    border-top: none;
}
.gids-page-section.purple h1,
.gids-page-section.purple h2,
.gids-page-section.purple h3,
.gids-page-section.purple h4,
.gids-page-section.purple h5,
.gids-page-section.purple h6 {
    color: #FFF;
}



.menutext{padding-left:8% !important;}



/* Override font size to be equal to general P tags */
/* Effects About Us - Your travel costs */
.gids-page-section.purple li {
    font-size: 18px;
}





/* imported from branches css */

.gids-contact-branches {
    border-top: none;
    font-weight: 400;
    padding: 40px 0 30px 0;
    text-align: center;
}
.gids-contact-branches > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.gids-contact-branches > ul > li {
    display: inline-block;
    margin: 0 10px 10px 0;
}
.gids-contact-branches > ul > li > a,a.gidscontact {
   
    border-radius: 30px;
    color: #FFF;
    display: block;
    padding: 10px 15px;
}
a.gidscontact{display:inline-block;}
.gids-contact-branches > ul > li > a:hover {
    text-decoration: none;
}
@media all and (min-width: 600px) {
    .gids-contact-branches {
        text-align: left;
    }
    .gids-contact-branches > ul > li {
        margin: 0 20px 10px 0;
    }
    .gids-contact-branches > ul > li > a {
        padding: 10px 20px;
    }
}


@media all and (max-width: 480px) {
    .row{margin-left:4% !important;margin-right:2% !important;}
    .secondrow .col-12.col-md-3.thirdbox{padding-right:0px !important;}
    .footer-menu  a.nav-link {padding:0px !important;
    color: #FFF;
    padding: 4px 0 !important;
}

.logobox{margin-left:0 !important;}
.hsearch{margin-top:-0.5em;}
.hsearch input {width:60%;height:60%;}
#searchpage .hentry{padding:0.8em 0.8em;}
#headermobile .rubbaBg{padding:0.8em 0;}

/* front page*/
#frontContent .topBox {height:350px !important;max-height:350px !important;}
}
.col-12.firstBox,.col-12.firstbox .col-12,.col-12{padding-left:0px;
}
    .mega-sub-menu {
    padding: 0.8em !important;
}
#frontContent .firstBox{margin-bottom:0.5em;}

.wp-block-toolset-blocks-container.tb-container[data-toolset-blocks-container="dab7bd1f5e50a2e67491a9e9a26e9899"] > .tb-container-inner
{max-width:100% !important;}
.slick-list{width:100%;padding:0;}
#aboutSlide .tb-container{margin:0 0px; width:100%;display:block;}
.leftslider .col-md-6:nth-last-child(-n+2){padding-bottom:10px;}
body.page-id-13 #shared-care-and-our-network-model .tb-container .tb-container-inner{max-width:100% !important ;}
.rubbamask{padding:10%;}
body.page-id-13 .rubbaslide{height:600px;width:100%;}
body.page-id-13 #shared-care-and-our-network-model .wp-block-toolset-blocks-container.tb-container[data-toolset-blocks-container="a85b4ba2a9abcb3ec039d0fb37ef8c79"] > .tb-container-inner
{max-width:100% !important;}
}



/*
 * Branch row.
 */
.gids-contact-branch {
    border-top: 4px solid #DDDFE0;
    color: #757678;

}
.gids-contact-branch a {
    color: #6D96A9;
}
.gids-contact-branch h1 {
    margin-top: 0;
}
.gids-contact-details {
    font-size: 1.2em;
    padding: 30px 15px;
}
.gids-contact-branch-body {
    padding: 30px 15px;
    font-size: 1.2em;
}
.gids-contact-branch-find {
    border-top: 4px solid #DDDFE0;
}
.gids-contact-branch-find-body {
    padding: 30px 15px;
    font-size: 1.2em;
}
/*
 * Address
 */
.gids-branch-address {
    font-size: 22px;
}
.gids-contact-branch-telephone {
    color: #6D96A9;
}
.gids-contact-branch-telephone span {
    color: #757678;
}
.gids-contact-branch-organization {
    color: #6D96A9;
    text-transform: uppercase;
}
.gids-contact-branch-telephone,
.gids-contact-branch-email {
    display: block;
    font-size: 22px;
    margin: 14px 0 0 0;
}

/*
 * Find us link.
 */
.branch-find-us {
    width: 180px;
}
.branch-find-us .branch-image {
    border-radius: 120px;
    clear: left;
    display: inline-block;
    height: 180px;
    margin-top: 30px;
    padding: 30px;
    text-align: center;
}
.branch-find-us .branch-image img {
    max-height: 100%;
    width: auto;
}
.branch-find-us a {
    border-radius: 20px;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    margin-top: 15px;
    padding: 10px 20px;
    text-align: center;
    width: 100%;
}
/*
 * Map
 */
.gids-branch-map {
    width: 100%;
    height: 450px;
}

/* Branch icon slider */
.branch-icon-slider .branch-row {
  text-align: center;
}
.branch-icon-slider .branch-row h3 {
  font-size: 24px;
  margin: 20px 0px 10px 0px;
}
.branch-icon-slider .branch-row h3 a {
  color: #757678;
}
.branch-icon-slider .branch-row .branch-summary {
  font-size: 18px;
  line-height: 24px;
}
.branch-icon-slider .contact-link {
  font-size: 18px;
  text-align: center;
  margin: 30px 0;
}
.branch-icon-slider .contact-link a {
  background-color: #006980;
  border-radius: 30px;
  color: #FFF;
  padding: 10px 20px;
}
