@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700,900');

body {
    font-family: 'Montserrat', sans-serif;
    background: #2d5c2a;
}
a {
    color: #81bf78;
}
a:hover {
    color: #bad6b5;
}
h1,h2,h3,h4,h5,h6 {
    font-family: 'Montserrat', sans-serif;
}

.siteheader {
    max-width: none;
}

.cont-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.textblock {
    font-size: 16px;
    line-height: 24px;
    color: white;
}

.home .textblock {
    font-size: 15px;
}
.modal-backdrop {
    z-index: 1040000;
}
.modal {
    z-index: 105000000;
}
/* Header */


.toolbar {
    background-color: #2d5c2a;
    padding: 0;
    z-index: 100000000;
    position: relative;
}

.toolbar .sitenavigation {
    width: 840px;
    float: left;
    padding: 0;
    margin-top: 14px;
    /*height: 34px !important;*/
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.skiptranslate.goog-te-gadget > span {
    display: none;
}

.hamburger {
    display: none;
}

.tools {
    float: right;
    margin-top: 8px;
    position: relative;
}

.school_name {
    width: 100%;
    float: left;
    padding: 10px 0;
    background: transparent url(../img/wave.png) no-repeat center / cover !important;
    position: absolute;
    top: 0px;
    z-index:1000000;
    height: 370px;
}

#google_translate_element {
    padding: 0;
    display: inline-block;
    background: transparent url(../img/google.svg) no-repeat 10px center / 15px;
    width: 120px;
    height: 30px;
    border-radius: 4px;
    color: white;
    border: 1px solid white;
    margin-right: 10px;
    font-size:13px;
}

.tools > span {
    color: white;
    font-size: 13px;
    display: inline-block;
    margin: 0 10px 0 25px;
    position: absolute;
    top: 5px;
    left: 125px;
}

.sitesearch #inputSearch {
    height: 27px;
    position: relative;
    z-index: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight :normal;
}

#google_translate_element > div > div > span > a > span {
    display: none;
}

#google_translate_element > div > div > span > a > span:first-child {
    margin-left: 5px;
    font-family: 'Open Sans', sans-serif;
    display: none;
}

.goog-te-gadget-simple .goog-te-menu-value span {
    color: white;
}

#google_translate_element > div > div > img {
    display: none;
}

#google_translate_element .skiptranslate.goog-te-gadget {
    background: transparent;
    color: white;
    font-size: 0;
}
.goog-logo-link, .goog-logo-link:link, .goog-logo-link:visited, .goog-logo-link:hover, .goog-logo-link:active {
    font-size: 0;
}

.goog-logo-link > img {
    display: none;
}

#google_translate_element > span {
    padding-left: 40px;
    font-size: 14px;
    width: 200px;
    display: block;
    position: relative;
    top: 4px;
}

.goog-te-gadget .goog-te-combo {
    margin: 0;
    background: transparent;
    width: 100%;
    height: 30px;
    color: rgba(0,0,0,0);
    border: none;
    position: relative;
    z-index: 1;
}
.sitemessage.hidden {
    display: none;
}

.goog-te-gadget-simple {
    border: none;
    background: transparent;
}

.loginbutton {
    background: transparent;
    border: 1px solid white;
    border-radius: 4px;
    height: 30px;
    line-height: 27px;
    padding: 0 10px 0 0;
    display: inline-block;
    float: right;
    font-size: 13px;
}

.loginbutton:hover {
    background: transparent;
    border: 1px solid white !important;
}
.important_message_outer {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: rgba(0,0,0,0.8);
    position: fixed;
    top: 0;
    z-index: 10000;
}
.important_message {
    width: 460px;
    height: auto;
    max-height: 600px;
    position: fixed;
    left: 0;
    right: 0;
    top: 200px;
    margin: auto;
    background: white;
    z-index: 1000000;
    border-top: 7px solid #f7d447;
    padding: 20px;
    font-family: 'TodayLight';
}

.important_message > i {
    position: absolute;
    top: -32px;
    right: -23px;
    background: #f7d447;
    color: white;
    border-radius: 50%;
    padding: 15px;
    font-size: 20px;
    cursor: pointer;
}

.important_message .important_message_image {
    background: url(../img/important_notice.jpg) no-repeat center / cover;
    width: 100%;
    height: 185px;
    display: block;
    position: relative;
}

.important_message h3 {
    text-align: center;
    color: #545454;
    font-size: 24px;
    font-family: 'TodayCaps';
    margin-top: 0;
}

span.caption {
    background: rgba(0,0,0,0.6);
    color: white;
    font-family: 'TodayCaps';
    position: absolute;
    bottom: 0;
    padding: 5px 15px;
    font-size: 20px;
    font-weight: bold;
    height: 40px;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-width: 100%;
}

.important_message_body {
    background: #f7d447;
    margin-top: -10px;
    padding: 20px;
    font-size: 22px;
    text-align: center;
    overflow: scroll;
    max-height: 302px;
}

.important_message_body h4 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

.important_message_footer {
    background: #4c4c4e;
    height: 40px;
    color: white;
    font-size: 18px;
    text-align: center;
    line-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-width: 100%;
    padding: 0 15px;
}

.login-icon {
    background: transparent url(../img/eschools-owl.svg) no-repeat 9px center / 15px;
    width: 25px;
    height: 30px;
    float: left;
    border-radius: 4px;
    margin-right: 10px;
}

.sitesearch {
    border-radius: 4px;
    background: transparent;
    width: 105px;
    float: left;
    color: white;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid white;
    margin-right: 10px;
    height:30px;
}


.sitesearch .btn {
    border-radius: 4px !important;
    border: none;
    background-color: transparent;
    height: 30px;
    width: 30px;
    padding: 0;
}

.sitesearch .btn .fa {
    color: #82bf78;
    position: relative;
    top: 0;
    font-size: 18px;
}

.sitesearch input {
    border: none;
    background: transparent;
    box-shadow: none !important;
    color: white;
    padding-left: 6px;
    font-size: 14px;
}

.sitesearch .input-group-btn {
    padding: 0;
    margin: 0;
}


input::-webkit-input-placeholder {
    color: #ffffff !important;
}
input:-moz-placeholder {
    color: #ffffff !important;
}
input::-moz-placeholder {
    color: #ffffff !important;
}
input:-ms-input-placeholder{
    color: #ffffff !important;
}
.header_school_name {
    background: url(../img/logo.png) no-repeat left center / contain;
    height: 139px;
    width: 173px;
    display: block;
    padding-left: 0;
    text-indent: -9999px;
    float: left;
    margin-right: 40px;
    margin-top: 90px;
}

