.cctv-vid {
    width: 100%;
    height: 720px;
    border-radius: 10px
}

.cctv-modal {
    width: 100%
}

#tabs-graphics {
    display: flex;
    justify-content: flex-start;
    /* Align tabs to the left */
    background-color: #f8f9fa;
    /* Light background for the tabs */
    padding: 10px;
    /* Space around the tabs */
    border-radius: 5px;
    /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
}

#tabs-graphics .nav-item {
    margin-right: 10px;
    /* Space between tabs */
}

#tabs-graphics .nav-link {
    background-color: #007bff;
    /* Primary color for active tab */
    color: white;
    /* Text color for active tab */
    border: none;
    /* Remove default border */
    padding: 10px 20px;
    /* Space inside the tab */
    border-radius: 5px;
    /* Rounded corners */
    cursor: pointer;
    /* Pointer cursor on hover */
    transition: background-color 0.3s;
    /* Smooth transition */
}

#tabs-graphics .nav-link:hover {
    background-color: #0056b3;
    /* Darker shade of blue on hover */
}

#tabs-graphics .nav-link:not(.active) {
    background-color: #e9ecef;
    /* Background for inactive tabs */
    color: #343a40;
    /* Text color for inactive tabs */
}

#tabs-graphics.nav-link:not(.active):hover {
    background-color: #007bff;
    /* Blue on hover for inactive tabs */
    color: white;
    /* Change text color to white */
}

.weather-card {
    margin: 20px auto;
    height: 400px;
    /* Tinggi diperkecil */
    max-width: 300px;
    /* Lebar diperkecil */
    background: #fff;
    box-shadow: 0 1px 18px rgba(0, 0, 0, 0.15), 0 5px 12px rgba(0, 0, 0, 0.15);
    /* Kurangi bayangan */
    overflow: hidden;
    border-radius: 15px;
    /* Radius border diperkecil */
}

.weather-card .top {
    position: relative;
    height: 500px;
    /* Tinggi bagian atas card dikurangi */
    width: 100%;
    background-size: cover;
    background-position: center center;
    text-align: center;
    background-image: url("https://static.vecteezy.com/system/resources/previews/040/519/146/non_2x/vehicle-traffic-at-traffic-signal-vector.jpg");
}

.weather-card .top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Lapisan hitam dengan opacity 50% */
}

.weather-card .top .wrapper {
    padding: 20px;
    /* Kurangi padding */
    position: relative;
    z-index: 1;
    /* Pastikan teks berada di atas lapisan */
}

.weather-card .top .wrapper .heading {
    font-size: 28px;
    /* Ukuran font heading diperkecil */
    font-weight: 400;
    color: #fff;
}

.weather-card .top .wrapper .location {
    font-size: 18px;
    /* Ukuran font location diperkecil */
    font-weight: 400;
    color: #fff;
}

.weather-card .top .wrapper .temp .temp-value {
    font-size: 50px;
    /* Ukuran font temperature diperkecil */
    font-weight: 600;
    color: #fff;
}

.weather-card .bottom {
    padding: 0 15px;
    /* Kurangi padding bagian bawah */
    background: #fff;
}

.weather-card .bottom .wrapper .forecast {
    padding-top: 10px;
    /* Kurangi padding atas */
    max-height: 120px;
    /* Tinggi bagian bawah diperkecil */
}

.weather-card.up .top {
    background-image: url("https://planningvoice.com/wp-content/uploads/2023/10/Busy-street.png");
    /* Gambar up card */
}

.weather-card.up .top::after {
    background: rgba(0, 0, 0, 0.5);
    /* Tambahkan opacity untuk up card juga */
}

.weather-card.down .top {
    background-image: url("https://png.pngtree.com/png-vector/20220515/ourlarge/pngtree-busy-urban-street-with-bustling-crowds-and-vehicular-traffic-vector-png-image_24574102.jpg");
    /* Gambar up card */
}

