﻿body {
    background-color: #F3F4F7;
    height: 100%;
    overscroll-behavior: none;
}
a > i {
    cursor: pointer;
}
.pointer{
    cursor:pointer;
}

/* Área de firmas */
div#divAreaFirma {
    text-align: center;
}
div.botonesFirma{
    margin:auto;
    width:110px;
    text-align:center;
}
div.botonesFirma a {
    margin-left:10px;

}
canvas.jSignature {
    background-color:#ffffff !important;
    border:1px #cccccc solid !important;
}


/* Galerías de imágenes */
div.galeria{
    text-align:center;
    padding:0;
    padding-top:5px;
}
    div.galeria div div.seleccion {
        position: absolute;
        white-space: nowrap;
        width: 40px;
        height: 40px;
        cursor: pointer;
        /*background: url(../imagenes/iconos/24dp/check_ffffff.svg) no-repeat;*/
        background-repeat: no-repeat;
        background-image: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path fill="none" d="M0 0h24v24H0V0z"/><path opacity=".4" fill="%23FFF" stroke="%23000" stroke-miterlimit="10" d="M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2z"/></svg>');
        background-position: center center;
        background-size: 28px 28px;
        padding-top: 5px;
        padding-top: 5px;
        -webkit-transition-duration: 0.4s;
        opacity: 0.9;
        z-index: 799;
    }
        div.galeria div div.seleccion.seleccionado {
            /*background: url(../imagenes/iconos/24dp/check_selected_ffffff.svg) no-repeat;*/
            background-image: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path fill="none" d="M0 0h24v24H0V0z"/><path fill="%23FFF" stroke="%23D3CAC7" stroke-miterlimit="10" d="M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2z"/><path fill="%23969696" stroke="%23969696" stroke-miterlimit="10" d="M10 17l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"/></svg>');
            background-position: center center;
            background-size: 28px 28px;
            opacity: 0.9;
        }
div.miniatura {
    width: 130px;
    height: 130px;
    overflow: hidden;
    margin: 10px;
    margin-top: 0;
    display: inline-block;
}
    div.miniatura img {
	    object-fit:cover;
        object-position:50% 50%;
    }
        div.miniatura img.portrait {
            width: 130px;
        }
        div.miniatura img.landscape {
            height: 130px;
        }


/* Cuestionarios */
ul.cuestionario {
    box-shadow: none;
    margin: 0 -3%;
}
    ul.cuestionario div.collapsible-header {
        line-height: 1.5em;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        font-size: 1em;
    }
    ul.cuestionario div.collapsible-header i {
        margin-top: -0.25em;
        margin-bottom: -0.25em;
    }
ul.cuestionario li{
    display:block;
}
    ul.cuestionario li.apartado {
        font-weight: 600;
        background-color: #E9E9E9;
        padding: 10px 15px 10px 15px;

        font-size: 1em;
    }
        ul.cuestionario li.apartado span.total {
            font-weight: 400;
            color: #999;
            vertical-align:top;
        }
    ul.cuestionario > li.apartado:first-child {
        margin-top: -10px;
    }
    ul.cuestionario ul.collection li.pregunta {
        background-color: #FFFFFF;
        padding: 10px 15px 5px 15px;
        font-size: 0.9em;
        border-bottom: 0;
        position: relative;
    }
        ul.cuestionario ul.collection li.pregunta:first-child {
            border-top:0;
        }
        ul.cuestionario ul.collection li.pregunta:last-child {
            border-top: 0;
        }
    ul.cuestionario li.pregunta div.pregunta {
        /*
        display: inline-block;
        width: calc(100% - 45px);
        */
        width: 100%;
    }


    ul.cuestionario li.pregunta div.imagen {
        position: absolute;
        right: 14px;
        bottom: -60px;
    }

        ul.cuestionario li.pregunta div.imagen .btn-floating {
            line-height: 30px;
            width: 30px;
            height: 30px;
        }

        ul.cuestionario li.pregunta div.imagen i {
            color: #aaa;
            line-height: 30px;
        }

    ul.cuestionario li.pregunta div.observaciones {
        position: absolute;
        right: 14px;
        bottom: -30px;
    }

        ul.cuestionario li.pregunta div.observaciones .btn-floating {
            line-height: 30px;
            width: 30px;
            height: 30px;
        }

        ul.cuestionario li.pregunta div.observaciones i {
            color: #aaa;
            line-height: 30px;
        }

    ul.cuestionario li.respuesta {
        background-color: #FFFFFF;
        padding: 5px 15px 0 35px;
        border-bottom:0;
    }
    ul.cuestionario li.respuesta.ultima {
        padding-bottom: 15px;
        border-bottom: 1px #e0e0e0 solid;
    }
        ul.cuestionario li.respuesta.ultima:last-child {
            border-bottom-width: 0px;
        }
        ul.cuestionario li.respuesta label {
            font-size:0.9em;
        }

table.cuestionario td.apartado {
    font-weight:700;
    color:#333;
    background-color:#eee;
}
table.cuestionario ul li {
    margin:5px;
}

/* Efecto de rotación de la X del menú lateral */
#menu-lateral[style*="transform: translateX(0px);"] a#ocultarMenu i {
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -o-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    transition-property: transform;
    transform: rotate(-90deg);
}
#menu-lateral a#ocultarMenu:hover i {
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -o-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    transition-property: transform;
    transform: rotate(90deg);
}



/* Menús popup inferiores con iconos */
.menu-bottom .modal-content {
    margin:20px;
}
.menu-bottom h6 {
     color:rgb(96,125,139);
     color:#000;
     font-size:1.1em
}
.menu-bottom label {
     color:rgb(96,125,139);
     color:#000;
     font-size:0.8em;
     margin-top:3px;
     display:block;
}
.menu-bottom label.disabled {
    color: #ccc;
}
.menu-bottom .btn-floating{
    width:50px;
    height:50px;
    line-height:50px;
}
    .menu-bottom .btn-floating i{
        line-height:50px;
    }


/* Selector de horas */
#divSelectorHora div.modal-content{
    padding-top:25px;
    text-align:center;
}
#divSelectorHora input[type=number]{
    width:70px;
    text-align:center;
    font-size:2.5em;
    padding-left:5px;
    padding-right:5px;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance:textfield;
}

.scrollToTop{
	width:30px; 
	height:30px;
	position:fixed;
	bottom:23px;
    left:23px;
    cursor:pointer;
	display:none;
    border-radius: 50%;
    text-align:center;
    padding-top:3px;
    color:#999;
    background: rgba(220,220,220,0.9);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 2px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
    
}

main{
    margin: 0 auto;
    margin-bottom:90px;
    max-width:800px;
}

/* Ventanas modales con cabecera fija, o con cabecera y pie fijo */
.modal {
    max-width: 600px;
    width: 90%;
    border-radius: 2px;
}

    .modal .modal-content .container {
        width: calc(100% - 10px);
        width: 95%;
    }

.modal.selector {
    padding: 0;
    height: 90%;
    width:90%;
    min-height:50%;
    max-height:90%;
    top:5% !important;
    z-index: 1050 !important;
}

.modal.selector .modal-content {
    position: absolute;
    max-height: 100%;
    width: 100%;
    overflow-y: auto;
}
    .modal.selector.solo-titulo {
            /*height: calc(100% - 45px);*/ /* 100% - 45px del título */
    }
    .modal.selector.solo-titulo  .modal-content {
            top: calc(45px);
            /*height: calc(100% - 45px);*/ /* 100% - 45px del título */
    }
    .modal.selector.buscador-y-botones  .modal-content {
            top: calc(45px + 50px);
            height: calc(100% - 45px - 50px - 50px); /* 100% - 45px del título - 50px del buscador - 50px de los botones */
    }
    .modal.selector.buscador  .modal-content {
            top: calc(45px + 50px);
            height: calc(100% - 50px - 45px); /* 100% - 45px del título - 50px del buscador */
    }
    .modal.selector.botones  .modal-content {
            top: calc(45px);
            height: calc(100% - 45px - 50px); /* 100% - 45px del título - 50px de los botones */
    }

