html, body {
    margin: 0 auto;
    font-family: 'Segoe UI', Frutiger, 'Frutiger Linotype', 'Dejavu Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
}

* {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.clNormalFont {
    font-family: 'Segoe UI', Frutiger, 'Frutiger Linotype', 'Dejavu Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
}

body {
    /*background-color: #E8E8E8;*/
    /*background: url('../images/web_2630_2dag_Hamar_0408.jpg');*/
}


/*
    Bootstrap modal
*/

.modal-body { text-align: left;}

/* END Bootstrap modal */


.clEmailLink {
    float: right;
    font-size: 24px;
    padding-right: 12px;
}

a {
    text-decoration: none;
    color: lightgray;
}

.dropdown-content hr {
    margin: 0;
    padding: 0;
    border-color: darkgray;
}

/*--- Misc --------------------------------------------------------------------------*/

.clOlSpaced > li {
    margin-bottom: 12px;
}

.clOlLeft > li {
    margin-left: -24px;
}

.clOverflowEllipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/*DailyForm enlarged textareas in dialog*/

/*--- Bootstrap dialog hack*/
.login-dialog .modal-dialog {
    width: 80%;
}

/*
.clLegendLeft {
    position: fixed;
    left: 0;
    top: 220px;
    padding: 3px;
    text-align: left;
}*/

.clKeyBoardShortCut {
    font-size: 12px;
    color: gray;
    float: right;
}

.lgTextArea {
    width: 48%;
    min-width: 400px;
    display: block;
    padding: 10px;
    margin-right: 10px;
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.clLargeNumber {
    font-size: 18px;
    font-weight: 800;
    margin-right: 10px;
}

#idTeacherTasks {
    text-align: left;
}

    #idTeacherTasks td {
        padding: 5px;
    }

/* === DailyForm enlarged textareas in dialog ==================================*/
.clClearBoth {
    clear: both;
}

.clLine-through {
    text-decoration: line-through;
}

.clPointer {
    cursor: pointer;
}

.clNotAllowed {
    cursor: not-allowed;
}

.clItalic {
    font-style: italic;
}

.clBold {
    font-weight: bold;
}

.clNA {
    cursor: not-allowed;
}

.clHidden {
    display: none;
}

.visibilityhidden {
    visibility: hidden;
}

.clBorder5 {
    border: 1px solid darkgray;
    padding: 5px;
}

.clStrikeThrough {
    text-decoration: line-through;
}


/* Todo: Find better solution at: https://stackoverflow.com/questions/19000815/jquery-hide-method-do-show-element-with-displaynone-important */
.clHiddenImp {
    display: none !important;
}


.displayInlineBlock {
    display: inline-block;
}

.clBlue {
    color: blue;
}

.clGreen {
    color: green;
}

.clDarkBlue {
    color: darkblue;
}
.clRed {
    color: red;
}

.clWhite {
    color: white;
}

.clPurple {
    color: purple
}

.clBgRed {
    background-color: #da190b;
}

.clBgGreen {
    background-color: #19c589;
}

.clDarkGreen {
    color: darkgreen;
}

.clBgGray {
    background-color: #b2b2b2;
}

.clBgLightGray {
    background-color: lightgrey;
}

.clBgOrange {
    background-color: orange;
}

.clGray {
    color: lightgray;
}

.clDarkGray {
    color: #797979;
}

.clBold500 {
    font-weight: 600;
}

.dottedGrayUnderline {
    text-decoration: underline dotted gray
}

.cl10px {
    font-size: 10px;
}

.clIndent {
    margin-left: 30px;
}

.pulsate {
    -webkit-animation: pulsate 2s ease-out;
    -webkit-animation-iteration-count: infinite;
    opacity: 0.5;
}

@-webkit-keyframes pulsate {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1.0;
    }

    100% {
        opacity: 0.5;
    }
}

/*xdsoft datetimepicker*/
.clDTP {
    background: yellow !important;
    /*background-color: #797979 !important;*/
    box-shadow: #00dd1c 0 1px 4px 0 inset;
    color: #000;
    font-weight: bold;
}


/*** TABLES ********************************************************/

/* TableUnderlineHover */
.clTableUnderlineHover th {
    padding: 5px;
    border-bottom: 1px solid black;
}

.clTableUnderlineHover td {
    padding: 5px;
    border-bottom: 1px solid darkgray;
}

.clTableUnderlineHover tr:not(:first-child):hover {
    background-color: #F5F5F5;
}

/* TableStripe */

