/*------------------------------------*\
  SETTINGS
\*------------------------------------*/

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    font-family: "Roboto", "Noto Sans TC", "Microsoft JhengHei", "微軟正黑體", sans-serif;
    color: #595757;
    font-size: 16px;
    font-weight: 400;
    line-height: 2em;
    letter-spacing: 1px;
    background-color: #F7F7F7;
}

body.fixed {
    overflow: hidden;
}


a {
    color: #595757;
    transition: 0.3s;
}

a:hover {
    opacity: 0.95;
    text-decoration: none;
}

ul {
    padding-left: 0;
    margin-bottom: 0;
}


b, strong {
    font-weight: 700;
}


::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #727171;
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 14px;
    opacity: 1; /* Firefox */
}
  
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #727171;
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 14px;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #727171;
    font-weight: 400;
    letter-spacing: 1px;
}

.pre {
    white-space: pre-line; 
}

.centerline {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 100vh;
    background-color: #B9B9B9;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.main {
    overflow: hidden;
}

@media (min-width: 576px) {
    html {
        font-size: 16px;
    }
}





/*------------------------------------*\
  UTILITIES
\*------------------------------------*/

.overlay {
    position: relative;
    transition: .3s;
}

.overlay::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 1;
}

.overlay-2::before {
    opacity: 0.2;
}

.overlay-4::before {
    opacity: 0.4;
}

.p-relative {
    position: relative;
}

.o-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.list-style-none {
    list-style: none;
}

.add-shadow {
    box-shadow: 0 4px 15px 0 rgb(175 175 175 / 20%);
}

.img-responsive img {
    max-width: 100%;
    height: auto !important;
}



/**
 *  Width
 */

@media (min-width: 576px) {
    .w-lg-auto {
        width: auto !important;
    }
    
}




/*------------------------------------*\
  FONT
\*------------------------------------*/

.letter-spacing-2 {
    letter-spacing: 2px;
}

.letter-spacing-3 {
    letter-spacing: 3px;
}

.letter-spacing-4 {
    letter-spacing: 4px;
}

.letter-spacing-5 {
    letter-spacing: 5px;
}

.letter-spacing-8 {
    letter-spacing: 8px;
}

.letter-spacing-11 {
    letter-spacing: 11px;
}

.line-height-5 {
    line-height: 1.5em;
}

.line-height-8 {
    line-height: 1.8em;
}

.font-small {
    font-size: 12px;
}



/* heading */
.section-header .heading {
    font-size: 36px;
    letter-spacing: 3px;
    font-weight: 900;
    line-height: 1.5em;
    text-transform: uppercase;
}

    .heading--line {
        position: relative;
        line-height: normal;
    }

    .heading--line::after {
        content: "";
        position: absolute;
        right: 0;
        top: 56%;
        transform: translateY(-50%);
        width: 36%;
        height: 1px;
        background-color: #707070;
        display: none;
    }

.sub-heading {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
}


.block-title {
    font-size: 36px;
}

@media(min-width: 576px) {
    .section-header .heading {
        font-size: 60px;
    }

    .heading--line::after {
        width: 168px;
        display: block;
    }
    .block-title {
        font-size: 48px;
    }
    
}    

@media(min-width: 992px) and (max-width: 1280px) {
    .heading--line::after {
        display: none;
    }
}




/*------------------------------------*\
  COLORS, BG & BORDER
\*------------------------------------*/

.text-dark {
    color: #000000!important;
}

.color-primary {
    color: #E7242E;
}

.color-gray-light {
    color: #b5b5b6;
}

.color-gray-dark {
    color: #7A7A7A;
}


.bg-color-primary {
    background-color: #E7242E;
}

.bg-color-secondary {
    background-color: #54C3F1;
}

.bg-color-gray {
    background-color: #f8fafc;
}

.bg-color-light {
    background-color: #fff;
}


.text-muted {
    font-size: 14px;
}

.under-below { 
    -webkit-text-underline-position: under;
    -ms-text-underline-position: below;
    text-underline-position: under; 
}


.ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-line-2 {
    -webkit-line-clamp: 2;
}

.ellipsis-line-3 {
    -webkit-line-clamp: 3;
}


.writing-mode-v-rl {
    writing-mode: vertical-rl;
}

.writing-mode-v-lr {
    writing-mode: vertical-lr;
}






