/* HEADER */
body {
    background: white;
}

img {
    max-width: 100%;
}

.header-color a {
    color: rgba(255, 255, 255, 0.75) !important;
}

header .header-menu li a {
    font-family: "Belleza" !important;
}

/* MICROSITE NAV */
.page-banner {
    padding: 128px 0 96px;
    position: relative;
}

.page-banner h1 {
    color: #1a1a1a;
}

#microsite-nav {
    background: white;
    width: 100%;
    margin-top: 24px;
}

#microsite-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

@media screen and (max-width: 960px) {
    #microsite-nav .menu {
        display: none;
    }
}

#microsite-nav .logo {
    height: 64px;
    object-fit: contain;
}

#microsite-nav .row {
    height: 64px;
}

#menu-primary-navigation,
#menu-primary-nav-zh {
    list-style: none;
    display: inline-block;
    width: 100%;
    height: 64px;
    margin: 0;
}

#menu-primary-navigation li,
#menu-primary-nav-zh li {
    display: block;
    width: 25%;
    height: 64px;
    float: left;
    text-align: center;
}

#menu-primary-navigation li:nth-child(1),
#menu-primary-nav-zh li:nth-child(1) {
    background-color: #833997;
}

#menu-primary-navigation li:nth-child(2),
#menu-primary-nav-zh li:nth-child(2) {
    background-color: #ff6c00;
}

#menu-primary-navigation li:nth-child(3),
#menu-primary-nav-zh li:nth-child(3) {
    background-color: #485cbd;
}

#menu-primary-navigation li:nth-child(4),
#menu-primary-nav-zh li:nth-child(4) {
    background-color: #009993;
}

#menu-primary-navigation li:nth-child(5),
#menu-primary-nav-zh li:nth-child(5) {
    background-color: #485cbd;
}

#menu-primary-navigation li a,
#menu-primary-nav-zh li a {
    color: white;
    font-size: 16px;
    font-family: "Akkurat";
    line-height: 64px;
    transition: 0.3s ease;
    border-bottom: 2px solid transparent;
}

#menu-primary-navigation li a:hover,
#menu-primary-navigation li.active a,
#menu-primary-nav-zh li a:hover,
#menu-primary-nav-zh li.active a {
    font-weight: bold;
    border-bottom: 2px solid white;
}

@media screen and (max-width: 960px) {
    #cover .title {
        max-width: 200px !important;
    }

    #microsite-nav {
        padding: 8px;
        border-bottom: 1px solid #eee;
    }

    #microsite-nav .row {
        height: auto;
    }

    #microsite-nav .logo {
        height: 42px;
    }

    #microsite-nav .menu {
        opacity: 0;
        transform: translateX(100%);
        position: fixed;
        top: 0;
        right: 0;
        transition: 0.3s ease;
    }

    #microsite-nav .closer {
        opacity: 0;
        transform: translateX(100%);
        position: fixed;
        bottom: 0;
        right: 0;
    }

    #microsite-nav .menu.active {
        opacity: 1;
        transform: translateX(0%);
        width: 100vw;
        height: calc(100% - 72px);
        background: rgba(0, 0, 0, 0.95);
        z-index: 999999999999;
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    #microsite-nav .closer.active {
        opacity: 1;
        transform: translateX(0%);
        width: 100vw;
        height: 72px;
        background: black;
        z-index: 9999;
        display: flex;
        color: white;
        text-align: center;
        font-size: 30px;
        align-items: center;
        justify-content: center;
    }

    #menu-primary-navigation li,
    #menu-primary-nav-zh li {
        display: inline-block;
        margin: 0;
        width: 100%;
        text-align: center;
        flex: auto;
        align-items: center;
    }

    #menu-primary-navigation li a,
    #menu-primary-nav-zh li a {
        display: block;
        line-height: 25vh;
        width: 100%;
        height: 100%;
        border: 0;
        font-size: 24px;
    }

    #menu-primary-navigation li.active a,
    #menu-primary-navigation li a:hover,
    #menu-primary-nav-zh li.active a,
    #menu-primary-nav-zh li a:hover {
        border: 0;
    }

    .mobile-menu {
        display: block !important;
        position: absolute;
        right: 12px;
        float: right;
        cursor: pointer;
        filter: invert(1);
        line-height: 40px;
    }
}

.mobile-menu,
.closer {
    display: none;
}

/* LANDING */

#cover {
    width: 100%;
}

#cover .title {
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    position: relative;
    width: 480px;
    max-width: 400px;
    z-index: 2;
}

#tickets {
    padding: 72px 0 0;
}

#tickets a {
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    display: block;
}

#tickets a:hover {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
}

