html,body{
    width: 100%;
    height: 100%;
}
.flex{
    width: 100%;
    height: 100%;
}
header{
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 20px solid #e52a3b;
}

.w50{
    width: 50%;
}

.header_row{
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    margin: 0 auto;
}


.login-form{
        width: 25rem;
    height: 18.75rem;
    position: fixed;
    top: 50%;
    margin-top: -9.375rem;
    left: 50%;
    margin-left: -12.5rem;
    padding: 1.25rem;
    background-color: #e52a3b;
    border-radius: 10px;
}

.login-form .input{
    padding: 5px;
    color: #fff;
}
.login-form label{
    width: 100px;
    display: inline-block;
}
.login-form input{
    display: inline-block;
}
.login-form h1{
    text-align: center;
    color: #fff;
}

input,textarea{
    box-sizing: border-box;
    width: 240px;
    height: 30px;
    padding: 7px 5px;
    border: 1px solid #CCC;
    /*border: 2px solid #888;*/
    outline: 0;
    color: #444;
    box-shadow: rgba(0,0,0,.15) 1px 2px 5px inset;
    vertical-align: top;
    font-size: 0.9em;
}
input.medium{
    width: 150px;
}
input.min{
    width: 80px;
}

input:active,input:hover,input:focus{
    /*border: 2px solid #4682b4;*/
}
.login-form .buttons{
    width: 100%;
    margin-top: 30px;
    text-align: center;
}
button{
       box-shadow: rgb(242, 156, 147) 0px 1px 0px 0px inset;
    background: linear-gradient(rgb(209, 40, 55) 5%, rgb(206, 1, 0) 100%) rgb(229, 42, 59);
    border-radius: 6px;
    border: 1px solid rgb(216, 53, 38);
    display: inline-block;
    cursor: pointer;
    color: rgb(255, 255, 255);
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: rgb(178, 62, 53) 0px 1px 0px;
        width: 250px;
    height: 45px;
}
fieldset{
    border: 1px solid #c0c0c0; */
}

.form-data{
    padding: 2rem;
}

.form-data-p{
padding: 1rem;
}

.form-data li,.form-data-p li{
    width: 400px;
}
.form-data li label,.form-data-p li label{
    width: 110px;
    display: inline-block;
    vertical-align: top;
}
.form-data li,.form-data-p li{
    list-style: none;
    padding: 0.5rem;
}

.results{
    
    /*min-height: 500px;*/
    /*display: none;*/
    background: #f0f0f0;
    padding: 2rem;
}

.tb_result tr td:first-child{
    font-weight: bold;
}

.tb_result tr td:last-child{
    text-align: right;
}

/* Paneles de Listado */
.PanelBox{
    display:none;
    position:absolute; z-index:200; clear: both;
    width:auto;
    min-width:360px;
    max-width:670px;
    height:auto;
    min-height:460px;
    padding:10px;
    background:#F4F4F4; border:5px solid #DDD;
    box-shadow:0 3px 30px rgba(0,0,0,.8); -moz-box-shadow:0 3px 30px rgba(0,0,0,.8); -webkit-box-shadow:0 3px 30px rgba(0,0,0,.8);
}
.PanelBox header{width:100%; padding:10px 0 5px; height:24px; background:none; float: none;}

.PanelBox .search_box{width:300px; display:block; padding:0 0 5px;}
.PanelBox .search_box b{padding-right:10px; padding-top:2px; font-size:14px; font-weight:lighter; width:auto; display:block;}

.PanelBox footer{width:360px; padding:3px 0; height:20px; font-size:10px; color:#999; text-align:right;}

.PanelBox .fotografia{width:340px; min-height:280px; background:#444; padding:10px; display:block;}
.PanelBox .marca_agua{width:240px; height:260px; position:absolute; left:20px; top:64px; display:block; z-index:1000;}
.PanelBox .marca_agua p{width:69px; height:260px; display:block; background:rgba(255,255,255,.24);}
.PanelBox .marca_agua b{width:200px; height:258px; border:1px dashed #FFF; display:block;}

#modal{
    top:0; left:0; width:200%; height:100%;
    position:fixed; _position:absolute; z-index:99;
    }
#modal.black{background:rgba(0,0,0,.75); }
#modal.white{background:rgba(255,255,255,.75); }
#modal.clear{background:rgba(255,255,255,.32); }

.close{
    top:3px; right:3px; width:24px; height:24px; position:absolute; display:block;
    background:url(../img/bt_close.png) left no-repeat; _background:url(../img/close.gif) center; cursor:pointer;
} 
.close:hover{background:url(../img/bt_close.png) right no-repeat; _background:url(../img/close.gif) center;}