.modal .modal-titulo {
    background-color:#455a64;
    color:#fff;
    height: 45px;
    line-height:36px;
    padding: 5px 10px 0px 22px;
}
    .modal .modal-titulo span {
        font-size:1.1em;
    }
    .modal .modal-titulo i {
        font-size:1.5em;
    }
    .modal .modal-titulo span:first-child {
        width: calc(100% - 40px);
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.modal .modal-titulo .btn-icono{
    color:#fff;
}

.modal.selector .modal-buscador {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 42px;
    padding: 0px 6px;
    height: 50px;
    width: 100%;
}
    .modal.selector .modal-buscador .input-field {
        margin-top:7px;
        margin-bottom:0;
        margin-right:5px;
    }
    .modal.selector .modal-buscador .input-field input {
        border-width: 1px;
        border-color:#ddd;
        box-shadow:none;
    }

    .modal.selector .modal-buscador .input-field .prefix{
        margin-left:8px;
        margin-top:8px;
        font-size:1.8em;
    }

.modal.selector .modal-botones {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 0;
    padding: 8px 6px;
    height: 50px;
    width: 100%;
    text-align:right;
}


.modal.selector .modal-content .check-seleccion {
    margin:0;
}

.modal.selector .modal-content .check-seleccion label {
    vertical-align:middle;
}


.modal.selector .modal-content table tbody tr {
    cursor:pointer;
}
    .modal.selector .modal-content table tbody tr td:not(.check-seleccion) {
        max-width: 1px;
        width: 100%;
        overflow-x: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: table-cell;
    }
        .modal.selector .modal-content table tbody tr td:not(.check-seleccion) i {
            color: #999;
            vertical-align: middle;
            display: inline-block;
        }


    .modal .container.leyenda {
        height: 100%;
        padding-top: 5px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 15px;
        font-size: 13px;
    }

.leyenda .titulo {
    margin-bottom: 5px;
}

.btn-icono {
    border: none;
    border-radius: 2px;
    display: inline-block;
    height: 36px;
    line-height: 36px;
    padding: 0 8px;
    text-transform: uppercase;
    vertical-align: middle;
    -webkit-tap-highlight-color: transparent
}

/* ---------------------------------------- */

.item-coleccion{
    display:inline-block;
    width:calc(100% - 40px);
    /*
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
    */
    vertical-align:middle;
}
.item-coleccion-boton{
    display:inline-block;
    width:30px;
    vertical-align:middle;
    color:#607d8b;
    text-align:center;
    float:right;
    cursor:pointer;
}

label.normal{
    font-size: 1rem;
}

.clearable{
  background: #fff url(../imagenes/clear.svg) no-repeat right -100px center;
  border: 1px solid #999;
  padding: 3px 35px 3px 4px;     /* Use the same right padding (18) in jQ! */
  border-radius: 3px;
  transition: background 0.4s;
  text-overflow:ellipsis;
  padding-right:35px !important;

}
.clearable.x  { background-position: right 5px center; }
/*
.clearable.x  { background-position: right 5px center; border-bottom: 1px solid #4CAF50; box-shadow: 0 1px 0 0 #4CAF50; background-color:rgba(242,242,242,0.9) }
.clearable.x  { background-position: right 5px center; border-bottom: 1px solid #246DAA; box-shadow: 0 1px 0 0 #246DAA; background-color:rgba(242,242,242,0.9) }
*/
.clearable.onX{ cursor: pointer; }
    /* Evita que salga la X de Microsoft Edge en las cajas de texto que ya la tienen */
    .clearable::-ms-clear {
        display: none;
    }

input.filled {
    /*border-bottom: 1px solid #246DAA; box-shadow: 0 1px 0 0 #246DAA; background-color:rgba(242,242,242,0.9);*/
    background-color: #EDF4FA;
    background-color: #FFF;
    /*border-bottom: 1px solid #ddd;*/
}
input.noborder {
    /*border-bottom: 1px solid #246DAA; box-shadow: 0 1px 0 0 #246DAA; background-color:rgba(242,242,242,0.9);*/
    border-width: 0 0 1px 0;
    /*border-bottom: 1px solid #ddd;*/
}
.input-field label.active {
    /*color:red;*/
}
input.locked, textarea.materialize-textarea.locked{
    background-color:#fdfdfd;
    color:#aaa;
    border-style:dotted;
    border-color: #ddd;
    -webkit-tap-highlight-color: transparent;
}


[type="checkbox"]:disabled {
    cursor: default;
}
[type="checkbox"]:disabled+label {
    cursor: default;
}


[type="checkbox"].filled-in.sololectura:checked + label::after {
    border: 2px solid #AFAFB0;
    background-color: #A9A9A9;
    pointer-events: none;
}

[type="checkbox"].filled-in.sololectura + label::after {
    border: 2px solid #AFAFB0;
    background-color: white;
    pointer-events: none;
}

label.checkbox, label.radio {
    font-size: 12px !important;
    color: #333 !important;
    line-height: 20px !important;
}

    label.checkbox.claro, label.radio.claro {
        font-size: 12px !important;
        color: #9e9e9e !important;
        line-height: 20px !important;
    }

div.checkbox.info {
    color: #666;
    opacity: 0.5;
    font-size: 10px;
    font-weight: 400;
    text-overflow: ellipsis;
    line-height: 14px;
    margin-top: -7px;
    margin-left: 35px;
    margin-bottom: 5px;
}




input.clearable:-moz-read-only { /* For Firefox */
    cursor:pointer;
}
input.clearable:read-only, input.datepicker { 
    cursor:pointer;
}
    input.clearable:disabled, input.datepicker:disabled { 
        cursor:default;
    }


/*input.datepicker { background-position: right 5px center; border-bottom: 1px solid #246DAA; box-shadow: 0 1px 0 0 #246DAA; background-color:rgba(242,242,242,0.9) }*/

/* Botón clearDate que se añade a los input type=date con la función msAddClearButton */
div.inputDate {
    display: inline-block;
    vertical-align: middle;
    vertical-align: -moz-middle-with-baseline;
}

    div.inputDate img {
        width: 12px;
        height: 12px;
        cursor: pointer;
        margin-left: 8px;
        margin-top: 2px;
    }




/* Control date de html. Quita los botones que añade Chrome */
input[type="date"]::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
}

input[type="date"]::-webkit-clear-button {
    display: none;
    -webkit-appearance: none;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    color: rgba(0, 0, 0, 0);
    opacity: 1;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg fill="%23666" fill-opacity=".54" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/%3E%3Cpath d="M0 0h24v24H0z" fill="none"/%3E%3C/svg%3E');
    width: 14px;
    height: 18px;
    cursor: pointer;
    border-radius: 50%;
    margin-left: .5rem;
}
/* FIN: Control date de html. Quita los botones que añade Chrome */








#menu-lateral li a{
    cursor:pointer;
}
#mostrarMenu, #ocultarMenu{
    cursor:pointer;
}


#dialogo.modal{
    position: fixed;
    top: 50% !important;
    transform: translateY(-50%) !important;
}
    #dialogo .modal-content{
        padding:10px 24px;
    }
    #dialogo .modal-footer{
        
    }


