﻿html, body {
    height: 100%;
    width: 100%;
    padding: 0px;
    margin: 0px;
    /*background-color:#d9d9d9 !important;*/
}

.formPrincipal {
    height: 100%;
    width: 100%;
    padding: 0px;
    margin: 0px;
    position: relative;
}

#header {
    min-height: 230px;
    height: auto;
    width: 100%;
    min-width: 220px;
    max-width: 100%;
    /*background-color: white;*/
    /* relative para que se mueva junto con el contenido, y no permanezca estatico*/
    position: relative;
    /* sticky para que se mueva con el contenido, pero permanezca estatico*/
    /*position: sticky;*/
    /* fixed para que No se mueva con el contenido, pero permanezca estatico*/
    /*position: fixed;*/
    /* 
               los elementos popup como el dropdown están a 1000 
               Los .modal a 1050
               El div asynpostback a 2000
               Los warning block a 100
               El layout de fondo del contenido a 0
            */
    /*z-index: 1001;*/
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0px;
}

#header-banner-1 {    
    height: 230px;
    /*position: sticky;*/
    /*background-image: url('/images/Banner-superior.png');
            background-size: cover;*/
    object-fit: contain;
    /*color: white;*/
    position:relative;
}

    #header-banner-1 > div.container {        
        background-size: cover;        
        height: 100%;
        padding-top: 6px;
        text-align:center;
    }

/* limite para el contenido */
#content-limit {
    /* Tomando los valores mínimos : banner header (230px) + contenido margin (10px) + footer (50px)  = 290px*/
    /* Tomando los valores mínimos : banner header (230px) + contenido margin (10px) + footer (0px)  = 240px*/
    height: calc(100% - 250px);
    min-height: calc(100% - 250px);
    padding-bottom: 10px;
    position: relative;
    width: 100%;
    /*background-color:red;*/
}

/* contenedor del contenido */
#content-body {
    width: 100%;
    min-height: calc(100% - 0px);
    /*background-color: greenyellow;*/
    /* auto */
    height: auto;
    position: relative;
}

#body {
    /*background-color: transparent;
    border-radius: 20px;*/
}

/* contenido para el area de trabajo */
#body-content {
    position: relative;
    width: 100%;
    /*background-color:yellow;*/
    padding-left:10px;
    padding-right:10px;
}

/* contenido para el area de trabajo */
#body {
    /*background-color: red;*/    
    min-height: calc(100% - 0px);
    height: auto;
    margin: auto;
    padding: 0px;
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
}

    /* fondo  */
    #body div.body-background-layout {
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        border-radius: inherit;
        z-index: 0;
    }



#footer {
    /*height: 50px;*/
    display:none;
    height: 0px;
    min-height: 0px;
    padding: 0px;
    padding-bottom: 0px;
    width: 100%;
    min-width: 220px;
    position: relative;
    margin-top: 0px;
    /*background: -prefix-linear-gradient(left, #031E4D, #2C91A5);
    background: linear-gradient(to right, #031E4D, #2C91A5);*/
    /*background-color:blue;*/
    /*background-image: url(/images/Banner-inferior.png);*/
    /*background-size: cover;*/
    /*color: white;*/
}

    #footer > div.container {
        height: 100%;
        position: relative;
        /* color de fondo footer*/
        /*background-color: #16276C;*/
        padding: 10px;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        /*background-image: url(/images/Banner-superior.png);*/
        background-size: cover;
    }

    /* Pie de pagina: Logo */
    #footer div.logo-footer {
        text-align: center;
        margin-top: 0px;
        padding-left: 0px;
    }

        /* Pie de pagina: Logo imagen*/
        #footer div.logo-footer img {
            height: 70px;
            padding: 5px;
        }


    /* Pie de pagina: correo */
    #footer div.leyenda-footer {
        text-align: center;
        padding: 9px;
    }


#ButtonTop{
    position:fixed;
    bottom: 0px;
    left:calc(100% - 170px) !important;
    z-index:100;
    display:none;
}

button.close {
    /*margin-top: -20px !important;*/    
}

#message-content {
    position:relative;    
}

#message-content > div {
    /*background-color:red;*/
    max-width:calc(100% - 25px);
    margin:auto;
    /*clear:right;*/
    position:relative;
}

#message-content button.close {
    /*margin-top: -25% !important;
    position:relative;*/
    /*float:right;*/
    /*clear:left;*/
    /*background-color:black;*/
    top:25px;
    position:absolute;    
    top:0px;
    right:-15px;
}

@media (min-width: 1200px) {
    #body {
        width: 80% !important;
        max-width: 1500px !important;
    }
}

@media (max-width: 992px) {
    #header-banner-1 {
        /*font-size: 16pt;*/
    }

    /* Ajustar al 100% */
    /*.container {
        width:100%;
    }*/
    .container {
        width: 100% !important;
    }
}

@media (max-width: 768px) {

    #header-banner-1 {
        /*font-size: 16pt;
        color: white;*/
    }

    .container {
        width: 100% !important;
    }
}

@media (max-width: 574px) {
    #header-banner-1 {
        /*font-size: 14pt;
        color: white;*/
    }
}