  ﻿html, body {
    padding: 0px;
    margin: 0px;
    font-family: "Montserrat", sans-serif;
    scroll-behavior: smooth;
}

header {
    background-color: #9c132e;
    padding: 40px 0px 0px 0px;
    color: #ffffff;
}
.showmob { display:none;}
.content-slide table tbody tr td {
    border: 1px solid #d5d5d5;
}
.row { width:100% !important; }

    header img {
        width: 80%;
        max-width: 850px;
    }

    header a { color:white; text-decoration:none; }
    header a:hover { color:white; text-decoration:none; }
#headerlogo {
    font-size: 80px;
    letter-spacing: 6px;
    line-height: 90px;
    background-image: url('/images/bromsgrove-school-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 900px;
}
#searchBtn { transition: 0.3s;background-color: #771919;border: 1px solid #771919;color: white;font-weight: bold;margin: 0px 0px 0px 0px;padding: 3px 15px 5px 15px;}
#searchBtn:hover { background-color:#d5d5d5; border:1px solid #d5d5d5; color:#771919;}
    #headerlogo span {
        font-size: 18px;
        display: block;
        letter-spacing: 0px;
        line-height: 18px;
    }

#shortcuts {
    background-color: #771919;
    text-align: center;
    margin-top: 40px;
}
    #shortcuts ul  {
       margin:0px;
    }

    #shortcuts ul li {
        display: inline-block;
        font-size: 16px;
        padding: 5px 15px;
    }

    #shortcuts ul li:hover {
        cursor:pointer;
        text-decoration:underline;
    }

header #news-scroller {
    width: 100%;
    background-color: #d5d5d5;
    padding: 0px 0px 0px;
    display: block;
    border-top: 5px white solid;
    margin: 0px 0px 0px 0px;
    color: #9c132e;
    font-weight: bold;
    height: 80px;
    overflow: hidden;
    font-size: 16px;
    line-height: 60px;
}

    header #news-scroller div {
        width: 100%;
        display: block;
        text-align: center;
        padding: 8px 0px;
        height: 72px;
        overflow: hidden;
    }


#slide6 {
    background-color: #ffffff;
    color: #3e495d;
    padding: 50px 0px;
}

    #slide6 h3 {
        color: #3e495d;
        display: block;
        text-align: center;
        font-weight: bold;
        font-size: 20px;
    }

#slide7 {
    background-color: #ffffff;
    color: #3e495d;
    padding: 0px 0px 50px;
    text-align: center;
}

    #slide7 a {
        color: #3e495d;
        text-decoration: none;
        text-transform: uppercase;
        font-size: 20px;
        padding-bottom: 5px;
        border-bottom: 1px solid #3e495d;
    }

        #slide7 a:hover {
            color: #9c132e;
            border-bottom: 1px solid #9c132e;
        }

#slide8 {
    padding: 0px 0px 0px;
    text-align: center;
    font-size: 14px;
    background-color: #ffffff;
}

    #slide8 .col-6 {
        margin: 0px;
        padding: 0px;
    }

    #slide8 .heading {
        background-color: #9c132e;
        width: 100%;
        display: block;
        padding: 20px 0px;
        font-weight: bold;
    }

    #slide8 ul {
        display: block;
        margin: 20px 0px;
    }

        #slide8 ul li {
            display: inline-block;
            color: #3e495d;
        }

            #slide8 ul li span:hover {
                color: #9c132e;
                cursor: pointer;
            }

span.newschosen {
    color: #9c132e;
}

span.calendarchosen {
    color: #9c132e;
}



/* Content Grids */


.layout-slide {
    margin: 0px 0px;
    padding: 0px 0px;
    height: 100%;
    display: flex;
    position: relative;
}

.content-menu {
    margin: 0px;
    padding: 0px 5px;
}

    .content-menu ul {
        list-style-type: none;
        padding: 0px;
        margin: 5px 0px 0px 0px;
    }

        .content-menu ul li {
            list-style-type: none;
            padding: 0px;
            margin: 0px 0px 5px;
        }

            .content-menu ul li a {
                background-color: #3e495d;
                display: block;
                width: 100%;
                color: #ffffff !important;
                transition: 0.3s;
                padding: 10px;
                text-align: center;
                text-transform: uppercase;
            }

                .content-menu ul li a:hover {
                    background-color: #9c132e;
                    cursor: pointer;
                }

