.re-hide {
    display: block;
}

.re-show {
    display: none;
}

.re-header, .re-menu {
    display: none;
}


/* for responsive header font size */
@media screen and (max-width: 1900px) {

    .header ul li {

    }

    .search-bar input[type="text"] {
        width: 65%;
    }

    .header .col-6 {
        -ms-flex: 0 0 63%;
        flex: 0 0 63%;
        max-width: 63%;
        padding-right: 5px;
        padding-left: 5px;
    }

    .header .col-2 {
        -ms-flex: 0 0 11.666667%;
        flex: 0 0 11.666667%;
        max-width: 11.666667%;
        padding-right: 5px;
        padding-left: 5px;
    }

}

@media screen and (max-width: 1600px) {

    .slogan-description {
        margin: 0 20%;
    }

    .description-box {
        margin: 0 13%;
    }

    .header ul li {
        margin: 0 5px;
    }

    .header a.parallelogram.btn {
        font-size: 15px;
        min-width: auto !important;
        padding: 5px 25px;
    }

    .float-right {
        float: none !important;
        display: inline-block;
    }

    .re-hide {
        display: none;
    }

    .re-show {
        display: block;
    }

}

/* for responsive header font size */

@media screen and (max-width: 1400px) {
    .news-card-detailed .news-card-image {
        width: 280px;
        min-width: 280px;
    }

    .news-details {
        -webkit-line-clamp: 3;
    }

    .adv-box-4 {
        min-height: 230px !important;
    }


    .switch-box, .switch-box-business {
        min-width: 9rem;
    }

    .event-type-news .news-card.detailed .news-card-content {
        max-width: 65%;
    }

    .adv-box.horizontal {
        min-height: 155px;
    }

}

@media screen and (max-width: 1400px) and (min-width: 992px) {

    .grid-bottom-description h5 {
        font-size: 16px;
    }
}

@media screen and (max-width: 1199px) {
    .news-card-image {
        width: 240px;
        min-width: 240px;
    }

    .adv-box {
        min-height: 460px;
    }

    .adv-box-4 {
        min-height: 200px !important;
    }

    .ip-banner {
        min-height: 260px;
    }

    .ip-banner .ip-banner-mask {
        background-image: none;
        background-color: rgba(0, 0, 0, 0.5);;
    }

    .ip-banner .ip-banner-content {
        max-width: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .business-subpage {
        padding: 2.5rem;
    }

    .business-subpage2 {
        padding: 1.25rem 2.5rem;
    }

    body {
        padding: 65px 0 0 0;
    }

    body p, body {
        font-size: 15px;
    }

    body h1 {
        font-size: 36px;
    }

    body h2 {
        font-size: 33px;
    }

    body h3 {
        font-size: 30px;
    }

    body h4 {
        font-size: 25px;
    }

    body h5 {
        font-size: 18px;
    }


    .re-header {
        display: block;
        padding: 0 20px 0 15px;
        background-color: #2f2f2f;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 65px;
        z-index: 2000;
        border-bottom: solid 1px #ffffff;
    }

    .re-header .row {
        height: 65px;
    }

    .re-header a {
        color: #0C20F3;
        text-decoration: none;
    }

    .menu-open {
        display: inline-block;
        cursor: pointer;
    }

    .menu-close {
        display: none;
        cursor: pointer;
    }

    .re-menu {
        display: block;
        background-color: rgba(31, 31, 31, 0.95);
        width: 100%;
        height: 100%;
        padding-bottom: 200px;
        overflow-x: scroll;
        left: 0;
        top: -100%;
        z-index: 1800;
        position: fixed;
        transition: all 0.3s ease 0s;
        opacity: 0;
    }

    .re-menu.show {
        top: 65px;
        opacity: 1;
    }

    .re-menu ul {
        margin: 0;
        padding: 0;
    }

    .re-menu ul li a {
        margin: 0 !important;
        color: #ffffff;
        text-decoration: none;
        width: 100%;
        display: block;
        padding: 15px;
        border-bottom: solid 1px #ffffff;
    }

    .re-menu a {
        color: #0C20F3;
        text-decoration: none;
    }

    .header {
        display: none;
    }

    .event-part-banner {
        height: 120px;
    }

    .home-swiper {
        height: 435px;
    }

    .swiper-button-next.home, .swiper-button-prev.home {
        top: 63% !important;
        color: #ffffff !important;
    }
}

@media screen and (max-width: 1024px) {
    .aboutus-subpage-banner {
        min-height: 400px;
    }

    .floating-arrow a {
        width: 40px;
        height: 40px;
        background-size: 20px 20px !important;
        right: 10px;
        margin-top: -20px;
    }

    .ip-gallery {
        overflow: auto;
        flex-wrap: nowrap;
        align-items: normal;
        justify-content: normal;
        padding: 10px;
    }

    .ip-gallery .rounded-circle-container {
        display: inline-block;
    }


}

/**/
@media screen and (max-width: 991px) {
    .adv-box-banner {
        min-height: 150px;
    }

    .download-background {
        min-height: 290px;
    }

    .download-item-box {
        top: 7%;
    }

    .res-adv-box.res-show {
        display: block;
    }

    .adv-box.res-hide {
        display: none;
    }

    .adv-box-4 {
        min-height: 180px !important;
    }

    .adv-box.horizontal {
        min-height: 106px;
    }

    .description-box {
        margin: 0 8%;
    }

    .slogan-description {
        margin: 0 25%;
    }

    .ip-character-group .flex.col-lg-6 {
        display: flex;
        margin-top: 0.75rem;
    }

    .contact-info {
        transform: none;
        position: static;
    }

    .home-swiper {
        height: 314px !important;
    }

    .swiper-button-next.home, .swiper-button-prev.home {
        top: 45% !important;
        color: #ffffff !important;
    }

    .grid-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        justify-items: center;
        grid-row-gap: 10px;
    }

    .grid-1 {
        grid-area: 1 / 1 / 3 / 3;
    }

    .grid-2 {
        grid-area: 3 / 1 / 4 / 2;
    }

    .grid-3 {
        grid-area: 3 / 2 / 4 / 3;
    }

    .grid-4 {
        grid-area: 4 / 1 / 5 / 2;
    }

    .grid-5 {
        grid-area: 4 / 2 / 5 / 3;
    }
}

