
@font-face {
    font-family: "uncat";
    src: url("/fonts/Uncut-Sans-Regular.woff") format('woff');
}
@font-face {
    font-family: "uncat-bold";
    src: url("/fonts/Uncut-Sans-Bold.woff") format('woff');
}
*{
    font-family: "uncat";
}
body {
    line-height: 1.5em;
    font-size: 0.9rem;
}

.content {
    padding: 0px !important;
    margin: 0px !important;
}

.container-fluid {
    padding-right: 0px;
    padding-left: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}
.content-wrapper {
    padding-right: 0px;
    padding-left: 0px;
    margin-left: 0px;
    margin-right: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: unset;
    margin-bottom: unset;
}

/*
    LayerShopTidop - LayerSwitcherTidop
 */

:root {
    --color-dark: #001020;
    --color-green: #03C77F;
    --color-blue: #4d9AE0;
    --color0: #f00;

    --color-border-top-bottom: var(--gray) !important;
    --color-layer-order: var(--gray) !important;
    --color-bar-button: var(--dark) !important;
    --color-background-bar-button-hover: rgba(63,76,54,.2);
    --color-opacity: var(--green) !important;

    --color1: var(--dark) !important;
    --color2: rgba(63,76,54,0);
    --color3: rgba(63,76,54,.5);
    --color4: rgba(63,76,54,.6);
    --color5: rgba(63,76,54,1);
    --color6: rgba(63,76,54,.2);
    --color7: rgba(63,76,54,.3);
}

.ol-control.ol-layerswitcher-tidop.ol-layer-shop-tidop {
    height: calc(100% - 4em);
    max-height: unset;
    max-width: 20em !important;
    min-width: 12em !important;
    background-color: transparent;
    pointer-events: none !important;
    overflow: visible;
}

.ol-layerswitcher-tidop .panel li label {
    display: inline-block;
    height: 1.4em;
    max-width: 15em !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 0 0 1.7em;
    position: relative;
}

/*
    END - LayerShopTidop - LayerSwitcherTidop
 */

/*Para poenr tres secciones para incluir botones*/

.controlLeft{
    position:absolute;
    top:  12em;
    left: 10px;
    width: 32px;
    display:flex;
    flex-direction: column;
    height: 200px;

}

.controlTop{
    position: absolute;
    top:0px;
    display:flex;
    justify-content: space-between;
    width:100vw;
    padding:10px;
}

.ol-zoom, .ol-layerswitcher-tidop {
    top: 8em !important;
}



#buscador .ol-search{
    top: 0px;
    left: 0px;
    position: relative;
}
#buscador{
    align-content: center;
    justify-items: center;
    position:relative;
}

.ol-search input, .ol-search .ol-revers {
    display: inline !important;
}
.ol-search .history, #buscador .ol-search button{
    display: none ;
}
#buscador .ol-search .search{
    width: 10vw;
    padding:20px;
    background-color: rgba(3,199,127,0.5);
}
#buscador .ol-search .search::placeholder {
    color: var(--color-dark);

}
#buscador  .ol-search .ol-revers{
    padding:20px;
    background-color: var(--color-green);
    color: var(--color-dark);
}
#buscador  .ol-search .autocomplete{
    max-width: 13vw;
    background-color: rgba(3,199,127,0.5);
}

#buscador .ol-search.searching:before {
    top: 2.6em;
}
#buscador{
    color: var(--color-dark);
}


/***calendario***/

.miCalendario div{
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}
.miCalendario div label{
    flex: 1 1 30%;
    width: 30%;
}
.miCalendario div select{
    flex: 1 1 70%;
    width: 30%;
}
.miCalendario .botones i{
    padding: 3px;
    border: solid 2px var(--color-green);
    border-radius: 2px;
    cursor: pointer;
}
.miCalendario .mensaje>div{
    margin:0px;
    padding: 5px;
}


/*** iconos del mapa base ***/
.control-map {
    position: fixed;
    bottom: 64px;
    right: 10px;
    display: flex;
    flex-direction: row;
    width: 160px;
    gap: 10px;
    justify-content: end;
}


