﻿.checkbox-wrapper-16 *,
.checkbox-wrapper-16 *:after,
.checkbox-wrapper-16 *:before {
    box-sizing: border-box;
}

.checkbox-wrapper-16 .checkbox-input {
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    height: 0.5px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 0.5px;
}

    .checkbox-wrapper-16 .checkbox-input:checked + .checkbox-tile {
        border-color: #df1b12;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        color: #df1b12;
    }

        .checkbox-wrapper-16 .checkbox-input:checked + .checkbox-tile:before {
            transform: scale(1);
            opacity: 1;
            background-color: #df1b12;
            border-color: #df1b12;
        }

        .checkbox-wrapper-16 .checkbox-input:checked + .checkbox-tile .checkbox-icon,
        .checkbox-wrapper-16 .checkbox-input:checked + .checkbox-tile .checkbox-label {
            color: #df1b12;
        }

    .checkbox-wrapper-16 .checkbox-input:focus + .checkbox-tile {
        border-color: #df1b12;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 0 0 4px #b5c9fc;
    }

        .checkbox-wrapper-16 .checkbox-input:focus + .checkbox-tile:before {
            transform: scale(1);
            opacity: 1;
        }

.checkbox-wrapper-16 .checkbox-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 6rem;
    min-height: 6rem;
    border-radius: 0.5rem;
    border: 2px solid #700e09;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: 0.15s ease;
    cursor: pointer;
    position: relative;
}

@media screen and (max-width: 980px) {
    .checkbox-wrapper-16 .checkbox-tile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 4.5rem;
        min-height: 4rem;
        border-radius: 0.5rem;
        border: 2px solid #700e09;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transition: 0.15s ease;
        cursor: pointer;
        position: relative;
    }

    .checkbox-label {
        display: none;
    }

    .container-map {
        flex: none !important;
        height: calc(100vh - 400px);
    }

    .mapMenubarContainer {
        white-space: nowrap;
    }

    .overflow-mobileScreen {
        overflow-x: scroll
    }
}


.checkbox-wrapper-16 .checkbox-tile:before {
    content: "";
    position: absolute;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #700e09;
    background-color: #fff;
    border-radius: 50%;
    top: 0.25rem;
    left: 0.25rem;
    opacity: 0;
    transform: scale(0);
    transition: 0.25s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.checkbox-wrapper-16 .checkbox-tile:hover {
    border-color: #df1b12;
}

    .checkbox-wrapper-16 .checkbox-tile:hover:before {
        transform: scale(1);
        opacity: 1;
    }

.checkbox-wrapper-16 .checkbox-icon {
    transition: 0.375s ease;
    color: #494949;
}

    .checkbox-wrapper-16 .checkbox-icon svg {
        width: 3rem;
        height: 3rem;
    }

.checkbox-wrapper-16 .checkbox-label {
    color: #707070;
    transition: 0.375s ease;
    text-align: center;
}

.container-map {
    flex: 6;
    /*border: 2px solid #db1a12;*/
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px, rgba(210, 32, 32, 0.8) 0px 0px 0px 3px;
    border-radius: 10px;
    margin-top: 8px !important;
    margin-right: 10px !important;
    margin: 5px;
    /*margin-top: 5px;*/
    /*height: calc(100vh - 215px);*/
}

iframe {
    height: 100% !important;
    width: 100% !important;
}

.container-map-fullScreen {
    width: 100%;
    height: calc(100vh - 80px) !important;
    overflow-y: hidden;
}

.container-layers {
    /*flex: 2;*/
}

.container-info-layers {
    flex: 3;
    transition: flex 0.5s ease-in-out;
    margin: 4px 4px 0px 4px;
    /*background-image: linear-gradient(to bottom right, #FDFCFB, #E2D1C3);*/
    /*box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;*/
    border-radius: 10px 10px 0px 0px;
    overflow-x: hidden;
}

    .container-info-layers.hidden {
        /*flex: 0;*/
        /*visibility: hidden;*/
    }

/*.container-layersAndMap {
    flex: 3;
}*/


#mapLayerSelector {
    /*height: calc(100vh - 140px);*/
}

