/*
Theme Name: Broad Heath 2019
Theme URI: https://broadheath.coventry.sch.uk
Author: Shaun Harrison-Brandon
Author URI: https://broadheath.coventry.sch.uk
Description: Broad Heath Primary School Stylesheet 2019
Version: 1.2
License:
License URI:
Tags: ezpzm8, git gud
*/


/* Change Log
04/09/2020- Changed slogan and blogname formatting.
07/09/2020- Padding added to page_content - padding added to #main
16/10/2020 - Added cover_inner-container
*/


/*=============================================
=                Page Contents                =
=============================================

1.  Website Styling

2.  Media

3.  Links

4.  Navigation

5.  Formatting




/*=============================================
=            1. Website Styling               =
=============================================*/

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif !important;
    line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
    margin: 0;
}

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    word-wrap: break-word;
    color: #233FEA;
    text-decoration: underline;
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}


/*
ol,
ul {
    margin-bottom: 20px;
    margin-left: 20px;
}*/

html {
    /** font-family: “Lucida Grande”, sans-serif; */
    font-family: 'Open Sans', sans-serif !important;
    font-size: 15px;
    font-style: normal;
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.5em;
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    /** font-family: Georgia, serif; */
    font-family: 'Merriweather', serif;
    letter-spacing: 0.1px;
    padding: 0;
}


/*----------  Page Content Styling  ----------*/

#page_content {
    max-width: 100rem;
    margin: 0 auto;
    box-sizing: initial;
    -webkit-box-sizing: initial;
    background-color: #fff;
    margin-bottom: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .7);
    padding-bottom: 2rem;
}

@media (min-width: 1280px) {
    #page_content {
        overflow: visible;
        max-width: 75rem;
    }
}

@media (min-width: 1660px) {
    #page_content {
        overflow: visible;
        /*max-width: 90rem;*/
    }
}

#page_content,
#front-main {
    font-size: 14px;
    line-height: 1.5;
    font-weight: normal;
    min-height: 300px;
}

#page_content_front {
    margin: 0 auto;
    max-width: 100vw;
    background: none !important;
    box-shadow: none !important;
}

#page_content_front p {
    font-size: 18px;
    line-height: 1.5em;
    color: #eee;
}

#main {
    background: #152577;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

#main_wrapper {
    display: block;
    position: relative;
    margin: 0 auto;
    max-width: 100%;
}

.Push {
    clear: both;
}


/*----------  Page Heading Style  ----------*/

h1.page-title {
    background-color: #f8d423;
    color: #152577;
    border: 0;
    line-height: 1.5em;
    text-align: center;
    position: relative;
    -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, .3);
    box-shadow: 0 2px 2px rgba(0, 0, 0, .3);
}

h1.page-title:before,
h1.page-title:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-color: transparent;
    bottom: -10px;
}

h1.page-title:before {
    border-width: 0 9px 10px 0;
    border-right-color: #222;
    left: 0;
}

h1.page-title:after {
    border-width: 0 0 10px 9px;
    border-left-color: #222;
    right: 0;
}


/*----------  Blog Heading Style  ----------*/

h1.post-title {
    margin: 0 -10px;
    background-color: #ffd81b;
    color: #152577;
    border: 0;
    text-align: center;
    position: relative;
    -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, .3);
    box-shadow: 0 2px 2px rgba(0, 0, 0, .3);
    border-radius: 3px 3px 0px 0px;
}

h1.post-title:before,
h1.post-title:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-color: transparent;
    bottom: -10px;
}

h1.post-title:before {
    border-width: 0 9px 10px 0;
    border-right-color: #222;
    left: 0;
}

h1.post-title:after {
    border-width: 0 0 10px 9px;
    border-left-color: #222;
    right: 0;
}

h1 {
    padding: 15px;
    margin-bottom: 1.5em;
    border-bottom: 2px solid #888888;
}

h2 {
    /*font-size: 20px;*/
    /**    border-bottom: 1px solid #ccc; **/
    margin-top: 1em;
    margin-bottom: 1em;
}

h3 {
    font-size: 16px;
}

p {
    color: #333;
    font-size: 1rem;
    margin: 0;
}


/*----------  Blog Heading Style  ----------*/

h1.entry-title {
    margin-top: 5px;
    margin-bottom: 5px;
    border: none;
    color: #152577;
    padding: 5px;
    text-align: center;
}

.entry-header {
    padding: 1rem 0;
}

#page_content_front .entry-header {
    padding: 0;
}


/*@media (max-width: 700px) {
    h1.entry-title {
        font-size: 2rem !important;
    }
}*/


/*h1.entry-category {
    font-size: 2rem !important;
    margin-bottom: 1rem;
}*/

.entry-meta.entry-category {
    text-align: center;
    font-size: 1rem;
    background-color: unset;
    margin-top: -.5rem;
    margin-bottom: 1rem;
    color: grey;
}


/*----------  Scrollbar Fix  ----------*/


/*
 ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 8px;
    border-left: #0000004d solid 1px;
}

 ::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #eee;
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
} */


/*----------  Entry Content  ----------*/

.entry-content>* {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25em;
}

.entry-content {
    margin-top: 1rem;
    overflow-wrap: break-word;
}


/* Text Alignment */

.entry-content>*:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    max-width: 60rem;
    /**width: calc(100% - 4rem);**/
}


/* Align Wide */

.alignwide {
    max-width: 100rem;
    position: relative;
    width: calc(100% - 2rem);
}

@media (min-width: 700px) {
    .entry-content>.alignwide {
        max-width: calc(100vw - 3rem);
        width: calc(100vw - 3rem);
    }
}

@media (min-width: 1280px) {
    .entry-content>.alignwide {
        max-width: 70rem;
        width: 70rem;
    }
}


/*----------  Align Left & Align Right  ----------*/

.alignleft,
.alignright {
    max-width: 50%;
}


/*=====  End of Website Styling  ======*/


/*=============================================
=                     Media                   =
=============================================*/

svg,
img,
embed,
object {
    height: auto;
    max-width: 100%;
}

.gallery-item {
    width: 100%;
    margin: 0.8em 0;
    padding: 0 0.8em;
}

.assistive-text {
    display: none;
}

iframe {
    display: block;
    margin: auto;
    max-width: 100%;
}

.iframe-container {
    position: relative;
    padding-top: 56%;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*----------  Photo Gallery Index  ----------*/

ul.child-thumb {
    width: 560px;
}

ul.child-thumb li {
    list-style: none;
    width: 140px;
    height: 120px;
    text-align: center;
    float: left;
}

ul.child-thumb li a {
    text-decoration: none;
}


/*=====  End of Media  ======*/


/*=============================================
=                    Links                    =
=============================================*/

footer.entry-meta {
    text-align: center;
    margin-bottom: 30px;
    margin: 0;
    padding: 1rem;
}

footer.entry-meta a {
    text-decoration: underline;
    white-space: nowrap;
}

.entry-meta {
    color: #555;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
}


/*=====  End of Links  ======*/


/*=============================================
=                 Navigation                  =
=============================================*/

#nav-above {
    display: none;
}

nav {
    background: transparent;
    box-shadow: none;
}

.nav-next {
    padding: 5px;
    margin-top: -5px;
    float: right;
    height: 20px;
}

.nav-previous {
    padding: 5px;
    margin-top: -5px;
    float: left;
    height: 20px;
}

#nav-above,
#nav-below {
    height: 40px;
}


/*=====  End of Navigation  ======*/


/*=============================================
=            Formatting                       =
=============================================*/


/*----------  Clear Fix?  ----------*/

.group:after {
    content: "";
    display: table;
    clear: both;
}


/*----------  Table Formatting  ----------*/

