/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/

/*
Created on : 14 Oct 2017, 7:52:48 AM
Author : Manqelashe
*/

body {
    background-color: #fffff0;
}

span.header {
    font-family: GentiumBasic;
    font-size: 60%;
}

#logo {
    margin-left: 10%;
}


@font-face {
    font-family: GentiumBasic;
    src: url("fonts/genbasic/GenBasR.ttf");
}

ul.fd li {
    font-family: GentiumBasic;
    list-style-type: none;
    background-color: #000033;
    margin-bottom: 0.5%;
    padding: 1%;
}

#fd,
#or,
a.icon {
    display: none;
}

#icn {
    background-color: #000033;
    display: none;
}

#icn td a i {
    padding: 20%;
}


/* Extra small devices (phones, 600px and down) */

@media only screen and (max-width: 600px) {
    #icn {
        display: table-cell;
    }
    a.icon {
        display: block;
    }
    ul.fd {
        width: 100%;
        margin: 0 auto;
        margin-left: -14.5%;
    }
    span.vc {
        font-size: 200%;
        padding: 0;
    }
    span.est {
        font-size: 60%;
    }

    #footer {
        width: 100%;
    }

    /*slideshow images shoulld be 90% of the size f the desktop version*/
    #slideshow img.homeImages  {
        width: 100%;
        height: 100%;
    }

    #pop-up {margin-right: 2%;}

    .timeline li a {font-size: 90%;}

    @media only screen and (orientation: landscape) {
        ul.fd {
            margin-left: -7.7%;
        }
    }
}


/* Small devices (portrait tablets and large phones, 600px and up) */

@media only screen and (min-width: 600px) {
    #or {
        display: table-cell;
    }
    ul.fd {
        width: 100%;
        margin: 0 auto;
    }
    table.links tr td a {
        font-size: 75%;
    }
    span.vc {
        font-size: 350%;
        padding: 10%;
    }
    span.est {
        font-size: 100%;
    }

    img.homeImages {
        width: 100px;
        height: 100px;
    }

    .timeline li a {font-size: 90%;}
    
    #pop-up {margin-right: 2%;}
}


/* Medium devices (landscape tablets, 768px and up) */

@media only screen and (min-width: 768px) {
    #or {
        display: table-cell;
    }
    ul.fd {
        width: 100%;
        margin: 0 auto;
    }
    table.links tr td a {
        font-size: 99%;
    }
    span.vc {
        font-size: 350%;
        padding: 10%;
    }
    span.est {
        font-size: 100%;
    }
    img.homeImages {
        width: 450.56px;
        height: 253.44px;
    }

}


/* Large devices (laptops/desktops, 992px and up) */

@media only screen and (min-width: 992px) {
    #or {
        display: table-cell;
    }
    ul.fd {
        width: 100%;
        margin: 0 auto;
    }
    table.links tr td a {
        font-size: 100%;
    }
    span.vc {
        font-size: 350%;
        padding: 10%;
    }
    span.est {
        font-size: 100%;
    }
}


/* Extra large devices (large laptops and desktops, 1200px and up) */

@media only screen and (min-width: 1200px) {
    #or {
        display: table-cell;
    }
    ul.fd {
        width: 100%;
        margin: 0 auto;
    }
    img.homeImages {
        width: 704px;
        height: 396px;
    }
    table.links tr td a {
        font-size: 100%;
    }
    span.vc {
        font-size: 350%;
        padding: 10%;
    }
    span.est {
        font-size: 100%;
    }
}

table.main {
    align-content: center;
    width: 90%;
    margin: 0 auto;
    height: auto;
}

#title {
    font-family: arial, sans-serif, serif;
    font-weight: bold;
    padding-top: 1%;
    padding-bottom: 1%;
    font-size: 120%;
}

table.main tr td {
    font-family: sans-serif, serif;
}

h2,
h3,
h4,
p {
    padding-left: 2%;
    padding-right: 2%;
}

h2,
h3,
h4,
table.links tr td a,
p,
table._2018 tr td a,
#manLvl {
    font-family: GentiumBasic;
}

#evt {
    margin-top: 0%;
    padding-top: 10%;
}

table.links {
    width: 100%;
}

div {
    padding-top: -1%;
    padding-bottom: 1%;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 5px 10px 5px #888888;
    margin-bottom: 3%;
}

