body {
    margin: 0;
    padding: 0;
}

.form-control:focus{
    border-color: #ced4da;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.main {
    position: absolute; top: 0px; bottom: 0px; left: 0px; right: 320px;
    background: #FAFAFA;
    overflow: hidden;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.side {
    float: right;
    position: block; height:100%; width: 320px; right: 0px;
    background: #EEEEEE;
}

#sidebottom {
    position: absolute; bottom: 0px; right: 0px; height: 32px;
    text-align: right;
    font-size: 10px;
    padding-right: 18px;
    padding-top: 8px;
}

#sidebottom a {
    color: #555555;

}

.searchtable tbody {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding-top: 0px;
    display: block;
    overflow: auto;
    position: absolute;
    top: 220px;
    bottom: 32px;
    right: 0px;
    width: 320px;
    overflow-y: scroll;
}

.searchtable td {
    width: 320px;
    border-bottom: 1px solid #E0E0E0;
    font-size: 90%;
    padding: 0px;
}

.searchlink {
    width:100%;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 20px;
}

.searchlink:hover {
    background-color: #FAFAFA;
}

.searchtable a {
    color: #333333;
    text-decoration: none;
}

.searchtable:hover a {
    background-color: #00FFFF;
    text-decoration: none
}

.planhline {
    position: absolute;
    left: 0px;
    height: 0px;
    width: 100%;
    border-bottom: 1px solid #cccccc;
}

.planvline {
    position: absolute;
    top: 0px;
    height: 100%;
    width: 0px;
    border-left: 1px solid #cccccc;
}

.plantitle {
    position: absolute;
    top: 12px; height: 32px; left: 60px; right: 20px;
    text-align: center;

    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 120px;
    padding-right: 120px;
    border-radius: 4px;
    background: #EEEEEE;
    font-size: 17px;
}

.planwarning {
    position: absolute;
    top: 52px; height: 32px; left: 60px; right: 20px;
    text-align: center;

    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 120px;
    padding-right: 120px;
    border-radius: 4px;
    background: #FFC300;
    font-size: 17px;

}

.planrange {
    position: absolute;
    top: 54px;
    left: 0px;
    right: 20px;
    bottom: 0px;
}

.planwithwarningrange {
    position: absolute;
    top: 92px;
    left: 0px;
    right: 20px;
    bottom: 0px;
}

.plancontainer {
    position: absolute;
    top: 22px; bottom: 1px; left: 60px; right: 0px;
}

.hourscontainer {
    position: absolute;
    top: 14px; bottom: 8px; left: 0px; width: 60px;
}

#hourhovercontainer {
    position: absolute;
    top: 22px; bottom: 1px; left: 5px; right: 5px;
}

.weekdayscontainer {
    position: absolute;
    top: 0px; height: 24px; left: 60px; right: 0px;
}

.weekdayentry {
    position: absolute;
    text-align: center;
    font-size: 12px
}

.hourentry {
    color: #333333;
    position: absolute;left: 0px; width:60px;
    text-align: center; font-size: 12px
}

#hourhover {
    position: absolute;
    left: 0px;
    width: 50px;
    height: 100px;
    top: 0px;
    background: #eeeeeedd;
    font-size: 12px;
    display: none
}

#hourstart {
    position: absolute;
    left: 0px;
    height: 18px;
    width: 50px;
    border-radius: 2px;
    background: #efefef;
    top: -8px;
    text-align: center;
}

#hourend {
    position: absolute;
    left: 0px;
    height: 18px;
    width: 50px;
    border-radius: 2px;
    background: #efefef;
    bottom: -8px;
    text-align: center;
}

.activity_block {
    position: absolute;
    border: 1px solid black;
    font-size: 11px; overflow: hidden;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    padding: 5px;
    border-radius: 2px;
    white-space: nowrap;
}

.activity_block a {
    color: #222222;
}

.activity_block_top ul {
    display: block;
    list-style: none;
    padding-left: 0;
}

.activity_block_top .activity_students_group {
    display: none;
}

.details_block .activity_students_group {
    display: inline;
}

.activity_block_bottom {
    position: absolute;
    bottom: 0px;
    left: 0px;
    padding: 5px;
}

.activity_group {
    display: block;
    position: absolute; right: -5px; bottom: -15px;
    font-size: 48px; color: rgba(255,255,255,0.6);
    overflow: hidden;
    clear: both;
    padding: 0;
    cursor: default;
}


.details_block {
    position: absolute;
    bottom: 10px;
    width: 300px;
    right: 10px;
    display: none;
    padding: 5px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    border-radius: 2px;
    border: 1px solid black;
    max-height: 98%;
    overflow-y: auto;

}

.details_time {
    margin-top: 10px;
}

#details_block_itemlist {
    margin-top: 10px;
}

.details_block a {
    color: #222222;
}

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

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

.api_type {
    padding: 5px;
    border-radius: 4px;
    background: #EEEEEE;
    font-size: 11px;
    margin-right: 10px;
}

.api_box {
    border-radius: 4px;
    background: #FAFAFA;
    margin-top: 10px;
    font-size: 14px;
    padding: 5px;
}

.api_legacy_background{
    display: block;
    width: 100%;
    height: 100%;
}

.api_variable{
    display: inline;
    width: 25%;
}

@media print {
    .plantitle {
        font-size: 12px;
        height: 28px;
        top: 0px;
     }

    .weekdayentry {
        font-size: 9px
    }

    .hourentry {
        font-size: 9px
    }


    .activity_block_top {
        line-height: 80%;
     }

    .activity_block a {
        font-size: 8px;
        text-decoration: none;
     }

   .side {
       display: none;

    }
    .main {
       right: 0px;
       background: #FFFFFF;
    }
}



@page { size: landscape; }
