﻿body {
    margin: 0 !important;
    max-width: 100vw !important;
    font-family: var(--font) !important;
    overflow-x: hidden;
    margin-right: 17px;
    font-size: 1vw;
}
/* montserrat-regular - latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montserrat-v25-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/montserrat-v25-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/montserrat-v25-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/montserrat-v25-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('../fonts/montserrat-v25-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/montserrat-v25-latin-regular.svg#Montserrat') format('svg'); /* Legacy iOS */
}
/* montserrat-500 - latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/montserrat-v25-latin-500.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/montserrat-v25-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/montserrat-v25-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/montserrat-v25-latin-500.woff') format('woff'), /* Modern Browsers */
    url('../fonts/montserrat-v25-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/montserrat-v25-latin-500.svg#Montserrat') format('svg'); /* Legacy iOS */
}
/* montserrat-600 - latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/montserrat-v25-latin-600.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/montserrat-v25-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/montserrat-v25-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/montserrat-v25-latin-600.woff') format('woff'), /* Modern Browsers */
    url('../fonts/montserrat-v25-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/montserrat-v25-latin-600.svg#Montserrat') format('svg'); /* Legacy iOS */
}
/* montserrat-700 - latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/montserrat-v25-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/montserrat-v25-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/montserrat-v25-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/montserrat-v25-latin-700.woff') format('woff'), /* Modern Browsers */
    url('../fonts/montserrat-v25-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/montserrat-v25-latin-700.svg#Montserrat') format('svg'); /* Legacy iOS */
}
/* montserrat-800 - latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/montserrat-v25-latin-800.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/montserrat-v25-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/montserrat-v25-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/montserrat-v25-latin-800.woff') format('woff'), /* Modern Browsers */
    url('../fonts/montserrat-v25-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/montserrat-v25-latin-800.svg#Montserrat') format('svg'); /* Legacy iOS */
}
/* montserrat-900 - latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/montserrat-v25-latin-900.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/montserrat-v25-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/montserrat-v25-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/montserrat-v25-latin-900.woff') format('woff'), /* Modern Browsers */
    url('../fonts/montserrat-v25-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/montserrat-v25-latin-900.svg#Montserrat') format('svg'); /* Legacy iOS */
}


/*#region  Color Schemes*/
:root {
    --thomas-lighter-blue: 198,217,240;
    --thomas-light-blue: 141,179,226;
    --thomas-lightest-blue: 232,240,249;
    --thomas-blue: 24,92,175;
    --thomas-dark-blue: 6,32,65;
    --thomas-grey: 151, 151, 151;
    --thomas-yellow: 255, 201, 0;
    --font: 'montserrat';
    --ofsted-blue: 41, 38, 89;
    --ofsted-yellow: 251, 188, 65;
}

/*Used W3Schools help how to add overlay effect. link: https://www.w3schools.com/howto/howto_css_overlay.asp */
#overlay {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 10000;
}

/*
The code below is css so related to cookies was given by Chris to use for this website.
It was found online and it is a basic cookie banner that follows the current UK law.
*/
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background-color: #f8f9fa;
    padding: 15px;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 10100;
}

.cookie-message {
    margin-bottom: 10px;
    font-size: 20px;
}

.cookie-buttons button {
    margin: 0 5px;
    font-size: 15px;
}

.ContentLiveClass {
}

.SecLiveClass {
}

.SubSecLiveClass {
}

    .SubSecLiveClass a:visited font {
        color: #0000FF;
    }

    .SubSecLiveClass a:active font {
        color: #ff0000;
    }

    .SubSecLiveClass div[abp="1102"] span span, p[abp="1206"] span span {
        font-size: 20px;
    }

.tableContent {
    max-width: 100%
}

.quickLinks1 {
    width: 20%;
}

#quickLinks4 {
    font-size: 2.1vmin;
}