/*------------------------------------*\
  LAYOUTS
\*------------------------------------*/

.container-wide {
    width: 1600px;
    max-width: 90%;
    margin-right: auto;
    margin-left: auto;
}

.section {
    padding-top: 60px;
    padding-bottom: 80px;
}

@media (min-width: 1200px) {
    .section {
        padding-top: 120px;
        padding-bottom: 120px;
    }
}





/*------------------------------------*\
  COMPONENTS
\*------------------------------------*/

/**
 *  Button
 */

.button {
    display: inline-block;
    padding: 8px 40px;
    letter-spacing: 2px;
    font-size: 14px;
    border-radius: 1px;
    border: 1px solid transparent;
    background-color: transparent;
    font-size: 15px;
    font-weight: 400;
    transition: 0.3s;
}

.button-primary {
    background-color: #54C3F1;
    color: #fff;
}

.button-primary:hover {
    background-color: #fff;
    color: #54C3F1;
    border-color: #ddd;
}

.button-secondary {
    background-color: #E7242E;
    color: #fff;
}

.button-secondary:hover {
    background-color: #f3f3f3;
    color: #E7242E;
    border-color: #ddd;
}

.button-light {
    background-color: #fff;
    color: #7A7A7A;
}

.button-light:hover {
    background-color: #2a2a2a;
    color: #fff;
}


.button-outline-primary {
    color: #7A7A7A;
}

.button-outline-primary:hover {
    background-color: #333;
    color: #fff;
}

.button-outline-light {
    border-color: #fff;
    color: #fff;
}

.button-outline-light:hover {
    background-color: #fff;
    color: #333;
}


.button-with-arrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .button-primary.button-with-arrow svg {
        stroke: #fff;
    }

    .button-primary.button-with-arrow:hover svg {
        stroke: #333;
    }

    .button-outline-light.button-with-arrow svg {
        stroke: #fff;
    }

    .button-outline-light.button-with-arrow:hover svg {
        stroke: #333;
    }




/**
 *  Dropdown
 */


.drop {
    position: relative;
}

    .drop__button::after {
        position: absolute;
        font-family: 'Font Awesome 5 Free';
        font-weight: 700;
        content: '\f0d7';
        right: -20px;
    }

    .drop__content {
        display: none;
        position: absolute;
        top: 85px;
        width: 100%;
        background-color: #fff;
    }

    .drop:hover .drop__content {
        display: block;
    }

    .drop:hover .drop__content a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #eee;
        line-height: 1.5em;
    }

    .drop:hover .drop__content a:hover {
        color: #54c3f1;
    }




/**
 *  Collapse
 */


.collapse__content {
    display: none;
}

.collapse__button.active ~ .collapse__content {
    display: block;
}

.collapse__button::after {
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    font-weight: 700;
    content: '\f0d7';
    margin-left: 5px;
}



/**
 *  Animate
 */

.animate {
    animation-duration: 1s;
}

@keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translate3d(-40px, 0, 0);
    }
  
    to {
      opacity: 1;
      transform: none;
    }
}

@keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translate3d(40px, 0, 0);
    }
  
    to {
      opacity: 1;
      transform: none;
    }
}

@keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translate3d(0, -40px, 0);
    }
  
    to {
      opacity: 1;
      transform: none;
    }
}

@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translate3d(0, 40px, 0);
    }
  
    to {
      opacity: 1;
      transform: none;
    }
}

.animate__delay-200ms {
    animation-delay: 200ms;
}

.animate__delay-400ms {
    animation-delay: 400ms;
}

.animate__delay-600ms {
    animation-delay: 600ms;
}

.animate__delay-800ms {
    animation-delay: 800ms;
}

.animate__delay-1s {
    animation-delay: 1s;
}



/**
 *  Image box
 */

.image-box {
    position: relative;
    display: flex !important;
}

    .image-box-outer {
        width: 100%;
        padding-bottom: 100%;
        position: relative;
        overflow: hidden;
        margin: 0;
        line-height: 0;
    }

    .image-box-outer.vertical {
        padding-bottom: 120%;
    }

    .image-box-outer.ratio-3-2 {
        padding-bottom: 66.66%;
    }

    .image-box-outer.ratio-16-9 {
        padding-bottom: 56.25%;
    }

        .image-box-inner {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            background: #f1f1f1;
        }

            .image-box-inner img {
                width: 100%;
                height: 100%;
                object-position: 50% 50%;
                object-fit: cover;
            }


