html, body {
    height: 95%;
    width: 99%;
}

body {
    background-image: url('../images/gplaypattern.png');
    font-family: Tahoma, serif;
    font-size: 12pt;
}

#wrap-ext {
    display: table;
    height: 100%;
    margin: auto;
}

#prev, #next {
    display: block;
    width: 50px;
    margin: 0 10px;
}

#prev {
    float: left
}

#next {
    float: right;
}

#prev a, #next a {
    display: block;
    /*height: 640px;*/
    /*line-height: 640px;*/
    text-align: center;
    text-decoration: none;
    color: #007f12;
}

#prev a:hover, #next a:hover {
    /*background: #C9EDC9;*/
    /*box-shadow: 0 0 15px #7A907F;*/
}

#wrap {
    display: table-cell;
    /*vertical-align: middle;*/
}

#content {
    display: block;
    float: left;
    height: 90%;
    width: 1024px;
    background: #FFFFFF;
    margin: 0;
    box-shadow: 0 0 15px #7A907F;
}

#header {
    display: block;
    margin-bottom: 10px;
    font-size: 28pt;
    font-weight: bold;
    text-align: center;
    color: #007f12;
}

#header span {
    color: #ababab;
    font-size: 18pt;
}

#top-content {
    height: 95%;
}

#bottom-content {
    width: 100%;
    margin-top: 10px;

    /*height: 35%;*/
    border-top: 1px solid #5FA75F;
    background: #C9EDC9;
    float: left;
}

.container {
    padding: 15px;
    height: 94%;
}

.container-left {
    height: 100%;
    width: 75%;
    float: left;
}

.container-right {
    height: 100%;
    width: 25%;
    float: right;
}

table#ring_time {
    height: 100%;
    width: 100%;
    color: #004f00;
    border-collapse: collapse;
    border: 1px solid #5FA75F;
}

table#ring_time thead th {
    background: #C9EDC9;
    border-bottom: 1px solid #5FA75F;
}

table#ring_time tbody tr:nth-child(odd) td {
    background: #ecf7ec;
}

table#ring_time tbody tr:nth-child(even) td {
    background: #d0f1d0;
}

table#ring_time td, table#ring_time th {
    text-align: center;
    padding: 10px;
}

.selection {
    width: 26%;
    float: left;
    text-align: center;
    padding: 10px 0px;
}

.link {
    width: 11%;
    float: left;
    text-align: center;
    padding-top: 10px;
}

.link a {
    text-decoration: none;
    color: #007f12;
}

.selection select {
    width: 80%;
    font-size: 12pt;
}

table.schedule-table {
    width: 100%;
    height: 100%;
    text-align: center;
    vertical-align: center;
    border-collapse: collapse;
}

table.schedule-table th, table.schedule-table td {
    border: 1px solid grey;
}

.cell-subject-info {
    font-size: 12px;
    text-decoration: none;
    font-style: italic;
    color: #4f7942;
}


.cell-subject-info a:hover {
    text-decoration: underline
}

.cell-subject-info a {
    color: #4f7942;
    text-decoration: none;
}

.day_object {
    /*background-color: #f4fcf0;*/
    /*width: 100%;*/
    /*height: 100%;*/
}

.cell-subject-info > .left {
    float: left;
    margin-left: 5px;
}

.cell-subject-info > .right {
    float: right;
    margin-right: 5px;
}

.admin-table-list {
    width: 100%;
}

.admin-table-list td {
    border-bottom: 1px solid #ccc;
    padding: 9px 8px;
}

.cell-subject-name {
    padding-top: 15%;
}

.cell-subject-name a {
    font-weight: normal;
}

.current-pair {
    border: 2px solid #007f12 !important;
}

#ring_time tr {
    border-top: 1px solid #5FA75F;
    border-left: 1px solid #5FA75F;
    border-right: 1px solid #5FA75F;
}