/* main styles */

.chem-container h2 {
    font-size: 6.4rem;
    font-style: normal;
    font-weight: 450;
    letter-spacing: 4.2px;
    text-transform: uppercase;
    color: #fff;
}

.chem-container h3 {
    font-size: 3.2rem;
    font-style: normal;
    font-weight: 600;
    line-height: 3.8rem;
    color: #000;
    letter-spacing: -1px;
    margin-bottom: 2rem;
}

.chem-container h4 {
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000;
    padding-bottom: 10px;
}

.chem-container h5 {
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 600;
    line-height: 2rem;
    color: #000;
}

.tile-arrow img,
.stories-arrow img,
.add-arrow img {
    height: 20px !important;
    width: 20px !important;
    text-decoration: none;
}

a.mlkn-btn-secondary {
    border: 1px solid #00378c;
    color: #00378c;
    background-color: #fff;
    margin-left: 2rem;
}

a.mlkn-btn-secondary:hover {
    background-color: #003366;
    color: #fff;
}

/* header */
#chem-header {
    text-align: center;
    padding: 0;
    background-size: cover;
    height: 600px;
    background-image: url(/-/media/21E5E0C0E00048D8B5AC108BB80A83C2.ashx);
    background-position: bottom center;
}

#chem-header>.row {
    height: 100%;
    margin:0;
}

#chem-header .text-container {
    padding: 6rem;
    background: rgb(2,22,43,0.5);
    backdrop-filter: blur(10px);
    margin: auto;
    /* transform: translateY(30%); */
}
#chem-header h2 {
    font-size: 3.8rem;
}

#chem-header h4 {
    color: #fff;
    text-transform:capitalize;
    font-weight: 300;
}

#chem-header .text-container p {
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 2.6rem;
}

/* Industry Leading */
#chem-info {
    padding: 6rem 16rem;
    text-align: center;
}
#chem-info h3 {
    font-size: 3.6rem;
    text-transform:uppercase;
    letter-spacing: 4.5px;
}

/* Product Highlight */
#new-prod {
    padding: 6rem 16rem;
    background-color:#f5f5f5;
}
#new-prod a.mlkn-btn-secondary {
    margin-left: 2rem;
}
#new-prod .action-btns {
    padding-top: 2rem;
}
#new-prod .prod-img {
    background-image: url(https://contenthub.milliken.com/api/public/content/82f02e4173764ec8a89643b4cdf57e09?v=3cb73611);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
#new-prod .prod-img img {
    display: none;
}
#new-prod .prod-info {
    padding: 3rem 6rem;
    background-color: #fff;
}
#new-prod .col-3 {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: #68D3DF;
    line-height:1.8rem;
    word-break: break-word;
}

/* End Consumer Applications */
#chem-consumer {
    padding: 6rem 16rem;
}
#chem-consumer h4 {
    text-align: center;
}
#chem-consumer h3 {
    font-size: 2.4rem;
    line-height: 3.4rem;
    text-align: center;
}
.accordion {
    margin-top: 4rem;
}
.chem-img {
    margin-top: 4rem;
    padding-left: 4rem;
}
button.accordion-button {
    font-weight:600;
    font-size: 2rem;
    line-height: 3rem;
}
button.accordion-button:hover {
    color: #00378C;
}
.accordion-body p a {
    text-decoration: none;
    font-weight:600;
    color: #00378C;
    text-transform: uppercase;
}
.chem-desc h3 {
    margin-bottom: 0;
}

#accordion-img-one {
    display:inline-block;
}
#accordion-img-two {
    display:none;
}
#accordion-img-three {
    display:none;
}
#accordion-img-four {
    display:none;
}
#accordion-img-five {
    display:none;
}
.accordion .accordion-button:not(.collapsed) {
    background: rgba(0, 55, 140, 0.10) !important;
    border-left: 1px solid #000 !important;
}
.accordion-body {
    background: rgba(0, 55, 140, 0.10);
    border-left: 1px solid #000 !important;
}
.accordion-body p {
    font-size: 1.4rem;
    line-height: 2.2rem;
}
.accordion .accordion-item:first-child {
    border: none !important;
}
.accordion .accordion-item {
    background: none !important;
    border: none !important;
}
.accordion-button.collapsed {
    border-left: 1px solid #000;
}

/* Second Accordion */
#chem-consumer-two {
    padding: 6rem 16rem;
}
#chem-consumer-two h4 {
    text-align: center;
}
#chem-consumer-two h3 {
    font-size: 2.4rem;
    line-height: 3.4rem;
    text-align: center;
}
#chem-consumer-two>.row>div:first-of-type {
    text-align:center;
}