.mapas{
    position: absolute;
    bottom:10px;
    right:10px;
    display: none;
    padding: 5px;
    background-color: rgba(3,199,127,0.5);
}
.mapas img{
    border: 3px solid white;
    margin:2px;
}
.mapas .active{
    border: 3px solid red;
}
/***fin*/

/**Poner los controles en el fondo**/
.controlBottom{
    position:fixed;
    bottom: 64px;
    min-width: 120px;
    left: 50%;
    transform: translateX(-50%);
    /*left: calc(100vw /2 - 60px);*/
    display:flex;
    flex-direction: row;
    height: 25px;
    gap: 10px;
    padding: 0 20px 20px 20px;
    background: rgba(77, 154, 224, 0.2);
    border-radius: 10px;
}

.controlBottom div{
    width: 38px;
    height: 38px;
    background-color: var(--color-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 20px;
    position: relative;
}
.controlBottom img{
    width: 26px;
    height: 26px;
}


.dialogoProyectos .botones{
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}
.dialogoProyectos input{
    display:none;
}
.dialogoProyectos .proyectosImg{
    display:flex;
    flex-wrap: wrap;
}
.proyectosImg .form-check{
    padding: 0.5rem 0.7rem;
}
.ui-widget-content{
    background: var(--bg-dark-color) !important;
    color: white !important;
}
.ui-widget-content a{
    color: var(--color-blue) !important;
}
.ui-widget-content a:hover{
    color: var(--color-green) !important;
}
.controlBottom div img{
    cursor: pointer;
}
.proyectoSelect{
    border: 2px solid var(--color-blue);
}
.proyectosImg img{
    cursor: pointer;
}
.ui-widget-header {
    border: 1px solid var(--color-blue) !important;
}

/**personalizar barra capas**/

.ol-control.ol-layer-shop-tidop > button > .fa-layer-group {
    /*color: var(--color-blue) !important;*/
}
.ol-control.ol-layer-shop-tidop > button{
    background: var(--color-green);
}
.ol-control.ol-layer-shop-tidop > button{
    box-shadow: 0 0 0 3px rgba(0,100,0,.5) !important;
}
.ol-control.ol-layer-shop-tidop .ol-bar.ol-top-bar{
    box-shadow: 0px -2px 0 2px rgba(0,100,0,.5) !important;
}
.ol-control.ol-layer-shop-tidop .ol-bar.ol-top-bar{
    background-color: var(--color-green) !important;
    /*color: var(--color-blue) !important;*/
}
.opacity-tidop > input[type=range]{
    background-color: var(--color-green) !important;
}

.opacity-tidop > input[type=range]::-webkit-slider-runnable-track {

    background: #fff;  /* Color de la pista */
    border: 2px solid #4CAF50;  /* Borde alrededor de la pista */
    border-radius: 5px;  /* Radio de los bordes */
}
.ol-layer-shop-tidop .ol-bar button {
    background-color: var(--color-green) !important;
    /*color:white !important;*/
}
.ol-control.ol-layerswitcher-tidop.ol-layer-shop-tidop > div{
    background-color: var(--color-green) !important;
    border: none !important;
    color:white !important;
    box-shadow: 0px 2px 0 2px rgba(0, 100, 0, .5) !important
}
.olMapImg{
    box-shadow: 0 0 0 3px rgba(0,100,0,.5) !important;
}
.ol-bar.ol-bottom-bar{
    display:none !important;
}


/***leyendas capas*/
.leyends {
    position: fixed;
    bottom: 60px;
    right: 10px;
    display: flex;
    flex-direction: column;
    width: 110px;
    gap: 5px;
    justify-content: end;
}
.leyends img{
    width:110px;
    height:48px;
}


/***OL POPUP**/
/*
.ol-popup {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    min-width: 150px;
    z-index: 1000;
    transform: translate(-50%, -100%);
}
/*.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-color: rgba(255, 255, 255, 0);
    border-top-color: white;
    border-width: 10px;
    left: 50%;
    margin-left: -10px;
}
.ol-popup:before {
    border-color: rgba(204, 204, 204, 0);
    border-top-color: #cccccc;
    border-width: 11px;
    left: 50%;
    margin-left: -11px;
}
*/
.leyends .max{
    position: absolute;
    right: 2px;
    bottom: -1px;
    font-size: 10px;
}
.leyends .min{
    position: absolute;
    left: 2px;
    bottom: -1px;
    font-size: 10px;
}
.controlBottom .div-potree, .controlBottom .div-sensores{
    display: none;
}

.li-content  i {

    color: var(--color-bar-button);
}

.card-title{
    font-size: 1.3em;
    font-weight: bold;
}
.pilot0 .fa{
    background-image: url("/images/polkowice-icon.webp");
}
.pilot1 .fa{
    background-image: url("/images/pyhasalmi-icon.webp");
}
.pilot2 .fa{
    background-image: url("/images/freiberg-icon.webp");
}
.pilot3 .fa{
    background-image: url("/images/bjorkdal-icon.webp");
}
.pilot4 .fa{
    background-image: url("/images/malaposta-icon.webp");
}
.pilot5 .fa{
    background-image: url("/images/lavrio-icon.webp");
}
.pilots .fa {
    width: 24px;
    height: 24px;
    background-size: contain;
}
.pilots{
    align-items: center;
    display: flex;
    gap: 10px;
}

/***calendario***/
.calendario{
    cursor: pointer;
}

.highlighted {
    background-color: rgba(255,255,0,0.25) !important; /* Puedes cambiar el color según tus necesidades */
    position:relative;
}
.puntosCalendario {
    display: flex;
    transform: translate(0px, -10px);
    justify-content: center;
}


/* Define el estilo para el punto de color verde */
.highlighted .landsatcalendario {
    content: '';
    /*position: absolute;/*
    /*bottom: 5px;*/ /* Ajusta esta distancia según sea necesario */
    /*left: 68%;*/ /* Ajusta esta posición según sea necesario */
    /*transform: translateX(-50%);*/
    width: 6px;  /* Ajusta el tamaño del punto */
    height: 6px; /* Ajusta el tamaño del punto */
    background-color: lime; /* Punto verde para la clase landsat */
    border-radius: 50%;
}

.highlighted .sentinelcalendario {
    content: '';
    /*position: absolute;*/
    /*bottom: 5px;*/ /* Ajusta esta distancia según sea necesario */
    /*left: 28%; *//* Ajusta esta posición según sea necesario */
    /* transform: translateX(-50%);*/
    width: 6px;  /* Ajusta el tamaño del punto */
    height: 6px; /* Ajusta el tamaño del punto */
    background-color: red; /* Punto rojo para la clase aster */
    border-radius: 50%;
}
.highlighted .mineroscalendario {
    content: '';
    /*position: absolute;*/
    /* bottom: 5px;*/ /* Ajusta esta distancia según sea necesario */
    /*left: 8%;*/ /* Ajusta esta posición según sea necesario */
    /*transform: translateX(-50%);*/
    width: 6px;  /* Ajusta el tamaño del punto */
    height: 6px; /* Ajusta el tamaño del punto */
    background-color: purple; /* Punto rojo para la clase aster */
    border-radius: 50%;
}
.satelitesRecibidos  .sentinelcalendario {
    content: '';
    width: 6px;  /* Ajusta el tamaño del punto */
    height: 6px; /* Ajusta el tamaño del punto */
    background-color: red; /* Punto rojo para la clase aster */
    border-radius: 50%;
}
.satelitesRecibidos .landsatcalendario {
    content: '';
    width: 6px;
    height: 6px;
    background-color: lime; /* Punto verde para la clase landsat */
    border-radius: 50%;
}

.satelitesRecibidos .mineroscalendario {
    content: '';
    width: 6px;
    height: 6px;
    background-color: purple; /* Punto azul para la clase drone */
    border-radius: 50%;
}
.satelitesRecibidos{
    padding-left: 10px;
    display:flex;
    gap: 3px;
    align-items: center;
}
.ocupadoCalendario{
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display:none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}
.spinOcupado {
    width: 34px;
    height: 34px;
    font-size: 34px;
}