.image-hover--zoom img {
    transition: 0.5s;
}

.image-hover--zoom:hover img {
    transform: scale(1.05);
}

.image-box .caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}



/**
 *  icon box
 */

.icon-box .icon {
    width: 40px;
    height: 40px;
    border: 1px solid #919191;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.icon-box__i svg {
    width: 48px;
    height: 48px;
}

.icon-box__title {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
}

    .icon-box__desc {
        font-size: 15px;
        font-weight: 400;
    }



/**
 *  accordion
 */

.accordion .card {
    margin-bottom: 10px;
}

    .accordion .btn-link {
        display: block;
        width: 100%;
        text-align: left;
        color: #333;
        font-size: 14px;
    }



/**
 *  Slider
 */

.site-hero {
    position: relative;
}

.hero-slider {
    width: 100%;
    overflow: hidden;
}

    .hero-slider .slide {
        position: relative;
        height: 90vh;
    }

    .hero-slider .slide::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(28, 28, 28, 0.3);
    }

    .hero-slider .slide-content {
        position: absolute;
        width: 90%;
        top: 62%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        letter-spacing: 2px;
    }

    .hero-slider .slide-content h2 {
        font-size: 36px;
        font-weight: 700;
    }

    .hero-slider .slide-content p {
        font-size: 18px;
        line-height: normal;
    }

    .site-hero .slick-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
    }

    .site-hero .arrow-prev {
        left: 25px;
    }

    .site-hero .arrow-next {
        right: 25px;
    }

    .site-hero .slick-arrow > svg {
        width: 36px;
        height: 36px;
    }
    

    
@media (min-width:576px) {
    .hero-slider .slide {
        height: 100vh;
    }

    .slide-content {
        width: 70%;
        top: 65%;
        left: 10%;
        transform: translateY(-50%);
    }

    .hero-slider .slide-content h2 {
        font-size: 72px;
        font-weight: 700;
    }

    .hero-slider .slide-content p {
        width: 50%;
        font-size: 22px;
    }
}

@media (max-width:576px) {
    .slider-control {
        display: none;
    }

    #slick-slide00 .slide {  
        background-position: 65% !important;
    }
}



/**
 *  carousel
 */

.carousel {
    width: 100%;
    overflow: hidden;
}

    .carousel-control {
        position: absolute;
        width: 200px;
        bottom: -50px;
        left: 50%;
        transform: translate(-50%);
    }

    .carousel-control .swiper-button-prev:after,
    .carousel-control .swiper-container-rtl .swiper-button-next:after,
    .carousel-control .swiper-button-next:after,
    .carousel-control .swiper-container-rtl .swiper-button-prev:after {
        display: none;
    }

    .carousel-slides-count {
        font-size: 14px;
    }
    


/**
 *  page banner
 */

.page-banner {
    position: relative;
    height: 500px;
}

    .page-banner__content {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: #666;
    }

@media(min-width: 576px) {
    .page-banner {
        margin-top: 90px;
    }
}


/**
 *  page breadcrumb
 */

.page-breadcrumb {
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: normal;
} 

    .page-breadcrumb li {
        display: inline;
        align-items: center;
    }

        .page-breadcrumb li a {
            font-size: 14px;
        }

        .page-breadcrumb li:last-child svg {
            display: none;
        }



/**
 * Pagination
 */

 .page__pagination {
    margin-top: 60px;
    margin-bottom: 40px;
}

    .page__pagination .pagination {
        justify-content: center;
        padding-left: 0;
    }

        .pagination .page-item {
            margin-right: 12px;
            list-style: none !important;
        }

        .pagination .page-item:last-child {
            margin-right: 0;
        }

        .pagination .page-link {
            display: inline-block;
            padding: 0;
            color: #222222;
            border: 1px solid #222222;
            font-size: 15px;
            line-height: 30px;
            width: 30px;
            height: 30px;
            border-radius: 1px !important;
            text-align: center;
        }

        .pagination .page-link:hover {
            background-color: #222222;
            color: #fff;
            opacity: 0.8;
        }

        .pagination .page-link.active {
            background-color: #222222;
            color: #fff;
        }

        .pagination .page-link svg {
            position: relative;
            top: -3px;
            stroke: #626262;
            stroke-width: 1.5;
            width: 22px;
            height: 22px;
        }

        .pagination .page-item .page-quick-link {
            background-color: #efefef;
            border-color: #efefef;
        }

        .pagination .page-item .page-quick-link svg {
            stroke: #9a9a9a;
        }




