.dropify-wrapper .dropify-message p {
    font-size: 15px !important; 
    margin: 5px 0 0;
}
.dropify-wrapper .dropify-message .file-icon:before {
    font-size: 40px !important;
}
.bd-example {
    padding: 1.5rem;
    margin-right: 0;
    margin-left: 0;
    border-width: 1px;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}
div#cli_note p {
    margin-bottom: 0;
}
.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    background: red;
    cursor: inherit;
    display: block;
}
.file-input-label {
    padding: 0px 10px;
    display: table-cell;
    vertical-align: middle;
    border: 1px solid #ddd;
    border-radius: 4px;
}
input[readonly] {
    background-color: white !important;
    cursor: text !important;
}
.custom-select{
    width: auto !important;
}
.modal-content.bd-example.card.shadow {
    padding: 0;
}
.modal-dialog .custom-select{
    width: 100% !important;
    height: calc(2em + 0.5rem + 0px);
}
.row.header .custom-select {
    width: 100% !important;
}
/*LOGIN*/
.login .bg-login-image {
    background: url(../img/system/portada-sistema.png);
    background-size: cover;
    background-position: center;
}
.justify-content-center {
    align-items: center;
    height: 100vh;
}
/*PREVIEW IMAGEN*/
.avatar-upload {
    position: relative;
    max-width: 200px    ;
    margin: 0 auto;
    .avatar-edit {
        position: absolute;
        right: 12px;
        z-index: 1;
        top: 10px;
        input {
            display: none;
            + label {
                display: inline-block;
                width: 34px;
                height: 34px;
                margin-bottom: 0;
                border-radius: 100%;
                background: #FFFFFF;
                border: 1px solid transparent;
                box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
                cursor: pointer;
                font-weight: normal;
                transition: all .2s ease-in-out;
                &:hover {
                    background: #f1f1f1;
                    border-color: #d6d6d6;
                }
                &:after {
                    content: "\f040";
                    font-family: 'FontAwesome';
                    color: #757575;
                    position: absolute;
                    top: 10px;
                    left: 0;
                    right: 0;
                    text-align: center;
                    margin: auto;
                }
            }
        }
    }
    .avatar-preview {
        width: 192px;
        height: 192px;
        position: relative;
        border-radius: 100%;
        border: 6px solid #F8F8F8;
        box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
        > div {
            width: 100%;
            height: 100%;
            border-radius: 100%;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
        }
    }
}



/* MEDIA QUERY */
@media screen and (min-width: 1024px) {
    .sidebar.toggled {
        overflow: visible;
        width: 6.5rem!important;
    }
    .float-sm-end {
        float: inline-end;
    }
    .table-responsive {
        display: table;
    }
    .table thead th {
        vertical-align: bottom;
    }
    /*COTIZADOR*/
    .row.header .button-top-table {
        padding-left: 0;
    }
    #contenedor_cliente hr.hr {
        display: none;
    }
}   
@media screen and (max-width: 767px) {
    .col-sm-12.col-md-6.d-flex.button-top-table {
        justify-content: center !important;
        gap: 1rem;
    }
    .col-sm-12.col-md-6.filter-date {
        display: grid;
    }
    .search-top-table .input-group {
        width: 100% !important;
        margin-bottom: 1rem;
    }
    .mr-4.mobile {
        margin: 0 !important;
    }
    .table-responsive {
        display: block;
    }
    .table thead th {
        vertical-align: baseline;
    }
    td.status {
        text-align: center;
    }
    /*FILTRO*/
    /* Convertimos el div .row de los filtros en un panel lateral */
    .filter-container-mobile {
        position: fixed;
        top: 0;
        right: -100%; /* Escondido */
        width: 280px;
        height: 100vh;
        background: white;
        z-index: 9999;
        transition: 0.4s right ease;
        padding: 2rem 1rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        display: block !important;
    }
    /* Clase que activaremos con JS */
    .filter-container-mobile.active {
        right: 0;
    }
    /* Forzamos a que los select y labels ocupen todo el ancho en el sidebar */
    .filter-container-mobile label, 
    .filter-container-mobile select,
    .filter-container-mobile .input-group {
        width: 100% !important;
        display: block;
        margin-bottom: 15px;
    }
    /* Overlay para oscurecer el fondo */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 9998;
    }
    .sidebar-overlay.active { 
        display: block; 
    }
    .input-group.float-sm-end {
        display: flex;
    }
    /* MODAL */
    .modal-content.bd-example.card.shadow .row {
        display: block;
    }
    /*COTIZADOR*/
    #contenedor_cliente, .row.header .button-top-table, .row.header .col-sm-3.col-md-3{
        padding: 0;
    }
    .row.header .col-sm-9.col-md-9 {
        order: 1;
    }
    .row.footer .col-sm-4.col-md-4 {
        order: 0;
    }
    .row.footer .col-sm-8.col-md-8 {
        order: 1;
    }
    .row.footer .col-sm-12.col-md-12 {
        order: 2;
    }
    .row.footer .col-12 {
        order: 3;
        text-align: center;
    }
    .row.footer h5.text-primary.mb-4 {
        text-align: center;
    }
    #alertaSwitch {
        margin-bottom: 1rem;
    }
    .top-date .col-sm-4 {
        width: 40%;
    }
    .top-date .col-sm-8 {
        width: 60%;
    }
}

