html {
  height: 100%;
}

body {
  margin: 0;
  height: 100%;
  background-image: url("../../assets/img/background.png")!important;
  background-size: cover;
  background-position: center 20%;
}

header {
  height: 10%;
  background-color: #0095cb;
  display: flex;
}

#navBack,
#navUser {
  width: 15%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

a {
  cursor: pointer;
}

a:hover {
  color: grey;
}

i {
  width: 50%;
  font-size: 25px;
  justify-content: center;
  align-items: center;
}

#navTitle {
  width: 70%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

#map {
  height: 90%;
  display: none;
}

#info {
  display: flex;
  justify-content: center;
  align-items: center;
}

table {
  margin: 10px;
  width: 100%;
  border-bottom: 5px solid #0095cb;
  border-top: 5px solid #0095cb;
  margin-bottom: 20px;
  text-align: center;
}

tr :hover {
  background-color: #40c4fe;
  cursor: pointer;
}

td {
  border: #0095cb;
  border-bottom-width: 2px !important;
}

h3 {
  padding-top: 5px;
}

audio {
  width: 100%;
}

.pointButtonBi {
    color: black;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.5s;
    border-radius: 30px;
    padding: 10px;
}

.pointButtonBi:hover {
    background-color: #0095cb;
    color: white;
}

#selectedPointDiv {
    position: fixed;    
    top: 10%;
    right: 0;
    background-color: rgba(21, 145, 190, 0.6);
    box-shadow: inset 0 0 5px #0095cb;
    width: 400px;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    border-bottom-left-radius: 30px;
}

#selectedPointDiv div {
    background-color: white;
    margin: 1%;
    color: black;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 0 5px #0095cb; 
}

#selectedPointDiv div p {
    width: 100%;
}

#pointTitleDiv {
    width: calc(96% - 130px);
    padding: 10px;
}

.pointButtonDiv {
    width: 50px;
    height: 50px;
    transition: 0.5s;
    
}

.pointButtonDiv:hover {
    background-color: #0095cb;
    color: white;
    transform: scale(1.1);
}

#audioPlayerDiv {
    width: 98%;
}

#noAudio, #noGallery {
    margin-top: 15px;
    font-size: 20px;
    text-align: center;
}

#pointGalleryDiv {
    width: 98%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
}

#pointGalleryDiv::-webkit-scrollbar {
    width: 30px;
}

#pointGalleryDiv::-webkit-scrollbar-track {
  box-shadow: inset 0 0 15px grey; 
  background-color: white;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
}

#pointGalleryDiv::-webkit-scrollbar-thumb {
  background-color: #0095cb;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
}

#pointGalleryDiv::-moz-scrollbar-thumb {
  background-color: #0095cb; 
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
}

#otherImgs .galleryThumbnail {
    border-radius: 5px!important;
    padding-bottom: 62px!important;
    width: 62px!important;
    overflow-y: hidden;
    overflow-x: auto;
}

#otherImgs::-webkit-scrollbar {
    width: 30px;
}

#otherImgs::-webkit-scrollbar-track {
  box-shadow: inset 0 0 15px grey; 
  background-color: white;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
}

#otherImgs::-webkit-scrollbar-thumb {
  background-color: #0095cb;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
}

#otherImgs::-moz-scrollbar-thumb {
  background-color: #0095cb; 
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
}

#formDiv {
    border: 1px solid #0095cb;
    box-shadow: 0 0 10px rgba(0, 149, 203, 0.5);
    margin: 1%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

