
body {
    display: flex;
    flex-direction: column;
    margin: 0;
    height: 100vh;
    font-family: 'Nunito', sans-serif;
}


#map {
    width: 100%; 
    height: 100vh; 
}

/* Card content block ////////////////////////////////////////////////// */

.info-content {
    height: 380px;
    width: 275px;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    
}

.info-content-des {
    position: relative;
    height: 54%;
    padding: 0px 7px 0px 10px;
    top: 170px;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Nunito', sans-serif;
}

.info-content-des::-webkit-scrollbar {
    width: 5px; 
}


.info-content-des::-webkit-scrollbar-thumb {
    background-color: #d5d5d5;
    border-radius: 5px; 
}


.info-content-des::-webkit-scrollbar-thumb:hover {
    background-color: #9d9d9d; 
}


.info-content-des::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 5px; 
}


.info-content-des.active {
    left: 0;
    border-radius: 0 15px 15px 0;
    z-index: 300;
}

.info-content-des span {
    padding: 6px 0;
}

.info-content-des-header {
    display: flex;
    flex-direction: row; 
    justify-content: space-between;
    align-items: stretch;  
}


.gm-style-iw-chr:nth-child(1) {
    position: absolute;
    top: 0px; 
    right: 0px; 
    margin: 5px;
    border-radius: 50%; 
    background: #ccc ;
    height: 32px; 
    width: 32px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    z-index: 999;
    transition: transform 0.2s ease, background-color 0.2s ease; 
    cursor: pointer;
    opacity: 0.8; 
}

.gm-style-iw-chr:hover {
    /* transform: scale(0.95);  */
    background: #e6e6e6 ;
    opacity: 0.9; 
}

.gm-style-iw.gm-style-iw-c {
    margin: 0px;
    padding: 0px;
}

/* Card Scroll */

.gm-style-iw-d:nth-child(2) {
    padding: 0px;
    overflow: hidden !important; 
}

/* .gm-style .gm-style-iw-d:nth-child(2) {
    padding: 0px;
     overflow: hidden !important; 
/* } */

.info-content img {
    height: 170px;
    width: 100%;
    margin: 0 auto;
    position: absolute;
    
}

.gm-style-iw-ch {
  padding: 0;  
  margin: 0;  
  height: 0;
}

.info-content h3 {
    padding: 10px 10px 5px 0;
    position: relative;
    width: 193px;
    line-height: 18px;
}

.border {
    border-bottom: 1px rgb(171, 171, 171) solid;
}

.info-content p {
    padding: 10px 0 10px 0; 
}

.info-content-link {
    display: inline-block;
    width: 107px;
    padding: 0px 5px;
    height: 30px;
    margin: 10px auto 0 auto;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    line-height: 30px;
    /* white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; */
    transition: background-color 0.1s;
    box-sizing: border-box; /* 👈 это исправляет ширину */
}



.info-content-link:hover {
    background-color: #0167d4; 
    
}

.info-content-menu a{
    color: #007BFF;

}
.info-content-menu a:hover {
    text-decoration: underline;

}

.info-content.show {
    opacity: 1;
    transform: translateY(0);
}


.gm-ui-hover-effect {
    outline: none !important;
}


#unique-map {
    flex-grow: 1; 
    height: 100vh; 
    transition: all 0.3s ease;
}

/* coordinates block */

.coordinates-box {
    display: inline-block;
    padding: 0px 2px;
    margin: 10px 0 15px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    cursor: pointer;
    user-select: none;
    color: #000;
    line-height: 1.5;
    transition: background-color 0.1s, color 0.1s;
    text-align: center;
    min-width: 200px;
}

.coordinates-box:hover {
    background-color: #e0e0e0;
}

/* my location BTN*/
.map-my-location {
    position: absolute;
    width: 40px; 
    height: 40px;
    z-index: 298;
    right: 10px; 
    bottom: 110px; 
    background-color: #fff;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.8

}


.map-my-location img {
    width: 28px;
    height: 28px;
    padding: 4px 1px 0 0;

}

.map-my-location:active img {
    opacity: 0.5 !important;
    filter: none !important;
    filter: brightness(90%);
}


@media screen and (max-width: 768px) {
    
    .map-my-location {
        transform: translateX(50%);
        right: 30px; 
        bottom: 18vh; 
    }
    
    #map {
        height: calc(var(--vh, 1vh) * 100 - 56px);
        overflow: hidden;
    }
    

    .info-content {
        height: 380px;
        width: 250px;
        opacity: 1;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .info-content-des-b {
        font-weight: 900;
    }
   
    .info-content-des {
        width: 231px;
        padding: 0px 10px 0px 10px;
        /* overflow-x: hidden; horizontal scroll off */
        /* overflow-y: auto; vertical scroll on */
    }

    .info-content-link {
        font-size: 12px;
    }

    .language-button::after{
        top: 1px;
        left: -168px;
        font-size: 10px
    }

    
}



    
    
    
        
    