﻿
body {
    font-size: clamp(11px, 2vw, 14px);
}

.form-control {
    border: 1px solid black;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 14px;
    transition: border-color 0.2s ease-in-out;
}

    .form-control:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

/* para los controles deshabilitados, colores */
input.form-control:disabled, input.form-control:disabled:hover,
select.form-control:disabled, select.form-control:disabled:hover,
textarea.form-control:disabled, textarea.form-control:disabled:hover {
    background-color: aliceblue;
    color: black;
    opacity: 0.85;
}



.style-display-inline {
    display: inline-block;
    vertical-align: central;
}

/* alineación de los controles */
.control--left-to-center {
    display: inline-block;
    text-align: left;
}

/* alineación de las etiquetas*/
.abel--right-to-center {
    display: inline-block;
    text-align: right;
    padding-right: 10px;
}

.input-wrapper {
    display: flex;
    align-items: center; /* Centra los elementos verticalmente */
    position: relative;
}


/* ver el login, sirve para poner el span centrado en el TextBox */
.label__name {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%,-50%);
    transition: all 0.3s ease; /* Transición suave para las transformaciones */
    pointer-events: none; /* Permite hacer clic a través del span en el input subyacente */
    color: gray;
}

/* ver el login, sirve para un control que no tenga foco, como un DropDownList. Pone el span encima del TextBox */
.label__name_fixed {
    position: absolute; 
    top: 0px; 
    left: 0px; 
    transform: translate(0%,-95%) scale(.7);
    background-color: white;
    color: black;
    z-index: 100;
    padding: 2px 4px; 
    border-radius: 4px;
}

/* ver el login, sirve para un control que no tenga foco, como un DropDownList. Pone el span encima del TextBox */
.label__name_fixed_transparent {
    position: absolute;
    top: 0px;
    left: 0px;
    transform: translate(30%,-75%) scale(.8);
    background-color: white;
    color: black;
    z-index: 100;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: bold;
}

/* ver el login, sirve para poner el span encima del TextBox cundo hay foco en el TextBox o contiene un valor */
.form-control:focus + .label__name,
.form-control:not(:placeholder-shown) + .label__name {
    display: inline-block;
    top: 0; 
    left: 20px; 
    transform: translate(-25%,-50%) scale(.7);
    background-color: white;
    color: black;
    z-index: 100;
    padding: 2px 4px; 
    border-radius: 4px;
}


@media (max-width: 765px) {
    .control--left-to-center {
        display: block;
        margin: 0 auto;
    }




    .label--right-to-center {
        display: block;
        text-align: center;
        padding-right: 0px;
        padding-top: 10px;
        width: auto;
    }
}



.columna-filtros {
    padding: 0px 0px 0px 0px;
    margin: 7px 0px 0px 0px;
}

.columna-filtros-CheckBox {
    font-size: 14px;
    margin-bottom: 5px;
    margin-top: 12px;
    padding-left: 0px;
    padding-right: 0px;
    display: flex;
    align-items: center;
}




.TotalRecords-Col {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.TotalRecords-Label {
    letter-spacing: 1px;
    font-size: 14px;
}

.texto-centrado {
    text-align: center !important;
}




/* sombra en los botones */
.btn {
    box-shadow: 4px 4px 4px -2px rgba(0, 0, 0, 0.5);
}

/* tamaño texto botones */
.glyphicon {
    font-size: 18px;
}

    .glyphicon.glyphicon-eye-open {
        font-size: 12px;
        width: 38px;
    }

/* Sombra para los GridView */

.shadowrb {
    box-shadow: 6px 6px 6px -3px rgba(0, 0, 0, 0.5);
}

/* alto de los Dropdownlist */
select {
    height: 24px;
}

/* para los móviles, color de fondo */
input, select, textarea {
    background-color: white;
}

    /* para los controles deshabilitados, colores */
    input:not(:enabled), input:not(:enabled):hover,
    select:not(:enabled), select:not(:enabled):hover,
    textarea:not(:enabled), textarea:not(:enabled):hover {
        background-color: lightgray;
        color: black;
        opacity: 0.85;
    }


    /* tamaño por defecto de los checkbox*/
    input[type=checkbox] {
        transform: scale(1.2);
    }

/* Ocultar elementos */
.oculto {
    display: none;
}

/* fuente en negrita*/
.fw {
    font-weight: bold
}


.FuenteNerd1 {
    font-family: 'Symbols Nerd Font';
}

.TamanioFuenteIconoBoton_1 {
    font-weight: 100;
    color: white;
    font-size: 20px;
}

.TamanioFuenteIconoBoton_2 {
    font-weight: 100 !important;
    color: white !important;
    font-size: 28px !important;
}

.TamanioFuenteIconoBoton_3 {
    font-weight: 100 !important;
    color: black !important;
    font-size: 28px !important;
}

.TamanioFuenteIconoBoton {
    font-weight: 100;
    color: white;
    font-size: 24px;
}


/* para centrar cards */
.extracard_center {
    max-width: 45rem;
    margin: 0 auto;
    float: none;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.4);
    transition: 0.3s;
    border-radius: 5px;
}


