/* Stratford CSS */

:root {
    --red: #9D2235;
    --blue: #003865;
    --ltblue: #00A3E0;
    --orange: #EA7600;
    --green: #78BE20;
    --yellow: #FCE300;
    --gold: #F2A900;
    --ltgrey: #C8C9C7;
    --grey: #75787B;
    --black: #0A0A0A;
    --shade: rgba(0, 0, 0, 0.2);
    --textshadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
}

* {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    line-height: 1;
}

body {
    font-family: 'Lato', 'Helvetica', 'Arial', 'sans-serif';
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.4;
    font-weight: 500;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.6em;
}

h3 {
    font-size: 1.4em;
}

h4 {
    font-size: 1.2em;
}

h5 {
    font-size: 1.1em;
}

h6 {
    font-size: 1em;
}

p {
    font-size: 1.125em;
    font-weight: 400;
}

p,
p strong {
    line-height: 1.8;
}

b {
    font-weight: 600;
    line-height: inherit;
}

a {
    display: inline;
    line-height: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    border: none;
}

#access {
    position: absolute;
    left: -999999px;
}

#wrapper {
    font-size: 0.9em;
}

.wrap {
    position: relative;
    margin: auto;
    width: auto;
    padding: 0 1.5em;
    max-width: 70rem;
}

.clear:before {
    content: " ";
    display: table;
}

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

.clickable:hover {
    cursor: pointer;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

#header {
    width: 100%;
    position: fixed;
    top: auto;
    z-index: 9999;
    background: #FFFFFF;
    box-shadow: 0px 0px 2px var(--shade);
}

#branding {
    display: inline-block;
}

#branding span {
    /* line-height: 0; */
}

#branding a {
    line-height: 0;
    display: inline-block;
}

.brand-page #branding a {
    display: grid;
    grid-template-columns: max-content auto;
    align-items: center;
    grid-gap: 10px;
    height: 70px;
}

.brand-page #branding img {
    width: 50px;
    height: 50px;
}

.brand-page #branding #blog-title h1 {
    text-transform: uppercase;
    font-size: 1.1em;
    font-weight: 600;
}

.brand-page #branding #blog-title a,
.brand-page #branding #blog-title a:hover,
.brand-page #branding #blog-title a:active,
.brand-page #branding #blog-title a:visited {
    color: #000;
    text-decoration: none;
}


/* Search Form */

#navbar_search_toggle {
    position: absolute;
    top: 0;
    right: 70px;
    display: flex;
    height: 70px;
    align-items: center;
    justify-content: center;
}

#navbar_search_toggle i {
    font-size: 1.6em;
    border-bottom: none;
    color: var(--red);
    padding: 0;
}

#navbar_search_form {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #d0d0d0;
    width: 100%;
}

#searchform {
    padding: 1em;
}

#navbar_search_form .er-dummy-search-box {
    padding: .5em;
}

#navbar_search_form form input#s {
    display: block;
    width: 100%;
    max-width: 100%;
    padding-right: 3.2em !important;
    background: none;
    border: 0;
    margin: 0 0 0 0;
    font-family: 'Lato';
    font-size: 16px;
}

#navbar_search_form form input#searchsubmit {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border: 0;
    border-radius: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: bold;
    background-color: var(--red);
    font-family: 'Lato';
    padding: 0 1em;
    -webkit-appearance: none;
}


/* EXPERTREC SEARCH RESULTS */

.slug-search #hero .hero-title {
    position: relative;
    text-align: center;
    padding: 2em 0 0;
    color: var(--red);
    top: 0;
    left: 0;
    transform: translate(0);
    text-shadow: none;
    width: 100%;
    max-width: 100%;
}

.er-top-head {
    display: none;
}

.er-dummy-search-box {
    width: 100%!important;
}

.er-dummy-search-box .er_search_input_dummy {
    width: 100%!important;
    border: 1px solid #ababab!important;
    border-radius: 6px 0 0 6px!important;
    height: 40px!important;
    font-size: 1em!important;
    font-weight: bold!important;
}

.er-dummy-search-box .er_search_button_dummy {
    background: #9d2235!important;
    border-radius: 0 6px 6px 0!important;
    height: 40px!important;
    width: 50px!important;
}

#er_search_results .er-search-result-box {
    min-height: 100px!important;
}

#er_search_results .er-search-result-box .title a {
    color: var(--red)!important;
    height: auto!important;
}

.er-search-result-box .title a {
    white-space: normal!important;
}

#er_search_pagination ul .er-paginator-previous,
#er_search_pagination ul .er-paginator-next {
    display: inline-block!important;
    text-align: center!important;
    font-size: 1.2em!important;
    font-weight: 600;
    border: 2px solid var(--blue)!important;
    border-radius: 3px!important;
    padding: .5em 1em!important;
    text-decoration: none!important;
    color: var(--blue)!important;
}

#er_search_results .er-search-result-box .text {
    font-size: 1em!important;
    line-height: 1.4em!important;
    max-height: none!important;
}


/* School Level Nav */

#menu_container {}

#menu_toggle {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#menu_toggle i {
    color: var(--red);
    font-size: 2.4em;
    display: block;
    padding: 0.5em 0.6em 0.5em 0.5em;
}

#main_menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--red);
    height: 1200px;
}

#main_menu ul {}

#main_menu ul.menu>li {
    display: block;
    position: relative;
}

#main_menu ul.menu>li {
    border-bottom: 1px solid var(--shade);
}