/**
 *  Back to Top
 */

.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    cursor: pointer;
    display: none;
}

.back-to-top img {
    width: 24px;
    background: #fff;
    border-radius: 2px;
}




/**
 *  Header
 */

.header {
    position: fixed;
    top: 0;
    padding-left: 5%;
    width: 100%;
    background-color: #fff;
    z-index: 999;
    transition: 0.3s;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(28% - 90px);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 90px 90px;
    border-color: transparent transparent #e7242e transparent;
    /* z-index: -1; */
    transition: 0.3s;
}

.header::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 72%;
    height: 90px;
    background-color: #E7242E;
    z-index: -1;
    transition: 0.3s;
}

.header li {
    list-style: none;
}

    .site-nav {
        display: flex;
        align-items: center;
        transition: 0.3s;
    }

    .site-nav--right {
        display: flex;
        margin-left: auto;
    }

        .site-logo a {
            display: inline-block;
            font-size: 32px;
            font-weight: 700;
            letter-spacing: 5px;
            line-height: 1.2em;
        }

        .site-logo img {
            height: 70px;
            transition: 0.3s;
        }

        .site-menu {
            display: flex;
            justify-content: space-between;
            width: 100%;
        }

        .site-menu > .item {
            line-height: 85px;
        }

            .site-menu .item > a {
                position: relative;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-left: 30px;
                margin-right: 30px;
                letter-spacing: 1px;
                color: #fff;
            }

            .site-menu .item > a::before {
                content: "";
                width: 0;
                height: 1px;
                background-color: #ffcfcf;
                position: absolute;
                bottom: 15px;
                transition: 0.3s;
            }

            .site-menu .item > a:hover::before {
                width: 100%;
            }

            .header .contact-btn {
                color: #fff;
                background-color: #54C3F1;
                width: 171px;
                padding: 5px 10px;
                margin-right: 30px;
                text-align: center;
            }

    .site-menu__contact {
        line-height: 90px;
        width: 240px;
        text-align: center;
        background-color: #54C3F1;
        color: #fff;
        margin-left: auto;
    }

    .site-menu__contact:hover {
        color: #fff;
        background-color: #1b1d1e;
        opacity: 1;
    }

.header.sticky {
    background-color: #fff;
    box-shadow: 0 5px 30px 5px rgb(0 0 0 / 10%);
}

    .header.sticky::after {
        height: 70px;
    }

    .header.sticky::before {
        left: calc(18% - 69px);
        border-width: 0 0 70px 70px;
    }

    .header.sticky .site-menu > .item {
        line-height: 70px;
    }

    .header.sticky .drop__content {
        top: 70px;
    }

        .header.sticky .site-logo img {
            height: 50px;
        }

        .header.sticky .site-menu__contact {
            line-height: 70px;
        }

      
.langs-select .drop__content {
    margin-left: 10px;
}   


@media (min-width: 576px) {
    .site-nav .site-logo {
        width: 140px;
    }

    .site-logo a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

        .site-logo .logo {
            height: 32px;
        }   
}

@media (min-width: 992px) {
    .header .contact-btn {
        display: none;
    }

}

@media (min-width: 1080px) {
    .header::before {
        left: calc(18% - 89px);
    }

    .header::after {
        width: 82%;
    }
    
}

@media (max-width: 1366px) {
    .site-menu .item > a {
        margin-left: 10px;
        margin-right: 10px;
    }

    .site-menu__contact {
        width: 180px;
    }
}

@media (max-width: 1280px) {
    .site-menu .item > a {
        font-size: 13px;
    }

    .site-menu__contact {
        width: 140px;
    }
}

@media (max-width: 991px) {
    .header::after {
        display: none;
    }

    .header::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .header .contact-btn {
        width: 110px;
        font-size: 14px;
        flex-shrink: 0;
        margin-left: auto;
    }

    .header::before {
        border-width: 0 0 70px 70px;
        left: calc(50% - 70px);
    }

    .header::after {
        width: 50%;
        height: 70px;
    }

    .header.sticky::before {
        left: calc(50% - 70px);
    }

    .site-logo a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

        .site-logo a > img {
            height: 50px;
        }
}