.school_name .name {
    display: inline-block;
    vertical-align: middle;
    padding-bottom: 15px;
}

.school_name h1 {
    font-size: 40px;
    color: #545454;
    margin: 0;
}

.school_name h2 {
    margin: 40px 0 0 0;
    font-size: 28px;
    line-height: 28px;
    color: #41933c;
    font-family: 'Helvetica', sans-serif;
    font-weight: bold;
}

.border {
    width: 100%;
    display: block;

}

.homebox-news .news-item h3.title a {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 236px;
    padding-top: 214px;
    padding-left: 20px;
}

.light-grey {
    height: 10px;
    background: #cfcdcd;
}

.mid-grey {
    height: 5px;
    background: #a5944e;
}

.yellow {
    height: 13px;
    background: #f7d447;
}

.dark-grey {
    height: 9px;
    background: #545454;
}

.carouselControls {
    display: none;
}
/* End Header */

/* Site navigation */

.sitenavigation {
    color: white;
}

.sitenavigation .nav.navbar-nav {
    max-width: 68em;
    margin: auto;
    float: none;
    height: 34px;
}

.sitenavigation .nav.navbar-nav > li a {
    color: white;
    font-size: 14px;
    padding: 0;
    height: 34px;
    font-weight: bold;
}

.sitenavigation .nav.navbar-nav > li > a:hover {
    background: transparent;
    color: #82bf78
}

.sitenavigation .nav.navbar-nav > li ul li a:hover {
    color: #545454;
    background: transparent;
}
.navbar-nav > li > .dropdown-menu {
    background: #82bf78;
}
ul.nav li.dropdown:hover > ul.dropdown-menu {
    margin-left: -16px;
    padding: 10px 15px 0 15px;
}

.btn-success:hover, .btn-success:focus, .btn-success.focus, .btn-success:active, .btn-success.active, .open > .btn-success.dropdown-toggle {
    background: transparent;
    border: none;
}
.staff-heading {
    position: relative;
    margin-bottom: 10px;
}
.staff-heading strong {
    background: #f7d447;
    color: #545454;
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    padding: 9px;
}

.staff-heading .fa {
    position: absolute;
    font-size: 28px;
    right: 10px;
    top: 5px;
    color: #545454;
}

.sitenavigation .nav.navbar-nav > li > a::after {
    content: '';
    background: white;
    display: inline-block;
    width: 2px;
    height: 14px;
    position: relative;
    top: 1px;
    margin: 0 15px;
}

.sitenavigation .nav.navbar-nav > li:last-child a::after {
    display: none;
}

table {
    border: 1px solid #ddd;
    text-align: center;
}

.sitecontent.staff_page table {
    margin-top: -10px;
    width: 100% !important;
}

table td {
    height: 46px;
    background-color: #fff;
    padding: 5px;
    color: #41933c;
}

table td:first-child {
    border-right: 1px solid #ddd;
}

    /* End of site navigation */


/* Important message */

.sitemessage {
    background: #0e2fa6;
    color: white;
    margin-bottom: 20px;
    line-height: 20px;
    padding: 10px;
}

/* End of important message */

/* Homeslider */

.carousel {
    margin: 20px 0;
}

.homeslider {
    margin-top: 50px;
    position: relative;
}

.homeslider .carouselInner {
    height: 650px !important;
}
.homeslider .carousel {
    margin: 0;
}
.homeslider .carousel .carouselInner {
    height: 650px !important;
}

.homeslider .carousel .carouselInner .carouselItem {
    width: 100%;
    height: 650px !important;
    background-size: cover;
}

.welcometext {
    background: rgba(45,92,42,0.7);
    height: 650px;
    width: 500px;
    z-index: 100000;
    color: white;
    padding: 150px 0 20px 40px;
    overflow: hidden;
    position: absolute;
    right: 0;
}

.opaque-background {
    background: rgba(45,92,42,0.7);
    right: 0;
    position: absolute;
    height: 650px;
    z-index: 100000;
}

.newsfeed {
    background: #82bf78;
    height: 40px;
    line-height: 40px;
    color: white;
}

.scrollmessage {
    width: 1200px;
    background: #41933c;
    height: 40px;
    margin: auto;
    overflow: hidden;
    position: relative;
    font-weight: 700;
}

.scrollmessage::before {
    content: 'Newsflash';
    background: url(../img/newsfeed-before.png) no-repeat center / contain;
    width: 148px;
    height: 40px;
    display: inline-block;
    text-align: right;
    padding-right: 40px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    position: absolute;
}

.scrollmessage::after {
    content: '';
    background: url(../img/newsfeed-after.png) no-repeat center / contain;
    width: 21px;
    height: 40px;
    display: inline-block;
    text-align: right;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    position: absolute;
    right: 0;
}

.welcometext h1 {
    color: #82bf78;
    font-size: 34px;
    font-weight: 700;
    margin-top: 0;
}
.welcometext h1 span {
    font-size: 24px;
}

    /* End of Homeslider */

.homesections {
    width: 100%;
    height: 242px;
    position: relative;
    z-index: 0;
}

.homesection {
    width: 33.333333%;
    float: left;
    position: relative;
}

.cookie-consent {
    background: #82bf78 !important;
    color: #fff !important;
}

body .cookie-consent .pull-right a.btn-edit {
    background: #82bf78 !important;
    border: 2px solid #fff !important
}

.cookie-consent span,
.cookie-consent span a,
.cookie-consent .pull-right a.btn-decline,
.cookie-consent .pull-right a.btn-edit,
.cookie-consent .pull-right a.btn-success {
    color: #fff !important;
}

.cookie-consent .pull-right a.btn-success {
    background-color: #fff !important;
    color: #82bf78 !important;
}

.prospectus_download.hidden {
    display: none;
}

ul, ol {
    padding-left: 15px;
}
ul {
    list-style-type: circle;
}
ol {
    list-style-type: decimal;
    margin-top: 10px;
}
.sidenav ul, .sitenavigation ul {
    list-style: none;
}

.homesection .title {
    position: absolute;
    top: 0;
    z-index: 10000;
    color: white;
    text-align: center;
    display: block;
    margin: auto;
    left: 0;
    right: 0;
    padding: 93px 0 94px;
}

.homesection .title h3,
.homesection .title h4 {
    margin: 0;
    color: white;
    font-weight: bold;
}
.homesection .title h3 {
    margin-bottom: 10px;
}

