@import url("./header.css");
@import url("./footer.css");

.outer-div,
.inner-div {
    height: auto;
    position: relative;
}

.outer-div {
    perspective: 900px;
    perspective-origin: 50% calc(50% - 18em);
}


.form-control {
    font-size: 12px;
}

.inner-div {
    margin: 0 auto;
    border-radius: 5px;
    font-weight: 400;
    color: #071011;
    font-size: 1rem;
    transition: all 0.6s cubic-bezier(0.8, -0.4, 0.2, 1.7);
    transform-style: preserve-3d;
    /*&:hover .front__face-photo,
        &:hover .front__footer {
          opacity: 1;
        }*/
}

.inner-div:hover .social-icon {
    opacity: 1;
    top: 0;

}


.front,
.back {
    position: relative;
    top: 0;
    left: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.front {
    margin-top: 5%;
    /* cursor: pointer; */
    background: #fff;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-bottom: 0.5px solid gray;
}

/* .front__bkg-photo {
    position: relative;
    height: 30vh;
    background: url(<%- selectedSupplier[0].coverPic %>) no-repeat;
    background-size: cover;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    border-radius: 10px;
}

.front__face-photo {
    position: relative;
    top: -60px;
    height: 150px;
    border-radius: 2%;
    background: url(<%- selectedSupplier[0].profilePic || selectedSupplier[0].logo || 'https://dzyqewgrzyhxi.cloudfront.net/images/no_material.webp' %>) no-repeat;
    //backface-visibility: hidden;
    //transition: all 0.6s cubic-bezier(0.8, -0.4, 0.2, 1.7);
    //z-index: 3;
} */

.vertical {
    border-left: 5px solid black;
    height: 200px;
}

.customColor {
    background: #0066c0;
}


.shadow {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.banner_main {
    width: 100%;
    object-fit: contain;
    height: 90px;
}

.banner_image {
    width: 100%;
    height: 500px !important;
    object-fit: fill;
}


h5,
h1,
p,
label {
    font-family: spartan;
}

h1 {
    font-size: 20px;
}


#exTab3 .nav-pills>li>a {
    border-radius: 4px 4px 0 0;
    background: white;
    color: black;
    font-family: spartan;
    font-weight: lighter;
}

#exTab3 .tab-content {
    color: black;
    padding: 5px 15px;
}

#exTab3 .nav-pills>li.active>a {
    background: white;
    color: #0066c0;
}

.customFont {
    font-family: spartan;
}

.customTextColor {
    color: #0066c0;
}

.three-column-images {
    background: white;
}

.three-column-images .row {
    text-align: center;
}

.three-column-images img {
    margin-bottom: 10px;
}

.three-column-images a {
    font-weight: bold;
}

.hs {
    display: flex;
    scrollbar-width: none;
    overflow-x: auto;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    -webkit-overflow-scrolling: touch;
    margin-top: 20px;
    padding-left: 0rem;
    margin-bottom: 2.5rem;
}

.hs__header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 25px;
}

.hs__headline {
    flex: 1;
    font-size: 1rem;
}

.hs__arrows {
    align-self: center;
}

.hs__arrows .arrow:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    content: "";
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTUgOSI+Cgk8cGF0aCBmaWxsPSIjMzMzMzMzIiBkPSJNNy44NjcgOC41NzRsLTcuMjItNy4yMi43MDctLjcwOEw3Ljg2NyA3LjE2IDE0LjA1Ljk4bC43MDYuNzA3Ii8+Cjwvc3ZnPgo=");
    background-size: contain;
    /* filter: brightness(5); */
    width: 18px;
    height: 12px;
    cursor: pointer;
}

.hs__arrows .arrow.disabled:before {
    filter: brightness(2);
}

.hs__arrows .arrow.arrow-prev:before {
    transform: rotate(90deg);
    margin-right: 10px;
}

.hs__arrows .arrow.arrow-next:before {
    transform: rotate(-90deg);
}

.hs__item {
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: calc(100% / 4 - (10px * 2) - (20px / 4));
    margin: 10px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hs__item__description {
    text-align: center;
}

@media only screen and (max-width: 990px) {
    .hs__item {
        flex-basis: calc(100% / 3 - (10px * 2) - (20px / 3));
    }
}

.hs__item:last-child:after {
    content: "";
    display: block;
    position: absolute;
    width: 10px;
    height: 1px;
    right: calc(10px * 2 * -1);
}

.hs__item:first-child {
    margin-left: calc(10px * 2);
}

.hs__item__description {
    z-index: 1;
    margin: 10px 0;
}

.hs__item__subtitle {
    color: #aaa;
    display: block;
}

.hs__item__image__wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 70%;
}

