/* mobile style*/
@media only screen and (max-width: 768px) {
    .bld-content {
        width: 100%;
        padding: 15px;
    }

    .bld-content h3 {
        font-size: 25px;
        line-height: 30px;
    }

    .leadership-item {
        height: 450px;
    }

    .team-info .team-content h3 {
        font-size: 18px;
        line-height: 25px;
    }
    
    .team-content {
        padding: 15px 0;
    }

    .team-info .team-content h4 {
        margin-bottom: 10px;
    }

    .service-3 .main-tabslet-accordion {
        display: block !important;
    }

    .team-info .team-content .line {
        margin-bottom: 10px;
    }

    .service-3 .tabslet-tab {
        width: 100%;
        max-width: 100% !important;
    }

    .service-3 .tabslet-content-wrap {
        max-width: 100% !important;
    }

    .service-3 .tabslet-tab .title {
        font-size: 16px;
    }

    .service-3 .number {
        width: 50px;
        min-width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .service-3 .tabslet-content {
        position: relative;
        padding: 35px !important;
    }

    .project-accordion a.accordion-title.plain {
        font-size: 16px !important;
    }

    .service-detail .box-category {
        display: none !important;
    }

    .bidding-row .bidding-content p {
        margin: 0 0 10px 0;
    }

    .bidding-row .bidding-content p:last-child {
        margin: 0px !important;
    }

    .col-br {
        border: 0px !important;
    }

    .project-full .project-thumbnail {
        padding-top: 100%;
    }

    .project-full {
        height: 400px;
    }

    .mt-footer {
        margin-bottom: 20px !important;
    }

    .home-title h1, .home-title h2, .home-title h3 {
        font-size: 22px;
        margin: 0px;
        color: #111;
    }

    .post-row .post-thumbnail {
        height: 220px !important;
    }

    .post-row .post-content h4 {
        font-size: 18px;
    }

    .home-6 .background-div:before {
        transform: unset !important;
        width: 100% !important;
        max-width: 100% !important;
        right: 0px !important;
    }

    .home-6 .box-image {
        position: unset !important;
    }

    .home-6 .box-image {
        transform: unset !important;
        left: 0px !important;
    }

    .home-6 .box-image img {
        transform: unset !important;
        left: 0px !important;
        height: unset !important;
        position: unset !important;
    }

    .sticky .col-inner {
        position: relative !important;
    }

    .background-text {
        max-width: 100%;
        font-size: 15px;
        color: #fff;
    }

    .zone-name .zone-title {
        font-size: 18px;
    }

    .project-row .project-content h4 {
        font-size: 22px;
        line-height: 28px;
        height: 55px;
    }

    .row-list .post-thumbnail {
        width: 100%;
        height: 200px;
    }

    .breadcrumb-zone > .breadcrumb > .rank-math-breadcrumb a, .breadcrumb-zone > .breadcrumb > .rank-math-breadcrumb span {
        font-size: 15px;
    }

    .row-list .post-content {
        width: 100%;
        height: unset;
        border: 0px !important;
    }

    .box-news-right {
        background: #fff;
        padding: 0px !important;
    }

    .post-list .post-thumbnail {
        width: 100%;
        height: 220px;
    }

    .post-list .post-content {
        border-bottom: 3px solid rgba(35, 58, 122, 0);
        background: #f8f8f8;
        padding: 25px 30px 30px;
        width: 100%;
    }

    .post-list .post-content h4 {
        font-size: 18px;
        font-weight: normal;
        -webkit-transition: all .2s ease-in-out;
        -o-transition: .2s ease-in-out all;
        -o-text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        transition: all .2s ease-in-out;
        margin-top: 10px;
        overflow: hidden;
        color: #000;
        line-height: 1.3;
        text-overflow: ellipsis;
    }

    .news-card-item.news-big .caption {
        position: unset;
    }

    .news-card-item.news-big .caption {
        position: unset;
        border-bottom: 3px solid rgba(35, 58, 122, 0);
        background: #f8f8f8;
        padding: 25px 30px 30px;
        width: 100%;
    }

    p.zone-title.fz-14.fw-300.text-99 {
        color: #999 !important;
    }

    .news-card-item.news-big .caption h2 a {
        font-size: 18px;
        font-weight: normal;
        -webkit-transition: all .2s ease-in-out;
        -o-transition: .2s ease-in-out all;
        -o-text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        transition: all .2s ease-in-out;
        margin-top: 10px;
        overflow: hidden;
        color: #000;
        line-height: 1.3;
        text-overflow: ellipsis;
    }

    .banner-child .img-scale {
        padding-top: 40%;
    }

    .news-card-item .title {
        margin: 0px;
    }

    .news-card-item.news-big .caption-more a {
        color: #999 !important;
    }

    .news-card-item.news-big .image:before {
        display: none !important;
    }

    header.header-single h1 {
        font-size: 30px;
        line-height: 35px;
    }

    div#masthead #logo {
        margin: 0px !important;
    }

    div#masthead #logo img {
        width: 150px !important;
        max-height: 40px !important;
        margin: 0px !important;
    }

    .news-detail-page .banner-child .img-scale, .small-page .banner-child .img-scale {
        padding-top: 50% !important;
    }

    div#masthead .flex-col.show-for-medium.flex-left {
        display: none !important;
    }

    .header-main li.html.custom {
        display: block !important;
    }

    .mfp-content div#main-menu ul li a img {
        display: none !important;
    }

    .mfp-content div#main-menu ul li {
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

    .mfp-content div#main-menu ul li a {
        font-size: 13px !important;
        color: #fff !important;
        padding: 10px !important;
    }

    .mfp-content, div#main-menu, .sidebar-menu.no-scrollbar {
        background: var(--primary-color) !important;
    }

    .bidding-row .bidding-thumbnail {
        width: 100%;
        height: 220px;
    }

    .bidding-row .bidding-content {
        width: 100%;
        padding: 20px 0 0 0;
    }

    .slide-main .caption .sticky h2 {
        text-align: left;
        font-size: 16px;
        line-height: 25px;
    }

    .slide-main .caption .sticky {
        padding-top: 15px;
        padding-bottom: 15px;
        background-size: cover !important;
        background-position: right;
    }

    .full_box {
        max-width: 100%;
        margin: 0 auto !important;
    }

    .recruitment-search .search-recruitment .form-item {
        flex: 100% !important;
        max-width: 100% !important;
        margin: 0 0 10px 0;
    }

    .main-title-2 {
        font-size: 25px;
        line-height: 35px;
    }

    .header.show-on-scroll, .stuck .header-main {
        height: 70px !important;
    }

    .banner-1000 img {
        height: 600px !important;
        object-fit: cover;
    }

    .about-2-item img {
        height: auto !important;
    }

    .gap-100 {
        padding: 0px !important;
    }

    .history-slide .caption .year-number {
        font-size: 60px;
    }

    .history-slide .button-prev i, .history-slide .button-next i {
        font-size: 50px;
    }

    .project-full .project-content:before {
        -webkit-transform: skewX(-45deg);
        -ms-transform: skewX(-45deg);
        position: absolute;
        top: 0;
        right: -50%;
        bottom: 0;
        transform: skewX(-45deg);
        z-index: -1;
        background: hsla(0, 0%, 100%, .85);
        width: 150%;
        height: 100%;
        content: "";
    }

    .product-full-section .main-button {
        position: absolute;
        top: unset;
        margin: 0;
        z-index: 99;
        left: 50%;
        bottom: -80px;
        transform: translateX(-50%);
    }

    .slide-project .swiper.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
        overflow: unset !important;
    }

    .project-full .project-content .project-info {
        max-width: 100%;
    }

    .slide-project {
        margin-bottom: 80px;
    }

    .slide-project .main-button .button-next {
        margin: 0 0 0 10px !important;
    }

    .slide-project .main-button {
        display: flex !important;
    }

    .stuck div#masthead {
        height: 70px !important;
        max-height: 70px !important;
    }

    .project-full .project-content {
        padding-bottom: 20px !important;
    }

    .home-22 #carousel {
        width: 100% !important;
    }

    .about-2 .gap-100 {
        padding-top: 30px !important;
    }

    .about-2 .box-text.text-left {
        position: unset !important;
    }

    .service-item {
        width: 100%;
        height: 250px;
    }

    .service-item .service-content {
        bottom: -100%;
    }

    .service-item:hover .service-content {
        bottom: 0px !important;
    }

    .service-item h4.service-title {
        padding: 15px;
        font-size: 15px;
        color: #fff;
    }

    .service-item .caption.text-white {
        display: none;
    }

    header.header-single h1 {
        font-size: 25px;
        line-height: 35px;
    }

    .breadcrumb-zone > .breadcrumb > .rank-math-breadcrumb p {
        display: none;
    }

    .zone-name .zone-title {
        font-size: 18px;
    }
}

