/* Global */
:root {
    --primary: #35a312;
    --secondary: #ce6a00;
    --third: #299307;
    --light: #eeeded;
    --dark: #1f1f1f;
    --danger: #b80404;
}

.mb-6rem {
    margin-bottom: 6rem !important;
}

.my-6 {
    margin-top: 6rem !important;
    margin-bottom: 6rem !important;
}

.bg-gray {
    background-color: var(--light);
}

.cursor-pointer {
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

a.dropdown-item:active {
    background-color: var(--primary) !important;
    color: var(--light) !important;
}

a.nav-link:hover {
    color: var(--third) !important;
}

.font-small-1x {
    font-size: 0.9rem;
}

.color-dark {
    color: var(--dark) !important;
}

/* topbar */
.navigation-wrapper,
.navbar {
    background-color: var(--light) !important;
}

.navigation-wrapper {
    transition: 0.5s;
}

.top-bar {
    height: 40px;
    border-bottom: 1px solid rgba(56, 51, 51, 0.06);
}

.navbar-nav a {
    color: var(--primary) !important;
    font-weight: 400 !important;
}

.nav-link.active {
    font-weight: bold !important;
}

.btn-primary {
    background-color: var(--primary);
    border: none;
}

.btn-primary:hover {
    background-color: #2c910e;
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.color-primary {
    color: var(--primary) !important;
}

.color-danger {
    color: var(--danger) !important;
}

.navbar li a {
    font-weight: 500;
}

.dropdown-menu {
    background-color: var(--light);
    animation: 0.5s slideup;
}

#homeSlider .swiper-slide {
    cursor: grab;
}

#homeSlider.slider-wrapper img {
    height: 530px;
    width: 100%;
    object-fit: cover;
}

.slider-wrapper {
    margin-top: 55px;
}

.about-wrapper img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.about-wrapper .fa {
    color: var(--primary) !important;
}

.btn-product-categories button.active {
    background-color: var(--primary);
    border: none;
}

.btn-product-categories .btn-outline-primary:active {
    background-color: var(--primary);
}

.product-container a.product-title {
    color: var(--dark);
    text-decoration: none;
}

.product-container a.text-body {
    text-decoration: none;
}

a.product-item {
    color: #1f1f1f;
    text-decoration: none;
}

a.product-item:hover {
    display: block;
    cursor: pointer;
    border: 1px solid var(--primary);
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    overflow: hidden;
    color: #1f1f1f;
    margin: -1px;
}

.product-item img {
    transition: 0.5s;
}

.product-item img {
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item small a:hover {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.contact-us-container a.rounded-pill {
    background-color: white;
    color: var(--primary) !important;
    font-weight: bold;
    border: none;
}

.contact-us-container a.rounded-pill:hover {
    box-shadow: 0px 0px 55px rgba(0, 0, 0, 0.5);
}

.contact-us-container a.rounded-pill > i {
    transform: translateX(20%);
    transition: 0.5s;
}

.contact-us-container a.rounded-pill:hover > i {
    transform: translateX(70%);
    transition: 0.5s;
}

.post-container .post-img img {
    height: 232px;
    object-fit: cover;
    object-position: center;
    margin-bottom: 10px;
}

.post-container .post-img img.default-img {
    border: 1px solid #e4e3e3;
}

a.text-link {
    text-decoration: none;
    color: inherit;
}

.color-third {
    color: var(--third) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.testimony-item .swiper-slide {
    box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.3) !important;
    height: 450px;
    overflow: hidden;
}

.testimony-item .swiper-slide .testimony-image {
    text-align: center;
}

.testimony-item .swiper-slide img {
    width: 100px !important;
    height: 100px;
    object-fit: fill;
    object-position: center;
    z-index: 99 !important;
    position: relative;
}

.testimony-wave {
    padding: 0;
    margin: 0;
    left: 0;
    bottom: 0;
    width: 400px;
}

.testimony-author {
    font-weight: 500;
}

.testomny-socmed i {
    font-size: 1.6rem;
}

.testomny-socmed {
    margin-bottom: 20px;
}

.testimony-wording {
    height: 140px;
    overflow: hidden;
    margin-bottom: 35px;
    padding-left: 25px;
    padding-right: 25px;
}

.footer {
    color: var(--light);
}

.btn-square {
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.btn-back-to-top {
    right: 30px;
    bottom: 20px;
    border: 2px solid white;
}

.btn-back-to-top:hover {
    border-color: #212529;
}

.dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown > .dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

.footer-list a:hover {
    color: #c7c8c9;
}

.swiper-pagination-bullet-lodeh:hover {
    cursor: pointer;
}

.swiper-pagination-bullet-lodeh {
    padding: 5px 30px;
    border-radius: 50px;
    color: gray;
}

.swiper-pagination-bullet-active {
    color: white;
}

.timeline-heading {
    margin-bottom: 17px;
}

.swiper-timeline .swiper-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-wrap: wrap;
    bottom: 0;
}

.our-clients-wrapper .border-bottom {
    width: 80%;
}

.contact-form-wrapper form label {
    font-weight: 500;
}

.map-wrapper {
    margin-top: 8rem !important;
}

.contact-information-wrapper .card {
    border-radius: 5px 72px;
}

.contact-information-wrapper .col-12 .card {
    overflow: auto;
}

.follow-us-wrapper {
    margin-top: 8rem;
    margin-bottom: 10rem;
}

.contact-information-wrapper {
    margin: 9rem 0;
}

.product-cat-newest a:hover img {
    transform: scale(1.1);
    transition: 0.5s;
}

.pagination a,
.product-cat-newest a p,
.product-category-wrapper a p,
.product-category-wrapper .pagination a {
    color: var(--primary);
    font-weight: bold;
    letter-spacing: 0.02rem;
}

.pagination a,
.product-category-wrapper .pagination a {
    font-weight: normal;
}

.product-detail {
    margin-top: 8rem;
    margin-bottom: 5rem;
}

.product-image-swiper {
    width: 100%;
    height: 100%;
}

#productImageDetail {
    --swiper-navigation-color: #fff;
    --swiper-pagination-color: #fff;
}

.product-image-swiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.product-image-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

#productImageDetail {
    height: 80%;
    width: 100%;
}