table>.entry-content {
    border-collapse: collapse;
    margin: 0 0 1.5em;
    width: 100vw !important;
}

thead th {
    border-bottom: 2px solid #bbb;
    padding-bottom: 0.5em;
}

th {
    padding: 0.4em;
    text-align: left;
}

tr {
    border: 2px solid #eee;
}

td {
    padding: 0.4em;
    border: 2px solid #eee;
    font-size: 90%;
    vertical-align: middle;
}


/*----------  Questionnaire Table Formatting  ----------*/

table#questionnaire {
    margin-top: 20px;
    margin-bottom: 20px;
}

#questionnaire td {
    text-align: left;
}

#questionnaire td:nth-child(odd) {
    width: 30%;
    font-size: 12px;
}

#questionnaire td:nth-child(even) {
    font-size: 14px;
}

#questionnaire tr:first-child,
#questionnaire td:first-child {
    font-weight: normal;
}


/*----------  Blog Post Formatting  ----------*/

.post {
    padding: 1rem 0;
    border-top: lightgrey solid 1px;
}

.post .entry-content {
    padding: 5px;
    margin: 0;
    border-bottom: 1px lightgrey solid;
}

article header a {
    text-decoration: none;
}


/*----------  Blog Comment Formatting  ----------*/

#comments {
    max-width: 40rem;
    width: calc(100% - 4rem);
    margin: 0 auto;
}

#comments-title {
    text-align: center;
}

.commentlist {
    list-style: none;
}

#comment {
    width: 100%;
}

.comment {
    margin-top: 1rem;
}

.comment .children {
    padding-left: 3rem;
    list-style: none;
    border-left: 1px solid grey;
}

.comment footer {
    color: #555;
}

.comment footer cite {
    font-style: normal;
    color: black;
    font-size: 1.5rem;
    font-weight: bold;
}

.comment-form-comment>label {
    margin-top: 20px;
    font-weight: bold;
    display: block;
}

.comment-content {
    color: black;
    margin-top: 10px;
    background-color: transparent;
    line-height: 25px;
    font-size: 1rem;
}

.comment-content p {
    font-size: 1
}

.comment-meta,
.comment-meta a {
    font-size: 1rem;
    font-weight: normal;
    color: dimgrey;
}

.comment-reply-link {
    background: #152577;
    font-weight: bold;
    color: #f8d423;
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 10px;
    box-shadow: 1px 2px 3px rgba( 0, 0, 0, 0.5);
}

.comment .reply {
    height: unset;
    width: unset;
    text-align: unset;
}

.comment-reply-link:hover {
    transition: all 1s;
    -webkit-transition: all 1s;
    opacity: 0.5;
    transform: scale(1.1);
}

p.comment-form-comment label {
    margin: 0;
    display: block;
}

textarea#comment {
    background-color: white;
    border: 1px solid #ddd;
    width: 100%;
    line-height: 25px;
    font-size: 18px;
}

p.comment-notes,
p.comment-form-email,
p.comment-form-url {
    display: none;
}

p.comment-form-author,
p.comment-form-comment {
    padding-bottom: 0px;
    margin: 0px;
}

p.comment-form-author label {
    display: block;
}


/*----------  Form Input/Replying  ----------*/

input#author {
    line-height: 25px;
    font-size: 18px;
    border: none;
    border-bottom: 1px solid #ddd;
    width: 100%;
    margin-bottom: 5px;
}

.reply {
    margin-top: 1rem;
    padding: 5px 5px 20px 5px;
    text-align: right;
    height: 15px;
}

#reply-title {
    text-align: center;
    padding-bottom: 20px;
    display: block;
}

.comment-respond {
    margin-top: 5rem;
}

p.form-submit {
    overflow: visible;
    display: inline-block;
    width: fit-content;
    margin-top: 10px;
    margin-bottom: 10px;
}

p.form-submit #submit {
    background-color: #152577;
    padding: 7px;
    color: #f8d423;
    box-shadow: 1px 2px 3px rgba( 0, 0, 0, 0.5);
    -webkit-transition: ease-in-out .2s;
    transition: ease-in-out .2s;
    text-transform: uppercase;
}

p.form-submit #submit:hover,
p.form-submit #submit:active {
    filter: brightness(1.1);
    font-weight: bold;
    -webkit-transition: ease-in-out .2s;
    transition: ease-in-out .2s;
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}

h3#reply-title {
    color: black;
    font-size: 2.3rem;
    text-align: center;
}

h3#reply-title small {
    font-size: 0.7em;
    display: block;
}

p.form-allowed-tags {
    display: none;
}

p.logged-in-as,
p.logged-in-as a {
    color: dimgrey;
    text-align: center;
    margin: -2rem 0 0 0;
}


/*=====  End of Formatting  ======*/


/*=============================================
=             Header (Flex Slider)            =
=============================================*/

.flexslider img {
    min-height: 28rem;
    object-fit: cover;
}

.ms-theme-cubic {
    padding-bottom: 0 !important;
}


/*.flexslider {
    box-shadow: 1px 2px 1px rgba( 0, 0, 0, 0.5) !important;
    background: none !important;
    border: none !important;
    width: 100%;
    height: 37vw;
    overflow: hidden;
    margin: 0 auto !important;
    filter: brightness(0.7);
}

.flexslider img {
    display: block;
    position: absolute;
    max-width: 100% !important;
    min-width: 300px !important;
    height: auto !important;
    margin: auto;
    width: inherit !important;
    background-attachment: fixed;
}

.flexslider a {
    position: absolute;
}

.flexslider ol {
    display: none;
}*/


/*----------  Top Buttons/Bar  ----------*/

nav .top-nav {
    position: sticky;
    position: -webkit-sticky;
}

.top-nav {
    z-index: 9999;
    align-items: center;
    justify-content: space-between;
    display: flex;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    background-color: #152577;
    border-bottom: 5px solid #f8d423;
    box-shadow: 1px 2px 1px rgba( 0, 0, 0, 0.5) !important;
    width: 100%;
    transition: ease-in-out .2s;
    -webkit-transition: ease-in-out .2s;
    max-height: 5rem;
}

#menu .icon {
    display: none;
}

.admin-bar .top-nav {
    position: sticky;
    position: -webkit-sticky;
    top: 25px;
}

.top-nav.smaller {
    height: 75px;
}

#top-nav-spacer {
    padding: 40px;
}

#default-top {
    padding-top: 20px;
}


/*----------  Main Menu  ----------*/


/* Main Menu Style */

#menu {
    display: inline-flex;
    font-size: 1rem;
    align-items: center;
}

#menu ul {
    display: inline;
    margin: 0 auto;
    list-style-type: none;
    z-index: 1;
    transition: ease-in-out .2s;
    -webkit-transition: ease-in-out .2s;
}

#menu ul li {
    padding: 1rem;
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}

#menu .sub-menu li {
    padding: .4rem;
}


/*#menu ul li:first-child {
    border-left: 1px solid #f8d423;
}*/

#menu ul li:hover,
#menu ul li.hover {
    transition: ease-in-out 0.2s;
}

#menu li ul li:first-child {
    border-left: none;
    border-top: none;
}

#menu li ul li {
    text-align: center;
    border-left: none;
    border-right: none;
    border-top: 2px solid #f8d423;
    z-index: 9999;
    width: -webkit-fill-available;
}

ul.sub-menu {
    top: calc(100%);
    box-shadow: 2px 3px 5px rgba( 0, 0, 0, 0.5) !important;
    overflow-x: hidden;
    /*max-height: 500px;*/
    text-align: center;
}

#menu li ul li:hover {
    transform: none !important;
    background-color: #5569cad8;
    /* Transparent hover color */
}

