.siteheader,
.sitecontent,
.homeboxes,
.sitefooter,
.contactform{
    margin: 0 auto;
    position: relative;
    width: 960px;
}

.siteheader{
    z-index: 1;
}

.sitecontent {
    z-index: 1;
}

/* */

.sitecontent{
    margin: 50px auto 25px;
    max-width: none;
}

.siteheaderwrap {
    position: relative;
    height: 230px;
    z-index: 101;
}

.home .siteheaderwrap{
    height: auto;
    background: transparent;
}

.home .carousel .carouselInner .carouselItem {
    background-size: cover !important;
}

.siteheader{
    height: 40px;
    margin-right: -480px;
    position: absolute;
    right: 50%;
    top: 0;
    width: auto;
    z-index: 2;
}


.sitenavigation {
    background: #fff;
    left: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 42px;
    z-index: 2;
}

.sitenavigation > ul{
    float: none;
    padding: 0 0 0 217px;
    margin: 0 auto;
    width: 960px;
}

.sitenavigation a {
    font-size: 13px;
}

.sitenavigation .nav > li > a{
    border-right: 2px solid #fff;
    padding: 0 15px;
}
.sitenavigation .nav > li:last-child > a{
    border-right: none;
}
.sitenavigation .nav > li > a:hover,
.sitenavigation .nav > li > a:focus{

}
.sitenavigation .navbar-nav > li > a {
    line-height: 30px;
    padding-top: 0px;
    padding-bottom: 0px;
}
.sitenavigation > .nav > li.active > a{

}
.sitenavigation .nav > li.active.open > a,
.sitenavigation .nav > li.active > a:hover{

}
.sitenavigation .dropdown-menu{
    background: rgba(255,255,255, 0.9);
    border: none;
    padding-top: 10px;
    z-index: 1;
}
.sitenavigation .dropdown-menu a {
    border-bottom: 1px solid #fff;
    color: #666;
    font-size: 15px;
}
.sitenavigation ul.nav.navbar-nav > li:first-child {
    display: none;
}

.sitenavigation ul.nav.navbar-nav > li {
    padding: 10px 0;
}

/***********TRANSLATE*************/
#google_translate_element{
    background: #fff;
    border-radius: 3px;
    float: right;
    margin: 5px 0;
    padding: 3px 5px 4px;
    position: relative;
    z-index: 2;
}
#google_translate_element .goog-te-gadget-simple{
    border: none;
}

.alert {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 5px;
}

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

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

/***********SITESEARCH*************/
.sitesearch{
    float: right;
    margin: 5px 0 5px 5px;
    position: relative;
    width: 169px;
    z-index: 2;
}
.sitesearch .form-control {
    background: #fff;
    border-color: #fff;
    height: 30px;
}
.sitesearch .btn.btn-primary{
    background: #fff;
    border-color: #fff;
    color: #333;
    line-height: 16px;
}

.loginbutton {
    background-image: url("../img/owl-icon.png");
    float:right;
    font-size: 16px;
    line-height: 16px;
    margin: 5px;
    padding-left: 30px;
    position: relative;
    z-index: 2;
    background-repeat: no-repeat;
    background-position: top left;
}

.header_school_name {
    background-color: #fff;
    height: 240px;
    width:220px;
    border-radius: 0 0 110px 110px;
    left: 50%;
    margin-left: -484px;
    position: absolute;
    top: 0;
    z-index: 2;
    -webkit-box-shadow: 0 0 5px 1px rgba(0,0,0,0.5);
    box-shadow: 0 0 5px 1px rgba(0,0,0,0.5);
    line-height: 25px;
    background-position: 50% 25px;
    background-size: 85%;
    background-repeat:no-repeat;
}

.homearea {
    padding: 40px 0;
}

.headertext {
    bottom: 100px;
    color: #fff;
    font-size: 12px;
    margin-right: -480px;
    padding: 20px 0 20px 20px;
    position: absolute;
    right: 50%;
    width: 450px;
    max-height: 280px;
    overflow-y:scroll;
    overflow-x: scroll;
}

.headertext-inner {
    max-height: 360px;
    padding-right: 20px;
}

.headertext h2.title{
    color: #fff;
    font-size: 15px;
    margin-top: 0;
    text-align: center;
    display: block;
    text-transform: uppercase;
    font-weight: 700;
}
.headertext .textblock {
    color: #fff;
}

