/* Styles specific to the Coming Soon CT page */
#ct-coming-soon {
    padding-top: 48px;
}

#con-content {
    max-width: 1088px;
    margin: 0 auto;
    float: none;
    padding: 0px 64px 0 64px;
}

    #con-content > div {
        margin: 30px 0px;
    }

    #con-content > div.ct-map {
        margin: 16px 0px;
    }

#ct-coming-soon h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.5; 
}
#ct-coming-soon p {
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 500;
}
#ct-coming-soon strong {
  font-weight: 700;
}

.mainNavBarV1 + #ct-coming-soon {
  margin-top: 16px; 
}

#footer.footer {
  margin-top: 40px;
}

/* Page background for CT view */
body {
    background-color: #ffffff;
    line-height: 1.5; /* 150% line height for all text */
}

#ct-hero-container {
    position: absolute;
    width: 100%;
    height: 450px;
    bottom: 0px;
    z-index: 10;
    padding-left: 5%;
    padding-top: 64px;
}

#ct-carousel-container {
    position: relative;
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    max-width: none;
    min-width: none;
}

#ct-hero-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient( to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100% );
}

.compact-carousel-controls {
    position: absolute;
    display: flex;
    box-sizing: content-box;
    margin-left: 5%;
    bottom: 64px;
    z-index: 15;
    padding-left: 7px;
}

#ct-carousel {
    width: 100%;
}
    #ct-carousel > .carousel-inner {
        margin: 0 !important;
        width: 100%;
        height: 100%;
    }

        #ct-carousel > .carousel-inner > .item {
            width: 100%;
            height: 100%;
            max-width: none;
            padding: 0 !important;
        }

            #ct-carousel > .carousel-inner > .item > img {
                object-fit: cover;
                object-position: center;
                display: block;
                min-width: 100vw;
                min-height: 100vh;
            }

    #ct-carousel .carousel-control {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 11px;
        height: 18px;
        padding: 0 !important;
        margin: 0;
        text-shadow: none;
        opacity: 1;
    }

        #ct-carousel .carousel-control span {
            display: flex;
            flex: 1;
            align-items: center;
            justify-content: center;
            width: 11px;
            height: 18px;
            font-size: 16px;
            text-align: center;
            text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        }

    #ct-carousel .carousel-indicators {
        position: static;
        box-shadow: none;
        background: transparent;
        height: 16px;
        margin: 0px 28px !important;
    }

            #ct-carousel .carousel-indicators li {
                border: solid;
                width: 16px;
                height: 16px;
                margin: 0 12px 0 0;
                border-radius: 20px;
                border-width: 1px;
                border-color: #FFFFFF;
                background-color: #AAAAAA;
                outline: none;
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
            }


.ct-hero-title {
    display: inline;
    font-size: 64px;
    font-weight: bold;
    line-height: 1.4;
    padding: 0px 20px;
    background-color: #1A4F80;
    border-radius: 2px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    box-shadow:0 2px 6px rgba(0, 0, 0, 0.2);
    color: white;
    margin-bottom: 0 !important;
}

            #ct-carousel .carousel-indicators li:last-child {
                margin: 0;
            }

            #ct-carousel .carousel-indicators li.active {
                background-color: #FFFFFF;
            }

/* Key Dates timeline */
#ct-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

#warehouse-header {
    margin-top: 20px;
}

#warehouse-header-desktop {
    display: block;
}

#warehouse-header-mobile {
    display: none;
}

#people-first-header {
    margin-top: 64px;
}

#ct-now-hiring {
    margin-top: 64px;
}

.ct-key-dates-desktop {
    display: block;
}

.ct-key-dates-mobile {
    display: none;
}

