/*
@author Benito Barrios
Voluta Estudio
*/

a:hover {
    background-color: gold;
  }

#pie{
    display: block;
    background: #0099cc;
    color: darkslategrey;
}

#aviso{
   width: 100%; 
   height: 100%; 
   position: fixed; 
   top: 0px; 
   left: 0px; 
   opacity: 0.6;
   background:#000; 
}

#mensaje{
    display: block;
    top: 15%; 
    left: 50%;
    margin-left: -250px;
    width: 500px;
    max-height: 90%;
    font-size: 20px;
    padding: 12px; 
    position: fixed;
    border-radius: 3px;
    text-align: center;
    background-color: #E5E5F7;
    opacity: 0.9;
    background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #E5E5F7 20px ), repeating-linear-gradient( #c7c7c855, #c7c7c8 );
}

#alerta{
    background: #999999;
    color: white;
}

#menu-2{
    background: #006699;
    color: white;
    
}

#marco{
    padding: 10px auto;
    border-radius: 5px 5px 5px 5px;
    margin: 10px auto;
    border: #999999;
    border-style: solid;
}

#icono-opciones{
    bottom: 10%;
    left: 3%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin: 5px auto;
    padding: 5px; 
    position: fixed;
    border-radius: 25px;
    text-align: center;
    background-color: #E5E5F7;
    background-color: #E5E5F7;
    opacity: 0.9;
    background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #E5E5F7 20px ), repeating-linear-gradient( #c7c7c855, #c7c7c8 );
    box-shadow: 10px 10px 10px 0px rgba(84,80,84,1);
}

.menu-flotante{
    width: auto;
    height: auto;
    font-size: 20px;
    margin: 5px auto;
    padding: 5px; 
    position: fixed;
    border-radius: 8px;
    text-align: center;
    background-color: #E5E5F7;
    background-color: #E5E5F7;
    opacity: 0.9;
    background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #E5E5F7 20px ), repeating-linear-gradient( #c7c7c855, #c7c7c8 );
    box-shadow: 10px 10px 10px 0px rgba(84,80,84,1);
}

#listado-opciones{
    left: 3%;
    bottom: 17%;
    max-width: 250px;
}

input{
    border-radius:3px;
    width: auto;
    font-size: 15px;
}

#icono-alarma{
    bottom: 10%;
    right: 3%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin: 5px auto;
    padding: 5px; 
    position: fixed;
    border-radius: 25px;
    text-align: center;
    background-color: #E5E5F7;
    opacity: 0.9;
    background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #E5E5F7 20px ), repeating-linear-gradient( #c7c7c855, #c7c7c8 );
    box-shadow: 10px 10px 10px 0px rgba(84,80,84,1);
}

#listado-alarmas{
    right: 3%;
    bottom: 17%;
    max-width: 350px;
}

.busqueda-filtro{
    text-align: center;
    background-color: #f0eded;
    opacity: 0.9;
    box-shadow: 0px 0px 10px 0px rgba(84,80,84,1);
    padding: 5px auto;
    margin-bottom:15px;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 15px;
}

.form-busqueda{
    text-align: center;
    background-color: #f0eded;
    opacity: 0.9;
    padding: 5px auto;
    padding-top: 15px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 0px;
}

#contenido{
    padding: 5px auto;
    padding-top: 15px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 50px;
}

#form-usuario{
    margin-bottom: 150px;
}

.help-block{
    font-style: oblique;
    color: #999999;
}

.error{
    color: red;
    background: #ff9999;
}

.rellenado{
    color: #32383e;
    background: #ffffcc;
}

#cuerpo{
    margin-bottom: 150px;
}

.menu-2{
    background: white;
}

#contenidoEmergente{
    display: block;
    top: 5%; 
    left: 20%;
    right: 20%;
    max-width: 80%;
    max-height: 80%;
    font-size: 14px;
    padding: 12px; 
    position: fixed;
    border-radius: 3px;
    text-align: center;
    overflow-y: scroll;
    background-color: whitesmoke;
    opacity: 1;
}

#contenidoEmergenteCerrar{
    cursor: pointer;
}

.linkAlarma:hover{
    cursor: pointer;
}

.chatIzq{
    border-radius: 0px 15px 15px 0px;
    background-color: #ffffcc;
    padding-left: 15px;
    text-align: left;
    color: black;
    margin-right: 30px;
    min-height: 80px;
}

.chatDer{
    border-radius: 15px 0px 0px 15px;
    background-color: #e0dbdb;
    padding-right: 15px;
    text-align: right;
    color: black;
    margin-left: 30px;
    min-height: 80px;
}

#listadoChat .tabulator-row.tabulator-row-even{
    border:none;
    background-color: white;

}

#listadoChat .tabulator-row .tabulator-cell{
    border:none;
    background-color: white;

}