.sinregistros{
    border:1px #e0e0e0 solid;
    padding: 10px 10px;
    color: #ccc;
    background-color:transparent;
}

.sinespecificar{
    color: #ccc;
}


#cargando {
    overflow: hidden;
    position: fixed;
    z-index: 1000;
    background: rgba(0,0,0,.3);
    top: calc(50% - 32px);
    left: calc(50% - 32px);
    border-radius: 50%;
    display: inline-block;
    width: 64px;
    height: 64px;
}

    #cargando div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 51px;
        height: 51px;
        margin: 6px;
        border: 6px solid #fff;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #fff transparent transparent transparent;
    }

        #cargando div:nth-child(1) {
            animation-delay: -0.45s;
        }

        #cargando div:nth-child(2) {
            animation-delay: -0.3s;
        }

        #cargando div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*
#cargando {
    overflow: hidden;
    position: fixed;
    z-index: 1000;
    background: rgba(0,0,0,.3);
    top: calc(50% - 35px);
    left: calc(50% - 35px);
    height: 70px;
    width: 70px;
    border-radius: 50%;
}
    #cargando div {
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: url('../imagenes/iconos/cargando.svg') 50% 50% no-repeat;
        background-size: 60px 60px;
        -webkit-animation-name: spin;
        -webkit-animation-duration: 4000ms;
        -webkit-animation-iteration-count: infinite;
        -webkit-animation-timing-function: linear;
        -moz-animation-name: spin;
        -moz-animation-duration: 4000ms;
        -moz-animation-iteration-count: infinite;
        -moz-animation-timing-function: linear;
        -ms-animation-name: spin;
        -ms-animation-duration: 4000ms;
        -ms-animation-iteration-count: infinite;
        -ms-animation-timing-function: linear;
        animation-name: spin;
        animation-duration: 4000ms;
        animation-iteration-count: infinite;
        animation-timing-function: linear;
    }

