/* Font */
.text-color-custom-1,
a.text-color-custom-1  {
    color: #888;
}
a.text-color-custom-1:hover {
    opacity: .8;
}

.custom-thumb-info-1 .thumb-info-caption {
    position: relative;
    display: block;
    padding: 0;
    border-bottom: 1px solid #e3e3e3 !important;
    -webkit-transition: ease border-bottom 300ms;
    transition: ease border-bottom 300ms;
}
.custom-thumb-info-1 .thumb-info-caption .thumb-info-caption-text {
    padding: 30px 20px;
    margin: 0;
}
.custom-thumb-info-1 .thumb-info-caption .thumb-info-caption-text p {
    padding: 0;
    font-size: 1em;
}
.page-link {
    color: #868686;
}

/* Image Container */
.thumb-image-container {
    display: flex !important;
}
.thumb-image-wrapper {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    line-height: 0;
}
.thumb-image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.thumb-image img {
    width: 100%;
    height: 100%;
    object-position: 50% 50%;
    object-fit: contain;
}

/* tp slider */
.tp-bgimg {
    position: relative;
}
.tp-bgimg::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .3);
}


/* header */
.header-container {
    padding-left: 8%;
    padding-right: 8%;
}
.header-nav-column {
    justify-content: flex-end;
}
@media(max-width: 991px) {
    .m-order-1 {
        order: 1;
    }
    .m-order-2 {
        order: 2;
    }
    .m-order-3 {
        order: 3;
    }
    .header-language-column {
        justify-content: flex-end;
    }
    .header-container {
        padding-left: 3%;
        padding-right: 3%;
    }
}
/* dropdown */
.dropdown-item:hover:not(.active) {
    background-color: transparent;
    color: #d5631e;
}
.dropdown-item.active {
    background-color:#d5631e;
    color: #fff;
}
/* language */
#language {
    font-size: 14px;
}
.btn-language {
    background-color: #f5f5f5;
    border-radius: 2px;
    margin-left: 20px;
}
#language i {
    display: none;
}
    .dropdown-menu {
        min-width: 8rem;
    }



/* Home Slider */
.home-slider .swiper-button-next,
.home-slider .swiper-button-prev {
    width: 42px;
    height: 42px;
    background-color: rgb(52 52 52 / 72%);
    opacity: 0;
    transition: .3s;
}
.swiper-button-prev:focus,
.swiper-button-next:focus {
    outline: none;
}
.home-slider .swiper-container {
    position: relative;
    background-color: rgb(32, 32, 32);
}
.home-slider .swiper-button-prev, .home-slider .swiper-container-rtl .swiper-button-next {
    left: 0;
}
.home-slider .swiper-button-next, .home-slider .swiper-container-rtl .swiper-button-prev {
    right: 0;
}
.home-slider .swiper-button-next:after, .home-slider .swiper-button-prev:after {
    font-size: 12px;
    color: #fff;
}

.home-slider:hover .swiper-button-next,
.home-slider:hover .swiper-button-prev {
    opacity: 1;
}
.slide-image {
    position: relative;
    height: calc(100vh - 80px);
    z-index: -1;
}
.slide-image::after {
    position: absolute;
    top: 0;
    content: "";
    background-color: rgba(0, 0, 0, .2);
    width: 100%;
    height: 100%;
}



.slide-caption {
    position: absolute;
    top: 36%;
    left: 10%;
}