#plz,
#acad,
#cont,  {
    border: solid thin #808080;
}

table.links tr,
#content,
#events {
    background-color: #000033;
    color: #fff;
}

table.links tr td {
    border-radius: 0px 0px 10px 0px;
}

table.links tr td a {
    border-radius: 0px 0px 5px 0px;
    padding-left: 2%;
}

table._2018 {
    margin-bottom: 3%;
    text-align: center;
}

a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#annual,
#upcoming,
#past,
#colympiad,
#maths,
#assess {
    padding-top: 0%;
    padding-bottom: 0%;
    border-radius: 0px 0px 0px 0px;
    box-shadow: 0px 0px 0px #000033;
    margin-bottom: 0%;
}

#annual,
#olympiad,
#assess {
    border: thin solid #fff;
    border-radius: 5px 5px 5px 5px;
    margin-left: 1%;
    margin-right: 1%;
}

#footer {
    width: 89.5%;
    margin-left: auto;
    margin-right: auto;
    margin-top: -1.6%;
    background-color: #000033;
    color: #fff;
    padding: 0%;
    font-size: 80%;
    text-align: center;
    border: solid thin #000033;
    border-radius: 0px 0px 10px 10px;
    box-shadow: 5px 5px 5px #888888;
}

#slideshow {
    padding-top: 0%;
    padding-bottom: 0%;
}

img.princ {
    float: left;
    margin-right: 3%;
    margin-bottom: 0.5%;
}

#mssg {
    border: solid thin #660000;
    display: none;
    width: 100%;
}

#notice {
    border: solid thin #660000;
    margin-top: -2%;
    padding-top: -2%;
    padding-bottom: -2%;
    background-color: #660000;
    padding-left: 2%;
    padding-right: 2%;
    border-radius: 0px 0px 5px 5px;
}

#notice h2 {
    color: #fff;
}

h1.note {
    font-family: Oregano, segoe print, cursive, sans-serif, serif;
    font-size: 240%;
    color: #fff;
}

#msg,
#mt,
#vi,
#mi,
#ob,
img.staff,
ul.timeline li,
#ps,
#fp,
#ip,
#sp,
#fet,
#py,
#cd,
#fm,
#tel,
#fax,
#eml,
#pha,
#poa,
#smd {
    cursor: pointer;
    padding-top: 1%;
    padding-bottom: 1%;
    margin-top: -1%;
}

#msg:hover,
#mt:hover,
#vi:hover,
#mi:hover,
#ob:hover,
img.staff:hover,
ul.timeline li:hover,
#ps:hover,
#fp:hover,
#ip:hover,
#sp:hover,
#fet:hover,
#py:hover,
#cd:hover,
#fm:hover,
#tel:hover,
#fax:hover,
#eml:hover,
#pha:hover,
#poa:hover,
#smd:hover {
    text-decoration: underline;
}

#msg,
#st,
#pgt,
#hist,
#evnt,
#aca,
#fac,
#pol,
#abt,
#disc,
#cnt {
    padding-top: 1%;
    padding-bottom: 1%;
    border-radius: 5px 5px 0px 0px;
    box-shadow: 0px 5px 5px 5px #888888;
    margin-bottom: 1%;
    margin-top: -0.00005%;
    background-color: #660000;
    color: #fff;
}

#events {
    background-color: #000033;
    border-radius: 5px 0px 0px 5px;
    text-align: center;
}

#events h2 {
    text-align: center;
}

ul.events li {
    list-style-type: none;
    margin-left: -20%;
    margin-bottom: 12%;
}

ul.events li a {
    font-size: 110%;
    font-family: GentiumBasic;
}

ul.events hr {
    margin-left: -1%;
    margin-right: 20%;
}

#motto {
    padding-left: 6%;
    padding-bottom: 5%;
    font-family: Oregano, segoe print, cursive, sans-serif, seri;
    font-size: 150%;
    text-align: center;
}

#vcs {
    border: solid thin #660000;
    border-radius: 10px 10px 0px 0px;
    box-shadow: 5px 5px 5px #888888;
    background-color: #000033;
    color: #fff;
    text-align: center;
}

img.rcl {
    float: left;
    margin-right: 1%;
    margin-bottom: 1%;
}

img.logo {
    float: left;
    margin: 1%;
}

span.est {
    margin-left: 20%;
    margin-left: auto;
    margin-right: auto;
}