.pointer {
    cursor: pointer;
}

.container-image-icon {
    display: flex;
    gap: 2px;
    align-items: center;
    position: relative;
}

.icon-image-fillter {
    filter: invert(0%) sepia(50%) saturate(50%) hue-rotate(50deg) brightness(100%) contrast(50%);
}

.image-icon-effect:hover {
    filter: drop-shadow(0px 4px 8px rgba(255, 0, 0, 0.7)) brightness(110%);
    transform: scale(1.1);
}

.image-icon-effect {
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.image-icon:hover {
    /*transform: rotate(360deg);*/
}

.text-icon {
    /*opacity: 0;*/
    text-wrap: nowrap;
    transition: opacity 0.25s ease;
    text-wrap: nowrap
}

.container-image-icon:hover .text-icon {
    opacity: 1 !important;
    transition: opacity 0.25s ease;
}

.container-icon-layer {
    align-items: flex-start;
    justify-content: center;
}

.highcharts-credits {
    display: none;
}

.highcharts-axis-labels {
    font-family: 'iranyekan';
    font-size: 0.8rem;
}

.highcharts-axis-title {
    font-family: 'iranyekan' !important;
    font-size: 0.7rem !important;
    font-weight: bold;
}

.highcharts-button-box {
    width: 0px;
}

.container-layer {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    cursor: pointer;
    gap: 50px;
    box-shadow: rgba(229, 140, 140, 0.4) 0px 0px 0px 2px;
    padding: 5px;
    border-radius: 8px;
}

    .container-layer:hover {
        transform: scale(1.04);
        transition: transform 0.5s ease;
    }

.highcharts-title {
    white-space: nowrap !important;
    font-size: 0.8rem !important;
}

.highcharts-legend-item {
    font-size: 0.8rem !important;
}

.d-flex container-map-chart {
}
/* Overall container for buttons */
.traffic-buttons-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 8px;
    align-items: center;
    padding: 10px;
}

/* Button styling */
.traffic-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*background-color: #d94d4d;
    color: #fff;*/
    border: none;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-width: 200px;
}

    .traffic-button:hover {
        background-color: #df1b12;
        transform: scale(1.05);
    }

    .traffic-button img {
        /*height: 24px;*/
        margin-right: 10px;
    }

.arrow-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.traffic-button.expanded .arrow-icon {
    transform: rotate(180deg);
}

.traffic-button span:last-child {
    margin-left: auto;
}

/* Responsive design */
@media (max-width: 768px) {
    .traffic-buttons-container {
        gap: 10px;
        flex-direction: column;
        align-items: stretch;
    }

    .traffic-button {
        width: 100%;
    }
}

.chart-container {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

    .chart-container.visible {
        opacity: 1;
    }

/*MainaMap.aspx*/

.Marker-popup {
    font-family: 'iranyekan', sans-serif;
    width: 100%;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.popup-TTC-Title {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.popupHeader {
    font-weight: bold;
    color: #df1b12;
}

.popupContent-TTC {
    display: flex;
    flex-direction: column;
}

.popUpBox-TTC {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.popupLabel {
    font-weight: bold;
    color: #555;
}

.popupContent {
    color: #333;
    font-size: 14px;
    overflow-wrap: break-word;
}
/*AutoComplter*/
.list-group {
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
}

.list-group-item {
    cursor: pointer;
}

.container-BusTaxiline {
    background: #302e2e;
    left: 0;
    top: 0;
    width: 100%;
    color: white;
    position: absolute;
    height: auto;
    transition: transform 1s ease-in-out; 
    /*transform: translateX(-100%);*/ 
}

    .container-BusTaxiline.show {
        transform: translateX(0) !important;
    }

    .container-BusTaxiline.hide {
        transform: translateX(-100%) !important;
    }

.BusTaxi-line {
    cursor: pointer;
}

    .BusTaxi-line:hover {
        background: gray;
    }
