:root {
    --good-color: linear-gradient(45deg, #4cf410, #16cfd7);
    --fair-color: linear-gradient(45deg, #3c8ce7, #00eaff);
    --moderate-color: linear-gradient(45deg, #fff500, #ff9900);
    --poor-color: linear-gradient(45deg, #fdd819, #e80505);
    --very-poor-color: linear-gradient(45deg, #f05f57, #360940);
    --gray-color: #fafafa;
    --reverse-color: #757575;
    --dark-color: #151e28;
    --orange-color: #fa4d23;
    --white-color: #ffffff;
    --gray-white-color: #efefef;
}

.box-section {
    background-color: #ffffff;
    box-shadow: 2px 0px 24px 0px #1c4cba1a;
    border-radius: 10px;
    padding: 15px;
}

.list-city-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
    padding-left: 18px;
    list-style-type: disc;
}

.item-city-aside .link-city-aside {
    transition: all 0.3s ease;
    color: #2D67AD;
    padding: 10px 12px;
}

.item-city-aside .link-city-aside:hover {
    color: #fa4d23;
}

.list-time-current-weather-every-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.item-time-current-weather-every-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: var(--gray-color);
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    cursor: pointer;
}

.box-day-time-current-weather-every-day {
    min-width: 65px;
    max-width: 65px;
}

.weekday-time-current-weather-every-day {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.02em;
    text-align: left;
}

.date-time-current-weather-every-day {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: -0.02em;
    text-align: left;
    color: var(--reverse-color);
}

.box-info-time-current-weather-every-day {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    width: 250px;
}

.temp-time-current-weather-every-day {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: -0.02em;
    text-align: left;
}

.feel-time-current-weather-every-day {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: -0.02em;
    text-align: left;
    color: var(--reverse-color);
}

.icon-time-current-weather-every-day .fa-plus {
    cursor: pointer;
    transition: all 0.3s ease;
}

.icon-time-current-weather-every-day {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item-time-current-weather-every-day:hover .fa-plus {
    transform: rotate(90deg);
}

.describe-time-current-weather-every-day {
}

.content-current-weather-every-day {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-bottom: 0px;
    transition: all 0.3s ease;
}

.item-time-current-weather-every-day-active .content-current-weather-every-day {
    margin-bottom: 10px;
}

.full-content-detail-current-weather-every-day {
    width: 100%;
    height: 370px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.content-detail-current-weather-every-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 12px;
    gap: 24px;
}

.list-values-current-weather-every-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.item-values-current-weather-every-day {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 0 6px;
    border-bottom: 1px solid var(--gray-color);
}

.title-value-current-weather-every-day {
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.02em;
    text-align: left;
}

.value-current-weather-every-day {
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.02em;
    text-align: left;
}

.item-time-current-weather-every-day-active {
    background-color: var(--white-color) !important;
    border: 1px solid #ababab !important;
}

.full-content-detail-current-weather-every-day-hide {
    height: 0 !important;
}

p {
    padding: 0;
    margin: 0;
}

.box-section-slider-day-night {
    display: grid;
    grid-template-columns: 1fr;
}

.box-slider {
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
}

.box-slider::after {
    content: "";
    position: absolute;
    top: 108px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background-color: var(--gray-color);
}

.slider-wrapper-day,
.slider-wrapper-night {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 12.5em;
    top: 80px;
    max-width: 100%;
}

.slider-input-day,
.slider-input-night {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.slider-thumb-day,
.slider-thumb-night {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    touch-action: none;
    cursor: pointer;
}

.slider-value-container-day,
.slider-value-container-night {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 0.5em;
    position: absolute;
    bottom: 0.5em;
    transform: translateY(-100%);
    border-radius: 4px;
    padding: 6px 8px;
    color: var(--white-color);
    background-color: var(--dark-color);
    font-size: 0.5em;
    white-space: nowrap;
    pointer-events: none;
}

.slider-value-container-day::after,
.slider-value-container-night::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-top-color: var(--dark-color);
    border-bottom: 0;
}

.slider-svg-day,
.slider-svg-night {
    width: 100%;
    height: 100%;
    overflow: visible;
    position: relative;
}

.slider-time-icon-weather {
    max-width: 16px;
    max-height: 16px;
    min-width: 16px;
    min-height: 16px;
    width: 16px;
    height: 16px;
}

.wrapper-time-sun {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 250px;
    position: absolute;
    top: 120px;
}

.box-time-sun {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2px;
}

.icon-time-sun {
    max-width: 24px;
    max-height: 24px;
    min-width: 24px;
    min-height: 24px;
    width: 24px;
    height: 24px;
}

.title-time-sun {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: -0.02em;
    text-align: left;
    color: var(--reverse-color);
}

.value-time-sun {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.02em;
    text-align: left;
}

.value-time-sun {
    font-size: 12px;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .box-slider::after {
        top: 108px;
    }
}

@media screen and (min-width: 768px) {
    .item-day-night {
        flex-direction: row;
    }
}

@media screen and (min-width: 1024px) {
    .list-city-aside {
        grid-template-columns: 1fr;
    }

    .box-section-slider-day-night {
        display: grid;
        grid-template-columns: 1fr;
    }
}

.box-table-hour-weather {
    width: 100%;
    overflow-x: auto;
}

.table-hour-weather {
    width: 100%;
    margin-top: 12px;
    border-collapse: collapse;
    padding: 0;
}

table {
    border-collapse: collapse;
}

table, tr, td, th {
    border: none !important;
}

.th-hour-weather {
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: -0.02em;
    text-align: center;
    padding: 6px 0;
    white-space: nowrap;
}

.td-hour-weather {
    text-align: center;
    padding: 12px 6px;
    white-space: nowrap;
}

.td-hour-weather .wind-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    width: 80px;
    justify-content: flex-start;
    padding-left: 0;
}

.td-hour-weather-center {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: -0.02em;
}

.td-hour-weather-current {
    color: #ff424e;
}

.tr-hour-weather-body {
    position: relative;
}

.tr-hour-weather-body::after {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    top: 2px;
    background-color: var(--gray-white-color);
}

.feel-hour-weather {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: -0.02em;
    text-align: left;
    color: var(--reverse-color);
}

.box-value-hour-weather {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--gray-white-color);
    padding: 6px 0;
}

.box-value-hour-weather .hour-icon-weather {
    width: 50px;
    height: 50px;
}

.box-value-hour-weather .hour-temp {
    font-size: 48px;
    font-weight: 700;
    line-height: 57.6px;
    letter-spacing: -0.05em;
    text-align: left;
}

.list-values-hour-current-day {
    display: grid;
    grid-template-columns: 1fr;
}

.item-values-hour-current-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--gray-white-color);
    padding: 16px 0;
}