#tickets img {
    max-width: 100px;
    margin: 0 auto;
    display: block;
    opacity: 0.5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

#tickets h4 {
    text-align: center;
    color: #1a1a1a;
    font-size: 18px;
}

#about {
    margin-top: 54px;
}

#about h2 {
    color: #833997;
    font-weight: bold;
    font-size: 36px;
    margin-bottom: 24px;
}

#about p {
    color: #1a1a1a;
    font-size: 18px;
}

.events-carousell {
    padding: 72px 0 128px;
    max-width: 100vw;
    margin: 0 auto;
}

.events-carousell h2 {
    color: #833997;
    font-weight: bold;
    font-size: 36px;
    margin-bottom: 32px;
    text-align: center;
}

.events-carousell .swiper-container {
}

.events-carousell .swiper-slide {
    height: 295px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 24px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    cursor: pointer;
    background-size: cover !important;
    -webkit-transition: 0.2s ease-in-out all;
    transition: 0.2s ease-in-out all;
    opacity: 0.75;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    background-position: center center !important;
}

.events-carousell .swiper-slide.swiper-slide-active {
    background: rgba(226, 112, 0, 0.8);
}

.events-carousell .swiper-slide:hover,
.events-carousell .swiper-slide.swiper-slide-active {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.events-carousell .swiper-slide:hover:before,
.events-carousell .swiper-slide.swiper-slide-active:before {
    background-color: rgba(0, 0, 0, 0.3);
}

.events-carousell .swiper-slide:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    content: "";
    mix-blend-mode: multiply;
    border-radius: 24px;
    -webkit-transition: 0.4s ease-in-out all;
    transition: 0.4s ease-in-out all;
}

.events-carousell .swiper-slide h2 {
    color: white;
    text-align: center;
    z-index: 9999;
    font-weight: normal;
    line-height: 1.1;
    margin-bottom: 0;
    letter-spacing: -0.5px;
    font-size: 24px;
    width: 100%;
}

.events-carousell .swiper-slide > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.events-carousell .swiper-pagination.swiper-pagination-bullets {
    bottom: -50px;
}

.events-carousell .swiper-pagination-bullet {
    background: #fff;
}

.events-carousell .swiper-pagination-bullet-active {
    background: #fff;
}

.events-carousell .swiper-button-prev {
    left: 50px;
    color: #fff;
}

.events-carousell .swiper-button-next {
    right: 50px;
    color: #fff;
}

/* EVENT HIGHGLIGHTS */
.event-highlights main.content::after,
.single-events main.content::after {
    content: "";
    background: url(../img/kv-events2.jpg) no-repeat;
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto;
    background-size: 400px;
    background-position: bottom right;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    bottom: 0;
    right: -70px;
    opacity: 70%;
}
.page-template-event-highlightsx main.content::after {
    content: "";
    background: url(../img/bg-right-online-programme.jpg) no-repeat;
    background-size: 550px;
    background-position: bottom right;
    position: fixed;
    height: 100%;
    bottom: 0;
    z-index: -1;
    width: 100%;
    right: -108px !important;
    opacity: 0.7;
}
.page-template-event-highlightsx main.content::before {
    content: "";
    background: url(../img/bg-left-online-programme.jpg) no-repeat;
    background-size: 550px;
    background-position: bottom left;
    position: fixed;
    height: 100%;
    bottom: 0;
    z-index: -1;
    width: 100%;
    left: -108px !important;
    opacity: 0.7;
}
#highlights {
    padding: 0 24px 72px;
}

.event-highlights .page-heading h1 {
    color: #ff6c00;
    font-weight: 700;
}

#highlights .event-big {
    height: 320px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 24px;
    margin-bottom: 30px;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
}

#highlights .event-big h2 {
    color: #1a1a1a;
}

#highlights .event-big:hover {
    -webkit-transform: scale(1.01);
    transform: scale(1.01);
}

article.event {
    cursor: pointer;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
    max-width: 300px;
    margin-bottom: 24px;
}