#menu li ul li a:hover {
    transform: scale(1.05) !important;
    -webkit-transform: scale(1.05) !important;
}

#menu a {
    color: white;
    text-decoration: none;
    text-align: center;
    font-weight: normal;
    border: none;
    text-shadow: 0px 1px 5px black;
}

#menu ul li:hover,
#menu ul li a:hover {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transition: ease-in-out .2s;
    color: #f8d423;
    text-shadow: 0 0 5px black;
}

#menu ul li ul {
    /* visibility: hidden; */
    display: none;
    height: auto;
    background-color: #152577db;
}

#menu li:hover .hover {
    background-color: green;
}

#menu ul li:hover ul,
#menu ul li.hover ul {
    position: absolute;
    display: block;
    padding-top: 1rem;
}

#menu .material-icons {
    color: #f8d423;
}


/*----------  Search Form  ----------*/

#searchform::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: rgb(200, 200, 200);
}

.entry-content #searchform::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: dimgrey;
}

.entry-content #searchform {
    display: flex;
}

.entry-content input#searchform {
    color: #333;
    background-color: rgba(51, 51, 51, 0.048);
}

#top-search {
    float: right !important;
    clear: right;
    position: relative;
    top: 0;
    right: 0;
    margin-left: 10px !important;
    text-align: initial;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, .3);
    box-shadow: 0 2px 2px rgba(0, 0, 0, .3);
}

#top-search #searchform label {
    display: none;
}

#top-search .material-icons {
    border-left: solid;
    vertical-align: middle;
}

#top-search .material-icons:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-bottom-right-radius: 50px;
    border-top-right-radius: 50px;
}


/*#top-search #searchform #s {
    padding-top: 25px;
    height: 22px;
    padding: 0px;
    margin-top: -2px;
    width: 200px;
    font-size: 14px;
    line-height: 22px;
}*/

#search-submit {
    background: none;
    padding: 1rem;
}

input#searchform {
    width: 10rem;
    overflow: overlay;
    border: none;
    color: #eee;
    transition: ease-in-out .2s;
    border-radius: 50px;
    padding-left: 10px;
    background: none;
}

input#searchform:active,
input#searchform:hover {
    width: 12rem;
}

input#searchform:focus,
input#searchform:hover {
    border-radius: 50px;
    background: none;
}


/*----------  Logos/Media  ----------*/

#logo,
#logo img {
    max-height: 4.5rem;
    display: inline;
    z-index: 100;
    transition: ease-in-out .2s;
    -webkit-transition: ease-in-out .2s;
}

#logom,
#logom img {
    height: 3rem;
    display: none;
}

#togain-front {
    position: absolute;
    top: 435px;
    left: 615px !important;
    width: 213px !important;
    height: 111px !important;
    z-index: 999;
}

#togain {
    position: absolute;
    top: 200px;
    right: 40px;
    width: 213px;
    height: 111px;
    z-index: 999;
}

h1#frontpagetitle {
    background-color: transparent;
    color: #f8d423;
    border: none;
    margin-bottom: 10px;
}

.frontpagetitle {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#title_front {
    float: left;
    margin-top: 25px;
    margin-left: 200px;
    /** font-family: Georgia, serif; */
    font-family: 'Merriweather', serif;
    font-size: 36px;
    letter-spacing: 2.7px;
    color: #f8d423;
    /*#03047b; */
    text-shadow: 0 0 2px #000, 0 0 4px #000, 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #f8d423, 0 0 30px #f8d423;
    text-indent: -9999px;
    height: 57px;
    width: 550px;
    background: url('/wp-content/themes/broadheath/images/BHPSheader.png');
}

#title {
    float: left;
    margin-top: 25px;
    margin-left: 330px;
    /** font-family: Georgia, serif; */
    font-family: 'Merriweather', serif;
    font-size: 36px;
    letter-spacing: 2.7px;
    color: #f8d423;
    /*#03047b; */
    text-shadow: 0 0 2px #000, 0 0 4px #000, 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #f8d423, 0 0 30px #f8d423;
    text-indent: -9999px;
    height: 57px;
    width: 550px;
    background: url('/wp-content/themes/broadheath/images/BHPSheader.png');
}

#topbanner {
    position: relative;
    display: block;
    margin: 0 auto;
    margin-top: 5px;
    max-width: 920px;
    width: 100%;
    z-index: 2;
}


/*----------  Side Menu  ----------*/

#front-right-menu {
    z-index: 9998;
    top: 0;
    right: 0;
    text-align: center;
    padding: 5px 20px 7px 20px;
    margin-right: 50px;
    margin-top: 5rem;
    position: absolute;
    background-color: rgba(21, 37, 119, 0.5);
    border-radius: 50px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: 1px 2px 1px rgba( 0, 0, 0, 0.5);
    text-shadow: 0px 1px 5px black;
}

#rightmenu ul {
    margin: 0px;
    list-style-type: none;
    z-index: 1;
}

#rightmenu ul li {
    position: relative;
    width: 100%;
    text-decoration: none;
    line-height: 44px;
    vertical-align: middle;
    font-size: 22px;
    font-weight: bold;
    text-align: left;
}

#rightmenu ul li:last-child {
    border-bottom: none;
}

#rightmenu li ul {
    z-index: 9999;
}

#rightmenu li ul li {
    padding: 0;
    background-color: #152577db;
    text-align: center !important;
    font-size: 14px;
    border: none !important;
    border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    -webkit-border-radius: 0px !important;
    height: 100%;
    margin: 0px;
    z-index: 9999;
    box-shadow: 1px 2px 1px rgba( 0, 0, 0, 0.5) !important;
}

#rightmenu a {
    text-decoration: none;
    color: white;
    border: none;
    display: block;
    font-weight: normal;
    margin-left: 40px;
    padding-left: 5px;
    padding-right: 5px;
}

#rightmenu a:hover {
    color: #f8d423;
    background-color: rgba(255, 255, 255, 0.3);
    display: inline-block;
    border-radius: 50px;
    transition: ease-in-out .2s;
    transform: scale(1.1);
}

#rightmenu ul li ul {
    display: block;
    justify-content: center;
    visibility: hidden;
    position: absolute;
    left: 30px;
    margin: 0 auto;
}

#rightmenu ul li:hover ul,
#rightmenu ul li.hover ul {
    visibility: visible;
    margin: 0 auto;
}

#rightmenuicons {
    display: inline-block;
    position: absolute;
    left: 20px;
    top: 13px;
    line-height: 44px;
    width: 24px;
    height: auto;
    color: #f8d423;
}

#rightmenu .sub-menu {
    line-height: 30px;
    padding-top: 20px;
    margin-top: -10px !important;
}

#rightmenu .sub-menu a {
    line-height: 35px !important;
    margin-left: 0 !important;
}


/*----------  Top Buttons (Login)  ----------*/

#top-buttons {
    float: right;
    width: 100%;
    padding: 10px 0 18px 0;
    border-bottom: 2px solid rgb(214, 240, 253);
}


/*----------  Login Button  ----------*/

#loginout {
    z-index: 9998;
    top: 120px;
    margin: 0 auto;
    text-align: right;
    font-family: 'Open Sans', sans-serif;
    background: rgba(17, 29, 94, 0.8);
    position: absolute;
    padding: 10px;
    border-radius: 50px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    font-size: 1.5rem;
    color: #f8f8f8;
}

#loginout:hover {
    background: rgb(255, 255, 255, 0.5);
    box-shadow: 2px 2px 2px black;
    text-shadow: 0 0 5px black;
    color: #f8d423;
    font-size: 1.6rem;
}

#loginout a {
    color: inherit;
    padding-left: 30px;
    font-weight: normal;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
}

