@media(max-width:485px) {
    .menu a {
        font-size: 12px;
    }
}

@media (min-width: 1300px) {
    body {
        background: url(newimages/Door2.jpg) no-repeat bottom right fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        color: #fff;
    }
    #page2 .colorbox {
        width: 20px;
        height: 20px;
        vertical-align: middle;
    }
    #page2 .lab {
        font-size: 12px;
        vertical-align: middle;
        letter-spacing: 1px;
        font-family: 'Open Sans', sans-serif;
    }
    #page2 #key {
        width: 830px;
        margin: auto;
        padding-left: 100px;
    }
    #page2 #classoverlay {
        width: 250px;
    }
}

@media (min-width: 800px) and (max-width:1299px) {
    body {
        background: url(newimages/Door2.jpg) no-repeat bottom right fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        color: #fff;
    }
    #page2 .colorbox {
        width: 20px;
        height: 20px;
        vertical-align: middle;
    }
    #page2 .lab {
        font-size: 12px;
        vertical-align: middle;
        letter-spacing: 1px;
        font-family: 'Open Sans', sans-serif;
    }
    #page2 #key {
        width: 830px;
        margin: auto;
        padding-left: 100px;
    }
    #page2 #classoverlay {
        width: 250px;
    }
}

@media (max-width:799px) {
    body {
        background: url(newimages/Door2.jpg) no-repeat bottom right fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        color: #fff;
    }
    #page2 .colorbox {
        width: 20px;
        height: 20px;
        vertical-align: middle;
    }
    #page2 .lab {
        font-size: 12px;
        vertical-align: middle;
        letter-spacing: 1px;
        font-family: 'Open Sans', sans-serif;
    }
    #page2 #key {
        margin: auto;
        padding-left: 40px;
    }
    #page2 #classoverlay {
        width: 250px;
    }
}

@media (max-width:600px) {
    #page2 table th,
    #page2 table td.time {
        font-size: 9px;
    }
   #page2 table tr {
        height: 20px;
    }
    #page2 .colorbox {
        width: 20px;
        height: 20px;
        vertical-align: middle;
    }
    #page2 .lab {
        font-size: 12px;
        vertical-align: middle;
        letter-spacing: 1px;
        font-family: 'Open Sans', sans-serif;
    }
    #page2 #key {
        margin: auto;
        padding-left: 40px;
    }
}

#page2 #key {
    background-color: rgba(31, 53, 53, 0.8);
    padding-top: 20px;
}

#page2 #key div div {
    display: inline-block;
}

.lab {}

#page2 table {
    background-color: rgba(31, 53, 53, 0.8);
    padding: 70px;
    padding-top: 30px;
    padding-left: 0;
    position: relative;
    margin: auto;
    font-family: 'Open Sans', sans-serif;
}

#page2 tr {
    height: 25px;
    margin: 0;
}

#page2 td {
    width: 10%;
    border: solid #fff 1px;
    margin: 0;
}

#page2 th {
    font-weight: 100;
}

#page2 td.time,
#page2 .half td.time {
    border: none;
    vertical-align: top;
    position: relative;
    top: -10px;
    text-align: right;
    font-size: 12px;
}

#page2 .elements,
#page2 #ele {
    background-color: #6483ac;
}

.open,
#op {
    background-color: #ac6464;
}

.begin,
#beg {
    background-color: #90ac64;
}

.inter,
#int {
    background-color: #ac8964;
}

.push,
#push {
    background-color: #63ac7f;
}

.obi {
    background: linear-gradient(to left, #C4BF87 33%, #ac8964 34%, #ac8964 66%, #90ac64 67%);
}

.bi {
    background: linear-gradient(to left, #ac8964 50%, #90ac64 51%);
}

.id {
    background: linear-gradient(to left, #C4BF87 50%, #ac8964 51%);
}

.special,
#spe {
    background-color: #64acaa;
}

.direct,
#direct {
    background-color: #C4BF87;
}

.disciple {
    background-color: #aa6581;
}

.half td {
    border-top: none;
    border-bottom: solid #fff 1px;
    border-bottom: none;
}

#page2 td,
#pm930 .time {
    border-bottom: none;
}

#page2 .menu {
    position: relative;
    margin: 30px 0;
}

#page2 .menu a {
    width: 40%;
    display: inline-block;
}

#pm930 td {
    border-bottom: solid #fff 1px;
}

#page2 #classoverlay {
    position: absolute;
    padding: 20px;
    top: 0px;
    left: 0px;
    background-color: #70573f;
    padding: 20px;
    color: #fedec5;
    display: none;
    z-index: 99999;
}

@media(max-width:600px) {
    #classoverlay {
        width: 80%;
        font-size: 14px;
    }
}

#classoverlay #close {
    top: 10px;
    right: 10px;
    position: absolute;
    cursor: pointer;
}

#classoverlay #cname {
    text-transform: uppercase;
    font-size: 25px;
    color: #f3a360;
}

#classoverlay #cdesc {
    font-family: 'Open Sans', sans-serif;
    color: #fedec5;
}

#page2 .elements {
    cursor: pointer;
}

#page2{
    padding:50px 0;
}