article.event:hover {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

article.event h3 {
    color: #1a1a1a;
    font-size: 22px;
    margin-top: 10px;
}

.event .event-thumbnail {
    height: 150px;
    width: 100%;
    background-color: transparent;
    border-radius: 12px;
    background-position: center center;
    background-size: cover;
}

.event-cat-title {
    padding-top: 24px;
    color: white;
    background: #ff6c00;
    border-radius: 2px;
    text-align: center;
    border-radius: 6px;
    padding: 12px 24px;
    margin-top: 25px;
    font-size: 18px;
    margin-bottom: 16px;
}

.event-modal.modal {
    position: fixed;
    top: 24px !important;
    z-index: 99999999;
}

@media (min-width: 768px) {
    .event-modal .modal-dialog {
        width: 70vw;
        max-width: 850px;
    }
}

.event-modal .modal-content {
    border-radius: 0;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: none;
}

.event-modal .modal-content button.close {
    z-index: 99999999;
    background: #00000066;
    width: 35px;
    height: 35px;
    line-height: 21px;
    text-align: center;
    border-radius: 35px;
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    padding-right: 1px;
    padding-bottom: 3px;
    color: white;
    text-shadow: none;
    position: relative;
    right: -20px;
    padding: 0 !important;
}

.event-modal .modal-header {
    min-height: 360px;
    padding: 24px 48px;
    position: relative;
    background-size: cover;
    background-color: pink;
}

.event-modal .modal-title {
    font-size: 32px;
}

.event-modal .event-details .meta {
    margin-right: 14px;
    color: #222;
}

.event-modal .event-details .meta i {
    color: rgba(0, 0, 0, 0.25);
}

.event-modal .modal-body {
    padding: 24px 128px 128px;
}

.modal-backdrop.in {
    opacity: 0.75;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
    filter: alpha(opacity=75);
}

/* CALENDAR */
.calendar .page-heading h1 {
    color: #ff3093;
    font-weight: 700;
}

.calendar main.content::after {
    content: "";
    background: url(../img/kv-calendar.jpg) no-repeat;
    background-size: 400px;
    background-position: center left;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 120px;
    z-index: -1;
    left: -120px;
}

ul.cal-tabs {
    list-style: none;
    width: 100%;
    display: inline-block;
    background: #ff3093;
    border-bottom: 0px;
    border-radius: 4px;
    text-align: center;
    margin: 0 0 24px !important;
}

.cal-tabs li {
    font-size: 18px;
    margin-right: 36px;
    display: inline-block;
}

.cal-tabs li a {
    color: rgba(255, 255, 255, 0.5);
    padding-bottom: 12px;
    display: block;
    padding-top: 12px;
    font-size: 18px;
    border: none !important;
    font-family: "Akkurat";
    border-bottom: 3px solid transparent !important;
}

.cal-tabs li.active a,
.cal-tabs li a.active {
    color: #ffffff !important;
    background: none !important;
    border-bottom: 3px solid white !important;
}

.cal-view {
    margin-bottom: 0;
}

.cal-view.tab-content > .tab-pane {
    padding-top: 0;
}

.cal-view article.event {
    max-width: 100%;
    margin-bottom: 54px;
}

.cal-view article.event .event-thumbnail {
    height: 200px;
}

.cal-view article.event h3 {
    margin-bottom: 4px;
}

.cal-view .event-details {
    margin-bottom: 24px;
}

.cal-view .meta {
    margin-right: 14px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
    font-family: "Akkurat";
    float: left;
}

.cal-view .meta i {
    color: rgba(0, 0, 0, 0.25);
}

/* VIDEOS */
#videos {
    padding: 0 0 144px;
}

#videos .plyr__control {
    height: 48px !important;
}

.video-single {
    background: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    border-radius: 12px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    cursor: pointer;
}

.video-single:hover {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
}

.video-single .video-thumbnail img {
    border-radius: 12px 12px 0px 0px;
}

.video-single h4 {
    padding: 8px 12px 8px;
    font-size: 16px;
}

/* TICKETS */
.ticketing main.content::after {
    content: "";
    background: url(../img/bg-right-ticketing.jpg) no-repeat;
    background-size: 600px;
    background-position: bottom right;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    right: -250px;
    bottom: 0;
    opacity: 0.7;
}
.ticketing main.content::before {
    content: "";
    background: url(../img/bg-left-ticketing.jpg) no-repeat;
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto;
    background-size: 600px;
    background-position: bottom left;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    left: -250px;
    bottom: 0;
    opacity: 0.7;
}

.ticketing .page-heading h1 {
    color: #009993;
    font-weight: 700;
}

#ticketing {
    padding: 0;
}

.ticket-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 24px;
    margin-bottom: 24px;
}

.ticket-box h3 {
    font-size: 21px;
    font-weight: bold;
}

.ticket-box .event-details p {
    font-size: 13px;
    color: #1a1a1a;
    float: left;
    clear: both;
    margin-top: 12px;
}

.btn.btn-ticket.btn-primary,
.ticket-box .btn {
    clear: both;
    margin-top: 12px;
    background: #009993;
    color: white;
    border-color: #009993;
    font-family: "Akkurat";
    display: block;
    float: left;
}

.btn-d {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.5;
}

.passes .type {
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding-left: 24px;
    padding-right: 24px;
}