.tree li {
    list-style-type:none;
    margin:0;
    padding:10px 5px 0 5px;
    position:relative
}
.tree li::before, 
.tree li::after {
    content:'';
    left:-20px;
    position:absolute;
    right:auto
}
.tree li::before {
    border-left:2px solid #000;
    bottom:50px;
    height:100%;
    top:0;
    width:1px
}
.tree li::after {
    border-top:2px solid #000;
    height:20px;
    top:25px;
    width:25px
}
.tree li span {
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    display:inline-block;
    padding:3px 3px;
    text-decoration:none;
    cursor:pointer;
}
.tree>ul>li::before,
.tree>ul>li::after {
    border:0
}
.tree li:last-child::before {
    height:27px
}
.tree li span:hover {
    background: rgb(105, 203, 255);
    border:2px solid #94a0b4;
    }

[aria-expanded="false"] > .expanded,
[aria-expanded="true"] > .collapsed {
  display: none;
}

.fa-plus{
    font-size: 8px;

}

.item{
    cursor:pointer;
}

.item:hover{
    background: rgb(105, 203, 255);
    border:2px solid #94a0b4;
}

.form-select{
    border:#32383e;
}

.form-control{
    border:#32383e;
}

.kv-avatar .krajee-default.file-preview-frame,.kv-avatar .krajee-default.file-preview-frame:hover {
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    text-align: center;
}
.kv-avatar {
    display: inline-block;
}
.kv-avatar .file-input {
    display: table-cell;
    width: 213px;
}
.kv-reqd {
    color: red;
    font-family: monospace;
    font-weight: normal;
}

.fileinput-remove{
    width: 100%;
}

.requerido{
    border-color: orangered;
}

/* GALERIA DE IMAGENES */

ul[data-bsp-ul-index] {
    padding:0 0 0 0;
    margin:0 0 40px 0;
}
ul[data-bsp-ul-index] li {
    list-style:none;
    margin-bottom:10px;
} 

#bsPhotoGalleryModal .modal-content {
border-radius:0;
}
#bsPhotoGalleryModal .modal-dialog img {
text-align:center;
margin:0 auto;
width:100%;
}
#bsPhotoGalleryModal .modal-body {
padding:0px !important;
text-align: center;
}
#bsPhotoGalleryModal .bsp-text-container {
text-align:left;
padding-top:10px;
}

#bsPhotoGalleryModal .bsp-close {
position: absolute;
right: -8px;
top: -7px;
background: rgba(255, 255, 255, 0.89);
padding: 0px 8px 5px;
border: 1px solid rgba(0,0,0,.49);
border-radius: 50%;
}
#bsPhotoGalleryModal .bsp-close:hover {
cursor: pointer;
opacity:.6;
}

#bsPhotoGalleryModal .bsp-close img {
width: 13px;
height: 13px;
}

.bspHasModal {
cursor: pointer;
}
.bspText.bspShortText {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.bspText {
color:#666;
font-size:11px;
margin-bottom:10px;
padding:12px;
background:#fff;
}

#bsPhotoGalleryModal a.bsp-controls img {
width: 20px;
height: 35px;  
}
a.bsp-controls,
a.bsp-controls:visited,
a.bsp-controls:active {
position: absolute;
top: 46%;  
background: rgba(255, 255, 255, 0.49);  
}

a.bsp-controls.next {
right:0px;
border-top: 1px solid rgba(0,0,0,.49);
border-left: 1px solid rgba(0,0,0,.49);
border-bottom: 1px solid rgba(0,0,0,.49);
border-bottom-left-radius: 4px;
border-top-left-radius: 4px;
padding-left: 4px;
border-right:none;
}
a.bsp-controls.previous {
left:0px;
border-top: 1px solid rgba(0,0,0,.49);
border-right: 1px solid rgba(0,0,0,.49);
border-bottom: 1px solid rgba(0,0,0,.49);
border-bottom-right-radius: 4px;
border-top-right-radius: 4px;
padding-right: 4px;
border-left:none;
}
a.bsp-controls:hover {
opacity:.6;
text-shadow: none;
}
.bsp-text-container {
clear:both;
display:block;
padding-bottom: 5px;
}
#bsPhotoGalleryModal h6{
margin-bottom: 0;
font-weight: bold;
color: #000;
font-size: 14px;
padding-left: 12px;
padding-right: 12px;
margin-bottom: 5px;
}
#bsPhotoGalleryModal .pText {
font-size: 11px;
margin-bottom: 0px;
padding: 0 12px 5px;
}

.bspImgWrapper {
overflow: hidden;
height: 100px;
background-position-x: center !important;
background-position-y: center !important;
background-size: cover !important;
}

@media (min-width: 992px){
#bsPhotoGalleryModal .modal-lg {
max-width: 1000px;
}
}

@media screen and (max-width: 575px){
.bspImgWrapper {
height: 150px;
}
}