.pagetitle {
    font-size: 65px;
    position: relative;
    color: black;
    font-weight: normal;
    font-family: Gloria Hallelujah, sans-serif;
    z-index: 1;
    width: 100%;
    text-align: center;
    line-height: 110px;
    margin: 0 auto 0 auto !important;
}

#headerTitle {
    font-size: 7rem;
}

#header {
    top: 0;
    left: 0;
    background-color: rgb(0,108,49);
    height: 200px;
    margin-bottom: -200px;
    position: relative;
    z-index: 1000;
    /*width: 200%;*/
    /*margin-left: -50%;*/
}

    #header a {
        color: black;
        position: relative;
        z-index: 100;
        font-family: Zain;
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    /*#header a:hover {
            text-decoration: underline;
        }*/

    #header .sm {
        display: flex !important;
        width: 70% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #header h4, p {
        color: white;
    }
    .cookie-message p {
        color: black;
    }

#menu {
    background-color: #F5CC18;
    width: 100vw;
    margin-top: -25px;
    position: relative;
    margin-bottom: -50px;
    z-index: 100;
    margin-left: -15px;
    margin-right: auto !important;
    height: 50px;
    color: #FFFFFF;
}

    #menu .firstUL li a {
        color: white;
    }

        #menu .firstUL li a:hover {
            color: #F5CC18;
        }

.note-editable {
    font-family: Montserrat !important;
    font-size: 16px !important;
}

.StThomasContentHeader {
    font-family: Montserrat !important;
    font-size: 24px;
    font-weight: bolder;
    color: rgb(24, 92, 175);
}

.StThomasContentBody {
    font-family: Montserrat !important;
    font-size: 16px;
}

.bigImg {
    left: 0;
    position: relative;
    border-color: #000 transparent transparent transparent;
    z-index: 30;
    display: inline-block;
    height: 105vh;
}

    .bigImg .curve {
        margin: 0 auto !important;
    }

    .bigImg .arrow {
        position: relative;
        z-index: 31;
        height: auto;
        width: 3%;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block;
        min-width: 20px;
        padding-bottom: 1%;
        top: -24px;
    }

/*@media only screen and (orientation: portrait){
        .bigImg{
            height: 16vh;
        }
    }*/

.gradientTime {
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 50px;
    background: -moz-linear-gradient(top, rgba(137,255,241,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(137,255,241,0)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(137,255,241,0) 0%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(137,255,241,0) 0%,rgba(0,0,0,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(137,255,241,0) 0%,rgba(0,0,0,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(137,255,241,0) 0%,rgba(0,0,0,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0089fff1', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
}

.underImg {
    width: 100%;
    background-color: #A0CB26;
    z-index: -10;
}

.underImgText {
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 2vmax;
    bottom: 0;
    margin-left: 50% !important;
    justify-content: center;
    transform: translate(-50%,-50%);
}

.news {
    background-color: #B71B67;
    width: 15%;
    vertical-align: middle;
    text-align: center;
    height: 60px;
}

.menuDiv {
    z-index: 10;
    position: relative;
    height: 100%;
    padding-top: 15px;
    /*width: 50% !important;*/
    margin: 0 auto;
}

.mainLogo {
    cursor: pointer;
}

.bubble {
    position: relative;
    font-family: sans-serif;
    font-size: 15px;
    line-height: 24px;
    width: 380px;
    background-color: rgba(183,27,103,0.9);
    border-radius: 15px;
    border: 7px white solid;
    padding: 24px;
    text-align: center;
    color: white;
    margin-bottom: 160px;
    left: 60%;
    top: 53%;
}

    .bubble:before {
        content: "";
        width: 0px;
        height: 0px;
        position: absolute;
        border-left: 27px white solid;
        border-right: 27px solid transparent;
        border-top: 27px white solid;
        border-bottom: 27px solid transparent;
        left: 20px;
        bottom: -55px;
    }

    .bubble:after {
        content: "";
        width: 0px;
        height: 0px;
        position: absolute;
        border-left: 19px solid rgba(183,27,103,0.9);
        border-right: 19px solid transparent;
        border-top: 19px solid rgba(183,27,103,0.9);
        border-bottom: 19px solid transparent;
        left: 26px;
        bottom: -38px;
    }

#ContentPlaceHolder1_Span1, #ContentPlaceHolder1_Span2, #ContentPlaceHolder1_Span3, #ContentPlaceHolder1_Span4, #ContentPlaceHolder1_Span5, #ContentPlaceHolder1_Span6, #ContentPlaceHolder1_Span7 {
    display: block;
    margin-bottom: 20px;
}


@media only screen and (max-width: 1050px) {
    .bubble {
        display: none;
    }
}

.quickLinks {
    /*height: 10vh;*/
    width: 11vw;
    color: white;
    text-align: center;
    position: relative;
    left: 15vw;
    font-size: 80%;
    min-width: 150px;
}

    .quickLinks div {
        margin-top: 5px;
        margin-bottom: 5px;
        height: 5vh;
    }

    .quickLinks a {
        color: white;
    }

@media only screen and (orientation: portrait) {
    .quickLinks div {
        height: 5vw;
    }
}

footer {
    /*position: absolute;*/
    left: 0;
    bottom: 0;
    display: inline-block;
}

#content {
    position: static;
}

#bottomBit {
    background-color: rgb(0,108,49);
    display: flex;
    font-size: 3.2vmin;
    font-family: Zain;
    letter-spacing: 2px;
}

    #bottomBit .sm {
        display: flex;
        width: 70%;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-top: 2%;
        color: white;
        margin-bottom: 1%;
    }

    #bottomBit tbody {
        color: white;
        font-size: 2.6vmin;
        line-height: normal;
    }

    #bottomBit a {
        color: white;
    }

