* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root{
    --bs-form-control-bg: rgba(255,255,255,0.35);
    --bs-border-color: rgba(255,255,255,0.2);
}

html{
    min-height: 100%;
}

body{
    min-height: 100%;
    min-width: 300px;
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    font-size: 14px;
    background: #23c1aa;
    background: linear-gradient(180deg, #23c1aa 0%, #6cc788 35%, rgba(212,223,97,1) 100%);
    background-repeat: no-repeat;
}

.site-title{
    font-size: 1.8rem;
    font-weight: 300;
}

.site-title-download b{
    background: rgba(255,255,255,0.45);
    border-radius: 4px;
    font-weight: 500;
    padding: 5px 8px 5px 8px;
}

.w-max-200px{
    max-width: 200px;
}

.form-select{
    border: none;
}

.p-link-list{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.p-link-list a,
.content-btn{
    position: relative;
    display: inline-block;
    border: 1px solid var(--bs-body-color);
    border-radius: 5px;
    padding: 3px 10px;
    color: var(--bs-body-color);
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition: background-color .25s ease-in-out, border-color .25s ease-in-out, color .25s ease-in-out;
}

.p-link-list a:hover ,
.content-btn:hover {
    background-color: var(--bs-body-color);
    color: white;
}

/* site languages */
.site-languages{

}

/* site header */
.site-header{
    padding-left: 92px;
}

/* content */
.content {
    /* background-color: rgba(255,255,255,0.25); */
    border-radius: 10px;
    padding: 40px 40px 10px 40px;
    background: rgba(255,255,255,0.3);
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
}

/* heatmap */
.heatmap{
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: rgba(255,255,255,0.0925);
    padding: 30px;
    border-radius: 10px;
}

.heatmap-download-button{
    position: absolute;
    right: 10px;
    top: 0;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4.75px 10px;
    border: none;
    font-size: 13px;
    background: rgba(255,255,255,0.3);
    background: linear-gradient(60deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.6) 75%);
    color: inherit;
    transition: background-color .25s ease-in-out;
    will-change: transition;
}

.heatmap-download-button.disabled {
    opacity: 0.65;
    cursor: no-drop;
}

.heatmap-download-button:not(.disabled):hover{
    background-color: white;
}

.heatmap-days-of-week{
    display: flex;
    gap: 2px;
    flex-direction: column;
}

.heatmap-days-of-week-day{
    display: flex;
    width: 100%;
    gap: 20px;
}

.heatmap-days-of-week-day-name{
    width: 73px; /* 90px */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-weight: bold;
}

.heatmap-days-of-week-day-hours{
    flex: 1;
    display: flex;
    gap: 2px;
}

.heatmap-days-of-week-day-hours-hour{
    position: relative;
    flex: 1 1 0%;
    padding-top: 6.1%;
}

.heatmap-days-of-week-day-hours-hour-block {
    position: absolute;
    left: 0px;
    top: 0px;
    cursor: pointer;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    border: 1px solid transparent;
    transform-origin: center center;
    transition: background 0.1s ease-in-out 0s, transform 0.1s ease-in-out 0s, border-radius 0.1s ease-in-out 0s, border-color 0.1s ease-in-out 0s;
    will-change: transition;
}

.heatmap-days-of-week-day-hours-hour-block:hover {
    transform: scale(1.2);
    background: #1e4c3e;
    border-color: rgba(0,0,0,0.4);
    border-radius: 2px;
    z-index: 10;
}

.heatmap-days-of-week-day-hours-hour-block span{
    position: absolute;
    inset: 0px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    color: white;
    font-size: 12.5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease-in-out 0s, visibility 0.15s ease-in-out 0s;
}

.heatmap-days-of-week-day-hours-hour-block:hover span {
    opacity: 1;
    visibility: visible;
}

.heatmap-days-of-week-day-hours-hour-block-tooltip{
    display: flex;
    gap: 5px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 25px;
    line-height: 1;
}

.heatmap-days-of-week-day-hours-hour-block-tooltip span{
    font-size: 12px;
}

.heatmap-days-of-week-day-hours-hour-icon{
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4bb594;
    font-size: 15px;
    pointer-events: none;
}

.heatmap-days-of-week-day-hours-hour-icon.active{
    color: #c7ba05; /* FFFFFF */
}

.heatmap-hour-line{
    display: flex;
    padding-left: 92px;
    margin-top: 15px;
}

.heatmap-hour-line-item{
    display: flex;
    flex-direction: column;
    line-height: 1.16;
    flex: 1 1 0%;
    font-size: 14px;
    font-weight: bold;
    cursor: auto;
    text-align: center;
    user-select: none;
}

.heatmap-hour-line-item small{
    font-size: 10px;
}

.heatmap-legand{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 92px;
}

.heatmap-legand-colors{
    display: flex;
    width: 100%;
}

.heatmap-legand-colors > div{
    flex: 1;
    height: 10px;
}

.heatmap-legand-texts{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.heatmap-best-time-btn{
    position: relative;
    font-size: 16px;
    width: 100%;
    background-color: rgba(255,255,255,0.175);
    border: none;
    padding: 23px 20px 20px 20px;
    border-radius: 5px;
    /* margin-left: 92px; */
    text-align: center;
    cursor: pointer;
    transition: background-color .25s ease-in-out;
    will-change: transition;
}

.heatmap-best-time-btn.h2c{
    padding: 16px 20px 13px 20px;
    font-size: 15px;
}

.heatmap-best-time-btn:hover{
    background-color: rgba(255,255,255,0.4);
}

.percent-bg-10 {
    background-color: rgba(0, 0, 0, 0.08);
}

.percent-bg-20 {
    background-color: rgba(0, 0, 0, 0.15);
}

.percent-bg-30 {
    background-color: rgba(0, 0, 0, 0.2);
}

.percent-bg-40 {
    background-color: rgba(0, 0, 0, 0.25);
}

.percent-bg-50 {
    background-color: rgba(0, 0, 0, 0.25);
}

.percent-bg-60 {
    background-color: rgba(0, 0, 0, 0.3);
}

.percent-bg-70 {
    background-color: rgba(0, 0, 0, 0.35);
}

.percent-bg-80 {
    background-color: rgba(0, 0, 0, 0.4);
}

.percent-bg-90 {
    background-color: rgba(0, 0, 0, 0.4);
}

.percent-bg-100 {
    background-color: rgba(0, 0, 0, 0.525);
}

.radaar-developed-by path{
    fill: #000000;
}


#mapCityMap {
    min-height: 300px;
    max-height: 500px;
}

#cityImage{
    max-height: 500px;
    max-width: 100%;
}