#loginouticon {
    position: absolute;
    height: auto;
    color: #f8d423;
    pointer-events: none;
}

#loginouticon .material-icons {
    position: absolute;
    font-size: inherit;
    color: #f8d423;
}

aside {
    float: left;
    margin-left: 55px;
    width: 150px;
}

aside img {
    margin-top: 3px;
    width: 150px;
    height: auto;
    opacity: 0.75;
    transition-property: transform;
    transition: .2s ease-in-out;
    -webkit-transition: .2s ease-in-out;
}

aside img:hover {
    opacity: 1;
    transform: scale(1.1);
    -webkit-transform: scale(1.05);
    transform-origin: center center;
}


/*----------  Head's Welcome  ----------*/

#hwelcome {
    position: absolute;
    height: auto;
    left: 20px;
    top: 220px;
    z-index: 100;
    transition: all .3s;
    transform: rotate(-10deg);
    filter: drop-shadow(0 0 0.7rem rgba(0, 0, 0, 0.5));
}

#hwelcome:hover {
    transform: scale(1.3);
    transition: all .2s;
    filter: drop-shadow(1px 1px 0 gold);
}


/*----------  Our Values Image  ----------*/

#ourvalues {
    position: absolute;
    height: 5rem;
    width: auto;
    max-height: 150px;
    top: 0;
    margin-top: 6rem;
    margin-left: 10rem;
    left: 0;
}


/*----------  Newsticker  ----------*/

.n_t_ntb_b {
    font-family: 'Open Sans', sans-serif !important;
    border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    -webkit-border-radius: 5px !important;
    margin: 0 auto;
    width: 500px;
    max-width: 100vw;
    margin-top: -10px !important;
    line-height: 25px !important;
    position: absolute !important;
    left: 0;
    right: 0;
}

.n_t_ntb_b-name {
    /** font-family: “Lucida Grande”, sans-serif; */
    font-family: 'Open Sans', sans-serif !important;
    font-weight: bolder !important;
    font-size: 14px !important;
    line-height: 20px !important;
}

.n_t_ntb_b a {
    font-size: 12px;
    line-height: 20px;
    font-weight: normal;
}


/*----------  Top Message Banner  ----------*/

.mtsnb .mtsnb-container {
    width: 100% !important;
    font-size: 1.2em !important;
}


/*----------  Breadcrumb  ----------*/

.breadcrumbs {
    margin-left: 15vw;
    color: #ddd;
    overflow: visible;
    display: flex;
    align-items: center;
}

.breadcrumbs a {
    color: #a1c1ff;
    font-style: normal !important;
}


/*----------  Weather Widget  ----------*/

#weather-widget {
    position: absolute;
    margin-top: -80px;
    right: 20px;
    width: 200px;
    z-index: 509;
}

#weather-widget iframe {
    margin-top: -20px;
}


/*----------  Footer Awards  ----------*/

#awards {
    text-align: center;
    position: relative;
    display: block;
    margin-top: 10px;
    padding-bottom: 10px;
    -webkit-transition: all 1s;
    width: 100%;
    border: none;
}

#awards:hover {
    transition: ease-in-out 1s;
    -webkit-transition: ease-in-out .2s;
}

#awards img {
    height: 90px;
    width: auto;
    opacity: 0.75;
    margin: 0;
}


/*----------  Footer Section  ----------*/

footer p,
footer#colophon {
    color: dimgrey;
}

footer p,
.news_wrapper p,
#footer-copyright {
    padding: 0px;
    font-size: 12px;
    line-height: 24px;
}

footer#colophon {
    background: white;
    padding-top: 1rem;
    margin: 0 auto;
}

footer#colophon a {
    text-decoration: none;
    color: #4671D5;
}

#footer-quote {
    float: left;
    padding-left: 50px;
}

#footer-copyright {
    float: right;
    padding-right: 50px;
}


/*=====  End of Homepage  ======*/


/*=============================================
=                   Post                      =
=                Formatting                   =
=============================================*/


/*----------  Gutenberg Elements  ----------*/


/*.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
    flex-direction: unset !important;
}*/

.wp-block-gallery>*:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    max-width: 50rem;
}

.blocks-gallery-grid,
.wp-block-gallery {
    margin: auto !important;
}

hr.wp-block-separator.is-style-default {
    width: 35% !important;
    border-top: 2px solid #555555;
}

.wp-block-separator.is-style-dots::before {
    font-size: 35px !important;
}

.has-background {
    padding: 1rem;
}

.wp-block-image figcaption {
    text-align: center;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.wp-block-video {
    margin: 0 auto !important;
}

.wp-embed {
    padding: 25px;
    font-size: 14px;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.5;
    color: #82878c;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    overflow: auto;
    zoom: 1;
}

.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container {
    width: calc(100% - 4rem);
    padding: 2rem 0;
}

@media (min-width: 700px) {
    .wp-block-cover-image .wp-block-cover__inner-container,
    .wp-block-cover .wp-block-cover__inner-container {
        width: calc(100% - 4rem);
    }
}

@media (max-width: 781px) and (min-width: 600px) {
    .entry-content .wp-block-column {
        flex-basis: revert !important;
    }
}


/*----------  Post Handling  ----------*/

.sticky {
    background-color: #ededed;
    padding: 1rem;
}


/*----------  Comment Navigation  ----------*/

.nav-previous a,
.nav-next a {
    color: #fff;
    list-style: none;
    text-align: center;
    font-size: 15px;
    background-color: #03047b;
    text-decoration: none;
    margin: 0 auto;
    margin-bottom: 3px;
    padding: 5px;
    text-transform: uppercase;
    line-height: 1.5em;
    border: 2px solid #f8d423;
    border-radius: 25px !important;
    -moz-border-radius: 25px !important;
    -webkit-border-radius: 25px !important;
    -webkit-transition: 1s all;
}

.nav-previous a:hover,
.nav-next a:hover {
    background-color: #212279;
    transform: scale(1.1, 1.1);
    -webkit-transform: scale(1.1, 1.1);
    -webkit-transition: 1s all;
}


/*----------  Block Quote Formatting  ----------*/

div#quotes {
    overflow: scroll;
    height: 650px;
    overflow-y: scroll;
    overflow-x: hidden;
}

blockquote {
    font-family: 'Merriweather', serif;
    font-size: 15px;
    font-style: italic;
    max-width: 100vw;
    margin: 0.25em 0;
    padding: 0.25em 40px;
    line-height: 1.45;
    position: relative;
    color: white;
    border: none;
    border-left: 2px solid grey;
}

.entry-content blockquote {
    font-family: 'Merriweather', serif;
    font-size: 15px;
    font-style: italic;
    width: fit-content;
    line-height: 1.45;
    position: relative;
    color: white;
    border: none;
    border-left: 2px solid grey;
}

.entry-content blockquote::before {
    content: "\201C";
    display: block;
    left: -40px;
    top: -20px;
    position: relative;
    height: 0;
    font-size: 60px;
    color: grey;
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
}

.entry-content blockquote::after {
    content: "\201E";
    display: block;
    top: -53px;
    right: 0;
    position: absolute;
    height: 0;
    font-size: 60px;
    color: grey;
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
}

.frontquote blockquote p {
    color: white;
    font-size: 13px !important;
}

.frontquote blockquote cite {
    color: lightgrey;
}

blockquote cite,
cite {
    color: dimgrey;
    font-size: 13px;
    display: block;
    margin-top: 5px;
}

blockquote cite::before {
    content: '-';
}


/*=====  End of Block Quote Formatting  ======*/


/*=============================================
=                 Pages &                     =
=                Categories                   =
=============================================*/

#subcats {
    padding: 0;
    margin: 0;
    height: 20px;
    margin-top: -30px;
    margin-left: -28px;
}

