@import "components/grid.css";
@import "components/buttons.css";
@import "components/newsletters.css";


body {
    font-family: 'Arvo', serif;
}

.sitecontent {
    font-family: Ubuntu, sans-serif;
    color:#333;
}

.sitecontent h1 {
    color: #761113;
    font-weight: 700;
    font-family: 'Arvo', serif;
}

body > .container {

}

.clearfix:after {
    content: '';
    height: 0px;
    clear: both;
    display: block;
}

p {
    font-family: 'Ubuntu', sans-serif;
}

.siteheader {
    /*background-image: url("../img/ladysmith-photos-school-front.jpg");*/
    /*background-repeat: no-repeat;*/
    /*background-position: center;*/
    /*background-size: cover;*/
    max-width: 100%;
    position: relative;
}

.siteheader-img {
    min-height: 132px;
    height:190px;
    position: relative;
    z-index:1;
    background-image: url("../img/siteheader-inner.png");
    background-repeat: repeat-x;
    background-position: calc(50% - 500px) 0px;
    padding-top:15px;
}

.home .siteheader-img {
    height:585px;
    background-image: url("../img/siteheader.png");
}





.siteheader .container {
    max-width: 992px;
    margin:0 10px;
}

.header_school_name {
    background-image: url("../img/logo.png");
    display: inline-block;
    width: 468px;
    height: 41px;
    margin-top:15px;
    font-size: 0px;
}

.header-buttons {
    margin-top:-10px;
}

.header-buttons div[class^="col-"] {
    margin-top:5px;
}

.loginbutton {
    display:block;
    width:100%;
    clear: right;
    background-color: rgba(207,160,57,1);
    border: 1px solid rgba(207,160,57,1);
    font-weight: 700;
}

.loginbutton:hover {
    background-color: rgba(207,160,57,0.8);
    border: 1px solid rgba(207,160,57,1);
}

.sitesearch .form-control {
    box-shadow: none;
    border:none;
}

.sitesearch .btn {
    background-color: #fff;
    border:1px solid #FFF;
    color: #333;
    box-shadow: none;
}

#google_translate_element {
    float:right;
    border-radius: 4px;
    padding:5px 5px 6px 5px;
    background-color: #fff;
}

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

@media (min-width: 768px) {
    .siteheader .container {
        max-width: 992px;
        margin:auto;
    }
    .sitesearch {
        float:right;
    }
    .sitemessage > .container {
        max-width: 992px;
        margin:auto;
    }

    .sitefooter {
        max-width:100%;
    }

    .sitefooter > .container {
        max-width: 992px;
        margin:auto;
    }


    .sitefooter > .container .primary {
        text-align: right;
    }
}


.container > .navbar-collapse {
    margin-left:-10px;
    margin-right:-10px;
    background-color: #761113;
    border-radius: 25px 25px 0 0;
    padding-left:0px;
    padding-right: 0px;
    position: relative;
    z-index: 1;
    margin-top:-50px;
}

.home .container > .navbar-collapse {
    position: static;
    z-index: auto;
    margin-top:0;
}

.sitenavigation > .navbar-nav {
    z-index:1;
}

.navbar-nav > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 25px 25px 0 0;
    color:#FFF;
    -webkit-transition: background-color 0.2s; /* Safari */
    transition: background-color 0.2s;
    font-weight: 700;
}

.navbar-nav > li.active > a, .navbar-nav > li > a:hover {
    background-color: #cd9d38;
}

.navbar-nav > li > .dropdown-menu {
    border-radius: 0 10px 10px 10px;
    border:none;
    background: #cd9d38;
    box-shadow: none;
}

.dropdown-menu > li > a {
    padding: 3px 15px;
    color: #FFF;
    -webkit-transition: background-color 0.1s; /* Safari */
    transition: background-color 0.1s;
}

.dropdown-menu > li > a:hover {
    background-color: #761113;
    color: #FFF;
}

.sitenavigation:before {
    /*background-color: #953D3C;*/
    height: 190px;
    width:100%;
    position: absolute;
    bottom:0;
    left:0;
}

