html {
    --social-dark-color: #48B3EF;
    --navbar-color: #FFCE7B;
    --navbar-color-light: #ffc107;
    --social-light-color: #8ED0F4;
    --dark-blue: #224566;
    --grey: #878787;
}


body {
    color: #444;
}



a,
a:hover {
    text-decoration: none;
}
::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 4px;
    height: 4px;
  }
  
  ::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #3488b7;
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
  }
  

/*masthead*/
.cityread-masthead {
    position: relative;
    display: flex;
    flex-direction: column;
}

.logo {
    width: 40%;
    margin: auto;
    margin-top: 1em;
}

@media screen and (max-width:1000px) {
    .logo {
        width: 80%;
        margin: auto;
        margin-top: 2em;
    }
}

/*Navigation*/
nav#nav {
    width: 100%;
    background: var(--navbar-color);
    display: flex;
    z-index: 10;
    transition: all 0.3s;
}

nav.navShadow {
    box-shadow: 0 4px 30px -5px rgba(0, 0, 0, 0.2);
    height: 100px;
}

nav.navShadow #word-mark {
    opacity: 0;
}

.navbar-cityread {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.effect {
    position: absolute;
    width: 100%;
    display: flex;
    right: 2em;
    bottom: 0;
    justify-content: end;
    margin-bottom: 1em;
}

.buttons {
    display: flex;
}


.effect a {
    text-decoration: none !important;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% 50%;
    margin-right: 0.5em;
    font-size: 1.0rem;
    overflow: hidden;
    position: relative;
    color: #444;
    border: 1px solid #444;
    transition: all 0.2s linear 0s;
}

.effect a:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.effect a:after {
    content: "";
    display: block;
    width: 90%;
    height: 90%;
    top: -110%;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    background-color: var(--dark-blue);
    border-radius: 50% 50%;
}

.effect a i {
    display: inline-block;
    vertical-align: middle;
}

.effect a i {
    z-index: 3;
}

.effect a:hover {
    color: #ffffff;
}

.effect a:hover:after {
    top: 5%;
    transition: all 0.2s linear 0s;
}

@media screen and (max-width:1000px) {
    .effect {
        right: 0;
    }

    .effect a {
        margin: 0.2em 0;
        width: 20px;
        height: 20px;
        border: 1px solid #444;
    }

    .buttons {
        flex-direction: column;
    }
}

.nav {
    /* margin-bottom: 5em; */
}

ul.menubar {
    margin: 0;
}

ul.menubar li {
    background-color: var(--navbar-color-light);
    padding: 0.5em 1em;
    border-right: 1px solid #fff;
}

ul.menubar li:nth-child(1) {
    border-left: 1px solid #fff;
}

#menu-toggle {
    width: 55px;
    height: 55px;
    background-color: var(--navbar-color-light);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}

#menu-toggle:hover .bar {
    width: 25px;
}

.closeMenu {
    display: none;
}

#menu-toggle.closeMenu .bar {
    width: 25px;
}

#menu-toggle.closeMenu .bar:first-child {
    transform: translateY(7px) rotate(45deg);
}

#menu-toggle.closeMenu .bar:nth-child(2) {
    transform: scale(0);
}

#menu-toggle.closeMenu .bar:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

.bar {
    width: 10px;
    height: 2px;
    background: #fff;
    transition: 0.3s ease-in-out;
}

.bar:nth-child(2) {
    width: 20px;
    margin: 5px 0;
}

.bar:last-child {
    width: 15px;
}

.menubar li {
    list-style: none;
    text-align: center;
    background-color: #a2a3a4;
}

.menubar li:hover {
    background-color: var(--social-dark-color);
}

.menubar li a {
    text-decoration: none;
    display: block;
}

.menubar li a:hover {
    color: #ffffff;
    text-decoration: none;
}

.navbar-cityread .menubar {
    display: flex;

}

#cityreading li.active {
    background-color: var(--dark-blue) !important;
    color: #fff !important;
}

@media screen and (max-width: 1000px) {
    .navbar-cityread .menubar .showMenu {
        flex-direction: column;
        align-items: end;
        top: 35px;
        left: -15px;
        display: none;
    }

    .navbar-cityread {
        justify-content: end;
        right: 1em;
        position: relative;
    }

    #menu-toggle {
        display: flex;
        width: 30px;
        height: 30px;
        margin: 0.2em;
    }

      ul.menubar {
        display: none !important;
        width: 100vw;
        height: 0;
        position: absolute;
        top: 60px;
        box-shadow: 0 5px 30px -4px rgba(0, 0, 0, 0.2);
        transition: all 0.3s;
        flex-direction: column;
        align-items: end;
        top: 35px;
     
    }
    ul.showMenu {
        height: 0;
        display: flex !important;
        flex-direction: column;
        align-items: end;
    }

    ul.showMenu li {
        height: 70px;
        opacity: 1;
        display: block;
    }

    li {
        width: 50%;
        height: 80px;
        padding-left: 40px;
        opacity: 0;
        margin-left: 0;
        transition: all 0.3s 0.1s;
    }
    ul.menubar li {
        border-right: 0px;
        border-bottom: 1px solid #fff;
    }
}