.ct-key-dates {
    margin-top: 48px;
    margin-bottom: 0;
}

    .ct-key-dates .timeline {
        position: relative;
        min-height: 100px;
        overflow: visible; 
    }

    /* Build the connector line between circles by drawing
       half-lines from each timeline item. This ensures the
       line starts at the first circle and ends at the last. */
        .ct-key-dates .timeline .col-sm-2,
        .ct-key-dates .timeline .col-xs-6 {
            position: relative;
            text-align: center;
            width: 20%;
        }

            .ct-key-dates .timeline .col-sm-2::before,
            .ct-key-dates .timeline .col-xs-6::before,
            .ct-key-dates .timeline .col-sm-2::after,
            .ct-key-dates .timeline .col-xs-6::after {
                content: "";
                position: absolute;
                top: 40px; /* center based on larger circle size */
                transform: translateY(-100%);
                height: 4px; /* thicker line */
                background-color: #1b4f7f;
                z-index: 0;
                pointer-events: none;
            }

            /* Left half */
            .ct-key-dates .timeline .col-sm-2::before,
            .ct-key-dates .timeline .col-xs-6::before {
                left: 0;
                width: 50%;
            }

            /* Right half */
            .ct-key-dates .timeline .col-sm-2::after,
            .ct-key-dates .timeline .col-xs-6::after {
                left: 50%;
                width: 50%;
            }

            /* Hide the halves that would extend beyond the ends */
            .ct-key-dates .timeline .col-sm-2:first-child::before,
            .ct-key-dates .timeline .col-xs-6:first-child::before {
                display: none;
            }

            .ct-key-dates .timeline .col-sm-2:last-child::after,
            .ct-key-dates .timeline .col-xs-6:last-child::after {
                display: none;
            }

        .ct-key-dates .circle {
            width: 72px;
            height: 72px;
            background-color: #1b4f7f;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px auto; /* more space below circle */
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
            position: relative;
            z-index: 1; /* circles sit above the line */
        }

            .ct-key-dates .circle img {
                width: 36px;
                height: 36px;
                object-fit: contain;
                filter: brightness(0) invert(1); /* make icons white if dark */
            }

    .ct-key-dates .timeline strong {
        display: inline-block;
        font-size: 16px; /* date font */
        font-weight: 700; /* date font bold */
        color: #1b4f7f;
    }

    /* Timeline description text under dates */
    .ct-key-dates .timeline .date-desc,
    .ct-key-dates .timeline .desc,
    .ct-key-dates .timeline p {
        font-size: 16px; /* text font */
        font-weight: 500; /* normal */
        margin-top: 8px; /* spacing from screenshot between date and description */
    }

    /* Bottom sign up button text */
    .ct-key-dates p a {
        font-size: 20px;
        font-weight: 600 !important;
    }


.ct-key-dates-mobile-first-row::before {
    content: "";
    position: absolute;
    top: 40px;
    transform: translateX(24px);
    width: 4px;
    height: 325px;
    background-color: #1b4f7f;
    z-index: 0;
    pointer-events: none;
}

.col-sm-6 {
    padding-right: 0px;
    padding-left: 16px;
}
.panel{
    margin-bottom: 16px; /* consistent spacing between cards when stacked */
}

.media-body {
    padding: 12px 0 0 0;
}


.btn-link {
    padding: 0px;
    margin: 0px;
    font-size: 16px;
    text-decoration: underline;
}

/* Now Hiring cards: rounded corners */
#ct-now-hiring .panel,
#ct-now-hiring .card {
    border-radius: 8px; /* border radius */
    overflow: hidden; /* ensure children respect rounding */
}

#ct-now-hiring .panel .panel-body,
#ct-now-hiring .card .card-body {
    font-size: 16px; /* text font */
    font-weight: 500; /* normal */
    padding:0px 16px 0px 0px;
}

/* Ensure equal heights per row and images fill the left side */
#ct-now-hiring .row {
    display: flex;               /* make columns equal height in a row */
    flex-wrap: wrap;
    margin-left: 0px;
    margin-right: 0px;
}

#ct-now-hiring .row > [class*="col-"] {
    display: flex;               /* allow child panel to stretch */
}

#ct-now-hiring .panel {
    display: flex;               /* let media layout control vertical stretch */
    flex-direction: column;
    width: 100%;
}

#ct-now-hiring .panel .panel-body {
    display: flex;               /* stretch media to full card height */
    flex: 1 1 auto;
}

#ct-now-hiring .media {
    display: flex;
    align-items: stretch;        /* left image spans full height */
    width: 100%;
}

#ct-now-hiring .media-left {
    flex: 0 0 140px;
    max-width: 180px;
    overflow: hidden; /* crop overflowing image */
    padding: 0px;
    margin: 0px;
}

#ct-now-hiring .media-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;           /* fill and crop to touch top & bottom */
}

#ct-now-hiring .media-body {
    flex: 1 1 auto;              /* take remaining space */
    padding: 16px 0 0 16px;         /* match default media-body padding only in this section */
    display: flex;
    flex-direction: column;
}
#ct-now-hiring .media-heading {
    font-weight: 700;
    margin-bottom: 8px;
}
#ct-now-hiring .media-body p:last-child {
    margin-top: auto;
}

/* Ensure list indentation within Now Hiring section */
#ct-now-hiring ul {
    padding-left: 16px;
}
.ct-video-note {
    margin-left: -5px;
}
.ct-hero-actions {
    margin-top: 28px !important;
}

#ct-now-hiring .now-hiring-container .btn-link {
    color: #1A4F80;
}