#middleImgs {
    /*display: flex;*/
}

    #middleImgs .sm {
        width: 70%;
        display: flex;
        text-align: justify;
        margin-left: auto !important;
        margin-right: auto !important;
    }

        /*#middleImgs .sm:after {
            content: "";
            display: inline-block;
            width: 100%;
            height: 0;
        }*/

        #middleImgs .sm img {
            height: 8vh;
            width: auto !important;
            display: inline-block;
            margin: 0 auto !important;
        }

#contactUs {
    background-color: rgb(var(--thomas-blue));
    height: fit-content;
    display: flex;
    margin-top: 5px;
    font-size: 85%;
    color: white;
}

@media only screen and (orientation: portrait) {
    #contactUs {
        font-size: 1.5vw;
    }
}

#contactUs a, h4 {
    font-weight: bold;
}

#contactUs .sm {
    display: flex;
    width: 70%;
    margin-left: auto !important;
    margin-right: auto !important;
    flex-wrap: wrap;
}

    #contactUs .sm div {
        height: fit-content;
    }

#newContact {
    height: 500px;
    margin-bottom: -500px;
    position: relative;
    z-index: 100;
}

/*@media only screen and (max-width: 795px) {
    .map {
        width: 50% !important;
    }
}

@media only screen and (min-width: 796px) {
    .map {
        width: 100% !important;
    }
}
*/

#eightBoxes {
    color: white;
    font-weight: 600;
    font-size: 3vh;
}

    #eightBoxes a {
        color: white !important;
        text-decoration: underline;
    }

    #eightBoxes td {
        width: 25%;
        font-size: 1.5vw;
        height: 25vw;
    }

        #eightBoxes td img {
            width: 100%;
        }

#headMessage {
    color: black;
    display: flex;
    font-weight: 600;
}

    #headMessage .sm {
        display: flex;
        width: 70%;
        margin-left: auto !important;
        margin-right: auto !important;
        flex-wrap: wrap;
    }

    #headMessage img {
        max-width: 100%;
        text-align: right;
    }

    #headMessage .quote {
        margin-bottom: 10px;
    }

    #headMessage a {
        font-size: 1.5vh;
    }

    #headMessage h2 {
        color: rgb(var(--thomas-blue));
    }

