﻿body {
    padding-top: 0px;
    padding-bottom: 0px;
    background-image: url(../Content/Images/fondo-login.png);
    background-attachment: fixed; 
}

.formBackGround{
    background-color: gainsboro !important;
}

div[disabled] {
    pointer-events: none;
    /*opacity: 0.7;*/
}

.oculta {
    visibility: hidden;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 0px;
    padding-right: 0px;
    width: 100% !important;
}
.block {
    display: block;
}
.inline {
    display: inline;
}

.none {
    display: none;
}

.inline-block {
    display: inline-block;
}
/* Buttons*/
.btn-primary:hover {
    background-color: #fff;
    border-color: #337ab7;
    color: #337ab7;
}

.btn-default, .btn-primary, .btn-warning, .btn-success, .btn-danger {
    max-height: 25px;
    padding: 3px 6px;
}

.btnIcon {
    border-left-width: 0px;
    width: 46px;
    cursor: pointer;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    height: 25px;
    padding: 3px 6px;
}

.btnIconInicio {
    border-right-width: 0px;
    width: 46px;
    cursor: pointer;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    height: 25px;
    padding: 3px 3px;
}
/**********************************************************/
/*************************Layout***************************/
/**********************************************************/

.btnsLayout {
    font-size: 16px;
    background-color: white;
    margin-right: 10px;
}

.liBtn {
    padding-top: 3%;
    padding-bottom: 3%;
}


/* Forms*/
.form-group {
    margin-bottom: 0px;
}

.form-control {
    padding: 0px;
    padding-left: 4px;
    height: 25px;
}


@media (max-width:1024px) and (min-width:768px) {
    .navbar-nav > li {
        font-size: 9px !important;
    }

    .menuExpedientesDoc {
        font-size: 16px !important;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 0.9em;
    }

    .titleView {
        font-size: 1.5em;
    }

    .flexbox-container > div > .tituloLogin {
        font-size: 4.5em;
    }

    .btn {
        font-size: 1.5vh;
    }

    .flex-grid {
        padding-right: 1% !important;
        padding-left: 1% !important;
    }

    .flex-grid-item {
        max-height: 300px !important;
        max-width: 100% !important;
    }

    .flexbox-container {
        height: 100% !important;
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        text-align: center;
        align-self: center;
        padding-top: 10%;
        padding-right: 10%;
        padding-left: 10%;
    }

    .navbar-nav .divider {
        height: 1px;
        margin: 4px 0;
        overflow: hidden;
        background-color: #fff;
    }

    .navbar-nav.loginPartial {
        display: inline-flex;
    }

        .navbar-nav.loginPartial > .liBtn > .btn-group > .dropdown-menu > li > a {
            color: #fff !important;
        }
}