.home h1 {
    display: none !important;
}

.sitemessage {
    color: #fff;
    font-weight: 400;
    font-size: 15px;
    height: 40px;
    overflow: hidden;
    line-height: 40px;
    position: relative;
    top: 92px;
    z-index: 1;
}

.sitefooter {
    text-align: center;
}

.contactwrap {
    color: #fff;
    height: auto;
    padding: 20px 0;
}

.contactwrap p{
    line-height: 20px;
    margin-bottom: 0;
    font-size: 14px;
}

.contact_item {
    color:#fff;
    font-size: 16px;
    font-weight: 700;
    padding-right: 30px;
    line-height: 40px;
}

.contact_item.address {
    display: block;
}

.contact_item_priv {
    padding-right: 20px;
}

.contact_item[data-toggle="modal"],
.contact_item.link {
    cursor: pointer;
}

.contact_item:last-child{
    padding-right: 0;
}
.contact_type{
    color: #fff;
    padding-right: 10px;
}
.footerwrap{
    background: #fff;
}
.legalnote{
    color: #555;
    font-size: 12px;
    margin-bottom: 10px;
    text-align: center;
}
.legalnote.copyright {
    margin-bottom: 30px;
}
.accreditations-list{
    margin: 0;
    padding: 30px 0 20px;
    text-align: center;
}
.accreditations-list li{
    display: inline-block;
    margin: 0 10px;
}
.accreditations-list img{
    height: 45px;
}

.poweredby {
    background: url("/assets/web/bespoke/photographic-template/img/powered.svg") no-repeat center;
    display: inline-block;
    height: 45px;
    width: 147px;
    background-size: contain;
}

.homebox-button {
    border-radius: 5px;
    padding: 6px 10px;
    margin-top: 3px;
    display: inline-block;
    font-size: 14px;
}
.homebox-calendar a.homebox-button {
    margin-top: 4px;
}
.homebox-news a.homebox-button {
    margin-top: 5px;
}
.homebox-button.btn.btn-info {
    background-color: #5bc0de;
    border-color: #46b8da;
    float: left;
    margin-right: 4px;
}
.homebox-button.btn.btn-primary {
    background-color: #337ab7;
    border-color: #2e6da4;
}

.homeslide {
    margin: 0 auto;
    position: relative;
    width: 100%;
    z-index: 0;
}
.homeslide .carousel {
    border: none;
    padding: 0;
    margin: 0;
    height: 887px !important;
}
.homeslide .carousel .carouselInner,
.homeslide .carousel .carouselItem{
    height: 890px !important;
}
.homeslide .carousel .carouselInner .carouselItem {
    background-size: cover;
}
.homeslide .carouselControls {
    left: 0;
    top:50%;
    position: absolute;
    right: 0;
    width: 100%;
    z-index: 999;
    display: block;
}
.homeslide .carouselCaption {
    display: none !important;
}

.homeslide .carousel .carouselControl {
    height: 80px;
    margin: 0;
    padding: 0;
    width: 80px;
}

.homeslide .carousel .carouselControl.carouselNext{
    border-radius: 40px 0 0 40px;
}
.homeslide .carousel .carouselControl.carouselPrev{
    border-radius: 0 40px 40px 0;
}
.twocol .primarycolumn {
    position: relative;
}
.resource-item a, .pagelink a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.twocol .resource-item a:hover, .twocol .pagelink a:hover {
    position: relative;
    background: #eaeaea !important;
    border: 1px solid #9e9e9e !important;
    color: #333 !important;
    line-height: 50px;
    z-index: 1000;
    height: 50px;
    padding: 0 10px;
    font-size: 16px;
    width: auto;
    display: inline-block;
    min-width: 324px;
    margin-bottom: -1px;
}
@media only screen and (max-width:1000px) {
    .twocol .resource-item a:hover, .twocol .pagelink a:hover {
        width: calc(100vw - 20px);
    }
}


.homeboxes .homebox {
    margin-right:2%;
    width:32%;
}

.homeboxes {
    max-width: none;
}

.homebox h2{
    color: #fff;
    font-size: 20px;
    margin: 0 0 13px;
    text-align: center;
}
.homebox .homebox-button{
    text-align: center;
}

