/*hide screenreader text*/
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

.grid-title {
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.75);
    -webkit-text-stroke: 0.11px black;
}

/*Make imaghes with captions max-100% as img-fluid is overriden*/
.wp-caption {
    max-width: 100%;
}

/* Bootstrap 4 compatibility for Bootstrap 5 gutters */
/* Bootstrap 4 grid compatibility with Bootstrap 5 gutter utilities */

/* Bootstrap 5-style gutters on a Bootstrap 4 grid */

.row.g-0 {
    margin-left: 0;
    margin-right: 0;
}

.row.g-0 > .col,
.row.g-0 > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.row.g-1 {
    margin-left: -.125rem;
    margin-right: -.125rem;
}

.row.g-1 > .col,
.row.g-1 > [class*="col-"] {
    padding-left: .125rem;
    padding-right: .125rem;
}

.row.g-2 {
    margin-left: -.25rem;
    margin-right: -.25rem;
}

.row.g-2 > .col,
.row.g-2 > [class*="col-"] {
    padding-left: .25rem;
    padding-right: .25rem;
}

.row.g-3 {
    margin-left: -.5rem;
    margin-right: -.5rem;
}

.row.g-3 > .col,
.row.g-3 > [class*="col-"] {
    padding-left: .5rem;
    padding-right: .5rem;
}

.row.g-4 {
    margin-left: -.75rem;
    margin-right: -.75rem;
}

.row.g-4 > .col,
.row.g-4 > [class*="col-"] {
    padding-left: .75rem;
    padding-right: .75rem;
}

.row.g-5 {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
}

.row.g-5 > .col,
.row.g-5 > [class*="col-"] {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.row.g-0 > .col,
.row.g-0 > [class*="col-"],
.row.gx-0 > .col,
.row.gx-0 > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.row.g-1 > .col,
.row.g-1 > [class*="col-"],
.row.gx-1 > .col,
.row.gx-1 > [class*="col-"] {
    padding-left: .125rem;
    padding-right: .125rem;
}

.row.g-2 > .col,
.row.g-2 > [class*="col-"],
.row.gx-2 > .col,
.row.gx-2 > [class*="col-"] {
    padding-left: .25rem;
    padding-right: .25rem;
}

.row.g-3 > .col,
.row.g-3 > [class*="col-"],
.row.gx-3 > .col,
.row.gx-3 > [class*="col-"] {
    padding-left: .5rem;
    padding-right: .5rem;
}

.row.g-4 > .col,
.row.g-4 > [class*="col-"],
.row.gx-4 > .col,
.row.gx-4 > [class*="col-"] {
    padding-left: .75rem;
    padding-right: .75rem;
}

.row.g-5 > .col,
.row.g-5 > [class*="col-"],
.row.gx-5 > .col,
.row.gx-5 > [class*="col-"] {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}


body.post-nursery-term-funding-planner h2.card-title, body.post-nursery-term-funding-planner .single-img-top {
   display: none;
}

body.single-format-aside .widget.widget-google-reviews, body.single-format-aside .more-articles a:nth-child(2), body.single-format-aside .more-articles a:nth-child(5) {
    display: none !important;
}

#gform_confirmation_message_2 {
    color: red;
    background: #fff;
    padding: 10px;
    text-align: center;
    border: 1px solid;
}


/*CARRERS*/
body.category-careers .tsw-google-reviews .tsw-review:nth-child(n+2) {
    display: none;
}

/*application form*/
body.post-application-form.category-careers .col-xl-4.d-none.d-sm-block, body.post-application-form.category-careers h2.card-title, body.post-application-form.category-careers .comments-wrapper {
    display: none !important;
}
body.post-application-form .gform_heading {
    background: #3383CC;
    padding: 1em 1em 0.1em 1em;
    margin-bottom: 35px;
    color: #fff;
}
body.post-application-form .single-img-top {
    display: none;
}

/*Deputy Manager*/
body.post-deputy-manager .more-articles {
    display: none;
}
body.post-deputy-manager #sidebar-single section#media_image-2 img {
    filter: none;
}
body.post-deputy-manager .tsw-google-reviews .tsw-review:nth-child(n+2) {
  display: block;
}
body.post-deputy-manager .tsw-google-reviews .tsw-review:nth-child(n+3) {
    display: none;
}

/*musical drame*/
body.post-drama-musical-theatre-preschool iframe {
    width: 100%;
}
body.post-drama-musical-theatre-preschool .widget.widget-google-reviews .tsw-google-reviews .tsw-review:nth-child(n+2) {
    display: none;
}


/*FUNDED CHILDCARE REGISTER POST*/
body.post-funded-childcare-extended-hours .tsw-google-reviews .tsw-review:nth-child(4) {
    display: none;
}


/*tweak caption css*/
figure {
    width:auto !important;
}
.post figure figcaption {
    font-size: 11px;
}



/*Blog single sidebar*/
#sidebar-single section#media_image-2 img {
    width: 100%;
    opacity: 0.8;
    filter: drop-shadow(2px 4px 6px black);
}


/*school admissions article*/
div#school-admission-CTA a {
    width: calc(50% - 0.25em);
}

/*grid plus extra info mark style*/
.grid-item--top .grid-plus, .grid-item--center .grid-plus {
    bottom: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.25);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0px;
    line-height: 28px;
}
.grid-item .grid-title {
    -webkit-text-stroke: 0.1px #000;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.75);
}