/* Responsive tweaks: reduce image column on smaller screens */
@media screen and (max-width: 991px) {
    #con-content {
        padding-right: 16px;
        padding-left: 16px;
    }
        #con-content > div {
            margin: 20px -16px 0px -16px;
        }
            #con-content > div.ct-map {
                margin: 16px -16px 16px -16px;
            }

    #ct-now-hiring .media-left {
        flex-basis: 140px;
        max-width: 140px;
    }
}

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

    #ct-coming-soon p {
        font-size: 16px;
    }

    #ct-coming-soon h1, #ct-coming-soon h2 {
        font-size: 24px;
    }

    #warehouse-header {
        margin-top: 32px;
    }

    #warehouse-header-desktop {
        display: none;
    }

    #warehouse-header-mobile {
        display: block;
    }

    #people-first-header {
        margin-top: 32px;
    }

    #ct-now-hiring {
        margin-top: 32px;
    }

        #ct-now-hiring .row {
            display: block; /* stack cards on small screens */
        }
            #ct-now-hiring .row > [class*="col-"] {
                display: block;
            }

        #ct-now-hiring .now-hiring-container {
            padding-left: 0px;
        }

        #ct-now-hiring .media {
            align-items: center;     /* keep image aligned when stacked */
        }

        #ct-now-hiring .media-left {
            flex: 0 0 140px;
            max-width: 140px;
            height: 100%;
        }

}

@media screen and (max-width: 679px) {
    .ct-key-dates-desktop {
        display: none;
    }

    .ct-key-dates-mobile {
        display: block;
    }

    .ct-key-dates {
        margin-top: 0;
    }

        .ct-key-dates .circle {
            width: 52px;
            height: 52px;
            margin: 0;
            padding: 0px;
        }

            .ct-key-dates .circle img {
                width: 28px;
                height: 28px;
            }

        .ct-key-dates .timeline {
            margin-bottom: -16px;
        }

            .ct-key-dates .timeline p {
                margin-top: 0px;
            }

        /* Bottom sign up button text */
        .ct-key-dates p a {
            font-size: 18px;
        }
}

@media screen and (max-width: 485px) {
    #ct-now-hiring .media-body {
        zoom: 0.85;
    }
}

@media screen and (max-width: 441px) {
    #ct-now-hiring .media-left {
        flex: 0 0 85px;
        height: 100%;
    }
}

/* Spacing between Now Hiring cards per screenshot
   Use panel bottom margin for consistent gaps across breakpoints */
#ct-now-hiring .row + .row {
    margin-top: 0; /* avoid uneven gaps caused by varying row groupings */
}

h2 {
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.5;
}

#ct-hero .btn-success,
#ct-coming-soon .btn-success,
#ct-content .btn-success{
    background-color: #33834a;
    border-color: #2a6f3f;
    color: #ffffff;
    background-image: none;
}

#ct-hero .btn-success:hover,
#ct-coming-soon .btn-success:hover,
#ct-content .btn-success:hover{
    background-color: #2a6f3f;
    border-color: #2a6f3f;
    color: #ffffff;
    background-image: none;
}

/* Hero buttons font size */
#ct-hero .btn,
#ct-hero .btn-success,
#ct-hero .btn-link {
    font-size: 20px !important;
}

/* Ensure all buttons use medium font weight */
.btn,
.btn-success,
.btn-link {
    font-weight: 500 !important;
}

/* CT Landing page specific styles */
.ct-stay-connected-copy {
    width: 900px;
    height: 54px;
    font-weight: 500;
    font-size: 18px;
}

/* Spacing rules between text and media */
/* 64px between end of a text section and start of image or embedded video */
#ct-coming-soon p + .ct-photo,
#ct-coming-soon p + .video-wrapper,
#ct-coming-soon p + .embed-responsive,
#ct-content p + .ct-photo,
#ct-content p + .video-wrapper,
#ct-content p + .embed-responsive {
    margin-top: 64px !important;
}

/* 32px between end of a picture/video and the title (next text section) */
.ct-photo + h2,
.video-wrapper + h2,
.embed-responsive + h2 {
    margin-top: 32px;
}

.ct-hero-actions a, .ct-hero-actions button {
    border: none;
    border-radius: 3px;
    padding: 10px 20px;
    font-weight: 600 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    margin-right: 32px;
}
    .ct-hero-actions button img {
        margin-right: 5px;
    }


    .ct-carousel-bg {
        height: 100%;
    }

.ct-carousel-bg-1 {
    background: url("https://img.uline.com/is/image/uline/jobs_Plainfield_CT_Hero_1920x1080?&wid=1920") no-repeat fixed center top;
}

.ct-carousel-bg-2 {
    background: url("https://img.uline.com/is/image/uline/jobs_Warehouse_picker_Hero_1920X1080?&wid=1920") no-repeat fixed center top;
}