/* para centrar las cabeceras de los grids*/
/* hay que poner <HeaderStyle CssClass="header-center" /> */
.header-center {
    text-align: center;
}

/* cabeceras de los grids a la dercha*/
.header-right {
    text-align: right;
}

.borde1px {
    border: 1px solid #808080;
}

.botonMic {
    border: 0px;
    color: blue;
    font-size: 22px;
    background-color: #ffcc99;
    /*background-color:#ffcc99;*/
}

.botonSearch {
    /*border: 1px solid blueviolet;*/
    font-family: 'Hurmit Nerd Font', sans-serif;
    border: 0px;
    color: blueviolet;
    font-size: 22px;
    background-color: white;
    /*background-color:#ffcc99;*/
}

.botonAdd {
    /*border: 1px solid blueviolet;*/
    font-family: 'Hurmit Nerd Font', sans-serif;
    border: 0px;
    color: blue;
    font-size: 24px;
    background-color: rgba(0, 123, 255, 0.14);
    border-radius: 20px;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    line-height: 40px; /* Ajusta este valor para centrar verticalmente */
    text-align: left;
    font-weight: 900;
    padding-left: 11px;
    /*background-color:#ffcc99;*/
}

.botonSearchFilter {
    font-family: 'Hurmit Nerd Font', sans-serif;
    /*border: 1px solid blueviolet;*/
    border: 0px;
    color: red;
    font-size: 22px;
    background-color: white;
    /*background-color:#ffcc99;*/
}

.isFilter {
    font-family: 'Hurmit Nerd Font', sans-serif;
    font-size: 18px;
    border: 0px;
    color: red;
    background-color: white;
}

.botonFilter {
    border: 0px;
    color: blue;
    font-size: 22px;
    background-color: #ffcc99;
    /*background-color:#ffcc99;*/
}

.botonRemove {
    border: 0px;
    color: red;
    font-size: 22px;
    background-color: #ffcc99;
}


.TituloFiltros {
    padding-top: 6px;
}

@media (max-width: 765px) {
    .TituloFiltros {
        padding-top: 6px;
    }
}

.display-inline-block {
    display:inline-block;
}



/* --------  Estilos GRID ------------------------------------- */
/* cabeceras de los grids centradas*/
/* hay que poner <HeaderStyle CssClass="header-center" /> */
.header-center {
    text-align: center;
}

/* cabeceras de los grids a la derecha*/
.header-right {
    text-align: right;
}

/* borde izquierdo */
.LeftBorderGridView {
    border-left: 1px solid lightgrey !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}


.GridPager a, .GridPager span {
    display: inline-block;
    padding: 0px 9px;
    margin-right: 0px;
    border-radius: 3px;
    border: solid 1px #c0c0c0;
    background: #e9e9e9;
    box-shadow: inset 0px 1px 0px rgba(255,255,255, .8), 0px 1px 3px rgba(0,0,0, .1);
    font-size: .875em;
    font-weight: bold;
    text-decoration: none;
    color: #717171;
    text-shadow: 0px 1px 0px rgba(255,255,255, 1);
}

.GridPager a {
    background-color: #f5f5f5;
    color: #969696;
    border: 1px solid #969696;
}

.GridPager span {
    background: #616161;
    box-shadow: inset 0px 0px 8px rgba(0,0,0, .5), 0px 1px 0px rgba(255,255,255, .8);
    color: #f0f0f0;
    text-shadow: 0px 0px 3px rgba(0,0,0, .5);
    border: 1px solid #3AC0F2;
}

.contendor-tabla {
    margin-left: 15px;
    margin-right: 5px;
}

.migrid {
    padding-left: 0px;
    padding-right: 7px;
    border-width: 0px;    
}

@media (max-width: 765px) {
    .migrid {
        padding-left: 0px;
        padding-right: 0px;
        padding-right: 0px;
        border-width: 0px;
    }
}

.solid-border-1px {
    border-style:solid;
    border-width:1px;
}

/* poner en la página*/
/* fijar la primera columna del grid*/
th:first-child {
    position: sticky;
    left: 0px;
    z-index: 999;
    background-color: #337AB7;
}

td:first-child {
    position: sticky;
    left: 0px;
    background-color: #F5F5F5;
    z-index: 999;
}

/* -------- FIN Estilos GRID ------------------------------------- */



