/* CSP Phase 1 view style block fixes. */

.csp-city-information-theme .tabData,
.csp-city-information-theme .mitigationOrg,
.csp-city-information-theme .majorDisaster {
    display: none;
}

.csp-city-information-theme .tabData.active,
.csp-city-information-theme .mitigationOrg.active,
.csp-city-information-theme .majorDisaster.active {
    display: block;
}

#eventChart {
    width: 100%;
    max-width: 1800px;
    height: 700px;
    margin: 0 auto;
    position: relative;
}

#eventChart canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.csp-news-content .masonry {
    margin-left: -10px;
    width: auto;
}

.csp-news-content .masonry-item {
    width: 33.33%;
    padding-left: 10px;
    margin-bottom: 10px;
}

.csp-news-content .masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.csp-news-content .masonry-item img.lazy-load-loaded {
    opacity: 1;
}

.csp-block-header .side-bar {
    background: rgb(0,107,150);
    background: -moz-linear-gradient(119deg, rgba(0,107,150,1) 0%, rgba(78,184,208,1) 100%);
    background: -webkit-linear-gradient(119deg, rgba(0,107,150,1) 0%, rgba(78,184,208,1) 100%);
    background: linear-gradient(119deg, rgba(0,107,150,1) 0%, rgba(78,184,208,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#006b96",endColorstr="#4eb8d0",GradientType=1);
}

.csp-block-header .side-bar button {
    background: #13546c;
}

.csp-block-header .mobile-menu nav ul li a,
.csp-block-header .social-wrapper-one ul li a h6,
.csp-block-header .mobile-menu nav ul li.has-droupdown a.main {
    color: #fff;
}

.csp-block-header .mobile-menu nav ul li.has-droupdown a.main::after {
    color: #1482a8;
    background: #f9ffab !important;
}

.csp-block-header .side-bar-bg {
    background-color: rgba(255,255,255,0.4);
}

.csp-block-header .customSearch {
    margin-left: 0px !important;
}

#museum .ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.csp-special-iframe .iframe-container {
    position: relative;
    overflow-y: scroll;
    overscroll-behavior: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.csp-special-iframe .iframe-container::-webkit-scrollbar {
    display: none;
}

.csp-special-iframe .iframe-container iframe {
    display: block;
    width: 100%;
    height: calc(100% + 1px);
    border: none;
}

.box-link-list ol {
    list-style-type: decimal;
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
}

.box-link-list ol li {
    width: 45%;
    margin-bottom: 30px;
    background-color: #edf1f3;
    padding: 10px;
    position: relative;
    padding-right: 40px;
}

.csp-special-exhibition .twentytwenty-container {
    width: 1000px;
    margin: 0 auto;
}

.csp-special-exhibition .basic.twentytwenty {
    margin-top: 40px;
}
.csp-hidden-noscript-frame {
    display: none;
    visibility: hidden;
}

.csp-text-black {
    color: black;
}

.csp-mt-50 {
    margin-top: 50px;
}

.csp-text-justify {
    text-align: justify;
}

.csp-font-size-26 {
    font-size: 26px;
}

.csp-cursor-default {
    cursor: default;
}

.csp-flex-nowrap {
    flex-wrap: nowrap;
}

.csp-lottie-300 {
    width: 300px;
    height: 300px;
}

.csp-block-center {
    display: block;
    margin: auto;
}

.csp-p-30 {
    padding: 30px;
}

.csp-chart-height-500 {
    height: 500px;
}

.csp-mt-40 {
    margin-top: 40px;
}

.csp-login-left-pane-bg {
    background: url("/umbraco/assets/img/login.jpg") no-repeat center center / cover;
}

.csp-tag-color-city {
    background-color: #4e99ea;
}

.csp-tag-color-knowledge {
    background-color: #d8d03a;
}

.csp-tag-color-video {
    background-color: #e5943d;
}

.csp-tag-color-weekly {
    background-color: #d05b46;
}

.csp-tag-color-special-exhibition {
    background-color: #c346d0;
}

.box-newsall a .news .pic p.csp-tag-color-city,
.box-news .sin .pic p.csp-tag-color-city {
    background-color: #4e99ea;
}

.box-newsall a .news .pic p.csp-tag-color-knowledge,
.box-news .sin .pic p.csp-tag-color-knowledge {
    background-color: #d8d03a;
}

.box-newsall a .news .pic p.csp-tag-color-video,
.box-news .sin .pic p.csp-tag-color-video {
    background-color: #e5943d;
}

.box-newsall a .news .pic p.csp-tag-color-weekly,
.box-news .sin .pic p.csp-tag-color-weekly {
    background-color: #d05b46;
}

.box-newsall a .news .pic p.csp-tag-color-special-exhibition,
.box-news .sin .pic p.csp-tag-color-special-exhibition {
    background-color: #c346d0;
}

ul#myTabCards.nav-tabs li a span.csp-tag-color-city {
    background-color: #4e99ea;
}

ul#myTabCards.nav-tabs li a span.csp-tag-color-knowledge {
    background-color: #d8d03a;
}

ul#myTabCards.nav-tabs li a span.csp-tag-color-video {
    background-color: #e5943d;
}

ul#myTabCards.nav-tabs li a span.csp-tag-color-weekly {
    background-color: #d05b46;
}

ul#myTabCards.nav-tabs li a span.csp-tag-color-special-exhibition {
    background-color: #c346d0;
}

.csp-open-data-tab-button,
.csp-open-data-card-button {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    margin: 0;
    text-align: inherit;
}

#myTabCards .csp-open-data-tab-button {
    color: #6381a1;
    display: inline-block;
    font-size: 16px;
    font-weight: normal;
    padding: 12px 25px;
    text-transform: none;
}

#myTabCards li.active > .csp-open-data-tab-button {
    background-color: #f5f6eb;
    font-weight: bold;
}

#myTabCards .csp-open-data-tab-button span {
    background-color: #4e99ea;
    border-radius: 20px;
    color: #fff;
    font-size: 80%;
    margin-left: 7px;
    padding: 2px 14px;
    width: 100px;
}

#myTabCards li:nth-child(2) .csp-open-data-tab-button span {
    background-color: #6dd046;
}

#myTabCards li:nth-child(3) .csp-open-data-tab-button span {
    background-color: #d8d03a;
}

#myTabCards li:nth-child(4) .csp-open-data-tab-button span {
    background-color: #e5943d;
}

.csp-open-data-card-button {
    display: block;
    padding: 0;
    text-align: left;
    width: 100%;
}