#subcats li {
    list-style: none;
    margin-left: 5px;
    float: left;
}

#subcats ul li a {
    border: 2px solid #03047b;
    background-color: #f8d423;
    color: #03047b;
    border-radius: 50px;
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
    font-size: 17px;
    height: 20px;
}

#subcats ul li a:hover {
    border: 2px solid #03047b;
    background-color: #03047b;
    color: #f8d423;
}


/*----------  Class Blog Headers  ----------*/

ul#bloglist {
    width: 640px;
    margin-left: 60px;
}

.page-header {
    all: unset;
}

.class-header-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

h1[id*="ban-"] {
    font-weight: normal;
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
    background-size: cover;
    height: 40vw;
    max-height: 525px;
    color: #f8d423;
    padding: 0;
}

h1[id*="ban-"]~h1.page-title::before,
h1.page-title::after,
h1.page-title::before {
    border: unset;
}

.page-title #blogname {
    display: inline-block;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 15%, transparent);
    width: 100%;
    text-shadow: 0 1px 5px black;
    font-size: 1em;
}

.page-title #slogan {
    display: inline-block;
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.75) 15%, transparent);
    width: 100%;
    text-shadow: 0 1px 5px black;
    font-size: 0.8em;
}

a#classheader {
    text-decoration: none;
}


/*----------  Class Blog Banner Photographs  ----------*/

