﻿.img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.vertical-padding {
    padding-top: 20px;
    padding-bottom: 20px;
}

@media (min-width: 768px) and (max-width: 929px) {
    .ctaimage {
        flex-direction: column-reverse;
    }

    .article-text {
        order: 2;
    }

    .article-image {
        order: 1;
        width: 100%;
    }

        .article-image img {
            width: 100%;
            height: auto;
        }
}

.card {
    border: none;
}

.card-img-top {
    height: 100%;
    object-fit: cover;
}

.card-group {
    display: flex;
    flex-wrap: wrap;
}

    .card-group > .card {
        margin-bottom: 0 !important;
    }

.card {
    flex: 1 1 50%;
    display: flex;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 50px;
    text-align: left;
}

@media (max-width: 992px) {
    .card {
        flex: 1 1 100%;
    }
}

.slider-item {
    margin-right: 10px;
    width: 72%;
    height: 500px;
    background-size: cover;
    background-position: center center;
}

.slider-data {
    position: relative;
    left: 10%;
    top: 10%;
    width: 350px;
    text-align: left;
}

.column {
    float: left;
    width: 50%;
    padding: initial;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

@media screen and (max-width: 900px) {
    .column {
        width: 50%;
    }
}

@media screen and (max-width: 900px) {
    .column {
        width: 100%;
    }

    img {
        /* width: -webkit-fill-available; */
    }
}

@media (max-width: 768px) {
    .container-lg {
        width: 100%;
    }
}

.column img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.card-image {
    background-image: url('/images/BioRoller.png');
    background-size: cover;
    background-position: center;
    height: 100%;
}

.header {
    background-color: #4d94ff;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.content {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    align-items: stretch;
}

.image-container img {
    width: 100%;
    height: auto;
}

h2, h3 {
    margin-top: 0;
}

.flickity-prev-next-button {
    background: #4054AC; /* Add background color */
    border: none;
    width: 44px;
    height: 42px;
    /* border-radius: 50%; */
    border-radius: 0 !important;
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
}

    .flickity-prev-next-button.previous {
        background-image: url('../../images/tertiaryleft.WebP');
        left: 12% !important; /* Adjust as needed */
    }

    .flickity-prev-next-button.next {
        background-image: url('../../images/tertiaryright.WebP');
        right: 12% !important; /* Adjust as needed */
    }

.flickity-button:hover {
    border: none;
    width: 44px;
    height: 42px;
    /* border-radius: 50%; */
    border-radius: 0 !important;
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
}

.medium-hero {
    margin-bottom: 0; /* Ensure no margin below the hero image */
}

@media (max-width: 767px) { /* Media query for mobile devices */
    .medium-hero, .company, .company img {
        width: 100%;
        margin: 0;
    }

    .companymain {
        margin-bottom: 0;
    }

    .container-lg.vertical-padding {
        padding: 0; /* Adjust padding if needed */
    }

    /*.row {
        margin: 0;
    }*/

    .col-12 {
        padding: 0; /* Remove padding from columns */
    }

    .company {
        padding: 15px; /* Optional: add padding inside the cards for content spacing */
    }
    /* 
            img.img-fluid {
                width: 100%;
                height: auto; 
            } */
}

/* Flickity Styles */
.slider {
    margin: 0 auto;
}

.slider-item {
    position: relative;
}

    .slider-item img {
        width: 100%;
        height: auto;
        display: block;
    }

.slider-data {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 20px;
    color: #fff;
}

.flickity-prev-next-button {
}

    .flickity-prev-next-button .arrow {
        fill: white;
    }

.flickity-page-dots {
    bottom: 20px;
}

    .flickity-page-dots .dot {
        background: #fff;
    }