.weather-card.down .top::after {
    background: rgba(0, 0, 0, 0.5);
    /* Tambahkan opacity untuk up card juga */
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    /* Background semi-transparan */
    z-index: 9999;
    /* Z-index tinggi untuk memastikan overlay berada di atas elemen lainnya */
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #007bff;
    border-bottom: 16px solid #007bff;
    width: 100px;
    height: 100px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.counter {
    background-color: #f5f5f5;
    padding: 20px 0;
    border-radius: 5px;
}

.count-title {
    font-size: 40px;
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
}

.count-text {
    font-size: 13px;
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
}

.fa-2x {
    margin: 0 auto;
    float: none;
    display: table;
    color: #3498db;
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
    background-color: var(--surface-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.blog-posts .post-img {
    max-height: 240px;
    margin: -30px -30px 15px -30px;
    overflow: hidden;
}

.blog-posts .post-category {
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 10px;
}

.blog-posts .title {
    font-size: 20px;
    font-weight: 700;
    padding: 0;
    margin: 0 0 20px 0;
}

.blog-posts .title a {
    color: var(--heading-color);
    transition: 0.3s;
}

.blog-posts .title a:hover {
    color: var(--accent-color);
}

.blog-posts .post-author-img {
    width: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.blog-posts .post-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.blog-posts .post-date {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
    padding-top: 0;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.blog-pagination li {
    margin: 0 5px;
    transition: 0.3s;
}

.blog-pagination li a {
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--accent-color);
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
    color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
    padding-bottom: 30px;
}

.blog-details .article {
    background-color: var(--surface-color);
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
    margin: -30px -30px 20px -30px;
    overflow: hidden;
}

.blog-details .title {
    color: var(--heading-color);
    font-size: 28px;
    font-weight: 700;
    padding: 0;
    margin: 30px 0;
}

.blog-details .content {
    margin-top: 20px;
}

.blog-details .content h3 {
    font-size: 22px;
    margin-top: 30px;
    font-weight: bold;
}

.blog-details .content blockquote {
    overflow: hidden;
    background-color: color-mix(in srgb, var(--default-color), transparent 95%);
    padding: 60px;
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.blog-details .content blockquote p {
    color: var(--default-color);
    line-height: 1.6;
    margin-bottom: 0;
    font-style: italic;
    font-weight: 500;
    font-size: 22px;
}

.blog-details .content blockquote:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--accent-color);
    margin-top: 20px;
    margin-bottom: 20px;
}

.blog-details .meta-top {
    margin-top: 20px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
}

.blog-details .meta-top ul li+li {
    padding-left: 20px;
}

.blog-details .meta-top i {
    font-size: 16px;
    margin-right: 8px;
    line-height: 0;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    font-size: 14px;
    display: inline-block;
    line-height: 1;
}

.blog-details .meta-bottom {
    padding-top: 10px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    display: inline;
}

.blog-details .meta-bottom a {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
    color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
    list-style: none;
    display: inline;
    padding: 0 20px 0 0;
    font-size: 14px;
}

.blog-details .meta-bottom .cats li {
    display: inline-block;
}

.blog-details .meta-bottom .tags {
    list-style: none;
    display: inline;
    padding: 0;
    font-size: 14px;
}

.blog-details .meta-bottom .tags li {
    display: inline-block;
}

.blog-details .meta-bottom .tags li+li::before {
    padding-right: 6px;
    color: var(--default-color);
    content: ",";
}

.blog-details .meta-bottom .share {
    font-size: 16px;
}

.blog-details .meta-bottom .share i {
    padding-left: 5px;
}

/*--------------------------------------------------------------
# Blog Author Section
--------------------------------------------------------------*/
.blog-author {
    padding: 10px 0 40px 0;
}

.blog-author .author-container {
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-author img {
    max-width: 120px;
    margin-right: 20px;
}

.blog-author h4 {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 0px;
    padding: 0;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author .social-links {
    margin: 0 10px 10px 0;
}

.blog-author .social-links a {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
    margin-right: 5px;
}

.blog-author p {
    font-style: italic;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
    padding: 10px 0;
}

.blog-comments .comments-count {
    font-weight: bold;
}

.blog-comments .comment {
    margin-top: 30px;
    position: relative;
}

.blog-comments .comment .comment-img {
    margin-right: 14px;
}

.blog-comments .comment .comment-img img {
    width: 60px;
}

.blog-comments .comment h5 {
    font-size: 16px;
    margin-bottom: 2px;
}

.blog-comments .comment h5 a {
    font-weight: bold;
    color: var(--default-color);
    transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
    color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
    padding-left: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
    font-size: 20px;
}

.blog-comments .comment time {
    display: block;
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
    padding-left: 40px;
}

/******************  News Slider Demo-8 *******************/
.post-slide8 {
    margin: 0 15px;
    position: relative;
    background: #fff;
    box-shadow: 0 1px 2px rgba(43, 59, 93, .3);
    margin-bottom: 2em
}

.post-slide8 .post-img {
    position: relative;
    overflow: hidden
}

.post-slide8 .post-img img {
    width: 100%;
    height: auto
}

.post-slide8 .over-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(0, 0, 0, .6);
    transition: all .3s ease
}

.post-slide8:hover .over-layer {
    opacity: 1
}

.post-slide8 .post-link {
    margin: 0;
    padding: 0;
    position: relative;
    top: 45%;
    text-align: center
}

.post-slide8 .post-link li {
    display: inline-block;
    list-style: none;
    margin-right: 20px
}

.post-slide8 .post-link li a {
    color: #fff;
    font-size: 20px
}

.post-slide8 .post-link li a:hover {
    color: #ff8b3d;
    text-decoration: none
}

.post-slide8 .post-date {
    position: absolute;
    top: 10%;
    left: 4%
}

.post-slide8 .date {
    display: inline-block;
    border-radius: 3px 0 0 3px;
    padding: 5px 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    background: #333;
    float: left
}

.post-slide8 .month {
    display: inline-block;
    border-radius: 0 3px 3px 0;
    padding: 5px 13px;
    color: #111;
    font-size: 20px;
    font-weight: 700;
    background: #ff8b3d
}

.post-slide8 .post-content {
    padding: 30px
}

.post-slide8 .post-title {
    margin: 0 0 15px 0
}

.post-slide8 .post-title a {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    display: inline-block;
    text-transform: capitalize;
    transition: all .3s ease 0s
}

.post-slide8 .post-title a:hover {
    text-decoration: none;
    color: #ff8b3d
}

.post-slide8 .post-description {
    font-size: 14px;
    line-height: 24px;
    color: grey
}

.post-slide8 .read-more {
    color: #333;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    transition: color .2s linear
}

.post-slide8 .read-more:hover {
    text-decoration: none;
    color: #ff8b3d
}

.post-slide8 .read-more:after {
    content: "";
    position: absolute;
    width: 30%;
    display: block;
    border: 1px solid #ff8b3d;
    transition: all .3s ease
}

.post-slide8 .read-more:hover:after {
    width: 100%
}

@media only screen and (max-width:479px) {
    .post-slide8 .month {
        font-size: 14px
    }

    .post-slide8 .date {
        font-size: 14px
    }
}