.content-grid {
    margin: 0px 0px;
    padding: 0px 0px 0px 0px 15px;
    height: 100%;
}

.content-grid-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 0px 0px;
    margin: 0px 0px;
}

.content-grid-items-container {
    height: 100%;
    padding: 5px 0px 0px 0px;
}

.flex-grid {
    height: 250px;
    width: 100%;
    margin-bottom:5px;
}

    .flex-grid .col {
        margin: 0px 0px 5px 0px;
        padding: 0px 5px 0px 0px;
        height:100%;
    }

.flex-grid-item {
    width: 100%;
    height: 100%;
    background-color: #9c132e;
    background-size: cover;
    background-position: center;
    padding: 0px 0px;
    color: white;
}

.text-item {
    padding: 0px 50px;
}

.background-tint {
    background-color: rgba(0,0,0,.5);
    background-blend-mode: multiply;
}

.housename {
    display: none;
    height: 100%;
    align-items: flex-end;
    padding: 10px;
}

.background-tint .housename {
    display: flex;
}

.callout {
    display: flex;
    height: 100%;
    align-items: center;
    align-content: center;
    justify-content: center;
    justify-items: center;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 0px 50px;
}

/* Fonts */
.montserrat {
    font-family: "Montserrat", sans-serif;
}

.cinzel {
    font-family: "Cinzel", serif;
}

/* Clearing Bootstrap */

.row {
    margin: 0px 0px;
    padding: 0px 0px;
}

.col-3 {
    margin: 0px 0px;
    padding: 0px 0px;
}


/* Used again and again and again */


.image-slide {
    width: 100%;
    display: block;
    position: relative;
    border-bottom: 5px solid white;
    overflow: hidden;
}

    .image-slide img {
        width: 100%;
        display: block;
        position: relative;
        z-index: 1;
    }

    .image-slide video {
        width: 100%;
    }

    .image-slide .image-slide-cover {
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        /*background: rgba(0,0,0,0.5);*/
        z-index: 2;
        color: #ffffff;
        text-transform: uppercase;
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        opacity: 1;
    }

        .image-slide .image-slide-cover span {
            width: 100%;
            max-width: 900px;
            font-size:30px;
        }


#row-8 {
    background-color: #9c132e;
}


.content-slide {
    display: flex;
    border-bottom: 5px solid white;
    color: white;
    font-size: 16px;
    width: 100vw;
}

.cardspan:hover, .fadeInInfo2:hover {
    cursor: pointer;
}


.content-slide h2 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
}


    .content-slide .col-3 img {
        width: 100%;
    }

    .content-slide .centercontent {
        display: flex;
        padding: 50px;
    }

.btn {
    color: white;
    border-radius: 0px;
    font-family: "Cinzel", serif;
    margin: 5px 0px 0px 19px;
    position: relative;
    font-size: 20px;
    z-index: 3;
}

    .btn::before {
        position: absolute;
        top: 0;
        right: 0;
        left: -10%;
        bottom: 0;
        transform: skewX(-15deg);
        width: 120%;
        height: 100%;
        z-index: 1;
        content: '';
        border: 2px solid white;
        transition: 0.3s;
    }

    .btn:hover {
    }

        .btn:hover::before {
            background-color: rgba(255,255,255,0.2);
        }


.full-pane {
    display: block;
    border-bottom: 5px solid white;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    scroll-snap-align: start;
}


        .mobonly { display:none; }
        .desktoponly { display:block; }


.padder {
    padding: 40px;
}

.newspanel {
    text-align: left;
    color: #3e495d;
    font-size: 14px;
    align-items: center;
    margin: 0px 0px 20px 0px;
    padding: 0px 20px;
}

    .newspanel a {
        color: #9c132e;
    }

        .newspanel a:hover {
            color: #3e495d;
        }

    .newspanel img {
        width: 100%;
    }