#main_menu ul li.menu-item-has-children:hover,
#main_menu ul li.page_item_has_children:hover {
    cursor: pointer;
}

#main_menu ul li.menu-item-has-children:after,
#main_menu ul li.page_item_has_children:after {
    position: absolute;
    content: "";
    right: 1.8em;
    top: 1.3em;
    width: 10px;
    height: 10px;
    border: solid #FFFFFF;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 4;
    pointer-events: none;
}

#main_menu ul li.menu-item-has-children.sub-open:after,
#main_menu ul li.page_item_has_children.sub-open:after {
    border-width: 3px 0 0 3px;
    top: 1.8em;
}

#main_menu ul li.menu-item-has-children>a,
#main_menu ul li.page_item_has_children>a {
    margin-right: 4.5em;
}

#main_menu ul li a {
    display: block;
    padding: 1.5em 1.5em;
    font-size: 1em;
    font-weight: 600;
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
}

#main_menu ul li ul.sub-menu,
#main_menu ul li ul.children {
    display: block;
}

#main_menu ul li ul.sub-menu li>a,
#main_menu ul li ul.children li>a {
    display: block;
    box-sizing: border-box;
    background: var(--shade);
    padding: 1.2em 2em;
    text-transform: capitalize;
    border-bottom: 1px solid var(--shade);
}

#stratford_link {
    display: none;
}

#stratford_link li a {
    display: flex;
    background: var(--red);
    color: #FFFFFF;
    padding: 0 0;
    height: 70px;
    width: 110px;
    line-height: 1.4;
    font-size: 0.9em;
    font-weight: 600;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    justify-content: center;
}

#stratford_link li a:hover {
    text-decoration: none;
}

#nobel_locator_link {
    display: none;
    background: var(--blue);
    color: #FFFFFF;
    height: 70px;
    /* display: flex; */
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    position: relative;
}

#nobel_locator_link li {
    /* padding: 0 1em; */
    line-height: 1.4;
    font-size: 0.9em;
    font-weight: 600;
}

#locator_searchbox {
    display: none;
    padding: 2em;
    background: var(--green);
    color: #FFFFFF;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 100px;
    z-index: 999;
}

.page-template-template-locator #locator_searchbox {
    bottom: 50px;
}

#locator_searchbox input,
#locator_searchbox select {
    display: block;
    width: 100%;
    padding: 0.9em;
    margin: 0 0 1em;
    border: none;
    border-radius: 4px;
    line-height: 1.2;
    appearance: none;
    -moz-appearance: none;
    /* Firefox */
    -webkit-appearance: none;
    /* Safari and Chrome */
    -ms-appearance: none;
    /* 	Sizing fix */
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -khtml-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#locator_searchbox select {
    background: #FFFFFF url('../images/arrow.png') no-repeat;
    background-size: 1.8em .9em;
    background-position: 100% .9em;
    text-indent: 0;
}

a.stratford-mobile-link {
    color: #fff;
    display: block;
    width: 100%;
    background-color: #4D7493;
    padding: 1em 0 1em 1.5em;
    margin-top: 5em;
}

div.stratford-top-link {
    display: none;
}


/** Simple Form */

#nobel_locator_simple .search-container {
    display: grid;
    grid-template-areas: 'search search' 'myloc myloc' 'allschools allschools';
    grid-gap: 1em;
    grid-template-columns: auto;
    grid-template-rows: auto;
}

#locator_searchbox .search-field {
    display: grid;
    grid-area: search;
    width: 100%;
    grid-template-columns: auto 2.5em;
    grid-template-rows: auto;
    margin: 0 0 0 0;
    border-radius: 4px;
    overflow: hidden;
}

#locator_searchbox .search-field input {
    margin: 0 0 0 0;
    border-radius: 0px;
}

#locator_searchbox .search-field button {
    display: block;
    box-sizing: border-box;
    background: var(--blue);
    font-weight: 500;
    border: 0;
    color: #FFFFFF;
}

#locator_searchbox #locate_me {
    grid-area: myloc;
    font-size: 1em;
    padding: 0.5em 0.5rem;
}

#locator_searchbox .search-all {
    grid-area: allschools;
    text-align: right;
    line-height: 2.4;
}

#locator_searchbox .search-all a {
    color: #FFFFFF;
    text-decoration: none;
}

#locator_searchbox #nobel_locator .locator-submit {
    padding: 0.5em 1rem;
}

.mobile-quick-links {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999;
}

.mobile-quick-links span {
    color: #FFFFFF;
    font-size: 1.2em;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}

.mobile-quick-links span:first-of-type {
    border-bottom: 2px solid #FFFFFF;
}

.mobile-quick-links span.locator {
    background: var(--green);
}

.mobile-quick-links span.form {
    display: block;
    background: var(--ltblue);
}

.page-template-template-locator .mobile-quick-links span.form {
    display: none;
}

.page-template-template-locator .mobile-quick-links span:first-of-type {
    border-bottom: none;
}

.mobile-quick-links span a {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    height: inherit;
}

.mobile-quick-links span i {
    margin-right: 8px;
    font-size: 0.9em;
}


/* Emergency Notification */

.emergency-notification {
    background: #ECECEC;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.emergency-notification a {
    color: var(--red);
}

.emergency-notification h1,
.emergency-notification h2,
.emergency-notification h3,
.emergency-notification h4,
.emergency-notification h5,
.emergency-notification h6 {
    color: var(--red);
    margin: 0 0 1rem;
}