.homebox .viewall {
    border: none;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.5);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    height: 46px;
    line-height: 46px;
    padding: 0 20px;
}

.news-items {
    height:auto;
    margin: 0 0 0 0;
}

.news-items a:nth-child(n+3) {
    display: none;
}

.news-items .news-item {
    height:70px;
    margin: 0 0 15px 0;
    background: #fff;
    overflow: hidden;
    display: block;
    border-radius: 5px;
}

.news-items .news-item .fa-stack {
    width:70px;
    height:70px;
    display: block;
    float:left;
    padding:10px;
    margin-right:10px;
    position: relative;
}

.news-items .news-item .fa-stack .news-icon {
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background-size: cover;
    font-size:48px;
    color:#fff;
    line-height: 70px;
    text-align: center;
}

.news-items .news-item .fa-stack .month {
    font-size: 12px;
    text-align: center;
    line-height: 16px;
    display: block;
    color:#fff;
    font-weight: 700;
}

.news-items .news-item .fa-stack .date {
    font-size: 34px;
    text-align: center;
    line-height: 32px;
    display: block;
    color:#fff;
    font-weight: 700;
}

.news-items .news-item .time-title {
    font-size: 14px;
    color:#333;
    padding:6px 10px 10px 0;
    display: table-cell;
    height:70px;
    vertical-align: middle;
    line-height: 20px;
}

.news-items .news-item .time-title .title {
    color:#666;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news-items .news-item:nth-child(n+6) {
    display: none;
}

.news-items .news-item .news-text p {
    color: #666;
    font-family: 'Gotham__Bold', sans-serif;
    font-weight: 400;
    font-size: 12px;
    position: relative;
    bottom: 0;
    width: 100%;
    height: 20px;
    display: block;
    padding-top: 5px;
}

.news-items .news-item .news-icon .fa-stack-exchange {
    font-size: 40px;
    position: relative;
    top: -5px;
}

.news-items .news-item h3 {
    margin: 10px 0;
    font-size: 14px;
}
.news-items .news-item h3 a {
    color: #333;
    height: 30px;
    display: block;
    overflow: hidden;
}

span.title a {
    color: #333;

}

.contact_item a {
    color: white;
}