#productImageDetail img {
    height: 28rem;
    object-fit: cover;
    object-position: center;
}

#productImageGallery {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}

#productImageGallery img {
    height: 5rem;
}

#productImageGallery .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

#productImageGallery .swiper-slide-thumb-active {
    opacity: 1;
}

.share-to-socmed .socmed i {
    font-size: 1.1rem;
}

.share-to-socmed .socmed i:hover {
    color: var(--light) !important;
}

.product-images {
    margin-bottom: 3rem;
}

.comment-name img {
    width: 45px;
}

.page-link.active,
.active > .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light) !important;
}

.page-category-events .post-container .post-img img {
    height: inherit;
}

.event-detail-wrapper {
    margin-top: 130px;
    margin-bottom: 4rem !important;
}

.event-detail-image-swiper {
    width: 100%;
}

#eventImageDetail {
    --swiper-navigation-color: #fff;
    --swiper-pagination-color: #fff;
    width: 100%;
    margin-bottom: 10px;
}

.event-detail-image-swiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.event-detail-image-swiper .swiper-slide img {
    object-fit: cover;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
}

.event-detail-image-swiper {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#eventImageGallery {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}

#eventImageGallery .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

#eventImageGallery .swiper-slide-thumb-active {
    opacity: 1;
}

.others-event .post-img img {
    height: 200px;
}

.post-detail-wrapper {
    margin-top: 6rem !important;
    margin-bottom: 4rem !important;
}