.contact .sidenav.contact {
    margin-top: 94px !important;
}

.contact .sidenav.contact li {
    padding: 5px 0;
}

.contact .sidenav ul {
    padding: 0 20px;
}

.homesection .carousel,
.homesection .carousel .carouselInner,
.homesection .carousel .carouselInner .carouselItem {
    height: 242px !important;
    margin: 0;

}

.homesection .carousel .carouselInner .carouselItem {
    background-size: cover;
    opacity: 0.7 !important;
}

/*.homesection .carousel .carouselInner .carouselItem::after {*/
    /*content: '';*/
    /*background-color: rgba(0,0,0,0.2);*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*position: absolute;*/
    /*left: 0;*/
    /*top: 0;*/
/*}*/

/* Welcome text */

.homemain {
    width: 66%;
    background: #e9e9e9;
    padding: 30px;
    border-top: 5px solid #0e2fa6;
    float: left;
    height: 692px;
}

.homemain h1 {
    margin-top: 0;
    color: #0e2fa6;
    text-transform: uppercase;
    font-size: 32px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #9ac9e6;
}

/* End of welcome text */

.homesocial {
    margin-top: 20px;
}

.facebook-header .fa-circle {
    color: white;
}

.video-js .vjs-progress-holder .vjs-play-progress, .video-js .vjs-progress-holder .vjs-load-progress, .video-js .vjs-progress-holder .vjs-load-progress div {
    background: #f7d447;
}

.video-js .vjs-big-play-button {
    border-radius: 50% !important;
    height: 3em !important;
    margin-top: -1.5em !important;
    line-height: 2.6em !important;
    background: transparent !important;
    border: 8px solid #fff !important;
}

.vjs-icon-play:before, .video-js .vjs-big-play-button .vjs-icon-placeholder:before, .video-js .vjs-play-control .vjs-icon-placeholder:before {
    font-size: 2em;
}

.homesocial .facebook-feed {
    width: 30%;
    margin-right: 1%;
    float: left;
    overflow: hidden;
    height: 458px;
}

.homesocial .facebook-feed .facebook-header {
    background: #545454;
    height: 48px;
    padding: 4px;
}

.homesocial .facebook-feed .facebook-header h3 {
    color: white;
    display: inline;
    position: relative;
    top: 0;
    left: 5px;
    font-size: 20px;
}

.facebook-header .fa-facebook {
    font-size: 1em;
    color: #545454;
}

.facebook-header .fa-circle {
    font-size: 1.8em;
}

.homesocial .video {
    width: 68%;
    float: right;
    height: 458px;
    margin-bottom: 20px;
}

.homesocial .quicklinks {
    margin-top: 30px;
    clear: both;
}

.quicklinks .quicklink {
    width: 24%;
    height: 60px;
    margin-right: 1.33333333%;
    float: left;
    border-bottom: 7px solid #545454;
    color: white;
    text-align: center;
    font-size: 20px;
    padding: 11px 0;
}

.quicklinks .quicklink a {
    color: white;
}

.quicklinks .quicklink.blue {
    background: #9baacc;
}

.quicklinks .quicklink.yellow {
    background: #f7d447;
}

.quicklinks .quicklink:last-child {
    margin-right: 0;
}


    /* Home sidebar */

.homeside {
    width: 32%;
    float: right;
}

.homeside h2 {
    margin-top: 0;
    color: white;
    text-transform: uppercase;
    font-size: 24px;
    text-align: center;
    line-height: 35px;
}

.homeside > div {
    border-top: 5px solid #0e2fa6;
    margin-bottom: 20px;
    padding: 15px;
}

.crofty_minors {
    background: #9ac9e6;
}

.crofty_minors .carousel {
    border: 2px solid #80acda;
}

.crofty_minors .carousel .carouselInner {
    height: 195px !important;
}

.crofty_minors .carousel .carouselInner .carouselItem {
    width: 100%;
    height: 195px !important;
    background-size: cover;
}

.crofty_minors a, .house_points a, .homebox > a {
    background: #0e2fa6;
    width: 147px;
    height: 34px;
    color: white;
    text-transform: uppercase;
    display: block;
    margin: 15px auto 0;
    text-align: center;
    line-height: 34px;
    font-size: 14px;
}

.house_points {
    border-top: 5px solid #0e2fa6;
    background: #9ac9e6;
    margin-bottom: 0 !important;
}

.point {
    width: 139px;
    height: 101px;
    display: inline-block;
    border: 2px solid #80acda;
    background: white;
    text-align: center;
    padding-top: 45px;
    font-weight: bold;
    line-height: 20px;
    font-size: 16px;
}

.point.emerald, .point.diamond {
    margin-right: 10px;
}

.point.emerald, .point.topaz {
    margin-bottom: 10px;
}

.point.emerald {
    color: #76b25e;
    background: white url(../img/emerald.png) no-repeat center 10px / 30px;
}

.point.topaz {
    color: #feb841;
    background: white url(../img/topaz.png) no-repeat center 10px / 30px;
}
.point.diamond {
    color: #cdc7c7;
    background: white url(../img/diamond.png) no-repeat center 10px / 30px;
}
.point.ruby {
    color: #b5280f;
    background: white url(../img/ruby.png) no-repeat center 10px / 30px;

}
/* End of home sidebar */

/* Homeboxes */

.homeboxes {
    margin-top: 20px;
    max-width: 1200px;
}

.homebox.homebox-news {
    width: 100%;
}
.homebox-news .news-item {
    width: 241px;
    height: 236px;
    display: inline-block;
    float: left;
    margin-right: -1px;
    position: relative;
}
.homebox-news .news-icon {
    width: 100% !important;
    height: 236px !important;
    border-radius: 0 !important;
    border: 1px solid black;
}
.news-item .fa-stack {
    width: 241px !important;
    height: 236px !important;
}
.news-icon.icon {
    background: url(../img/logo.png) no-repeat center / 80% !important;
}

.news-icon.icon .fa {
    display: none !important;
}

.homebox > a {
    display: none !important;
}

.homeboxes .homebox:last-child {
    margin-right: 0 !important;
}

.homeboxes h2 {
    margin-top: 0;
    color: #0e2fa6;
    text-transform: uppercase;
    font-size: 24px;
}

.newsletter-item {
    background: url(../img/newsletter-icon.png) no-repeat center left / contain;
    height: 60px;
    margin-bottom: 15px;
}

