﻿@media (max-width: 1024px) /*and (hover: none) and (pointer: coarse)*/ {

    .footer {
        height: 3.9vh;
        border-top: 0.1vh solid #ff8528;
    }

    .sidebar {
        width: 0%;
    }

        .sidebar.collapsed {
            width: 15% !important;
            left: 100%;
            height: 90.4vh;
            top: 5.5vh;
            z-index: 999;
        }

    .content-wrapper {
        margin-left: 0%;
        width: 100%;
    }

    .footer {
        margin-left: 0%;
        width: 100%;
    }

    .navbar {
        width: 100%;
        background: white;
        height: 5.5vh;
        display: inline-flex;
        align-items: center;
        border-bottom: 2px solid #ff8528;
        position: sticky;
        top: 0;
        z-index:999;
    }

    .mainheadas {
        background: #38495d;
        color: white;
        font-size: 0.6rem;
    }

    .navbar-brand {
        display: none;
    }

    .navbar-brand-mobile {
        display: block;
        color: #38495d;
        font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        font-weight: bolder;
    }

    .navbar-container {
        width: -webkit-fill-available;
        display: inline-flex;
        align-items: center;
    }

    .navbar-right {
        display: flex;
        width: 20%;
        flex-direction: row;
        justify-content: flex-end;
    }
    .nameas {
        display: inline-flex;
    }

    .log-reg {
        display: none;
    }

    .log-reg-mobile {
        display: block;
    }

    .user-mobile-wrapper {
        position: relative;
    }

    #user-toggle {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }

    .user-dropdown {
        position: absolute;
        right: 0;
        background: white;
        border: 1px solid #ccc;
        padding: 10px;
        z-index: 999;
        width: max-content;
        border: 3px solid #ff9a4d;
    }

        .user-dropdown.hidden {
            display: none;
        }

        .user-dropdown a {
            display: block;
            padding: 6px 10px;
            color: #333;
            text-decoration: none;
        }

            .user-dropdown a:hover {
                background-color: #f0f0f0;
            }

    .headeris {
        margin: 0;
        padding: 0;
        text-align: center;
        color: #38495d;
        text-transform: uppercase;
        font-size: 1.5rem;
    }

    .anketa {
        width: 95%;
    }

    .emplCard {
        height: 85vh;
        overflow: auto;
    }

    .po-headeris {
        text-align: center;
        width: 100%;
        color: #38495d;
        font-family: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        font-size: 1rem;
        font-weight: 500;
    }

    .anketaLable {
        display: flex;
        text-align: justify;
        font-size: 0.6rem;
    }

    .anketaData {
        font-weight: 500;
        font-size: 0.6rem;
    }

    .stulpas {
        display: inline-flex;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        color: #38495d;
        min-width: auto;
        flex-direction: column;
        padding: 20px 0px 0px 0px;
        width: 45%;
        border-bottom: 1px solid;
        font-size: 1.2rem;
    }

    .language-icon {
        display: inline-flex;
        align-content: center;
        font-size: 0.6rem;
        padding: 0.2rem;
        font-family: arial;
        font-weight: 700;
        cursor: pointer;
    }

    .button_lang {
        display: inline-flex;
        align-items: center;
        height: 2rem;
        aspect-ratio: 1;
        border: 0.3em solid #38495d;
        border-radius: 50%;
        justify-content: center;
    }

    .language-icon {
        display: inline-flex;
        align-content: center;
        font-size: 0.6rem;
        padding: 0.05rem;
    }

    img.flagicon {
        width: 1.5vh;
    }

    button#user-toggle {
        color: #38495d;
    }

    a.nav-link, .menuHead {
        display: flex;
        align-items: center;
        color: #cfcfcf;
        text-decoration: none;
        flex-direction: column;
        line-height: 0.5rem;
        text-align: center;
    }

    .menutitle, span.level2link {
        font-size: 0.45rem;
    }

    .cbctext {
        display: none;
    }

    .sidebarToggleDiv {
        display: none;
    }

    .menuikon {
        padding-right: 0px;
        margin: 0;
    }

    .nav-item, .menuHead, .singlemenu {
        padding-left: 0px;
    }

    .dropdown-content.show {
        max-height: fit-content;
        opacity: 1;
        padding-left: 0px;
        padding-top: 10px;
    }

    .dropdown-content {
        max-height: 0;
        overflow: hidden;
        padding-left: 0px;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out, opacity 0.3s ease-in-out;
        opacity: 0;
    }

    .rowaap {
        display: flex;
        width: 100%;
    }

    h1.existingtests {
        margin-top: 100px;
        text-align: center;
        font-size: 1rem;
        color: #38495d;
        font-weight: 800;
    }

    p.nomarginas {
        margin: 0;
        font-size: 0.65rem;
    }

    .t-d {
        font-size: 0.65rem;
    }

    .addppe {
        font-size: 0.65rem;
    }

    .page-container {
        height: 94.4vh;
        overflow: scroll;
    }

    .tab {
         margin-left: 0px; 
         margin-right: 0px; 
    }

    .row123.rowmobile {
        width: 95%;
    }

    p.nogap.prasymai {
        font-size: 0.65rem;
    }

    .calLabel {
        font-size: .85rem;
        color: #38495d;
        font-weight: 800;
    }

    .calTitle {
        margin-left: 10px;
        font-weight: bold;
        color: #38495d;
        font-size: 0.85rem;
    }

    .calendar2 {
        display: flex;
        justify-content: space-between;
        max-width: 100vw;
        min-width: 100vw;
        padding-bottom: 10px;
    }

    .month-year-container2 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 20px;
        width: 100vw;
    }

    .calendar-container2 {
        width: 100vw;
        background: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 15px;
    }


    .calendar2 .weekday {
        text-align: center;
        font-weight: bold;
        color: #38495d;
        font-size: 0.8rem;
    }

    .calendar2 .day {
        text-align: center;
        padding: 7px;
        cursor: pointer;
        font-size: 0.8rem;
    }

    .calendar2 .month {
        max-width: fit-content;
    }

    .logcenter {
        display: inline-flex;
        width: -webkit-fill-available;
        justify-content: center;
        z-index: 99;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        height: 70vh;
    }

    .heightclass {
        width: 30vw;
        height: 45vw;
    }

    .logikon {
        min-height: 30vw;
        transition: ease-in-out;
        transition-duration: 0.5s;
        width: 100%;
    }

    .nodekor {
        color: #a8453a;
        display: flex;
        justify-content: center;
        flex-direction: column;
        font-size: 1rem;
        cursor: pointer;
        font-family: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        font-weight: bold;
        text-align: center;
    }

    .superheadding {
        color: #3c495c;
        font-size: 1.5rem;
        font-weight: 900;
        font-family: arial;
        padding-bottom: 5%;
        text-align: center;
    }

    #mslogin {
         width: auto; 
         height: auto; 
    }

    .log-reg-mobile-out {
        display: flex;
        align-items: center;
    }

    .logitem {
        color: #38495d;
        font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        font-size: 0.8rem;
    }

    .pipe-item {
        font-size: 0.8rem;
        color: #38495d;
        padding: 0px 5px 0px 5px;
    }



    /* From Uiverse.io by AKAspidey01 */
    .checkboxtoggler {
        width: 2em;
        display: flex;
        flex-direction: column;
        gap: 0.3em;
        cursor: pointer;
    }

    label#togglerLable {
        display: flex;
        align-items: center;
        width: 15vw;
        justify-content: center;
    }

    .line-1 {
        background: #ff9a4d;
        height: 0.2em;
        border-radius: 10em;
        transition-duration: 500ms;
    }

    .line-2 {
        background: #ff9a4d;
        height: 0.2em;
        border-radius: 10em;
        transition-duration: 500ms;
    }

    .line-3 {
        background: #ff9a4d;
        height: 0.2em;
        border-radius: 10em;
        transition-duration: 500ms;
    }

    #toggleChecker {
        height: 2em;
        width: 100%;
        display: none;
    }

        #toggleChecker:checked + #togglerLable .checkboxtoggler .line-1 {
            -webkit-transform: rotate(45deg) translateY(0.4em) translateX(0.4em);
            -ms-transform: rotate(45deg) translateY(0.4em) translateX(0.4em);
            transform: rotate(45deg) translateY(0.4em) translateX(0.4em);
        }

        #toggleChecker:checked + #togglerLable .checkboxtoggler .line-2 {
            -webkit-transform: rotate(-45deg) translateY(0em) translateX(0.1em);
            -ms-transform: rotate(-45deg) translateY(0em) translateX(0.1em);
            transform: rotate(-45deg) translateY(0em) translateX(0.1em);
        }

        #toggleChecker:checked + #togglerLable .checkboxtoggler .line-3 {
            transform: scaleX(0);
            transform-origin: left;
        }



}