.flexbox-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panelFooter {
    background-color: #337ab7 !important;
    color: #fff !important;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}



/* Set width on the form input elements since they're 100% wide by default */
/*
input,
select,
textarea {
    max-width: 280px;
}
    */
/* Estilos para los mensajes de error */
.field-validation-error { 
    color: #f00; 
}
.field-validation-valid {  
    display: none; 
}
.input-validation-error {
    border: 1px solid #f00;
    background-color: #f00;    
}
.validation-summary-erros{
    font-weight: bold;
    color: #f00;
}
.validation-summary-valid {
    display: none;    
}

.card-container.card {
    max-width: 350px;
    padding: 25px 40px;
}

.card {
    background-color: #F7F7F7;
    /* just in case there no content*/
    padding: 20px 25px 30px;
    margin: 0 auto 25px;
    /* shadows and rounded borders */
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 0px 12px 12px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 12px 12px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 12px 12px rgba(0, 0, 0, 0.3);
}

.container-fluid {
    height: 100%;
    display: table;
    width: 100%;
    padding: 0;
}
/* _Layout*/
.titleView {
    color: #337ab7;
}

.menuPrincipal {
    background-color: #337ab7;
}

.navbar-nav > li {
    font-size: 12px;
}

.navbar-fixed-top, .navbar-fixed-bottom {
    position: initial !important;
}

.navbar-inverse .navbar-nav > li > a {
    color: #fff;
}

    .navbar-inverse .navbar-nav > li > a:hover,
    .navbar-inverse .navbar-nav > li > a:focus {
        color: black;
        background-color: transparent;
    }


.panel .panel-heading {
    font-weight: bold;
}

/**********************************************************/
/*************************Login****************************/
/**********************************************************/

.bodyLogin {
    background-image: url(../Content/Images/fondo-login.png);
    background-attachment: fixed;
}

.tituloLogin {
    font-family: 'Bodoni MT Poster','Times New Roman', Times, serif;
    font-weight: bold;
    font-size: 72px;
    color: #337ab7;
    text-align: center;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.imagenLogin {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 278px;
    max-height: 200px;
}

.jumbotron {
    background: white;
}

.bodyLogin .jumbotron {
    width: 100%;
    background: transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

    .bodyLogin .jumbotron p {
        font-size: 15px;
        margin-bottom: 5px;
    }

.bodyLogin .card-container.card {
    max-width: 550px;
    padding: 25px 40px;
}
.bodyLogin .imagencard {
    max-width: 478px;
    max-height: 200px;
    margin-bottom: 20px;
}

.bodyLogin .card {
    background-color: #F7F7F7;
    /* just in case there no content*/
    padding: 20px 25px 30px;
    margin: 0 auto 25px;
    /* shadows and rounded borders */
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 0px 12px 12px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 12px 12px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 12px 12px rgba(0, 0, 0, 0.3);
}
/* Flex GRID */
.flex-grid {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    align-self: center;
    padding-right: 10%;
    padding-left: 10%;
}

.flex-grid-item {
    max-height: 250px;
    max-width: 100%;
    flex-grow: 10;
    flex-shrink: 0;
    flex-basis: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flexbox-containerLogin {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}




/* Margin */
.addMarginTop {
    margin-top: 10px;
}

.marginTop0 {
    margin-top: 0px !important;
}

.marginBot0 {
    margin-bottom: 0px !important;
}

.addMargin5Top {
    margin-top: 5px !important;
}

.addMargin10Top {
    margin-top: 10px !important;
}

.addMargin20Top {
    margin-top: 20px !important;
}

.addMargin30Top {
    margin-top: 30px !important;
}

.addMargin40Top {
    margin-top: 40px !important;
}

.addMargin10Bot {
    margin-bottom: 10px !important;
}

.addMargin20Bot {
    margin-bottom: 20px !important;
}

.addMargin30Bot {
    margin-bottom: 30px !important;
}


/*  PADDINGS */
.paddingLeft0 {
    padding-left: 0px !important;
}

.paddingRigth0 {
    padding-right: 0px !important;
}

.noPaddingLeft {
    padding-left: 0px !important;
}


/********  NEGRITA ***************/
.negrita {
    font-weight: bold;
}

/* PANEL */
.panel .panel-heading {
    font-weight: bold;
}

/* TABLE */

tr th {
    text-align: left;
}

tr td {
    text-align: left;
}

.table > thead > tr > td.active,
.table > tbody > tr > td.active,
.table > tfoot > tr > td.active,
.table > thead > tr > th.active,
.table > tbody > tr > th.active,
.table > tfoot > tr > th.active,
.table > thead > tr.active > td,
.table > tbody > tr.active > td,
.table > tfoot > tr.active > td,
.table > thead > tr.active > th,
.table > tbody > tr.active > th,
.table > tfoot > tr.active > th {
    background-color: darkgray !important;
    font-weight: bold !important;
}

table tr:hover {
    cursor: pointer;
}

.table > tbody > tr > td {
    cursor: pointer !important;
}

.required:after {
    content: "*";
    font-weight: bold;
    color: #FF6666;
}

.error {    
    font-weight: bold;
    color: #FF6666;
}

.cabecera {
    text-align: center;
    display: inline-block;
    margin-bottom: 15px;
}

.TextoPrincipal p {
    text-align: justify;
    font-size: small;
}

p.TextoInicio1 {
    font-weight: bold;
    font-size: small;
    color: blue;
}

.TextoSubItalic {
    font-style: italic;
    text-decoration: underline;
    font-size: small;
}


.text-areas {
    min-width: 100%;
}

.abc {
    margin-left: 5%;
    color: blue;
}

.alertaText {
    text-align: right;
    margin-left: 10%;
}

.titleResultados {
    margin-top: 10px;
}

.titleView {
    color: #337ab7;
}

select[name="resultados_length"] {
    cursor: pointer;
}

/**********************************************************/
/*************************Ayuda****************************/
/**********************************************************/

.modal-header {
    background-color: #337ab7;
    color: #fff;
    font-weight: bold;
}

    .modal-header .close {
        color: #fff;
        opacity: initial;
    }

        .modal-header .close:focus,
        .modal-header .close:hover {
            color: darkgray;
        }

.bodyHelp {
    margin-left: 5%;
}

.modal #help {
    max-height: 420px;
    overflow-y: auto;
}

.modal-body{
    padding-bottom: 50px;
}

.infoExtensiones {
    background-color: antiquewhite;
}

.fa-calendar {
    cursor: pointer;
}

.pointer {
    cursor: pointer;
}

.datetimepicker {
    cursor: pointer;
    z-index: 4 !important;
}

.btnSubirFichero {
    height: 30px;
}

input[disabled="disabled"] {
    color: black;
}
  
.input-group-addon {
    padding: 0px 12px;
}
a[disabled="disabled"] {
    color: black;
}

textarea[disabled="disabled"] {
    color: black;
}


.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }

.thumb {
    max-height: 200px;
    max-width: 200px;
    border: 1px solid #000;
    margin: 5px 5px 0 0;
}

.activeImage {
    border: 5px ridge #337ab7;
}

.imgUp::before {
    background-image: url(../Content/Images/tick.png);
    top: 0px;
    right: 0px;
    position: absolute;
}
.campoFinalizado {
    background-color: Highlight;
}

.SusceptibleDiv {
    border: 3px solid;
    border-color: #337ab7;
    padding: 5px;
    border-radius: 1em/5em;
    margin: 10px 0px;
}

/***************** DROP DOWN MENU ********************/

.divDropdown > .dropdown-menu {
    background-color: #337ab7;
    color: #fff;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-menu > li > a {
    color: #fff !important;
}

    .dropdown-menu > li > a.engine {
        color: black !important;
    }

    .dropdown-menu > li > a:hover {
        color: black !important;
    }

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    /*-webkit-border-radius:16px 16px 16px 16px;
    -moz-border-radius:16px 16px 16px 16px;
    border-radius:16px 16px 16px 16px;*/
    background-color: #337ab7;
    text-align: left;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

    .dropdown-submenu.pull-left > .dropdown-menu {
        left: -100%;
        margin-left: 10px;
        /*-webkit-border-radius:16px 16px 16px 16px;
    -moz-border-radius:16px 16px 16px 16px;
    border-radius:16px 16px 16px 16px;*/
    }

.divDropdown {
    display: initial !important;
}

.centrar {
    display: flex;
    justify-content: center;
}

/*********  Estilo para las pestañas  *************/

/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

    /* Style the buttons that are used to open the tab content */
    .tab button {
        background-color: inherit;
        float: left;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: 0.3s;
    }

        /* Change background color of buttons on hover */
        .tab button:hover {
            background-color: #ddd;
        }

        /* Create an active/current tablink class */
        .tab button.active {
            background-color: #ccc;
        }

/* Style the tab content */
.tabcontent {
    display: block;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

textarea {
    width: 100%;
}

.textwrapper {
    border: 1px solid #999999;
    margin: 5px 0;
    padding: 3px;
}

.progress-bar {
    background-color: whiteSmoke;
    border-radius: 2px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25) inset;
    width: 250px;
    height: 20px;
    margin: 10px 5% 10px 5%;
    position: relative;
    display: block;
    width: 90%;
    text-align: center;
}
/* PARA HACER MÁS PEQUEÑO EL TEXTO DE LA TABLA*/
table.dataTable td {
    font-size: 0.8em; /* Estaba a 0.8em */
}

table.dataTable tr.dtrg-level-0 td {
    font-size: 0.8em; /* Estaba a 0.8em */
}    

/* CAMPOS PARA DAR COLOR  */

.campoVerde {
    background-color: rgb(196, 215, 155);
}

.campoAzul {
    background-color: rgb(183, 222, 232);
}

.campoMorado {
    background-color: rgb(177, 160, 199);
}

.campoRojo {
    background-color: rgb(218, 150, 148);
}

