/******************************* PRINCIPAL *********************************************/
.required:after {
    content: "*";
}
    
*{
    margin: 0;
    padding: 0;
}
html {
    height: 100%;
    box-sizing: border-box;
}

body {
    position: relative;
    margin: 0;
    padding-bottom: 9rem;
    min-height: 100%;
    font-family: "Helvetica Neue", Arial, sans-serif;
    width:100%;
}
.centrar {
    width: 100%;
    margin: auto;   
}

.header {
    padding: 25px 10px 20px;
    background: #014676;
}

.logo {
    height: 30px;
}

header nav .logo {
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
    text-align: center;
}

.logo:hover {
    transform: scale(1.1);
}


input[type="text"], input[type="password"], input[type="date"], input[type="file"] {
    width: 100%;
    margin: 0 0 0.2em 0;
    border: 1px solid #014676;
    padding: 2px 10px;
    font-size: 13px;
    border-radius: 2px;

}

.send{
    cursor: pointer;
    width: 100%;
    border: none;
    background: #014676;
    color: #FFF;
    /*    margin: 0 0 5px;*/
    padding: 7px;
    border-radius: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}
/* boton buscar*/
.botonBuscar{
    cursor: pointer;
    width: 25%;
    border: none;
    background: #014676;
    color: #FFF;
    padding: 7px;
    border-radius: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 37%;
    margin-right:40%;
}
.btnHome{
    margin-top: 30px;    
}
.btnOtraInfoExpediente{
    display:none;    
}

/*.back{
    padding-top: 30px;
    margin-bottom: 30px;
}*/

.nuevaBusqueda{
    text-align: right;
    margin-right: 30px;
}

.header .usuario{
    text-align: right;
    width: 100%;
    font-size: 11px;
    color: white;
    float: right;
    margin-top: 2px;
}

.page-header{
    margin-top: 10px !important;
    text-align: center;
    margin-left: 25%;
    margin-right: 25%;
}
.glyphicon-log-out{
    color: #fff;
    font-size: 20px; 
    margin-top: 3px;
}
.glyphicon-new-window{
    color: #fff;
    font-size: 20px; 
    margin-top: 3px;
}

.glyphicon-camera, .glyphicon-file {
    font-size: 40px;
    margin-right: 20px;
    cursor: pointer;
}

.marginTop20{
    margin-top: 20px;
}

h1 {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #014676;
    margin-top: 30px;
}

h2 {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #014676;
    margin-bottom: 20px;
}