.newsletter-item a {
    color: #0e2fa6;
    padding-left: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    width: 100%;
    line-height: 60px;
}

.newsletter-item .fa {
    display: none;
}

.news-icon.upload {
    width: 60px;
    height: 60px;
    background-size: cover;
}

.news-item .fa-stack {
    width: 60px;
    height: 60px;
}

.homebox-news .news-item .news-text {
    width: 100%;
    float: right;
    padding: 5px 20px;
    color: #82bf78;
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    height: 60px;
}

.homebox-news .news-item .news-text a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact p.legalnote span {
    color: #545454;
}

.homebox-calendar .news-item .news-text {
    width: calc(100% - 100px);
    padding-left: 10px;
    display: table-cell;
    vertical-align: middle;
    min-width: 250px;
}

.news-item .news-text h3.title {
    margin: 0;
    font-size: 15px;
}

.homebox-calendar .news-item .news-text p.date {
    color: white;
}

.news-item .news-text p.date {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 5px;
}

.homebox-news .news-item .news-text p.date::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: white;
    margin-top: 5px;
    cursor: auto;
}

.news-item .news-text a {
    color: white;
    font-size: 15px;
    height: 17px;
    width:100%;
}

.news-item {
    margin-bottom: 15px;
}
.news-icon {
    border-radius: 50%;
}
.news-icon.icon {
    height: 60px;
    background: #76b25e;
}

.news-icon.icon .fa {
    font-size: 32px;
    padding: 14px 0;
    margin: auto;
    display: block;
    text-align: center;
    color: white;
}

.homebox-poster {
    width: 370px !important;
    background: url(../img/poster.png) no-repeat center / contain;
    height: 535px;
}

.homebox-calendar  {
    width: calc(31.76157% + 6px) !important;
    background: #244a22;
    height: 535px;
    border: 10px solid #3e703a;
    padding: 30px;
}

.homebox-calendar h2 {
    color: white;
    text-transform: none;
    font-size: 48px;
    font-weight: bold;
}

.homebox-calendar h2::after {
    margin-top: 10px;
    width: 30px;
    height: 5px;
    background: #3e703a;
    margin-bottom: 10px;
    content: '';
    display: block;
}

.homebox-calendar .fc-header h2 {
    color: white;
    font-size: 16px;
    padding-top: 7px;
    margin-bottom: 7px;
    padding-left: 10px;
}

.homebox-calendar .news-icon {
    width: 60px;
    height: 60px;
}

.homebox-calendar .news-item .fa-stack {
    width: 60px !important;
    height: 60px !important;
}

.homebox-calendar .fc-header .fc-button {
    margin-bottom: 0;
}

.fc-header .fc-button.fc-button-prev {
    background: url(../img/cal-left.png) no-repeat center / 65%;
    margin-top: 0;
    box-shadow: none;
}

.fc-header .fc-button.fc-button-next {
    background: url(../img/cal-right.png) no-repeat center / 65%;
    margin-top: 0;
    box-shadow: none;
}

.homebox-calendar .fc-header {
    margin-bottom: 0;
}

.homebox-calendar .fc.fc-header-space {
    padding-left: 5px;
}

.homebox-calendar .fc-border-separate {
    margin-top: 0;
    background: white;
}

.homebox-calendar .fc-widget-content {
    border: none;
}
.homebox-calendar .fc-grid .fc-day-number {
    font-size: 13px;
}
.homebox-calendar .fc-grid .fc-day-number a {
    font-size: 13px;
}

.homebox-calendar .fc-state-highlight > div {
    border: 1px solid #0e2fa6;
}

.homebox-calendar .events-icon.icon {
    height: 60px;
}

.homebox-calendar .news-item .fa-stack {
    background: transparent;
    border-radius: 50%;
    color: white;
}

.homebox-calendar .news-item .fa-stack .month,
.homebox-calendar .news-item .fa-stack .date {
    display: block;
    text-align: right;
}

