html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 2%;
    padding-right: 2%;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}


/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
    table{
        font-size:small;
    }

    .editFactura{
        font-size:small;
    }
}







/*Estilos para cuadrar un poco los botones del panel de busqueda y botonera*/

.panelBuscar{
    margin-top: 2em;
    margin-bottom: 2em;

}
.cuadroEstados {
    border: 1px solid black;
    float: left;
    padding: 1em;
    margin-right: 1.5em;
}
.buscadorPartial {
    float: left;
    margin-right: 2em;
}
.cajaTexto {
    margin-bottom: 10px;
}
.cajaFecha {
    float: left;
}
.botonesBuscar {
    float: left;
}
.comandos {
    margin-top: 1em;
    float: left;
}
.limpiar {
    clear: left;
}
.botonesTabla {
    margin-bottom: 2em;
}

/* Estilos para los popups */

.body-hori{
    height:100%;
}
.content-hori{
    height:100%;
}
.dialog-hori {
    /*width: 1154px;*/
    width: 80%;
    height: 90%;
}
.miContent{
    height:100%;
}
.modal {
    margin: auto;
}
.modal-header {
    /*min-height: 7px;
    padding: 10px;*/
    min-height: 0%;
    padding: .2em;
}
.modal-header-camara {
    min-height: 0%;
    padding: .2em;
    margin: auto;
    display:none;
}
.modal-footer {
    min-height: 10%;
    max-height: 10%;
}
.modal-footer-camara {
    min-height: 10%;
    max-height: 10%;
}
#miModalMapa {
    width: 90%;
}
#miModalMapaOL{
    width: 90%;
}
#miModalInmuebles {
    width: 90%;
    overflow-y: scroll;
}
#miModalImagen {
    width: 90%;
}

#miModal {
    width: 90%;
}
.bodyAudio{
    text-align:center;
}

#tiempo {
    float:right;
}
#play {
    float:left;
}
/*.bodyEditFactura {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}*/
/* Estilos para los mensajes */
.txtCentrado {
    text-align: center;
}



/*boton de 3 estados*/
.switch-toggle {
    width: 10em;
}
.switch-toggle label:not(.disabled) {
    cursor: pointer;
}

#nombreFoto {
    /*float:right;*/
    margin-left: 1em;
}

/* Estilos para el mapa */

#googleMap {
    width: 100%;
    height: 30em;
}

#mapaOL {
    width: 100%;
    height: 30em;
}


/* Estilos para ocultar los input de archivos*/

.pdfHonorarios {
    display: none;
}
.pdfSiniestros {
    display: none;
}
.subirImagen {
    display: none;
}
.adjuntarArchivos {
    display: none;
}

.archivoLogo{
    display: none;
}

/* Estilo para la previsulizacion de imagenes */

#prevImagen {
    width: 100%;
    height: auto;
    /*height: 90%;*/
    display: flex;
    align-items: center;
    justify-content: center
}

td.colImg {
    background-size: contain !important; /*cover o 100% 100% son tambien opciones*/
    color: transparent;
    /*padding: 0 !important;*/
}
/*img.logotipoTabla {
    height: 3em;
}*/
#divLogo{
    height:5em;
    background-size: contain !important;
    display:none;
}
/* Estilos del gif de carga normal y el de la camara */
#divLoading {
    display: none;
}
    #divLoading.show {
        display: block;
        position: fixed;
        z-index: 100;
        background-image: url('../core/wwwroot/images/spinner.gif');
        background-color: #666;
        opacity: 0.5;
        background-repeat: no-repeat;
        background-position: center;
        left: 0;
        bottom: 0;
        right: 0;
        top: 0;
    }
#loadingCamara {
    display: none;
}
    #loadingCamara.show {
        display: block;
        position: fixed;
        z-index: 100;
        background-image: url('../core/wwwroot/images/spinner.gif');
        background-color: #666;
        opacity: 0.5;
        background-repeat: no-repeat;
        background-position: center;
        left: 0;
        bottom: 0;
        right: 0;
        top: 0;
    }

#gifDropzone {
    display: none;
    width: 1em;
    height: 1em;
    border: none;
    z-index: 101;
}
#dropzoneOk {
    display: none;
    width: 1em;
    height: 1em;
    border: none;
    z-index: 101;
}

/* Estilo de dropzone*/
#divDropzone{
    padding: 0.2em;
    width: 100%;
    /*max-width: 25em;*/
    border: 2px dashed;
    border-color: rgb(142, 133, 133);
    text-align:center;
    display:none;
    margin: auto;
}

