@media (max-width: 991px) {
    .system-title {
        font-size: 14px;
        padding-left: 0px;
    }

    /*Paieškos rezultatų atvaizdavimas mažesnėje rezoliucijoje, nuo 991px*/
    .search-results{
        width: 100%;
        border-collapse: separate;
        border-spacing: 2rem 0rem;
    }

    .search-results thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .search-results tr {
        display: block;
        margin-bottom: .625em;
    }

    .search-results td {
        border-bottom: 1px solid #f5f5f5;
        display: block;
        text-align: right;
    }

    .search-results td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
    }

    .search-results td:last-child {
        border-bottom: 0px;
        display: block;
        text-align: right;
    }

    .justify-content-end .col-md-2 {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .select2-container {
        display: table;
        table-layout: fixed;
    }

    .system-title {
        font-size: 12px;
        padding-left: 2em;
    }

    #login {
        font-size: 12px;
        height: 28.5px;
        padding: 5.25px 0px 5.25px 0px;
        min-width: 84px;
    }

    .system-user {
        font-size: 11px;
        padding-left: 0px;
    }

    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: center;
    }

    /*Atstovaujamos įmonės pasirinkimo lentelės transformacija*/
    .representatives table, thead, tbody, th, tr, td:nth-child(2) {
        display: block;
    }

    .representatives td:nth-child(3), td:last-child {
        display: inline-flex;
    }

    .representatives thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .representatives tr:nth-child(odd) {
        background: #f5f5f5;
    }

    .representatives td {
        content: attr(data-label);
        border: none;
        position: relative;
    }

    .representatives td {
        padding: 0em 1em 0em 1em !important;
    }

    .representatives th {
        padding: 0em 1em 0em 1em !important;
    }

    .representatives td:first-child {
        display: none;
    }

    .representatives [role="row"] {
        padding: 0.5em 0em 0.5em 0em;
    }

    .representatives td:nth-child(2)::before, td:nth-child(3)::before {
        content: attr(data-label) ": " !important;
        white-space: pre;
        float: left;
        font-weight: bold;
    }

    /*Prašymų pildymo žingsnių linijos ilgio apribojimas*/
    .setup-line {
        max-width: 400px;
    }

    /*Paslepia datos įvedimo ikoną mažesnėje rezoliucijoje*/
    .input-group-append {
        display:none;
    }
}

/*Įisijungia mobile versija*/
@media (max-width: 575px) {
    /*Prašymų pildymo žingsnių linijos ilgio apribojimas*/
    .setup-line {
        max-width: 320px;
    }

    .float-right {
        float: right;
    }

    #header-row {
        align-items: center !important;
        justify-content: space-between !important;
    }

    .system-user-mobile {
        font-size: 14px;
        line-height: 1.25em;
        padding-top: 1em;
    }

    .system-title {
        font-size: 14px;
    }

    .navbar-toggler {
        border: none !important;
    }

    .mobile-menu-title {
        font-size: 16px;
        border-bottom: 2px solid #FFC107;
        margin: 10px 0px 10px 0px;
    }

    .mobile-menu-item {
        padding: 5px 0px 5px 10px;
    }
}

@media (max-width: 499px) {
    /*Prašymų pildymo žingsnių linijos ilgio apribojimas*/
    .setup-line {
        max-width: 290px;
    }
}

@media (max-width: 390px) {
    /*Prašymų pildymo žingsnių linijos ilgio apribojimas*/
    .setup-line {
        max-width: 230px;
    }

    .system-title {
        font-size: 12px;
    }
}