
body{
    min-width: 320px;
    font-family: 'Montserrat', sans-serif;
    background-color: #fffffb;
}
body, table {
    font-feature-settings: normal;
    -moz-font-feature-settings: normal;
    -o-font-feature-settings: normal;
    -webkit-font-feature-settings: normal;
}
h1, h2, h3, h4, h5, h6 {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

h1 {
    margin: 0 0 20px 0;
}
.home h1 {
    color: #fff;
    text-transform: uppercase;
    font-size: 28px;
}

a{
    color:#273080;
}
a:active, a:focus, a:hover{
    color:rgba(45,124,175,0.7);
}
.siteheader,
.sitemessage,
.sitecontent,
.sitefooter,
.inner {
    margin: 0 auto;
    position: relative;
    width: 980px;
}

.contactform {
    width: 95%;
    float: left;
}

.contact .sitecontent {
    width: 50%;
    float: right;
    margin-top: 0;
    background:#85A6D5;
    padding: 40px 0;
    margin-bottom: 0;
}

.contact-container-2 {
    width: 500px;
    float: left;
    padding: 0 25px;
}
footer {
    clear:both;
}
.contact-container .contactform address {
    margin-top: -70px;
    color: #13365a;
}

#contactform > p {
    width: calc(100% - 138px);
    position: relative;
    top: -76px;
}

.btn {
    border-radius: 0px;
    float: right;
    font-size: 15px;
    line-height: 16px;
    margin-left: 5px;
    position: relative;
    z-index: 0;
    text-transform: uppercase;
    font-weight: 700;
}

.btn-primary {
    background-color: #85A6D5;
    border-color: #85A6D5;
}
.btn-primary:hover {
    background-color: #85A6D5;
    border-color: #85A6D5;
}


.sitecontent{
    margin: 40px auto;
    width: 960px;
}
.slogan{
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    margin-right: -480px;
    position: absolute;
    right: 50%;
    text-shadow: 1px 1px 1px #000;
    top: 120px;
    z-index: 1;
}
/***********SITEHEADER*************/


.header-top {
    background: #f3f3f3;
    padding: 15px 0;
    overflow: hidden;
}

.siteheaderwrap{
    background-color: #004066;
    position: relative;
    z-index: 999;
}
.fc-content {
    z-index: 0;
}

.tools {
    float: right;
}

/*.house-points {*/
/*height: 25px;*/
/*padding: 10px 0;*/
/*}*/

/*.house {*/
/*list-style: none;*/
/*width: 24%;*/
/*overflow: hidden;*/
/*margin: 0 1.333% 10px 0;*/
/*float: left;*/
/*display: inline-block;*/
/*}*/

/*.house:nth-child(4) {*/
/*margin-right: 0 !important;*/
/*}*/

/*.northgate {*/
/*background-color: red;*/
/*}*/

/*.points li {*/
/*position: relative;*/
/*width: 135px;*/
/*float: left;*/
/*margin: 0 0 10px 10px;*/
/*height: 28px;*/
/*line-height: 28px;*/
/*font-size: 14px;*/
/*text-align: center;*/
/*padding-right: 42px;*/
/*color: #000;*/
/*text-transform: uppercase;*/
/*}*/

/*.points span {*/
/*position: absolute;*/
/*top: 0;*/
/*right: 0;*/
/*bottom: 0;*/
/*width: 42px;*/
/*height: 100%;*/
/*text-align: center;*/
/*background: #fff;*/
/*}*/

.housepoints {
    margin: 10px 0;
    height: 34px;
}

.housepoints .house {
    width:25%;
    float:left;
}

.housepoints .house .housename {
    padding:5px 20px;
    color:#FFF;
    margin-right: 5%;
}

.housepoints .house .housename.northgate {
    background:#9b0000;
}
.housepoints .house .housename.southgate {
    background:#2d7caf;
}
.housepoints .house .housename.eastgate {
    background:#028a0e;
}
.housepoints .house .housename.westgate {
    background:#cbac03;
    padding-right: 0;
    margin-right: 0;
}

.housepoints .house .housename .points {
    background: rgba(255,255,255,0.3);
    width: 70px;
    display: block;
    float: right;
    padding: 5px 10px;
    margin: -5px -20px;
    text-align: center;
    height: 34px;
}

.housepoints .house .housename.westgate .points {
    margin-right: 0;
}

/***********SITENAVIGATION*************/
.sitenavigation{
    background-color: #273080;
    padding: 0;
    position: relative;
    z-index: 1;
}
.sitenavigation > ul{
    float: none;
    margin: 0 auto;
    width: 980px;
}
.sitenavigation a{
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    border-left:1px solid #1a3259;
}
.navbar-nav > li:last-child > a {
    border-right:1px solid #1a3259;
}

.sitenavigation .nav > li > a{
    padding: 0 15px;
}

.sitenavigation .navbar-nav > li > a {
    line-height: 40px;
    padding-top: 0px;
    padding-bottom: 0px;
    text-transform: uppercase;
}
.sitenavigation .navbar-nav > li:hover > a:hover,
.sitenavigation .navbar-nav > li:hover,
.sitenavigation .dropdown-menu,
.sitenavigation li.dropdown.open a,
.nav > li > a:hover,
.nav > li > a:focus{
    background-color: #273080;
    color:#fff;
}
.navbar-nav > li > .dropdown-menu {
    border: none;
    padding: 0;
    z-index: 1;
    border-radius: 0;
    margin-top: -1px;
    -moz-box-shadow: 0 3px 8px black;
    -webkit-box-shadow: 0 3px 8px black;
    box-shadow: 0 3px 8px black;
}