.passes .type:last-child {
    border-bottom: 0;
}

.row-eq-height {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.passes .type .icon {
    text-align: center;
    display: block;
    width: 100px;
    opacity: 0.5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    margin: 48px auto 24px;
}

.passes .type > h4 {
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 24px;
}

.passes .type .content p,
.passes .type .content li {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
}

.passes .type .single-pass {
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
}

.passes .type .meta {
    background: rgba(255, 255, 255, 0.9);
    padding: 24px;
    min-height: 160px;
}

.passes .type .meta h5 {
    font-size: 16px;
    font-weight: 600;
}

.passes .type .meta .description {
    color: rgba(0, 0, 0, 0.5);
}

.passes .type .meta .description p {
    margin-bottom: 4px;
    font-size: 14px;
}

.passes .type .meta .btn {
    margin-top: 8px;
    font-family: "Akkurat";
    padding-left: 24px;
    padding-right: 24px;
}

.passes .type .thumbnail {
    width: 100%;
    height: 100%;
    min-height: 160px;
    background-size: cover;
    background-position: center center;
}

.modal-backdrop.show {
    z-index: -1;
}

#sponsors {
    padding: 32px 0 0 0;
}

.logo-grid {
    padding-top: 24px;
}

.logo-grid img {
    height: 130px;
}

@media screen and (max-width: 1200px) {
    .logo-grid img {
        height: 110px;
    }
}

@media screen and (max-width: 991px) {
    .logo-grid img {
        display: none;
    }

    .logo-grid {
        width: 100%;
        background: url("https://ce2022.singaporeccc.org.sg/wp-content/themes/ce2021/assets/img/logo/CE-Logo-Bar_Transparent.png")
            no-repeat center;
        background-size: contain;
        height: 80px;
    }
}

.single-event-page .cover {
    width: 100%;
    background-size: cover !important;
    background-position: center center !important;
}

.single-event-page h1 {
    padding: 48px 0 0;
    font-weight: 700;
    color: #ff6c00;
}

.single-event-page article .event-details .meta {
    color: rgba(0, 0, 0, 0.5);
    font-family: "Akkurat";
    font-size: 13px;
}

.single-event-page article .flesh {
}

@media screen and (max-width: 767px) {
    main .page-banner {
        padding: 48px 0;
    }

    .brand-modal .modal-content {
        height: 100%;
        overflow: scroll;
    }

    .calendar main.content::after {
        content: "";
        background: url(../img/kv-calendar.jpg) no-repeat;
        background-size: 320px;
        background-position: bottom left;
        position: fixed;
        width: 100%;
        height: 100%;
        bottom: -30px;
        left: -90px;
        z-index: -1;
        opacity: 0.5;
    }

    .ticketing main.content::after {
        content: "";
        background: none;
        background-size: 320px;
        background-position: bottom right;
        position: fixed;
        width: 100%;
        height: 100%;
        bottom: -30px;
        right: -90px;
        z-index: -1;
        opacity: 0.5;
    }
    .ticketing main.content::before {
        content: "";
        background: none;
        background-size: 320px;
        background-position: bottom left;
        position: fixed;
        width: 100%;
        height: 100%;
        bottom: -30px;
        right: -90px;
        z-index: -1;
        opacity: 0.5;
    }

    .event-highlights main.content::after,
    .single-events main.content::after {
        content: "";
        background: none;
        background-size: 360px;
        background-position: top right;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 210px;
        z-index: -1;
        right: -96px;
        opacity: 0.5;
    }
    .online-programme main.content::after {
        content: "";
        background: none;
        background-size: 400px;
        background-position: top right;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 210px;
        z-index: -1;
        right: -300px;
        opacity: 0.5;
    }
    .online-programme main.content::before {
        content: "";
        background: none;
        background-size: 400px;
        background-position: top left;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 210px;
        z-index: -1;
        right: -300px;
        opacity: 0.5;
    }
    .filter-happening{
        padding: 0 50px;
    }
}
.mobile-only{
   display: none 
  }
  .desktop-only{
   display: block 
  }
@media (max-width: 600px) {
    #join-socmed .mc-field-group input[type="email"] {
        width: 100%;
    }
    #join-socmed .mc-field-group input[type="submit"] {
        width: 100%;
    }
  .item-card-happening__img{
    height: auto
	}
  .event .event-thumbnail{
    height: auto
  }
  #card-happening .item-card-happening__text{
  padding: 0
  }
  #card-happening .item-card-happening__text h3{
   font-size: 15px !important
  }
  #about p{
  font-size: 12px
  }
  .mobile-only{
   display: block 
  }
  .desktop-only{
   display: none 
  }
  
}
