:root {
    --main-color: #000;
    --secondary-color: #000;
}

html {
    scroll-behavior: smooth;
    display: flex;
    justify-content: center;
    background-color: #fbfbfb;
}

@media screen and (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

}

.hidden {
    display: none !important;
}

/* General styles */
body {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-family: lato, sans-serif !important;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

.d-flex {
    display: flex;
}

.w-100 {
    width: 100%;
}

.w-50 {
    width: 50%;
}

section {
    padding: 0;
}

section>h1,
section>h2,
section>h3 {
    text-align: center;
}

.article-section {
    justify-content: center;
}

h2,
.hero-title {
    font-size: 1.2rem;
    color: var(--main-color);
}

li {
    line-height: 1.5rem;
}

li i {
    width: fit-content;
    height: 25px;
}

ul {
    margin: 0;
    padding: 0;
}


.btn-red-border {
    border: 2px solid #C2263B;
    border-radius: 5px !important;
    color: #C2263B;
    font-weight: 700 !important;
}

.btn-red-border:hover {
    background-color: #C2263B;
    color: #ffffff !important;
}

.btn-blue-border {
    border: 2px solid #0a2240;
    border-radius: 5px !important;
    color: #0a2240;
    font-weight: 700 !important;
}

.btn-blue-border:hover {
    background-color: #0a2240;
    color: #ffffff !important;
}

.btn-back {
    position: absolute;
    top: 50px;
    right: 50px;
    font-size: 18px;
    padding: 8px 16px !important;
}

#gallery-section {
    background-image: url('../images/campaign-launch/bg2.svg');
    background-repeat: no-repeat;
    background-size: 100%;
    min-height: 600px;
}

#promo-calendar-section {
    background-image: url('../images/campaign-launch/bg2.svg');
    background-repeat: no-repeat;
    background-size: 100%;
    min-height: 600px;
}

.button-area .button {
    display: inline-block;
    padding: 10px;
    margin: 0px auto;
    background-color: #ECECEC;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
    color: #353535;
    font-size: 14px;
}

.button-area .button:hover {
    background-color: rgba(66, 66, 66, 0.32);
    color: #ffffff;
}

/*
.button-area .button.active {
    background-color: #C2263B;
    color: #ffffff;
}*/

.button-area input[type=checkbox] {
    height: 15px;
    width: 15px;
    margin: 0 9px 0 3px;
    position: relative;
    top: 2px;
    outline: 2px solid #C7C2C2;
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
    border-radius: 3px;
}

.button-area input[type=checkbox]:hover {
    outline: 2px solid #FFFFFF;
}

.button:has(input.active),
.button:has(input.active):hover {
    background-color: #C2263B;
    color: #ffffff;
}


input.active {
    background-color: #C2263B;
    color: #ffffff;
}

input.active:after {
    content: '';
    position: absolute;
    width: 8px;
    height: 12px;
    background: rgba(0, 0, 0, 0);
    top: 0;
    left: 3px;
    border: 3px solid #ffffff;
    border-bottom: none;
    border-right: none;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.card .card-body {
    padding: 0;
    max-height: 265px;
}

.card-header {
    background-color: rgba(0, 0, 0, .0) !important;
    border-bottom: 0px solid rgba(0, 0, 0, .125) !important;
}

.card-header img {
    width: 60%;
    border-radius: 50%;
    border: 2px solid var(--main-color);
    padding: 5px;
}

.card-footer {
    background-color: #FFFFFF !important;
}

.text-small {
    font-size: 12px;
}

.card-small {
    color: #EE4C7C;
}

.bg-red-overlay {
    background-color: #e92d3fb3;
}

.bg-gray-overlay {
    background-color: #00000080;
}

.bg-red {
    background-color: #A60C25 !important;
}

.mh-300 {
    min-height: 300px;

}

#loading_msg {
    position: fixed;
    top: 48%;
    width: 100%;
    z-index: -1;
}

/* ELA experience section */

.first-head {
    background-image: url('../images/benjamin-moore/bg.svg');
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 500px;
}

.hero-subtitle {
    font-size: 48px;
    color: #ffffff;
    font-weight: 500;
    padding: 50px 25px;
    line-height: 1.2;
    max-width: 75%;
}

.hero-description {
    font-size: 20px;
    color: #353535;
    font-weight: 300;
    padding-top: 25px;
    line-height: 1.4;
}

footer {
    background: #ffffff;
}

footer p {
    color: #D31145;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

h2>svg {
    height: 30px;
    width: 30px;
    margin: 0 5px 0 0;
}

.close-modal {
    width: 40px;
    height: 40px;
    position: absolute;
    right: -40px;
    line-height: 1;
}

.close-modal span {
    font-size: 2rem;
}

.modal-body img {
    max-height: 600px;
    width: 100%;
}

.grid-wrapper>div {
    display: flex;
    justify-content: center;
}

.grid-wrapper>div>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
    border: solid 1px #c6c6c6;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    padding: 5px;
}

.grid-wrapper {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-auto-rows: 220px;
    grid-auto-flow: dense;
}

.grid-wrapper .wide {
    grid-column: span 2;
}

.grid-wrapper .tall {
    grid-row: span 4;
}

.grid-wrapper .big {
    grid-column: span 2;
    grid-row: span 2;
}

.max-content-width {
    max-width: max-content;
}

.fs-7 {
    font-size: 0.75rem;
}

.fs-8 {
    font-size: 0.6rem !important;
}

.card-header,
.card-footer {
    padding: 0.5rem !important;
}

.card-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.divider {
    height: 45px;
    width: 2px;
    background-color: #54565A;
    margin: 0 30px;
}

@media (min-width: 1400px) {
    .hero-subtitle {
        max-width: 60%;
    }

    #gallery-section {
        min-height: 800px;
    }

    #promo-calendar-section {
        min-height: 500px;
    }
}

@media (max-width: 1200px) {
    .hero-subtitle {
        font-size: 40px;
    }
}

@media (max-width: 991px) {
    .hero-subtitle {
        font-size: 24px;
    }

    .btn-back {
        position: relative;
        top: 0;
        right: 0;
    }
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 24px;
        padding: 30px 25px !important;
    }

    .first-head {
        min-height: 375px;
    }
}

@media (max-width: 576px) {
    .hero-subtitle {
        max-width: 100%;
        padding: 30px 25px;
    }

    .first-head {
        min-height: 240px;
    }

    #launch h2,
    .tab-content>.tab-pane h3 {
        font-size: 28px;
    }

    .tab-content>.tab-pane p {
        font-size: 16px;
    }

    .tab-content>.tab-pane {
        padding: 2rem;
    }

    .grid-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-auto-rows: 150px;
    }

    .grid-wrapper .big {
        grid-row: span 3;
    }

    .card .card-body {
        max-height: 500px;
    }

}