.flex-container {
    display: flex;
    padding: 15px 0;
    flex-direction: column;
}

.entry-content .flex-container li {
    margin-bottom: .4rem
}

.flex-container>.flex-child {
    margin-right: 25px
}

.flex-container>.flex-child:last-of-type {
    margin-right: 0
}

.entry-content p.sm-text {
    font-size: .8em;
}

img.center {
    display: block;
    margin: 0 auto;
}

.flex-child.extra-padding {
    padding: 35px;
    box-sizing: border-box;
}

#first-row img {
    max-width: 300px;
    height: auto;
    margin-bottom: 0;
}

#sec-row {
    padding: 0
}

#sec-row img {
    max-height: 115px;
    width: auto;
    margin-bottom: 0;
}

#third-row img {
    max-width: 185px;
    height: auto;
    margin-bottom: 0;
}

.logo-strip .flex-child {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.logo-wrap {
    display: inline-block;
    width: 50px;
    vertical-align: middle;
}

.flex-container .img-wrap-center-vert {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    align-items: center;
}

.flex-container .third,
.flex-container .twothird {
    width: 100%;
    position: relative;
}

.cl-stripe {
    padding: 20px;
    box-sizing: border-box;
}

.cl-stripe .wrap {
    padding: 0;
}

.cl-stripe>.wrap {
    box-sizing: border-box;
}

.cl-stripe h4 {
    font-weight: 700;
    display: inline-block;
    margin: 0;
}

.st-head {
    margin-bottom: 30px
}

.entry-content .cl-stripe p {
    margin-bottom: .65em;
}

.light-orange {
    background-color: rgba(242, 169, 0, 0.5);
    padding: 5px;
}

.light-orange h3 {
    margin-bottom: 0 !important;
}

.orange {
    background-color: #F7C87A;
}

.blue {
    background-color: #87CDF1;
}

.green {
    background-color: #B1D89C;
}

.entry-content img.subject-logo {
    max-width: unset;
    width: 100%;
    margin: 0;
}

.entry-content .logo-strip p {
    margin-bottom: 0;
}

#main {
    padding-top: 70px;
}

#container {
    position: relative;
}

#hero {
    position: relative;
}

#content {
    padding: 2rem 0 0;
}

body.page-template-template-home #content {
    padding: 0 0 0 0;
}

.entry-content {
    font-size: 16px;
    padding: 0 0 2rem;
}

body.page-template-template-home .entry-content {
    padding: 2rem 0;
}

.entry-content p {
    font-size: 1.1em;
    margin-bottom: 1.2em;
}

.entry-content p>* {
    line-height: inherit;
}

.entry-content a {
    color: var(--red);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    line-height: 1.4;
    margin: 0 0 1rem;
}

.entry-content ul,
.entry-content ol {
    list-style-position: outside;
    font-size: 1.1em;
    margin-left: 1.3rem;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content li {
    line-height: 1.4;
    margin: 0 0 0.8rem;
}

.entry-content ul li ul {
    margin-left: 0;
    margin-top: .5em;
    font-size: 1em;
}

.entry-content li ul li {
    list-style: none;
    margin-left: 0;
}

.entry-content li ul li:before {
    content: "- "
}

.entry-content-video {
    margin: 0 0 2em;
}

.entry-content-video .video-container {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    z-index: 99;
}

.entry-content-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.entry-content .wp-post-image {
    border: 0;
    float: none;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}


/* Hero Video & Image */

.hero-container {
    position: relative;
    max-height: 400px;
    overflow: hidden;
}

.hero-container.video {
    max-height: 480px;
}

.hero-container.video~.hero-container.image {
    height: 360px;
    position: relative;
    overflow: hidden;
}

.hero-container img {
    width: 100%;
}

.hero-container.video {
    display: none;
}

.hero-container.video~.hero-container.image img {
    width: auto;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
    max-width: none;
}

.hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 750px;
    color: #FFFFFF;
    text-shadow: var(--textshadow);
}

.hero-title.flex {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    min-height: 200px;
}

.hero-title h1 {
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 600;
}

.hero-title h2 {
    font-size: 2.2em;
    line-height: 1.1;
}

.hero-title p {
    font-size: 1.2em;
    line-height: 1.2;
    display: none;
}

.hero-title ul {
    font-size: 1.5em;
}

.shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
}


/* Breadcrumbs */

.breadcrumbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1em 0;
}

.breadcrumbs ul li {
    display: inline-block;
}

.breadcrumbs ul li a {
    display: inline-block;
    color: #FFFFFF;
    text-shadow: var(--textshadow);
    text-decoration: none;
    margin-right: 0.7em
}

.breadcrumbs ul li a:hover {
    text-decoration: underline;
}

.breadcrumbs ul li a i {
    font-size: 0.6em;
    padding-left: 0.5em;
    vertical-align: middle;
}

.breadcrumbs ul li:last-of-type a i {
    display: none;
}


/* Home Page Open House */

#school_openhouse {
    background-color: var(--blue);
    padding: 1.5em 0;
    text-align: center;
}

#school_openhouse p {
    font-size: 1.3em;
    color: #FFFFFF;
}

#school_openhouse a {
    margin-top: 1em;
}


/* Home Page Blog Posts */

h2.home-blog-header {
    text-align: center;
    padding: 0 0 .25em;
}

body.home #blog_posts .blog-item:nth-of-type(4) {
    display: none;
}

.blog-item {
    margin-bottom: 2em;
}