.event-calendar {
    display: flex;
    background-color: #f0fbfd;

}

.calendar {
    width: 85px;
    height: 220px;
    background-color: var(--social-dark-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.date {
    font-size: 2.2rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
}

span.month {
    font-size: 1rem;
    font-weight: 100;
}

.event-wrap {
    display: flex;
    height: 220px;

}

.scroll {
    width: 100%;
    display: flex;
    overflow: hidden;
    padding: 0em 1.5em;
    background: rgba(218, 238, 255, 0.3);
}

.event-prog {
    display: flex;
    padding: 1em 1em;
    overflow-y: hidden;
    overflow-x: scroll !important;
-webkit-overflow-scrolling: touch;
}

.link {
    width: 12%;
    display: block;
    padding-top: 0.5em;
}

.link a {
    width: 100%;
    display: block;
}

.link a:hover {
    width: 90%;
    display: block;
}

.program {
    padding: 0em 1.5em;
    border-right: 1px solid #444;
    width: 260px;
    display000: flex;
    flex-direction: column;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.program:nth-child(1) {
    padding: 0em 1.5em 0 0;
}

.program:last-child {
    border-right: 0;
}

.calendar-day {
    padding-left: 2em;
    margin-top: 1em;
}

.title {
    font-weight: 700;
    margin: 0.5em 0;
}

@media screen and (max-width: 1000px) {
    .program {
        width: 200px;
    }
    .event-wrap {
        height: 240px;
    }
    .event-calendar {
        flex-direction: column-reverse;
    }

    .calendar-day {
        display: flex;
        padding-left: 15px;
        max-width: 768px;
        width: 100%;
        margin-bottom: 1em;
        margin-top: 0;
    }
}

.month-date {
    display: flex;
    gap: 0.5em;
}

.month {
    line-height: 2;
    display: flex;
    flex-wrap: wrap;
}

.month h2 {
    width: 100%;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 2;
    padding-left: 0.2em;
}


/* events*/
h2.day {
    margin: 0;
    font-size: 2.25rem;
    font-weight: 700;
}

.date-details-column {
    float: left;
    width: 20%;
    padding: 10px;
}

.date-details {
    margin-bottom: 10px;
    display: none;
}

.date-details.active {
    display: block;
}

.date-details p {
    margin: 5px 0;
}

.event-column {
    display: flex;
    width: 100%;
    padding: 1em;
}

.date-item {
    font-size: 1.0rem;
    cursor: pointer;
    margin-bottom: 1em;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    padding: 0.5em;
    background-color: #fff;
    border: 1px solid var(--dark-blue);
    color: #000;
    text-align: center;
    line-height: 1.0;
    margin: 0 0.2em;
}

.date-item.active {
    font-weight: bold;
    background: var(--social-dark-color);
    color: #FFF;
}

.date-item:hover {
    background: var(--social-light-color);
}

.event {
    display: none;
}

.event.active {
    display: flex;
}

.event h3 {
    margin-top: 0;
}

.event p {
    margin: 5px 0;
}

.tab {
    display: flex;
    border-radius: 20px 20px;
    padding: 0.56em 1.2em;
    font-size: 0.9rem;
    background: var(--navbar-color);
    justify-content: start;
    max-width: 150px;
    width: 100%;
}

.tab a {
    font-size: 0.95rem;
    color: #000;
    text-decoration: none;
}
tab a:hover {
    font-size: 0.95rem;
    color: #000;
    text-decoration: none !important;
}

.footer {
    flex-direction: column;
}

.footer-img {
    display: flex;
    width: 100%;
    height: 100px;
}

.footer-img::before {
    flex: 1;
    content: '';
    height: 1px;
    background: var(--dark-blue);
    position: relative;
    top: 50%;
}

.footer img {
    width: 100px;
}

.footer-sponsors {
    display: flex;
    flex-direction: row;
}
@media (min-width: 320px) and (max-width: 400px){
    #\30 1 {
        margin-top: -2.2em;
    }
    #\30 2 {
        margin-top: -2.2em;
    }
}
@media screen and (max-width:767px) {
    .footer {
        margin-bottom: 2em;
    }
}

@media screen and (max-width: 1000px) {
    .date-item {
        font-size: 1.0rem;
        width: 30px;
        height: 30px;
        line-height: 1.5em;
        margin-bottom: 0.5em;
    }
}

.sponsors {
    display: flex;
    justify-content: center;
}

.logo-sponsor img {
    width: 30%;
}

.sponsor-pl h4 {
    font-size: 1.06rem;
    font-weight: 400;
    color: var(--grey);
}

.spons-logs {
    display: flex;
}

.sponsor-wrap-1 {
    display: flex;
    text-align: center;

}

.sponsor-wrap {
    text-align: center;
}

.logo-sponsor-ml img {
    width: 50%
}

.slogos {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 768px;
}

.sp-logo {
    max-width: 200px;
}


.nafa {
    max-width: 350px;
}

.esp {
    max-width: 200px;
}

.bb {
    max-width: 380px !important;
}


.sponsor-pl {
    margin: 0 1em;
}

/* Accordion* --About us*/
.about-us {
    width: 100%;
    position: relative;
    bottom: -60px;
}

.accordion {
    margin: 1rem 0;
    list-style: none;

}


/* Thumb */
.accordion-thumb {
    margin: 0;
    padding: 0.8rem 0;
    cursor: pointer;
    color: var(--dark-blue);
}

.accordion-thumb::before {
    content: "";
    display: inline-block;
    height: 7px;
    width: 7px;
    margin-right: 1rem;
    margin-left: 0.5rem;
    vertical-align: middle;
    border-right: 1px solid;
    border-bottom: 1px solid;
    transform: rotate(-45deg);
    transition: transform 0.2s ease-out;
}

/* Panel */
.accordion-panel {
    margin: 0;
    padding: 1em 2em;
    display: none;
}

.accordion-panel p {
    line-height: 1.5;
}

.abtus-header {
    width: 30%;
    margin: auto;
    margin-top: 1em;
}


.abtus-col {
    max-width: 992px;
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-grow: 4;
}

.abtus-cn,
.abtus-en {
    padding: 1em 1em;
    line-height: 1.5;
    width: 100%;
}

@media screen and (max-width:767px) {
    .abtus-col {
        flex-direction: column;
    }

    .abtus-header {
        width: 90%;
    }
}

/* Active */
.accordion-item.is-active .accordion-thumb::before {
    transform: rotate(45deg);
}

.cr-press h1 {
    font-size: 1.56rem;
}

.cr-press-img {
    width: 50%;
    margin: auto;
}

.zaobao-top-logo {
    background-color: #a80034;
    height: 42px;

}

.zaobao-logo {
    padding-top: 6px;
    padding-left: 15px;
}

.zaobao-logo img {
    width: 30px;
}

.cmg-grp-logos {
    border-top: 1px solid var(--dark-blue);
    margin: 1em 0;
}

.group-logos {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 2em;
}

.cmg-logo {
    width: 10%;
    margin: 0 1em;
}

.cmg-logos {
    width: 80%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-right: 2em;
    align-items: center;
}

.grp-logo {
    width: 150px;
    text-align: center;
    padding: 1em;
}

.hk,
.ufm {
    width: 90px;
    display: block;
    text-align: center;
    padding: 1em;
}

.radio {
    width: 100px;
    display: block;
    text-align: center;
    padding: 1em;
}

.fp {
    width: 60px;
    text-align: center;
    padding: 1em;
}

.zbsch {
    width: 110px;
    text-align: center;
    padding: 1em;
}

@media screen and (max-width:1000px) {
    .slogos {
        flex-direction: column;
    }

    .nafa {
        max-width: 300px;
    }

    .esp {
        max-width: 250px;
    }

    .sponsor-pl {
        margin: 0 0em;
    }

    .sponsor-wrap-1 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sp-logo {
        justify-content: center;
        display: flex;
        width: 100%;
        padding: 1em;
        padding-top: 0;
    }

    .sp-logo.sph img {
        width: 100%;
    }

    .group-logos {
        flex-direction: column;
        padding: 0;
        margin-top: 2em;
    }

    .grp-logo {
        width: 130px;
        padding: 0.5em;
    }

    .cmg-logo {
        width: 100%;
        margin-bottom: 1em;
        display: flex;
        justify-content: center;
        margin: auto;
        margin-bottom: 1em;
    }

    .cmg-logo img {
        width: 30%;
    }

    .cmg-logos {
        padding: 0;
        width: 100%;
        justify-content: center;
    }

    .hk,
    .ufm {
        width: 80px;
    }

    .fp {
        width: 60px;
    }

    .zbsch {
        width: 100px;
    }

}

.swipe {
    display: flex;
    justify-content: center;
    width: 100%;
    /* margin: 1em 0; */
    border-top: 1px solid #fff;
    padding: 0em;
    color: #fff;
    text-align: center;
}

.swipe-img {
    font-size: 0.9rem;
    color: #989898;
    text-align: center;
    padding-top: 1em;

}

.swipe-img:before {
    font-family: "Font Awesome 5 Free";
    content: url('https://dss0.zbstatic5.com/assets/interactive/2024/cityreading/img/swipe-icon.svg');
    display: inline-block;
    padding-right: 4px;
    vertical-align: middle;
    width: 25px;
}

.swipe img {
    width: 6%;
    margin-right: 0.25em;
}

@media screen and (max-width:1000px) {
    .swipe img {
        width: 8%;
        margin-right: 0.25em;
    }
}

button#btn-left, button#btn-right
 {
    background: transparent;
    border: 0;
    font-size: 2.0rem;
    color: var(--dark-blue);
}