#ban-nursery {
    background: url('/wp-content/images/classbanners/20-21/Nursery.gif') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-rr {
    background: url('/wp-content/images/classbanners/20-21/RR.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-rw {
    background: url('/wp-content/images/classbanners/20-21/RW.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-rb {
    background: url('/wp-content/images/classbanners/20-21/RB.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-1r {
    background: url('/wp-content/images/classbanners/20-21/1R.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-1w {
    background: url('/wp-content/images/classbanners/20-21/1W.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-1b {
    background: url('/wp-content/images/classbanners/20-21/1B.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-2r {
    background: url('/wp-content/images/classbanners/20-21/2R.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-2w {
    background: url('/wp-content/images/classbanners/20-21/2W.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-2b {
    background: url('/wp-content/images/classbanners/20-21/2B.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-3r {
    background: url('/wp-content/images/classbanners/20-21/3R.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-3w {
    background: url('/wp-content/images/classbanners/20-21/3W.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-3b {
    background: url('/wp-content/images/classbanners/20-21/3B.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-4r {
    background: url('/wp-content/images/classbanners/20-21/4R.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-4w {
    background: url('/wp-content//images/classbanners/20-21/4W.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-4b {
    background: url('/wp-content/images/classbanners/20-21/4B.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-5r {
    background: url('/wp-content/images/classbanners/20-21/5R.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-5w {
    background: url('/wp-content/images/classbanners/20-21/5W.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-5b {
    background: url('/wp-content/images/classbanners/20-21/5B.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-6r {
    background: url('/wp-content/images/classbanners/20-21/6R.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-6w {
    background: url('/wp-content/images/classbanners/20-21/6W.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-class-6b {
    background: url('/wp-content/images/classbanners/20-21/6B.jpg') no-repeat;
    background-size: 100% !important;
    background-position: center center;
}

#ban-grahams {
    background: url('/wp-content/images/classbanners/grahams.jpg') center center no-repeat !important;
    background-size: 100% !important;
}

#ban-match-reports {
    background: url('/wp-content/images/classbanners/match-report.jpg') center center no-repeat !important;
    background-size: 100% !important;
}

#ban-schoolblogs {
    background: url('/wp-content/images/classbanners/school.jpg') no-repeat;
    background-size: cover;
}

#ban-library {
    background: url('/wp-content/images/classbanners/library2019.jpg') no-repeat;
}

#ban-nurture-group {
    background: url('/wp-content/images/classbanners/20-21/Nurture.jpg') no-repeat;
}


/*----------  Blogs Page List  ----------*/

.blogs li {
    display: inline-block;
    min-width: 12vw;
    width: fit-content;
    line-height: 40px;
    text-align: center;
    margin-bottom: 2px;
}

#classblogs li,
#classblogs a {
    min-width: 12vw;
    width: fit-content;
    line-height: 3vw;
    font-size: 23px;
}

.blogs li a {
    font-weight: normal;
    display: block;
    text-decoration: none;
    font-size: 20px;
    color: #f8f8f8;
    border-radius: 50px !important;
    -moz-border-radius: 50px !important;
    -webkit-border-radius: 50px !important;
    background-color: #03047b;
    /** font-family: 'Fugaz One', cursive; */
    font-family: 'Kanit', sans-serif;
    font-weight: 900;
    font-style: italic;
}

.blogs .red a {
    background-color: #CC3300;
    border-color: 1px solid #b32d00;
}

.blogs .white a {
    background-color: #e8e8e8;
    border-color: 1px solid #d8d8d8;
    color: grey;
}

.blogs .blue a {
    background-color: #4671D5;
    border-color: 1px solid #3e66bd;
}

.blogs li:hover {
    -webkit-opacity: 0.25;
    -moz-opacity: 0.25;
    opacity: 0.25;
}

.blogs ul {
    text-align: center;
}

.blogsrow {
    text-align: center;
    display: inline;
}


/*----------  Child Pages  ----------*/


/* Gallery Autonav */

.subpages-table td {
    padding: 10px;
    text-align: center;
}


/* Autonav Image Resize */

img.subpages-image {
    width: 100%;
    height: auto;
    max-width: 200px;
}


/* For pages with title only */

.subpages-list {
    margin: 0;
    text-align: center;
}

.display-posts-listing {
    display: flex;
    flex-wrap: wrap;
}

ul.display-posts-listing {
    display: block;
}

.subpages-item,
div.listing-item {
    max-width: 600px;
    min-width: 15vmax;
    width: fit-content;
    list-style: none;
    text-align: center;
    font-size: 20px;
    background-color: #152577;
    text-decoration: none;
    text-transform: uppercase;
    margin: 5px auto;
    padding: 5px 10px 5px 10px;
    line-height: 1.5em;
    border: 2px solid #f8d423;
    border-radius: 75px !important;
    -moz-border-radius: 75px !important;
    -webkit-border-radius: 75px !important;
    box-shadow: 1px 2px 1px rgba( 0, 0, 0, 0.5);
    -webkit-transition: ease-out .2s;
}

.subpages-item a,
div.listing-item a {
    font-weight: normal;
    display: block;
    text-decoration: none;
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    -webkit-transition: ease-out .2s;
}

.subpages-item a:hover,
div.listing-item a:hover,
.subpages-item:hover,
div.listing-item:hover {
    color: #f8d423;
    filter: brightness(1.5);
    -webkit-filter: brightness(1.5);
}


/* For pages with thumbnails */

.subpages-text {
    text-align: center;
}

.subpages-cell {
    width: 150px;
    border: 1px solid #ddd;
}


/* For pages/posts with page-links */

.page-link {
    font-size: 18px;
    background-color: #152577;
    color: #f8d423;
    text-align: center;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 25px;
    width: 50%;
    margin: 0 auto;
}

.page-link a {
    background-color: #f8d423;
    border-color: #f8d423;
    border-radius: 5px;
    color: #152577;
    margin: 0 auto;
    padding-left: 5px;
    padding-right: 5px;
    display: inline-block;
    text-align: center;
    transition: all 1s;
}

.page-link a:hover {
    color: white;
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transition: all 1s;
}


/*=====  End of Pages & Categories  ======*/


/*=============================================
=                 Gutenberg                   =
=                   Fixes                     =
=============================================*/

.wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,
.wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,
.wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,
.wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,
.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,
.wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,
.wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before {
    padding: 0 !important;
}

.wp-block-embed__wrapper {
    padding: 0 !important;
}

.has-bh-blue-background-color {
    background-color: #152577 !important;
}

.has-bh-blue-color {
    color: #152577 !important;
}

.has-bh-yellow-background-color {
    background-color: #f8d423 !important;
}

.has-bh-yellow-color {
    color: #f8d423 !important;
}

.wp-block-pullquote {
    padding: 3em 0;
    margin: 0 auto !important;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
    text-align: center;
    border-top: 4px solid;
    border-bottom: 4px solid;
}

.wp-block-pullquote blockquote {
    color: dimgrey;
    border-left: unset;
    width: 60%;
    margin: 0 auto;
}

.wp-block-pullquote blockquote::before,
.wp-block-pullquote blockquote::after {
    content: unset;
}

.wp-block-pullquote p {
    color: unset;
}


/*=============================================
=      Gutenberg Custom / Additional CSS     =
=============================================*/

.homepageflex,
.homepageflex img {
    display: inline-flex !important;
    flex-flow: row wrap;
    margin: 0 auto;
    vertical-align: middle;
    align-items: center;
    /*width: 70vw !important;*/
    transition: ease-in-out .2s;
}

.homepageflex img {
    width: 200px;
    filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.7));
}

.homepageflex img:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 10px;
    transition: ease-in-out .2s;
    transform: scale(1.02);
    -webkit-transform: scale(1.02);
}

.float-right {
    float: right !important;
}

.float-left {
    float: left !important;
}

.reset-width img {
    width: unset !important;
}

.flex {
    display: flex;
}

.nowrap {
    flex-wrap: nowrap !important;
}

.inline {
    display: inline;
}

.note {
    max-width: 30rem !important;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
    box-shadow: 1px 2px 1px rgba( 0, 0, 0, 0.5);
}

.anchor {
    padding-top: 150px;
    margin-top: -150px;
}

.dropshadow-light {
    box-shadow: 1px 2px 5px rgba(0, 0, 0, .5);
}

.img-dropshadow-light img {
    box-shadow: 1px 2px 5px rgba(0, 0, 0, .5);
}

.dropshadow-img img {
    box-shadow: 0px 2px 5px rgba(0, 0, 0, .5);
}

.dropshadow-medium {
    box-shadow: 1px 2px 8px rgba(0, 0, 0, .7);
}

.dropshadow-heavy {
    box-shadow: 1px 2px 5px rgba(0, 0, 0, .75);
}

.tight-margin * {
    margin: 0;
}

.force-center {
    margin: 0 auto;
}

.border-right {
    border-right: 1px solid black;
}

.border-left {
    border-left: 1px solid black;
}

.darken img {
    filter: brightness(0.6);
}

.round-corners {
    border-radius: 10px;
}

.img-round-corners img {
    border-radius: 10px;
}

figure.staff-at-school-resize img,
.column-3.staff-at-school-resize {
    width: 200px !important;
}


/*----------  Blog Page Buttons  ----------*/

.blog-button a:hover {
    box-shadow: 2px 3px 10px rgba(0, 0, 0, .3);
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform-origin: bottom right;
    -webkit-transform-origin: bottom right;
    transition: .1s ease-in;
    filter: brightness(1.3);
}

.blog-button a {
    box-shadow: 1px 1.5px 10px rgba(0, 0, 0, .2);
    transition: .3s ease-out;
}

.wp-block-columns {
    margin-bottom: .3rem !important;
}


/*----------  Borders  ----------*/

.borderleft-black {
    border-left: 5px solid black;
}

.borderright-black {
    border-right: 5px solid black;
}

.borderbottom-black {
    border-bottom: 5px solid black;
}

.bordertop-black {
    border-top: 5px solid black;
}

.borderfull-black {
    border: 5px solid black;
}


/*----------  Gutenberg MOBILE Fixes  ----------*/

.wp-block-column:not(:first-child) {
    margin-left: unset !important;
}


/*=====  End of Gutenberg Fixes  ======*/


/*=============================================
=            Front Page Quote                 =
=============================================*/

.frontquote {
    z-index: 10;
    overflow: overlay;
    flex-wrap: wrap;
    position: absolute;
    margin-top: -240px;
    margin-left: 25px;
    text-shadow: 0 0 5px black;
    background: rgba(21, 37, 119, 0.5);
    border-radius: 50px;
    padding: 10px 20px 0px 30px;
    max-height: 220px;
    box-shadow: 1px 2px 1px rgba( 0, 0, 0, 0.5);
}

.frontquote .container {
    max-width: 550px;
}

#fade-quote-carousel.carousel {
    padding-bottom: 0;
}

#fade-quote-carousel.carousel .carousel-inner .item {
    opacity: 0;
    -webkit-transition-property: opacity;
    -ms-transition-property: opacity;
    transition-property: opacity;
}

#fade-quote-carousel.carousel .carousel-inner .active {
    opacity: 1;
    -webkit-transition-property: opacity;
    -ms-transition-property: opacity;
    transition-property: opacity;
}

#fade-quote-carousel.carousel .carousel-indicators {
    text-shadow: 0 0 5px black;
}

#fade-quote-carousel.carousel .carousel-indicators>li {
    opacity: 0.5;
    background-color: #f8d423;
    box-shadow: 1px 2px 1px black !important;
    border: none !important;
}

#fade-quote-carousel.carousel .carousel-indicators .active {
    opacity: 1;
}

#fade-quote-carousel blockquote {
    text-align: center;
    border: none;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    height: 150px;
    vertical-align: middle;
    display: table-cell;
}

#quotation-left,
#quotation-right {
    color: #f8d423;
    position: absolute;
    opacity: 0.9;
    margin-left: -15px;
}

#quotation-right {
    right: 0;
    margin-top: 30px;
    margin-right: -15px;
}


/* Quote Indicator Fix */

.carousel-indicators {
    position: relative;
    bottom: 0;
    margin-top: 0;
}


/*=====  End of Front Page Quote  ======*/


/*=============================================
=                Post/Page Meta               =
=============================================*/

.post-meta-wrapper {
    align-items: center;
    font-size: 1.5rem;
    font-style: normal;
}

.post-meta-wrapper .material-icons {
    color: grey;
    margin-right: 0.5rem;
}

a.post-edit-link {
    color: grey;
}

@media only screen and (min-width: 700px) {
    .post-meta-wrapper {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

.post-meta-single-top .post-meta {
    justify-content: center;
    display: flex;
}

.entry-category .post-meta {
    justify-content: center;
    display: flex;
}

.post-meta {
    color: grey;
    margin: .2rem;
}

.post-meta .meta-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.post-meta .meta-text>a {
    margin-right: 1rem;
    color: grey;
}

.post-meta-single-top {
    font-size: 1rem;
    margin-top: -0.5rem;
}

.post-meta-page-top {
    font-size: 1rem;
    justify-content: center;
    display: flex;
    margin-top: -0.3rem;
}

@media (max-width: 700px) {
    .post-meta-single-top {
        font-size: 0.75rem;
    }
}

.post-meta-wrapper.post-meta-edit-link-wrapper {
    display: flex;
}


/*=====  End of Post/Page Meta  ======*/


/*=============================================
=                Plugin Styles               =
=============================================*/

table.advgb-table-frontend {
    margin: auto !important;
}

.pdfemb-viewer {
    width: unset !important;
    max-width: unset !important;
}

.pdfemb-pagescontainer {
    height: unset !important;
    width: unset !important;
    max-width: unset !important;
}


/*=============================================
=            Office 365 Staff Login           =
=============================================*/

.o365-staff {
    position: absolute;
    margin-right: 1rem;
    right: 0;
    background-color: #152577;
    border-radius: 50px;
    padding: 7px;
    text-align: center;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, .5);
    transition: ease-in .4s;
}

.o365-staff:hover,
.o365-staff:active {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transition: ease-in .2s;
}

.o365-staff a,
.o365-staff i {
    font-size: 1rem;
    text-align: center;
    vertical-align: middle;
    color: #f8d423 !important;
}


/*=====  End of Office 365 Staff Login ======*/


/*=============================================
=       iPad Pro Screen Size Correction       =
=============================================*/

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    /*----------  Front Page Banner - iPadPro  ----------*/
    /*.flexslider {
        margin-top: 0px !important;
        height: 400px;
    }*/
    /*----------  Admin Bar - iPadPro  ----------*/
    .admin-bar .top-nav {
        position: sticky;
        position: -webkit-sticky;
        top: 30px;
    }
    /*----------  Main Menu - iPadPro  ----------*/
    #menu ul li {
        font-size: 1.7vw;
        line-height: unset;
        width: fit-content;
    }
    #menu ul li ul {
        line-height: 25px;
        margin-top: 2px;
    }
    #menu .sub-menu li {
        padding: 0;
    }
    /*----------  Top Nav Spacer - iPadPro  ----------*/
    #top-nav-spacer {
        padding: 20px;
    }
    /*----------  Front Right Menu  ----------*/
    #front-right-menu {
        zoom: .8;
    }
    /*----------  Blockquote - iPadPro  ----------*/
    blockquote p {
        font-size: 18px !important;
    }
    /*----------  Front Quote - iPadPro ----------*/
    .frontquote {
        left: -20px;
        margin-top: -240px;
    }
    .breadcrumbs {
        margin-left: 5vw;
        color: #ddd;
    }
    /*----------  Blogs Page Links - iPadPro ----------*/
    .blogs li {
        min-width: 15vw;
        width: fit-content;
        max-width: 30vw;
        line-height: 40px;
        text-align: center;
        margin-bottom: 2px;
    }
    #classblogs li,
    #classblogs a {
        min-width: 17vw;
        line-height: 7vw;
        font-size: 26px;
        width: fit-content;
    }
    #footer-quote p,
    #footer-copyright p {
        font-size: 90%;
        line-height: 100%;
    }
    li {
        font-size: 18px;
    }
    /*----------  Table corrections - iPadPro  ----------*/
    table {
        table-layout: fixed;
        overflow: scroll;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
        overflow-y: visible;
    }
    .subpages-table {
        display: table !important;
    }
    td img {
        width: 100% !important;
        height: auto;
    }
    /*----------  Align Wide - iPadPro  ----------
    .alignwide {
        margin: 32px calc(25% - 25.5vw);
        max-width: 84vw;
        width: 100vw;
    }
    /*----------  Dropdown menu - iPadPro ----------*/
    #menu li ul li {
        font-size: 1em;
    }
    /*----------  Top Nav Spacer  ----------*/
    #top-nav-spacer {
        padding: 20px;
    }
    /*----------  Blockquote  ----------*/
    blockquote p {
        font-size: 18px !important;
    }
    /*----------  Table Scrolling  ----------*/
    table {
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
        overflow-y: visible;
        table-layout: unset !important;
    }
    td {
        word-break: normal !important;
    }
    .entry-content {
        overflow: scroll;
    }
    input#searchform {
        max-width: 5rem;
    }
    input#searchform:hover,
    input#searchform:active {
        max-width: 6rem;
    }
    #search-submit {
        padding: .5rem;
    }
    #ourvalues {
        zoom: 0.8;
    }
}