.blog-text {
    display: block;
    position: relative;
    background-color: var(--blue);
    color: #fff;
    padding: 1em 1em 2em;
}

.blog-text h3 {
    font-size: 1.5em;
}

.blog-text p {
    padding-bottom: 1em;
}

.blog-text a {
    display: block;
    color: #fff;
}

.blog-text h3 a {
    padding-bottom: .75em;
}

.blog-text a:hover,
.blog-text a:active {
    text-decoration: none;
}

.blog-text a.read-more {
    text-align: right;
}

a.read-more {
    display: block;
    font-weight: 400;
    padding-bottom: .75rem;
    position: absolute;
    bottom: 0;
    right: 1em;
    width: 85%;
    text-align: right;
}


/* Bottom Links to Forms */

#form_links {
    padding: 2em 0;
    display: none;
}

#form_links ul {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1em;
}

#form_links li {
    display: block;
    width: 100%;
}

#form_links a {
    display: block;
    text-align: center;
    font-size: 1.2em;
    font-weight: 500;
    border: 4px solid var(--blue);
    border-radius: 3px;
    padding: 1em 0;
    text-decoration: none;
    color: var(--blue);
}

#form_links a:hover {
    background: var(--blue);
    color: #FFFFFF;
}

#form_links a i {
    font-size: 0.8em;
    margin-left: 0.5em;
}

#form_links a:hover i {
    color: var(--green);
}


/* Stratford Style Buttons */

.stratford-button {
    display: inline-block;
    font-size: 1.2em;
    border: 4px solid var(--black);
    border-radius: 3px;
    padding: 0.5em 3em;
    text-decoration: none;
    color: var(--black);
    text-align: center;
}

.stratford-button:hover {
    color: #FFFFFF;
    cursor: pointer;
    text-decoration: none;
}

.stratford-button.solid {
    box-shadow: 1px 1px 2px 0 var(--shade);
}

.stratford-button i {
    font-size: 0.8em;
    margin-left: 0.5em;
}

.stratford-button.ps {
    border-color: var(--green);
}

.stratford-button.solid.ps,
.stratford-button.ps:hover {
    background: var(--green);
}

.stratford-button.es {
    border-color: var(--ltblue);
}

.stratford-button.solid.es,
.stratford-button.es:hover {
    background: var(--ltblue);
}

.stratford-button.ms {
    border-color: var(--gold);
}

.stratford-button.solid.ms,
.stratford-button.ms:hover {
    background: var(--gold);
}

.stratford-button.hs {
    border-color: var(--yellow);
}

.stratford-button.solid.hs,
.stratford-button.hs:hover {
    background: var(--yellow);
}

.stratford-button.all {
    color: var(--blue);
    border-color: var(--blue);
}

.stratford-button.solid.all,
.stratford-button.all:hover {
    color: #FFFFFF;
    background: var(--blue);
}

.stratford-button.red {
    color: #FFFFFF;
    background: var(--red);
    border-color: var(--red);
}

.stratford-button.solid.red,
.stratford-button.red:hover {
    color: #FFFFFF;
    background: var(--red);
}

.stratford-button.blue, .stratford-forms input[type="submit"].blue {
	background:var(--blue);
	border-color:var(--blue);
	color:#FFFFFF;
}
.stratford-button.blue:hover, .stratford-forms input[type="submit"].blue:hover {
	background: #034d89;
	border-color: #034d89;
}

/* School Level Dots */

ul.school-levels {
    display: flex;
    justify-content: center;
    align-content: space-between;
}

ul.school-levels li {
    display: inline-grid;
    align-items: center;
    text-align: center;
    margin: 4px;
    border-radius: 100%;
    color: #FFF;
    box-shadow: 1px 1px 2px 0 var(--shade);
    text-shadow: none;
    font-size: 1em;
    line-height: 1;
    width: 2.2em;
    height: 2.2em;
}

ul.school-levels li.ps,
#programs .program.ps a.mobile {
    background: var(--green);
}

ul.school-levels li.es,
#programs .program.es a.mobile {
    background: var(--ltblue);
}

ul.school-levels li.k,
#programs .program.k a.mobile {
    background: var(--ltblue);
}

ul.school-levels li.ms,
#programs .program.ms a.mobile {
    background: var(--gold);
}

ul.school-levels li.hs,
#programs .program.hs a.mobile {
    background: var(--yellow);
}

ul.school-levels li.all,
#programs .program.all a.mobile {
    background: var(--blue);
}


/* Home Page - Program Links */

#programs {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
}

#programs .program {
    flex-basis: 100%;
    text-align: center;
    box-sizing: border-box;
}

#programs .program-container {
    display: none;
}

#programs .program-mobile {
    display: block;
}

#programs .program-mobile a {
    display: block;
    font-size: 1.8em;
    padding: 0.8em 0;
    color: #FFF;
    text-decoration: none;
}


/* Sub Page Menu Grid */

.subpage-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: auto;
    grid-gap: 1.5em;
}

.subpage-grid-item {
    position: relative;
}

.subpage-grid-item img {
    width: 100%;
    display: block;
}

.subpage-grid-item-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    text-shadow: var(--textshadow);
}

.subpage-grid-item p {
    display: none;
}

.subpage-grid-item p.learn-more {
    margin-top: 1em;
}

.subpage-grid-item p.learn-more i {
    font-size: 0.8em;
}

.subpage-grid-item a {
    color: #FFF;
}


/* Program Page - Subjects */