.homebox-calendar .news-item .fa-stack .month {
    height: 25px;
    margin-top: 0;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.homebox-calendar .news-item .fa-stack .date {
    height: 32px;
    margin-top: -5px;
    font-size: 36px;
    font-weight: bold
}

.homebox-calendar .news-item {
    margin-bottom: 20px;
    clear: both;
    height: auto;
    overflow: hidden;
    display: table;
    width: 100%;
}

.homebox-links {
    width: calc(31.76157% + 5px) !important;
}

.homebox-links .link-item {
    border: 10px solid #1b4119;
    height: 120px;
    background: white;
    font-size: 30px;
    font-weight: bold;
    /*text-overflow: ellipsis;*/
    /*overflow: hidden;*/
    /*white-space: nowrap;*/
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin-bottom: 18px;
    position: relative;
    /*line-height: 1.3;*/
    /*-webkit-line-clamp: 2;*/
    /*text-overflow: ellipsis;*/
    /*overflow: hidden;*/
    /*display: -webkit-box;*/
    /*-webkit-box-orient: vertical;*/
    /*word-wrap: break-word;!* Important for long words! *!*/
}
.homebox-links .link-item:nth-child(even) {
    background: #41933c;
}
.homebox-links .link-item:nth-child(even) a {
    color: #fff;
}
.homebox-links .link-item a {
    color: #1b4119;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 0 10px;
    font-size: 26px;
    -webkit-line-clamp: 2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    word-wrap: break-word;/* Important for long words! */
    line-height: 30px;
    max-height: 60px;
}
.homebox-links .link-item .fa {
    display: none;
}


.homebox-calendar .news-item .events-icon.icon {
    border-right: 1px solid white;
    padding-right: 10px;
}

.homebox-calendar .fc-widget-header {
    background: white;
}

.homebox-calendar .fc-widget-header.fc-day-header {
    color: #0e2fa6;
    border: none;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

/* End of homeboxes */

/* Footer */

.sitefooter {
    max-width: none;
    margin-top: 20px;
    background: white;
}

.contact_details {
    background: #41933c;
    color: white;
    height: 105px;
    line-height: 20px;
    font-size: 14px;
    text-align: left;
}

.contact_details img {
    float: left;
    margin-top: 10px;
    margin-right: 20px;
}

.contact_details .address {
    float: left;
    margin: 29px 15px;
}

.contact_details a {
    color: white !important;
}

.contact_details .phonemail {
    width: 380px;
    float: left;
    margin: 18px 0;
}

.stat-info .eschools-logo {
    float: right;
    margin-bottom: 5px;
}

.stat-info .eschools-logo span {
    margin-right: 10px;
    position: relative;
    top: -15px;
}
.legalnote {
    text-align: center;
    display: block;
    padding: 10px 0;
    color: #545454;
    clear: both;
    font-size: 13px;
    border-top: 1px solid #e5edf1;
}

.contact_details .stat-info {
    width: calc(100% - 760px);
    float: right;
    margin: 15px 0;
}

.contact_details .phonemail p {
    margin: 5px 20px;
}

.contact_details .cont-container > p {
    display: inline-block;
    margin: 36px 15px;
}

.contact_details .phone {
    background: url(../img/phone.png) no-repeat center / contain;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 10px;
    top: 5px;
    position: relative;
}

.contact_details .mail {
    background: url(../img/mail.png) no-repeat center / contain;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 10px;
    top: 5px;
    position: relative;
}

.contact_details .cont-container {
    margin-top: 0;
}

.extra-footer {
    background: #fff;
    height: 80px;
    color: #545454;
    position: relative;
}

.extra-footer .cont-container {
    margin-top: 0;
}

.extra-footer p {
    display: inline-block;
    margin: 14px 0;
}

/*.extra-footer p.legalnote {*/
    /*position: absolute;*/
    /*top: 0;*/
    /*margin: 0 131px;*/
    /*line-height: 80px;*/
/*}*/


.ifJS {
    color: #545454 !important;
    font-size: 12px !important;
}

p.icons .fa-circle {
    color: white;
}

p.icons .fa-facebook,
p.icons .fa-twitter,
p.icons .fa-instagram {
    color: #41933c;
}

p.icons {
    float: right;
    margin: 31px 0 31px 15px !important;
}

ul.accreditations-list {
    max-width: calc(100% - 140px);
    margin: auto;
    overflow: auto;
    float: left;
}

ul.accreditations-list li {
    display: inline-block;
    float: left;
    margin: 15px;
}

/* End of footer */


/* Inner pages */
.sitecontent {
    width: 1200px;
    max-width: none;
}
.sitecontent h1 {
    margin-bottom: 20px;
    margin-top: 0;
    color: #fff;
    font-weight: bold;
}

.home .sitecontent h1 {
    margin-top: 0;
}



.sidenav nav ul li ul {
    display: none;
}

.sidenav nav ul li.active ul {
    display: block;
}

.sidenav {

}

.sidenav h3 {
    background: #545454;
    color: white;
    margin: 0;
    padding: 10px 20px;
}

.carouselItem {
    height: 100% !important;
    width: 100%;
    background: no-repeat center / contain;
}

.contact h3 {
    margin: 0 0 20px 0;
    color: #fff;
}

.contact .sitecontent .form-control {
    background: #82bf78;
    border: none;
    border-radius: 10px;
    padding-left: 10px;
    color: white;
}

.calendar table  td {
    background: transparent;
}

.calendar table td:first-child {
    border-right: none;
}

.calendar table {
    border: none;
}

.fc-header-title h2 {
    color: #fff;
}

.contact label {
    color: #fff;
}

.contact p {
    color: white;
}
.contact .btn.submit {
    background: #82bf78;
    color: #fff;
    font-weight: 600;
    width: 120px;
    border-radius: 10px;
}

.contact .sidenav.contact {
    margin-top: 45px;
    background: none;
    border: 1px solid #545454;
}
.contact address {
    margin-bottom: 0;
}

.contact .sidenav.contact li {
    border: none;
}
.contact address,
.contact li a,
.contact .sidenav.contact li {
    color: #fff;
}

.contact .sidenav.contact .fa-circle {
    color: #2d5c2a;
}
.contact .sidenav.contact .fa-home,
.contact .sidenav.contact .fa-phone,
.contact .sidenav.contact .fa-envelope {
    color: white;
}

.contact .sidenav.contact li:hover {
    background: none !important;
}

.contact .sidenav.contact .school_contacts a {
    display: inline-block;
    font-size: 15px;
}

p.newsdate {
    color: white !important;
}

.resource_items .resource-item {
    background: #82bf78;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;

}
.resource_items .resource-item a {
    color: white;
    font-weight: 600;
}

.resource_items .resource-item a .fa {
    margin-right: 5px;
}

.primarycolumn .row .col2.marg_bottom {
    margin-bottom: 0;
}

.primarycolumn .row .col2.marg_top {
    margin-top: 20px;
}

.sidenav {
    background: transparent;
    margin-right: 5.35765%;
}

.primarycolumn {
    width: 62.88078%;
}

.primarycolumn .col1,
.primarycolumn .col2,
.primarycolumn .col3 {
    padding: 20px 0;
}

.sidenav a {
    color: white;
    display: block;
    font-weight: bold;
}

.sidenav ul {
    margin-bottom: 0;
    padding: 0 20px 20px 20px;
}

.sidenav li {
    padding: 10px;
    background: #82bf78;
    margin-bottom: 10px;
    border-radius: 10px;
}

.important_message_button {
    position: absolute;
    top: 50vh;
    bottom: 50vh;
    width: 200px;
    height: 40px;
    background: #545454;
    color: white;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    left: -80px;
    text-align: center;
    line-height: 40px;
    z-index: 1000;
    cursor: pointer;
}

.toolbar .cont-container {
    overflow: visible;
}

.toolbar {
    /*height: 48px;*/
}

.sidenav li.active {
    background: transparent;
    color: #fff;
}

/*.sidenav ul > li:hover a {*/
    /*background: transparent;*/
    /*color: #fff;*/
/*}*/


.sidenav li.active > a, .sidenav li.active > ul > li.active a {
    background: #41933c;
    color: white;
    padding: 10px;
    border-radius: 10px;
}

.sidenav nav > ul > li.active {
    padding: 0;
    margin-bottom: 10px;
}

.sidenav nav > ul > li.active ul li.active {
    padding: 0;
}

.sidenav li.active > a, .sidenav li.active > ul > li:last-child {
    border-bottom: none;
}

.sidenav li.active > ul > li a {
    font-size: 15px;
}

.sidenav ul li ul {
    padding: 10px 0 0 20px;
}

/* Staff member */

.staff_member {
    border: 1px solid grey;
    padding: 10px;
    margin-bottom: 10px;
    overflow: auto;
}

.staff_photo {
    width: 100px;
    height: 100px;
    float: left;
    background-size: cover;
    margin: 0 10px 10px 0;
}

.staff_email, .staff_biog {
    float: left;
}

.sitecontent {
    margin-top: 400px;
}

.primarycolumn.prospectus h2 {
    background: #9ba9cc;
    color: #545454;
    padding: 10px 20px;
    font-size: 19px;
}

.contact .col1 .alert {
    width: 100%;
    padding: 10px;
}

.contact .col1 .alert {
     background-color: #f2dede;
     border-color: #ebcccc;
     color: #a94442;
 }

.contact .col1 .alert.alert-success {
    background-color: #dff0d8;
    border-color: #d0e9c6;
    color: #3c763d;
}



.primarycolumn.prospectus input {
    border-color: #545454;
    border-radius: 0;
}
.primarycolumn.prospectus .col {
    float: left;
}

.primarycolumn.prospectus .column1 {
    width: 32%;
    margin-right: 1%;
}

.primarycolumn.prospectus .column2 {
    width: 16%;
    margin-right: 1%;
}

.primarycolumn.prospectus .column3 {
    width: 26%;
    margin-right: 1%;
}

.primarycolumn.prospectus .column4 {
    width: 23%;
}

.primarycolumn.prospectus .col input {
    margin-bottom: 5px;
}



.primarycolumn.prospectus .col select {
    width: 100%;
    height: 36px;
    border-radius: 0 !important;
    background: white;
    color: #9a9a9a;
    font-weight: 600;
    margin-bottom: 5px;
    border-color: #545454;
    -webkit-appearance: none;
    padding: 5px 10px;
}

.primarycolumn.prospectus .col label {
    text-align: center;
    display: block;
}

.primarycolumn.prospectus .btn{
    background: #f7d347;
    border: 1px solid #545454;
    color: #545454;
    font-weight: 600;
}

.primarycolumn.prospectus .btn:hover {
    background: #f7d347;
}

div.select {
    position: relative;
}

div.select .fa {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #9a9a9a;
}
    /* contact page */


.contact .sidenav.contact {
    color: white;
    padding: 15px;
}
.contact .sidenav {
    background: #82bf78;
}
#map-canvas {
    width: 100%;
    margin-bottom: 20px;
    height: 367px;
}

.contact .sidenav.contact li {
    padding-left: 0;
}


.contact .sidenav.contact li:hover {
    background: #0e2fa6;
}

.contact .sidenav.contact {
    display: block;
    background: #82bf78;
    border: none;
    border-radius: 10px;
}

/* end of contact page */

/* calendar page */

.calendar .fc-header .fc-button.fc-button-next,
.calendar .fc-header .fc-button.fc-button-prev {
    background-color: #82bf78;
    width: 30px;
    background-size: 50%;
}

.calendar .fc-widget-header {
    background: #41933c;
    border-color: #fff;
}

.calendar .fc-event {
    background-color: #41933c;
    border: none;
}

.fc-grid .fc-day-number {
    color: white;
}

td.fc-today {
    position: relative;
}
.fc-state-highlight>div {
    border: none;
    background-color: #82bf78;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/* end of calendar page */
.search_results .fullwidthcolumn .col2 {
    width: 100%;
}

.search_results .fullwidthcolumn .col2 .btn {
    text-align: left;
}

.sitenavigation .nav.navbar-nav > li a:focus {
    outline: none;
    background: transparent;
}

.sitenavigation .nav.navbar-nav > li:focus {
    outline: 0;
}

.important_message_outer {
    display: none;
}

.carouselButtons {
    display: none;
}

.staff_member h4, .staff_member p {
    color: white;
}

/* Responsive */

@media only screen and (max-width: 1200px) {
    .homeslider {
        margin-top: 200px;
    }
    .navbar-collapse {
        padding: 0;
    }
    .opaque-background {
        width: 0 !important;
    }
    .toolbar .sitenavigation {
        width: calc(100% - 210px);
    }
    .sitenavigation .nav.navbar-nav > li a {
        font-size: 12px;
    }
    .sitecontent {
        width: 100%;
    }
    .homebox-links {
        margin-top: 20px;
        width: 37% !important;
    }
    .homebox-poster {
        width: 66% !important;
        float: none !important;
        clear: both;
        margin: auto !important;
    }
    .homebox-calendar {
        width: 60% !important;
        margin-top: 20px;
    }
    .homemain, .homeside {
        width: 100%;
    }

    .homeside {
        margin-top: 20px;
    }

    .crofty_minors, .house_points {
        width: 49%;
        float: left;
        margin-right: 2%;
    }
    .house_points {
        margin-right: 0;
    }
    .point {
        width: 48%;
    }
    .point.emerald, .point.diamond {
        margin-right: 2% !important;
    }

    .homeside h2 {
        font-size: 20px;
    }

    .crofty_minors .carousel {
        height: 180px;
    }
    .crofty_minors .carousel .carouselInner .carouselItem {
        height: 176px !important;
        background-size: contain;
        background-repeat: no-repeat;
        background-color: white;
        background-position: center;
    }
    .homeboxes {
        margin-top: 0;
        padding: 0 15px;
        overflow: hidden;
    }
    .extra-footer p.legalnote {
        margin: 0 10px;
        font-size: 13px;
    }
    .ifJS {
        font-size: 13px !important;
    }
    .sitecontent {
        padding: 30px 15px;
        margin-top: 0;
    }
    .sitenavigation .nav.navbar-nav > li a::after {
        margin: 0 15px;
    }
    .loginbutton {
        text-indent: -9999px;
        padding-right: 0;
    }
    .login-icon {
        margin-right: 0;
    }

    #google_translate_element > div > div > span > a > span:first-child {
        display: none;
    }
    #google_translate_element {
        margin-right: 10px;
        width: 30px;
        background-position-x: 6px;
    }
    .homesection .carousel, .homesection .carousel .carouselInner, .homesection .carousel .carouselInner .carouselItem {
        height: 172px !important;
    }
    .homesections {
        height: 172px;
    }
    .homesection .title {
        padding: 110px 0 0;
    }

    .homesocial .facebook-feed,
    .homesocial .video {
        height: auto;
    }
    .homesocial .video {
        margin-bottom: 5px;
    }
    .contact_details .phonemail {
        width: 236px;
    }
    .contact_details .stat-info {
        width: calc(100% - 478px);
    }
    .extra-footer {
        height: auto;
    }
    .sidenav {
        display: none;
        width: 100%;
        margin-bottom: 20px;
    }
    .toggle-sidenav.btn {
        display: inline-block !important;
        padding: 10px;
        background: #41933c;
        color: #fff;
        border: 1px solid #fff;
        margin-bottom: 20px;
        font-weight: bold;
        border-radius: 0;
        font-size: 13px;
        text-align: center;
    }
    .primarycolumn {
        width: 100%;
    }
    .tools > span {
        display: none;
    }
    .scrollmessage {
        width: 100%;
    }
    .scrollmessage::before {
        padding-left: 10px;
    }
    .homebox.homebox-news {
        margin-top: 20px;
    }
    .cont-container {
        padding: 0 15px;
        overflow: hidden;
    }
    .homeslider .cont-container {
        padding: 0;
        overflow: visible;
        width: 100%;
        /*margin-top: 600px;*/
    }
    .homeslider .carousel {
        /*margin-top: -1200px;*/
        /*margin-bottom: 600px;*/
    }
    .welcometext {
        padding-right: 40px;
        position: relative;
        /*top: -130px;*/
        padding-top: 0;
        width: 100%;
        height: auto;
    }
    .homeslider .carousel .carouselInner,
    .homeslider .carousel .carouselInner .carouselItem {
        height: 400px !important;
    }
    .contact_details .address {
        margin: 29px 15px;
    }
    .contact_details img {
        position: absolute;
        bottom: 20px;
        left: 20px;
    }
    .contact_details .cont-container > p {
        margin: 36px 15px;
    }
}
@media only screen and (max-width: 1000px) {
    body .collapse.navbar-collapse.sitenavigation {
        display: none !important;
    }
    body .collapse.navbar-collapse.sitenavigation.show {
        display: block !important;
        top: 40px;
        border-top: 3px solid white;
        width: 100%;
        height: 100vh !important;
        background: #2d5c2a;
        z-index: 10000000;
        position: absolute;
        padding: 20px;
        left: 0;
        margin-top: 8px;
    }
    .navbar-nav > li {
        display: block;
        float: none;
    }
    .sitenavigation .nav.navbar-nav > li a::after {
        display: none;
    }

    .sitenavigation .nav.navbar-nav li ul.dropdown-menu {
        display: none !important;
    }

    .hamburger {
        display: inline-block !important;
        float: left;
        margin-top: 4px;
        color: white;
    }
    .hamburger .fa {
        margin-right: 5px;
    }
    .sitesearch, #google_translate_element, .loginbutton {
        float: right;
    }
    .tools {
        width: 100%;
    }
    .school_name h2 {
        font-size: 23px;
        line-height: 23px;
    }
    .header_school_name {
        margin-right: 10px;
    }

}
.phonemail a {
    color: white;
}

