html, body {
    background: #505758;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}

#container {
    background: #505758;
}

#inside_container {
    background-color: #FFFFFF;
}

.menu_and_content {
    display: flex;
    width: 100%;
    flex-direction: row;
    padding-right: 8px;
    min-height: calc(100vh - 80px);
}

#logo {
    float: left;
}

#top {
    padding-top: 2px;
    height: 55px;
    border-bottom: 1px solid lightgrey;
}

#top img {
    max-height: 100%;
}

#content {
    padding: 20px;
    flex: 1;
    text-align: left;
    overflow-x: hidden;
    margin-bottom: 20px;
}

.body_no_menu #content {
    float: none;
    margin-left: auto;
    margin-right: auto;
}

#slogan {

    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    color: #CC0000;
    font-size: 14px;
    font-weight: bold;
    padding-bottom: 5px;
    text-align: left;
}

#footer {

    padding-top: 10px;
    padding-bottom: 5px;
    clear: both;
    margin-left: 164px;

}

#honcode {
    line-height: normal;
    font-size: 10px;
    width: 164px;
    text-align: left;
    font-family: verdana, arial, helvetica, sans-serif;
}

#honcode p {
    line-height: normal;
    font-size: 10px;
}

#honcode a {
    text-decoration: none;
}

#honcode img {
    max-width: none;
    padding-right: 5px;
}

.round {
    margin-top: 30px;
    margin-bottom: 30px;
}

.MsoTableGrid td {

    padding-left: 5px;
    padding-right: 5px;

}

.MsoTableGrid p {
    margin: 5px;
}

.list_name {
    line-height: 30px;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 10px;
    font-weight: bold;
    color: #777777;
    test-align: left;
    float: left;
    height: 65px;
    vertical-align: top;
    line-height: 80px;
    margin-left: -20px;
}

#popup {

    display: none;
    position: absolute;
    top: 100px;
    left: 120px;
    width: 787px;
    background-color: white;
    z-index: 20;
    border: 1px solid;
}

#popup_background {

    display: none;
    position: absolute;
    background: #222222;
    z-index: 10;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    filter: alpha(opacity=25);
    -moz-opacity: 0.25;
    opacity: 0.25;

}

.errors td {
    color: red;
}

#error {
    text-align: center;
    font-weight: bold;
    color: yellow;
}

label {

    font-size: 14px;
    cursor: pointer;
}

.tab div {
    margin-right: 10px;
    float: left;
    padding: 5px;
    border-left: 1px solid white;
    border-right: 1px solid white;
    border-top: 1px solid white;
    background-color: #A098e8;
    font-weight: bold;

}

.tab div a {
    color: white;
    text-decoration: none;
}

.tab_content {

    clear: both;
    padding: 10px;
    border: 1px solid white;

}

.pager {

    text-align: center;
    margin-top: 2px;
    margin-bottom: 10px;
    font-size: 12px;

}

.pager a {

    border: 1px solid gray;
    padding: 2px 5px;
    margin: 2px;
    text-decoration: none;

}

.pager_current {

    padding: 2px 5px;
    color: #CC0000;
    font-weight: bold;

}

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

.button {
    text-align: center;
    color: white;
    text-decoration: none;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 12px;
}

/* NAVIGATION MENU */

.menuButton {
    font-size: 10px;
    padding: 0 5px;
}

.menuButton a {
    color: #333;
    padding: 4px 6px;
}

.menuButton a.home {
    background: url(skin/house.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}

.menuButton a.list {
    background: url(../../../../../.grails/2.3.7/projects/excellencis/plugins/cache-headers-1.1.5/web-app/images/skin/database_table.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}

.menuButton a.create {
    background: url(../../../../../.grails/2.3.7/projects/excellencis/plugins/cache-headers-1.1.5/web-app/images/skin/database_add.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}

#content .list th.asc a, #content .list th.desc a {
    background-position: right;
    background-repeat: no-repeat;
    padding-right: 10px;
}

#content .list th.asc a {
    background-image: url(skin/sorted_asc.gif);
}

#content .list th.desc a {
    background-image: url(skin/sorted_desc.gif);
}

#content .list .odd {
    background: #f7f7f7;
}

#content .list .even {
    background: #fff;
}

.spinner {
    background: white;
    padding: 5px;
    position: absolute;
    right: 0;
}

.main_header h1 {
    color: black;
}

.recoveryWarning {
    padding: 20px;
}

.recoveryWarning #title {
    font-weight: bold;
    font-size: 26px;
}

label {
    display: inline;
}

.container {
    max-width: 990px;
    width: auto;
}

#choices #matching_table td {
    padding-top: 5px;
    padding-bottom: 5px;
}

.matchingAnswer {
    background: white;
}

.ui-state-hover {
    color: inherit;
    background: #ffee3f;
}

.ui-state-active {
    background: #90ee90;
}

.ui-draggable {
    cursor: move;
}

.page-header h1 {
    margin-top: 5px;
}

#classroom-header i {
    font-size: 40px;
    color: #00a8db;
    margin-bottom: 0px;
}

#classroom-header a {
    text-decoration: none;
}

.classroom-header-icon {
    display: inline-block;
    float: right;
    padding-left: 10px;
    padding-top: 10px;
}

.form-with-validation .error {
    color: red;
}

body .audio-js {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px), (max-height: 600px) {
    body {
        padding-right: 0px;
        padding-left: 0px;
    }
}

@media (max-width: 976px), (max-height: 600px) {

    #top {
        height: 40px;
    }

    #menu, #slogan, #header, .list_name, #banner, #pub {
        display: none;
    }

    #container, #content {
        width: auto;
    }

    #container, html, body {
        background: none;
    }

    #inside_container {
        padding: 0px;
    }

    #content {
        padding-left: 0px;
        float: none;
    }

    #footer {
        margin-left: 0px;
    }

    .exec .edit_title_bar {
        display: none;
    }
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

.icon-click {
    cursor: pointer;
    color: #428bca;
}

.list_user table {
    margin-bottom: 0px;
}

.list_user td, .list_user th {
    white-space: nowrap;
}

.list_user .navbar-text {
    margin-top: 5px;
    margin-bottom: 5px;
}

.list_user .navbar-nav > li > a {
    padding-top: 5px;
    padding-bottom: 5px;
}

.list_user .navbar {
    min-height: 30px;
    margin-bottom: 10px;
}
