.header-inner {
    width: 90%;
}

.theme-site-name {
    display: inline-block;
    vertical-align: middle;
    font-size: 55px;
    font-weight: 600;
    color: #2f478b;
    margin-left: 20px;
}

.line_container {
    text-align: center;
    margin-bottom: 20px;
}

.right-box.pull-right {
    margin-top: 20px;
}
.school-details.pull-left {
    padding-left: 0;
}

.theme-site-name span {
    font-size: 33px;
    display: block;
}
#google_translate_element {
    float: right;
    margin-right: 0;
}

.header-inner p.theme-email {
    padding-right: 0;
    margin-right: 0;
}

.header-inner .school-address {
    margin-right: 0;
}

.goog-te-gadget .goog-te-combo {
    width: 160px;
    background: #2f478b url(/img/bespoke/alresford_ps/arrow_img2.png) 140px center no-repeat;
    height: 23px;
    padding: 0px 5px;
    border-radius: 0;
    border: none;
    color: #fff;
}

#theme-slideshow {
    border-top: 30px solid #2963b1;
}

.theme-headteacher::after{
    display: none;
}

.school-address p {
    color: #2f478b;
}
.nav {
    width: 100%;
    max-width: 1300px;
    padding-top: 20px;
}

.nav a {
    color: #fff;
}

.nav > ul > li {
    position: relative;
    width: 15%;
    height: 175px;
    margin-bottom: 50px;
}


.nav > ul > li > a{
    /*width: 230px;*/
    width: 100%;
    height: 200px;
    position: relative;
    font-size: 18px;
}



.nav > ul > li > a .nav-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 19px;
    padding: 15px 5px;
}

.nav > ul > li > a .nav-title.dline {
    padding: 9px 5px;
    line-height: 1em;
}

.nav > ul > li > a .nav-title.tline {
    padding: 0px 5px;
    line-height: 1em;
}

.nav ul ul {
    width: 100%;
    
}

.nav ul ul li {
    background: none;
    color: #fff;

}


.nav > ul > li > a{
    background: url(/img/bespoke/alresford_ps/nav1.jpg) center no-repeat;
}

.nav > ul > li.item2 > a{
    background: url(/img/bespoke/alresford_ps/nav2.jpg) center  no-repeat;
}

.nav > ul > li.item3 > a{
    background: url(/img/bespoke/alresford_ps/nav3.jpg) center no-repeat;
}

.nav > ul > li.item4 > a{
    background: url(/img/bespoke/alresford_ps/nav4.jpg) center no-repeat;
}

.nav > ul > li.item5 > a{
    background: url(/img/bespoke/alresford_ps/nav5.jpg) center no-repeat;
}

.nav > ul > li.item6 > a{
    background: url(/img/bespoke/alresford_ps/nav6.jpg) center no-repeat;
}

.nav > ul > li.item7 > a{
    background: url(/img/bespoke/alresford_ps/nav7.jpg) center no-repeat;
}

.nav > ul > li.item8 > a{
    background: url(/img/bespoke/alresford_ps/nav8.jpg) center no-repeat;
}
.nav > ul > li.item9 > a{
    background: url(/img/bespoke/alresford_ps/nav9.jpg) center  no-repeat;
}
.nav > ul > li.item10 > a{
    background: url(/img/bespoke/alresford_ps/nav10.jpg) center  no-repeat;
}
.nav > ul > li.item11 > a{
    background: url(/img/bespoke/alresford_ps/nav11.jpg) center no-repeat;
}
.nav > ul > li.item12 > a{
    background: url(/img/bespoke/alresford_ps/nav_12.jpg) center  no-repeat;
}

.slideshow-wrapper {
    position: relative;
}

img.wave {
    position: absolute;
    bottom: 0px;
}

/*qlinks*/

.qlinks {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
    padding: 0 15px;
}

.qlinks ul {
    padding: 0;
    list-style: none;
}