#subjects {
    width: 100%;
    /* display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto;
	grid-column-gap: 3em; */
}

#subjects .subject {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 25% auto;
    grid-gap: 1rem;
    margin-bottom: 1rem;
}

#subjects .subject img {
    /* float: none;
	display: block;
	width: auto;
	margin: auto;
	height: auto;
	max-height: 8em;
	margin-bottom: 0.5em; */
}

#subjects .subject p {
    font-size: 1em;
    line-height: 1.4;
}


/* Program Page - Grades */

#grades {
    padding: 2em 0;
    background: #ECECEC;
}


/* Program Page - Find Your Campus */

#find_campus {
    padding: 2em 0;
}

#find_campus .wrap {
    max-width: 880px;
}

#find_campus h2 {
    color: var(--blue);
    text-align: center;
    margin-bottom: 0.5em;
}

#find_campus img {
    margin: 0 auto 1.5em;
    display: block;
}

.find-campus-content {
    text-align: center;
}

.find-campus-content p {
    text-align: left;
}

.find-campus-content ul {
    display: block;
    padding: 1em 0;
    text-align: left;
}

.find-campus-content ul li {
    display: block;
    margin: 0.7em 0;
}
#find_campus ul.high-school li {
  border: 1px solid #143762;
  text-align: center;
  padding: 1em;
}
#find_campus ul.high-school li h5 {
  color: #143762;
  font-size:20px;
  margin-bottom:0.3rem;
}
#find_campus ul.high-school li span {
  display:block;
  color:#7F8184;
  margin-bottom: 0.5rem;
}
#find_campus ul.high-school li .stratford-button {
  border:1px solid var(--red);
  margin: .7rem 1rem;
}
#find_campus ul.high-school li a.stratford-button.visit:hover {
  color: var(--red);
}

/*	Footer */

footer {
    margin: 1em 0 0;
    padding: 0 0 9em;
    color: var(--blue);
    font-weight: 300;
}

footer [id*='menu-footer-nav'] {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 60%;
}

footer [id*='menu-footer-nav'] li {
    /* display: inline-block; */
    font-weight: 300;
    font-size: .85rem;
    margin-bottom: .75rem;
}

footer [id*='menu-footer-nav'] li a {
    color: var(--blue);
    /* display: inline-block; */
    padding: 0 .5em;
    margin-bottom: .75em;
    border-right: 1px solid #ccc;
}

footer [id*='menu-footer-nav'] li:last-of-type a {
    border-right: none;
}

footer span.footer-copyright {
    display: block;
    margin: 2em 0 0;
    font-size: 0.85em;
    text-align: center;
}

footer .accreditation {
    width: 70px;
    vertical-align: middle;
}

footer .footer-logo {
    display: block;
    width: 120px;
    position: absolute;
    bottom: 80px;
    right: 1.5em;
}


footer p.legal {
    max-width: 720px;
    font-size: .75em;
    padding: 10px 0 0 8px;
    line-height: 1.25em;
    font-weight: 300;
}

/* Share Buttons */

.stratford-share {}

.stratford-share li {
    display: inline-block;
    margin: 0 4px;
}

.stratford-share li i {
    color: var(--blue);
}

.stratford-social-links {
    display: block;
    /* max-width: 200px; */
    /* background: #ECECEC; */
    padding: 1rem 0rem;
    margin: 0 0 2rem;
    border-radius: 6px;
    /* text-align: center; */
}

.stratford-social-links li {
    display: inline-block;
    margin: 0 0.5rem;
}

.stratford-social-links li i {
    font-size: 1.5rem;
    color: var(--blue);
}


/* Force Active.com campus filter width */

.filter-campus .select2-container {
    min-width: 320px !important;
}


/* Health & Safety subheads */

.blogid-1 #health_safety li h2 {
    font-size: 1.5rem;
}


/* Site Map */

.slug-sitemap #content {
    min-height: 0em;
}

.site-map .children {
    display: block!important;
}

ul.site-map {
    list-style: none;
    padding: 0 0 0 3em;
}

ul.site-map ul.sub-menu,
ul.site-map ul.children {
    list-style: none;
    margin: 1em 0 0 2em;
}

ul.site-map li {
    margin-bottom: 1em;
}

ul.site-map li ul.children {
    margin-top: 0.5em;
}

ul.site-map li li {
    margin-bottom: 0.5em;
}

ul.site-map li a {
    text-decoration: none;
    font-weight: bold;
    color: var(--blue);
}

ul.site-map li ul.sub-menu li a,
ul.site-map li ul.children li a {
    font-weight: normal;
}

.reach-infograph {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto auto auto;
    column-gap: 10px;
    row-gap: 20px;
    justify-items: start;
    align-items: start;
    max-width: auto;
    padding: 30px 0;
}

.lg {
    width: 100%;
}

.lg h5 {
    font-size: 180px;
    line-height: 130px;
    color: #62bc44;
    text-transform: uppercase;
    margin: 0;
    text-align: left;
    font-weight: 900;
    font-family: 'Helvetica';
    margin-left: -12px;
}

.desc h6 {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
    color: #62bc44;
    text-transform: capitalize;
    margin: 0;
    text-align: left;
}

.desc h6::first-letter {
    font-size: 150%;
    font-weight: 800;
    color: #6b6f75;
}

.desc p {
    font-size: 12px;
    color: #4f5054;
}

.lg.R,
.lg.E,
.lg.A,
.lg.C,
.lg.H {
    grid-column-start: 1;
    grid-column-end: 1;
}