/*=============================================
=         iPad Screen Size Correction         =
=============================================*/

@media only screen and (min-width: 600px) and (max-width: 768px) {
    /*----------  Main Menu - iPad  ----------*/
    #menu ul li {
        font-size: 1.3vw;
        width: fit-content;
    }
    #menu {
        float: unset;
    }
    .sub-menu {
        line-height: 24px;
    }
    .admin-bar .top-nav {
        position: sticky;
        position: -webkit-sticky;
        top: 35px;
    }
    /*----------  Blogs Page Links - iPad  ----------*/
    .blogs li {
        min-width: 15vw;
        width: fit-content;
        line-height: 40px;
        text-align: center;
        margin-bottom: 2px;
    }
    #classblogs li,
    #classblogs a {
        min-width: 20vw !important;
        line-height: 7vw;
        font-size: 22px;
        width: fit-content;
    }
    /*----------  Front Quote - iPad ----------*/
    .frontquote {
        transform: scale(0.8);
        left: -90px;
        margin-top: -210px;
    }
    /*----------  Table corrections - iPad  ----------*/
    table {
        table-layout: fixed;
        overflow: scroll;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
        overflow-y: visible;
    }
    .subpages-table {
        display: table !important;
    }
    td img {
        width: 100% !important;
        height: auto;
    }
    /*----------  Align Wide - iPad  ----------

    .alignwide {
        margin: 32px calc(25% - 25vw);
        max-width: 85vw;
        width: 100vw;
    }
    /*----------  Latest News -iPad  ----------*/
    .n_t_ntb_b {
        transform: scale(1);
    }
}


/*=====  End of iPad Screen Size Correction ======*/


/*=============================================
=     Mobile Phone Landscape Corrections      =
=============================================*/

@media screen and (min-width: 568px) and (max-width: 736px) {
    /*.flexslider img
    /*MobileLandscape Fix
    {
        height: unset !important;
    }*/
    .frontquote
    /*MobileLandscape Fix*/
    {
        margin: 0 auto;
        padding: 10px;
        width: 100vw;
        position: inherit;
        background: #212955;
        max-height: unset;
    }
    #logom,
    #logom img
    /*MobileLandscape Fix*/
    {
        padding-bottom: unset;
        padding-top: unset;
        position: unset !important;
        margin-top: unset;
    }
    #top-search
    /*MobileLandscape Fix*/
    {
        position: unset;
        transform: unset !important;
        -webkit-trasnform: unset !important;
        top: unset;
        z-index: unset;
        left: unset;
        width: unset;
        margin-top: 4vh;
    }
}


/*=====  End of Mobile Phone Landscape Corrections  ======*/


/*=============================================
=           Small Screen Corrections          =
=============================================*/

@media only screen and (max-width: 1200px) {
    #logo {
        display: none;
    }
    #logom,
    #logom img {
        display: inline-flex;
        text-align: center;
        position: relative;
    }
    #menu {
        margin: 0 !important;
    }
    .homepageflex img {
        width: 100px;
        height: auto;
        padding: 0;
    }
}


/*=====  End of Small Screen Corrections  ======*/


/*=============================================
=     16:9 Landscape Desktop Corrections      =
=============================================*/


/*@media screen and (min-width: 1300px) and (max-width: 1368px) {
    .blogs li
    /*16:9 Fix
    {
        width: 20vmin;
    }
    /*#top-search
    /*16:9 Fix
    {
        margin: 10px 10px 0px 0px;
    }
}*/


/*=====  End of 16:9 Landscape Desktop Corrections  ======*/


/*=============================================
=            Phone Fix Corrections            =
=============================================*/