.home .sitenavigation:before {
    background-image: url("../img/siteheader-bottom-strip.png");
    background-repeat: repeat-x;
    background-position: calc(50% - 100px) 0px;
    background-color: transparent;
    height: 132px;
    width:100%;
    position: absolute;
    bottom:0px;
    left:0px;
}

.sitemessage {
    padding: 15px 0;
    background-color: #fcf0d8;
    color: #761113;
}


.sitecontent {
    margin-top:25px;
}

.homebox h2 {
    font-size: 26px;
    color:#761113;
    font-weight: 700;
}

.homebox .btn-lozenge {
    margin-top:15px;
}


.sitefooter {
    position: relative;
    background-color: #761113;
    margin-top:55px;
    padding-top:60px;
    padding-bottom:15px;
    color:#fff;
}

.sitefooter:before {
    content: '';
    background-image: url('../img/sitefooter.png');
    background-repeat: repeat-x;
    background-position: center top;
    height:75px;
    width:100%;
    position: absolute;
    top:-30px;
}

.sitefooter p {
    margin-bottom: 3px;
}

.sitefooter .legal-credits {
    margin-top: 35px;
}

.sitefooter p.legalnote a {
    color:#cd9d38;
}

.accreditations-list li {
    float:right;
    margin:0 0 10px 10px;
}

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





/*******Staff Member********/
.staff_member{
    background: #fbf0d8;
    margin-bottom: 20px;
    padding: 25px 10px 10px 25px;
    border-radius: 10px;
}
.staff_member h4,
.staff_member h5 {
    color: #6c1c40;
    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;
    border-radius: 7px;
}
.staff_email{
    border-top: 1px solid #761113;
    clear: both;
    color: #333;
    display: block;
    margin: 10px 5px -10px -10px;
    padding: 5px 10px;
}
.staff_biog {
    margin-top:10px;
}


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

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

.carousel{
    border: 1px solid #b3b1ab;
    border-radius: 5px;
    padding: 9px;
    margin-bottom: 20px;
}

.home .carouselInner {
    height:635px !important;
}
.carouselControls{
    width: 100%;
}
.carouselControls:after {
    content: '';
    clear: both;
    display: block;
}

.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: #138ba2;
    background-repeat: no-repeat;
    border-radius: 3px;
    height: 30px;
    margin: 10px;
    top: auto;
    width: 30px;
    text-align: center;
    line-height: 28px;
    z-index: 101;
    color:#fff;
}
.carousel .carouselNext{
    float: right;
}
.carousel .carouselPrev{
    float: left;
}
.carousel-item-link{
    display:block;
    height: 100%;
    width: 100%;
}

.home .carousel{
    border: none;
    border-radius: 5px;
    overflow: hidden;
    padding: 0;
    margin-bottom: 0;
    position: absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    z-index:-1;
}
.home .carouselControls{
    display: none;
}
.home .carousel .carouselInner .carouselItem{
    background-size: cover;
}



.resource-item {
    margin-top:10px;
    overflow: hidden;
}

.resource-item a {
    height:70px;
    background-color: #fbf0d8;
    position: relative;
    font-size: 16px;
    color:#333;
}

.resource-item a .before {
    font-size: 28px;
    text-align: center;
    width:70px;
    height:70px;
    display: block;
    background-color: #ecc779;
    position: absolute;
    left: 0px;
    top: 0px;
}

.resource-item:first-child {
    border-radius: 25px 0 0 0;
}

.resource-item:last-child {
    border-radius:  0 0 25px 0;
}

.resource-item a {
    display: block;
    padding-left:85px;
    line-height: 70px;
}

.sitecontent .primarycolumn > div > * {
    margin-top:10px;
}

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

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

.fc-widget-header {
    background: #761113;
    border: 1px solid #761113;
}

.fc-event {
    border: 1px solid #CD9D3B;
    background-color: #CD9D3B;
}

.fc-grid .fc-day-content {
    min-height:50px;
}



