

.button-wrapper {
    position: absolute;
    top: 20%;
    transform: translateY(-50%);
    right: 3rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.button-wrapper button {
    border: 2px solid var(--blue);
    margin-bottom: 1rem;
    padding: .5rem;
    font-size: 16px;
    font-weight: 500;
    color: var(--blue);
    /* background-color: transparent; */
    background-color: rgba(46, 159, 251, .1);
    width: 200px;
}
.button-wrapper button span { 
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
}

.button-wrapper button:hover,
.button-wrapper button.active {
    /* background-color: var(--blue); */
    background-color: rgba(46, 159, 251, .6);
    color: #fff;
}

/* 
.button-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.button-wrapper::before {
    position: absolute;
    content: '';    
    width: 6rem;
    height: 4rem;
    background-color: var(--light_gray);
    left: -5rem;
    bottom: 0;
    z-index: -1;
    clip-path: polygon(100% 0%, 50% 0%, 0% 100%, 100% 100%)
}
.button-wrapper::after {
    position: absolute;
    content: '';    
    width: 6rem;
    height: 4rem;
    background-color: var(--light_gray);
    right: -5rem;
    z-index: -1;
    bottom: 0;
    clip-path: polygon(0% 0%, 50% 0%, 100% 100%, 0% 100%)
}
  
.button-wrapper button {
    background-color: var(--light_gray);
    color: var(--dark_gray);
    font-weight: 500;
    font-size: 0.6rem;
    padding: 1rem .25rem;
    border: none;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: flex-end;
    height: 4rem;
    width: 8rem;
}
.button-wrapper button:hover { cursor: pointer; }
  
.button-wrapper button span {
    margin: 0;
    text-align: center;
    width: 100%;
}

.button-wrapper button.active {
    background-color: #fff;
    font-size: 0.75rem;
    color: var(--maincolor_map);
    height: 5rem;
    border-bottom: .4em solid var(--maincolor_map);
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.button-wrapper button.fvg.active {
    padding-bottom: .5rem;
}

.button-wrapper button.backbutton {
    background-color: var(--maincolor_map);
    background-image: url(../assets/back.png);
    background-repeat: no-repeat;
    background-position: center 33%;
    background-size: 1.5rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    height: 6rem;
    border-bottom: none;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    padding-bottom: 1.5rem;
}
.button-wrapper button.backbutton::before { display: none; }

.button-wrapper button::before {
    content: '';
    background-color: var(--light_gray);
    background-image: url(../../images/navbar/nav_icon_global.svg);
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center center;
    width: 3.5rem;
    height: 3.5rem;
    position: absolute;
    top: -1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    border-radius: 50%;
}
.button-wrapper button.active::before {
    background-color: #fff;
    width: 4.25rem;
    height: 4.25rem;
    top: -1.5rem;
}

.button-wrapper button.global::before { background-image: url(../../images/navbar/nav_icon_global_gray.svg); }
.button-wrapper button.medit::before { background-image: url(../../images/navbar/nav_icon_mediterranean_gray.svg); }
.button-wrapper button.eu::before { background-image: url(../../images/navbar/nav_icon_europe_gray.svg); }
.button-wrapper button.fvg::before { background-image: url(../../images/navbar/nav_icon_fvg_gray.svg); }

.button-wrapper button.global.active::before { background-image: url(../../images/navbar/nav_icon_global.svg); }
.button-wrapper button.medit.active::before { background-image: url(../../images/navbar/nav_icon_mediterranean.svg); }
.button-wrapper button.eu.active::before { background-image: url(../../images/navbar/nav_icon_europe.svg); }
.button-wrapper button.fvg.active::before { background-image: url(../../images/navbar/nav_icon_fvg.svg); }



.prev-spot {
    position: absolute;
    left: .5rem;
    bottom: -.5rem;
    background: var(--maincolor_map);
    color: #fff;
    font-size: 1rem;
    padding: .5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .25rem;
    border: none;
    background-image: url(../assets/icon_arrow_left_white.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.next-spot {
    position: absolute;
    right: .5rem;
    bottom: -.5rem;
    background: var(--maincolor_map);
    color: #fff;
    font-size: 1rem;
    padding: .5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .25rem;
    border: none;
    background-image: url(../assets/icon_arrow_right_white.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 50%;
}
 */