.lg p {
    display: none;
}

.lg.A h6 {
    margin-left: -3px;
}

.desc.respect,
.desc.excell,
.desc.always,
.desc.collab,
.desc.high {
    grid-column-start: 2;
    grid-column-end: 2;
}

.lg.R {
    grid-row-start: 1;
    grid-row-end: 1;
}

.desc.respect {
    grid-row-start: 1;
    grid-row-end: 1;
}

.lg.E {
    grid-row-start: 2;
    grid-row-end: 2;
}

.desc.excell {
    grid-row-start: 2;
    grid-row-end: 2;
}

.lg.A {
    grid-row-start: 3;
    grid-row-end: 3;
}

.desc.always {
    grid-row-start: 3;
    grid-row-end: 3;
}

.lg.C {
    grid-row-start: 4;
    grid-row-end: 4;
}

.desc.collab {
    grid-row-start: 4;
    grid-row-end: 4;
}

.desc.high {
    grid-row-start: 5;
    grid-row-end: 5;
}

@media only screen and ( min-width: 375px) {
    #nobel_locator_simple .search-container {
        grid-template-areas: 'search search' 'myloc allschools';
    }
}

@media only screen and ( min-width: 580px) {
    .hero-container.video~.hero-container.image img {
        width: 100%;
        height: auto;
    }
}

@media only screen and ( min-width: 600px) {
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.8em;
    }
    h3 {
        font-size: 1.6em;
    }
    h4 {
        font-size: 1.4em;
    }
    h5 {
        font-size: 1.2em;
    }
    h6 {
        font-size: 1.1em;
    }
    #blog_posts {
        display: grid;
        grid-template-columns: 48% 48%;
        grid-column-gap: 4%;
        grid-row-gap: auto;
        grid-auto-rows: 1fr;
    }
    .blog-item {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto 2fr;
    }
    body.home #blog_posts .blog-item:nth-of-type(4) {
        display: block;
    }
    footer [id*='menu-footer-nav'] {
        width: 80%;
        text-align: left;
    }
    footer [id*='menu-footer-nav'] li {
        font-weight: 400;
    }
    /* Sub Page Menu Grid */
    .subpage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .events-template-default.single #main {
        padding-top: 140px;
    }
}