/**
 *  Mobile Nav
 */

.mobile-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
    margin-right: 30px;
}

.sidebar-toggle {
    transition: 0.3s;
}

    .toggle-icon {
        position: relative;
        width: 22px;
        height: 14px;
        margin: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
    }
            
        .toggle-icon span {
            display: block;
            position: absolute;
            height: 2px;
            width: 100%;
            background-color: #525252;
            border-radius: 9px;
            opacity: 1;
            left: 0;
            -webkit-transform: rotate(0deg);
            -moz-transform: rotate(0deg);
            -o-transform: rotate(0deg);
            transform: rotate(0deg);
            -webkit-transition: .25s ease-in-out;
            -moz-transition: .25s ease-in-out;
            -o-transition: .25s ease-in-out;
            transition: .25s ease-in-out;
        }

        .toggle-icon span:nth-child(1) {
            top: 0px;
            -webkit-transform-origin: left center;
            -moz-transform-origin: left center;
            -o-transform-origin: left center;
            transform-origin: left center;
        }
            
        .toggle-icon span:nth-child(2) {
            top: 7px;
            -webkit-transform-origin: left center;
            -moz-transform-origin: left center;
            -o-transform-origin: left center;
            transform-origin: left center;
        }
            
        .toggle-icon span:nth-child(3) {
            top: 14px;
            -webkit-transform-origin: left center;
            -moz-transform-origin: left center;
            -o-transform-origin: left center;
            transform-origin: left center;
        }

        .sidebar-toggle.open .toggle-icon span:nth-child(1) {
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            transform: rotate(45deg);
            top: -1px;
            left: 4px;
        }
            
        .sidebar-toggle.open .toggle-icon span:nth-child(2) {
            width: 0%;
            opacity: 0;
        }
            
        .sidebar-toggle.open .toggle-icon span:nth-child(3) {
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            transform: rotate(-45deg);
            top: 14px;
            left: 4px;
        }
    

.slide-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #fff;
    opacity: 0;
    transition: .3s;
    z-index: 99;
    pointer-events: none;
}

    .slide-sidebar > ul {
        padding-left: 0;
    }

        .slide-sidebar ul > li > a {
            display: inline-block;
            padding: 10px 40px;
            width: 100%;
            color: #333;
            letter-spacing: 2px;
            font-size: 18px;
            text-align: center;
        }


.slide-sidebar.active {
    opacity: 1;
    height: 100vh;
    pointer-events: initial;
}

.mobile-menu {
    width: 100%;
}

.mobile-nav {
    z-index: -1;
}

.mobile-nav::before {
    position: absolute;
    top: -150%;
    left: -25%;
    content: "";
    background-color: #fff;
    width: 150%;
    height: 150%;
    z-index: -1;
}

.mobile-nav.active::before {
    top: -25%;
}

    .mobile-nav a {
        display: inline-block;
        padding: 10px 40px;
        width: 100%;
        color: #333;
        letter-spacing: 2px;
        font-size: 18px;
        text-align: center;
    }


.mobile-nav .inner-content {
    margin-top: 140px;
}

.mobile-nav .collapse__item.langs-select .collapse__content {
    background-color: #eee;
}

/**
 *  side menu
 */

 .side-menu {
    width: 100%;
}