.clTableStripe th {
    padding: 5px;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.clTableStripe td {
    padding: 5px;
    border-bottom: 1px solid darkgray;
}
/*.clTableStripe tr:not(:first-child):hover {
    background-color: #F5F5F5;
}*/


/* END Tables*/
.clCenter {
    text-align: center;
}

.clLeft {
    text-align: left;
}

.clWarning {
    color: red;
}

.pad5 {
    padding: 5px;
}

.clFloatLeft {
    float: left;
}

.clFloatRight {
    float: right;
}

.clFloatNone {
    float: none;
}

.clCursorHelp {
    cursor: help;
}

.clBgOrange {
    background-color: lightcoral;
}

.clMarkEmpComment {
    background-color: bisque;
    border: 1px solid darkgray;
    color: black;
}

.clStudentGrade {
    background-image: url("../images/S.png");
    background-repeat: no-repeat;
    background-position: center center;
}

.clSelectedGradeWait {
    background-color: orange;
}

.clSelectedGrade {
    background-color: #19c589 !important;
}

.clSelectedGradeError {
    background-color: red;
}

.clFontSize16 {
    font-size: 16px !important;
}

.clShadow {
    -webkit-box-shadow: 4px 4px 6px -1px rgba(0,0,0,0.63);
    -moz-box-shadow: 4px 4px 6px -1px rgba(0,0,0,0.63);
    box-shadow: 4px 4px 6px -1px rgba(0,0,0,0.63);
}

.clError {
    background-color: coral;
    padding: 20px;
}


.clErrorMsg {
    background-color: red;
    color: white;
    padding: 20px;
    display: block;
}

#idWarningMsg {
    position: relative;
    background-color: lightblue;
    border: 1px solid black;
    text-align: left;
    padding: 10px 10px 10px 100px;
    max-width: 800px;
    margin: 20px auto;
    font-size: 16px;
}

.clDayReview {
    border: 1px solid darkblue;
    padding: 5px;
    margin: 20px 0;
    background-color: lightgoldenrodyellow;
}

.clSmall {
    font-size: 12px;
    font-weight: 200;
}

.clCursorHelp {
    cursor: help;
}

.clMessage {
    background-color: lightblue;
    padding: 20px;
    display: block;
}

.checkbox label {
    cursor: pointer;
}

input[type=text], input[type=password] {
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
}

/*--- https://www.w3schools.com/howto/howto_css_alert_buttons.asp ------------------------------------*/
.btn {
    border: none; /* Remove borders */
    color: white; /* Add a text color */
    padding: 14px 28px; /* Add some padding */
    cursor: pointer; /* Add a pointer cursor on mouse-over */
}

.btn-sm {
    padding: 7px !important;
}

.clToolTipComment {
    font-size: 12px;
    color: #005096;
}

/* Overlay for loading actions */
#overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

#overlayText {
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

.success {
    background-color: #4CAF50;
}
    /* Green */
    .success:hover {
        background-color: #46a049;
    }

.info {
    background-color: #2196F3;
}
    /* Blue */
    .info:hover {
        background: #0b7dda;
    }

.warning {
    background-color: #ff9800;
}
    /* Orange */
    .warning:hover {
        background: #e68a00;
    }

.danger {
    background-color: #f44336;
}
    /* Red */
    .danger:hover {
        background: #da190b;
    }

.default {
    background-color: #c3c3c3;
    color: black;
    border: 1px solid darkblue;
}
    /* Gray */
    .default:hover {
        background: #ddd;
    }

/*--- Default page -----------------------------------------------------------------*/
.clFullPageInfo {
    margin: 50px auto;
    width: 90%;
    max-width: 800px;
    background-color: white;
    border: 1px solid darkblue;
    padding: 25px;
    text-align: left;
}


/*--- Header ---------------------------------------------------------------------*/

.clHeader {
    position: fixed;
    top: 0;
    height: 45px;
    font-size: 30px;
    line-height: 45px;
    /* background-color: See header.css*/
    /*background-color: #800080;*/ /* development & test */
    /*background-color: #005096;*/ /* production*/
    color: white;
    width: 100%;
    z-index: 2;
    white-space: nowrap;
}

    .clHeader > div {
        display: inline-block;
    }

#idMenu {
    font-size: 25px;
    cursor: pointer;
    line-height: 45px;
}

#idMenuTrigger {
    padding-top: 10px;
}

#idPageTitle {
    color: white;
    padding-left: 10px;
    line-height: 45px;
}

#idSelectedStudent {
    display: inline-block;
    height: 45px;
    margin-left: 20px;
    font-size: 30px;
    white-space: nowrap;
    cursor: pointer;
    line-height: 44px;
    padding: 0 5px;
}

    #idSelectedStudent:hover {
        background-color: #19c589;
    }

/*#idSelectedStudentContainer {
    font-size: 26px;
}*/

#idSelectedDate {
    display: inline-block;
    height: 45px;
    margin-left: 20px;
    font-size: 18px;
    cursor: pointer;
    line-height: 44px;
    padding: 0 5px;
}

    #idSelectedDate:hover {
        background-color: #19c589;
    }