table.calendar {
    font-size: 14px;
    color: #3e495d;
    text-align: left;
}

    table.calendar thead {
        background-color: #9c132e;
        color: white;
        text-align: left;
        font-weight: bold;
        text-transform: uppercase;
    }

        table.calendar thead tr:nth-child(odd) {
            background-color: #9c132e !important;
        }

        table.calendar thead td {
            padding: 10px;
        }

    table.calendar tbody td {
        padding: 10px;
    }

    table.calendar tbody tr:nth-child(odd) {
        background-color: #f2f2f2;
    }

    table.calendar tbody tr:nth-child(event) {
        background-color: #e2e2e2;
    }

.animationfadein {
    animation: fadeIn 2s forwards;
}

.animationfadeout {
    animation: fadeOut 2s forwards;
}


#credits {
    background: #d5d5d5;
    padding: 10px;
}

footer {
    background: #9c132e;
    padding: 0px 0px 10px 0px;
}

/* Secondary */
h1.main-heading {
    display: block;
    width: 100%;
    color: #3e495d;
    padding: 30px 0px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    margin: 0px 0px;
    font-size: 20px;
}


#slide99 .col-3 ul {
    color: #3e495d;
    border-left: 1px solid #9c132e;
    padding: 0px 0px 0px 0px;
    margin: 40px 0px 0px 0px;
    list-style-type: none;
}

    #slide99 .col-3 ul li {
        padding: 20px 0px 20px 0px;
        margin: 0px 0px 0px -10px;
    }

        #slide99 .col-3 ul li::before {
            content: '';
            border: 1px solid #9c132e;
            border-radius: 100%;
            width: 20px;
            height: 20px;
            display: inline-block;
            padding: 0.25em;
            line-height: 1.0;
            margin-right: 20px;
            background-color: #ffffff;
        }

        #slide99 .col-3 ul li.viewed::before {
            background-color: #9c132e !important;
        }

#slide99 .col-9 {
    background-color: #9c132e;
    padding: 0px 0px;
}

    #slide99 .col-9 img {
        width: 100%;
        border-bottom: 5px solid white;
    }

#slide99 .col-6 ul li {
    padding: 20px 0px 20px 0px;
    margin: 0px 0px 0px -10px;
}

.data-table {
    font-size: 14px !important;
    text-align: left;
    padding: 0px 0px 50px;
    margin: 0px 0px;
}


.title-person {
    background-color: #9c132e;
    color: white;
    padding: 5px 5px 5px 50px;
    font-weight: bold;
    margin-bottom: 10px;
}

.person {
    padding: 0px 0px 0px 50px;
}

#row999 .col-md-3 {
    margin: 0px;
    padding: 0px;
}

#row999 .centercontent {
    padding: 50px 0px 0px 0px;
}
/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


/* Responsive fixes */