.side-menu.go-down {
    margin-top: 30px;
}

    .side-menu ul {
        padding-left: 0;
    }


        .side-menu a {
            display: block;
            padding: 7px 10px;
            font-size: 15px;
            color: #5c5c5c;
            border-bottom: 1px solid #e8e9ea;
        }
        

        .side-menu .layer-1 > a:hover {
            color: #000;
        }
       

        .aside-label {
            color: #8D8D8D;
            font-size: 16px;
            margin-bottom: 5px;
        }

        .side-menu .collapse__button {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .side-menu .collapse__button ~ .collapse__content a {
            padding-left: 24px;
        }

            .side-menu a > svg {
                display: none;
            }

            .side-menu .collapse__button > svg {
                display: inline-block;
            }


  

@media(min-width: 992px) {  
    .side-menu {
        width: 230px;
    }

    .side-menu.go-down {
        margin-top: 140px;
    }

    .mobile-toggle {
        display: none;
    }
}



/**
 *  Social Media
 */

.social-media a {
    background-color: #B9B9B9;
    margin-left: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

    .social-media a > svg {
        height: 16px;
    }




/**
 *  Post
 */

.inline-post {
    display: flex;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

    .inline-post-date {
        margin-right: 40px;
    }



/**
 *  Product
 */
 
.product .product-title {
    display: block;
    font-size: 16px;
    font-weight: 400;
    margin-top: 10px;
    text-align: center;
}


.p-slider-nav .image-box {
    cursor: pointer;
}

.p-slider-nav .slick-prev:before,
.p-slider-nav .slick-next:before {
    color: rgb(145, 145, 145);
}



/**
 *  Ad
 */

.ad {
    position: relative;
    height: 60vh;
    z-index: 1;
}

.ad-full {
    height: 100vh;
}

.ad-full::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 28, 28, 0.3);
    z-index: -1;
}

    .ad-card {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: #fff;
        width: 360px;
        font-size: 15px;
    }

    .ad-card.left {
        left: 20%;
    }

    .ad-card.right {
        right: 20%;
    }

        .ad-card .button {
            width: 160px;
        }

    .ad-heading {
        font-size: 20px;
        margin-bottom: 10px;
    }


/**
 *  Contact
 */

.label {
    font-size: 15px;
}


/**
 *  Footer
 */

.footer {
    background-color: #e7242e;
    color: #ffffff;
}

.footer li {
    list-style: none;
}
        
    .footer-logo {
        background-color: #fff;
    }

        .footer-logo img {
            height: 90px; 
        }

    
        .footer-col-label {
            font-weight: 700;
            margin-bottom: 30px;
            font-size: 22px;
        }

        .footer-nav a {
            color: #ffffff;
        }
        
        .footer-nav .item {
            margin-bottom: 10px;
            margin-left: 10px;
            margin-right: 10px;
        }


    .footer-social {
        margin-left: 0;
    }

        .footer-social .social-media {
            margin-top: 36px;
            justify-content: center;
        }

        .footer-social .social-media a {
            margin-right: 8px;
            background-color: #2A2A2A;
            border-radius: 0;
            width: 36px;
            height: 36px;
            border-radius: 5px;
        }

        .footer-social .social-media a > svg {
            height: 16px;
        }

    .copyright {
        font-size: 12px;
        padding-bottom: 8px;
        margin-top: 20px;
        color: #595757;
    }

.whatsapp img {
    width: 150px;
    height: 150px;
}

.whatsapp i {
    font-size: 24px;
    margin-right: 3px;
}

.whatsapp a:hover i {
    color: #0056b3 !important;
}
   
@media (min-width: 992px) {
    .footer {
        display: flex;
    }

        .footer-logo {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-left: 20px;
            padding-right: 20px;
            width: 500px;
            flex-shrink: 0;
        }
        
        .footer-nav .item {
            margin-left: 0;
        }

        .footer-col {
            margin-bottom: 0;
            padding-top: 60px;
            padding-bottom: 60px;
        }

        .footer-nav > ul {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            width: 580px;
            margin-left: auto;
            margin-right: auto;
        }

        .footer-nav > ul a {
            display: inline-block;
            width: 150px;
        }

        .footer-social .social-media {
            margin-top: 58px;
        }

        .footer-social .social-media a {
            margin-right: 0;
        }
}


@media (max-width: 1366px) {
    .footer-logo {
        width: 400px;
    }
}
    


@media (max-width: 991px) {
    .footer {
        text-align: center;
        padding-bottom: 60px;
    }
        
        .footer-logo {
            text-align: center;
            padding-top: 20px;
            padding-bottom: 20px;
            width: 100%;
        }

        .footer-col {
            padding-top: 40px;
            padding-bottom: 40px;
        }

        .copyright {
            position: absolute;
            bottom: 0;
            width: 100%;
            text-align: center;
            color: #fff;
        }
}


/*------------------------------------*\
  PAGES CONTENT
\*------------------------------------*/

.section-heading {
    letter-spacing: 3px;
    font-weight: 700;
}

.section-heading.underline--s {
    position: relative;
    margin-bottom: 15px;
}

.section-heading.underline--s::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: #b7b7b7;
}


/**
 *  Home
 */


/* home about */
.h__about {
    padding-top: 300px;
    margin-top: -240px;
    color: #fff;
}

@media(min-width: 576px) {
    .h__about {
        padding-top: 240px;
        margin-top: -124px;
    }
}