#divbtnGuardar{
    display: inline-block;
}

/* Estilos para los desplegables */

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    /*background-color: #3e3535;*/
    /*color: #fff;*/
    color: #ffffff;
    text-align: center;
    background-color: #82a7db;
    cursor: pointer;
    padding: 0.5em;
    width: 100%;
    border: none;
    outline: none;
    transition: 0.4s;
    margin-bottom: 1.5em;
    float: right;
    /*margin-top:1.5em;*/
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
/*.active, .accordion:hover {
    background-color: #728cba;
}*/
/* Style the accordion panel. Note: hidden by default */
.panel {
    /*padding: 0 4px;*/
    padding: 0;
    background-color: white;
    max-height: 0;
    /*overflow: hidden;*/
    transition: max-height 0.2s ease-out;
    /*float:right;*/
}
.accordion:after {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: #777;
    float: right;
    margin-left: 5px;
}
.accordion.active:after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
}



/* Otros */
/*TODO directamente poner el estilo a todas las tablas??*/
#miTabla tbody tr:hover {
    background-color: #eee;
}

#tablaDocumentos tbody tr:hover {
    background-color: #eee;
}

#tablaClientes tbody tr:hover {
    background-color: #eee;
}

#tablaCompanias tbody tr:hover {
    background-color: #eee;
}

#tablaFacturas tbody tr:hover {
    background-color: #eee;
}

#tablaPlantillas tbody tr:hover {
    background-color: #eee;
}


.highlight_row {
    background: #eee;
}

.checkboxPopup{
    display:none;
}
label{
    text-align:left;
}

.titulo {
    color: #ffffff;
    text-align: center;
    background-color: #82a7db;
    /*padding-top: 0.15em;*/
    /*padding-bottom:0.15em;*/
    margin-bottom: 0.5em;
}

label{
    display:inline-block;
    text-align:right;
}

.inputAutoSize {
    resize: none;
    overflow: hidden;
}

.inputAsistencia{
    margin-top: 5em;
}


.divColUno{
    margin-bottom:1.5em;
}
.checkboxPopup {
    display: none;
}

table {
    table-layout: fixed;
}

.redirect{
    min-height:3em;
    max-height: 3em;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow:hidden;
}
.colFactura {
    min-height: 3em;
    max-height: 3em;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.btnsFacturas{
    display: none;
}

.colDocumento {
    min-height: 3em;
    max-height: 3em;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.dataTables_length {
    margin-top: 10px;
}

#rectificarFactura{
    margin-top: 2em;
    margin-right: 1em;
}

.estado{
    font-weight: bold;
}

/* Para cambiar el tama�o de iconos */
.gi-50{
    font-size: 0.5em;
}
.gi-2x {
    font-size: 2em;
}

.gi-3x {
    font-size: 3em;
}

.gi-4x {
    font-size: 4em;
}

.gi-5x {
    font-size: 5em;
}



.abrir-popup-audio{
    margin-left: 0.5em;
}
.abrir-popup-camara{
    margin-left: 0.5em;
}
.propuestaIndemnizacion{
    margin-left: 0.5em;
}

.btnCrear {
    margin-top: 3em;
}

#btnsUndoRedo{
    margin-top: 1.5em;
    margin-bottom:0.5em;
    /*display: inline-block;*/
    /*float: right;*/
}

#btnGuardar{
    float:right;
}

.dt-buttons {
    display: inline;
    margin-bottom: 1em;
    /*right:-0.3%;*/
    text-align:left;
    padding-left:0 !important;
}

.customPanel {
    display: inline;
}

@media (min-width: 1025px){
    .dt-buttons {
        padding-top:1em;
    }
}
@media (min-width: 320px) and (max-width: 480px) {

    #buscadorPanel{
        margin-top:1em;
    }
    #customPanel{
        padding: 0;
    }

    .btnDatatable.adjuntarDocumento{
        margin-top: 1em;
        margin-bottom: 1em;
        margin-left: 0;
    }

    #divFiltrosFactura{
        margin-bottom: 1em;
        padding: 0;
    }

    #divBuscadorFactura{
        padding: 0;
    }

    .noMovil{
        display:none;
    }

    div.body-content {
        width: 100% !important;
    }
}

.control-label {
    padding: 0 !important;
    text-align: left !important;
}

.deshacerCambios{
    margin-left:0.5em;
}

.dropdown-menu.dropdownDocs{
    left:auto;
    right:0;
}