.dropdown-menu {
    margin-left:1px;
    background-color: #213f6f;
    background-color: rgba(33,63,111,1);
    border:none;
    box-shadow: none;
    border-radius: 0px;
    padding:0;
}

.dropdown-menu > li > a {
    border-left:none;
    border-right:none;
    border-top:#1a3259 1px solid;
    color:#fff;
    font-weight: 700;
    text-transform: none;
    line-height: 30px;
}
.dropdown-menu > li:first-child > a {
    border-top: 0;
}

.sitenavigation li.dropdown.open .dropdown-menu a:hover,
.sitenavigation .dropdown-menu a:hover {
    background-color: #85A6D5;
    color:#fff;
}

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

/***********SITESEARCH*************/
.sitesearch{
    float: right;
    margin: 0 0 5px 5px;
    position: relative;
    width: 215px;
    z-index: 2;
}
.sitesearch .form-control {
    background: #fff;
    border-color: #fff;
    height: 30px;
    border-radius: 0;
}
.sitesearch .btn.btn-primary{
    background: #fff;
    border-color: #fff;
    color: #333;
    line-height: 16px;
    border-radius: 0;
}
/***********LOGINBUTTON*************/
.loginbutton{
    background-image: url("../img/owl-icon.png");
    background-repeat: no-repeat;
    background-position: 0px center;
    background-size: auto 100%;
    background-color: #273080;
    border-radius: 0px;
    float:right;
    font-size: 15px;
    line-height: 16px;
    margin-left: 5px;
    padding-left: 30px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    font-weight:700;
    border-color: #273080;
}

.loginbutton:hover {
    background-color: #273080;
    border-color: #273080;
}

/***********HEADER IMAGE*************/
.header_school_name{
    background: url("../img/logo.png") no-repeat left center;
    background-size: contain;
    float: left;
    height:117px;
    position: relative;
    background-repeat: no-repeat;
    background-position: left center;
}

.header_school_name span {
    color: #273080;
    text-transform: uppercase;
    font-size: 35px;
    font-weight:700;
    display: block;
    width:570px;
    height:117px;
    line-height: 36px;
    padding:25px 0 25px 170px;
}

.header_school_name span small {
    font-size: 24px;
    display:block;
}

.mat-logo {
    float: right;
    clear: right;
    width: 107px;
    height: 126px;
    background-image: url("../img/an-daras-mat.png");
    margin-top:0;
}



.homearea{
    padding: 20px 0;
}
.headertext{
    background-color: #004066;
    background-color: rgba(0,64,102,0.65);
    bottom: 50px;
    color: #fff;
    font-size: 14px;
    left: 50%;
    margin-left: -480px;
    padding: 20px 20px 10px;
    position: absolute;
    width: 480px;
}
.headertext h1.title{
    color: #fff;
    font-size: 28px;
    margin-top: 0;
    text-transform: uppercase;
}


/***********SITEMESSAGE*************/
.sitemessage {
    background-color: #c0392b;
    color:#fff;
    padding:15px 15px 20px;
    margin-bottom:10px;
}

.sitemessage h3 {
    text-transform: uppercase;
    font-size: 20px;
    text-align: center;
    font-weight: 700;
    margin-top:0;
    color:#fff;
}

.sitemessage h3 i {
    margin-right:30px;
}

.sitemessage p {
    text-align: center;
    font-size: 15px;
    margin-bottom:0;
}

/***********FOOTER*************/
.sitefooter{
    text-align: center;
}
.sloganwrap{
    background: #85A6D5;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    padding: 10px 0;
    text-align: center;
    margin-top: 30px;
}

.contact .sloganwrap {
    margin-top: 0;
}

.sloganwrap p{
    line-height: 60px;
    margin-bottom: 0;
    font-size: 25px;
    color:#273080;
}

.contactwrap{
    background: #213f6f;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    padding: 10px 0;
    text-align: center;
    margin-top: 0px;
}

.contactwrap p{
    line-height: 60px;
    margin-bottom: 0;
}
.facebook{
    background: url("../img/facebook.png");
    display: inline-block;
    float: right;
    height: 60px;
    width: 150px;
}
.contact_item{
    color:#fff;
    font-size: 25px;
    font-weight: bold;
    padding-right: 40px;
}
.contact_item:last-child{
    padding-right: 0;
}
.contact_type{
    color: #85A6D5;
}
.footerwrap{
    background: #fff;
}
.legalnote{
    color: #555;
    font-size: 12px;
    text-align: center;
    background: #f3f3f3;
    padding: 10px 0;
}
.legalnote p {
    margin: 0;
}

.accreditationswrap{
    background: #fff;
    padding: 20px 0;

}

.accreditations-list{
    margin: 0;
    padding: 0px;
    text-align: center;
}
.accreditations-list li{
    display: inline-block;
    margin: 0 10px;
}
.accreditations-list img{
    height: 45px;
}
.poweredby{
    background: url("../img/powered.svg") no-repeat center;
    display: inline-block;
    height: 45px;
    width: 147px;
    background-size: contain;
}

/***********HOMESLIDE*************/
.home-galleries {
    overflow: hidden;
    margin-top: 25px;
    margin-bottom: 10px;
}

