
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Poppins", serif;
    font-weight: 400;
    color: #060606;
    font-size: 1rem;
}

.announcements {
    background: #0D346D;
    font-size: 12px;
    color: #fff;
}

    .announcements .slider-nav {
        left: unset;
        right: 20px;
        align-items: baseline;
    }

        .announcements .slider-nav.slider-nav-next {
            right: 0px;
        }

        .announcements .slider-nav:after {
            width: 1rem;
            height: 1rem;
        }

.btn-back {
    background: url("/media/oj1ptcf2/icon-back.png") no-repeat;
    width: 36px;
    height: 36px;
    display: inline-block;
    vertical-align: middle;
    transition: all .5s;
}

    .btn-back:hover {
        background: url("/media/qrkkdo34/icon-back-hover.png") no-repeat;
    }

.logo-container {
    position: relative;
    left: -50px;
}

.copyright {
    position: relative;
    left: -50px;
}
/***** Fonts *********/
.poppins-light {
    font-family: "Poppins", serif;
    font-weight: 300;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-italic {
    font-family: "Poppins", serif;
    font-style: italic;
}

.poppins-bold {
    font-family: "Poppins", serif;
    font-weight: 700;
    font-style: normal;
}

.poppins-medium {
    font-family: "Poppins", serif;
    font-weight: 500;
    font-style: normal;
}

.poppins-semibold {
    font-family: "Poppins", serif;
    font-weight: 600;
    font-style: normal;
}
/***** Header ******/

body.frontpage .header:not(.header--fixed) .nav-link {
    color: #363636;
}

    body.frontpage .header:not(.header--fixed) .nav-link:hover {
        border-bottom-color: transparent;
    }

.header--fixed .nav-link:hover {
    border-bottom-color: transparent !important;
}

.nav-link.navi-link--active,
.nav-link.nav-link--active,
.top-nav .nav-link {
    font-weight: 600;
    background: #fff;
    border-radius: 29px;
    padding: 0.375rem 1rem;
    letter-spacing: 0;
    text-transform: capitalize;
    font-size: 14px;
    color: #0d6efd;
    display: inline-block;
    border: 1px solid #0d6efd;
}

    .nav-link.navi-link--active:hover,
    .nav-link.nav-link--active:hover,
    .top-nav .nav-link:hover {
        background: #0d6efd;
        color: #fff !important;
        border: 1px solid #0d6efd;
    }

.nav-link, .nav-link:visited {
    border-bottom: 0;
    margin-left: 5px;
    margin-right: 5px;
}

.header {
    padding-top: 2px;
    padding-bottom: 2px;
    position: relative;
    box-shadow: 0px 3px 16px #00000033;
    background: #1D1D1D;
    color: #fff;
}
/* .header--fixed {
  top: 0;
  position: fixed;
} */
.header--fixed .nav-bar {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
}

.site-top {
    color: #fff;
    font-size: 24px;
    line-height: 10px;
}

.site-bottom {
    font-size: 14px;
    line-height: 10px;
}

.sitename {
    position: relative;
    top: 5px;
}

.search-wrapper {
    padding-left: 5px;
    padding-right: 5px;
}

    .search-wrapper img {
        width: 22px;
        height: 22px;
    }

.section__hero-content {
    max-width: 790px;
    padding: 0 10px;
}

.content-header h3 {
    font-size: 20px;
    line-height: 30px;
}

.section__description {
    font-size: 40px;
    line-height: 46px;
    font-family: "Montserrat", serif;
    font-weight: 700;
}

/****** Footer *****/
footer {
    background: #1D1D1D;
    padding-top: 5px;
    padding-bottom: 5px;
}

.border-bottom {
    border-bottom: 1px solid #eee !important;
    opacity: .3;
}

.copyright {
    color: #eeeeee;
    font-size: 12px;
}

.social-icon {
    padding: 0 5px;
}

.socialmedia {
    color: #eeeeee;
    font-size: 12px;
}

.footerlink {
    line-height: 18px;
}

    .footerlink li {
        margin-right: 0 !important;
    }

        .footerlink li a {
            text-decoration: none;
            color: #eeeeee;
            font-size: 12px;
            padding: 0 5px;
        }

            .footerlink li a:hover {
                color: #FFD500;
            }

        .footerlink li:after {
            content: "|";
            position: relative;
            color: #eeeeee;
        }

        .footerlink li:first-child a {
            padding-left: 0;
        }

        .footerlink li:last-child:after {
            display: none;
        }

        .footerlink li:last-child a {
            padding-right: 0;
        }

/***** Design ****/
.text-blue {
    color: #0D3F6D;
}

.page-title h1 {
    font-size: 30px;
    line-height: 46px;
    font-weight: 700;
}

.section {
    padding: 15px 0;
}

.cat-column {
    background-size: cover;
}

.cat-column:before {
    content: "";
    background: transparent linear-gradient(180deg, #12126800 0%, #542790 100%) 0% 0% no-repeat padding-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 10px;
}

.cat-column:hover::before {
    transform: rotateY(180deg); /* Flip effect */
}

.cat-title {
    position: absolute;
    bottom: 30px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    transition: opacity 0.3s ease-in-out;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
}

.cat-details {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(180deg);
    width: 100%;
    height: 100%;
    background: rgba(84, 39, 144, 0.8);
    color: white;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s, transform 0.6s;
    border-radius: 10px;
}

.cat-column:hover .cat-details {
    opacity: 1;
    transform: translate(-50%, -50%) rotateY(0deg);
}

.cat-subtitle {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.cat-desc {
    font-size: 12px;
}

.cat-details a {
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 2;
}

.box-link {
    z-index: 1;
}

    .box-link:hover {
        transition: all .5s;
    }

.form-search {
    max-width: 550px;
}
/**** Button ****/
.login-status button {
    margin-left: 5px;
}

    .login-status button:hover {
        color: #4EB7F5 !important;
    }

.btn-primary {
    background-color: #0345BF;
    color: #fff !important;
}

    .btn-primary:hover {
        background-color: #2061D9;
        color: #fff;
    }

.btn-info {
    background-color: #0AC9C9;
    border: 1px solid #0AC9C9;
}

    .btn-info:hover {
        background-color: #10BFBF;
        border: 1px solid #10BFBF;
    }

    .btn-info .fa-arrow-left {
        transition: all .5s;
        position: relative;
        left: 0;
    }

    .btn-info:hover .fa-arrow-left {
        left: -5px;
    }

.btn-danger {
    background-color: #FF2B02;
    border: 1px solid #FF2B02;
}

    .btn-danger:hover {
        background-color: #E92B07;
        border: 1px solid #E92B07;
    }

.btn-success {
    background-color: #23CF5F;
    border: 1px solid #23CF5F;
}

    .btn-success:hover {
        background-color: #19C755;
        border: 1px solid #19C755;
    }

.btn-warning {
    background-color: #e6bc15;
}

.btn-secondary {
    background-color: #98A7B5;
    border: 1px solid #979797;
}

.btn-export {
    background-color: #0CB59D;
    border: 1px solid #0CB59D;
    color: #fff;
}

    .btn-export:hover {
        background-color: #0BAA93;
        border: 1px solid #0BAA93;
        color: #fff;
    }

.btn-generate {
    background-color: #5CB85C;
    border: 1px solid #5CB85C;
    color: #fff !important;
}

    .btn-generate:hover {
        background-color: #40A840;
        border: 1px solid #40A840;
        color: #fff !important;
    }

.btn-withdrawn {
    background-color: #343A40;
    border: 1px solid #343A40;
    color: #fff;
}

    .btn-withdrawn:hover {
        background-color: #464C51;
        border: 1px solid #464C51;
        color: #fff;
    }

.btn-outline-secondary {
    border: 1px solid #7a8793;
    color: #7a8793;
}

    .btn-outline-secondary:hover {
        background-color: #3079FF;
        color: #fff;
    }

.btn-outline-dark {
    border: 1px solid #98A7B5;
    color: #98A7B5 !important;
}

.btn-outline-primary {
    background: #fff;
}

    .btn-outline-dark:hover {
        background-color: #fff;
        border: 1px solid #5CB85C !important;
        color: #5CB85C !important;
    }

.btn {
    font-size: 14px;
    font-weight: 600;
    border-radius: 31px;
    padding: 0.375rem 1rem;
}

    .btn.btn-lg {
        padding-top: .85rem;
        padding-bottom: .85rem;
        padding-left: 20px;
        padding-right: 20px;
    }

.form-search .form-control {
    height: 50px;
    padding-left: 30px;
    padding-right: 50px;
}

.input-search {
    position: absolute;
    z-index: 10;
    right: 5px;
    display: block;
    padding: 10px;
    background: #FFD500;
    border-radius: 22px !important;
    top: 3px;
    cursor: pointer;
}

.headline {
    text-align: center;
    font-size: 30px;
    color: #0D3F6D;
    font-weight: 700;
    letter-spacing: 0;
    position: relative;
}

    .headline::after {
        content: "";
        background: #FFD500;
        width: 69px;
        height: 7px;
        position: absolute;
        bottom: -8px;
        transform: translate(-50%, 50%);
        left: 50%;
    }

.font-12 {
    font-size: 12px;
}

.text-view {
    color: #0081C6;
}

.bg-home {
    padding-top: 6rem;
    padding-bottom: 8rem;
}
/****** Soalan & Jawapan *****/
.box-soalan {
    background: #fff;
    box-shadow: 0px 3px 6px #00000029;
    padding: 20px;
    border-radius: 10px;
}

    .box-soalan a {
        text-decoration: none;
    }

.view-more:hover .text-view {
    color: #4EB7F5;
}

.jenis-jawapan {
    background: #B7D1FD;
    padding: 5px 15px;
    font-size: 14px;
    border-radius: 17px;
    color: #141414;
}

.text-sesi {
    font-size: 12px;
    color: #363636;
    line-height: 16px;
}

.box-soalan .text-sesi {
    max-width: 213px;
}

.box-soalan .jenis-jawapan-wrapper {
    border-bottom: 1px dashed #556E9E;
}

.text-soalan,
.text-soalan a {
    color: #0D3F6D;
    font-weight: 700;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bg-lightblue {
    background: #F1F3F5;
}

.text-ahli-parlimen {
    color: #556E9E;
    font-size: 12px;
}

.divider {
    color: #00000029;
    padding: 0 10px;
}

.bg-header-content:before {
    content: "";
    background: url("/media/eaijth4l/header-banner.png") no-repeat;
    background-size: cover;
    background-position: center bottom;
    height: 150px;
    position: absolute;
    top: 0;
    width: 100%;
}

.header-bg {
    background: url("/media/eaijth4l/header-banner.png") no-repeat;
    position: relative;
    z-index: 1;
    background-size: cover;
    background-position: center bottom;
    padding-top: 4rem;
    padding-bottom: 1.5rem;
}

    .header-bg:before {
        content: "";
        background: transparent linear-gradient(rgb(48, 121, 255) 0%, rgb(3, 69, 191) 60%, rgb(13, 63, 109) 100%) no-repeat padding-box width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        opacity: .81;
        z-index: -1;
        top: 0;
    }

    .header-bg .jenis-jawapan {
        font-size: 16px;
    }

.sec-jawapan .text-soalan {
    font-size: 18px;
    line-height: 30px;
    border-bottom: 1px solid #556E9E;
    padding-top: 20px;
    padding-bottom: 30px;
    position: relative;
}

    .sec-jawapan .text-soalan::before {
        content: "";
        background: #0081C6;
        width: 44px;
        height: 7px;
        position: absolute;
        top: 10px;
        border-radius: 19px;
    }

.sec-jawapan .text-sesi,
.sec-jawapan .text-ahli-parlimen {
    font-size: 18px;
    line-height: 20px;
}

.sec-jawapan .text-ahli-parlimen {
    color: #5D5D5D;
}

.latest-update {
    color: #5D5D5D;
    font-style: italic;
}

.text-jawapan-from {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 700;
}

.text-jawapan {
  text-align: justify;
}
/****** Tab ******/
.nav-pills {
    display: inline-flex;
    border: 1px solid #A7BACF;
    border-radius: 25px;
}

    .nav-pills .nav-link {
        color: #1C2136;
        letter-spacing: 0;
        font-size: 14px;
        margin: 3px;
        cursor: pointer;
    }

        .nav-pills .nav-link.active {
            background-color: #FFD500;
            border-radius: 25px;
            color: #1C2136;
            font-weight: 700;
        }

/**** Filter *****/
.filter-container {
    box-shadow: 0px 3px 6px #00000029;
    background: #fff;
    border-radius: 6px;
    position: relative;
    top: -3rem;
    z-index: 1;
}

.input-group-lg > .form-control,
.input-group-lg > .input-group-btn > .btn {
    height: 50px;
}

.input-group-lg > .btn {
    font-size: 1rem;
}

.filter-container .form-select {
    height: 50px;
}

.form-control,
.form-select {
    border: 1px solid #A7BACF;
    height: 38px;
    font-size: 14px;
}

    .form-control:focus,
    .form-select:focus {
        box-shadow: none;
    }

.form-inline label {
    color: #1D1D1D;
    font-style: italic;
    font-weight: 500;
    text-transform: capitalize;
}

.text-purple {
    color: #542790;
}

.bg-topics {
    background: #fff;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 6px;
}

.topic-box {
    border: 1px solid #A7BACF;
    padding: 20px 10px;
    border-radius: 6px;
    min-height: 100px;
    max-height: 100px;
}

.topic-box:hover {
    border: 1px solid #4EB7F5;
    background: #4EB7F5;
}

.topic-num {
    font-size: 36px;
    font-weight: 700;
    line-height: 49px;
    color: #4EB7F5;
}

.topic-name {
    font-size: 14px;
    color: #4EB7F5;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 20px;
}

.topic-box:hover .topic-num,
.topic-box:hover .topic-name {
    color: #fff;
}
/* .content-scroll {
  height: 700px;
} */
/* .page-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 1rem);
  display: block;
  padding: 0;
} */

/* .btn-filter {
  position: absolute;
  bottom: 15px; 
  right: 35px;
} */
/**** Tanya Aida *****/
.oda-chat-wrapper .oda-chat-button {
    border-radius: 100% !important;
    padding: 10px !important;
    box-shadow: 0px 3px 9px #0081C68C;
}

.oda-chat-wrapper button.oda-chat-icon {
    background-color: #fff !important;
}

button.oda-chat-button::after {
    bottom: 65px !important;
    left: -83px !important;
    font-size: 13px !important;
    font-weight: 500;
    background: #00B9FF;
    padding: 5px 10px;
    box-shadow: 0px 3px 4px #00000038;
}

.oda-chat-wrapper .oda-chat-header-button:not(:disabled):hover {
    background-color: #fff !important;
}

.nav-topik a {
    color: rgba(20, 20, 20, .5) !important;
    letter-spacing: 0;
    font-weight: 400;
    text-transform: capitalize;
    background: transparent;
    border-radius: 17px;
    padding: 3px 10px;
    font-size: 14px;
    margin-right: 10px;
    margin-left: 0;
}

.soalan-list .nav-topik a {
    margin-right: 15px;
    padding: 0;
}

.nav-topik a.active {
    color: #0081C6 !important;
    font-weight: 600;
}

.img-resize {
    background-size: cover;
}
/***** Categories Highlights ****/
.cat-column {
    max-height: 190px;
    min-height: 190px;
    border-radius: 10px;
    background-repeat: no-repeat;
    overflow: hidden;
    perspective: 1000px; /* Adds 3D effect */
}

.controls {
    margin-top: 30px;
    text-align: center;
}

    .controls a {
        color: #333;
    }

    .controls span.custom-arrow {
        display: none;
    }

.pagination .dt-paging-button.page-item.active > .page-link {
    background-color: #542790;
    border-color: #542790;
}

.pagination .page-link {
    font-size: 13px;
}

.dt-info {
    font-size: 13px;
    text-align: center;
    margin-top: 20px;
}

.pagination {
    justify-content: center;
}

table.dataTable th, table.dataTable td {
    box-sizing: content-box;
    font-size: 14px;
}

.swiffy-slider .slider-indicators .active {
    width: 32px;
    opacity: .8;
    border-radius: 20px;
}
/**** Topics ****/
.filtering .nav-pills {
    border-radius: 0;
    border: 0;
}

.filtering .nav-pills .nav-link {
    text-transform: capitalize;
    border-radius: 0 !important;
    color: #fff;
    margin: 0;
}

.filtering .nav-pills .nav-link.active {
    background-color: none;
    border-radius: 0;
    color: #fff;
    font-weight: 700;
}

.filtering .nav-pills .nav-link.tab-dewanrakyat {
    background-color: #067ACD;
}

.filtering .nav-pills .nav-link.tab-dewannegara {
    background-color: #CB2125;
}

.filtering .nav-pills .nav-link.tab-dewannegara[aria-selected="false"] {
  background-color: #F08689;
}

.filtering .nav-pills .nav-link.tab-dewanrakyat[aria-selected="false"] {
  background-color: #9BC8E9;
}

.filtering .tab-content {
    background: #F8F9FA;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 0px 0px 6px 6px;
}

.filtering .tab-content:has(#dewanRakyatTab.active) {
  border-top: 6px solid #067ACD;
}

.filtering .tab-content:has(#dewanNegaraTab.active) {
  border-top: 6px solid #CB2125;
}

.nav-fill .nav-item {
    margin-right: 5px;
    border-radius: 6px 6px 0px 0px;
    overflow: hidden;
}

    .nav-fill .nav-item:last-child {
        margin-right: 0;
    }

.content-overlap {
    position: relative;
    top: -6rem;
    z-index: 1;
}

.soalan-list {
    display: none;
}
/**** Custom Scroll ****/
.mCSB_inside > .mCSB_container {
    margin-right: 20px;
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background-color: #D1DBE6;
}

.mCSB_scrollTools .mCSB_draggerRail {
    background-color: #EAF0F6;
}

.dataTable > thead > tr > th {
    background: #0D3F6D;
    color: #F5F6FB;
    font-size: .875rem;
    font-weight: 500;
    border-color: #A7BACF;
}

.dataTable tr td {
    border-width: 1px;
    border-color: #E6EBF2;
}

.logo-image {
    position: relative;
    left: -10px;
    height: 40px;
}
/**** Responsives *****/
@media (max-width: 1200px) {
    .logo-container,
    .copyright {
        left: 0;
    }

    .logo-image {
        left: 0px;
    }
}

@media (max-width: 992px) {
    .header .nav-bar {
        display: block;
    }
}

@media (max-width: 768px) {
    .footerlink li a:first-child {
        padding-left: 0;
    }

    .btn-filter {
        position: relative;
        bottom: 0px;
        right: 0px;
    }
}
