﻿.hero-component {
    position: relative;
    width: 100%;
    background-color: #333333;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: auto;
    min-height: 100px;
    padding: 0px 25px 0px 25px;
}

    .hero-component.overlay::after {
        content: '';
        position: absolute;
        background: rgba(0, 0, 0, 0.5);
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
    }

    .hero-component.overlayBlack::after {
        content: '';
        position: absolute;
        background: rgba(0, 0, 0, 0.5);
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
    }

    .hero-component.overlayWhite::after {
        content: '';
        position: absolute;
        background: rgba(255, 255, 255, 0.5);
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
    }

.hc-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    display: none;
    background-color: black;
}

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

.hero-component.blur .hc-bg img {
    filter: blur(8px);
    -webkit-filter: blur(8px);
    -moz-filter: blur(8px);
    -ms-filter: blur(8px);
    -o-filter: blur(8px);
}

.hero-component.bg-show .hc-bg {
    display: block;
}

.hero-component .center-box {
    padding: 25px;
    max-width: 100%;
    display: inline-flex;
    position: relative;
    z-index: 1;
    width: auto;
    text-align: center;
    min-height: 100px;
}

    .hero-component .center-box span {
        position: relative;
        max-width: 100%;
        display: block;
    }

        .hero-component .center-box span img {
            max-width: 100%;
            max-height: 50px;
            object-fit: contain;
        }

        .hero-component .center-box span lottie-player {
            aspect-ratio: 16 / 9;
            max-height: 50px;
            object-fit: contain;
            min-height: 1px;
        }

.hero-component .center-box.hide-logo span {
    display: none;
}

.hero-component .thumbnail-box {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    display: none;
    padding: 0;
    transform: translateX(100%);
    padding-left: 90px;
    align-items: flex-end;
}

.hero-component.thumbnail-show .thumbnail-box {
    display: flex;
}

.hero-component .thumbnail-box .thumb-caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 15px;
    margin-bottom: 20px;
}

.hero-component .thumbnail-box .ThumbImg {
    padding: 10px 10px 0 10px;
}

.hero-component .thumbnail-box .thumb-caption span {
    color: #fff;
    font-family: Lato;
    font-size: 12px;
    line-height: 16px;
    display: block;
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-component .thumbnail-box .ThumbImg {
    padding: 10px 10px 0 10px;
    max-width: 115px;
    max-height: 115px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.hero-component .thumbnail-box .thumb-caption span a {
    text-decoration: underline;
    font-weight: bold !important;
    color: #fff;
}

.hero-component .thumbnail-box img {
    max-width: 100%;
    max-height: 90px;
    object-fit: cover;
    width: 100%;
    object-position: top;
}

.hero-component .thumbnail-box .ThumbImg {
    padding: 10px 10px 0 10px;
    width: 125px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    max-height: 90px;
}

    .hero-component .thumbnail-box .ThumbImg.rotateSideImage img {
        transform: rotate( 5deg);
    }

.hero-component h1 {
    font-family: "Gotham A", "Gotham B", "Lato" !important;
    font-weight: 500;
    color: #ffffff !important;
    font-size: 28px !important;
    text-align: center;
    margin: 0;
    line-height: 32px !important;
    position: relative;
    z-index: 2;
}

.hero-component.show-h1text h1 {
    display: block;
}

.hero-component.show-h1text .center-box {
    display: none;
}

@media only screen and (max-width: 1200px) {
    .hero-component .thumbnail-box {
        right: calc(100% - 360px);
    }
}

/*@media only screen and (max-width: 1200px) {
    .hero-component .thumbnail-box {
        right: calc(100% - 360px);
    }
}*/

    @media only screen and (max-width: 991px) {
        .hero-component.responsive-box {
            max-height: initial;
            flex-direction: column;
        }

            .hero-component.responsive-box .center-box {
                padding: 15px 15px 0 15px;
            }

            .hero-component.responsive-box .thumbnail-box {
                position: relative;
                z-index: 1;
                right: auto;
                bottom: auto;
                height: auto;
                transform: translateX(0%);
                padding-left: 0;
                margin: 0 auto;
            }

                .hero-component.responsive-box .thumbnail-box img {
                    max-width: 100%;
                    max-height: 100%;
                    object-fit: cover;
                }

        .hero-component .center-box {
            flex-direction: column;
        }

            .hero-component .center-box span {
                padding-bottom: 15px;
            }

            .hero-component .center-box span {
                padding-bottom: 0;
            }


        .hero-component .thumbnail-box .thumb-caption {
            margin-bottom: 15px;
        }
    }

    @media (max-width: 768px) {
        .hero-component .center-box span lottie-player {
            margin: 0 auto;
        }
    }