.homeslide{
    margin: 0 auto;
    position: relative;
    width: 320px;
    margin-left: 10px;
    display: inline-block;
    float: left;
    z-index: 0;
}
.homeslide:first-child {
    margin-left: 0;
}
.homeslide .carousel{
    border: none;
    padding: 0;
    margin: 0;
    height: 280px !important;
}
.homeslide .carousel .carouselInner,
.homeslide .carousel .carouselItem{
    height: 280px !important;
}

.homeslide .carousel .carouselInner .carouselItem{
    background-size: cover;
}
.homeslide .carouselControls{
    left: 0;
    top:50%;
    position: absolute;
    right: 0;
    width: 100%;
    z-index: 999;
    display: none;
}
.homeslide .carouselCaption{
    display: none !important;
}
.homeslide .carousel .carouselControl{
    background-color: #053d7d;
    height: 80px;
    margin: 0;
    padding: 0;
    width: 80px;
}
.homeslide .carousel .carouselControl.carouselNext{
    background-image: url("../img/arrow-lg-right.png");
    border-radius: 40px 0 0 40px;
}
.homeslide .carousel .carouselControl.carouselPrev{
    background-image: url("../img/arrow-lg-left.png");
    border-radius: 0 40px 40px 0;
}

.home .sitecontent .carousel{
    border: 2px solid #dbc26e;
    border-radius: 0;
    overflow: hidden;
    padding: 2px;
    margin-bottom: 20px;
}
.home .sitecontent .carouselControls{
    display: none;
}
.home .sitecontent .carousel .carouselInner .carouselItem{
    background-size: cover;
}

/***********HOMEBOXES*************/
.primary {
    overflow: hidden;
    position: relative;
}
.zoneOne {
    position: absolute;
    height: 100%;
    width: 650px;
    background: #273080;
    padding: 40px;
    color: #fff;
    overflow-y: scroll;
}
/*.zoneOne .textblock {*/
/*    height: calc(100% - 55px);*/
/*    overflow: hidden;*/
/*}*/
.zoneTwo {
    float: right;
    width: 320px;
}

.primary h2 {
    color: #fff;
}

.homeboxes {
    padding: 10px 0;
    max-width: none;
}

.homebox {
    padding: 20px;
    background: #273080;
}

.homeboxes .homebox {
    width: 320px;
    margin-right: 10px;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    position: relative;
}


.homebox h2{
    font-size: 20px;
    margin: 0 0 10px 0;
    text-align: left;
    text-transform: uppercase;
    color: #fff;
}
.homebox .homebox-button{
    text-align: center;
}
.homebox .viewall{
    background: #1f761d;
    border: 0;
    border-radius: 0;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 12px;
    text-transform: uppercase;
    float: right;
}
.homebox .viewall:hover {
    background: #195e17;
}
.homebox.homebox-newsletter {
    margin-right: 0;
    min-height: 0;
}
.homebox.performance-tables {
    margin-top: 10px;
    min-height: 0;
    max-height: 265px;
    height: 171px;
}
.news-items{
    margin-bottom: 20px;
}
.news-item{
    margin-bottom: 8px;
    position: relative;
}
.news-item:after {
    content:'';
    clear: both;
    display: block;
}
.news-item .fa-stack{
    font-size: 35px;
    float: left;
    overflow: hidden;
    margin: 2px 8px 2px 2px;
    background: #273080;
}
.news-items .news-item:nth-child(n+5){
    display:none;
}
.news-text .title{
    font-size: 14px;
    margin-bottom: 5px;
    margin-top: 0;
    font-weight: normal;
}
.news-text .date{
    font-size: 14px;
    line-height: 20px;
    margin: 0 0 2px 0;
    color: #fff;
    font-weight: bold;
}

.news-text{
    padding: 0 8px 8px 8px;
}
.news-text a{
    color: #fff;
}

.homebox-calendar {
    float: left;
    background:#85A6D5;
    width: 100%;
}
.homebox-calendar .events-icon {
    background: #273080 !important;
}

/*.homebox-calendar .news-text p {*/
/*    padding-top: 15px;*/
/*}*/

.news-icon.upload{
    height: 100%;
    width: 100%;
    background-size: contain;
    background-position: center center;
}
.news-icon,
.events-icon{
    background: #85A6D5;
    color: #fff;
    text-align: center;
}
.events-icon {
    color: #fff;
    font-weight: bold;
    height: 70px;
    padding: 12px 0 10px;
    width: 70px;
}
.events-icon span{
    display: block;
    text-align: center;
}
.events-icon .month{
    font-size: 14px;
    line-height: 20px;
    font-weight: 100;
    text-transform: uppercase;
}
.events-icon .date{
    font-size: 28px;
    line-height: 28px;
}

.btn-events {
    background-color: #273080;
    border-color: #273080;
    color:#fff;
}

.btn-events:hover {
    background-color: #273080;
    border-color: #273080;
    color:#fff;
}

/*.btn-events, .btn-news {*/
/*background-color: rgba(233,193,53,1);*/
/*border-color: rgba(233,193,53,1);*/
/*color:#fff;*/
/*}*/

/*.btn-events:hover, .btn-news:hover {*/
/*background-color: rgba(233,193,53,0.8);*/
/*color:#fff;*/
/*}*/



.homeboxes .homebox.homebox-social {
    padding-bottom: 20px;
    background: #85A6D5;
    height: 443px;
}

.homeboxes .homebox.homebox-social iframe {
    width: 280px;
    height: 370px;
}