/***********CAROUSEL*************/
.carousel{
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.carouselControls{
    width: 100%;
}
.carouselControls:after {
    content: '';
    clear: both;
    display: block;
}

.carousel .carouselInner {
    width: 100%;
    height: 400px !important;
}
.carousel .carouselInner .carouselItem{
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    text-align: center;
    width: 100%;
    /*position: relative !important;*/
    z-index: unset !important;
}
.carousel-caption-container{
    bottom: -54px;
    left: 0;
    padding: 0 54px;
    position: absolute;
    width: 100%;
}
.homebox-button.show-more {
    cursor: pointer;
}
.carouselCaption{
    position: absolute;
    bottom:0;
    left:0;
    right:0;
    padding: 3px 15px;
    text-align: center;
    font-weight: 700;
    /*box-shadow: 0px 0px 50px 0px rgba(255,0,0,0.5);*/
    color: #fff;
    /*background-color: transparent;*/
    background-color:rgba(0,0,0,0.47);
    /*-webkit-box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.5);*/
    /*-moz-box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.5);*/
    /*box-shadow: 0 0 20px 10px rgba(0,0,0,0.5);*/
}
.carouselCaption:empty{
    padding: 0;
}
.carousel .carouselControls{
    position: absolute;
    top:0;
    bottom:0;
    z-index:1000;
}



.news-items .news-item .time-title .time {
    font-weight: 700;
    font-size: 12px;
}

.carousel .carouselControl {
    background-repeat: no-repeat;
    border-radius: 3px;
    height: 30px;
    text-indent: -9999px;
    top: 50%;
    margin-top:-15px;
    width: 30px;
    z-index: 101;
    position: absolute;
}

.carousel .carouselControl:hover{
    opacity: 1;
}

.carousel .carouselNext {
    background-position: top right;
    position: absolute;
    right:0px;
    border-radius: 15px 0 0 15px;
}

.carousel .carouselPrev {
    background-position: top left;
    position: absolute;
    left:0px;
    border-radius: 0 15px 15px 0;
}

.carousel-item-link{
    display:block;
    height: 100%;
    width: 100%;
    z-index:9999;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel .carouselInner {
    z-index: unset !important;
}

/*********** COLUMNS *************/
.primarycolumn{
    margin-bottom: 20px;
    width:70%;


}

.primarycolumn h1 {
    font-size: 36px;
    display: table-cell;
    vertical-align: middle;
    height:132px;
    position: relative;
    color: #fff;
}

.primarycolumn > h1 + *,
.primarycolumn > div {
    margin-top:55px;
}

.sidenav {
    font-size: 14px;
    font-weight: bold;
    width: 27%;
    margin-right:3%;
    padding: 20px 10px;
    position: relative;
    z-index: 1;
}

.sidenav a{
    color: #fff;
}

.sidenav li:hover,
.sidenav li.active {
    color: #fff;
}

.sidenav li{
    padding: 5px 10px;
    margin-bottom: 5px;
}
.sidenav li li{
    padding-bottom: 0;
}
.sidenav ul ul{
    display: none;
    font-size: 13px;
    padding: 10px 0 0 20px;
}
.sidenav ul .active ul {
    display: block;
}

#map-canvas {
    float: right;
    height: 400px;
    margin: 20px 0;
    width: 400px;
}

.modal-header .close {
    border: none;
    color: #fff;
    height: 20px;
    line-height: 20px;
    padding: 0;
    position: absolute;
    right: 20px;
    text-align: center;
    top: 20px;
    width: 20px
}

.modal-header{
    border-bottom: none;
}

.videoContainer {
    width: 100%;
    padding-bottom: 60%;
    box-sizing: border-box;
    position: relative;
    margin-bottom:20px;
}

.videoPlayer {
    position: absolute;
    top:0px;
    bottom:0px;
    left:0px;
    right:0px;
}

.staff_member {
    border-radius: 3px;
    margin-bottom: 20px;
    padding: 25px 10px 10px;
    overflow: hidden;
}

.staff_member h4,
.staff_member h5 {
    margin-top: 0;
}

.staff_photo {
    background-color: #fff;
    background-size: contain;
    background-position: center center;
    float: left;
    height: 78px;
    margin: -15px 10px 10px 0;
    width: 78px;
}

.staff_email{
    background: #f6f5f5;
    border-top: 1px solid #b2b0aa;
    border-radius: 0 0 2px 2px;
    clear: both;
    display: block;
    margin: 10px -10px 5px;
    padding: 5px 10px;
}

.staff_description h4 {
    color: #fff;
}

.staff_description p {
    color: #fff;
}

/*******Contact********/
.contactformwrapper{
    background: #d0d9e3;
    clear: both;
    padding: 40px 0;
}
.contactform h3{
    text-align: center;
}
.contactform label{
    display: none;
}
.contactform textarea,
.contactform input{
    background: #fff;
}
.contactform input{
    height: 40px;
}
.contactform textarea{
    height: 116px;
}
.contactform .g-recaptcha{
    float: left;
    margin-right: 20px;
}

.contactform .send_message {
    font-weight: bold;
    height: 76px;
    padding-top: 40px;
    width: 144px;
}

.school_contacts li{
    font-weight: bold;
    line-height: 15px;
    height: 36px;
    margin-bottom: 10px;
    padding: 10px 0 10px 46px;
    position: relative;
}
.school_contacts li a{
    color: #333;
}

.school_contacts li:before {
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 50%;
    content: '';
    height: 36px;
    left: 0;
    position: absolute;
    top: 0;
    width: 36px;
}

.contact .sidenav {
    width: 35%;
}

.contact .primarycolumn {
    width: 60%;
    margin-right: 5%;
}

address {
    color: #fff;
    font-size: 14px;
}

li.telephone,
li.email {
    font-size: 14px;
    color: #fff;
}

li.email a {
    color: #fff;
}

.newsdate{
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.contact .sidenav li:hover, .contact .sidenav li.active {
    background: transparent;
}

.newsletter-item a, .link-item a {
    display: inline-block;
    margin-bottom: 11px;
    padding: 13px 10px;
    width: 100%;
    height: 45px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    background: #fff;
    color: #333;
    border-radius: 5px;
    font-size: 14px;
}

.resource-item a,
.pagelink a {
    color: #fff;
    width: 100%;
    height: 50px;
    display: block;
    font-size: 14px;
    padding: 15px;
    margin-bottom: 5px;
}

.newsletter-icon {
    float: left;
}
.newsletter-item {
    height: 61px;
}
.newsletter-item:nth-child(n+8),
.newsletter-item:nth-child(n+8) a {
    display: none;
}
.newsletter-item.shown:nth-child(n+8),
.newsletter-item.shown:nth-child(n+8) a {
    display: block;
}

.newsletter-item i,
.link-item i {
    padding-right: 5px;
}

.textblock,
.resource_items{
    margin-bottom: 20px;
    color:#fff;
    font-size: 14px;
}
.textblock ul{
    list-style: disc;
    padding-left: 20px;
}
.textblock ol{
    list-style: decimal;
    padding-left: 20px;
}

.desktop .inner h1 {
    margin: 0;
}

#calendar {
    overflow: hidden;
    margin-bottom:16px;
    background: #fff;
    border-radius: 5px;
}

.fc-header,
.fc-header h2{
    margin: 0;
    padding-top: 10px;
}

.fc-event-title {
    font-size: 12px;
}

.calendar .fc-header h2 {
    padding-top: 5px;
}

.fc-header td {
    border: none;
    height: 40px;
    line-height: 40px;
}

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

body.calendar .fc-header td{
    height:60px;
    line-height: 60px;
}

/* Month skip buttons */
.fc-header .fc-button{
    border: none;
    background: transparent;
    color:#fff;
    text-shadow: none;
    box-shadow: none;
    height: 40px;
    margin-bottom: 0;
    line-height: 40px;
    font-size: 24px;
}

body.calendar .fc-header .fc-button{
    height: 60px;
    line-height: 60px;
}

.fc-header .fc-button-prev::before{
    content: '\f053';
    font-family: 'FontAwesome';
}
.fc-header .fc-button-next::before{
    content: '\f054';
    font-family: 'FontAwesome';
}
/* ***************** */

.fc-header-title {
    vertical-align: middle;
    position: relative;
    top: -3px;
    padding-left: 20px;
}

.home .fc-button.fc-button-prev.fc-state-default.fc-corner-left.fc-corner-right {
    padding: 0 !important;
}
.fc-content {
    padding: 18px 15px 19px;
}

body.calendar .fc-content {
    background:#efefef;
}

.fc-content table {
    margin:0;
}

.fc-content thead th {
    background: #fff;
    font-weight: 700;
    font-size: 12px;
    border-color: transparent;
    padding-bottom: 5px;
}

body.calendar  .fc-content thead th,
body.calendar  .fc-content tbody td {
    background: #efefef;
}
.fc-content td.fc-day{
    background: #fff;
    font-size:10px;
    border: none;
}

.fc-content td.fc-day .fc-day-number {
    padding: 2px;
    text-align: center;
    z-index: 1;
    position: relative;
    border:none;
}

.fc-content td.fc-day.fc-state-highlight>div {
    border:none;
}

.fc-content td.fc-day.fc-state-highlight .fc-day-number {
    color:#fff;
}

.fc-content td.fc-day.fc-state-highlight .fc-day-number::after{
    content:'';
    display:block;
    width:22px;
    height:22px;
    z-index: -1;
    position:absolute;
    top:-2px;
    left:50%;
    margin-left:-12px;
    border-radius: 50%;
}

.fc-header-left,
.fc-header-right {
    width: 10px !important;
}
.fc-header-right {
    width: 27px !important;
}


.homebox-calendar .fc-grid .fc-day-content {
    display:none;
}

.eventDate > div {
    position:relative;
}

.eventDate > div::after {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    z-index: 0;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -12px;
    border-radius: 50%;
}

#calendar.calendar-lg .fc-content tbody td > div {
    min-height: 85px !important;
    height: auto;
}