.hamburger:focus,
.hamburger:hover {
    color: #f7d347;
}
.contact .sitecontent {
    color: white;
}
@media only screen and (max-width:767px) {
    .primarycolumn.prospectus .col {
        width: 100% !important;
    }
    .contact .sidenav.contact li.email a {
        word-break: break-all;
        float: left;
        padding-left: 65px;
        margin-top: -40px;
        line-height: 20px;
    }
    li.telephone .tel {
        margin-top: 5px;
        display: inline-block;
        position: relative;
        top: 5px
    }
    span.fa-stack.fa-lg {
        float: left;
    }
    .login-icon {
        background: transparent url(../img/eschools-owl.svg) no-repeat 8px center / 15px;
    }
    .calendar .sitecontent {
        z-index: 1;
        position: relative;
    }
    .calendar .siteheader {
        z-index: 0;
        position: relative;
    }
    .important_message_outer {
        top: 6px;
    }
    .homeboxes .homebox.homebox-news {
        width: 1455px !important;
        overflow: scroll;
    }

    #google_translate_element, .loginbutton, .sitesearch .btn {
        background-color: white;
        border-radius: 4px;
    }

    #google_translate_element {
        background-position: center center;
    }

    .collapse.navbar-collapse.sitenavigation {
        display: none;
        position: absolute;
        top: 48px;
        background: #b3b5b6;
        left: 0;
        height: 180px !important;
        padding: 10px;
    }
    .sitenavigation .nav.navbar-nav > li a::after {
        display: none;
    }
    .important_message > i {
        top: 4px;
        right: 4px;
        font-size: 15px;
    }

    .tools > span {
        display: none;
    }

    #google_translate_element {
        padding: 0;
        float: right;
        margin-right: 5px;
        font-size: 13px;
        width:30px;
        margin-left: 0;
    }
    .calendar table td {
        height: 34px;
    }
    .sitesearch {
        float: left;
    }
    .hamburger {
        float: right;
        background: white;
        width: 30px;
        height: 30px;
        border-radius: 4px;
        margin-top: 0;
        padding: 4px 8px;
    }

    .hamburger .fa {
        color: #82bf78;
    }

    .sitesearch .input-group-btn {
        float: right;
    }

    .sitesearch #inputSearch {
        float: left;
        top: -30px;
        text-align: right;
        padding-right: 15px;
    }

    .loginbutton {
        text-indent: -9999px;
        width: 30px;
        padding: 0;
        margin-right: 5px;
    }

    .sitesearch {
        margin-top: 0;
        width: calc(100% - 134px);
    }
    .school_name {
        margin-top: -15px;
        width: 100%;
        background-position-x: left !important;
        height: 270px;
    }
    .header_school_name {
        width: 100%;
        padding-left: 0;
        margin: 85px auto !important;
        float: none !important;
        height: 139px;
        background-position-x: center;
    }
    .school_name h1 {
        font-size: 24px;
        text-align: center;
        margin-top: 15px;
    }
    .school_name h2 {
        font-size: 18px;
        text-align: center;
        margin-top: 5px;
    }
    .homesections {
        padding:15px;
        height: 150px;
    }

    .homesection .carousel, .homesection .carousel .carouselInner, .homesection .carousel .carouselInner .carouselItem {
        height: 150px !important;
    }

    .homesection, .homesection:last-child {
        width: 100%;
        margin: 0 0 10px 0;
    }
    .collapse.navbar-collapse.sitenavigation {
        margin: 0;
    }
    .homesection .title {
        padding: 48px 0;
    }

    .homesocial .facebook-feed,
    .homesocial .video {
        width: 100%;
    }

    .homesocial .video {
        margin-top: 10px;
    }

    .quicklinks .quicklink {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .contact_details .address,
    .contact_details .phonemail,
    .contact_details .stat-info {
        width: 100%;
    }

    .contact_details {
        height: auto;
    }

    .stat-info .eschools-logo {
        float: left;
        float: none;
        text-align: center;
        display: block;
    }

    .legalnote {
        margin: 0 !important;
        padding-left: 15px;
    }

    ul.accreditations-list {
        width: 100%;
        max-width: 100%;
    }

    p.icons {
        margin: 0 auto !important;
        display: block;
        clear: both;
        width: 137px;
        float: right;
    }

    .sitenavigation {
        display: none;
    }

    .homemain {
        height: auto;
    }
    .crofty_minors, .house_points, .homeboxes .homebox {
        width: 100% !important;
    }
    .homeboxes .homebox {
        margin-top: 20px;
    }
    .contact_details .cont-container {
        padding: 13px 0;
    }
    .contact_details .cont-container p {
        display: block;
        line-height: 25px;
    }
    .extra-footer {
        height: auto;
    }
    .legalnote {
        width: 100%;
        left: 0;
        line-height: 20px !important;
        top: 60px !important;
        margin-top: 10px !important;
    }
    .homeslider .carousel .carouselInner, .homeslider .carousel .carouselInner .carouselItem {
        height: 300px !important;
    }

    .sidenav {
        display: none;
    }
    .primarycolumn {
        width: 100%;
    }
    .primarycolumn .col2 {
        width: 100%;
        margin: 0;
    }
    .sitecontent {
        padding-top: 0;
    }
    .toggle-sidenav.btn {
        margin-top: 20px;
        border-radius: 10px;
    }
    .collapse.navbar-collapse.sitenavigation {
        margin-bottom: 20px;
    }
    .school_name .inner {
        display: block;
    }
    .staff-heading strong {
        font-size: 12px
    }
    .staff-heading .fa {
        font-size: 25px;
        right: 5px;
    }
    .important_message {
        width: 96%;
        margin: 0 2%;
        top: 68px;
    }
    .important_message > i {
        top: -65px;
        right: 0;
    }
    /*.school_name {*/
    /*    height: 270px !important;*/
    /*    margin-top: 0;*/
    /*}*/
    .homeslider {
        margin-top: 200px;
    }
    .homebox-news .news-item {
        margin: 10px 25px;
    }
    .carouselLeft, .carouselRight {
        display: block;
        position: absolute;
        top: 120px;
        z-index: 100000000;
    }
    .carouselLeft {
        display: none;
    }
    .carouselLeft .fa, .carouselRight .fa {
        color: white;
        cursor: pointer;
        font-size: 28px;
        background: #2d5c2a;
        padding: 5px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        border: 2px solid white;
    }
    .carouselLeft {
        left: 5px;
    }
    .carouselRight {
        right: 5px;
    }
    .carouselRight .fa.fa-chevron-right {
        padding-left: 10px;
    }
    .homeboxes .homebox.homebox-news {
        position: relative;
    }
    .carouselButtons {
        width: 100vw;
        position: relative;
        top: 0;
        left: 0;
        display: block;
    }
    .homebox.homebox-news {
        transition: 1s;
        left: 0;
    }
    .sitemessage::before, .sitemssage::after {
        display: none;
    }
    .homebox-calendar .news-item .news-text a {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        display: block;
        width: 100%;
    }
    .homebox-calendar .news-item .news-text {
        min-width: 130px;
        max-width: 130px;
    }
    .contact_details {
        text-align: center;
    }
    .sitesearch {
        border: none;
    }
    .contact_details .address {
        margin: 10px;
    }
    .contact_details .cont-container p {
        clear: both;
        text-align: center;
        margin: 10px 20px 10px 10px;
    }
    .contact_details .cont-container p.email {
        margin-bottom:30px;
    }
    .contact_details img {
        width: 120px;
    }
    .siteheader {
        position: relative;
        z-index: 0;
    }
    .sitecontent {
        position: relative;
        z-index: 1;
    }
    .siteheader.position {
        position: initial;
    }
    .scrollmessage::before,
    .scrollmessage::after {
        display: none;
    }
}

