﻿#MenuLateral {
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    background-color: #FFF;
    color: #004A98;
    padding: 20px;
    overflow-y: auto;
    border-right: 0.3px solid #E3E3E3;
}

.text-small-buscador {
    font-size: 11px;
}

@media (min-width: 900px) {
    .text-small-buscador {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    .text-small-buscador {
        font-size: 16px;
    }
}

.custom-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.custom-flex-item {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.custom-align-end {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.error-border {
    border: 1px solid red;
}

@media (max-width: 768px) {
    #MenuLateral {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .custom-flex-item,
    .custom-align-end {
        width: 100%;
    }

    .custom-btn {
        width: 100%;
        height: 27px !important;
    }
}

.text-buscador {
    font-weight: 500;
    color: #004A98;
}

.text-buscador-check {
    font-weight: 500;
    color: #000000;
}

#MenuLateral .form-control,
#MenuLateral .form-select {
    border: 1px solid #004A98 !important;
    box-shadow: none !important;
}

    #MenuLateral .form-control:focus,
    #MenuLateral .form-select:focus {
        border-color: #004A98 !important;
        box-shadow: 0 0 0 .2rem rgba(0, 74, 152, 0.25) !important;
    }

.btn-toggle-menu {
    position: fixed;
    top: 80px;
    left: 15px;
    z-index: 2000;
    background: #004A98;
    color: #FFF;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,.3);
    transition: top .3s ease;
}

#MenuLateral {
    transition: transform .3s ease-in-out;
}

@media (min-width: 1600px) {
    #MenuLateral {
        width: 267.75px;
        flex-shrink: 0;
    }
}


@media (min-width: 1400px) and (max-width: 1599.98px) {
    #MenuLateral {
        width: 249.9px;
        flex-shrink: 0;
    }
}


@media (min-width: 1200px) and (max-width: 1399.98px) {
    #MenuLateral {
        width: 232.05px;
        flex-shrink: 0;
    }
}


@media (min-width: 992px) and (max-width: 1199.98px) {
    #MenuLateral {
        width: 214.2px;
        flex-shrink: 0;
    }

    #main {
        flex: 1;
        overflow-x: hidden;
    }
}

.layout-container {
    display: flex;
    /*min-height: calc(100vh - 70px);*/
}

@media (max-width: 992px) {
    #MenuLateral {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh !important;
        width: 100%;
        max-width: 330px;
        background: #FFF;
        z-index: 3000;
        transform: translateX(-100%);
        padding-top: 90px !important;
        border-right: 1px solid #E3E3E3;
    }

        #MenuLateral.menu-open {
            transform: translateX(0);
        }

    .layout-container {
        flex-direction: column;
    }
}

#MenuOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,.4);
    z-index: 2500;
    display: none;
}

    #MenuOverlay.active {
        display: block;
    }