@media screen and (max-width: 768px) {
    .character-block .character-text {
        /*width:65%;*/
    }
    .adv-box-banner {
        min-height: 120px;
    }

    .character-block .character-img {
        /*width: 130px;*/
    }

    .character-block .character-text {
        line-height: 2;
        padding-left: 1rem;
    }

    .adv-box-4 {
        min-height: 200px !important;
    }

    .ip-gallery .rounded-circle-container .rounded-circle, .ip-gallery-slide .rounded-circle {
        width: 80px; /* Adjust the width as needed */
        height: 80px; /* Adjust the height as needed */
    }

    .home-swiper {
        height: 250px !important;
    }

    .swiper-pagination-bullet {
        width: 8px !important;
        height: 8px !important;
    }

    .swiper-button-next.home, .swiper-button-prev.home {
        top: 38% !important;
        color: #ffffff !important;
    }

    body p, body {
        font-size: 14px;
    }

    body h1 {
        font-size: 34px;
    }

    body h2 {
        font-size: 30px;
    }

    body h3 {
        font-size: 28px;
    }

    body h4 {
        font-size: 20px;
    }

    body h5 {
        font-size: 16px;
    }

    .special-quotation-mark {
        font-size: 3.5vh;
    }

    .aboutus-subpage-banner {
        min-height: 330px;
    }
}

@media screen and (max-width: 576px) {
    .adv-box-banner {
        min-height: 100px;
    }

    .download-item-box {
        top: 5%;
    }

    .adv-box-4 {
        min-height: 150px !important;
    }

    .description-box {
        margin: 0 5%;
    }

    .slogan-description {
        margin: 0 10%;
    }

    .aboutus-subpage-banner {
        min-height: 270px;
    }

    .home-swiper {
        height: 200px !important;
    }

    .switch-box-area {
        display: grid;
    }

    .switch-box, .switch-box-business {
        margin-right: 0;
        min-width: 0;
        border-bottom: 1px solid #D60A30;
    }


    body p, body {
        font-size: 12px;
    }

    body h1 {
        font-size: 28px;
    }

    body h2 {
        font-size: 24px;
    }

    body h3 {
        font-size: 22px;
    }

    body h4 {
        font-size: 16px;
    }

    body h5 {
        font-size: 14px;
    }

    .banner-inner-content {
        min-width: 300px;
    }

    ul.aboutus-list {
        padding-left: 40px;
        color: #ffffff;
    }
    .event-type-news .news-card-detailed .news-card-content .news-timeslot, .event-type-news .news-card-detailed .news-card-content .news-location {
        font-size: 14px;
    }
    .event-type-news .news-card-detailed .news-card-content > .news-tags ul li{
        padding: 2px 14px;
        margin: 1px 0;
    }
}
@media screen and (max-width: 510px) {
    .event-type-news .news-card-detailed {
        flex-direction: column;
        align-items: start;

    }
}
@media screen and (max-width: 475px) {
    .adv-box-banner {
        min-height: 90px;
    }

    .download-item-box {
        top: -5%;
    }
}

@media screen and (max-width: 425px) {

    .ip-banner {
        min-height: 170px;
    }

    .event-type-news .news-card.detailed .news-card-content {
        max-width: 100%;
        margin-left: 0 !important;
    }

}

@media screen and (max-width: 375px) {
    .news-card-image {
        width: 280px;
    }
}