.qlink {
    display: inline-block;
    width: 11%;
    background: #1c2470;
    margin: 0.5%;
    border-radius: 10px;
}

.qlink a {
    color: #fff;
    padding: 10px 0;
    display: block;
    font-size: 18px;
    text-decoration: none;
}

.ql1 {
    background-color: #c82b2b;
}

.ql2 {
    background-color: #f08d00;
}

.ql3 {
    background-color: #f0cb00;
}

.ql4 {    
    background-color: #56a132;
}

.ql5 {
    background-color: #156cbc;
}

.ql6 {
    background-color: #ba2bf5;
}

.ql7 {
    background-color: #c93d72;
}

.ql8 {
    background-color: #6644E4;
}

/* content */

.content {
    width: 100%;
    max-width: 1300px;
    padding: 0 20px;
    margin: 0 auto;
}

.content .element-text h1,
.content .element-text h2,
.content .element-text h3,
.content .element-text h4,
.content .element-text h5,
.content .element-text h6 {
    color: #156cbc;
    padding-bottom: 10px;
}

.content .element-text h1 {
    font-size: 40px;
}
.content .element-text h2 {
    font-size: 36px;
}
.content .element-text h3,
.contet .element h3 {
    font-size: 32px;
}
.content .element-text h4 {
    font-size: 26px;
}
.content .element-text h5 {
    font-size: 24px;
}
.content .element-text h6 {
    font-size: 22px;
}


h2.custom_title {
    font-size: 36px;
    color: #156cbc;
}

.sj_element_events h3,
.sj_element_news h3 {
    display: none
}


.sj_element_events dl.sj_events dt small {
    position: absolute;
    left: -90px;
    top: 4px;
    width: 80px;
    height: 81px;
    background: url(/img/bespoke/alresford_ps/event.png) no-repeat;
    box-shadow: none;
    border: none;
}

.sj_element_events dl.sj_events dt small .day {
    position: absolute;
    top: 5px;
    height: 50px;
    line-height: 46px;
    text-align: center;
    left: 0;
    width: 66px;
    background: none;
    font-weight: 400;
    font-size: 46px;
    color: #fff;
}

.sj_element_events dl.sj_events dt small .month {
    color: #fff;
    background: none;
    position: absolute;
    top: 55px;
    left: 0;
    line-height: 18px;
    height: 18px;
    width: 66px;
    text-align: center;
    font-weight: 400;
}

.sj_element_events dl.sj_events {
    padding-left: 90px;
    min-height: 100px;
    padding-bottom: 10px;
}

.sj_element_news ul li a, .sj_element_events dl.sj_events dt, .sj_element_newsletters strong {
    color: #156cbc;
    font-weight: 400;
    font-size: 21px;
}

.events-time {
    display: none;
}

.sidenav {
    float: left;
    width: 25%;
    position: relative;
    z-index: 555;
    background: #156cbc;
}

.sidenav li {
    border-bottom: none;
    background: #156cbc;
}

.sidenav a {
    color: #fff;
    text-align: left;
    font-size: 17px;
}

.has-side-menu .content-inner {
    max-width: 1300px;
    padding: 30px 35px 15px 35px;
}

.footer-inner {
    background: #1f4f7b;
    color: #fff;
    padding: 20px 0;
}

.footer-inner .school-address {
    max-width: 1300px;
    padding: 10px 35px;
    margin: 0 auto;
}

.footer-inner .school-address p {
    color: #fff;
}

.copyright {
    max-width: 1300px;
    padding: 10px 35px;
    margin: 0 auto;
    text-align: left;
    background: #1f4f7b;
    color: #fff;
    font-size: 10px;
}

.footer_award {
    float: right;
    text-align: right;
    right: 0;
    width: 5%;
}

.sj_preview.page-main-page .element-map {
    margin-bottom: 0;
}

.row-none {
    display: none;
}