@-ms-keyframes spin {
    from {
        -ms-transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
*/





div[data-selector] table{
    
}
    div[data-selector] table tbody td{
        padding-left:15px;
        padding-right:15px;
        vertical-align:middle;
        
    }
div[data-selector][data-multiple='true'] table{

}
    div[data-selector][data-multiple='true'] table tbody td:first-child{
        width:30px;
        padding-right:0;
    }


table.listado {
    width:100%;
}
    table.listado th {
        border-bottom: 1px solid #d6d6d6;
        font-size:12px;
        color:rgb(96,125,139);
        font-weight:400;
        padding:5px;
    }
    table.listado tr:nth-child(even) {
        background: #e9e9e9;
    }
    table.listado td {
        border-bottom: 1px solid #d6d6d6;
        font-size:14px;
        padding:5px;
        padding-top:15px;
        padding-bottom:15px;
    }
    table.listado input {
        font-size:14px;
        border: 1px solid rgba(0,0,0,.12);
    }

div.detalle-origen {

}
    div .detalle-origen div.row {
        margin:0
    }
        div .detalle-origen div.row div {
            font-size: 0.9em;
            padding: 2px;
            color: #666;
        }
    div.detalle-origen div.row div:first-child {
        font-weight: 400;
        line-height:18px;
        font-size: 0.8em;
        color: #888;
    }



/* Títulos y subtítulos de las páginas */
div.titulo, div.subtitulo, li.titulo, li.subtitulo, td.titulo, td.subtitulo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    color: rgb(96,125,139);
    color: #2D6E9E;
}

    div.titulo.fijo {
        position: -webkit-sticky;
        position: sticky;
        background-color: #F3F4F7; /* Color del fondo de la página*/
        margin-left: -18px;
        padding-left: 18px;
        margin-right: -18px;
        padding-right: 18px;
        top: 56px;
        margin-top: 0;
        z-index: 400;
    }

div.margin-top-solapas div.titulo.fijo {
    top: 97px;
}

@media only screen and (min-width: 601px) {
    div.titulo.fijo {
        top: 63px;
        margin-top: 0;
    }

    div.margin-top-solapas div.titulo.fijo {
        top: 106px;
    }
}


div.titulo a, div.subtitulo a i {
    color: rgb(96,125,139);
}

div.titulo {
    /*margin: 20px 0;*/
    margin: 16px 0;
}

li.titulo {
    margin-top: 20px;
}

td.titulo {
    margin-top: 20px;
}

td.subtitulo {
    margin-top: 10px;
}

div.titulo.no-margin-bot {
    margin-bottom: 0;
}

div.subtitulo {
    margin: 0;
    margin-bottom: 5px;
}

    div.titulo div.texto, div.subtitulo div.texto {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        min-width: 0;
        vertical-align: middle;
    }

        div.titulo div.texto h5, div.titulo div.texto h6, div.subtitulo div.texto h5, div.subtitulo div.texto h6 {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        div.titulo div.texto.capitalize h5, div.titulo div.texto.capitalize h6, div.subtitulo div.texto.capitalize h5, div.subtitulo div.texto.capitalize h6 {
            text-transform: capitalize;
        }

        div.titulo div.texto h5 {
            font-size: 1.4rem;
        }

        div.titulo div.texto h6 {
            font-size: 1.3rem;
        }

            div.titulo div.texto h5 span, div.titulo div.texto h6 span {
                vertical-align: middle;
            }

li.titulo h5, td.titulo h5 {
    font-size: 1.4rem;
}

li.titulo h6, td.titulo h6 {
    font-size: 1.3rem;
}

li.subtitulo h5, td.subtitulo h5 {
    font-size: 1.1rem;
    text-transform: uppercase;
}

li.subtitulo h6, td.subtitulo h6 {
    font-size: 0.9rem;
    text-transform: uppercase;
}

div.subtitulo div.texto h5 {
    font-size: 1.1rem;
    text-transform: uppercase;
    text-transform: none;
    font-size: 1.1rem;
    font-weight: 400;
    color: #2D6E9E;
}

div.subtitulo div.texto h6 {
    font-size: 0.9rem;
    line-height: 14px;
    /*text-transform: uppercase;*/
}

div.titulo div.botones, div.subtitulo div.botones {
    white-space: nowrap;
}

    div.titulo div.botones i, div.subtitulo div.botones i {
        color: rgb(96,125,139);
    }
/* Títulos y subtítulos de las páginas */


/* Fichas de listados */
ul.collapsible.listado{
    margin:0 -6%;
    border:0;
    box-shadow:none;
}
    ul.collapsible.listado .collapsible-header{
        background-color:#f3f3f3;
    }
    .collapsible-header i{
        -webkit-transition-duration: 0.4s;
        transform: rotate(0deg);
    }
    .collapsible-header.active i{
        -webkit-transition-duration: 0.4s;
        transform: rotate(180deg);
    }
    ul.collapsible.listado .collapsible-body {
        /*border-bottom: none;*/
    }
    ul.collapsible.listado ul.collection li.collection-item{
        padding:18px 10px;
    }


ul.collection.listado {
    margin: 0 -3%;
    border:0;
}
    ul.collection.listado li.collection-item {
        padding: 16px 10px 16px 10px;
        margin-bottom: 6px;
        border: 0;
        /*border-top: 1px solid #e0e0e0;*/
        border-radius: 2px;
        /*box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.1);*/
        box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12);
    }
        ul.collection.listado li.collection-item:first-child {
            /*border-top: 1px solid #e0e0e0;*/
        }
        ul.collection.listado li.collection-item:last-child {
            /*padding-bottom:8px;*/
            /*border-bottom: 1px solid #e0e0e0;*/
        }
    ul.collection.listado.agrupado li.collection-item.agrupacion {
        background-color: #E9E9E9;
        padding-top:10px;
    }
    ul.collection.listado.agrupado li.collection-item {
        margin-bottom: 0;
    }

ul.collection.fichaAncha {
    overflow-x: auto;
    margin-left: -5.4%;
    margin-right: -5%;
    border: unset;
    border-top: 1px solid #d1d1d1;
    border-bottom: 1px solid #d1d1d1;
}

    ul.collection.fichaAncha li.collection-item {
        display: table;
        width: 100%;
        margin-top: -1px;
        border: 1px solid #d1d1d1;
        border-left: 0px;
        border-right: 0px;
        background-color: #f2f2f2;
    }

ul.collection.fichaConFondo {
    overflow-x: auto;
    border: unset;
    border-top: 1px solid #d1d1d1;
}

    ul.collection.fichaConFondo li.collection-item {
        display: table;
        width: 100%;
        margin-top: -1px;
        border: 1px solid #d1d1d1;
        border-left: 0px;
        border-right: 0px;
        background-color: #f2f2f2;
    }


*[data-action] {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.tapped {
    /*background-color: rgba(201, 224, 253, 0.3) !important;*/
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23) !important;
}

div.ficha {
    display: table;
    width: 100%;
    border-collapse: collapse;
    padding: 0;
    margin: 0;
}

    div.ficha div.seleccion {
        display: table-cell;
        vertical-align: top;
        padding-right: 10px;
    }

        div.ficha div.seleccion div.archivo {
            line-height: 42px;
            width: 42px;
            height: 42px;
            cursor: pointer;
            -webkit-transition-duration: 0.4s;
            -webkit-tap-highlight-color: transparent;
        }

        div.ficha div.seleccion div.circulo {
            white-space: nowrap;
            line-height: 42px;
            width: 42px;
            height: 42px;
            cursor: pointer;
            text-align: center;
            font-size: 1.3em;
            color: #fff;
            border-radius: 50%;
            will-change: transform;
            -webkit-transition-duration: 0.4s;
            -webkit-tap-highlight-color: transparent;
        }

        div.ficha div.seleccion.sololectura div.circulo {
            cursor: default;
            color: #fff;
            background-color: #ddd !important;
        }

        div.ficha div.seleccion div.circulo i {
            vertical-align: middle;
            display: none;
            color: #fff;
            transform: rotateY(180deg);
        }

            div.ficha div.seleccion div.circulo i.estado {
                display: inline-block;
                transform: none;
            }

        div.ficha div.seleccion div.circulo span {
            vertical-align: middle;
            display: inline;
            font-size: 0.9em;
        }

        div.ficha div.seleccion.seleccionado div.circulo {
            background-color: #757575 !important;
            transform: rotateY(180deg);
        }

            div.ficha div.seleccion.seleccionado div.circulo i {
                display: inline-block;
            }

            div.ficha div.seleccion.seleccionado div.circulo span {
                display: none;
            }

    div.ficha div.contenidos, td div.contenidos {
        display: table-cell;
        vertical-align: top;
        /*padding-top:2px;*/
        max-width: 1px;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    /*div.ficha div.contenidos span.textolargo {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: normal;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            max-height: 3.6rem;
            line-height: 1.2rem;
            -webkit-line-clamp: 3;
            margin-bottom: 3px;
        }*/
    div.ficha div.botones {
        display: table-cell;
        vertical-align: top;
        white-space: nowrap;
        width: 50px;
        text-align: right;
        /*padding-top:10px;*/
    }

        div.ficha div.botones span.badge.new {
            z-index: initial;
            margin-left: 7px;
        }

        div.ficha div.botones i {
            color: #999;
        }



    div.ficha div.descarga {
        background: #4CAF50 url(../imagenes/iconos/24dp/download_ffffff.svg) no-repeat;
        background-position: center center;
        background-size: 16px 16px;
        white-space: nowrap;
        line-height: 42px;
        width: 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
        font-size: 1.3em;
        color: #fff;
        border-radius: 50%;
        will-change: transform;
        -webkit-transition-duration: 0.4s;
        -webkit-tap-highlight-color: transparent;
    }

div.submenu {
    padding: 0 0.3rem !important;
    cursor: pointer;
}

    div.submenu div.card-panel {
        text-align: center;
        background-color: white;
        padding: 10px;
        height: 105px;
        margin: 0.3rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
    }

        div.submenu div.card-panel.disabled {
            opacity: 0.4;
            pointer-events: none;
            cursor: default !important;
        }

    div.submenu span.contador {
        display: inline;
        float: right !important;
        width: 16px;
        height: 16px;
        line-height: 16px;
        border-radius: 50%;
        background-color: #bbb;
        color: #fff;
        font-size: 9px;
        margin: 0;
    }

        div.submenu span.contador:empty {
            display: none !important;
        }

    div.submenu span.texto {
        text-align: left;
        color: rgba(0, 0, 0, 0.87);
        font-size: 12px;
    }

    div.submenu div.circulo {
        margin: auto;
        margin-bottom: 9px;
        margin-top: 12px;
        line-height: 42px;
        width: 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
        border-radius: 50%;
    }

        div.submenu div.circulo i {
            color: #fff;
            transform: rotateY(180deg);
        }


label.etiqueta{
    font-size: 0.8em;
    color: #999;
    margin:0;
    margin-bottom:3px;
    font-weight:400;
    line-height:5px;
    display:block;
    text-overflow:ellipsis;
    padding-bottom:0px;
}
    label.etiqueta.simple {
        font-size: 0.8em;
        margin: 0;
        margin-right:3px;
        font-weight: 400;
        line-height:normal;
        display: inline-block;
        text-overflow: ellipsis;
    }
    label.etiqueta.textolargo {
        font-size: 0.8em;
        margin: 0;
        margin-right: 3px;
        font-weight: 400;
        line-height: normal;
        display: inline-block;
        text-overflow: ellipsis;
        white-space: normal;
    }
    label.etiqueta.textolargo.resaltado {
        font-size: 0.8em;
        margin: 0;
        margin-right: 3px;
        line-height: normal;
        display: inline-block;
        text-overflow: ellipsis;
        white-space: normal;
        color: black;
        font-weight: 800;
    }

div.semaforo{
    vertical-align:middle;
    margin-top:5px;
    display:table;
}

div.semaforo > .row{
    display:table-row;
}

div.semaforo > .row .colIcono {
    width:30px;
    display:table-column;
}

div.semaforo > .row > .colTexto {
    display:table-column;
    width: calc(100%-50px);
    background-color:#000;
}

div.semaforo > .row .cell {
    display:table-cell;
	vertical-align:top;
}

i.semaforo{
    display:inline-block;
    vertical-align:top;
    width:30px;
}

i.semaforo.gris{
    color: #999 !important
}


i.semaforo + span, i.semaforo + div > span {
    vertical-align:top;
    padding-left:4px;
    display:inline-block;
    line-height:24px;
    width:calc(100% -50px);
    background-color:blue;
}

span.dato{
    font-size: 0.9em;
    font-weight:400;
    color: #333;
    text-overflow:ellipsis;
}
    span.dato.desactivado{
        color: #aaa;
    }
span.datosec, div.datosec {
    font-size: 0.8em;
    font-weight: 400;
    color: #666;
    text-overflow: ellipsis;
    line-height: 14px;
    /*vertical-align: text-top;*/
    width: 100%;
}
    span.datosec.gris {
        color: #8999A6;
    }

    span.datosec.desactivado {
        color: #bbb;
    }

span.textolargo {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    max-height: 3.6rem;
    line-height: 1.2rem;
    -webkit-line-clamp: 3;
    margin-bottom: 3px;
}

    span.textolargo.doslineas {
        max-height: 2.4rem;
        -webkit-line-clamp: 2;
    }

    span.textolargo.cuatrolineas {
        max-height: 4.8rem;
        -webkit-line-clamp: 4;
    }

span.origen {
    text-transform: uppercase;
    font-size: 11px;
    color: #8999A6;
    line-height: 13px;
    padding-bottom: 2px;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-top: -1px;
}
    span.origen label {
        text-transform: uppercase;
        font-weight: 700;
        font-size: 10px;
        color: #8999A6;
        padding: 0;
        border-radius: 10%;
        margin-right: 3px;
        float: left;
        min-width: 25px;
    }
/* Fichas de listados */


/* Página de login */
#iconosIdiomas {
    text-align:right;
    line-height:100%;
}
    #iconosIdiomas img {
        cursor:pointer;
        border-style:solid;
        border-width:1px;
        border-color:transparent;
        width: 30px;
        height: 20px;
    }
    #iconosIdiomas img.actual {
        border-color:#fff;
    }