.box-detail-hour-weather .describe-hour-weather {
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: -0.02em;
    text-align: left;
}

.box-detail-hour-weather .feel-hour-weather {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: -0.02em;
    text-align: left;
}

.title-values-hour-current-day {
    display: flex;
    align-items: center;
    gap: 6px;
}

.title-values-hour-current-day i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

@media screen and (min-width: 768px) {
    .td-hour-weather .wind-row {
        width: 80px;
        padding-left: 24px;
    }

    .list-values-hour-current-day {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 36px;
    }
}

@media screen and (min-width: 1024px) {
    .list-values-hour-current-day {
        display: grid;
        grid-template-columns: 1fr;
    }
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: var(--color-primary);
}

h3 {
    margin: 0 !important;
}

hr {
    margin: .5em 0 !important;
}


.title-tomorrow-weather {
    margin-bottom: 12px;
}

.box-value-tomorrow-weather {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-top: 24px;
}

.info-tomorrow-weather {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 4px;
    align-items: center;
    width: 100%;
}

.tomorrow-icon-weather {
    min-width: 60px;
    min-height: 60px;
    width: 60px;
    height: 60px;
}

.tomorrow-temp {
    font-size: 52px;
    font-weight: 700;
    line-height: 72px;
    letter-spacing: -0.05em;
    text-align: left;
}

.describe-tomorrow-weather {
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: -0.02em;
    text-align: left;
    white-space: nowrap;
}

.feel-tomorrow-weather {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: -0.02em;
    text-align: left;
    color: var(--reverse-color);
    white-space: nowrap;
}

.box-detail-values-tomorrow-weather {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.list-box-detail-values-tomorrow-weather {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    width: 100%;
}

.describe-values-tomorrow-weather {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    /* white-space: nowrap; */
}

.describe-values-tomorrow-weather .fa-temperature-three-quarters {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.list-values-tomorrow-current-day {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
}

.item-values-tomorrow-current-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.item-values-tomorrow-current-day {
    flex-direction: row;
}

.title-values-tomorrow-current-day {
    white-space: nowrap;
}

.value-values-tomorrow-current-day-2 {
    width: 100%;
    text-align: right;
}

.item-values-tomorrow-current-day i {
    min-width: 24px;
    min-height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 768px) {
    .box-value-tomorrow-weather {
        flex-direction: row;
    }

    .info-tomorrow-weather {
        width: max-content;
        justify-content: space-between;
        gap: 16px;
    }

    .tomorrow-icon-weather {
        min-width: 72px;
        min-height: 72px;
        width: 72px;
        height: 72px;
    }

    .tomorrow-temp {
        font-size: 72px;
        font-weight: 700;
        line-height: 86.4px;
        letter-spacing: -0.05em;
        text-align: left;
    }

    .list-values-tomorrow-current-day {
        grid-template-columns: repeat(4, 1fr);
        margin-top: 24px;
    }

    .item-values-tomorrow-current-day {
        flex-direction: column;
    }

    .value-values-tomorrow-current-day-2 {
        text-align: center;
    }

    .describe-tomorrow-weather {
        font-size: 24px;
    }

    .tomorrow-temp {
        font-size: 60px;
    }
}