/* margin - bottom (mb) */
.mb3 {
    margin-bottom: 3px;
}

.mb5 {
    margin-bottom: 5px;
}

.mb7 {
    margin-bottom: 10px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb15 {
    margin-bottom: 15px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb25 {
    margin-bottom: 25px;
}

.mb30 {
    margin-bottom: 30px;
}

.mb35 {
    margin-bottom: 35px;
}


/* margin - top (mt) */
.mt3 {
    margin-top: 3px;
}

.mt5 {
    margin-top: 5px;
}

.mt7 {
    margin-top: 10px;
}

.mt10 {
    margin-top: 10px;
}

.mt15 {
    margin-top: 15px;
}

.mt20 {
    margin-top: 20px;
}

.mt25 {
    margin-top: 25px;
}

.mt30 {
    margin-top: 30px;
}

.mt40 {
    margin-top: 40px;
}


/* margin - left (ml) */
.ml3 {
    margin-left: 3px;
}

.ml5 {
    margin-left: 5px;
}

.ml7 {
    margin-left: 10px;
}

.ml10 {
    margin-left: 10px;
}

.ml15 {
    margin-left: 15px;
}

.ml20 {
    margin-left: 20px;
}

.ml25 {
    margin-left: 25px;
}

/* margin - right (ml) */
.mr3 {
    margin-right: 3px;
}

.mr5 {
    margin-right: 5px;
}

.mr7 {
    margin-right: 10px;
}

.mr10 {
    margin-right: 10px;
}

.mr15 {
    margin-right: 15px;
}

.mr20 {
    margin-right: 20px;
}

.mr25 {
    margin-right: 25px;
}


.pd0 {
    padding: 0px;
}

.pd3 {
    padding: 3px;
}

.pd5 {
    padding: 5px;
}

.pd7 {
    padding: 7px;
}

.pd10 {
    padding: 10px;
}

.pd15 {
    padding: 15px;
}

.pd20 {
    padding: 20px;
}

.pd25 {
    padding: 25px;
}

/* Mostrar mensaje Espere Procesando datos */
.Background_Wait {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background-color: #F0F0F0;
    opacity: 0.8;
    z-index: 100000;
}

/* Mostrar mensaje Espere Procesando datos */
.Progress_Wait {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    height: 100px;
    width: 300px;
    z-index: 100001;
    background-color: #FFFFFF;
    border: 1px solid Gray;
    /*background-image: url('/images/loading.gif');*/
    background-repeat: no-repeat;
    background-position: center;
}


.titulo_principal {
    font-size: 22px;
    font-weight: bold;
    margin-top: 12px;
    margin-bottom: 0px;
}

.titulo_secundario {
    font-size: 18px;
    margin-bottom: 5px;
}


@media (max-width: 765px) {
    .titulo_principal {
        font-size: 18px;
        font-weight: bold;
    }

    .titulo_secundario {
        font-size: 16px;
        margin-bottom: 0px;
    }
}

.titulo-principal-sticky {
    position: sticky;
    top: 50px;
    z-index: 1000;
    border: none;
    padding: 0px;
    margin: auto -5px;
}

.titulo-principal-margen {
    margin-bottom: 15px;
    padding: 0px;
}

.tituloColorFondo {
    background-color: #F9F9F8;
}

.tituloMargenFila {
    margin-left: 15px;
}

.fixed-size-button {
    width: 150px;
    height: 54px;
    margin-bottom: 10px;
}

.boton {
    margin-left: 10px;
    margin-bottom: 8px;
    /*font-family: 'Hack Nerd Font';*/
    font-family: Verdana;
    font-size: 12px !important;
}

/* botón personalizado */
.btn-purple {
    background: #9b59b6;
    border-color: #9b59b6;
    color: white;
}

    .btn-purple:hover {
        background: #ff3399;
        border-color: #ff3399;
        color: white;
    }

.btn-teal {
    background: #ff531a;
    border-color: #ff531a;
    color: white;
}

    .btn-teal:hover {
        background: #cc3300;
        border-color: #cc3300;
        color: white;
    }



.btn-save {
    background: #9b59b6;
    border-color: #9b59b6;
    color: white;
}

    .btn-save:hover {
        background: #9845ba;
        border-color: #9845ba;
        color: white;
    }

    .btn-save:active {
        color: white !important;
    }

    .btn-save:focus {
        color: white;
    }

/* formato botones */

.width-buttom {
    width: 150px; /* Ancho botones para dispositivos de escritorio */
}

.padding-icon-button {
    padding: 0px;
}

@media (max-width: 767px) {
    .width-buttom {
        width: 54px; /* Ancho botones para dispositivos móviles */
    }

    .padding-icon-button {
        padding: 0px;
        padding-left: 5px !important;
    }
}