@media only screen and ( min-width: 768px) {
    .flex-container {
        padding: 25px 0;
        flex-direction: row;
    }
    .flex-container>.flex-child {
        margin-right: 25px
    }
    .flex-container>.flex-child:last-of-type {
        margin-right: 0
    }
    .entry-content p.sm-text {
        font-size: .8em;
    }
    img.center {
        display: block;
        margin: 0 auto;
    }
    .flex-child.extra-padding {
        padding: 15px 35px;
        box-sizing: border-box;
    }
    #sec-row img {
        max-height: 115px;
    }
    .logo-strip .flex-child {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
    .logo-wrap {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: absolute;
        height: 100%;
        left: 0;
        top: 0;
        width: 100px;
    }
    .flex-container .img-wrap-center-vert {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        align-items: center;
    }
    .flex-container .third {
        width: 33%;
    }
    #sec-row.flex-container .third {
        position: relative;
        padding-bottom: 70px;
        justify-content: center;
    }
    .flex-container .twothird {
        width: 66%;
    }
    .cl-stripe {
        padding: 20px;
        box-sizing: border-box;
    }
    .cl-stripe>.wrap {
        padding-left: 140px;
    }
    .cl-stripe h4 {
        font-weight: 700;
    }
    .st-head {
        margin-bottom: 0;
    }
    .entry-content .cl-stripe p {
        margin-bottom: .65em;
    }
    .light-orange {
        background-color: rgba(242, 169, 0, 0.5);
        padding: 5px;
    }
    .light-orange h3 {
        margin-bottom: 0 !important;
    }
    .orange {
        background-color: #F7C87A;
    }
    .blue {
        background-color: #87CDF1;
    }
    .green {
        background-color: #B1D89C;
    }
    .entry-content img.subject-logo {
        max-width: 100px;
    }
    .entry-content .logo-strip p {
        margin-bottom: 0;
        position: absolute;
        z-index: 10;
        bottom: 15px;
        width: 100%;
        left: 0;
        padding: 0 55px;
        box-sizing: border-box;
    }
    .reach-infograph {
        grid-template-columns: auto auto auto auto auto;
        grid-template-rows: auto auto;
        column-gap: 20px;
        padding: 30px;
    }
    .lg h5 {
        font-size: 200px;
        line-height: 150px;
    }
    .desc p {
        font-size: 14px;
    }
    .lg.R,
    .lg.E,
    .lg.A,
    .lg.C,
    .lg.H {
        grid-row-start: 1;
        grid-row-end: 1;
    }
    .desc.respect,
    .desc.excell,
    .desc.always,
    .desc.collab,
    .desc.high {
        grid-row-start: 2;
        grid-row-end: 2;
    }
    .lg.R {
        grid-column-start: 1;
        grid-column-end: 1;
    }
    .desc.respect {
        grid-column-start: 1;
        grid-column-end: 1;
    }
    .lg.E {
        grid-column-start: 2;
        grid-column-end: 2;
    }
    .desc.excell {
        grid-column-start: 2;
        grid-column-end: 2;
    }
    .lg.A {
        grid-column-start: 3;
        grid-column-end: 3;
    }
    .desc.always {
        grid-column-start: 3;
        grid-column-end: 3;
    }
    .lg.E {
        grid-column-start: 2;
        grid-column-end: 2;
    }
    .desc.excell {
        grid-column-start: 2;
        grid-column-end: 2;
    }
    .lg.C {
        grid-column-start: 4;
        grid-column-end: 4;
    }
    .desc.collab {
        grid-column-start: 4;
        grid-column-end: 4;
    }
    .lg.H {
        grid-column-start: 5;
        grid-column-end: 5;
    }
    .desc.high {
        grid-column-start: 5;
        grid-column-end: 5;
    }
    .wrap {
        padding: 0 2.5em;
    }
    #wrapper {
        font-size: 1em;
    }
    .brand-page #branding #blog-title h1 {
        font-size: 1em;
    }
    .page-template-template-locator #locator_searchbox {
        bottom: auto;
    }
    #main_menu {
        left: auto;
        width: 45%;
    }
    #navbar_search_toggle {
        right: 311px;
    }
    body.home .hero-title.flex {
        min-height: 200px;
    }
    .hero-title.flex {
        min-height: 260px;
    }
    .hero-title h2 {
        font-size: 3rem;
    }
    .hero-title p {
        display: block;
    }
    .page-template-template-program:not(.slug-high-school) {
        background-image: url('../images/ring-green.png'), url('../images/ring-blue.png'), url('../images/ring-yellow.png');
        background-position: left -220px top 300px, right -450px top 1000px, left -600px top 1400px;
        background-repeat: no-repeat, no-repeat, no-repeat;
    }
    /* .page-template-template-program #grades {
		background-image: url('../images/ring-blue.png');
		background-position: right -450px top 68.5%;
		background-repeat: no-repeat;
	} */
    #blog_posts {
        display: grid;
        grid-template-columns: 48% 48%;
        grid-column-gap: 4%;
        grid-row-gap: auto;
        grid-auto-rows: 1fr;
    }
    .blog-item {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto 2fr;
    }
    #school_openhouse {
        background: url('../images/stratford-badge-white.png');
        background-position: 12% center;
        background-size: auto 90%;
        background-repeat: no-repeat;
        background-color: var(--blue);
    }
    #stratford_link {
        display: flex;
        position: absolute;
        top: 0;
        right: 185px;
    }
    #nobel_locator_link {
        display: flex;
        position: absolute;
        top: 0;
        right: 75px;
        width: 110px;
        align-items: center;
        justify-content: center;
    }
    #locator_searchbox {
        position: absolute;
        top: 100%;
        left: auto;
        right: 0;
        bottom: auto;
        padding: 0.8em 1em;
        margin: 0 0 0 0;
        min-width: 20em;
    }
    #locator_searchbox {
        background: var(--blue);
    }
    #locator_searchbox .search-field button {
        background: var(--red);
    }
    #locator_searchbox .locator-nearme,
    #locator_searchbox .locator-submit {
        background: var(--red);
        border-color: var(--red);
    }
    #nobel_locator_simple .search-container {
        display: grid;
        grid-template-columns: auto 9em;
        grid-column-gap: 1em;
        grid-template-rows: auto;
        box-sizing: content-box;
        margin: 0 0 0.5em;
    }
    .mobile-quick-links {
        display: none;
    }
    /* body.slug-find-your-campus #locator_searchbox {
		display: block;
	} */
    form.nobel-locator p.search-all a {
        font-size: 1em;
    }
    form.nobel-locator button.locator-submit {
        font-size: 0.9em;
    }
    div.form-sec {
        width: 48%;
        float: left;
    }
    div.form-sec:nth-of-type(2) {
        float: right;
    }
    form.nobel-locator span.search-all {
        vertical-align: bottom;
        text-align: left;
    }
    div.form-sec,
    div.form-sec:nth-of-type(2) {
        width: auto;
        float: none;
    }
    #programs {
        grid-template-columns: auto;
        grid-template-rows: repeat( 3, 1fr);
    }
    #programs .program {
        background: #FAFAFA;
        padding: 2em 4em;
    }
    #programs .program-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        height: 100%;
        min-height: auto;
    }
    #programs .program-mobile {
        display: none;
    }
    #programs .program:nth-of-type(even) {
        background: #ECECEC;
    }
    #programs .program p {
        /* min-height: 5em; */
    }
    #programs .program a {
        margin: 1em 0 0;
    }
    #programs .program ul.school-levels li {
        font-size: 1.6em;
    }
    /* Program Page - Subjects */
    #subjects {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-column-gap: 3em;
    }
    #subjects .subject {
        box-sizing: border-box;
        display: block;
    }
    #subjects .subject img {
        float: none;
        display: block;
        width: auto;
        margin: auto;
        height: auto;
        max-height: 8em;
        margin-bottom: 0.5em;
    }
    #subjects .subject p {
        font-size: 1em;
        line-height: 1.8;
        text-align: center;
    }
    #find_campus img {
        float: left;
        max-width: 400px;
        margin: 0 2em 2em 0;
    }
    .find-campus-content {
        text-align: left;
    }

    /* #subjects {
		grid-template-columns: 1fr 1fr 1fr;
		grid-template-rows: auto;
	} */
    #form_links {
        display: block;
        clear: both;
    }
    #form_links ul {
        grid-template-columns: repeat(6, 1fr);
    }
    #form_links ul li {
        grid-column: span 2;
    }
    #form_links ul li:first-of-type {
        grid-column: 2 / span 2;
    }

    .page-list-dropdown.mobile-only{
        display: none;
    }
}