form {
    width: 100%;
    margin: 0;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

form input {
    width: 98%;
    max-width: 400px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 1%;
    height: 30px;
}

form div {
    width: 98%;
    max-width: 400px;
    margin-top: 10px;
    margin-bottom: 15px;
    margin-left: 1%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

form button {
    width: 98%;
    max-width: 400px;
    margin-left: 1%;
    margin-bottom: 10px;
    background-color: #0095cb;
    border-radius: 15px;
}

form div input {
    flex-grow: 1;
    margin: 0;
}

form div label {
    margin-left: 10px;
}

form div label button {
    background-color: #0095cb;
    border-radius: 15px;

}

form div label button i {
    font-size: 15px;
}

input[type="file"] {
display: none;
}

input[type="range"] {
    flex-grow: 1;
}

label[for="radio"] {
    margin: 0;
}

form legend {
    text-align: center;
    font-weight: bold;
}

form #rememberDiv {
    width: 98%;
    max-width: 400px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 1%;
    height: 30px;
    justify-content: left;
}

form input[type="checkbox"] {
    flex-grow: 0;
    width: 30px;
    height: 30px;
}

a {
    margin: 20px;
}

#routeSelectorDiv {
    background-color: rgba(21, 145, 190, 0.2);
    box-shadow: inset 0 0 5px #0095cb; 
    width: 70%;
    max-height: 84vh;
    border-radius: 30px;
    margin: 30px;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    scrollbar-width: thin;
}

#routeSelectorDiv::-webkit-scrollbar {
    width: 30px;
}

#routeSelectorDiv::-webkit-scrollbar-track {
    box-shadow: inset 0 0 15px grey; 
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

#routeSelectorDiv::-webkit-scrollbar-thumb {
    background-color: #0095cb;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

#routeSelectorDiv::-moz-scrollbar-thumb {
    background-color: #0095cb; 
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.routeCard {
    background-color: #40c4fe;
    width: 80%;
    border-radius: 30px;
    margin: 30px;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.5s;
    user-select: none;
    text-align: center;
}

.routeCard:hover {
    background-color: #0095cb;
    color: white;
    transform: scale(1.1);    
}

#selectedRouteDiv {
    background-color: rgba(21, 145, 190, 0.2);
    box-shadow: inset 0 0 5px #0095cb; 
    width: 70%;
    max-height: 84vh;
    border-radius: 30px;
    margin: 30px;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    scrollbar-width: thin;
}

#selectedRouteDiv::-webkit-scrollbar {
    width: 30px;
}

#selectedRouteDiv::-webkit-scrollbar-track {
  box-shadow: inset 0 0 15px grey; 
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}

#selectedRouteDiv::-webkit-scrollbar-thumb {
  background-color: #0095cb;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}

#selectedRouteDiv::-moz-scrollbar-thumb {
  background-color: #0095cb; 
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}

#selectedRouteDiv div {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    background-color: white;
    border-radius: 30px;
    box-shadow: 0 0 5px #0095cb; 
}

.galleryThumbnail {
    width: 14%!important;
    padding-bottom: 14%;
    margin: 5px;
    margin-bottom: 15px!important;
    margin-top: 15px;
    border-radius: 10px!important;
    box-shadow: 0 0 5px grey!important; 
    cursor: pointer;
}

.galleryButton {
    display: flex!important;
    justify-content: center;
    align-items: center;
    color: white!important;
    font-weight: bold;
    cursor: pointer !important;
}

.galleryButton i {
    display: flex!important;
    justify-content: center;
    align-items: center;
    width: 99.95px;
    height: 99.95px;
    font-size: 50px;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.5) !important;
    cursor: pointer !important;
}

.galleryButton i:hover {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

#selectedPointDiv .galleryThumbnail {
    width: 99.95px!important;
    height: 99.95px;
    margin: 10px!important;
    padding-bottom: unset;
    cursor: pointer;
    flex-shrink: 0;
}

#selectedRouteDiv button{
    padding: 10px;
    margin: 20px;
    background-color: #40c4fe;
    font-size: large;
    border: 0;
    border-radius: 10px;
    transition: 0.5s;
}

#selectedRouteDiv button:hover {
    background-color: #0095cb;
    color: white;
    transform: scale(1.1);    
}