.divider {
    border: 0;
    height: 2px;
    width: 100%;
    display: block;
    background-color: red;
    background-image: linear-gradient(to right, #014676, #ffffff);
    margin-top: -5px;
    margin-bottom: 15px;
}

.dividerLarge {
    border: 0;
    height: 2px;
    width: 100%;
    display: block;
    background-color: red;
    background-image: linear-gradient(to right, #014676, #ffffff);
    margin-top: -5px;
    margin-bottom: 15px;
    float: right;
}

.select-style {
    border: 1px solid #014676;
    width: 100%;
    overflow: hidden;
    height: 35px;
    background: #014676;
    font-size: 14px;
    color: white;
}

.select-styleCompaniaBuscar {
    border: 1px solid #014676;
    width: 100%;
    overflow: hidden;
    height: 24px;/* CAMBIADO PARA ADAPTARLO AL TAMAÑO*/ 
    background: #014676;
    font-size: 14px;
    color: white;
}

.footer {
    position: absolute!important;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    /*    margin-top: 130px;*/
    background-color: #efefef;
    text-align: center;
    color: #014676;
}

.footer-text { 
    font-size: 13px; 
    margin-top: 4px;
}
/* ###### NAVBAR ######### */

.navbar{
    background: #fff;
}

div.navbar-header{
    width: 99%;
    margin-left: 20px;
}

.navbar-header button{
    margin-top: 20px;

}
.navbar-collapse, .navbar-toggle{
    border-radius: 6px;       
}


.select-li {
    border: 1px solid #014676;
    width: 90%;
    overflow: hidden;
    margin-top: 15px;
    height: 30px;
    background: #014676!important;
    font-size: 1em;
    text-align: center;
    color: #fff!important;
    border-radius: 2px;    
    box-shadow: 3px 3px #888888;
}

.select-li-child {
    border: 2px solid #014676;
    width: 90%;
    margin-bottom: 5px;
    margin-left: 30px;
    overflow: hidden;
    height: 20px!important;
    background: rgba(1, 70, 118,.7) !important;
    font-size: 1em;
    text-align: center;
    color: #fff!important;
    border-radius: 3px; 
    box-shadow: 3px 3px #888888;
    -webkit-transition: width 2s; /* For Safari 3.1 to 6.0 */
    transition: background 0.2s;
}

.nav .select-li-child:hover{
    background: #fff!important;
    color: #000!important;
}
.select-li-child-default{
    border: 2px solid #014676;
    width: 90%;
    margin-bottom: 5px;
    margin-left: 30px;
    overflow: hidden;
    height: 10px!important;
    background: #fff!important;
    font-size: 1em;
    text-align: center;
    color: #000!important;
    border-radius: 3px;
    box-shadow: 3px 3px #888888;
}


/*.modal
{
    overflow: hidden;
}*/
/*.modal-dialog{
    margin: 15px;
    padding: 5px;
}*/

.modal-content{
    padding: 10px !important;
    width: 100%;
    margin: auto;

}

.modal-header {
    padding: 0px !important;
    border-bottom: 0px !important;
}
.modal-footer{
    padding: 0px !important;
    text-align: center !important;
    border-top: 0px solid #e5e5e5 !important;
}

#adjuntos a{
    color: red;
    margin-bottom: 10px;
    float: right;
}


a.btnEnlace, a:link.btnEnlace, a:active.btnEnlace, a:visited.btnEnlace {
    display: block;
    width: 100%;
    height: 100%;

}
table thead tr th{
    background: #014676;
    color: #fff;
}
table tbody tr td a:hover{
    text-decoration: none;
}    

table.expTable th, table.expTable td{
    padding: 1px 4px 1px !important;
}

table.informeGral th, table.informeGral td{
    padding: 1px 2px 1px !important;
}
textarea{
    max-height: 100px;
    resize: none;
    overflow-y: scroll;
}

textarea.cajaMensaje{
    height: 134px !important;    
}

.otraInfoExpe{
    border: 1px solid #c2d6d6;
    min-height: 100px; 
    max-height: 140px;
    resize: none;
    overflow-y: scroll;

}

.correcto {
    border: 2px solid green;
    padding: 2px;
}

.error {
    border: 2px solid red;
}

.label_help {
    margin-top: 10px;
    font-size: 12px;
    color: red;
}

/*########## COLOR ###############*/
.grey{
    color: #d6d6c2;
    font-weight: 700;
}

.gray{
    color: gray;
    /*    font-weight: 700;*/
}

/*########## QUERIES ###############*/

@media (min-width:768px){
    .container{
        width:100%;
    }
}
@media (min-width:992px){
    .container{
        width:100%;
    }
}
@media (min-width:1200px){
    .container{
        width:98%;
    }
}
@media (min-width:1500px){
    .container{
        width:1370px;
    }
}



@media (min-width: 768px) {

    .sidebar-nav .navbar .navbar-collapse {
        padding: 0;
        max-height: none;
    }
    .sidebar-nav .navbar li {
        float: none;
        display: block;
    }
    .sidebar-nav .navbar li a {
        padding-bottom: 20px;
    }

}

@media (max-width: 768px) {

    .sidebar-nav .navbar li a {
        padding-bottom: 20px;

    }
    .navbar-toggle {
        display: block;       
    }
    .navbar-collapse.collapse {
        display: none !important;
    }
    nav.navbar {
        min-height: auto;
    }
    .navbar-nav {
        float: none !important;
        margin: 0;
    }
    .navbar-collapse.collapse.in {
        display: block !important;
    }
    .collapsing {
        overflow: hidden !important;
    }
    .navbar-toggle {
        -moz-border-bottom-colors: none;
        -moz-border-left-colors: none;
        -moz-border-right-colors: none;
        -moz-border-top-colors: none;
        background: #014676!important;
        border-color: #ffff44;
        border-image: none;
        border-radius: 5px;
        border-style: solid none;
        border-width: 1px 0;
    }
    .navbar-toggle span {    
        border: 1px solid #fff;
    }
    .back{
        position: relative;
        top: -225px;
        left: 15px;
        margin-bottom: 0;
        color: #fff;

    }
}