@media (max-width: 1199px){
    .site-title{
        font-size: 1.5rem;
    }

    .heatmap-days-of-week-day-hours-hour-icon{
        font-size: 1.25vw;
    }
}

@media (max-width: 991px){
    #mapCityMap {
        min-height: auto;
        height: 50vw !important;
    }

    #cityImage{
        max-height: 50vw;
    }
}

@media (max-width: 767px){
    .site-header,
    .heatmap-hour-line,
    .heatmap-legand{
        padding-left: 0;
    }

    .heatmap-days-of-week{
       gap: 15px;
    }

    .heatmap-days-of-week-day{
        flex-direction: column;
    }

    .heatmap-days-of-week-day-name{
        width: auto;
        font-size: 16px;
        justify-content: center;
        text-align: center;
    }

    .heatmap-days-of-week-day-hours{
        flex-wrap: wrap;
    }

    .heatmap-days-of-week-day-hours-hour{
        flex: 1 1 calc(50% - 4px);
    }
    
    .site-title{
        font-size: 1.5rem;
    }

    .heatmap-days-of-week-day-hours-hour-block span{
        opacity: 1;
        visibility: visible;
    }

    .heatmap-days-of-week-day-hours-hour-icon{
        font-size: 1.8vw;
    }

    .heatmap-download-button{
        position: relative;
        top: unset;
        right: unset;
    }
}

@media (max-width: 560px){
    .heatmap-days-of-week-day-hours-hour{
        padding-top: 9vw;
    }

    .site-header{
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .heatmap-days-of-week-day-hours-hour-icon{
        font-size:3vw;
    }
}

@media (max-width: 505px){
    .p-link-list{
        gap: 4px;
    }

    .p-link-list a{
        flex: 1;
        height: 100%;
        border: 1px solid var(--bs-body-color);
        padding: 2px 7px;
    }

    #cityImage{
        max-height:75vw;
    }

}

@media (max-width: 415px){
    .content {
        padding: 6vw;
    }

    .heatmap{
        padding: 20px;
    }

    .heatmap-days-of-week-day-hours-hour{
        padding-top: 12vw;
    }

    .heatmap-days-of-week{
        gap: 20px;
    }

    .heatmap-days-of-week-day{
        gap: 10px;
    }
}

@media only screen and (max-device-width: 515px) {
    .tooltip{ 
        display: none;
    }
}