@media only screen and (orientation: portrait) {
    #headMessage .quote {
        font-size: 1.5vw;
    }
}

#upcoming {
    background-color: rgba(160,203,38,0.3);
    height: fit-content;
}

    #upcoming h4 {
        width: fit-content;
        color: rgb(160,203,38);
        margin-left: auto !important;
        margin-right: auto !important;
        font-weight: 600;
        padding-top: 1%;
        margin-bottom: 1%;
    }

    #upcoming a {
        color: black;
        cursor: pointer;
        padding: 0 10px;
    }

.events {
    display: flex;
    flex-wrap: wrap;
    width: fit-content;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center;
}

.eventItem {
    background-color: white;
    width: 10vw !important;
    min-width: 150px;
    /*margin: 0 10px;*/
    font-size: 1.5vh;
    margin: 10px;
    /*margin-left: 10px;
    margin-right: 10px;*/
    padding: 10px;
}

.eventTitle {
    width: fit-content;
    color: rgb(var(--thomas-blue));
    margin-left: auto !important;
    margin-right: auto !important;
    font-weight: 600;
    padding-top: 1%;
    margin-bottom: 1%;
}

@media only screen and (orientation: portrait) {
    .eventItem {
        font-size: 1.5vw;
    }
}

.buttons {
    width: fit-content;
    margin-left: auto !important;
    margin-right: auto !important;
    font-weight: 600;
    text-transform: uppercase;
}

.space {
    background-color: transparent !important;
    width: 40px !important;
    max-width: 40px !important;
}

.carousel {
    margin-bottom: -100%;
    position: unset !important;
    z-index: -100;
}

#carousel, .carousel-inner, .carousel-item {
    height: 65vh;
    min-height: 600px;
    max-height: 900px;
}

#carouselBasicExample * {
    z-index: 0;
}

.carousel-item {
    height: 100%;
}

.carousel-indicators [data-mdb-target] {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.wideBoi {
    width: 100%;
    max-width: 100vw;
}

.vertMid {
    display: flex;
    align-items: center; /* align vertical */
    padding-left: 8px;
    padding-right: 8px;
}

.dot {
    height: 6px;
    width: 6px;
    margin-left: 3px;
    margin-right: 3px;
    margin-top: 2px !important;
    background-color: #ca3379;
    border-radius: 50%;
    display: inline-block
}

.contactForm {
    margin-left: auto !important;
    margin-right: auto !important;
}

.insideForm {
    background-color: white;
    width: 95%;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 10px;
}

    .insideForm table {
        margin-left: auto !important;
        margin-right: auto !important;
    }

.contactForm .form-control {
    outline: 2px solid transparent;
}

@keyframes TryThis {
    from {
        outline: 2px solid transparent;
    }

    to {
        outline: 2px solid red;
    }
}

.missing {
    animation-name: TryThis;
    animation-duration: 0.5s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
}

.carousel-control-next, .carousel-control-prev {
    z-index: 11;
    top: 50% !important;
    bottom: 0 !important;
}

marquee {
    color: #8D201E;
    height: 50px;
    vertical-align: middle;
    font-weight: bold;
    font-size: 18px;
}

#FooterImage {
    /*background-color: #FEF1D4;*/
    color: white;
    padding: 40px 0 10px 0;
}

    #FooterImage .sm {
        width: 70%;
        display: flex;
        text-align: center;
        height: 70%;
        top: 20%;
        position: relative;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 5%;
    }

#FourLinks {
    background-color: #FEF1D4;
    color: white;
    padding: 40px 0 10px 0;
    margin-bottom: -145px;
}

    #FourLinks .sm {
        width: 70%;
        display: flex;
        text-align: center;
        height: 60%;
        top: 20%;
        position: relative;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 2%;
    }

        #FourLinks .sm a {
            color: white !important;
        }

        /*#FourLinks .sm .FourLink:nth-child(1) {
            background-color: #67B39C !important;
            margin-left: 0 !important;
        }*/

        #FourLinks .sm .FourLink {
            background-color: #F5CC18 !important;
        }

        /*#FourLinks .sm .FourLink:nth-child(3) {
            background-color: #A5CEBE !important;
        }

        #FourLinks .sm .FourLink:nth-child(4) {
            background-color: #898888 !important;
            margin-right: 0 !important;
        }*/