/*hr {*/
/*    background: url(../img/hr.png) no-repeat center;*/
/*    display: block;*/
/*    height: 28px !important;*/
/*    border: none;*/
/*}*/

/* Sidr */

.sidr {
    background: #e6d523 !important;
    box-shadow: none !important;
    border-left: 1px solid #fff;
    position: absolute;
    top: 0;
    width: 80vw;
    left: 100vw;
}
.sidr ul {
    border: none;
}
.sidr ul li {
    border-top: 1px solid #fff;
    border-bottom: none;
}
.sidr ul li:last-child {
    border-bottom: 1px solid #fff;
}
.sidr ul li ul li {
    font-size: 14px;
}
.sidr ul li a,
.sidr ul li span,
.sidr ul li ul li a,
.sidr ul li ul li span {
    color: #000 !important;
}
.sidr ul li:hover > a,
.sidr ul li:hover > span,
.sidr ul li.active > a,
.sidr ul li.active > span,
.sidr ul li.sidr-class-active > a,
.sidr ul li.sidr-class-active > span {
    color: #000 !important;
    box-shadow: none !important;
}

.search_results .text-muted {
    color: white;
}

.pdfViewer p {
    color: white;
}

#cookies_consent .modal-header.bg-eschools-blue button {
    right: 5px;
    border: none;
    position: absolute;
    top: 15px;
}