body{
    
}

    body#login, body#recuperar, body#activacion {
        /*background-color:#333 !important;*/
    }
    body#login div#logo, body#recuperar div#logo, body#activacion div#logo {
        max-width: 400px;
        margin-top: 25px;
        margin-bottom: 15px;
        display: inline-block;
    }

#login main label, #recuperar main label, #activacion main label {
    color:#fff;
    text-shadow:none;
}

    #login main input, #recuperar main input, #activacion main input {
        background-color:rgba(0, 0, 0, 0.2);
        color:#ccc;
        padding-left:5px;
        padding-right:5px;
    }
        #login main input:focus, #recuperar main input:focus, #activacion main focus {
            background-color: rgba(0, 0, 0, 0.4);
            color: #fff;
        }

#login main blockquote, #recuperar main blockquote, #activacion main blockquote {
    background-color:rgba(255, 255, 255, 0.1);
    padding-top:10px;
    padding-bottom:10px;
    color:#fff;
}
/* Página de login */


/* Separadores verticales */
div.separador{
    height:20px;
}
    div.separador.gigante{
        height:40px;
    }
    div.separador.grande{
        height:30px;
    }
    div.separador.medio{
        height:12px;
    }
    div.separador.mini{
        height:6px;
    }
    div.separador.micro{
        height:3px;
    }
    div.separador.vacio {
        height: 0;
    }
/* Separadores verticales */

/* Separadores horizontales */
span.separador {
    width: 20px;
    display: inline-block;
}
    span.separador.gigante {
        width: 40px;
    }
    span.separador.grande {
        width: 30px;
    }
    span.separador.medio {
        width: 12px;
    }
    span.separador.mini {
        width: 6px;
    }
    span.separador.micro {
        width: 3px;
    }
/* Separadores horizontales */


/* Fichas de identificación */
#divEstados .collection{
    border:0;
    margin-top:0;
}

    #divEstados div.titulo {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding: 0;
        color:rgb(96,125,139);
        margin: 20px 0 0 0;
    }
        #divEstados div.titulo div.texto {
            -webkit-box-flex: 1;
            -ms-flex: 1;
            flex: 1;
            min-width: 0;
        }
            #divEstados div.titulo div.texto h6 {
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

    #divEstados .collection .collection-item.avatar .title {
        font-size: 14px;
        
    }
    #divEstados .collection .collection-item.mini {
        line-height: 1.3rem !important;
        font-size:0.9em;
    }
    #divEstados .collection .collection-item.mini p {
        font-size:0.9em;
    }
        #divEstados .collection .collection-item.mini.avatar {
            min-height:50px !important;
            padding-left: 52px;
        }
    #divEstados .collection .collection-item.mini p.descripcion {
        color:#999;
    }
    #divEstados .collection .collection-item.mini.avatar i.circle {
        line-height: 32px;
        font-size:32px;
        border-radius:unset;
    }
        #divEstados .collection .collection-item.mini.avatar .circle {
            width: 32px;
            height: 32px;
            left: 10px;
            background-color:#fff;
        }
/* Fichas de identificación */




div#divCalendario{

}

    div#divCalendario table{
        
    }
        div#divCalendario table thead td{
            text-align:center;
            font-weight:700;
            width:14%;
            color:rgb(96,125,139);
        }
        div#divCalendario table tbody td{
            border:1px #ddd solid;
            border-color:#ddd;
            text-align:center;
            padding:0;
            background-color:#f9f9f9;
            cursor:pointer;
        }
            div#divCalendario table tbody td:hover {
                background-color:#eee;
            }
        div#divCalendario table tbody td.inactivo{
            color:#ddd;
            background-color:#fff;
        }
            div#divCalendario table tbody td.inactivo:hover {
                background-color:#fff;
            }
            div#divCalendario table tbody td.hoy {
                /*background-color: #99AEB8;*/
                background-color: #ECECEC;
                /*color: #fff;*/
                /*color: #333;*/
                border-color: #607D8B;
                border-style: double;
            }
            div#divCalendario table tbody td span {
                margin-left:0;
                margin-right:1px;
                padding-left:1px;
                padding-right:1px;
                min-width:10px;
                display:inline-block;
                font-size:7px;
                text-align:center;
                line-height:9px;
                border-radius:50%;
                color:#fff;
            }
            
            div#divCalendario table tbody td span.verde {
                background-color:#4CAF50;
            }
                div#divCalendario table tbody td.inactivo span.verde {
                    background-color:#92CF94;
                }
            div#divCalendario table tbody td span.rojo {
                background-color:#F44336;
            }
                div#divCalendario table tbody td.inactivo span.rojo {
                    background-color:#F99D97;
                }
            div#divCalendario table tbody td span.azul {
                background-color:#3B86C7;
            }
                div#divCalendario table tbody td.inactivo span.azul {
                    background-color:#8AB7DE;
                }
            div#divCalendario table tbody td span.naranja {
                background-color:#E99436;
            }
                div#divCalendario table tbody td.inactivo span.naranja {
                    background-color:#F3C592;
                }
            div#divCalendario table tbody td span.gris {
                background-color: #999;
            }

            div#divCalendario table tbody td.inactivo span.gris {
                background-color: #CCC;
            }


        div#divCalendario table tbody td div{
            height:21px;
        }
        div#divCalendario table tbody td div.dia{
            padding-left:5px;
            text-align:left;
        }
            div#divCalendario table tbody td div.estado {
                text-align: center;
                margin-left: -5px;
                margin-right: -6px;
            }

@media only screen and (min-device-width: 500px)  {
    div#divCalendario table tbody td {
        height:80px;
    }
        div#divCalendario table tbody td div.dia{
            height:40px;
        }
}
@media only screen and (min-device-width: 800px)  {
    div#divCalendario table tbody td {
        height:80px;
    }
        div#divCalendario table tbody td div.dia{
            height:50px;
        }
}


div.seleccionarMes{
    text-align:center;
}
    div.seleccionarMes div.anterior, div.seleccionarMes div.siguiente{
        display:inline-block;
        width:40px;
        height:36px;
        margin:0;
        padding-top:6px;
        text-align:center;
        
    }
    div.seleccionarMes div.mes{
        padding-top:6px;
        width:calc(100% - 100px);
        
    }
    div.seleccionarMes div.mes input{
        text-align:center;
    }


.indice-secciones {
    margin-top: 0;
    margin-bottom: 0;
}
    .indice-secciones li {
        cursor: pointer;
        display: inline-block;
        padding: 2px 0;
        font-weight: 300;
        padding-left: 18px;
        padding-right: 18px;
        height: 1.5rem;
        line-height: 1.5rem;
        color: #757575;
        border-left: 2px solid #2D6E9E;
    }
    .indice-secciones li:hover {
        border-left-color: #666;
    }