.FourLink {
    width: 100% !important;
    max-width: 25%;
    margin: 0px 10px;
    vertical-align: middle;
    font-size: 240%;
    border-radius: 25px;
    height: 200px;
    font-family: Gloria Hallelujah;
    line-height: 50px;
}

    .FourLink table tbody tr {
        height: 50% !important;
    }

#eventLinks {
    background: rgb(var(--thomas-lighter-blue));
    width: 200%;
    border-radius: 200% 200% 0 0;
    margin-left: -50%;
}

    #eventLinks .curve {
        width: 50%;
        margin: 0 auto !important;
    }

    #eventLinks .sm {
        width: 70%;
        margin: 30px auto !important;
        display: flex;
        flex-wrap: wrap;
    }

    #eventLinks h1 {
        padding-top: 130px;
        text-align: center;
        color: rgb(var(--thomas-blue));
        font-weight: bold;
    }

.eventLink {
    background-color: white;
    max-width: 19%;
    margin: 10px auto !important;
    margin-top: 25px;
    font-family: var(--font);
    min-width: 19%;
    padding: 10px;
}

    .eventLink p {
        font-size: 1rem;
    }

.eventButtons {
    width: 70%;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-bottom: 50px;
}

.backgroundMap {
    height: 50vh;
}

.button {
    border: 0;
    color: white;
    text-transform: uppercase;
    padding: 5px 20px;
    font-weight: 600;
    font-size: 1rem;
}

.QLbutton {
    width: 90%;
    margin: 5px !important;
    color: rgb(var(--thomas-dark-blue));
    background-color: white;
    border-radius: 8px;
    height: 40px;
    border: none;
    font-size: 0.8rem;
    font-weight: 700;
}

.Grey {
    background-color: rgb(var(--thomas-grey));
}

.Blue {
    background-color: rgb(var(--thomas-blue));
}

.caption {
    text-shadow: 3px 3px rgb(0 0 0 / 70%);
    color: white;
    position: relative;
    font-size: 50px;
    padding: 24px;
    text-align: left;
    /*margin-bottom: 160px;*/
}

.sm-img {
    max-width: 100px;
    height: auto !important;
    cursor: pointer;
}

.row {
    margin-right: 0 !important;
}

#megaMenu {
    position: absolute;
    z-index: 100;
    background-color: rgba(141,32,30,0.9);
    height: 700px;
    max-height: 700px;
    max-width: 100vw !important;
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    width: 100%;
    top: 164px;
}

#megaMenu1 {
    position: absolute;
    z-index: 100;
    background-color: rgba(141,32,30,0.9);
    height: 700px;
    max-height: 700px;
    width: 100vw;
    max-width: 100vw !important;
    display: flex;
    flex-wrap: wrap;
    text-align: left;
}

.list-group-item {
    color: white !important;
    background-color: unset !important;
    padding: 5px;
    border: unset !important;
    font-size: 0.8rem;
}

.level0 {
    padding-left: 16px !important;
    font-weight: 700;
    font-size: 1.25em;
    text-transform: uppercase;
}

.level1 {
    padding-left: 36px !important;
}

.level2 {
    padding-left: 56px !important;
}

.level3 {
    padding-left: 76px !important;
}

.level4 {
    padding-left: 96px !important;
}

.level5 {
    padding-left: 116px !important;
}

.level6 {
    padding-left: 136px !important;
}

.level7 {
    padding-left: 156px !important;
}

.level8 {
    padding-left: 176px !important;
}

@media only screen and (max-width: 1000px) {
    .level0 {
        font-size: 16px;
    }

    .list-group-item {
        font-size: 11px;
        padding: 2px;
    }
}