#idSelectedDateContainer {
    font-size: 18px;
}




/*--- Main menu ------------------------------------------------------------------------*/

/*--- Dropdownmenus for main, days and students */
.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;
}

    .dropdown-content a {
        float: none;
        color: black;
        font-size: 16px;
        padding: 3px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
        font-style: normal;
    }

        .dropdown-content a:hover {
            background-color: #ddd;
        }





/*--- Main section ----------------------------------------------------------------*/
#idMain {
    margin-top: 45px;
    padding: 20px;
    text-align: center;
}

#idSelectedDateMobile {
    display: none; /*Only on Mobile*/
}

.clContent {
    margin: 40px auto;
    width: 60%;
    min-width: 300px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.clContent_Inner {
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    /*border: 1px solid gray;*/
}

/*#idWarningNotPassedSymbol {
    position: absolute;
    left: 10px;
    top: 20px;
}*/

.clLockedMsg {
    background-color: #0065BD;
    font-size: 14px;
    color: white;
    /*padding: 10px;*/
    width: 400px;
    /*height: 40px;*/
    margin: 0 auto;
    position: relative;
}

.clMsgIcon {
    position: absolute;
    top: 5px;
    left: 10px;
    padding-right: 5px;
    width: 30px;
    height: 100%;
    /*border-right: 1px solid white;*/
}


/*--- Tasks -------------------------------------------------------------------------*/
.clTask {
    width: 320px;
    margin: 15px;
    display: inline-block;
    background-color: white;
    position: relative;
}

.clTaskHeader {
    background: #0065BD;
    color: white;
    min-height: 35px;
    line-height: 35px;
}

.clTaskHeaderMenu {
    width: 45px;
    background-color: #005096;
    cursor: pointer;
}

.clTaskBody {
    padding: 3px;
    /*border: 1px solid gray;*/
    color: #000000;
    background-color: #EFF2FB;
    margin: 0 0 5px 0;
    /*border-radius: 5px;*/
}

.clDescription {
    padding: 15px 0;
}

.clValgBtn div {
    border: 1px solid gray;
    /*display: inline-block;*/
    /*width: 19%;*/
    /*    float: left;*/
    padding: 0;
    cursor: pointer;
    height: 50px;
    line-height: 50px;
    background-color: white;
    white-space: nowrap;
}

#idLoggedInUser {
    margin-right: 30px;
    font-size: 16px;
    float: right;
}

.clComment {
    padding: 5px;
    background-color: #e6f5ff;
    margin-bottom: 5px;
    border-radius: 5px;
}

.clCommentsStudent, .clCommentsVeileder {
    line-height: 1.2em;
    height: 4.8em;
    overflow: hidden;
    color: #6b6c6d;
}

.idCommentEmp {
    height: 590px;
    overflow: auto;
    padding: 5px;
}

.clDialogComment {
    height: 590px;
    overflow: auto;
    padding: 5px;
}



.clH3 {
    font-size: 18px;
}


/*--- qTip hack ---------------------------------------------------------------------------*/
/*.qtip {
    max-width: 400px !important;
    max-height: 400px;
    overflow: auto;
}*/



/*--- Media Styles --------------------------------------------------------------------*/

.clPrinterOnly {
    display: none;
}

@media print {
    .clPrinterOnly {
        display: block;
    }

    #idMain {
        display: none;
    }

    .clHeader {
        display: none;
    }

    .clScreenOnly {
        display: none;
    }
}

@media screen and (max-width : 760px) {
    .clFullPageInfo {
        margin-top: 5px;
    }

    .clContent {
        width: 100%;
        margin: 30px auto;
        padding: 10px;
    }

    #idLoggedInUser {
        margin-right: 20%;
    }

    .clNotMobile {
        display: none !important;
    }

    .clHeader {
        /*height: 90px;*/
        border-bottom: 1px solid lightblue;
    }

    #idMain {
        padding: 45px 0 0 0;
    }

    #idPageTitle {
        padding-left: 5px;
    }

    #idSelectedStudent {
        margin-left: 10px;
    }

        #idSelectedStudent:hover {
            background-color: #0065BD;
        }

    .clTask {
        width: 100%;
        margin: 0;
        background-color: white;
        display: inline-block;
        border-top: 1px solid white;
    }

    .clTaskHeader {
        background: #0065BD;
        cursor: pointer;
    }

    .clTaskHeaderMenu {
        background: #005096;
    }

    /*    #legend {
        display: none;
    }*/
}

@media screen and (max-width : 760px) {
    #idSelectedStudentContainer {
        font-size: 18px;
    }

    .lgTextArea {
        min-width: 280px;
    }
}
