﻿body {
    font-size: clamp(12px, 2vw, 14px);
}

.columna30px {
    font-size: clamp(16px, 1.56vw, 30px);
    margin-top: 20px;
    margin-bottom: 1px;
}


.columna20px {
    font-size: clamp(12px, 1vw, 20px);
    margin-top: 0px;
    margin-bottom: 1px;
    display: inline-block;
}

.form-control {
    border: 1px solid black;
    border-radius: 4px;
    padding: 4px 12px;
    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);
    }

.style-display-inline {
    display: inline-block !important;
    vertical-align: central;
}

/* tamaño por defecto de los checkbox*/
input[type=checkbox] {
    transform: scale(1.2);
}

/* para los móviles, color de fondo */
input, select, textarea {
    background-color: white;
}

/* 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: #e9e9e9;
    color: black;
    opacity: 0.85;
}


/* comentado 04-04-2025 porque ahora uso en el body{ font-size: clamp(12px, 2vw, 16px); } */
/* Tamaño por defecto para pantallas grandes */
/*.text-responsive {
    font-size: 16px;
}*/

/* Tamaño más pequeño para pantallas medianas */
/*@media (max-width: 992px) {
    .text-responsive {
        font-size: 14px;
    }
}*/

/* Tamaño aún más pequeño para pantallas pequeñas */
/*@media (max-width: 768px) {
    .text-responsive {
        font-size: 12px;
    }
}*/

/* Tamaño mínimo para móviles */
/*@media (max-width: 480px) {
    .text-responsive {
        font-size: 12px;
    }
}*/


/* sombra en los botones */
.btn {
    box-shadow: 6px 6px 6px -3px rgba(0, 0, 0, 0.5);
}

/* fuente en negrita*/
.fw {
    font-weight: bold
}

/* tamaño texto botones */
.glyphicon {
    font-size: 18px;
}

    .glyphicon.glyphicon-eye-open, .glyphicon.glyphicon-pencil, .glyphicon.glyphicon-tag, .glyphicon.glyphicon-ok-sign {
        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 {
    background-color: white;
}

    
/* Ocultar elementos */
.oculto {
    display: none;
}

/* 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;
}


/* 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;
}


/* 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;
}

/* 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;
}


/* 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 los grids */

.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;
}

.mi-gridview {
    /* borde externo del gridview */
    border: 1px solid #ccc;    
}

.mi-gridview tbody tr:hover {
    /* color fila seleccionada */
    background-color: #f0f8ff;
}

.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;
    }
}


/* 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;
}*/


/* cabeceras de los grids centradas*/
/* hay que poner 
    <ItemStyle HorizontalAlign="CENTER" /> <HeaderStyle CssClass="header-center" />
*/
.header-center {
    text-align: center;
}

/* cabeceras de los grids a la derecha*/
.header-right {
    text-align: right;
}



/* para los grids */

.contendor-tabla {
    margin-left: 15px;
    margin-right: 5px;
}

.div1-migrid {
    margin-left: 0px;
    margin-right: 0px;
}

.div2-migrid {
    padding: 0px;
}


.migrid {
    padding-left: 0px;
    padding-right: 3px;
    border-width: 0px;
    margin-left: 0px;
    margin-right: 0px;
}

@media (max-width: 765px) {
    .migrid {
        padding-left: 0px;
        padding-right: 0px;
        border-width: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }
}



.GridPager a,
.GridPager span {
    display: inline-block;
    padding: 1px 12px !important;
    margin-right: 4px !important;
    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;
}
