﻿@media screen and (max-width: 759.99px) {
    #mainContainer > .header {
        background-color: #e8e8e8;
    }

    body {
        padding: 0;
    }

    .container {
        max-width: 100% !important;
        width: 100%;
        padding: 0;
    }

    .modal-body, .modal-body-custom {
        max-height: 300px !important;
    }

    #dialogDiv.comment {
        width: 600px !important;
        margin-left: -30% !important;
    }

    #FormExamComment .modal-body {
        max-height: 300px !important;
        width: inherit !important;
    }

    .login-header {
        margin: 0.5rem;
        max-width: unset;
        align-items: center;
    }

        .login-header > .preprod_tag {
            min-width: 40px;
            width: 40px;
            height: 40px;
            line-height: 40px;
            font-size: 20px !important;
            position: absolute;
            margin: 0;
            top: 25px;
            z-index: 100;
            right: 10px;
        }

        .login-header > .description {
            display: none;
        }

        .login-header > .full-title {
            border: 0;
            margin: 0;
            padding: 0;
            width: 100%;
            display: flex;
            flex-direction: column;
        }

            .login-header > .full-title > .title {
                float: left;
                font-size: 3rem;
                display: block ruby;
                text-align: center;
            }

            .login-header > .full-title .portal-type {
                width: 100%;
                text-align: left;
                font-size: 2rem;
                text-align: center;
            }

    #r {
        max-width: 100%;
    }

    .header-logo {
        width: 250px;
        justify-content: initial;
    }

    .header-logo > span {
        font-size: 25px !important;
    }

    .header > .preprod_tag {
        min-width: 40px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px !important;
        position: absolute;
        margin: 0;
        top: 113px;
        z-index: 1000;
        left: 50px;
    }

    table {
        border: 0 !important;
    }

    th {
        display: none;
    }

    .table tr:nth-child(2n+1) td {
        background-color: #fff;
    }

    .table tr:hover td {
        background-color: #fff !important;
    }

    tr {
        display: block;
        margin-top: 10px;
    }

    td {
        text-align: right !important;
        display: block;
        border: none !important;
        padding: 8px 0px 8px 0px !important;
    }

        td:before {
            float: left;
            text-transform: uppercase;
            font-weight: bold;
            content: attr(data-label);
            margin-right: 25px;
        }

        td:last-child {
            border-bottom: 1px solid #000 !important;
        }


    .login-form {
        margin: 0;
        padding: 0;
    }

    .form_wrapper {
        margin: 0;
        border: 0;
        box-shadow: unset;
        border-radius: 0;
        max-width: 100% !important;
    }

        .form_wrapper .application_version {
            right: 10px;
        }

    .footer-images {
        display: flex;
        flex-direction: column;
    }

    #login-footer, #footer {
        display: flex;
        flex-direction: column;
        margin-top: 2rem;
        margin-bottom: 0;
    }

        #login-footer > img, .footer-images > img {
            align-self: center;
            width: 14rem;
            height: auto;
            padding: 0.4rem;
            max-width: unset;
        }

        #login-footer h4, #footer > h4 {
            margin: 0;
            margin-top: 15px;
        }


        #footer img {
            height: auto;
        }

    .login-form-action-buttons {
        display: inline-flex;
        width: 100%;
    }

    #footer h4, #login-footer h4 {
        margin-top: 20px;
    }

    .login-form-action-buttons-container {
        width: 100%;
    }

    .login-form-action-buttons-container > .field {
        display: flex;
        flex-direction: column-reverse;
        width: 100%;
        align-items: center;
        padding: 10px;
    }

        .login-form-action-buttons-container > .field > a {
            margin: 0 !important;
            padding-bottom: 10px;
        }


        #FormActiveUser {
            margin: 0;
            padding: 0;
        }

    #navbar {
        display: none;
    }

    .header-row {
        display: flex;
        background-color: inherit;
    }

        .header-row.active {
            background-color: #e8e8e8;
            border: 0;
            background-position: 20px 30px;
            border-width: 3px 1px 3px;
            display: flex;
            height: 45px;
            margin-bottom: -6px;
            padding-bottom: 30px;
            padding-right: 25px;
            margin-top: -20px;
        }

    .top-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
        color: #FFF;
        height: 50px;
        padding: 1em;
    }

    .menu {
        display: block;
        flex-direction: row;
        list-style-type: none;
        margin: 0;
        padding: 0;
        position: absolute;
        font-size: 1rem;
    }

        .menu > li {
            margin: 0 1rem;
            overflow: hidden;
        }

    .menu-button-container {
        display: none;
        height: 100%;
        width: 30px;
        cursor: pointer;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }

    #menu-toggle {
        display: none;
    }

    .menu-button,
    .menu-button::before,
    .menu-button::after {
        display: block;
        background-color: #144c7a;
        position: absolute;
        height: 4px;
        width: 30px;
        transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
        border-radius: 2px;
    }

        .menu-button::before {
            content: '';
            margin-top: -8px;
        }

        .menu-button::after {
            content: '';
            margin-top: 8px;
        }

    #menu-toggle:checked + .menu-button-container .menu-button::before {
        margin-top: 0px;
        transform: rotate(405deg);
    }

    #menu-toggle:checked + .menu-button-container .menu-button {
        background: rgba(255, 255, 255, 0);
    }

        #menu-toggle:checked + .menu-button-container .menu-button::after {
            margin-top: 0px;
            transform: rotate(-405deg);
        }

    .menu-button-container {
        display: flex;
    }

    .menu {
        position: absolute;
        top: 0;
        margin-top: 45px;
        left: 0;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    #menu-toggle ~ .menu li {
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    #menu-toggle:checked ~ .menu li {
        height: 3.5em;
        padding: 0.5em;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .menu > li {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0.5em 0;
        width: 100%;
        color: #000;
        background-color: #fff;
    }

        .menu > li:not(:last-child) {
            border-bottom: 1px solid #444;
        }

    .menu > li > a {
        text-decoration: none
    }

    .menu > li > a.active {
        font-weight: 900;
    }

    .cke-title {
        display: none;
    }

    .currentUserInfo {
        display: none;
    }

    .logout-btn {
        display: none;
    }

    .header_container {
        justify-content: center;
        background-color: inherit;
    }

        .header_container .preprod_tag {
            top: 110px;
            z-index: 1000;
            left: 55px;
        }

    .mobile-currentUserInfo {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

        .mobile-currentUserInfo > .person_info_icon_container {
            height: 60px;
            display: flex;
            margin-right: 0px;
        }

    .person_icon_user {
        margin: 0;
    }

    .mobile-logout-btn {
        display: flex;
        justify-content: center;
        width: 30%;
    }

        .mobile-logout-btn > a {
            text-indent: 0 !important;
            line-height: normal !important;
            display: flex;
            align-items: center;
            justify-content: center;
        }

    #idleTimeSpan {
        margin: 0;
    }

    .header-row div {
        color: #000;
    }

    .logo-footer,
    .logo-footer-name,
    .logo-footer-fullname {
        display: none;
    }

    .table-header {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .btn-custom {
        margin-right: 0px;
    }

    .logo-footer-appversion {
        min-width: unset;
    }

    td .btn-group {
        float: unset;
    }

    .btn-grid.actionLinkButton {
        font-size: 20px;
    }

    .customCheckBoxLabel {
        display: inline;
    }

    .taskContent {
        border: unset !important;
        border-radius: 0px !important;
        padding: 0;
    }

    .span5, .span4, .span12 {
        margin-top: 10px;
    }

    .exam {
        padding: 0 !important;
        border: 0 !important;
        margin-left: 0 !important;
    }

    .exam .row {
        flex-direction: column;
    }

        .exam .customlabel {
            width: 100%;
            text-align: center;
        }

    .candidateAnswerButton {
        display: flex;
        flex-direction: column;
        padding-bottom: 10px;
        gap: 10px;
        margin-left: 0px !important;
    }

    #SaveAnswerButton {
        margin-right: 0 !important;
    }

    .examTasks {
        flex-direction: column !important;
        padding: 0 !important;
    }

    .taskButton  > a {
        width: 100% !important;
    }

    #r {
        border: unset !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .modal-footer {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .modal-footer > button {
        width: 100%;
        margin: 0 !important;
    }

    .taskContent img {
        width: 100% !important;
        height: auto !important;
    }

    .col-half {
        width: 100%;
    }

    ul.hamburger-menu {
        height: 90vh;
        overflow: auto;
        background-color: white;
    }
}