textarea.limitado {
    max-height: 19rem;
    margin-bottom: 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre-line;
}
.limitado_lupa {
    font-size: 1rem;
    text-align: right;
    color: #2D6E9E;
    margin-right: 0.4rem;
}
    .limitado_lupa i {
        position: relative;
        top: -5px;
        cursor: pointer;
    }

.avatar {
    display: inline-block;
    width: 100px;
    height: 100px;
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
    .avatar.mini {
        width: 42px !important;
        height: 42px !important;
    }

    .avatar img {
        width: 100px;
        height: 100px;
        border-radius: 130px;
        -webkit-border-radius: 130px;
        -moz-border-radius: 130px;
        -webkit-background-clip: padding-box;
        -moz-background-clip: padding;
        background-clip: padding-box;
        object-fit: cover;
        object-position: 50% 50%;
        border: 3px #ccc solid;
    }
    .avatar.mini img {
        border: 2px #ccc solid;
        width: 42px;
        height: 42px;
    }


.avatar-titulo {
    font-weight: 400;
    color: #2D6E9E;
    font-size: 16px;
}

table.detalles {
    width: 100%;
}

    table.detalles thead {
        border-bottom: 1px dotted #eee;
    }

    table.detalles th {
        color: #2D6E9E;
        font-weight: 400;
        padding: 8px 5px 4px 5px;
        font-size: 0.9rem;
        text-transform: uppercase;
    }

    table.detalles tbody tr:nth-child(odd) {
        background: #f9f9f9;
    }

    table.detalles tbody tr:nth-child(even) {
        background: #f3f3f3;
    }

    table.detalles td {
        border-bottom: 1px solid #eaeaea;
        font-size: 14px;
        padding: 6px 5px 6px 5px;
        vertical-align: top;
    }

        table.detalles td.icono {
            width: 34px;
            padding-top: 0;
            padding-bottom: 0;
        }

.container table.detalles {
    margin-bottom: 25px;
}

.container table.detalles:last-child {
    margin-bottom: auto;
}


.nocapitalize {
    text-transform: none;
}


/* Consentimiento de cookies */
.cc-window {
    opacity: 1;
    transition: opacity 1s ease
}

    .cc-window.cc-invisible {
        opacity: 0
    }

.cc-animate.cc-revoke {
    transition: transform 1s ease
}

    .cc-animate.cc-revoke.cc-top {
        transform: translateY(-2em)
    }

    .cc-animate.cc-revoke.cc-bottom {
        transform: translateY(2em)
    }

    .cc-animate.cc-revoke.cc-active.cc-bottom,
    .cc-animate.cc-revoke.cc-active.cc-top,
    .cc-revoke:hover {
        transform: translateY(0)
    }

.cc-grower {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s
}

.cc-link,
.cc-revoke:hover {
    text-decoration: underline
}

.cc-revoke,
.cc-window {
    position: fixed;
    overflow: hidden;
    box-sizing: border-box;
    font-family: Helvetica, Calibri, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5em;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    z-index: 1000
}

    .cc-window.cc-static {
        position: static
    }

    .cc-window.cc-floating {
        padding: 2em;
        max-width: 24em;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .cc-window.cc-banner {
        padding: 1em 1.8em;
        width: 100%;
        -ms-flex-direction: row;
        flex-direction: row
    }

.cc-revoke {
    padding: .5em
}

.cc-header {
    font-size: 18px;
    font-weight: 700
}

.cc-btn,
.cc-close,
.cc-link,
.cc-revoke {
    cursor: pointer
}

.cc-link {
    opacity: .8;
    display: inline-block;
    padding: .2em
}

    .cc-link:hover {
        opacity: 1
    }

    .cc-link:active,
    .cc-link:visited {
        color: initial
    }

.cc-btn {
    display: block;
    padding: .4em .8em;
    font-size: .9em;
    font-weight: 700;
    border-width: 2px;
    border-style: solid;
    text-align: center;
    white-space: nowrap
}

.cc-banner .cc-btn:last-child {
    min-width: 140px
}

.cc-highlight .cc-btn:first-child {
    background-color: transparent;
    border-color: transparent
}

    .cc-highlight .cc-btn:first-child:focus,
    .cc-highlight .cc-btn:first-child:hover {
        background-color: transparent;
        text-decoration: underline
    }

.cc-close {
    display: block;
    position: absolute;
    top: .5em;
    right: .5em;
    font-size: 1.6em;
    opacity: .9;
    line-height: .75
}

    .cc-close:focus,
    .cc-close:hover {
        opacity: 1
    }

.cc-revoke.cc-top {
    top: 0;
    left: 3em;
    border-bottom-left-radius: .5em;
    border-bottom-right-radius: .5em
}

.cc-revoke.cc-bottom {
    bottom: 0;
    left: 3em;
    border-top-left-radius: .5em;
    border-top-right-radius: .5em
}

.cc-revoke.cc-left {
    left: 3em;
    right: unset
}

.cc-revoke.cc-right {
    right: 3em;
    left: unset
}

.cc-top {
    top: 1em
}

.cc-left {
    left: 1em
}

.cc-right {
    right: 1em
}

.cc-bottom {
    bottom: 1em
}

.cc-floating > .cc-link {
    margin-bottom: 1em
}

.cc-floating .cc-message {
    display: block;
    margin-bottom: 1em
}

.cc-window.cc-floating .cc-compliance {
    -ms-flex: 1;
    flex: 1
}

.cc-window.cc-banner {
    -ms-flex-align: center;
    align-items: center
}

.cc-banner.cc-top {
    left: 0;
    right: 0;
    top: 0
}

.cc-banner.cc-bottom {
    left: 0;
    right: 0;
    bottom: 0
}

.cc-banner .cc-message {
    -ms-flex: 1;
    flex: 1
}

.cc-compliance {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: justify;
    align-content: space-between
}

    .cc-compliance > .cc-btn {
        -ms-flex: 1;
        flex: 1
    }

.cc-btn + .cc-btn {
    margin-left: .5em
}

@media print {
    .cc-revoke,
    .cc-window {
        display: none
    }
}

@media screen and (max-width:900px) {
    .cc-btn {
        white-space: normal
    }
}

@media screen and (max-width:414px) and (orientation:portrait), screen and (max-width:736px) and (orientation:landscape) {
    .cc-window.cc-top {
        top: 0
    }

    .cc-window.cc-bottom {
        bottom: 0
    }

    .cc-window.cc-banner,
    .cc-window.cc-left,
    .cc-window.cc-right {
        left: 0;
        right: 0
    }

    .cc-window.cc-banner {
        -ms-flex-direction: column;
        flex-direction: column
    }

        .cc-window.cc-banner .cc-compliance {
            -ms-flex: 1;
            flex: 1
        }

    .cc-window.cc-floating {
        max-width: none
    }

    .cc-window .cc-message {
        margin-bottom: 1em
    }

    .cc-window.cc-banner {
        -ms-flex-align: unset;
        align-items: unset
    }
}

.cc-floating.cc-theme-classic {
    padding: 1.2em;
    border-radius: 5px
}

.cc-floating.cc-type-info.cc-theme-classic .cc-compliance {
    text-align: center;
    display: inline;
    -ms-flex: none;
    flex: none
}

.cc-theme-classic .cc-btn {
    border-radius: 5px
}

    .cc-theme-classic .cc-btn:last-child {
        min-width: 140px
    }

.cc-floating.cc-type-info.cc-theme-classic .cc-btn {
    display: inline-block
}

.cc-theme-edgeless.cc-window {
    padding: 0
}

.cc-floating.cc-theme-edgeless .cc-message {
    margin: 2em 2em 1.5em
}

.cc-banner.cc-theme-edgeless .cc-btn {
    margin: 0;
    padding: .8em 1.8em;
    height: 100%
}

.cc-banner.cc-theme-edgeless .cc-message {
    margin-left: 1em
}

.cc-floating.cc-theme-edgeless .cc-btn + .cc-btn {
    margin-left: 0
}






/* INICIO: Fichas de datos */
table.fichadatos {
    border: 0;
    padding-left: 22px;
    background-repeat: no-repeat;
    background-size: 20px; /* Tamaño del icono*/
    background-position-y: 0px;
    border-collapse: unset;
}

    table.fichadatos.sinIcono {
        padding-left: 0px;
    }


    table.fichadatos.datosGenerales {
        background-image: url('../imagenes/iconos/fichas/datosGenerales.svg');
    }

    table.fichadatos.datosGeneralesProyecto {
        background-image: url('../imagenes/iconos/fichas/datosGeneralesProyecto.svg');
    }

    table.fichadatos.datosContacto {
        background-image: url('../imagenes/iconos/fichas/datosContacto.svg');
    }

    table.fichadatos.tipoContacto {
        background-image: url('../imagenes/iconos/fichas/tipoContacto.svg');
    }

    table.fichadatos.direccionPostal {
        background-image: url('../imagenes/iconos/fichas/direccionPostal.svg');
    }

    table.fichadatos.direccionFiscal {
        background-image: url('../imagenes/iconos/fichas/direccionFiscal.svg');
    }

    table.fichadatos.centros {
        background-image: url('../imagenes/iconos/fichas/centros.svg');
    }

    table.fichadatos.trabajadores {
        background-image: url('../imagenes/iconos/fichas/trabajadores.svg');
    }

    table.fichadatos.especialidades {
        background-image: url('../imagenes/iconos/fichas/especialidades.svg');
    }

    table.fichadatos.otrosDatos {
        background-image: url('../imagenes/iconos/fichas/otrosDatos.svg');
    }

    table.fichadatos.estado {
        background-image: url('../imagenes/iconos/fichas/estado.svg');
    }

    table.fichadatos.modalidadFormativa {
        background-image: url('../imagenes/iconos/fichas/modalidadFormativa.svg');
    }

    table.fichadatos.accionFormativa {
        background-image: url('../imagenes/iconos/fichas/accionFormativa.svg');
    }

    table.fichadatos.calendario {
        background-image: url('../imagenes/iconos/fichas/calendario.svg');
    }

    table.fichadatos.temario {
        background-image: url('../imagenes/iconos/fichas/temario.svg');
    }

    table.fichadatos.objetivos {
        background-image: url('../imagenes/iconos/fichas/objetivos.svg');
    }

    table.fichadatos.puestosTrabajo {
        background-image: url('../imagenes/iconos/fichas/puestosTrabajo.svg');
    }

    table.fichadatos.formacion {
        background-image: url('../imagenes/iconos/fichas/formacion.svg');
    }

    table.fichadatos.formacionELearning {
        background-image: url('../imagenes/iconos/fichas/formacionELearning.svg');
    }

    table.fichadatos.cursos {
        background-image: url('../imagenes/iconos/fichas/cursos.svg');
    }

    table.fichadatos.cursosRecomendados {
        background-image: url('../imagenes/iconos/fichas/cursosRecomendados.svg');
    }

    table.fichadatos.cursosPendientes {
        background-image: url('../imagenes/iconos/fichas/cursosPendientes.svg');
    }

    table.fichadatos.cursosRealizados {
        background-image: url('../imagenes/iconos/fichas/cursosRealizados.svg');
    }

    table.fichadatos.actividad {
        background-image: url('../imagenes/iconos/fichas/actividad.svg');
    }

    table.fichadatos.bajaLaboral {
        background-image: url('../imagenes/iconos/fichas/bajaLaboral.svg');
    }

    table.fichadatos.responsabilidades {
        background-image: url('../imagenes/iconos/fichas/responsabilidades.svg');
    }

    table.fichadatos.recursosEconomicos {
        background-image: url('../imagenes/iconos/fichas/recursosEconomicos.svg');
    }

    table.fichadatos.recursosMateriales {
        background-image: url('../imagenes/iconos/fichas/recursosMateriales.svg');
    }

    table.fichadatos.partesConfirmacion {
        background-image: url('../imagenes/iconos/fichas/partesConfirmacion.svg');
    }

    table.fichadatos.incapacidadTemporal {
        background-image: url('../imagenes/iconos/fichas/incapacidadTemporal.svg');
    }

    table.fichadatos.reconocimientoMedico {
        background-image: url('../imagenes/iconos/fichas/reconocimientoMedico.svg');
    }

    table.fichadatos.datosTrabajador {
        background-image: url('../imagenes/iconos/fichas/datosTrabajador.svg');
    }

    table.fichadatos.datosSuceso {
        background-image: url('../imagenes/iconos/fichas/datosSuceso.svg');
    }

    table.fichadatos.conclusiones {
        background-image: url('../imagenes/iconos/fichas/conclusiones.svg');
    }

    table.fichadatos.caracteristicas {
        background-image: url('../imagenes/iconos/fichas/caracteristicas.svg');
    }

    table.fichadatos.ubicacion {
        background-image: url('../imagenes/iconos/fichas/ubicacion.svg');
    }

    table.fichadatos.entidad {
        background-image: url('../imagenes/iconos/fichas/entidad.svg');
    }

    table.fichadatos.requisitosIncumplidos {
        background-image: url('../imagenes/iconos/fichas/requisitosIncumplidos.svg');
    }

    table.fichadatos.inventarioRiesgos {
        background-image: url('../imagenes/iconos/fichas/inventarioRiesgos.svg');
    }

    table.fichadatos.motivo {
        background-image: url('../imagenes/iconos/fichas/motivo.svg');
    }

    table.fichadatos.descripcion {
        background-image: url('../imagenes/iconos/fichas/descripcion.svg');
    }

    table.fichadatos.observaciones {
        background-image: url('../imagenes/iconos/fichas/observaciones.svg');
    }

    table.fichadatos.datosDesactivacion {
        background-image: url('../imagenes/iconos/fichas/datosDesactivacion.svg');
    }

    table.fichadatos.evaluacionRiesgos {
        background-image: url('../imagenes/iconos/fichas/evaluacionRiesgos.svg');
    }

    table.fichadatos.devolucionEPIs {
        background-image: url('../imagenes/iconos/fichas/devolucionEPIs.svg');
    }

    table.fichadatos.entregaEPIs {
        background-image: url('../imagenes/iconos/fichas/entregaEPIs.svg');
    }

    table.fichadatos.datosRealizacion {
        background-image: url('../imagenes/iconos/fichas/datosRealizacion.svg');
    }

    table.fichadatos.documentos {
        background-image: url('../imagenes/iconos/fichas/documentos.svg');
    }

    table.fichadatos.documentosAdjuntos {
        background-image: url('../imagenes/iconos/fichas/documentosAdjuntos.svg');
    }

    table.fichadatos.imagenes {
        background-image: url('../imagenes/iconos/fichas/imagenes.svg');
    }

    table.fichadatos.elementosGestionados {
        background-image: url('../imagenes/iconos/fichas/elementosGestionados.svg');
    }

    table.fichadatos.dentro {
        background-image: url('../imagenes/iconos/fichas/dentro.svg');
    }

    table.fichadatos.gradoCumplimiento {
        background-image: url('../imagenes/iconos/fichas/gradoCumplimiento.svg');
    }

    table.fichadatos.datosContratacion {
        background-image: url('../imagenes/iconos/fichas/datosContratacion.svg');
    }

    table.fichadatos.avisoVigilante {
        background-image: url('../imagenes/iconos/fichas/avisoVigilante.svg');
    }

    table.fichadatos.situacionActual {
        background-image: url('../imagenes/iconos/fichas/situacionActual.svg');
    }

    table.fichadatos td {
        font-size: 12px;
        line-height: 13px;
        empty-cells: show;
        padding-top: 0px;
        padding-bottom: 4px;
    }

        table.fichadatos td.tituloseccion {
            text-align: left;
            vertical-align: top;
            color: #78909c;
            font-size: 14px;
            line-height: 14px;
            text-transform: uppercase;
            font-weight: 400;
            height: 18px;
            transform: scaleY(0.95);
            padding-bottom: 10px;
        }

        table.fichadatos td.campo {
            vertical-align: top;
            text-align: left;
            padding-right: 0px;
            color: #888;
            white-space: nowrap;
        }

            table.fichadatos td.campo.obligatorio {
                font-weight: bold;
            }

    table.fichadatos div.campo {
        color: #888;
    }

    table.fichadatos span.campo {
        color: #888;
    }

    table.fichadatos td.valor {
        vertical-align: top;
        text-align: left;
        /*padding-right: 25px;*/
        color: #000000;
    }

    table.fichadatos div.valor {
        color: #000000;
    }

    table.fichadatos span.valor {
        color: #000000;
    }

    table.fichadatos td.valor a {
        color: #000000;
        text-decoration: underline;
    }

        table.fichadatos td.valor a:hover {
            color: #448bc2;
        }

    table.fichadatos td.valor.destacado {
        font-weight: bold;
    }

div.campo {
    vertical-align: top;
    text-align: left;
    padding-right: 0px;
    color: #888;
    white-space: nowrap;
    font-size: 12px;
}

    div.campo.destacado {
        font-weight: bold;
    }

div.valor {
    vertical-align: top;
    text-align: left;
    color: #000000;
    font-size: 12px;
}

    div.valor.destacado {
        font-weight: bold;
    }


div.campoPopUp {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    padding-right: 0px;
    color: #888;
    white-space: nowrap;
    font-size: 12px;
    line-height: 12px;
}

div.valorPopUp {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    color: #000000;
    font-size: 12px;
    line-height: 12px;
}

    div.valorPopUp.destacado {
        font-weight: bold;
    }

.lblTextoLargoPopUp {
    text-align: justify;
    border: 1px solid #c0c0c0;
    padding: 4px;
    min-height: 80px;
    height: 80px;
    max-height: 80px;
    overflow-y: auto;
    font-size: 12px;
    color: #333;
    background-color: #efefef;
}


.popUp {
}

    .popUp div.campo {
        display: inline-block;
        vertical-align: top;
        text-align: left;
        margin-right: 5px;
        color: #888;
        white-space: nowrap;
        font-size: 12px;
        line-height: 12px;
    }


    .popUp div.valor {
        display: inline-block;
        vertical-align: top;
        text-align: left;
        color: #000000;
        font-size: 12px;
        line-height: 12px;
    }

        .popUp div.valor.destacado {
            font-weight: bold;
        }

    .popUp .lblTextoLargo {
        text-align: justify;
        border: 1px solid #c0c0c0;
        padding: 4px;
        min-height: 80px;
        height: 80px;
        max-height: 80px;
        overflow-y: auto;
        font-size: 12px;
        color: #333;
        background-color: #efefef;
    }

    .popUp input {
        height: 25px;
        margin-top: -8px;
        margin-bottom: 0px;
    }

    .popUp textarea {
        background-color: #FFF;
        border: 1px solid #ccc;
        border-radius: 0;
        outline: none;
        box-shadow: none;
        transition: all 0.3s;
        min-height: 120px;
    }


/* FIN: Fichas de datos */


/* Menús desplegables */
.dropdown-menu i {
    color: rgb(96,125,139);
}

ul.dropdown-content {
    overflow-x: hidden;
}

    ul.dropdown-content li {
        min-height: 20px;
    }

        ul.dropdown-content li.checked { /* Importante. Si se usa li.checked para que se muestre el check junto al menú el texto indicarse con <li><a><span>Texto</span></a></li> para dejar sitio al check. Si se pone <li><a>Texto</a></li> no habrá espacio a la izquierda*/
            /*background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='800px' height='800px' viewBox='0 0 78.369 78.369'%3E%3Cpath fill='%23607d8b' d='M78.049,19.015L29.458,67.606c-0.428,0.428-1.121,0.428-1.548,0L0.32,40.015c-0.427-0.426-0.427-1.119,0-1.547l6.704-6.704 c0.428-0.427,1.121-0.427,1.548,0l20.113,20.112l41.113-41.113c0.429-0.427,1.12-0.427,1.548,0l6.703,6.704 C78.477,17.894,78.477,18.586,78.049,19.015z'/%3E%3C/svg%3E");*/
            background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' width='122.877px' height='101.052px' viewBox='0 0 122.877 101.052' xml:space='preserve'%3E%3Cpath fill='%230182e7' d='M4.43,63.63c-2.869-2.755-4.352-6.42-4.427-10.11c-0.074-3.689,1.261-7.412,4.015-10.281 c2.752-2.867,6.417-4.351,10.106-4.425c3.691-0.076,7.412,1.255,10.283,4.012l24.787,23.851L98.543,3.989l1.768,1.349l-1.77-1.355 c0.141-0.183,0.301-0.339,0.479-0.466c2.936-2.543,6.621-3.691,10.223-3.495V0.018l0.176,0.016c3.623,0.24,7.162,1.85,9.775,4.766 c2.658,2.965,3.863,6.731,3.662,10.412h0.004l-0.016,0.176c-0.236,3.558-1.791,7.035-4.609,9.632l-59.224,72.09l0.004,0.004 c-0.111,0.141-0.236,0.262-0.372,0.368c-2.773,2.435-6.275,3.629-9.757,3.569c-3.511-0.061-7.015-1.396-9.741-4.016L4.43,63.63 L4.43,63.63z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-size: 12px;
            background-position-x: 16px;
            background-position-y: 15px;
        }

        ul.dropdown-content li a, ul.dropdown-content li label a {
            font-size: 1rem;
            text-decoration: none !important;
            min-width: 150px;
            font-weight: normal;
            padding: 10px 20px !important;
        }

        ul.dropdown-content li span, ul.dropdown-content li label span {
            font-size: 1rem;
            text-decoration: none !important;
            min-width: 150px;
            font-weight: normal;
            padding: 10px 20px !important;
        }
/* FIN: Menús desplegables */




div.input-inline {
    margin-bottom: 5px;
}

    div.input-inline div:first-child {
        min-height: 36px;
        position: relative;
    }

    div.input-inline div:last-child {
    }

    div.input-inline div:first-child label {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.9rem;
    }

    div.input-inline input {
        margin: 0;
        height: 2.3rem;
    }

        div.input-inline input[type="radio"] + label {
            position: relative;
            top: 5px;
            left: 0;
        }

div.estado {
    display: inline-block;
    background-repeat: no-repeat;
    background-position-y: 2px;
}

    div.estado span {
        text-transform: uppercase;
        font-weight: 700;
        margin-left: 18px;
    }

    div.estado.activo {
        color: green;
        background-image: url(/imagenes/iconos/iconos16/gen_estado1.png);
    }

    div.estado.desactivado {
        color: #C03737;
        background-image: url(/imagenes/iconos/iconos16/gen_estado4.png);
    }

