*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: gold black;
}

*::-webkit-scrollbar {
    width: 7px;
  }
*::-webkit-scrollbar-track {
    background: black;
  }
*::-webkit-scrollbar-thumb {
    background-color:goldenrod;
    border-radius: 0px;
    border: 2px solid black;
  }
  body {
    font-size: 17px !important;
  }

  html {
    font-size: 17px;
  }

  .no-border-radius{
      border:none !important;
      border-radius: 0 !important;
  }

a {
  color: white;
  text-decoration: none; /* no underline */
}

a:link {
    text-decoration: none;
    color: white;
  }
   
a:visited {
    text-decoration: none;
    color: white;
  }
  
  
a:hover {
    text-decoration: none;
    color: white;
  }
  
  
a:active {
    text-decoration: none;
    color: white;
  }
  
  


li {
    list-style: none;
}

.itemphoto_thumb{
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
}
.itemphoto_thumb img{
    width: 100%;
}

img { width: 100%; height: auto;}

body {
    /* background-image: url(images/background.jpg); */
    background-size: cover;
    background-repeat: no-repeat;
    /*background-position: center center; */
    width: 100vw;
    height: 100vh;
}


.background {
    position: absolute;
    display: flex;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: center;
  /*  background-color: rgba(243, 101, 0, 0.2)*/
}


#foreground {
    display: none;
    overflow: hidden;
    /*background-image: url(images/foreground.png);*/
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    margin: auto;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    
}

#foreground .description {
    width: 70vw;
    margin: 1vh auto 1vh auto;
    height: 90vh;
    position: relative;
    padding: 2rem;
    color: white;
    font-size: 1.2rem;
    background-color: #333; 
    border-radius: 0.5rem;

}
    
.description-html {
    padding-top: 1rem;
}
.description-image{
    width: 100%;
    max-height: 50vh;
    display: flex;
    background-color: white;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 255);
}
#foreground .fullpagemodal>.description{
    height: 99vh;
    overflow-y: auto;
}

#foreground .fullpagemodal>.description p,
#foreground .fullpagemodal>.description span,
#foreground .fullpagemodal>.description div, 
#foreground .fullpagemodal>.description iframe,
#foreground .fullpagemodal>.description img {
    padding-top: 1rem;
    text-align: justify;
}
#foreground .fullpagemodal>.description h3, h2{
    text-align: center;
}


.fulltext-images{
    display: float;
    grid-template-columns:1fr 1fr;
}




#foreground .description-image img{


    position: relative;
    height: auto; 
    object-fit: contain;

}

.close-btn{
    position: absolute;
    top:10px;
    right:10px;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    background-color: white;
    display: flex
}
a#close-modal {
    position: absolute;
    font-size: 2.5rem;
    line-height: 2.2rem;
    color: black;
    text-align: center;
    margin: auto;
    top: 0;
    right: 4px;
}


.absolute {
    position: absolute;
}

.flex {
    display: flex;
}


.maps {
    display: absolute;
    width: 100vw;
    height: 100vh;
}

#map1 {
    width: 100vw;
    height: 100vh;
    background-color: cadetblue;
}
#map2 {
    width: 100vw;
    height: 100vh;
    display: none;
    background-color: cadetblue;
}

#map2 .leaflet-tile-pane{
    filter: saturate(0.6);
}

/*Leaflet css*/
div.leaflet-control-container{
    /*position: relative;*/
    width: 100px;
}
div.leaflet-control-container > div > div {
    border: none;
    display: flex;
    box-shadow: none;
}

/* div.leaflet-control-container > div > div > a,
div.leaflet-control-container > div > div > a:hover{
    border-radius: 50% !important;
    margin: 0.3rem;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
} */

div.leaflet-control-container > div.leaflet-top.leaflet-left > div {

}
.leaflet-control-attribution a{
    display: block;
}

.leaflet-marker-icon.seliuaikste{
    transform: rotateZ(-30deg);
}

.leaflet-marker-icon >img {
    /* background-color: white;
    border-radius: 50%; */

  -webkit-filter: drop-shadow(2px 2px 4px #000 );
  filter: drop-shadow(2px 2px 4px #000) drop-shadow(0px 0px 1px #fff);

}


/*.leaflet-top {
    top: 20px;
} 

.leaflet-left {
    left: 20px
}*/



.list_wrapper {
    z-index: 600;
    padding: 0px;
    height: 100vh;
    overflow: hidden;
    display:flex;
    flex-direction:column;
    overflow-y: hidden;

}
.list_wrapper.sidebar-hover {
    height: 100%;
    background-color: rgb(61, 125, 128);
    display: block;
}
/*SEARCH BAR*/
#searchbar_wrapper{
    z-index: 600;
    display: flex;
    position: relative;
    padding: 1rem;


}
#list:hover {
    display: block;
}