#accordion-img-one-two {
    display:inline-block;
}
#accordion-img-two-two {
    display:none;
}
#accordion-img-three-two {
    display:none;
}
#accordion-img-four-two {
    display:none;
}
#accordion-img-five-two {
    display:none;
}

/*Energy Savings*/
#energy-saving {
    padding: 6rem 16rem;
    background-color:#f5f5f5;
}
#energy-saving img {
    height: 260px; 
    width: 200px; 
    float: left; 
    border-color: #ffffff; 
    margin-right: 50px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
#energy-saving h2 {
    font-size: 3.2rem;
    line-height: 4rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    color: #000;
}

/* Video */
#hero-video-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    /* Set a fixed height for the hero container */
    z-index: 2001;
}
#hero-video-wrapper video {
    width: 100%;
}

/* Related Products Carousel */
#chem-carousal {
    padding: 6rem 16rem;
    position: relative;
}
#chem-carousal .chem-tile {
    margin-top: 1.5rem;
    padding: 0 1.6rem;
}
/* #chem-carousal .carousel-container {
    display: flex;
}*/
.carousel-arrow {
    display: none;
}

.chem-tile {
    margin-top: 3rem;
}

.tile-card {
    background: #fff;
    padding: 0;
    margin-right: 1.5rem;
}

.tile-card:last-of-type {
    margin-right: 0;
}

#chem-carousal .tile-cards {
    border: 1px solid #d4d4d4;
    background: #fff;
    padding:0;
    margin-right: 1.5rem;
    max-width: 260px;
}
#chem-carousal .tile-cards.long-card {
    max-width: 100%;
}
#chem-carousal .tile-cards.long-card img:first-of-type {
    width: 100%;
    max-height:257.33px;
}
#chem-carousal .tile-cards:last-of-type {
    margin-right: 0;
}
#chem-carousal .card-text {
    padding: 2.4rem;
}
#chem-carousal h5 {
    padding-bottom: 1.6rem;
}
#chem-carousal .card-text p {
    line-height: 2rem;
}
#chem-carousal .tile-cards {
    position: relative;
    cursor: default;
}
#chem-carousal .tile-arrow {
    position: absolute;
    bottom: 0;
    padding-left: 1.4em;
    left:0;
}
#chem-carousal .tile-arrow p a {
    opacity: 1; 
    transition: opacity 0.3s ease-in-out; 
}
#chem-carousal .tile-arrow p a:hover {
    opacity: .4;
    margin-left: 1rem;
}
/* #chem-carousal {
    display: flex;
    justify-content: center;
    flex-direction: column;
}*/
#chem-carousal .tile-arrow img {
    height: auto !important;
}

/* Related Articles */
#chem-stories {
    padding: 6rem 16rem;
    background-color: #f5f5f5;
}
#chem-stories h4 {
    padding-bottom: 20px;
}
#chem-stories .stories-title {
    font-weight: 600;
    font-size: 2rem;
    line-height: 3rem;
}

#chem-stories .stories-text {
    font-size: 1.4rem;
    line-height: 2.2rem;
}
.chem-stories-main {
    background-image: url(/-/media/780D00A52DB64D6EB115DAE6EC202A75.ashx);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}
.chem-stories-main .stories-text {
    color: #fff;
    padding: 2.4rem;
    padding-bottom: 1rem;
    background: rgba(2, 18, 34, 0.76);
    backdrop-filter: blur(4px);
}
.chem-stories-main .stories-img {
    height: 300px;
}
.chem-stories-main a.stories-arrow {
    text-decoration: none;
    color: #fff;
    opacity: 1; 
    transition: opacity 0.3s ease-in-out;
}
.chem-stories-main a.stories-arrow:hover {
    opacity: .4;
    margin-left: 1rem;
}
.chem-stories-list {
    position: relative;
    padding-left:1.6rem;
}
.chem-stories-list .chem-stories {
    padding-bottom: 2rem;
}
.chem-stories-list .chem-stories:last-of-type {
    padding-bottom: 0;
}
.chem-stories-list a.stories-arrow {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}
.chem-stories-list a.stories-arrow:hover {
    opacity: 4;
    margin-left: 1rem;
}
.chem-stories-action {
    position: absolute;
    bottom: 0;
}
.chem-stories-action .mlkn-button-secondary {
    padding: 1rem 2rem;
}