.homeboxes .homebox.homebox-social .viewall {
    position: relative;
    bottom: 0;
    right: 0;
}

.homebox-social:before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 32px;
    /*background: url("../img/bird.png") no-repeat center;*/
    background-size: contain;
    display: block;
}

.twitter-box {
    z-index: 10;
}

.homeboxes .homebox .viewall {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.parent-view,
.ofsted,
.schoolgateway {
    width: 155px;
    height:110px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 75%;
    background-color: #273080;
    display: inline-block;
    float: left;
    margin-bottom: 10px;
    position: relative;
}


.parent-view:hover,
.ofsted:hover,
.schoolgateway:hover {
    color: white;
}


.parent-view {
    background-image: url("../img/parent-view.png");
}

.ofsted {
    color: white;
    padding: 42px 14px;
    text-align: center;
    font-size: 18px;
    margin-left: 10px;
}

.ofsted.left {
    margin-left: 0;
}

.schoolgateway {
    width:320px;
    background-image: url("../img/schoolgateway.png");
    background-position: center;
    background-size: 80%;
}

.children-first {
    clear: both;
    display: block;
    margin: 10px auto 20px;
    width: 372px;
    height: 27px;
    background: url("../img/children-first.png") no-repeat center;
    background-size: contain;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    font-size: 0;
}

/***********CAROUSEL*************/
.carousel{
    border: 1px solid #b3b1ab;
    border-radius: 5px;
    padding: 9px;
    margin-bottom: 20px;
}
.carouselControls{
    width: 100%;
}
.carouselControls:after {
    content: '';
    clear: both;
    display: block;
}
.carousel .carouselInner .carouselItem{
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    text-align: center;
    width: 100%
}
.carousel-caption-container{
    bottom: -54px;
    left: 0;
    padding: 0 54px;
    position: absolute;
    width: 100%;
}
.carouselCaption{
    padding-top: 15px;
    text-align: center;
}
.carouselCaption:empty{
    padding: 0;
}
.carousel .carouselControl{
    background-color: #213f6f;
    background-repeat: no-repeat;
    border-radius: 3px;
    height: 30px;
    margin: 10px;
    text-indent: -9999px;
    top: auto;
    width: 30px;
    z-index: 101;
}
.carousel .carouselNext{
    background-image: url("../img/arrows.png");
    background-position: top right;
    float: right;
}
.carousel .carouselPrev{
    background-image: url("../img/arrows.png");
    background-position: top left;
    float: left;
}
.carousel-item-link{
    display:block;
    height: 100%;
    width: 100%;
}

.contact h1 {
    color: #273080;
}

/*********** COLUMNS *************/
.primarycolumn{
    margin-bottom: 20px;
}
.sidenav{
    font-size: 20px;
    font-weight: bold;
    padding: 20px 0;
    background-color: #273080;
}

.block {
    width: calc(50% - 10px);
    float: left;
    padding: 20px;
    background: #eaeaea;
}
.block.right {
    float: right;
}
.block h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
}
.block a.btn-block {
    margin-bottom: 10px;
    padding: 10px 30px;
}

.block a.btn-block > span {
    display: block;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.block a.btn-block > small {
    color: #666;
    font-weight: 100;
}

.sidenav a{
    color: #fff;
    padding: 5px 20px;
    display: block;
    position: relative;
    margin-top: -1px;
}
.sidenav a:hover {
    background: #85A6D5;
}

.sidenav li a:hover:after {
    border-color: #85A6D5;
}
.pdfViewer {
    margin-bottom: 15px;
}
.fc-today a {
    color: #273080 !important;
}
.sidenav .active>a{
    color: #fff;
    background: #85A6D5;
    width: 100%;
}

.sidenav ul {
    margin-bottom: 0;
}

.sidenav li a:after {
    content: '';
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
}

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

/***********CALENDAR PAGE*************/
.fc-button-prev {
    background-image:url('../img/cal-left.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.fc-button-next {
    background-image:url('../img/cal-right.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.fc-header {
    margin-top:0;
}

.fc-header h2 {
    margin:0;
}

.fc-widget-header {
    border: 1px solid #85A6D5;
    background-color: #273080;
    line-height:2;
}

.fc-widget-header:first-child {
    border-left:none;
}
.fc-widget-header:last-child {
    border-right:none;
}

.fc-widget-content {
    border: 1px solid #85A6D5;
    background-color: #FFF;
}

.fc-widget-content:first-child {
    border-left:1px solid #fff;
}
.fc-widget-content:last-child {
    border-right:1px solid #fff;
}

.fc-content tbody tr:first-child td {
    border-top:1px solid #85A6D5;
}

.fc-content tbody tr:last-child td.fc-widget-content {
    border-bottom:1px solid #fff;
}

.fc-state-highlight>div {
    border: none;
    z-index:1;
}
.home .fc-state-highlight>div {
    position: relative;
}

.home.fc-state-highlight>div:before {
    content:'\f005';
    font-family: 'FontAwesome';
    font-size: 28px;
    position:absolute;
    text-align:center;
    display: block;
    width:100%;
    color:#85A6D5;
    z-index: -1;
    line-height: 26px;
}
.fc-state-highlight>div {
    background: #c0392b;
    border-color: #c0392b;
}
.fc-day.fc-today {
    color: white;
}

.fc-grid .fc-day-number {
    padding: 2px 2px;
}

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

.fc-header td {
    border: none;
}

table.fc-border-separate {
    margin-top:0;
}

.fc-button {
    background-color:transparent;
    border:none;
    text-shadow: none;
    box-shadow: none;
}

.fc-button-prev {
    background-image:url('../img/cal-left.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.fc-button-next {
    background-image:url('../img/cal-right.svg');
    background-repeat: no-repeat;
    background-position: center;
}
.calendar-sm #calendar {
    font-size: 14px;
}

.calendar-sm #calendar .eventDate .fc-day-number {
    position: relative;
    z-index:1;
    padding: 2px 0;
}

.calendar-sm #calendar .eventDate .fc-day-number a {
    color:#fff;
}

.calendar-sm #calendar .eventDate .fc-day-number:before {
    content:'\f111';
    font-family: 'FontAwesome';
    font-size: 28px;
    position:absolute;
    text-align:center;
    display: block;
    width:100%;
    color:rgba(33,63,111,1);
    z-index: -1;
    line-height: 22px;
}