@media screen and (max-width: 1023px) {
    .onlinenews tr th {
        display: none;
    }
.onlinenews tr td { display:block; width:100%; }
        .mobonly { display:block; }
        .desktoponly { display:none; }

.flex-grid {
    height: unset !important;}
.content-grid-items-container { margin-left:15px; }
.fullcalendar { font-size:10px; }
    .showmob {
        display: block;
    }
    .hidemob {
        display: none;
    }

    .row-mob {
    padding: 20px 20px;

    }


    #headerlogo {
        font-size: 30px;
        letter-spacing: 3px;
        line-height: 30px;
        width: 100vw;
        background-image:none;
    }

    #nav-icon3 {
        top: 10px !important;
        left: 10px !important;
        width: 40px !important;
    }

    #flyout-menu {
        width: 100% !important;
    }
        #flyout-menu ul {
            margin: 10px 20px !important;
        }
            #flyout-menu ul li {
                font-size: 20px !important;
            }
                #flyout-menu ul li ul {
                    padding-left: 0px !important;
                    margin-bottom: 20px !important;
                }
                #flyout-menu ul li ul {
                    padding-left: 0px !important;
                    margin-bottom: 20px !important;
                }
    .content-slide { padding:0px !important; margin:0px !important;}
    .image-slide .image-slide-cover span { font-size:20px; }
    .image-slide { padding:0px !important; margin: 0px 0px !important; width: 100%  !important; }
    .image-slide-cover { padding:20px; }
    .imageslidecover { text-decoration:none; }
    .newspanel .col-3, .newspanel .col-9, .newspanel .col-3 img { width:100%; }
    #calendar-senior thead tr td { padding:10px;}
    .btn::before {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        transform: none !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
        content: '';
        border: 0px solid white !important;
        transition: 0.3s !important;
    }
    .btn {
        color: white !important;
        border-radius: 0px !important;
        font-family: "Cinzel", serif !important;
        margin: 5px 0px 0px 0px !important;
        position: relative !important;
        font-size: 20px !important;
        z-index: 3 !important;
        display: unset !important;
        border: 2px solid white !important;
    }
    .cardMenu { display:none; }
    .padder { padding:10px; width:100vw;}
    .cardcontent img {
        width: 100%;
        margin-bottom: 20px;
    }
    .cardcontent { width:100%; }
    .full-pane { min-height:0px  !important; }



    #headerlogo span {
        display: none;
    }

    header #news-scroller {
        width: 100%;
        background-color: #d5d5d5;
        padding: 0px 0px 0px;
        display: block;
        border-top: 5px white solid;
        margin: 40px 0px 0px 0px;
        color: #9c132e;
        font-weight: bold;
        height: 40px;
        overflow: hidden;
        font-size: 12px;
        line-height: 20px;
    }

    .image-slide-cover {
        position: relative;
    }

    .image-slide .image-slide-cover {
        position: relative;
        background-color: #3e495d;
        padding: 20px;
        opacity: 1;
    }

    .col-3 {
        width: 100%;
    }

    .col-9 {
        width: 100%;
    }

    .col-6 {
        width: 100%;
    }

    .content-slide .centercontent {
        padding: 20px;
    }

    .content-slide {
        font-size: 20px;
    }

    .content-nav {
        display: none;
    }


    #slide99 {
        padding: 0px 0px 0px 0px;
    }

    #slide7 .col-3 div a {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }

    .full-pane {
        position: relative;
    }
}



@media screen and (min-width: 1024px) {
    #flex-grid-item-13 {
        align-items: center;
        display: flex;
    }
}

@media screen and (max-width: 1024px) {

    #shortcuts { display:none;}

    #searchHolder { display:none; }

    .content-menu {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        display: block;
    }
    .nav-items h3 { color:#9c132e; }

    .nav-items ul { margin:0px 0px; color:#9c132e; }
    html, body {
        overflow-x: hidden;
    }

    .content-grid, .content-grid-items-container, .content-grid-container, .flex-grid, .col-md-3, .layout-slide, .col-md-10, .image-item, .housename {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        display: block;
    }

    .housename {
        height: 100vw;
        font-weight: bold;
    }

    #nav-icon3 {
        width: 35px;
        top: 20px;
    }

    #flyout-menu {
        width: 100%;
    }

    .animationfadeout {
        font-size: 30px;
    }

    .row {
        margin:0px 0px;
    }

    #row-8 {
        padding: 20px 20px;
    }

    .btn {
        margin: 35px 0px 0px 19px;
        font-size: 15px;
    }

    .CardMenu { display:none; }

    .cardcontent{
        width: 100%;
        max-width: 100%;
    }
    .full-pane {
        min-height: auto;
    }

    #slide8 { font-size:20px; }
        #slide8 .col-6 {
            width: 100%;
            max-width: 100%;
        }



    table  {
        width:100%;
    }
    table tr td {
        padding:20px;
    }
    table tr:nth-child(odd) {
        background-color: #f2f2f2;
    }

    table tr:nth-child(event) {
        background-color: #e2e2e2;
    }
}

@media screen and (max-width: 1100px) {



    #block-45 table tbody tr td {
        padding: 5px 5px 0px 5px !important;
        display: block !important;
    }

        .schools {
            display: block !important;
            position: relative !important;
            padding: 20px 0px !important;
            z-index: 2;
            margin: 0px !important;
            font-size: 15px !important;
        }

        .image-slide-cover {
            display: none;
        }

        .schools .row {
            display: block;
            margin: 0px;
        }

            .schools .row .col-md {
                width: 100%;
                max-width: 100%;
                margin-bottom: 2px;
            }

                .schools .row .col-md a {
                    margin: 0px 0px;
                }
    }