﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    /*padding-top: 50px;*/
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
   /* padding:7px;
    margin: 7px 0;*/
    /*max-width: 280px;*/
}
#divReanimacion {
    align-items: center;
    display: flex;
    justify-content: center;
}
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 680px) {
    body {
        padding: 0;
        margin: 0;
        /*width: 320px;*/
    }

    #pnlajustable {
        width: 100% !important;
    }
    label {
        font-size:small;
    }
    /*Imagen del login*/
    #imgtop {
        width: 100%;
    }

    #divReanimacion {
        width: 100%;
        display: contents;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    body {
        width: 100%;
    }
    /*Imagen del login*/
    #imgtop {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    #pnlajustable { /*panel de index, registra usuario, actualiza contraseña */
        width: 100% !important;
    }
    /*popup alta de pago pagina de cobranza*/
    #pnlAlta {
        width: 95% !important;
        left: 10px !important;
        top: 50px !important;
    }
    /*popup de carga archivo cat empresa*/
    #pnlCargaArchivo {
        width: 95% !important;
    }
    /*alerta de masterpage*/
    #PnlAlert {
        width: 100% !important;
        left: 10px !important;
    }
    /*alerta de masterpage*/
    #Msg {
        width: 95% !important;
    }
    /*Mensajesalir*/
    #MsgExit {
        /*width: 100% !important;*/
    }
}
/*Contenedores e inputs - Incio*/
html input[disabled] {
    cursor: default;
    background-color: #ccc;
    border-color: #ccc;
}
    html input[disabled]:hover {
        border-color:#ccc;
    }

input {
    /*border: 1px solid Gray;
        border-bottom: 1px solid black;
        border-left: 2px solid black;
        padding: 5px;
        width: 100%;*/
    width: 100%;
    padding: 3px;
    margin: 4px 0 4px 0;
    border: 1px solid #c1e0f7;
    border-radius: 5px;
    background-color: #e9f7f2;
}

     input:focus {
        /*border-color: red!important;
            outline: 0;*/
        border-color: #286090;
        /*background-color: pink;*/
        outline: none; /* Para quitar el borde azul por defecto en algunos navegadores */
    }

    input:hover {
        border-color: #286090;
    }

select {
    width: 100%;
     padding: 3px;
     margin: 4px 0 4px 0;
    border: 1px solid #c1e0f7;
    border-radius: 5px;
    background-color: #e9f7f2;
}

    select:focus {
        border-color: #286090;
        /*background-color: pink;*/
        outline: none; /* Para quitar el borde azul por defecto en algunos navegadores */
    }

    select:hover {
        border-color: #286090;
    }

.containerx {
    display: grid;
    grid-template-columns: 0.2fr 1fr;
    gap: 5px;
    max-width: 800px;
    margin: auto;
}

    .containerx label {
        /*text-align: left;
        align-self: left;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
        font-size: 12px;
        font-style: normal;*/
        display: flex;
        align-items: center;
        font-weight: bold;
    }

    .containerx input {
        /*border: 1px solid Gray;
        border-bottom: 1px solid black;
        border-left: 2px solid black;
        padding: 5px;
        width: 100%;*/
        width: 100%;
        /* padding: 8px;*/
        border: 1px solid #c1e0f7;
        border-radius: 5px;
        background-color: #e9f7f2;
    }

        .containerx input:focus {
            /*border-color: red!important;
            outline: 0;*/
            border-color: #286090;
            /*background-color: pink;*/
            outline: none; /* Para quitar el borde azul por defecto en algunos navegadores */
        }
        .containerx input:hover {
            border-color: #286090;
            
        }

        .containerx select {
            width: 100%;
            /* padding: 8px;*/
            border: 1px solid #c1e0f7;
            border-radius: 5px;
            background-color: #e9f7f2;
        }
            .containerx select:focus {
                border-color: #286090;
                /*background-color: pink;*/
                outline: none; /* Para quitar el borde azul por defecto en algunos navegadores */
            }
            .containerx select:hover {
                border-color: #286090;
            }
.containerx1 {
    display: grid;
    grid-template-columns: 0.1fr 0.2fr 0.2fr;
    gap: 5px;
    max-width: 800px;
    margin: auto;
}
.containerx1 input {
   
    width: 100%;
    /* padding: 8px;*/
    border: 1px solid #c1e0f7;
    border-radius: 5px;
    background-color: #e9f7f2;
}
.containerx1 input:focus {
    /*border-color: red!important;
            outline: 0;*/
    border-color: #286090;
    /*background-color: pink;*/
    outline: none; /* Para quitar el borde azul por defecto en algunos navegadores */
}

.containerx1 input:hover {
    border-color: #286090;
}

.containerx4Cols {
    display: grid;
    grid-template-columns: 150px 0.1fr 80px 80px;
    gap: 5px;
    max-width: 800px;
    margin: auto;
}
    .containerx4Cols input {
        width: 100%;
        /* padding: 8px;*/
        border: 1px solid #c1e0f7;
        border-radius: 5px;
        background-color: #e9f7f2;
    }
.containerx4Cols input:focus {
    /*border-color: red!important;
            outline: 0;*/
    border-color: #286090;
    /*background-color: pink;*/
    outline: none; /* Para quitar el borde azul por defecto en algunos navegadores */
}

.containerx4Cols input:hover {
    border-color: #286090;
}
/*Contenedores e inputs - Fin*/
/*Tabs -Inicio*/
.tabs {
    display: flex;
    /*justify-content: space-around;*/
    background-color: #f1f1f1;
    padding: 10px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background-color: #ddd;
    transition: background-color 0.3s ease;
}

    .tab:hover {
        background-color: #bbb;
    }

    .tab:focus {
        outline: none;
    }

    .tab:active {
        background-color: #999;
    }

h2 {
    color: #333;
}
/*tabs -ñFin*/
.headergrid {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#8bcddd+0,67aabc+41,49798d+100 */
    background: rgb(139,205,221); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(139,205,221,1) 0%, rgba(103,170,188,1) 41%, rgba(73,121,141,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(139,205,221,1) 0%,rgba(103,170,188,1) 41%,rgba(73,121,141,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(139,205,221,1) 0%,rgba(103,170,188,1) 41%,rgba(73,121,141,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8bcddd', endColorstr='#49798d',GradientType=0 ); /* IE6-9 */
}

table tbody tr input {
    max-width:100px;
    text-align:right;
    border-radius:0;
}
#tbMedInf, #tbMedEnbolo, #tbNutricion {
    WIDTH: 100%;
    min-width: 800px;
}
#tbNutricion tbody tr input {
    max-width: 90%;
    text-align: right;
    border-radius: 0;
}