body.calendar .fc-button {

}

body.calendar .fc-button.fc-button-prev {
    background: #273080 url(../img/arrow-lg-left.png) no-repeat center / 30px;
    width: 40px;
    height: 40px;
}
body.calendar .fc-button.fc-button-next {
    background: #273080 url(../img/arrow-lg-right.png) no-repeat center / 30px;
    width: 40px;
    height: 40px;
}

body.calendar .fc-header-title h2 {
    color: #273080;
}

body.calendar .fc-event {
    background: #273080;
}

.primarycolumn h1,
.staff_member h4 {
    color: #273080;
}

.search_results h5 {
    color: #333;
    margin: 15px 0;
}

.btn-cal {
    background-color: #273080;
    border-color: #273080;
    color:#fff;
}

.fc-today a {
    color: white;
}

.btn-cal:hover {
    background-color: #273080;
    color:#fff;
}

#map-canvas,
#map-canvas1{
    border-radius: 10px;
    height: 210px;
    margin: 0 0 50px;
    width: 100%;
}


.modal-header .close{
    background: #13365a;
    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;
}
.videoPlayer iframe,
#player{
    height: 450px;
}

/*******Staff Member********/
.staff_member{
    border: 1px solid #b2b0aa;
    border-radius: 3px;
    margin-bottom: 20px;
    padding: 25px 10px 10px;
}
.staff_member h4,
.staff_member h5 {
    margin-top: 0;
}
.staff_photo{
    background-color: #fff;
    background-size: contain;
    background-position: center center;
    border-radius: 39px;
    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;
    color: #333;
    display: block;
    margin: 10px -10px -10px;
    padding: 5px 10px;
}
.staff_spacer:before {
    content:'';
    height:15px;
    clear: both;
    display:block;
    z-index: -1;
}

.staff_biog {
    margin-bottom: 0;
    clear: both;
}

/*******Contact********/
#contact-page {
    overflow: hidden;
}
#contact-page .col1 {
    width: 600px;
    display: inline-block;
    float: left;
}
#contact-page .col2 {
    width: 300px;
    display: inline-block;
    float: right;
}
.contactformwrapper{
    background: #d0d9e3;
    clear: both;
    padding: 40px 0;
    width: 50%;
    height: auto;
    float: left;
    padding-bottom: 0;
}
.contact-container {
    width: 480px;
    float: right;
}
#contactform p {
    clear: both;
}
.contactform h3{
    text-align: center;
    margin: 0 0 30px 0;
    color: #13365a;
}
.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 {
    background: url(../img/send.png) no-repeat top center #273080;
    border-color: #273080;
    font-weight: bold;
    height: 76px;
    text-transform: uppercase;
    padding-top: 40px;
    width: 144px;
    font-size: 14px;
}
.contactform .send_message:hover {
    background: #008fd1 url(../img/send.png) no-repeat top center;
    border-color: #008fd1;
    color: white;
}
.school_contacts li{
    font-weight: bold;
    line-height: 36px;
    height: 36px;
    margin-bottom: 10px;
    padding-left: 46px;
    position: relative;
    color: #fff;
}
.contact-container .school_contacts li, .contact-container .school_contacts li a {
    color: #273080;
}
.school_contacts li a{
    color: #fff;
}
.school_contacts li:before{
    background-color: #273080;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 50%;
    content: '';
    height: 36px;
    left: 0;
    position: absolute;
    top: 0;
    width: 36px;
}
#trust .school_contacts li:before {
    background-color: #85A6D5;
}
.school_contacts li.telephone:before {
    background-image: url(../img/tel.png);
}
.school_contacts li.email:before {
    background-image: url(../img/env.png);
}
.school_contacts li.contact-person::before {
    content: '\f007';
    font-family: FontAwesome, sans-serif;
    font-size: 20px;
    line-height: 36px;
    color: #fff;
    padding-left: 10px;
}

.school_contacts li.nobefore::before {
    background: transparent;
}

#trust {
    clear: both;
    background:#273080;
    padding: 30px 0;
}

#trust .container {
    width: 960px;
    margin: auto;
    overflow: auto;
}

#trust .container address {
    width: 47.5%;
    float: left;
    margin-right: 2.5%;
    text-align: right;
    margin-bottom: 0;
}
#trust .container .school_contacts {
    width: 47.5%;
    float: right;
    margin-left: 2.5%;
    margin-bottom: 0;
}

.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;
}