.post-detail-wrapper .post-img img {
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.related-post a:hover img {
    transform: scale(1.1);
    transition: 0.2s;
}

.sitemap-wrapper,
.privacy-policy-wrapper,
.search-wrapper {
    margin-top: 8rem;
    margin-bottom: 6rem;
}

.sitemap-wrapper .color-primary:hover {
    color: var(--third) !important;
}

.notfound-wrapper {
    margin-top: 8rem;
}

.notfound-wrapper h2 {
    font-size: 2.5rem;
}

.notfound-wrapper p {
    font-size: 1.8rem;
}

.notfound-wrapper img {
    border-radius: 0;
}

.faq-wrapper {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.accordion-button {
    color: var(--primary);
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    color: var(--light);
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.career-shadow {
    box-shadow: 0 0.15rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.career-heading {
    color: var(--primary);
    font-size: 2.2rem;
}

.career-detail-wrapper {
    margin-top: 6rem;
    margin-bottom: 5rem;
}

.career-detail-wrapper h4 {
    margin-top: 1rem;
}

.career-detail-wrapper ol {
    padding-left: 1.7rem !important;
}

.form-alert {
    width: 270px;
    left: auto;
    right: 100px;
}

.event-pagination .pagination,
.news-pagination .pagination,
.search-pagination .pagination,
.pagination {
    justify-content: center;
}

.event-pagination .pagination a,
.news-pagination .pagination a,
.search-pagination .pagination a {
    color: var(--primary);
}

.post-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.banner-wrapper-page {
    margin-bottom: 3rem !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
}

.product-img img,
.products-wrapper img {
    object-fit: cover;
}

.page-search {
    margin-top: 7rem !important;
}

.website_logo {
    width: 40px;
}

.tags-container {
    margin-top: 5rem !important;
}

#nav-description p img {
    width: 100%;
    object-fit: contain;
    height: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th,
table td {
    border: 1px solid black;
    padding: 10px;
}

table th p,
table td p {
    margin-top: 0;
    margin-bottom: 0;
}

th {
    background-color: #f4f4f4;
    text-align: center;
}

tr:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

.about-wrapper {
    margin-bottom: 5rem !important;
}
.map-wrapper iframe {
    width: 100%;
    height: 500px;
}
.product-cat-newest img {
    height: 250px;
    object-fit: cover;
    object-position: center;
}
.page-search .post-container img {
    height: 250px;
    object-fit: cover;
    object-position: center;
}
.mobile-banner {
    margin-top: 4rem;
}

/* Media Query */
@media (min-width: 768px) {
    .testimony-item .swiper-slide img {
        width: 220px !important;
        height: 220px;
    }
    .testimony-wording {
        margin-bottom: 15px !important;
    }
    .testimony-item .swiper-slide {
        height: 620px;
    }
    .about-wrapper {
        margin-top: 8rem !important;
        margin-bottom: 5rem !important;
    }
}

@media (min-width: 992px) {
    #homeSlider.swiper {
        width: 100%;
        height: 550px;
    }

    #homeSlider.slider-wrapper img {
        height: 550px;
        object-fit: cover;
    }

    #homeSlider.slider-wrapper {
        margin-top: 95px;
    }

    .testimony-item .swiper-slide {
        height: 540px;
    }

    .banner-wrapper {
        margin-top: 100px;
        margin-bottom: 6rem !important;
    }

    .banner-wrapper img {
        width: 100%;
        height: 550px;
        object-fit: cover;
        object-position: center;
    }

    .timeline-heading {
        margin-bottom: -50px;
    }

    .our-clients-wrapper .border-bottom {
        width: 50%;
    }

    .product-detail {
        margin-top: 12rem;
        margin-bottom: 8rem;
    }

    .product-images {
        margin-bottom: 0;
    }

    .event-detail-wrapper {
        margin-top: 175px;
    }

    .post-detail-wrapper {
        margin-top: 9rem !important;
        margin-bottom: 9rem !important;
    }

    .post-detail-wrapper .post-img img {
        height: 400px;
    }

    .post-detail-wrapper {
        margin-bottom: 6rem !important;
    }

    .sitemap-wrapper,
    .privacy-policy-wrapper,
    .search-wrapper,
    .notfound-wrapper {
        margin-top: 10rem;
        margin-bottom: 10rem;
    }

    .notfound-wrapper img {
        border-radius: 0.375rem;
    }

    .faq-wrapper {
        margin-top: 5rem;
        margin-bottom: 8rem;
    }

    .career-detail-wrapper {
        margin-top: 10rem;
    }

    #product-comments-width {
        width: 75%;
    }

    .banner-wrapper-page {
        margin-bottom: 4rem !important;
    }

    .page-search {
        margin-top: 10rem !important;
    }

    .tags-container {
        margin-top: 8rem !important;
    }
    .testimony-wording {
        margin-bottom: 35px !important;
    }
}

@media (min-width: 1200px) {
    .testimony-item .swiper-slide img {
        width: 150px !important;
        height: 150px;
    }
    .testimony-wording {
        margin-bottom: 45px !important;
    }
}

@media (min-width: 1440px) {
    #homeSlider.slider-wrapper img {
        height: 600px;
    }

    #homeSlider.swiper {
        height: 600px;
    }
    .testimony-item .swiper-slide img {
        width: 180px !important;
        height: 180px;
    }
    .testimony-wording {
        margin-bottom: 15px !important;
    }
}

/* Keyframes */
@keyframes slideup {
    from {
        transform: translateY(10%);
    }

    to {
        transform: translateY(0);
    }
}