.searchResult {
    color: red;
    font-weight: bold;
}

@media only screen and (max-width: 991px) {
    /*#FourLinks {
        height: 80px !important;
    }*/

    #FourLinks .sm {
        width: 80%;
    }

    .FourLink {
        margin: 0px 5px !important;
        font-size: 1.5vmax;
    }

    #contactUs {
        font-size: 2vmax !important;
    }

    .quote {
        font-size: 2.5vmin !important;
    }

    #carousel, .carousel-inner, .carousel-item, .bigImg {
        height: 50vh;
    }

    marquee {
        height: 35px;
    }

    #headMessage .sm {
        width: 70%;
    }

    #headerTitke {
        font-size: 3.8rem;
    }

    .headerImg {
        margin-left: -40px;
    }
}

@media only screen and (max-width: 881px) {

    #bottomBit .sm {
        width: 90%;
    }

    .space {
        width: 10px !important;
    }
}

@media only screen and (max-width: 683px) {

    #middleImgs .sm {
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {

    #middleImgs .sm img {
        height: 5vh !important;
    }
}

@supports (-webkit-touch-callout: none) {
    /* CSS specific to iOS devices */
    #middleImgs .sm {
        max-width: 100vw;
    }

    .space {
        width: 10px;
    }

    @media only screen and (max-width: 881px) {

        #bottomBit .sm {
            width: 90%;
        }

        .space {
            width: 10px !important;
        }
    }

    @media only screen and (max-width: 500px) {

        #bottomBit .sm {
            width: 100%;
        }

        #headerTitle {
            font-size: 3.4rem;
        }
    }
}

/* Safari 11+ */
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) and (stroke-color:transparent) {

        #carousel, .carousel-inner, .carousel-item, .bigImg {
            height: 105vh;
        }
    }
}

/* Safari 10.1 */
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) and (not (stroke-color:transparent)) {

        #carousel, .carousel-inner, .carousel-item, .bigImg {
            height: 105vh;
        }
    }
}

/* Safari 6.1-10.0 (but not 10.1) */
@media screen and (min-color-index:0) and (-webkit-min-device-pixel-ratio:0) {
    @media {

        #carousel, .carousel-inner, .carousel-item, .bigImg {
            height: 105vh;
        }
    }
}

.standFont {
    font-size: 16px;
}

.headImg {
    margin: 5%;
    width: auto;
}

#quickLinkMenu {
    background-color: rgb(var(--thomas-light-blue));
    z-index: 9;
    height: max-content;
    width: inherit;
    display: none;
    text-align: center;
    padding-bottom: 16px;
    border-radius: 0 0 0 20px;
}

    #quickLinkMenu ul {
        margin-top: 80px;
        margin-left: 10px;
        margin-bottom: 10px;
        width: 90%;
    }

        #quickLinkMenu ul li {
            font-weight: bold;
            border-bottom-color: red;
            border-bottom-style: dashed;
            border-bottom-width: thin;
            padding-top: 5px;
        }

            #quickLinkMenu ul li a {
                color: rgb(var(--primary-font-color));
            }

.quickLinkArch {
    background-color: rgb(var(--thomas-light-blue));
    border-radius: 0 0 0 20px;
    width: 210px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    padding-top: 20px;
    cursor: pointer;
    height: 105px;
    position: absolute;
    z-index: 9999;
    right: 15%;
    color: white;
}

.quickLinks {
    top: 105px;
    height: 120px;
    width: 180px;
    color: white;
    text-align: center;
    right: 15%;
    font-size: 22px;
    font-weight: 400;
}

    .quickLinks a {
        color: white;
    }

.showMenu {
    top: 0px !important;
}

.bottomText {
    font-weight: bold;
    margin-top: 30px;
}

.speechBubble {
    /*width: 40%;
    height: 400px;
    background-image: url("../Graphics/Graphics/speech-bubble-light-blue.png");
    background-size: cover;*/
    margin-left: auto;
    margin-top: auto;
}

    .speechBubble * {
        width: 30%;
    }

    .speechBubble p {
        position: absolute;
        padding: 25px;
        padding-bottom: 40px;
        font-size: 90%;
    }