/*******links********/
.newsdate{
    font-size: 14px;
    color: #000;
    margin-bottom: 20px;
}
.newsletter-item a,
.resource-item a{
    background: #85A6D5;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 14px 10px 15px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    white-space: nowrap;
    color: #273080;
}
.newsletter-item a:hover,
.resource-item a:hover {
    background-color: #85A6D5;
}
.newsletter-item a i,
.resource-item a i {
    font-size: 20px;
    position: relative;
    top: 2px;
    margin-right: 10px;
}
.externallink a{background: #85A6D5}
.downloadlink a{background: #85A6D5}
.pagelink a{background: #85A6D5;}

.homebox-newsletter .newsletter-item:nth-child(n+4) {
    display: none;
}

.homebox.performance-tables .resource-item:nth-child(n+2) {
    display: none;
}

.newsletter-item a,
.resource-item a {
    color: #fff;
}
.textblock,
.resource_items{
    margin-bottom: 20px;
}
.textblock ul{
    list-style: disc;
    padding-left: 20px;
}
.textblock ol{
    list-style: decimal;
    padding-left: 20px;
}

address {
    color: #fff;
}


/******* NEWS FEED ********/
.newsfeed {
    margin: 10px 0;
    overflow: hidden;
    position: relative;
    background: #1f761d;
    color: #fff;
}

.newsfeed ul,
.newsfeed li {
    list-style: none;
    margin: 0;
}
.newsfeed li {
    display: inline-block;
    margin-left: 50px;
}
.newsfeed p {
    display: inline-block;
    vertical-align: bottom;
    margin: 0 0 0 10px;
    color: #fff;
    line-height: 40px;
}

.newsfeed:before {
    content: 'Newsflash';
    text-transform: uppercase;
    position: absolute;
    left:0;
    top: 0;
    height:100%;
    width: 210px;
    background: url("../img/newsfeed-left.png") no-repeat left center;
    background-size: contain;
    padding-left: 30px;
    line-height: 40px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}
.newsfeed:after {
    content: '';
    position: absolute;
    right:0;
    bottom: 0;
    height:100%;
    width: 40px;
    background: url("../img/newsfeed-right.png") no-repeat right center;
    background-size: contain;
}

.poweredby {
    height: 40px;
    background-image: url("/assets/img/logo.png");
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    width: 125px;
}

.scrollmessage {
    line-height: 40px;
}

/******* TWITTER FEED ********/

.homebox-social {
    position: relative;
}
.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%;
}
.homebox-social .homebox-button a {
    background-color: #213f6f;
    border-color: #213f6f;
    margin-top:23px;
}
.tweet-media img {
    width: 100%;
}
.twitter-wrapper {
    overflow-x: hidden;
    overflow-y: scroll;
    height: 369px;
    position: relative;
}

.twitter-feed {
    list-style: none;
    margin: 0;
    padding: 0;
}

.twitter-feed a {
    color:rgba(45,124,175,1);
}


.twitter-feed > li {
    padding: 10px 8px;
    width: 100%;
    position: relative;
    margin-bottom: 15px;
    background: #fff;
    font-size: 14px;
}
.twitter-feed > li:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 30px;
    border-width: 18px 20px 0 0;
    border-style: solid;
    border-color: #fff transparent;
    display: block;
    width: 0;
}
.twitter-feed >li:nth-child(even):after {
    left: auto;
    right: 30px;
    border-width: 18px 0 0 20px;
}

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

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

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

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

.quote-wrapper{
    padding: 5px;
    border-radius: 5px;
    background: #eee;
    display: block;
    margin: 10px 0;
}

.quote-wrapper:hover {
    background: #e1e1e1;
    color: #000;
}



.modal * {
    color: #333;
}

.modal-title {
    color:#213f6f;
}
.hamburger{
    display: none;
    border: 1px solid rgba(45,124,175,1);
    color: rgba(45,124,175,1);
    padding: 0.1em 0.5em;
    z-index: 303;
    float: right;
    margin-right: 5px;
}
.hamburger:hover {
    color: #fff;
}
.toggle-sidenav {
    display: none;
}
.sidenav:last-child {
    margin-right: 2.35765%;
}
.sidr {
    background: #85A6D5 !important;
    box-shadow: none !important;
    border-left: 1px solid #fff;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
}
.sidr ul {
    border: none !important;
}
.sidr ul li {
    border-bottom: none !important;
    border-top: 1px solid #1a3259 !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;
    background-color: #273080 !important;
}
.search_results a.btn.btn-default.btn-block {
    text-overflow: ellipsis;
    overflow: hidden;
}

.search_results h1,
.search_results h2 {
    color: #333;
}

.primarycolumn .col2 {
    margin-top: 30px;
}
header {
    position: relative;
    z-index: 1000;
}
@media only screen and (max-width: 980px) {
    .sitecontent, .contactformwrapper {
        width: 100%;
        float: left;
    }
    .contact_item a {
        color: #fff;
    }
    .contact-container, .contact-container-2 {
        width: 90%;
        float: none;
        margin: auto;
    }

    .contact .sitecontent {
        width: 100%;
    }
    #contactform > p {
        top: 0;
        width: calc(100% - 160px);
        margin-bottom: 50px;
        clear: none;
    }
    .contact-container .contactform address {
        margin-top: 0;
    }

    .sitenavigation > ul,
    .siteheader,
    .sitemessage,
    .sitecontent,
    .sitefooter,
    .contactform,
    .inner,
    .primarycolumn,
    #contact-page .col1,
    #contact-page .col2 {
        width: 100%;
    }
    .homeboxes .homebox {
        width: 27.5%;
        margin-right: 9px;
    }
    .homeboxes .homebox.homebox-newsletter {
        margin-right: 0;
    }
    .homebox.homebox-social {
        width: 42%;
    }
    .homebox.homebox-news {
        width: 28%;
    }
    .homebox.homebox-newsletters,
    .homebox.performance-tables{
        width: 27.4%;
    }
    .zoneTwo {
        width: 33%;
    }
    .zoneOne {
        width: 66%;
    }
    .home-galleries {
        display: none;
    }
    .loginbutton,
    .sitesearch,
    #google_translate_element {
        margin: 0 5px 5px 0;
    }
    .sitecontent {
        width: 100%;
        padding: 10px;
        margin: 0;
    }
    .parent-view,
    .ofsted {
        width: 48%;
    }
    .schoolgateway {
        width: 100%;
    }
    .housepoints .house {
        width: 100%;
    }
    .housename {
        margin-right: 0 !important;
    }
    .housepoints {
        height: 136px;
    }
    .primarycolumn {
        width: 65%;
    }
}