.sidenav{
    font-size: 20px;
    padding-right: 5%;
}
.sidenav nav {
    background: #eaeaea;
}
.sidenav a{
    color: #831514;
    display: block;
    padding: 5px 30px;
}
.sidenav a:hover,
.sidenav .active>a{
    color: #430303;
}
.sidenav>nav>ul>li.active>a{
    background: #831514;
    color: #fff;
}
.sidenav li{
    padding-bottom: 10px;
}
.sidenav li li{
    padding-bottom: 0;
}
.sidenav ul ul{
    display: none;
    font-size: 14px;
    padding: 10px 0 0 20px;
}
.sidenav ul .active ul {
    display: block;
}
.hamburger {
    display: none;
}
.toggle-sidenav {
    display: none;
}
#toggle-side {
    display: block;
}
.sidr {
    background: #761113 !important;
    box-shadow: none !important;
    border-left: 1px solid #fff;
    font-family: 'Arvo', serif !important;
    font-weight: bold !important;
}
.sidr ul {
    border: none;
}
.sidr ul li {
    border: none;
}
.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: #cd9d38 !important;
}
@media only screen and (max-width: 980px) {
    .siteheader,
    .sitemessage,
    .sitecontent,
    .homeboxes,
    .sitefooter,
    .contactform,
    .sitenavigation > ul {
        width: 100%;
    }
    .sitenavigation {
        left: 0;
        margin-left: 0;
    }
    .homearea,
    .sitecontent,
    .contactformwrapper,
    .row {
        padding: 10px;
        overflow: hidden;
    }
    .siteheader {
        height: auto;
        margin-right: 0;
        right: 0;
    }
    .headertext {
        padding: 10px;
    }
    .header_school_name {
        left: 65%;
    }
    .siteheader-img .row {
        padding: 0;
    }
    .container {
        overflow: hidden;
    }
    .container > .navbar-collapse {
        margin: 0;
        border-radius: 0;
    }
    .header-buttons div[class^="col-"] {
        margin-top: 10px;
    }
}

@media only screen and (max-width: 767px) {
    .hamburger {
        display: inline-block;
        border: 1px solid #fff;
        color: #fff;
        padding: 4px 10px;
        position: relative;
        float: right;
        z-index: 300;
        margin: 10px 0 0 10px;
        border-radius: 4px;
    }
    .home .siteheader-img {
        height: auto;
        background-image: none;
    }
    .sitecontent {
        margin-top: 0;
    }
    .sitefooter {
        text-align: center;
    }
    .sidenav a {
        padding: 0;
    }
    .header_school_name {
        position: relative;
        display: block;
        margin: auto;
        left: 0;
        top: 0;
        background-size: contain;
        width: 95%;
        background-repeat: no-repeat;
    }
    .sitefooter p a {
        color: #fff;
    }
    #google_translate_element {
        margin: 10px 0;
    }
    .tools {
        padding-right: 5px;
    }

    .sitenavigation {
        display: none;
    }

    #toggle-side {
        width: 100%;
        display: none;
    }

    .toggle-sidenav {
        width: 130px;
        font-size: 20px;
        display: block !important;
        border-radius: 0;
        margin-top: 10px;
        color: #000;
        background-color: #fff;
        border-bottom: 1px solid;
        text-align: center;
        margin-bottom: 10px;
        font-weight: bold;
        padding: 5px;
    }

    .sidenav {
        width: 100%;
        margin: 0;
        padding: 0;
        border-radius: 0;
        display: none;
    }

    .homeboxes .homebox,
    .colSplit .halfCol {
        width: 100%;
    }

    .contact_item {
        display: block;
        padding: 0;
        font-size: 21px;
        text-align: center;
    }

    .contact_item a {
        color: #fff;
    }

    .siteheader-img {
        background: #761113;
        height: auto;
        padding-bottom: 10px;
    }
    .primarycolumn,
    .primarycolumn .col1,
    .primarycolumn .col2,
    .homeboxes .homebox,
    .fullwidthcolumn .col2,
    .colSplit .halfCol,
    .primarycolumn {
        width: 100%;
        float: none;
    }
    .sitemessage {
        padding: 10px;
    }
}