.hs__item__image {
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

figure {
    overflow-x: scroll !important;
}

@media only screen and (min-width: 990px) {
    .hs__wrapper {
        overflow: hidden;
    }
}

@media (hover: none) and (pointer: coarse) {
    .hs__wrapper .hs__item {
        flex: 1 0 calc(23% - 10px * 2);
    }
}

@media only screen and (hover: none) and (pointer: coarse) and (max-width: 990px) {
    .hs__wrapper .hs__item {
        flex: 1 0 calc(45% - 10px * 2);
    }
}

#testimonials {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

.testimonial-heading {
    letter-spacing: 1px;
    margin: 30px 0px;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial-heading span {
    font-size: 1.3rem;
    color: #252525;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.testimonial-box-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.testimonial-box {
    width: 100%;
    background-color: #f5f5f5;
    padding: 20px;
    margin: 15px;
    cursor: pointer;
}

.profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.profile {
    display: flex;
    align-items: center;
}

.name-user {
    display: flex;
    flex-direction: column;
}

.name-user strong {
    color: #3d3d3d;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.name-user span {
    color: #979797;
    font-size: 0.8rem;
}

.reviews {
    color: #f9d71c;
}

.box-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.client-comment p {
    font-size: 0.9rem;
    color: #4b4b4b;
}

.testimonial-box:hover {
    transform: translateY(-10px);
    transition: all ease 0.3s;
}

@media (max-width: 1060px) {
    .testimonial-box {
        width: 45%;
        padding: 10px;
    }
}

@media (max-width: 790px) {
    .testimonial-box {
        width: 100%;
    }

    .testimonial-heading h1 {
        font-size: 1.4rem;
    }

    .banner_image {
        width: 100%;
        height: 250px !important;
        object-fit: fill;
    }
}

@media (max-width: 340px) {
    .box-top {
        flex-wrap: wrap;
        margin-bottom: 10px;
    }

    .reviews {
        margin-top: 10px;
    }
}

::selection {
    color: #ffffff;
    background-color: #252525;
}


.file {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.file>input[type='file'] {
    display: none
}

.file>label {
    font-size: 1rem;
    font-weight: 300;
    cursor: pointer;
    outline: 0;
    font-family: spartan;
    font-size: 10px;
    border: 0px;
    user-select: none;
    border-style: solid;
    border-radius: 10px;
    color: hsl(0, 0%, 29%);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.file>label:active {
    background-color: hsl(0, 0%, 96%);
}

.file>label>svg {
    padding-right: 5px;
}

.profileButton {
    position: absolute;
    background: black;
    color: white;
    bottom: -15px;
    left: 45%;
    border-radius: 5px;

}

.pd-wrap {
    padding: 40px 0;
    font-family: "Poppins", sans-serif;
}

.heading-section h2 {
    font-size: 32px;
    font-weight: 500;
    padding-top: 10px;
    padding-bottom: 15px;
    font-family: "Poppins", sans-serif;
}

.product-price-discount span.line-through {
    text-decoration: line-through;
    margin-left: 10px;
    font-size: 14px;
    vertical-align: middle;
    color: #a5a5a5;
}

.product-info {
    width: 100%;
}

.product-dtl p {
    font-size: 14px;
    line-height: 24px;
    color: #7a7a7a;
}

.product-dtl .form-control {
    font-size: 15px;
}

.product-dtl label {
    line-height: 16px;
    font-size: 15px;
}

.product-box {
    border: 0.5px solid #eaeaea;
    border-radius: 10px;

}

.product-description {
    max-height: 25vh;
    overflow: auto;
}

.ribbon-2 {
    width: 180px;
    height: 40px;
    background: rgba(245, 202, 125, 0.54);
    padding: 6px;
    color: black;
}

.supplier {
    color: rgb(190, 157, 51);
}

.card-news {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.font-13 {
    font-size: 13px;
    font-weight: lighter;
}

.font-weight-lighter {
    font-weight: lighter;
}


.nav-tabs .nav-link {
    border: 0px;
}

.nav-tabs {
    border-bottom: 0px;
}

.tab {
    background-color: #f1f1f1;
}

.btn {
    font-size: 14px;
}

.first-card {
    padding: 5%;
    border: none;
    border-radius: 10px;
    position: relative;
    top: -30%;
}

react-stars-08715911108438872:before {
    position: absolute;
    overflow: hidden;
    display: block;
    z-index: 1;
    top: 0;
    left: 0;
    width: 50%;
    content: attr(data-forhalf);
    color: #ffd700;
}

/* Rating Star Widgets Style */
.rating-stars ul {
    list-style-type: none;
    padding: 0;

    -moz-user-select: none;
    -webkit-user-select: none;
}

.rating-stars ul>li.star {
    display: inline-block;

}

/* Idle State of the stars */
.rating-stars ul>li.star>i.fa {
    font-size: 2.5em;
    /* Change the size of the stars */
    color: #ccc;
    /* Color on idle state */
}

/* Hover state of the stars */
.rating-stars ul>li.star.hover>i.fa {
    color: #FFCC36;
}

/* Selected state of the stars */
.rating-stars ul>li.star.selected>i.fa {
    color: #FF912C;
}

.stars-container {
    position: relative;
    display: inline-block;
    color: transparent;
}

.stars-container:before {
    position: absolute;
    top: 0;
    left: 0;
    content: '★★★★★';
    color: lightgray;
}

.stars-container:after {
    position: absolute;
    top: 0;
    left: 0;
    content: '★★★★★';
    color: gold;
    overflow: hidden;
}

.stars-0:after {
    width: 0%;
}

.stars-10:after {
    width: 10%;
}

.stars-20:after {
    width: 20%;
}

.stars-30:after {
    width: 30%;
}

.stars-40:after {
    width: 40%;
}

.stars-50:after {
    width: 50%;
}

.stars-60:after {
    width: 60%;
}

.stars-70:after {
    width: 70%;
}

.stars-80:after {
    width: 80%;
}

.stars-90:after {
    width: 90%;
}

.stars-100:after {
    width: 100%;
}

.sendBox {
    border-left: 0.5px solid black;
    height: 120px
}

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

    .first-card {
        padding: 10%;
        border: none;
        border-radius: 10px;
        position: relative;
        top: -30%;
        left: 25%;
        width: 50%;
        /* align-items: center; */
    }

    .front {
        text-align: center;
    }

    .col-md-3 {
        border-left: none;
    }

    .sendBox {
        border-left: none;
    }

}

.horizontal-scroll {
    display: flex;
    gap: 5px;
    height: 320px;
    width: 90%;
    overflow-x: auto;
    -ms-scroll-snap-type: x mandatory;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll__item {
    align-items: center;
    text-align: center;
    flex: 0 0 310px;
    font-size: 40px;
    justify-content: center;
    scroll-snap-align: start;
}

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {
    opacity: 0.7;
}

/* The Modal (background) */
.thankYouModal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    top: 20%;
    display: block;
    width: 80%;
    max-width: 400px;
}

.popup_image {
    margin: auto;
    display: block;
    width: 80%;
}

/* Add Animation */
.modal-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

.popup_image,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}



@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.closeImage {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.closeImage:hover,
.closeImage:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }

    .popup_image {
        width: 100%;
    }
}

.simple-pagination ul {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    text-align: center;
}

.simple-pagination li {
    display: inline-block;
    margin-right: 5px;
}

.simple-pagination li a,
.simple-pagination li span {
    color: #666;
    padding: 5px 10px;
    text-decoration: none;
    border: 1px solid #EEE;
    background-color: #FFF;
    box-shadow: 0px 0px 10px 0px #EEE;
    cursor: pointer;
}

.imageSize {
    cursor: pointer;
    height: 12rem;
}

.productUrl {
    cursor: pointer;
    font-size: 0.9rem
}

.certificateImage {
    width: 250px;
    height: 330px;
    cursor: pointer;
}

.imageName {
    text-transform: none;
    color: black;
    font-size: 14px;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    display: inline-block;
    margin-right: 0px;
}

.breadcrumb-item::after {
    content: " >";
    color: #333;
}

.breadcrumb-item::before {
    content: "" !important;
}

.breadcrumb-item:last-child::after {
    content: "";
}