@media only screen and (max-width: 767px) {
    .sitenavigation {
        display: none;
    }
    .block {
        width: 100% !important;
    }
    .contact_item {
        padding-right: 0;
    }
    .sloganwrap p {
        line-height: 32px;
    }
    .block {
        width: 100%;
    }
    #contactform > p {
        width: 100%;
    }
    .primarycolumn {
        width: 100%;
    }
    #trust .container {
        width: 100%;
    }
    #trust .container address {
        width: 100%;
        margin-right: 0;
        padding: 0 20px;
        text-align: left;
    }
    #trust .container .school_contacts {
        width: 100%;
        margin-left: 0;
        padding: 0 20px;
        margin-top: 10px;
    }
    .primarycolumn .col2 {
        width: 100%;
        margin-right: 0;
    }
    .hamburger {
        display: inline-block;
    }
    .homeboxes .homebox,
    .zoneTwo {
        width: 100%;
    }
    .zoneTwo > a {
        margin: 10px 10px 0 0;
        width: calc(50% - 5px);
    }
    .zoneTwo > a:nth-child(2),
    .zoneTwo > a:nth-child(4) {
        margin: 10px 0 0 0;
    }
    .zoneTwo > a:nth-child(4) {
        margin-bottom: 10px;
    }
    .parent-view,
    .ofsted {
        width: 50%;
        margin: 0;
    }
    .homebox-social, .homebox-news {
        margin-bottom: 10px !important;
    }
    .zoneOne {
        width: 100%;
        position: relative;
        padding: 15px;
    }
    .schoolgateway {
        float: none;
        background-size: 60%;
        margin: 0;
    }
    .sloganwrap {
        margin: 0;
    }
    .contact_item {
        font-size: 18px;
        display: block;
    }
    .contact_item a {
        color: white !important;
    }
    .mat-logo {
        display: none;
    }
    .header_school_name {
        height: 75px;
        margin-left: 10px;
    }
    .header_school_name span small {
        font-size: 14px;
    }
    .header_school_name span {
        padding: 22px 0 20px 100px;
        font-size: 29px;
        line-height: 29px;
    }
    .toggle-sidenav {
        width: 137px;
        font-size: 17px;
        display: block !important;
        border-radius: 0;
        color: #000;
        background-color: #fff;
        border-bottom: 1px solid;
        text-align: center;
        margin-bottom: 10px;
        font-weight: bold;
        padding: 5px;
        float: left;
        margin-left: 0;
    }
    .sidenav {
        width: 100%;
        margin: 0;
        padding: 0;
        border-radius: 0;
        display: none;
    }
    .col1,
    .col2 {
        width: 100%;
    }
    .school_contacts li {
        font-size: 12px;
    }
}

/* Responsive table code */

.table-responsive td,
.table-responsive .table {
    width: auto !important;
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    margin-top: 0;
}
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}
.table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
}
.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > td {
    border-top: 0;
}
.table > tbody + tbody {
    border-top: 2px solid #ddd;
}
.table .table {
    background-color: #fff;
}
.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
    padding: 5px;
}
.table-bordered {
    border: 1px solid #ddd;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
    border: 1px solid #ddd;
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
    border-bottom-width: 2px;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}