.slide-caption h3,
.slide-caption h1 {
    color: #fff;
    font-weight: 700;
    line-height: 1.2em;
}
.slide-caption h1 {
    font-size: 48px;
    max-width: 70%;
}
.slide-caption h3 {
    font-size: 36px;
    margin-bottom: 10px;
}
.delay-1s {
    animation-delay: .1s;
}
.delay-2s {
    animation-delay: .2s;
}
.delay-4s {
    animation-delay: .4s;
}
.center {
    display: -webkit-flex;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
@media (max-width: 576px) {
    .slide-image {
        height: 400px;
    }
    .slide-caption {
        top: 30%;
        left: 0;
        padding-left: 30px;
        padding-right: 30px;
    }
        .slide-caption h1 {
            font-size: 28px;
            max-width: unset;
        }
        .slide-caption h3 {
            font-size: 22px;
        }
}

/* Home Masonry */
.home-masonry .thumb-info.thumb-info-hide-info-hover:hover .thumb-info-title {
	opacity: 1;
}
.banner-title {
    display: block;
    font-size: 32px;
}
.banner-text {
    display: block;
}
@media (max-width: 768px) {
    .masonry .masonry-item:not(.no-default-style).w2 {
        width: 100%;
    }
    .thumb-info.thumb-info-centered-info .thumb-info-title {
        left: 10%;
        width: 80%;
    }
    .banner-title {
        font-size: 20px;
    }
    .banner-text {
        display: none;
    }
}


/* Home Intro */
.home-intro {
    padding: 2.4rem 1rem;
}
/* Home cols */
@media(min-width: 991px) and (max-width: 1199px) {
    .banner-title {
        font-size: 22px;
    }
    .home-masonry .masonry .masonry-item:not(.no-default-style) {
        padding: 5px 9px;
    }
}

/* Home Products */
.home-products .thumb-info,
.home-products .thumb-info .thumb-info-wrapper,
.home-products .thumb-info img {
    border-radius: 0;
}
.home-products .thumb-info-caption {
    display: block;
    margin: 0 auto;
    width: 80%;
}
.home-products .thumb-info-caption .thumb-info-caption-text, .home-products .thumb-info-caption p {
    padding: 5px 0;
}
.home-products a {
    text-decoration: none;
}
.home-product-name {
    min-height: 62px;
}

/* Home News */
.custom-post-blog > h4, .custom-post-blog > p {
    padding: 0 30px 0 90px;
}
.custom-post-blog .date {
    position: absolute;
    top: 5px;
    left: 0;
}
    .custom-post-blog .date > span {
        display: block;
    }
    .custom-post-blog .date > span.day {
        font-size: 3.5em;
        line-height: 0.7;
    }

@media (max-width: 768px) {
    .custom-post-blog .date {
        left: 30px;
    }
}

/* Page */
.custom-parallax-medium-padding {
    padding: 128px 0 !important;
}
.page-header .parallax-background {
    position: relative;
}
.page-header .parallax-background::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .2)
}

/* Sidebar Toggle */
.nav-dropdown-toggle {
    position: relative;
}
.nav-dropdown-toggle::before {
    position: absolute;
    top: 8px;
    right: 5px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f078";
    font-size: 12px;
    color: #888;
}
ul.nav-list li ul.nav-dropdown-menu {
    display: none;
    margin: 0;
    background: #f7f7f7;
    margin: 0 0 10px;
}

/* About */
.counters.counters-text-light .counter {
    color: #FFF !important;
}
.custom-counters .counter span {
    line-height: 1;
    font-size: 3.6em;
}
.custom-counters .counter span:last-child {
    display: block;
    font-size: 1.1em;
}
.about .feature-box.feature-box-style-2 .feature-box-icon [class*="fa-"],
.about .feature-box.feature-box-style-2 .feature-box-icon .icons {
    color: #fff;
    font-size: 36px;
}
.about .feature-box.feature-box-style-2 .feature-box-icon .fa-bicycle {
    font-size: 42px;
}

/* Product */
.shop .products .product .add-to-cart-product {
    position: relative;
    margin-bottom: 20px;
    opacity: 1;
}
.product-grid {
    margin-left: 20px;
}
@media (max-width: 768px) {
    .product-grid {
        margin-left: 0;
    }
}

/* Cart */
.inquiry-cart .featured-box {
    box-shadow: none;
    border: none;
}
.inquiry-cart .featured-box .box-content:not(.box-content-border-0) {
    border: none;
}

/* powered by */
.powered-by,
.powered-by > a {
    font-size: 13px;
}

/**
 *  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-box img.object-fit-contain {
    object-fit: contain;
}
.image-hover--zoom img {
    transition: 0.5s;
}

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


/* image card */
.image-card .caption {
    margin-top: 20px;
}

    .image-card .caption-label {
        display: table;
        padding: 2px 16px;
        border: 1px solid #707070;
        margin-bottom: 20px;
    }

    .image-card .caption-title {
        font-weight: 300;
    }


/* gallery */
.gallery .image-card {
    overflow: hidden;
}

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

/**
 *  product
 */

 .p-details-header {
    font-size: 32px;
}

.p-slider-nav {
    margin: 0 -5px;
}

.p-slider-nav .slick-track {
    margin-left: unset;
    margin-right: unset;
}

    .p-slider-nav .slick-slide {
        padding: 5px;
    }


/* video */
.video__slider {
    position: relative;
    z-index: 9;
}

.video__container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.video__container::after {
    content: "Loading...";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: -1;
    background-color: #1e457c;
}

    .video__container .video {
        position: relative;
        padding-bottom: 56.25%;
    }

    .video__container .video.vertical {
        padding-bottom: 100%;
    }

        .video__container .video iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

.video__slider-for .video-box {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #000000;
}
.video__slider-for .slick-track {
    display: flex !important;
}

.video__slider-for .slick-slide {
    height: inherit !important;
}

.video__slider-nav .slick-slide {
    padding: 5px;
}

.video__slider-nav .slick-list {
    margin-left: -5px;
    margin-right: -5px;
}


.slick-prev:before,
.slick-next:before {
    color: #4d4d4d;
}

@media(max-width: 576px) {
    .video__slider .slick-arrow {
        display: none !important;
    }
}