#contactTable {
    width: 70%;
    margin: 0 auto;
    margin-bottom: 70px;
}

    #contactTable input {
        width: 100%;
        border: none;
        border: 1px solid #F5CC18;
        background-color: white;
        color: black;
        margin: 5px 0;
        height: 50px;
        padding-left: 20px;
        font-family: Zain;
        font-size: 2.5vmin;
        padding-top: 5px;
    }

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: black;
    opacity: 1; /* Firefox */
    font-weight: 500;
    vertical-align: top;
    padding-top: 10px;
}

#contactMessage {
    width: 100%;
    border: 1px solid #F5CC18;
    background-color: white;
    color: black;
    margin: 5px 0;
    height: 150px;
    overflow-y: hidden;
    padding-left: 20px;
    font-family: Zain;
    font-size: 2.5vmin;
    padding-top: 5px;
}

#contactSend {
    height: auto;
}

.homeLink {
    color: rgb(var(--thomas-yellow)) !important;
}

#addressTable {
    margin: 0 auto;
    font-family: Zain;
    font-size: 4.1vmin;
    line-height: 40px;
    color: black;
}

@media only screen and (max-width: 1050px) {
    .bubble {
        display: none;
    }
}

#content ul {
    list-style: initial !important;
}

#ofsted {
    width: 100%;
    cursor: pointer;
    position: relative;
    top: -25%;
    left: 25px;
}

@media screen and (max-width: 991px) {
    #header-main-menu-container {
        display: none !important;
    }

    #mobile-menu-container {
        display: flex !important;
    }

    header {
        z-index: auto !important;
    }
}

.headerImg {
    width: 80px;
    height: 100px;
    margin-top: 15px;
    cursor: pointer;
    margin-left: -80px
}





#goodLogo {
    position: absolute;
    width: 120px;
    right: 2%;
    cursor: pointer;
}

.date {
    color: rgb(var(--thomas-blue));
}

.miniMenu {
    border-collapse: separate;
    border-spacing: 0 10px;
    width: 70% !important;
    margin: 0 auto;
}

    .miniMenu tbody tr td {
        background-color: rgb(0, 108, 49) !important;
        border-radius: 15px !important;
        color: white;
        text-transform: uppercase;
        font-size: 1.2em;
        cursor: pointer;
    }

        .miniMenu tbody tr td a {
            color: white;
            padding: 20px !important;
            display: block;
            text-align: left;
            font-family: Zain;
            letter-spacing: 4px;
        }

            .selected, .selected a, .miniMenu tbody tr td:hover, .miniMenu tbody tr td a:hover {
                background-color: rgb(0, 108, 49) !important;
                font-family: Zain;
                font-weight: 700;
                letter-spacing: 4px;
                color: white !important;
                border-color: rgb(0, 108, 49);
                border-radius: 15px !important;
            }

.menuTitle {
    color: rgb(var(--thomas-blue));
    text-transform: uppercase;
    font-size: 1.1em;
    margin: 0 auto;
    margin-top: 10px;
    text-align: center;
}

#contentParentDiv {
    margin-right: auto !important;
    width: 75%;
}

.quickLinks4 {
    font-size: 2.1vmin;
}

.dropdown {
    display: none;
}

.smIcons {
    margin-top: 30px;
}



@media screen and (max-width: 1463px) {
    .quickLinks1 {
        width: 28%;
        margin-left: -40px;
    }

    .address {
        width: 40%;
        margin-left: -40px;
    }

    #FourLinks {
        margin-bottom: -130px;
    }
}

@media screen and (max-width: 1400px) {
    #contentParentDiv {
        margin: 0 auto !important;
        width: 90%;
    }

    .quickLinks4 {
        margin-top: 10px;
    }

    .address {
        width: 45%;
    }

    #headerTitle {
        font-size: 3.8rem;
    }
}

