/*==================================
    mainHero
==================================*/

.main-hero-item {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.main-hero-item-contents {
    text-align: center;
    color: #ffffff;
    max-width: 75%;
    margin: 0 auto;
    padding: 80px 15px;
    position: relative;
}

.main-hero .main-hero-item.align-content-left-bottom {
    align-items: flex-end;
}

.main-hero .align-content-left-bottom .main-hero-item-contents {
    text-align: left;
    margin-left: 0;
    padding: 80px 0;
}

.main-hero-item-subtitle {
    font-size: 1.25rem;
}

.main-hero-item-title {
    font-size: 2.5rem;
}

.main-hero-item-textcontents {
    margin: 0 auto 25px auto;
    font-size: 1.15rem;
}

/*==== End of mainSlider ====*/

/*==================================
    Responsive
==================================*/

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

    .main-hero-item {
        min-height: 1px !important;
    }

}

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

    .main-hero .align-content-left-bottom .main-hero-item-contents {
        max-width: 75%;
    }

}

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

    .main-hero-item-contents {
        max-width: 100%;
    }

}

/*==== End of Responsive ====*/

/* Modal video */
.main-hero .close-button {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    pointer-events: auto;
    color: white;
    background: transparent;
    border: none;
    transition: transform 0.2s ease;
    z-index: 1;
}

.main-hero .close-button:hover {
    transform: scale(1.2);
}

.main-hero .close-button:active,
.main-hero .close-button:focus {
    outline: none;
}

.main-hero .main-hero-button i {
    margin-left: 8px;
}

.main-hero .video-wrapper {
    position: relative;
    max-width: 100%;
    max-height: calc(100vh - 120px);
}

.main-hero .video-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.main-hero .modal {
    padding-left: 17px;
}

.main-hero .modal-dialog {
    max-width: 80%;
    margin: 0 auto;
}

.main-hero video {
    pointer-events: all;
    max-width: 100%;
    max-height: calc(100% - 120px);
}

@media screen and (max-width:991px) {
    .main-hero .close-button {
        font-size: 1.5rem;
        top: 0.5rem;
        right: 0.7rem;
    }
}

@media (max-width: 576px) {
    .main-hero .modal-dialog {
        max-width: 100%;
    }
}

@media screen and (max-width:425px) {
    .main-hero .modal {
        padding-right: 17px;
    }
}