.searchresults a {
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
}

.searchresults a span {
    display:block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.searchresults a small {
    display:block;
    font-weight: 400;
    font-size: 14px;
}
.hamburger{
    display: none;
    border: 1px solid #fff;
    border-radius: 3px;
    color: #fff;
    padding: 0.3em 0.7em;
    z-index: 303;
    right: 5px;
    top: 5px;
    position: relative;
    float: right;
    margin-left: 5px;
}
.hamburger:hover {
    color: #fff;
}

.toggle-sidenav {
    display: none;
}
#toggle-side {
    display: block;
}

.sidr {
    box-shadow: none !important;
    border-left: 2px solid #fff;
}

.sidr ul {
    border: none !important;
}
.sidr ul li {
    border: none !important;
}
.sidr ul li ul li {
    font-size: 14px !important;
}
.sidr ul li a,
.sidr ul li span,
.sidr ul li ul li a,
.sidr ul li ul li span {
    color: #fff !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 {
    box-shadow: none !important;
    color: #fff !important;
}

.home .siteheaderwrap h1 {
    position: initial;
    height: auto;
    padding-left: 0;
    text-overflow: initial;
    overflow: visible;
    white-space: initial;
}

.siteheaderwrap h1 {
    position: relative;
    top: 135px;
    font-size: 32px;
    display: block;
    vertical-align: middle;
    height: 132px;
    color: #fff;
    text-align: left;
    padding-left: 30%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding-right: 20px;
}