@media (max-width: 1400px) {
    .chem-container h2 {
        font-size: 3.6rem;
    }
    #chem-carousal .card-text {
        padding-bottom: 3rem;
    }
    #chem-carousal .card-text {
        padding-bottom: 3rem;
    }
    #new-prod .prod-img {
        background: none;
    }
    #new-prod .prod-img img {
        display: block;
        padding-top: 4rem;
    }
    #product-details .prod-img {
        background: none;
    }
    #product-details .prod-img img {
        display: block;
        padding-top: 3rem;
    }
    #new-prod .prod-info a.btn-primary {
        margin-bottom: 2rem;
        width:100%;
    }
    #new-prod .prod-info a.mlkn-btn-secondary {
        margin-bottom: 0;
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 1300px) {
    #hero-video-wrapper {
        height: auto !important;
    }
    #new-prod .col-3 p img {
        max-height: 120px;
    }
    #chem-carousal .tile-cards.long-card img:first-of-type {
        height:173.5px;
    }
}



/* mobile */
@media (max-width: 991px) {

    .chem-container h2 {
        font-size: 2.4rem;
        line-height: 3rem;
    }

    .chem-container h3 {
        font-size: 2.8rem;
        line-height: 3.4rem;
    }

    .chem-container h4 {
        font-size: 1.4rem;
        line-height: 2rem;
    }

    .chem-container h5 {
        font-size: 1.3rem;
        line-height: 1.9rem;
    }

    a.mlkn-btn-secondary {
        margin-left:0;
        margin-top: 1rem;
    }
    #chem-info {
        padding: 3rem;
    }
    #new-prod {
        padding: 3rem;
    }
    #new-prod .row {
        height: auto
    }
    #new-prod a.btn-primary {
        display:block;
    }
    #new-prod a.mlkn-btn-secondary {
        display: block;
        margin-left:0;
        margin-top:2rem;
    }
    #new-prod .prod-info {
        padding: initial;
        background-color: #f5f5f5;
    }
    

    /* End Consumer Applications */
    #chem-consumer {
        padding: 2rem 3rem;
        background: none;
        background-color: #fff;
        box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
    }
    #chem-consumer h3 {
        font-size: 2.2rem;
        line-height: 3rem;
    }
    button.accordion-button {
        font-size: 2rem;
        line-height: 2.6rem;
    }
    .accordion {
        margin-top:2rem;
    }
    .chem-img {
        display: none;
    }
    .accordion-body p {
        font-size: 1.4rem;
        line-height: 2.2rem;
    }
    /* Second Accordion MOBILE */
    #chem-consumer-two {
        padding: 2rem 3rem;
        background: none;
        background-color: #fff;
        box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
    }
    #chem-consumer-two h3 {
        font-size: 2.2rem;
        line-height: 3rem;
    }

    #energy-saving {
        padding: 3rem;
    }
    #energy-saving img {
        float: revert; 
    }
    #energy-saving h2 {
        font-size: 2.4rem;
        line-height: 3rem;
        text-align: center;
    }
    #energy-saving p:first-of-type {
        text-align:center;
    }
    #energy-saving img {
        margin-right: 0;
    }

    /* Related Products MOBILE  
    .carousel-container::-webkit-scrollbar {
        height: 8px;
    }

    .carousel-container::-webkit-scrollbar-track {
        background: #fff;
        border-radius: 5px;
    }

    .carousel-container::-webkit-scrollbar-thumb {
        background: #00378c;
        border-radius: 5px;
    }

    .carousel-arrow {
        display: none;
        border: 2px solid #00378c;
        border-radius: 100px;
        height: 32px;
        width: 32px;
        color: #00378c;
        position: absolute;
        justify-content: center;
        bottom: 10px;
        margin-block: auto;
        background-color: white;
        font-size: 2rem;
        padding: 0;
        cursor: pointer;
        opacity: 0.5;
        transition: opacity 100ms;
    }
   
    .carousel-arrow:hover,
    .carousel-arrow:focus {
        opacity: 1;
    }

    .carousel-arrow--prev {
        left: 3rem;
    }

    .carousel-arrow--next {
        right: 3rem;
    }
*/
    #chem-carousal {
        padding: 2rem 3rem;
        padding-bottom: 6rem;
    }
    #chem-carousal h3 {
        font-size: 2.2rem;
        line-height: 3rem;
    }
    #chem-carousal .chem-tile {
        padding: initial;
    }
    #chem-carousal .tile-cards.long-card {
        margin-top: 2rem;
    }
    #chem-carousal .tile-cards {
        margin-right: 0;
    }

    /* Related Articles MOBILE */
    #chem-stories {
        padding: 2rem 3rem;
    }
    .chem-stories-list {
        padding-left:1rem;
        padding-top: 2rem;
    }
    .chem-stories-action {
        position: initial;
        padding-top: 2rem;
    }
    .chem-stories-action .mlkn-button {
        width:100%;
        text-align:center;
    }
}

@media (max-width: 768px) {
    #hero-video-wrapper {
        height: 700px !important;

    }
}

    @media (max-width: 575px) {
        #hero-video-wrapper {
            height: auto !important;
        }
    }