.table-hover > tbody > tr:hover {
    background-color: #f5f5f5;
}
table col[class*="col-"] {
    position: static;
    display: table-column;
    float: none;
}
table td[class*="col-"],
table th[class*="col-"] {
    position: static;
    display: table-cell;
    float: none;
}
.table > thead > tr > td.active,
.table > tbody > tr > td.active,
.table > tfoot > tr > td.active,
.table > thead > tr > th.active,
.table > tbody > tr > th.active,
.table > tfoot > tr > th.active,
.table > thead > tr.active > td,
.table > tbody > tr.active > td,
.table > tfoot > tr.active > td,
.table > thead > tr.active > th,
.table > tbody > tr.active > th,
.table > tfoot > tr.active > th {
    background-color: #f5f5f5;
}
.table-hover > tbody > tr > td.active:hover,
.table-hover > tbody > tr > th.active:hover,
.table-hover > tbody > tr.active:hover > td,
.table-hover > tbody > tr:hover > .active,
.table-hover > tbody > tr.active:hover > th {
    background-color: #e8e8e8;
}
.table > thead > tr > td.success,
.table > tbody > tr > td.success,
.table > tfoot > tr > td.success,
.table > thead > tr > th.success,
.table > tbody > tr > th.success,
.table > tfoot > tr > th.success,
.table > thead > tr.success > td,
.table > tbody > tr.success > td,
.table > tfoot > tr.success > td,
.table > thead > tr.success > th,
.table > tbody > tr.success > th,
.table > tfoot > tr.success > th {
    background-color: #dff0d8;
}
.table-hover > tbody > tr > td.success:hover,
.table-hover > tbody > tr > th.success:hover,
.table-hover > tbody > tr.success:hover > td,
.table-hover > tbody > tr:hover > .success,
.table-hover > tbody > tr.success:hover > th {
    background-color: #d0e9c6;
}
.table > thead > tr > td.info,
.table > tbody > tr > td.info,
.table > tfoot > tr > td.info,
.table > thead > tr > th.info,
.table > tbody > tr > th.info,
.table > tfoot > tr > th.info,
.table > thead > tr.info > td,
.table > tbody > tr.info > td,
.table > tfoot > tr.info > td,
.table > thead > tr.info > th,
.table > tbody > tr.info > th,
.table > tfoot > tr.info > th {
    background-color: #d9edf7;
}
.table-hover > tbody > tr > td.info:hover,
.table-hover > tbody > tr > th.info:hover,
.table-hover > tbody > tr.info:hover > td,
.table-hover > tbody > tr:hover > .info,
.table-hover > tbody > tr.info:hover > th {
    background-color: #c4e3f3;
}
.table > thead > tr > td.warning,
.table > tbody > tr > td.warning,
.table > tfoot > tr > td.warning,
.table > thead > tr > th.warning,
.table > tbody > tr > th.warning,
.table > tfoot > tr > th.warning,
.table > thead > tr.warning > td,
.table > tbody > tr.warning > td,
.table > tfoot > tr.warning > td,
.table > thead > tr.warning > th,
.table > tbody > tr.warning > th,
.table > tfoot > tr.warning > th {
    background-color: #fcf8e3;
}
.table-hover > tbody > tr > td.warning:hover,
.table-hover > tbody > tr > th.warning:hover,
.table-hover > tbody > tr.warning:hover > td,
.table-hover > tbody > tr:hover > .warning,
.table-hover > tbody > tr.warning:hover > th {
    background-color: #faf2cc;
}
.table > thead > tr > td.danger,
.table > tbody > tr > td.danger,
.table > tfoot > tr > td.danger,
.table > thead > tr > th.danger,
.table > tbody > tr > th.danger,
.table > tfoot > tr > th.danger,
.table > thead > tr.danger > td,
.table > tbody > tr.danger > td,
.table > tfoot > tr.danger > td,
.table > thead > tr.danger > th,
.table > tbody > tr.danger > th,
.table > tfoot > tr.danger > th {
    background-color: #f2dede;
}
.table-hover > tbody > tr > td.danger:hover,
.table-hover > tbody > tr > th.danger:hover,
.table-hover > tbody > tr.danger:hover > td,
.table-hover > tbody > tr:hover > .danger,
.table-hover > tbody > tr.danger:hover > th {
    background-color: #ebcccc;
}
.table-responsive {
    min-height: .01%;
    overflow-x: auto;
}
@media screen and (max-width: 767px) {
    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }
    .table-responsive > .table {
        margin-bottom: 0;
    }
    .table-responsive > .table > thead > tr > th,
    .table-responsive > .table > tbody > tr > th,
    .table-responsive > .table > tfoot > tr > th,
    .table-responsive > .table > thead > tr > td,
    .table-responsive > .table > tbody > tr > td,
    .table-responsive > .table > tfoot > tr > td {
        white-space: nowrap;
    }
    .table-responsive > .table-bordered {
        border: 0;
    }
    .table-responsive > .table-bordered > thead > tr > th:first-child,
    .table-responsive > .table-bordered > tbody > tr > th:first-child,
    .table-responsive > .table-bordered > tfoot > tr > th:first-child,
    .table-responsive > .table-bordered > thead > tr > td:first-child,
    .table-responsive > .table-bordered > tbody > tr > td:first-child,
    .table-responsive > .table-bordered > tfoot > tr > td:first-child {
        border-left: 0;
    }
    .table-responsive > .table-bordered > thead > tr > th:last-child,
    .table-responsive > .table-bordered > tbody > tr > th:last-child,
    .table-responsive > .table-bordered > tfoot > tr > th:last-child,
    .table-responsive > .table-bordered > thead > tr > td:last-child,
    .table-responsive > .table-bordered > tbody > tr > td:last-child,
    .table-responsive > .table-bordered > tfoot > tr > td:last-child {
        border-right: 0;
    }
    .table-responsive > .table-bordered > tbody > tr:last-child > th,
    .table-responsive > .table-bordered > tfoot > tr:last-child > th,
    .table-responsive > .table-bordered > tbody > tr:last-child > td,
    .table-responsive > .table-bordered > tfoot > tr:last-child > td {
        border-bottom: 0;
    }
}


.table-pre > span {
    border-left: 2px solid #ddd;
    border-right: 2px solid #ddd;
    border-top: 2px solid #ddd;
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    font-size: 13px;
}

.home .carouselItem.cycle-slide {
    background-size: cover !important;
}