@media screen and (max-width: 1172px) {
    #bottomBit tbody {
        font-size: 1.7vmin;
    }

    .quickLinks4 {
        font-size: 1.2vmin;
        margin-top: 15px;
    }

    .bigImg {
        height: 75vh;
    }

    #header a {
        font-size: 1rem;
    }

    #FourLinks {
        margin-bottom: -100px;
    }

    #headerTitle {
        font-size: 3.8rem;
    }
}

@media screen and (max-width: 1015px) {
    #menu {
        display: none;
    }

    .dropdown {
        display: block;
    }
}

@media screen and (max-width: 1000px) {
    #FourLinks {
        margin-bottom: -100px;
    }

    #header {
        height: 310px;
    }

    .smIcons {
        margin-right: calc(2% + 100px);
    }

    .quickLinks1, .address {
        margin-left: -10px;
    }

    .address {
        margin-left: -140px;
    }

    .tableContent {
        max-width: 80%;
    }

    .SubSecLiveClass {
        width: 500px !important;
    }

    .miniMenu tbody tr td {
        font-size: 1.5em;
    }

    .wideBoi:last-child {
        display: none;
    }

    .child .child {
        margin-left: 20px;
    }

    #headerTitle {
        font-size: 3.8rem;
    }

    .headerImg {
        margin-left: -40px;
    }
}

    @media screen and (max-width: 800px) {
        .FourLink {
            line-height: 30px;
        }

        .quickLinks1 {
            margin-left: -20px;
        }

        .SubSecLiveClass {
            width: 400px !important;
        }

            .SubSecLiveClass div[abp="1102"] {
                margin-left: -50px;
            }

        .miniMenu tbody tr td {
            font-size: 1.8em;
        }

        #headerTitle {
            font-size: 3.4rem;
        }
        .headerImg {
            margin-left: 0px;
        }
    }

@media screen and (max-width: 600px) {
    /*#header {
        margin-left: -48%;
    }*/
    #FourLinks {
        margin-bottom: -88px;
    }

    .quickLinks1 {
        margin-left: 20px;
    }
    .tableContent {
        margin: auto;
    }
    .miniMenu {
        margin-bottom: 50px;
    }
    .SubSecLiveClass div[abp="1102"] {
        margin-left: 0px;
    }
        .SubSecLiveClass div[abp="1102"] span span, p[abp="1206"] span span {
            font-size: 18px;
        }

    #headerTitle {
        font-size: 3.2rem;
    }

    .headerImg {
        margin-left: -10px;
    }
}

    @media screen and (max-width: 500px) {
        .smIcons {
            margin-top: 0px;
            margin-right: calc(2% + 70px);
        }

        #FourLinks {
            margin-bottom: -78px;
        }

        .quickLinks1 {
            width: 32%;
            margin-left: -10px;
        }

        .address {
            margin-left: -79px;
        }

        .quickLinks4 {
            font-size: 1vmin;
        }

        .SubSecLiveClass div[abp="1102"] span span, p[abp="1206"] span span {
            font-size: 15px;
        }

        .SubSecLiveClass div[abp="1102"] {
            margin-left: 2px;
        }

        .miniMenu tbody tr td {
            font-size: 5em;
        }
        .tableContent {
            margin: 0;;
        }
    }

    @media screen and (max-width: 400px) {
        .smIcons {
            margin-right: calc(2% + 230px);
        }
        .SubSecLiveClass {
            width: 350px !important;
        }

        .miniMenu tbody tr td {
            font-size: 5em;
        }
        .SubSecLiveClass div[abp="1102"] span span, p[abp="1206"] span span {
            font-size: 12px;
        }

        #headerTitle {
            font-size: 3rem;
        }
    }

    

    @media screen and (max-width: 370px) {
        .smIcons {
            margin-right: calc(2% + 210px);
        }

        .quickLinks4 {
            font-size: 0.8vmin;
        }
        .SubSecLiveClass {
            width: 300px !important;
        }
    }