@media(min-width: 765px) {
    .h__about {
        padding-top: 250px;
        margin-top: -185px;
    }
}


/* home news */
.h__post {
    position: relative;
    width: 72%;
    margin-top: -120px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 35px;
    padding-bottom: 90px;
    padding-left: 20px;
    padding-right: 20px;
}

    .h__post .sub-heading {
        margin-bottom: 25px;
    }

    .h__post-block {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

        .h__post-left {
            flex-shrink: 0;
            margin-right: 5%;
        }

        .h__post-right {
            width: 100%;
        }

        .h__post-item {
            display: flex;
            align-items: center;
            padding-left: 0;
            padding-top: 10px;
            padding-bottom: 10px;
        }

        .h__post-item a:hover {
            color: #54C3F1;
        }

        .h__post-content {
            margin-right: auto;
        }

            .h__post-item svg {
                width: 26px;
                height: 26px;
                display: none;
            }

            .h__post-date {
                margin-bottom: 0;
            }

            .h__post .button {
                position: absolute;
                bottom: 20px;
            }


@media(min-width: 992px) {
    .h__post {
        margin-right: unset;
        margin-top: -60px;
        padding-bottom: 35px;
    }

        .h__post-block {
            flex-direction: row;
        }

            .h__post-item {
                border-left: 1px solid #aaa;
                padding-left: 30px;
            }
                .h__post-date {
                    margin-bottom: 18px;
                }

                .h__post .button {
                    position: relative;
                    bottom: unset;
                }

                .h__post-item svg {
                    display: block;
                }
}            

@media (max-width: 991px) {
    .h__post {
        width: 100%;
        padding-bottom: 100px;
    }

    .h__post-left {
        margin-right: 0;
    }

    .h__post .button {
        left: 50%;
        transform: translateX(-50%);
        bottom: 30px;
    }

}

       

/* home service */
.h__service .item:not(:nth-child(3)) {
    color: #fff;
}

.h__service .item:not(:nth-child(3)) .heading--line::after {
    background-color: #fff;
}

.h__service .item .inner-block {
    min-height: 960px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h__service .text-block {
    width: 80%;
}

@media (max-width: 991px) {
    .h__service .item .inner-block {
        min-height: 640px;
    }
}

@media (max-width: 576px) {
    .h__service .item .inner-block {
        min-height: 400px;
    }
}




/* home contact */
.h__contact,
.h__contact .right-block .contact-info a {
    color: #fff;
}

.h__contact .right-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.h__contact .right-block .inner-content {
    position: relative;
    z-index: 9;
    width: 78%;
}

.h__contact .google-map iframe {
    height: 280px;
}

.contact-info .item {
    display: flex;
    margin-bottom: 20px;
    font-size: 18px;
}

    .contact-info .item > * {
        line-height: normal;
    }

    .contact-info .item i {
        color: #f3f3f3;
        margin-top: 5px;
    }



@media(min-width: 992px) {
    .h__contact .google-map iframe {
        height: 500px;
    }

    .contact-info .item {
        align-items: center;
    }

        .contact-info .item i {
            margin-top: 0;
        }
}


@media (max-width: 992px) {
    .h__contact .right-block .inner-content {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}



/**
 *  About
 */

@media(min-width: 576px) {
    .slider--center-2 .slick-slide > div {
        margin: 60px;
    }
}




/**
 *  Service
 */

.service-list .item {
    padding-top: 20px;
    padding-bottom: 60px;
    margin-bottom: 60px;
    border-bottom: 1px solid #ddd;
}

.service-list .item:nth-child(even) .image-block {
    order: 1;
}

.service-list .item:nth-child(even) .text-block {
    order: 2;
}

.service-list .item:last-child {
    border-bottom: none;
}


.page-service-details .image-box-outer {
    padding-bottom: 36%;
}

.page-service-details .service-title {
    font-size: 60px;
    font-weight: 700;
}

@media (max-width: 992px) {
    .service-list .item .image-block {
        order: 1;
        margin-bottom: 40px;
    }
    
    .service-list .item .text-block {
        order: 2;
    }

    .page-service-details .service-title {
        font-size: 36px;
    }
    
}





/**
 *  Contact
 */

.page-contact-us .contact-info .item i {
    color: #5c5c5c;
}

@media(max-width: 576px) {
    .page-contact-us .contact-info .item {
        font-size: 15px;
    }
}
    