@media only screen and (max-width: 1920px) {
    .school_name {
        height: 320px;
    }
    .sitecontent {
        margin-top: 350px;
    }
}

@media only screen and (max-width: 1601px) {
    .school_name {
        height: 285px;
    }
    .header_school_name {
        width: 173px;
        height: 139px;
        margin-top: 80px;
    }
    .sitecontent {
        margin-top: 300px;
    }
}

@media only screen and (max-width: 1401px) {
    .school_name {
        height: 270px;
    }
    .header_school_name {
        width: 173px;
        height: 128px;
        margin-top: 80px
    }
    .sitecontent {
        margin-top: 250px;
    }
}

@media only screen and (max-width: 1201px) {
    .school_name {
        height: 270px;
    }
    .header_school_name {
        width: 173px;
        height: 125px;
    }
    .sitecontent {
        margin-top: 200px;
    }
}


@media only screen and (max-width: 1001px) {
    .school_name {
        height: 270px;
    }
    .header_school_name {
        width: 173px;
        height: 110px;
    }
}

/*@media only screen and (max-width: 825px) {*/
/*    .school_name {*/
/*        height: 270px;*/
/*    }*/
/*    .header_school_name {*/
/*        width: 173px;*/
/*        height: 110px;*/
/*    }*/
/*}*/

.cookie-consent {
    z-index: 100000 !important;
}

.grecaptcha-badge {
    z-index: 1000000 !important;
}