#seenImage {
    position: fixed;
    left: 2.5%;
    top: 2.5%;
    width: 95%;
    max-height: 90vh;
    background-color: rgba(21, 145, 190, 0.6);
    box-shadow: inset 0 0 10px #0095cb, 0 0 300px rgba(0, 0, 0, 0.562); 
    border-radius: 30px;
    padding: 30px;
    overflow-y: auto;
}

#seenImage::-webkit-scrollbar {
    width: 30px;
}

#seenImage::-webkit-scrollbar-track {
    box-shadow: inset 0 0 15px grey; 
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

#seenImage::-webkit-scrollbar-thumb {
    background-color: #40c4fe;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

#seenImage::-moz-scrollbar-thumb {
    background-color: #40c4fe; 
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

#seenImage img {
    border-radius: 15px;
    width: 70%;
    margin: 1%;
}

#seenImage div {
    box-shadow: inset 0 0 10px rgb(0, 0, 0);
    border-radius: 30px;
    background-color: white;
    margin: 1%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

#seenImage div h4 {
    width: 98%;
    margin: 1%;
}

#seenImage div p {
    width: 99%;
    margin: 0.5%;
}

#seenImage i {
    position: fixed;
    right: 6%;
    top: 4%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    border-radius: 10px;
    background-color: red;
    color: white;
    cursor: pointer;
}

#galleryDiv {
    position: fixed;
    display: flex;
    flex-wrap: wrap;
    left: 2.5%;
    top: 2.5%;
    width: 95%;
    max-height: 90vh;
    background-color: rgba(21, 145, 190, 0.6);
    box-shadow: inset 0 0 10px #0095cb, 0 0 300px rgba(0, 0, 0, 0.762); 
    border-radius: 30px;
    padding: 30px;
    overflow-y: auto;
}

#galleryDiv::-webkit-scrollbar {
    width: 30px;
}

#galleryDiv::-webkit-scrollbar-track {
    box-shadow: inset 0 0 15px grey; 
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

#galleryDiv::-webkit-scrollbar-thumb {
    background-color: #40c4fe;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

#galleryDiv::-moz-scrollbar-thumb {
    background-color: #40c4fe; 
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.galleryItem {
    padding: 10px;
    width: 99.95px!important;
    height: 99.95px;
    background-color: white;
    box-shadow: 0 0 10px #0095cb;
    border-radius: 15px;
    margin: 1%;
    cursor: pointer;
}

#galleryDiv i {
    position: fixed;
    right: 6%;
    top: 4%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    border-radius: 10px;
    background-color: red;
    color: white;
    cursor: pointer;
}

.boton-3d {
    padding: 10px;
    margin: 20px;
    background-color: #40c4fe;
    font-size: large;
    border: 0;
    border-radius: 10px;
    transition: 0.5s;
}

a.boton-3d {
    color: #000;
    text-decoration: auto;
}

@media (max-width: 768px) {
    body {
        background-position: center bottom;
    }

    #routeSelectorDiv {
        width: 90%;
        max-height: 76vh;
    }

    #selectedRouteDiv {
        width: 90%;
        max-height: 76vh;
    }

    .routeCard {
        width: 95%;
        margin: 10px;
    }

    .galleryThumbnail {
        width: 45%!important;
        padding-bottom: 45%;
    }

    .galleryThumbnail:not(.smallGallery) {
        display: none!important;
    }

    .smallGallery {
        margin-top: 10px!important;
        margin-bottom: 10px!important;
    }

    #selectedPointDiv {
        position: fixed;
        top: unset;
        right: unset;
        bottom: 0;
        left: 0.5%;
        width: 99%;
        border-top-right-radius: 30px;
        border-top-left-radius: 30px;
        border-bottom-left-radius: 30px;
    }

    #seenImage {
        padding: 1px;
        top: 25%;
    }

    #seenImage img {
        border-radius: 15px;
        width: 90%;
        margin: 1%;
    }

    #seenImage i {
        width: 40px;
        height: 40px;
        top: 24%;
        border-radius: 20px;
    }

    #seenImage i.image-delete-button {
        right: 17%;
    }
}