/* iPad landscape style here */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .breadcrumb-zone > .breadcrumb > .rank-math-breadcrumb {
        margin: 0px;
        max-width: 55%;
        float: right;
        margin-right: 0px !important;
    }

    header.header-single h1 {
        font-size: 30px;
        line-height: 40px;
    }

    .bidding-row .bidding-content p {
        margin: 0 0 10px 0;
    }

    .bidding-row .bidding-content p:last-child {
        margin: 0px !important;
    }

    .col-br {
        border: 0px !important;
    }

    .main-title-2 {
        font-size: 28px;
    }

    .zone-name .zone-title {
        font-size: 25px;
    }

    .recruit-item .recruit-button a {
        padding: 8px 10px !important;
        min-width: 120px !important;
        font-size: 12px;
    }

    .service-item {
        width: 100%;
        height: 250px;
    }

    .service-item h4.service-title {
        padding: 15px;
        font-size: 15px;
        color: #fff;
    }

    .project-full .project-content {
        padding-bottom: 20px !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary li a {
        padding: 0 15px !important;
    }

    .home-title h1, .home-title h2, .home-title h3 {
        font-size: 28px !important;
    }

    .home-22 #carousel {
        width: 100% !important;
    }

    .home-6 .background-div:before {
        width: 100%;
    }

    div#masthead .header-inner.flex-row.container.logo-left.medium-logo-center {
        padding-right: 0px !important;
    }

    .col-100 {
        flex-basis: 100% !important;
        max-width: 100% !important;
    }

    .about-2 .gap-100 {
        padding-top: 30px !important;
    }

    .about-2 .box-text.text-left {
        position: unset !important;
    }

    .service-item .service-content {
        bottom: -100%;
    }

    .service-item:hover .service-content {
        bottom: 0px !important;
    }

    .service-item .caption.text-white {
        display: none;
    }

    .project-row .project-thumbnail {
        height: 230px;
    }

    .project-row .project-content h4 {
        font-size: 20px;
    }

    section.recruitment-search.section.overflow-hidden h2 {
        font-size: 28px;
    }

    .background-text {
        font-size: 16px;
    }
}