@media only screen and ( min-width: 960px) {
    body.home #blog_posts .blog-item:nth-of-type(4) {
        display: none;
    }
    .hero-container.video~.hero-container.image {
        display: none;
    }
    .hero-container.video {
        display: block;
        height: 440px;
        overflow: hidden;
    }
    .hero-container .home-video {
        display: block;
        position: absolute;
        top: -380px;
        left: 0;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        /* ms-transform: translateX(-50%) translateY(-50%);
		-webkit-transform: translateX(-50%) translateY(-50%);
		-o-transform: translateX(-50%) translateY(-50%);
		-moz-transform: translateX(-50%) translateY(-50%);
		transform: translateX(-50%) translateY(-50%); */
        z-index: -100;
    }

    .hero-container .home-video.landing-page-video {
     top: 0;
    }

    #blog_posts {
        grid-template-columns: 32% 32% 32%;
        grid-column-gap: 2%;
    }
    footer {
        padding: 0 0 4em;
    }
    footer .footer-logo {
        right: 2.5em;
    }
    footer .footer-logo {
        display: block;
        width: 130px;
        position: absolute;
        bottom: 12px;
    }
    footer [id*='menu-footer-nav'] li {
        font-size: 1.1rem;
    }
    /* Sub Page Menu Grid */
    .subpage-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .subpage-grid-item:hover {
        cursor: pointer;
    }
    .subpage-grid-item:hover .shade {
        background: var(--blue);
        border: 0.3em solid var(--blue);
        top: -0.3em;
        left: -0.3em;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    }
    .subpage-grid-item:hover .subpage-grid-item-content {
        text-shadow: none;
    }
    .subpage-grid-item:hover p {
        display: block;
    }
    #locator_searchbox #nobel_locator .locator-submit {
        padding: 0.5em 2rem;
    }
}

@media only screen and ( min-width: 1184px) {
    a.stratford-mobile-link {
        display: none;
    }
    #navbar_search_toggle {
        position: static;
        padding: 0 .75em 0 .5em;
    }
    #nobel_locator_link {
        display: flex;
        position: static;
    }
    #navbar_search_form {
        width: 100%;
    }
    #stratford_link {
        display: flex;
        position: static;
    }
    #locator_searchbox {
        position: absolute;
        top: 100%;
        right: 2.5em;
        min-width: 24em;
        padding: 1em 1.2em;
        margin: 0 0 0 0;
    }
    #header .wrap {
        display: grid;
        grid-template-columns: max-content auto;
        grid-gap: 2em;
    }
    #menu_container {
        display: grid;
        grid-template-columns: auto max-content max-content;
        justify-content: right;
        grid-auto-flow: column;
    }
    #menu_toggle {
        display: none;
    }
    #main_menu {
        display: block;
        position: static;
        background: none;
        height: auto;
    }
    #main_menu ul.menu {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        grid-template-rows: auto;
    }
    #main_menu ul.menu>li {
        border-bottom: 0 !important;
        position: relative;
    }
    #main_menu ul.menu li a {
        color: var(--black);
        display: flex;
        place-items: center;
        text-align: center;
        height: 70px;
        padding: 0 1em;
        font-size: 0.9em;
        line-height: 1.4;
    }
    #main_menu ul li.menu-item-has-children::after,
    #main_menu ul li.page_item_has_children::after {
        content: '';
        display: none;
    }
    #main_menu ul li:hover a,
    #main_menu ul li:hover a {
        background: var(--red);
        color: #FFF;
    }
    #main_menu ul li.menu-item-has-children ul.sub-menu,
    #main_menu ul li.page_item_has_children ul.children {
        display: none;
        background: var(--red);
        min-width: 250px;
    }
    #main_menu ul li.menu-item-has-children:hover ul.sub-menu,
    #main_menu ul li.page_item_has_children:hover ul.children {
        display: block;
        position: absolute;
        top: 100%;
        z-index: 999;
    }
    #main_menu ul li.menu-item-has-children:last-of-type:hover ul.sub-menu,
    #main_menu ul li.page_item_has_children:last-of-type:hover ul.children {
        right: 0;
    }
    #main_menu ul li.menu-item-has-children:hover ul.sub-menu a,
    #main_menu ul li.page_item_has_children:hover ul.children a {
        text-align: left;
        height: auto;
        padding: 1em 1em;
        background: none;
    }
    #main_menu ul li.menu-item-has-children:hover ul.sub-menu a:hover,
    #main_menu ul li.page_item_has_children:hover ul.children a:hover {
        background: var(--ltblue);
        color: #FFFFFF;
        cursor: pointer;
    }
    #main_menu ul li.menu-item-has-children>a,
    #main_menu ul li.page_item_has_children>a {
        margin-right: 0;
    }
}

@media only screen and ( min-width: 1184px) {
    .wrap {
        padding: 0 0;
    }
    #locator_searchbox {
        right: 0;
    }
    .hero-container.video {
        height: 500px;
    }
    .entry-content-video {
        float: right;
        width: 45%;
        margin: 0 0 1.5em 1.5em;
    }
    #programs {
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
        grid-template-rows: auto;
    }
    #form_links ul {
        grid-gap: 2em;
    }
    #subjects {
        grid-template-columns: repeat( 4, 1fr);
        grid-template-rows: auto;
    }
    footer .footer-logo {
        right: 0;
    }
}


/* Hide dummy site from toolbar for logged-in users */

#wp-admin-bar-blog-2 {
    display: none;
}