#list {
    display: flex;
    flex-direction: column;

    overflow: hidden;
    position:relative;
    flex:1;
    height: 90%;
    width: 100%;
}

#list>ul.list-group{
    overflow-y:auto;
    height: 90%;
    flex: 1;
    display: flex;
}

#list>ul.list-group .list-image-circle {
    border-radius: 50%;
    height: 5rem;
    width: 5rem;
    margin:auto;
    overflow: hidden;
    background-color: white;
}
#searchbar_wrapper li p {
    font-size: 1.2rem;
}

#searchbar{

    margin-bottom: auto;
    margin-top: auto;
    height: 60px;
    background-color: #353b48;
    border-radius: 30px;
    padding: 10px;
    width: 100%;
    }

    .search_input{
    color: white;
    border: 0;
    outline: 0;
    background: none;
    width: 0;
    caret-color:transparent;
    line-height: 40px;
    /*transition: width 0.4s linear;*/
    }

    /*#searchbar:hover > .search_input,*/
    #searchbar.searchbar-hover > .search_input{
    padding: 0 0px;
    width: 60%;
    caret-color:red;
    /*transition: width 0.4s linear;*/
    }

    /*#searchbar:hover > .search_icon,*/
    #searchbar-hover > .search_input{
    background: white;
    color: #e74c3c;
    }

    .search_icon{
    height: 40px;
    width: 40px;
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color:white;
    text-decoration:none;
    }
/* END OF SEARCH BAR*/

#list{
    z-index: 600;
    width: 0px;
    
    overflow: hidden;
    /*transition: width 0.4s linear;*/
    /*opacity: 0;*/
}
#list>div, #list>ul{
    width: 400px;
    padding: 0px;
}

#list li{
    /*background-color: cadetblue;*/
}

#list li>a {
    display: flex;
    background-color: #353b48; /* #012d4e;*/
}

#list li>a:hover{
    background-color: gold;
}

.list-hover {
    width: 400px !important;
    transition: width 0.1s linear;
   /* background-color: #e74c3c;*/
    opacity: 100;

}

#list-buttons{
    display: flex;
    padding: 0.5rem
    }

.btn.miestas {
    width: 50%;
    color:white;
    background-color:rgb(74, 164, 168)
}
.btn.rajonas {
    width: 50%;
    color:white;
    background-color:rgb(68, 150, 155)

}

#list > ul > li{
    display: absolut
}

#rajonas-list {
    display: none;
}

#list > ul > li img {
    width: 100%;
    height: auto; 
    object-fit: contain;

}

.list-group-item {
    background-color: transparent;
}

#list > ul > li > a > div {
    display: flex;
    margin: auto;
} 

#footer{
    position: absolute;
    height: 200px;
   /* background-color: #e74c3c;*/
}


@media only screen and (max-device-width: 420px) {
    .list-hover {
        width: 100% !important;

    }

    #list>div, #list>ul{
        width: 100%;}
    #searchbar.searchbar-hover {
    
    width: 100%;}
    #searchbar.searchbar-hover > .search_input {
    
        width: 200px;}
}


#foreground .description {
    width: 70vw;}

@media (max-device-width: 1200px) {
    #foreground .description {
        width: 100vw;
        margin: 0;
    }
}






  /* Wobble Vertical */
  @-webkit-keyframes hvr-wobble-vertical {
    16.65% {
      -webkit-transform: translateY(8px);
      transform: translateY(8px);
    }
    33.3% {
      -webkit-transform: translateY(-6px);
      transform: translateY(-6px);
    }
    49.95% {
      -webkit-transform: translateY(4px);
      transform: translateY(4px);
    }
    66.6% {
      -webkit-transform: translateY(-2px);
      transform: translateY(-2px);
    }
    83.25% {
      -webkit-transform: translateY(1px);
      transform: translateY(1px);
    }
    100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }
  }
  @keyframes hvr-wobble-vertical {
    16.65% {
      -webkit-transform: translateY(8px);
      transform: translateY(8px);
    }
    33.3% {
      -webkit-transform: translateY(-6px);
      transform: translateY(-6px);
    }
    49.95% {
      -webkit-transform: translateY(4px);
      transform: translateY(4px);
    }
    66.6% {
      -webkit-transform: translateY(-2px);
      transform: translateY(-2px);
    }
    83.25% {
      -webkit-transform: translateY(1px);
      transform: translateY(1px);
    }
    100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }
  }
  .hvr-wobble-vertical {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  }
  .hvr-wobble-vertical:hover, .hvr-wobble-vertical:focus, .hvr-wobble-vertical:active {
    -webkit-animation-name: hvr-wobble-vertical;
    animation-name: hvr-wobble-vertical;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
  }