.inner {
    width: 960px;
    margin: 0 auto;
}

.mobile {
    display: none;
}

.fc-header {
    width: 101% !important;
}

.carouselControl {
    display: none;
}

.modal-footer {
    border-top: none;
    border-radius: 0 0 5px 5px;
}

.modal-header {
    border-radius: 5px 5px 0 0;
    border: none;
}

.primarycolum {
    position: relative;
    z-index: 0;
}

.calendar .sidenav {
    display: none;
}

/*.vjs-control-text {*/
/*    font-size: 0;*/
/*}*/

.vjs-paused .vjs-big-play-button {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: calc(50% - 50px);
    width: 100px;
    background: transparent;
    height: 100px;
    border: 4px solid white;
    border-radius: 50%;
    line-height: 2.4em;
}

.vjs-paused .vjs-big-play-button::before {
    content: "\f04b";
    font-family: 'FontAwesome';
    font-size: 50px;
    color: white;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
}
@media only screen and (max-width: 960px) {
    .sitenavigation {
        display: none;
        box-shadow: none;
        -webkit-box-shadow: none;
    }
    span.contact_item {
        line-height: 10px;
        padding: 10px 0;
        display: block;
    }
    .contactwrap {
        height: auto;
    }
    .nav.navbar-nav {
        display: none;
    }
    .primarycolumn,
    .sidenav {
        padding: 10px;
        /*margin-top: 10px;*/
    }
    .sitecontent {
        margin: 0;
    }
    .primarycolumn h1 {
        height: auto;
    }
    .body {
        min-width: 0;
    }
    .overlay .welcome {
        width: 100%;
        border-radius: 0;
        -webkit-border-radius: 0;
        height: auto;
        left: 0;
    }
    .sitenavigation > ul {
        width: 100%;
        padding-left: 130px
    }
    .siteheaderwrap {
        width: 100%;
    }
    .searchcont {
        width: 100%;
        height: auto;
        min-width: 100%;
    }
    .sitemessage {
        top: 400px;
    }
    .homeslide {
        margin-top: 0;
        border-radius: 0;
    }
    .headertext {
        margin-top: 40px;
    }
    .container {
        background-color: transparent;
    }

    h1.motto {
        text-align: center
    }
    .sitecontent,
    .homeboxes,
    .primarycolumn {
        width: 100%;
        height: auto;
    }
    .hombeboxes .homebox {
        width: 100%;
        height: auto;
    }
    .homebox {
        padding: 20px;
    }
    .homebox-social {
        margin-bottom: 100px;
    }
    .sidenav {
        width: 100%;
    }

    .homeboxes .homebox {
        margin: 0;
    }
    .inner {
        width: 100%;
    }
    .calendar-sm .fc-header {
        border-radius: 0;
    }
    .news-items,
    .newsletter-items {
        border-radius: 0;
    }
    .header_school_name {
        float: left;
        height: 124px;
        width: 99px;
        background-size: 90%;
        background-repeat: no-repeat;
        display: block;
        left: 0;
        margin-left: 10px;
    }
    .sitefooter {
        width: 100%;
    }
    .header_school_name::before {
        margin-top: 78px;
        font-size: 14px;
    }
    .header_school_name::after {
        margin-top: -10px;
        font-size: 12px;
    }
    .siteheader {
        height: 40px;
        margin-right: 0;
        position: absolute;
        margin-right: 0;
        top: 0;
        width: auto;
        z-index: 2;
        float: right;
        right: 0;
    }

    .headertext {
        right: 0;
        border-radius: 0;
        width: 100%;
        margin-right: 0;
        position: initial;
    }
    .homeslide .carousel .carouselInner, .homeslide .carousel .carouselItem,
    .homeslide .carousel {
        height: 400px !important;
    }
    .homearea {
        padding: 0;
    }
    .calendar .siteheaderwrap,
    .contact .siteheaderwrap {
        height: 111px;
    }
    .calendar .sitecontent {
        padding: 15px;
    }
    .contact .colSplit .halfCol {
        width: 100%;
    }
    .contact .sitecontent {
        padding: 20px;
        margin: 0 auto 0;
    }
    .contactform {
        width: 100%;
        padding: 20px;
    }
    .contactformwrapper {
        padding: 0;
    }
    .hamburger {
        display: block;
    }
    .fc-header .fc-button,
    .fc-header td h2 {
        font-size: 16px
    }
    .overlay .moto {
        text-align: center;
    }
    #toggle-side {
        width: 100%;
        display: none;
    }
    .toggle-sidenav {
        width: 130px;
        font-size: 20px;
        display: block !important;
        margin: 20px 0 20px 10px;
        color: #fff;
        text-align: center;
        font-weight: bold;
        padding: 5px;
        border: 2px solid;
    }
    .toggle-sidenav.btn:hover {
        color: #fff;
    }
    .sidenav {
        width: 100%;
        margin: 0;
        padding: 0 20px 0 20px;
        display: none;
    }
    .contact .sidenav {
        display: block !important;
    }
    .sidenav li {
        width: 50%;
        float: left;
    }
    .sidenav li:nth-child(even) {
        float: right;
    }
    .primarycolumn > h1 + *, .primarycolumn > div {
        margin-top: 180px;
    }

    .siteheaderwrap {
        height: 150px;
    }


    .siteheaderwrap h1 {
        position: relative;
        top: 42px;
        font-size: 32px;
        display: block;
        vertical-align: middle;
        height: 132px;
        color: #fff;
        text-align: right;
        padding-left: 120px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        padding-right: 20px;
    }
    .primarycolumn {
        margin-top:-185px;
    }
    .newsletter-item a {
        font-size: 13px;
        padding: 14px 10px;
        margin-bottom: 10px;
    }
    #calendar td.fc-day.eventDate {
        background: white;
    }
    .homebox-newsletter .viewall {
        margin-top:5px;
    }
    ul.school_contacts li {
        display: block;
        width: 100%;
    }
    ul.school_contacts li a {
        overflow: hidden;
        display: block;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
/*@media only screen and (max-width: 592px) {*/
    /*.sitemessage {*/
        /*top: 80px;*/
    /*}*/
/*}*/

/*@media only screen and (max-width: 426px) {*/
    /*.sitemessage {*/
        /*top: 113px;*/
    /*}*/
/*}*/

@media only screen and (max-width: 767px) {
    .hamburger {
        display: block;
    }
    .contact .sidenav {
        width: 100% !important;
    }

    .sitefooter span.contact_item {
        display: block;
    }

    .homebox-calendar .news-items {
        clear: both;
    }

    #calendar {
        float: left;
    }
    .contact .primarycolumn {
        width: 100%;
    }
    .fc-header .fc-button,
    .fc-header td h2 {
        font-size: 20px
    }
    .overlay .moto {
        text-align: center;
    }
    #toggle-side {
        width: 100%;
        display: none;
    }
    .toggle-sidenav {
        width: 130px;
        font-size: 20px;
        display: block !important;
        margin: 20px 0 20px 10px;
        color: #fff;
        text-align: center;
        font-weight: bold;
        padding: 5px;
        border: 2px solid;
    }
    .toggle-sidenav.btn:hover {
        color: #fff;
    }
    .sidenav {
        width: 100%;
        margin: 0;
        padding: 0 20px 0 20px;
        display: none;
    }
    .container {
        overflow: hidden;
    }
    .primarycolumn,
    .primarycolumn .col1,
    .primarycolumn .col2,
    .homeboxes .homebox,
    .fullwidthcolumn .col2,
    .fullwidthcolumn .col1,
    .colSplit .halfCol,
    .home .primary:before,
    #map-canvas,
    #map-canvas1 {
        width: 100%;
        float: none;
    }
    .siteheaderwrap {
        height: 130px;
    }

    .sitefooter {
        padding: 10px 0;
    }
    .contactwrap {
        height: auto;
    }
    .contact_item_break {
        display: block;
        height: 0;
    }
    .friends {
        display: none;
    }
    #calendar td.fc-day.eventDate {
        background: transparent;
    }
    .primarycolumn h1 {
        color: #fff;
        font-size: 28px;
    }
    .primarycolumn {
        padding-top: 0;
        margin-top: 0;
    }
    .primarycolumn > h1 + *, .primarycolumn > div {
        margin-top: 20px;
    }
    .siteheaderwrap h1 {
        top: 200px;
        padding-left: 10px;
        font-size: 20px;
        text-align: left;
    }
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
    html {
        margin-top: 0;
    }
    .contact_item {
        font-size: 14px;
    }
    .homeslide .carousel .carouselControl {
        display: none;
    }
    .homeslider {
        margin-top: 40px;
    }
    .headertext {
        padding-top: 40px;
    }
    .sidenav li {
        width: 100%;
    }
    .sidenav li li {
        display: block;
        width: 100%;
    }
    .sidenav ul ul {
        padding: 0;
    }
    .sidenav {
        margin-bottom: 20px;
    }

}
@media only screen and (max-width: 590px) {
    #google_translate_element {
        margin: 0 5px 5px 118px;
    }
}

