/* =========================================================
   BURT PROCESS EQUIPMENT - HERO VIDEO BANNER
   ========================================================= */

/* =========================================================
   MAIN HERO / VIDEO CONTAINER
   ========================================================= */

#heroBanner {
    width: 100%;
    height: 650px !important;
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    background: #000;
}


/* =========================================================
   HERO VIDEO - DEFAULT / DESKTOP
   ========================================================= */

#heroBanner video {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* =========================================================
   HERO OVERLAY TEXT
   ========================================================= */

#heroOverlayText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1400px;
    z-index: 10;
}

#heroOverlayText h1 {
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

#heroButtons {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#heroButtons a {
    background-color: #ffffff;
    color: #184b7a;
    padding: 15px 25px;
    border: 1px solid #184b7a;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

#heroButtons a:hover {
    background-color: #c1d1e0;
    color: #184b7a;
    text-decoration: none;
}

#heroButtons a img {
    width: 40px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    margin-right: 15px;
}


/* =========================================================
   INFO BANNER BORDERS
   ========================================================= */

#pix-fe .zoey-infobanner-container .zoey-infobanner {
    border-color: #184b7a !important;
    border: none !important;
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1600px) {

    #heroBanner {
        height: 650px !important;
    }

    #heroOverlayText {
        width: 85%;
        max-width: 1500px;
    }

}


/* =========================================================
   STANDARD DESKTOP / LAPTOP
   1200px - 1599px
   ========================================================= */

@media (min-width: 1200px) and (max-width: 1599px) {

    #heroBanner {
        height: 600px !important;
    }

    #heroOverlayText {
        width: 90%;
        max-width: 1350px;
    }

    #heroOverlayText h1 {
        font-size: 42px;
        line-height: 1.4;
    }

}


/* =========================================================
   TABLET LANDSCAPE
   1024px - 1199px
   ========================================================= */

@media (min-width: 1024px) and (max-width: 1199px) {

    #heroBanner {
        height: 500px !important;
    }

    #heroBanner video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;

        /*
         * Slightly shift the video upward.
         * This helps prevent important lower portions
         * of the video from being cut off.
         */
        object-position: center 45% !important;
    }

    #heroOverlayText {
        width: 88%;
        max-width: 1000px;
    }

    #heroOverlayText h1 {
        font-size: 36px;
        line-height: 1.3;
    }

    #heroButtons {
        gap: 16px;
    }

    #heroButtons a {
        font-size: 18px;
        padding: 13px 22px;
    }

    #heroButtons a img {
        width: 36px;
        margin-right: 12px;
    }

}


/* =========================================================
   TABLET PORTRAIT
   768px - 1023px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1023px) {

    #heroBanner {
        height: 460px !important;
    }

    #heroBanner video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;

        /*
         * Keep the important center portion visible.
         */
        object-position: center center !important;
    }

    #heroOverlayText {
        width: 88%;
        max-width: 900px;
    }

    #heroOverlayText h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    #heroButtons {
        gap: 14px;
    }

    #heroButtons a {
        font-size: 17px;
        padding: 12px 20px;
    }

    #heroButtons a img {
        width: 34px;
        margin-right: 10px;
    }

}


/* =========================================================
   SMALL TABLETS / LARGE PHONES
   768px - 850px
   ========================================================= */

@media (min-width: 768px) and (max-width: 850px) {

    #heroBanner {
        height: 430px !important;
    }

    #heroBanner video {
        object-position: center center !important;
    }

    #heroOverlayText {
        width: 90%;
    }

    #heroOverlayText h1 {
        font-size: 30px;
        line-height: 1.3;
    }

    #heroButtons {
        gap: 12px;
    }

    #heroButtons a {
        font-size: 16px;
        padding: 11px 18px;
    }

}


/* =========================================================
   MOBILE
   481px - 767px
   ========================================================= */

@media (min-width: 481px) and (max-width: 767px) {

    #heroBanner {
        height: 500px !important;
    }

    #heroBanner video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    #heroOverlayText {
        width: 90%;
    }

    #heroOverlayText h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    #heroButtons {
        gap: 12px;
    }

    #heroButtons a {
        font-size: 16px;
        padding: 12px 18px;
    }

    #heroButtons a img {
        width: 30px;
        margin-right: 10px;
    }

}


/* =========================================================
   SMALL MOBILE
   480px AND BELOW
   ========================================================= */

@media (max-width: 480px) {

    #heroBanner {
        height: 450px !important;
    }

    #heroBanner video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    #heroOverlayText {
        width: 92%;
    }

    #heroOverlayText h1 {
        font-size: 24px;
        line-height: 1.25;
    }

    #heroButtons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    #heroButtons a {
        width: auto;
        max-width: 90%;
        font-size: 15px;
        padding: 11px 17px;
    }

    #heroButtons a img {
        width: 28px;
        margin-right: 8px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   375px AND BELOW
   ========================================================= */

@media (max-width: 375px) {

    #heroBanner {
        height: 420px !important;
    }

    #heroOverlayText h1 {
        font-size: 22px;
        line-height: 1.25;
    }

    #heroButtons a {
        font-size: 14px;
        padding: 10px 15px;
    }

}