@media only screen and (max-width: 600px) and (min-width: 320px) {
    #wpadminbar {
        position: fixed !important;
    }
    .mtsnb .mtsnb-container {
        line-height: -5 !important;
    }
    #menu ul li {
        font-size: .7rem;
        width: fit-content;
    }
    #menu {
        margin: 0 !important;
        float: none;
    }
    #menu li ul li {
        line-height: 3vmin;
        font-size: 10px;
    }
    #menu a:after,
    #menu a:before {
        margin-left: -2px;
        margin-right: -2px;
        padding: 5px;
    }
    /*----------  Top Nav Logo  ----------*/
    #logom {
        display: none;
    }
    /*----------  Top Banner Nudge Down  ----------*/
    #topbanner {
        margin-top: 15px;
    }
    /*----------  Log in/out Button - Phone ----------*/
    #loginout {
        transform: scale(0.6);
        -webkit-transform: scale(0.6);
        top: 3rem;
        left: -2rem;
    }
    /*----------  Front Right Menu  ----------*/
    #front-right-menu {
        transform: scale(0.6);
        -webkit-transform: scale(0.6);
        margin-top: -2.5rem;
        margin-right: -2.5rem;
    }
    #ourvalues {
        transform: scale(0.6);
        -webkit-transform: scale(0.6);
        margin-top: 4rem;
        margin-left: 3rem;
    }
    /*----------  Search Bar - Phone ----------*/
    #top-search,
    #top-search .material-icons {
        font-size: .8rem;
    }
    input#searchform {
        max-width: 5rem;
    }
    #search-submit {
        padding: .5rem;
    }
    /*----------  Post Title - Phone ----------*/
    h1.post-title {
        margin: unset;
    }
    h1.post-title::before,
    h1.post-title::after {
        border: unset;
    }
    /*----------  Blogs Page Links - Phone ----------*/
    .blogs li,
    .blogs a {
        display: inline-block;
        line-height: 10vmin;
        font-size: 14px;
        min-width: 150px;
        width: fit-content;
    }
    .blogs li a {
        font-size: unset;
    }
    #classblogs li,
    #classblogs a {
        display: inline-block;
        line-height: 10vmin;
        font-size: 14px;
        min-width: 110px;
        width: fit-content;
    }
    /*----------  Logo - Phone ----------*/
    #logo {
        width: 200px !important;
        margin-left: 10px;
    }
    /*----------  Top Navigation Bar Spacer - Phone ----------*/
    #top-nav-spacer {
        padding: unset;
    }
    /*----------  Front Quote - Phone ----------*/
    .frontquote {
        margin-top: 30px !important;
        margin: 0 auto;
        padding: 10px;
        width: 100vw;
        position: relative;
        background: #212955;
        max-height: unset;
    }
    #quotation-left,
    #quotation-right {
        transform: scale(0.6);
        -webkit-transform: scale(0.6);
    }
    /*.flexslider {
        margin-top: -50px;
        height: 60vmin;
    }*/
    .flexslider img {
        min-height: 17rem;
    }
    /*
    .breadcrumbs {
        margin-left: 2vw;
        margin-top: 12vmin;
        color: #ddd;
    }
    /*----------  Calendar Overflow Fix  ----------*/
    #aec-container {
        overflow: hidden;
    }
    .fc-header-title h2 {
        font-size: 8px;
    }
    /*----------  Page Content Width Fix - Phone ----------*/
    #page_content {
        width: unset;
        padding: unset;
        padding-bottom: 10px;
    }
    h1.page-title {
        margin: 0;
    }
    /*----------  Top Navigation Bar - Phone  ----------*/
    .top-nav {
        position: relative !important;
        transform: scale(1) !important;
        -webkit-transform: scale(1);
        text-align: center;
        overflow: visible;
    }
    .admin-bar .top-nav {
        top: unset;
        text-align: left;
    }
    .flex-direction-nav .flex-prev,
    .flex-next {
        transform: scale(0.7);
        -webkit-transform: scale(0.7);
    }
    /* Responsive Menu CSS */
    #menu ul li:not(:first-child) {
        display: none;
        float: right;
    }
    #menu.responsive {
        border: none !important;
    }
    #menu ul.responsive {
        display: grid;
        background-color: rgba(0, 0, 0, 0.5);
        width: 100%;
        position: absolute;
        text-align: center;
        opacity: 1;
        top: 100%;
        left: 0;
        box-shadow: 5px 15px 15px rgba(0, 0, 0, .5);
    }
    #menu ul.responsive li {
        display: grid;
        background-color: #000;
        width: 30vw;
    }
    #menu .icon {
        float: right;
        display: block;
    }
    #menu.responsive .icon {
        position: absolute;
        z-index: -1;
        right: 0;
        top: 0;
    }
    #menu ul li ul {
        left: 100%;
        top: 0;
    }
    /*----------  Weather Widget - Phone  ----------*/
    #weather-widget {
        transform: scale(0.6);
        -webkit-transform: scale(0.6);
        margin-top: -70px;
        margin-left: -30px;
        left: 0;
    }
    #hwelcome {
        width: 10vw;
        top: 130px;
        transform: rotate(-10deg);
    }
    #hwelcome:hover {
        transform: rotate(5deg);
    }
    .mtsnb .mtsnb-container {
        padding: 0 !important;
        font-size: unset !important;
    }
    /*----------  Footer Awards - Phone  ----------*/
    #awards img {
        height: 50px;
    }
    #footer-quote {
        padding-left: 10px;
    }
    /*----------  Table Break-word - Phone  ----------*/
    .wp-block-table.is-style-stripes
    /*Phone Fix*/
    {
        overflow-wrap: break-word;
    }
    /*----------  Table w/ Image Fit to Mobile  ----------*/
    td img {
        width: 100% !important;
        height: auto;
    }
    /*----------  Align Wide - Small Phone ----------*/
    /*.alignwide {
        margin-left: calc(18% - 21vw);
        margin-right: calc(18% - 21vw);
        padding-top: 30px;
    }*/
    /*----------  Blog Headers - Phone  ----------*/
    a.flex-prev,
    a.flex-next {
        margin-top: 5px;
    }
    /*----------  Table Scrolling  ----------*/
    table {
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
        overflow-y: visible;
        table-layout: unset !important;
    }
    td {
        word-break: normal !important;
    }
    /*.entry-content {
        overflow: scroll;
    }*/
}


/*=====  End of Mobile Phone Screen Correction  ======*/


/*=============================================
=    Small Mobile Phone Screen Corrections    =
=============================================*/

@media only screen and (max-width: 400px) {
    /*----------  Top Nav Logo  ----------*/
    #logom {
        display: none;
    }
    /*----------  Blogs Page Links - Small Phone ----------*/
    .blogs li,
    .blogs a {
        min-width: 120px;
    }
    #classblogs li,
    #classblogs a {
        min-width: 90px;
    }
}


/*----------  Screen Correction - iPhone 5 Fix yikers  ----------*/

@media only screen and (min-width: 300px) and (max-width: 320px) {
    /*----------  Main Banner Size  ----------*/
    /*.flexslider img {
        height: 65vmin !important;
    }
    .flexslider {
        height: 65vmin;
    }*/
    #hwelcome {
        margin-top: -20px;
    }
    /*----------  Autonav Gallery - iPhone 5  ----------*/
    table.subpages-table {
        width: unset;
    }
}


/*=====  End of Small Mobile Phone Corrections  ======*/


/* Universal Smaller Screen CSS */

@media only screen and (max-width: 1024px) {
    .wp-block-table .has-fixed-layout td,
    .wp-block-table .has-fixed-layout th {
        word-break: initial !important;
    }
}

p.dco-attachment.dco-image-attachment img {
    max-width: 20rem;
    height: auto;
}


/*----------  Recent Posts (Front Page)  ----------*/

.Recent-Posts {
    position: absolute;
    width: 15rem;
    right: 1rem;
}

.recent-posts li a {
    padding: 2px;
}

.recent-posts li .wpp-meta post-stats {
    text-align: center;
}

.Recent-Posts li {
    background-color: #ffffffa5;
    padding: 10px;
    margin: .3rem 0 0 0;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .7);
    font-size: .7rem;
}