.ct-carousel-bg-3 {
    background: url("https://img.uline.com/is/image/uline/jobs_Warehouse_pickers_389_Hero_1920x1080?&wid=1920") no-repeat fixed center top;
}

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

    #ct-coming-soon {
        padding-top: 16px;
    }

    #ct-coming-soon p + .ct-photo,
    #ct-coming-soon p + .video-wrapper,
    #ct-coming-soon p + .embed-responsive,
    #ct-content p + .ct-photo,
    #ct-content p + .video-wrapper,
    #ct-content p + .embed-responsive {
        margin-top: 24px !important;
    }
}

/* Make sure it adapts on small screens */
@media screen and (max-width: 991px) {
    .ct-stay-connected-copy {
        width: 100%;
        max-width: 900px;
        height: auto; /* allow wrapping */
    }
}
/*mobile only*/
@media (max-width: 450px) {

    .ct-carousel-bg-1 {
        background: url("https://img.uline.com/is/image/uline/jobs_Plainfield_CT_Hero_450x800?&wid=450") no-repeat fixed center top;
    }

    .ct-carousel-bg-2 {
        background: url("https://img.uline.com/is/image/uline/jobs_Warehouse_picker_Hero_450X800?&wid=450") no-repeat fixed center top;
    }

    .ct-carousel-bg-3 {
        background: url("https://img.uline.com/is/image/uline/jobs_Warehouse_pickers_389_Hero_450x800?&wid=450") no-repeat fixed center top;
    }
}

/* tab only*/
@media (max-width: 900px) and (min-width: 451px) {
    .ct-carousel-bg-1 {
        background: url("https://img.uline.com/is/image/uline/jobs_Plainfield_CT_Hero_1920x1080?&wid=1600") no-repeat fixed center top;
    }

    .ct-carousel-bg-2 {
        background: url("https://img.uline.com/is/image/uline/jobs_Warehouse_picker_Hero_1920X1080?&wid=1600") no-repeat fixed center top;
    }

    .ct-carousel-bg-3 {
        background: url("https://img.uline.com/is/image/uline/jobs_Warehouse_pickers_389_Hero_1920x1080?&wid=1600") no-repeat fixed center top;
    }
}

    @media screen and (max-width: 767px), screen and (max-width: 950px) and (orientation: portrait), screen and (max-width: 950px) and (orientation: landscape) {
        #ct-carousel-container {
            height: 80vh;
            min-height: 500px;
        }

        #ct-carousel > .carousel-inner > .item > img {
            min-height: 710px;
        }

        #ct-hero #ct-hero-container {
            height: 370px;
            padding-top: 32px;
        }

        #ct-hero .compact-carousel-controls {
            margin-left: 25px;
            bottom: 25px;
        }


            #ct-hero .compact-carousel-controls .carousel-control {
                display: inline-block;
                height: 35px;
            }

    #ct-hero .carousel-indicators {
        height: 32px;
    }

    #ct-carousel .carousel-control span {
        font-size: 20px;
    }

    #ct-carousel .carousel-indicators {
        padding: 4px 2px;
    }

    #ct-hero .carousel-indicators li, #ct-hero .carousel-indicators li.active {
        height: 17px !important;
        width: 17px !important;
        min-width: 15px !important;
        min-height: 15px !important;
        margin: 5px !important;
    }


        .ct-video-note {
            display: none;
        }

        .ct-hero-title {
            font-size: 40px;
            font-weight: bold;
            padding: 0px 10px;
            margin-right: 6px;
        }


        .ct-hero-actions a, .ct-hero-actions button {
            font-size: 18px !important;
        }

        #ct-hero .btn,
        #ct-hero .btn-success,
        #ct-hero .btn-link {
            font-size: 18px !important;
        }

        .yt-img-btn {
            padding: 10px 7px 10px 13px !important;
        }

}

/* CT Landing Page video modal*/
#ctVideoModal {
    border: 1px solid rgba(204, 204, 204, 1) !important;
    outline: none !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

    #ctVideoModal::backdrop {
        background: rgba(0, 0, 0, 0.4);
    }

#ctVideoClose {
    position: absolute; /* keep top-right positioning from markup */
    width: 30px; /* circle size */
    height: 30px; /* circle size */
    line-height: 30px; /* vertically center the x */
    text-align: center;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.75);
    background-image: url('/Content/Images/Vector.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 14px 14px; /* icon dimensions */
    color: rgba(85, 85, 85, 1);
    cursor: pointer;
    /* Hide the x glyph visually while keeping button accessible */
    text-indent: -9999px;
}

    #ctVideoClose:hover {
        background-color: #ffffff; /* make circle fully opaque */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    #ctVideoClose:focus-visible {
        box-shadow: 0 0 0 3px rgba(31, 90, 147, 0.35), 0 2px 4px rgba(0, 0, 0, 0.3);
    }