/* iPad portrait style here */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    .breadcrumb-zone > .breadcrumb > .rank-math-breadcrumb {
        margin: 0px;
        max-width: 55%;
        float: right;
        margin-right: 0px !important;
    }

    header.header-single h1 {
        font-size: 30px;
        line-height: 40px;
    }

    .bidding-row .bidding-content p {
        margin: 0 0 10px 0;
    }

    .bidding-row .bidding-content p:last-child {
        margin: 0px !important;
    }

    .col-br {
        border: 0px !important;
    }

    .main-title-2 {
        font-size: 28px;
    }

    .zone-name .zone-title {
        font-size: 25px;
    }

    .recruit-item .recruit-button a {
        padding: 8px 10px !important;
        min-width: 120px !important;
        font-size: 12px;
    }

    section.recruitment-search.section.overflow-hidden h2 {
        font-size: 28px;
    }

    .background-text {
        font-size: 16px;
    }

    .service-item {
        width: 100%;
        height: 250px;
    }

    .service-item .service-content {
        bottom: -100%;
    }

    .service-item h4.service-title {
        padding: 15px;
        font-size: 15px;
        color: #fff;
    }

    .service-item .caption.text-white {
        display: none;
    }

    .service-item:hover .service-content {
        bottom: 0px !important;
    }

    .col-100 {
        flex-basis: 100% !important;
        max-width: 100% !important;
    }

    div#masthead .header-inner.flex-row.container.logo-left.medium-logo-center {
        padding-right: 0px !important;
    }

    .home-6 .background-div:before {
        width: 100%;
    }

    .about-2 .box-text.text-left {
        position: unset !important;
    }

    .project-full .project-content {
        padding-bottom: 20px !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary li a {
        padding: 0 15px !important;
    }

    .home-title h1, .home-title h2, .home-title h3 {
        font-size: 28px !important;
    }

    .home-22 #carousel {
        width: 100% !important;
    }
}

@media only screen and (min-width: 768px) {
    .banner-child .img-scale {
        padding-top: 31.25%;
    }

    .zone-name .zone-title {
        font-size: 34px;
    }
}

@media only screen and (min-width: 1280px) {
    .zone-name .zone-title {
        padding-right: 65px;
        height: 80px;
    }

    .home-title h1 {
        text-transform: uppercase;
        font-size: 40px;
        margin: 0px;
        color: #111;
    }

    .home-title h2 {
        font-size: 40px;
        margin: 0px;
        color: #111;
    }

    .home-title h3 {
        font-size: 35px;
        margin: 0px;
        color: #111;
    }
}

/**desktop**/
@media only screen and (min-width: 768px) {
    .container-width, .full-width .ubermenu-nav, .container, .row {
        max-width: 1440px !important;
    }

    .zone-name .zone-title {
        font-size: 30px;
    }

    .home-title h1 {
        text-transform: uppercase;
        font-size: 35px;
        margin: 0px;
        color: #111;
    }

    .home-title h2 {
        font-size: 35px;
        margin: 0px;
        color: #111;
    }

    .home-title h3 {
        font-size: 35px;
        margin: 0px;
        color: #111;
    }
}