.dropdown-menu {
    max-height: 30em;
    overflow-y: auto;
}

.btnsDoc {
    border: none !important;
}

/* custom switch para el tipo de busqueda*/
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    height:2em;
    width:4em;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    height: 1.5em;
    width: 1em;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}
.input-group-text.euro {
    border-left: none;
}
.input-group-text.transparent {
    background-color: transparent;
}
.numSimbolo {
    border-right: none;
    text-align: right;
}

.btn-lg.close{
    font-size: 200%;
}


@media (min-width: 481px){
    div.body-content {
        margin: auto !important;
    }

}

.celdaCheckbox{
    text-align: center;
}

.detallesFacturaClave{
    font-weight:bold;
}
.detallesFacturaValor {
    text-align: right;
}
/*.detallesFacturaClaveTotal {
    font-weight: bold;
    font-size: 1.25em;
}
.detallesFacturaValorTotal {
    text-align: right;
    font-size: 1.25em;
}*/
.shown{
    background-color: rgb(159, 178, 191) !important;
}
td.cifra{
    text-align: right;
}

li.divider.tablaDoc{
    margin: 0 !important;
}

/*div.bodyBuscarCerrados{
    text-align: center;
}
div.headerBuscarCerrados{
    text-align: center;
}*/

.notificacion {
    animation: blinker 2s linear infinite;
    font-size:smaller;
    /*visibility:hidden;*/

}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

#contadorNoLeidos{
    padding-left: 0.3em;
    padding-right: 0.3em;
    background-color: red;
    border-radius: 25%;
    color: white;
    font-size: xx-small;
    position: absolute;
    right: -18%;
    display: none;
}

#contadorNoAsignados {
    padding-left: 0.3em;
    padding-right: 0.3em;
    background-color: red;
    border-radius: 25%;
    color: white;
    font-size: xx-small;
    position: absolute;
    top: -30%;
    right: -70%;
    display: none;
}

#noLeidos {
    display: none;
    color:white;
    padding-bottom: 0;
    position:relative;
}

.noLeido {
    background-color: #4ed74e78 !important;
}
#noAsignados {
    display: none;
    color: orange;
    padding-bottom: 0;
}

.inverse-dropdown {
    background-color: #222 !important;
    border-color: #080808 !important;
}

.inverse-dropdown a{
    color: #999 !important;
}

.inverse-dropdown a:hover {
    color: #fff !important;
    background-color: inherit !important;
}

#dropdownClientes{
    max-height:340px;
    overflow-y:scroll;
}
.loader {
    border: 6px solid #f3f3f3; /* Light grey */
    border-top: 6px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: auto;
    animation: spin 0.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.ol-attribution {
    display: none;
}

.ol-popup {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 280px;
}

.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}

.ol-popup-closer:after {
    content: "✖";
}

#tablaInmuebles{
    width: 100%;
    font-size:smaller;
}

#tablaInmuebles td{
    text-align: center;
    padding:1em;
    border-bottom: 1px solid grey;
}

#inputEnlaceAdjuntar{
    width:100%;
}

/*.dropbtn {
    background-color: #04AA6D;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
}*/

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
@media(hover){
    .dropdown-content a:hover {
        background-color: #ddd;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown:hover .dropbtn {
        background-color: #3e8e41;
    }
}


#grupoFilename{
    width:100%;
    margin-top:1em;
}

#fileNameEnlace{
    width:100%;
}

/* sign out button invert color */
.fa-sign-out {
    color: white;
}

/* Estilos para la pantalla de login en dispositivos móviles */

@media screen and (max-width: 991px) {
    /* Hide captions */
    .loginContainer {
        font-size: xx-large;
        padding-bottom: 3em;
    }

    .loginInput {
        font-size: xx-large !important;
    }

    .loginVersion {
        font-size: x-large !important;
    }

    .loginLink {
        font-size: x-large !important;
    }

    .loginCheckbox {
        /* Double-sized Checkboxes */
        -ms-transform: scale(2); /* IE */
        -moz-transform: scale(2); /* FF */
        -webkit-transform: scale(2); /* Safari and Chrome */
        -o-transform: scale(2); /* Opera */
        transform: scale(2);
        padding: 10px;
        margin-right: 0.5em;
    }
}
#notasColapsadas {
    max-height: 25em;
    overflow-y: scroll;
}
/* solid divider*/
hr.solid {
    border-top: 3px solid #bbb;
}

#linkPerfilUsuario {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color:white;
}

.tab-pane.active{
    padding:1em;
    background-color:transparent;
}