﻿body {
    padding-top: 70px;
    padding-bottom: 20px;
    background: white;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.place-right {
    float: right;
}

    .place-right.wm-10 {
        margin-left: 10px;
    }

.menuButton {
    float: left;
    display: block;
    width: 173px;
    height: 173px;
    padding: 0;
    margin: 10px;
    position: relative;
    border: 2px #2e6da4 solid;
    border-radius: 5px;
    background-position: center center;
    -moz-transition: border-color 0.4s linear 0s;
    -o-transition: border-color 0.4s linear 0s;
    -webkit-transition: border-color 0.4s linear 0s;
    transition: border-color 0.4s linear 0s;
}

    .menuButton:hover {
        border-color: #204d74;
    }

    .menuButton .menuButtonText {
        display: block;
        position: absolute;
        overflow: hidden;
        bottom: -2px;
        left: -2px;
        text-align: left;
        width: 173px;
        min-height: 60px;
        max-height: 74px;
        padding: 10px;
        background-color: #337ab7;
        -moz-transition: background-color 0.4s linear 0s;
        -o-transition: background-color 0.4s linear 0s;
        -webkit-transition: background-color 0.4s linear 0s;
        transition: background-color 0.4s linear 0s;
        color: white;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }

    .menuButton:hover .menuButtonText {
        background-color: #286090;
    }



.lessonMediaThumb {
    width: 100px;
    height: 60px;
    margin: 5px;
    text-align: center;
    position: relative;
    cursor: pointer;
}

    .lessonMediaThumb.left {
        float: left;
    }

    .lessonMediaThumb.right {
        float: right;
        background: black;
    }

    .lessonMediaThumb > img, video {
        max-width: 100%;
        max-height: 100%;
        vertical-align: middle;
    }

    .lessonMediaThumb > span {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        font-size: 10px;
        background: black;
        color: white;
        opacity: 0.7;
        padding: 3px 5px;
        overflow: hidden;
    }

.question {
    padding-top: 90px;
    margin-top: -90px;
}

    .question .imageCell {
        text-align: center;
    }

        .question .imageCell img {
            max-width: 100%;
            max-height: 250px;
            padding-bottom: 20px;
        }

    .question .radio {
        padding: 5px 5px 5px 25px !important;
    }

        .question .radio.alert {
            padding: 15px 15px 15px 25px !important;
            margin: 10px 0 !important;
        }

:fullscreen, :-webkit-full-screen, :-moz-full-screen {
    background-color: white !important;
}

.lessonBody {
    overflow-y: auto;
    padding-top: 15px;
}

    .lessonBody p {
        margin: 0;
    }

.lessonMedia {
    /*background-color: #f1f1f1;*/
}

.lessonPages {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 10px 5px 10px;
    /*background-color: #f1f1f1*/
}

.hoverableContainer {
    background-color: rgba(255,255,255,0.75);
    opacity: 0.4;
    -moz-transition: opacity 0.3s linear 0s;
    -o-transition: opacity 0.3s linear 0s;
    -webkit-transition: opacity 0.3s linear 0s;
    transition: opacity 0.3s linear 0s;
}

    .hoverableContainer:hover {
        opacity: 1;
    }

.utilsContainer {
    display: block;
    position: fixed;
    right: 0;
    top: 50px;
    border-bottom: 1px #f1f1f1 solid;
    border-left: 1px #f1f1f1 solid;
    padding: 10px;
}

.bottomContainer {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: 1px #f1f1f1 solid;
    padding: 10px;
}

.testQuestionText {
    float: left;
    font-weight: bold;
}

.testQuestionPoints {
    float: right;
}

.bg-danger {
    background-color: #d9534f !important;
    color: white;
}


.input-group.date {
    max-width: 280px;
}

.panel.login {
    max-width: 340px;
    margin: 0 auto;
}

    .panel.login form {
        max-width: 280px;
        margin: 0 auto;
    }

    .panel.login a {
        margin: 0 10px;
    }


.form-control.check-box {
    max-width: 40px;
    border: none !important;
}


.user-button {
    padding: 20px;
    width: 280px !important;
    text-align: left;
}

    .user-button small {
        color: gray;
        font-size: 14px;
    }


div.panel-heading[data-toggle='collapse'] {
    cursor: pointer;
}

.navbar-element:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.alert.big {
    font-size: 18px;
}

.cursor-pointer {
    cursor: pointer !important;
}


.lessonImageContainer {
    position: relative;
    display: inline-block;
    line-height: normal;
}

    .lessonImageContainer .lessonImage {
        display: block;
        vertical-align: middle;
        max-width: 100%;
        max-height: 100%;
        height: auto;
        width: auto;
    }

    .lessonImageContainer .lessonImageLink {
        position: absolute;
        bottom: 10px;
        right: 10px;
        opacity: 0.70
    }

        .lessonImageContainer .lessonImageLink:hover {
            transition: opacity linear 0.2s;
            opacity: 1;
        }

.lessons-categories li {
    max-width: 250px
}

    .lessons-categories li a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

#navMenu {
    opacity: 0.9;
}

span.testQuestionId {
    font-size: 10px;
    color: #e0e0e0;
    text-align: right;
    float: right;
}

.navbar-element.warning {
    color: #212529;
    background-color: #ffc107
}

    .navbar-element.warning .alert-warning {
        padding: 10px 20px;
        margin: 10px -20px -13px -20px
    }