@media only screen and (max-width: 425px) {
    .sitesearch {
        margin: 0 5px 5px 124px;
    }
}
@media only screen and (max-width: 330px) {
    .logo-image {
        height: 33px;
        width: 104px;
        position: absolute;
    }
}
@media only screen and (min-width: 960px) {
    .col1 {
        margin-top: 0 !important;
    }

}


/*** HOMEBOX SOCIAL *****/

.homebox-social {
    position: relative;
    padding-bottom: 0 !important;
    height: auto;
}
.homebox-social:before {
    content: '';
    position: absolute;
    top: 15px;
    right: 20px;
    width: 40px;
    height: 30px;
    background: url("../img/bird.png") no-repeat center;
    background-size: contain;
}

.tweet-media {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.tweet-media li {
    list-style: none;
    margin: 0;
    float: left;
}

.tweet-media2 li,
.tweet-media4 li {
    width: 49.75%;
    height: auto;
    margin: 0 0 0.5% 0.5%;
}

.tweet-media2 li:nth-child(2n+1),
.tweet-media4 li:nth-child(2n+1) {
    margin-left: 0;
}

.tweet-media3 li {
    width: 66.5%;
    height: auto;
}

.tweet-media3 li:nth-child(2) {
    margin: 0 0 0.5% 0.5%;
    width: 33%;
}

.tweet-media3 li:nth-child(3) {
    margin-left: 0.5%;
    width: 33%;
}

.tweet-media img {
    width: 100%;
}
.twitter-wrapper {
    overflow-x: hidden;
    overflow-y: scroll;
    height: 410px;
    margin-bottom: 20px;
    position: relative;
}

.twitter-feed {
    list-style: none;
    margin: 0;
    padding: 0;
}
.twitter-feed > li {
    background: #fff;
    color: #333;
    font-size: 14px;
    margin-bottom: 15px;
    padding: 10px 15px;
    position: relative;
    width: 100%;
    border-radius: 5px;
}
.twitter-feed > li .user a{
    font-weight: 600;
}
.twitter-feed .user span {
    font-weight: 400;
}

.twitter-feed p {
    margin: 0 0 10px;
}

.twitter-feed .user {
    font-size: 13px;
    line-height: 1.2;
}
.twitter-feed .user span {
    font-size: 12px;
}

.twitter-feed .date {
    margin: 10px 0 0;
    font-size: 12px;
}

.twitter-feed .avatar {
    float: left;
    width: 30px;
    height: auto;
    margin-right: 8px;
}

.homebox-social .btn {
    padding: 6px 20px;
}

.homebox-social .btn-facebook {
    background: #286090;
    width: 185px;
}

/* END OF HOMEBOX SOCIAL */

.homebox-calendar .news-items .news-item:nth-child(n+3) {
    display: none;
}

.grecaptcha-badge {
    z-index: 1000;
}

.pdfViewer p {
    color: white;
}