/* Custom Site Styling Overrides & Components
   -------------------------------------------
   This stylesheet augments the base Unify theme with Haulix?specific
   branding, layout adjustments, responsive tweaks, and specialized
   UI component styles (pricing tables, library grid, promo boxes, etc.).
*/

/* Hero / Interactive Slider (large header background image) */
.interactive-slider-v2.img-v2 {
    background: url(/Content/Css/Unify/assets/img/bg/hlx-headerpic1.jpg) no-repeat; /* hero image */
    background-position-x: 0%; /* legacy explicit positioning (overridden below) */
    background-position-y: 0%;
    background-size: auto auto; /* fallback before cover */
    background-size: cover; /* scale image to cover viewport */
    background-position: center center; /* center focal point */
    background-color: #000; /* fallback color behind image */
}

/* Increase vertical space for hero on md+ screens */
@media(min-width: 768px) {
    .interactive-slider-v2 { padding: 300px 0; }
}

/* Mobile / tablet header background (force opaque) */
@media (max-width: 991px) {
    /*Header*/
    .header-fixed .header-v6.header-dark-transparent .navbar {
        /*background: #0C1926;*/
        background: #000; /* unify dark tone */
    }
}

/* Logo z-index ensures visibility above overlapping elements */
.default-logo { z-index: 1000; }
.shrink-logo { z-index: 1000; }

/* Privacy policy page spacing + typographic tweaks */
.privacy { margin-bottom: 50px; }
    .privacy p { margin-top: 16px; margin-bottom: 15px; }
    .privacy h2 { color: #c0392b; /* accent heading */ }

/* Header bar background when shrink class applied on scroll */
.header-fixed .header-v6.header-dark-transparent.header-fixed-shrink .navbar {
    /*background: #0C1926;*/
    background: #000;
}

.navbar { border-radius: 0; /* flat top bar */ }

/* Footer styling (light brand neutral) */
.footer { background-color: #d9def9; padding-top: 15px; padding-bottom: 15px; }
.copyright li { color: #666; }
.thumb-news small { color: #ccc; }

/* Link variants */
a.special-link { color: #e74c3c; }
li.access-denied-options a, li.access-denied-options a:visited { color: #e74c3c; text-decoration: underline; }

/* Pricing Table & Service Blocks */
.pricing-service-block { padding: 20px 30px; text-align: center; margin-bottom: 20px; }
    .pricing-service-block h2.smaller { font-size: 18px; }
.pricing-table-v6 ul.all-plans { padding-bottom: 0; }
    .pricing-table-v6 ul.all-plans li { color: #333; }
        .pricing-table-v6 ul.all-plans li.subtext { font-size: 0.8em; }
ul.pricing-v4-content li a { color: #fff; text-decoration: underline; }

/* Generic utility boxes */
.box-bg { background-color: #f5f5f5; border-top: 0; }
.content-md { padding-top: 0; padding-bottom: 0; }
.margin-bottom-150 { margin-bottom: 150px; }
.margin-bottom-50 { margin-bottom: 50px; }
.credit-cards { width: 260px; margin: 0 auto 15px; }

/* Registration & Auth blocks */
.reg-header img, .reg-block-header img { width: 70px; height: auto; }
.reg-block { border-top: 0; }
.reg-block-header img { display: block; margin: auto auto; }
.reg-block h2, .reg-block p, .reg-block p a { color: #333; }
.reg-block .checkbox { margin-left: 45px; }
.reg-page label, .reg-page h2, .reg-page p { color: #333; }
.reg-page .required { color: #e74c3c; }

/* Form (Sky Form theme overrides) */
.sky-form { background-color: #fff; margin-bottom: 50px; border: 0; }
    .sky-form a, .sky-form a:hover, .sky-form a:visited { color: #e74c3c; }
    .sky-form label.error { display: none; color: #e74c3c !important; }
    .sky-form select.error, .sky-form textarea.error, .sky-form input.error { background-color: #fcedf4; }
    .sky-form select.valid, .sky-form textarea.valid, .sky-form input.valid { background-color: #edffed; }

.center-block-button { width: 200px; margin: 0 auto; }

/* Registration navigation link (back) */
.go-back-link a, .go-back-link a:hover, .go-back-link a:visited {
    color: #e74c3c; text-decoration: none; float: left; margin: 3px; font-size: 0.9em;
}

/* Toast notifications spacing top center */
#toast-container.toast-top-center > div { margin-top: 20px; }

label.error { color: red; }
.footer-v1 .footer .map-img { background: url(/Content/Css/Unify/assets/img/map-img.png) 5px 20px no-repeat; }

/* Help Guides & Search Results */
.s-results .related-search a:hover { color: #999999; color: #e74c3c; /* final overrides second */ }
.inner-results h3 { color: #e74c3c; margin-top: 5px; text-shadow: none; font-weight: normal; font-family: "Open Sans", Arial, sans-serif; }
.sidebar-nav-v1 > li.active > a { color: #e74c3c; }
.sidebar-nav-v1 > li.active, .sidebar-nav-v1 > li.active:hover { background: #fff; }

/* Help home link palette (white over dark background) */
div.help-home a, div.help-home a:hover { color: #fff; }

/* Contact / Promo container layout */
.promo-container { padding: 95px 35px 0; width: 800px; margin: -5px auto 0; }
.promo-body { border: 1px solid; border-top: none; color: #333; }
.promo-border { border: 1px solid #ccc; }
.promo-body-color { background-color: #fff; }
/* End Contact Screens */

/* Library Grid (responsive media queries adjust column count) */
.library-grid { display: grid; column-gap: 10px; grid-auto-rows: minmax(280px, auto); align-items: start; }

/* Search box panel styling */
.search-box-wrapper { margin-top: 20px; margin-bottom: 20px; padding: 20px; border: 1px solid #e5e5e5; border-radius: 5px; background-color: #f9f9f9; }
.search-box-wrapper hr { margin-top: 10px; margin-bottom: 10px; }
.search-box-wrapper a { display: block; margin-bottom: 0; }
.search-box-wrapper a i { margin-right: 3px; }

/* Grid breakpoints: 2 cols @ md, 4 cols @ lg */
@media (min-width: 768px) { .library-grid { grid-template-columns: 280px 280px; /* justify-items: center;*/ } }
@media (min-width: 992px) { .library-grid { grid-template-columns: 280px 280px 280px 280px; /* justify-items: center;*/ } }

/* Small screen adjustments */
@media only screen and (max-width: 576px) {
    .library-grid { grid-template-columns: 100%; /* single column */ padding-left: 15px; }
    .search-box-wrapper { margin-top: 20px; margin-bottom: 20px; padding: 10px; border: none; border-radius: 0; background-color: transparent; }
}

/* Group headline styling in library sections */
.library-group-headline { font-size: 16px; font-weight: 700; vertical-align: middle; line-height: 40px; }
.library-group-headline-container { width: 100%; background-color: #eee; margin-bottom: 15px; height: 40px; vertical-align: middle; text-align: center; }
.group-box-shadow { box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; }

/* Tablet & below adjustments */
@media only screen and (max-width: 992px) {
    .header-v6 .navbar-nav { margin-left: 15px; }
    .library-grid div { margin-left: 0; }
    .library-grid .promo-box { padding-left: 0; }
    .library-grid .sender-company { margin-left: 0; }
}

/* Library wrapper (forms & metadata lists) */
.library-wrapper { padding: 10px; margin: 0; }
    .library-wrapper .group-headline { font-size: 16px; font-weight: 700; line-height: 40px; }
    .library-wrapper .group-headline-container { background-color: #eee; margin-left: 0; margin-right: 15px; margin-top: 10px; margin-bottom: 10px; height: 40px; vertical-align: middle; text-align: center; color: #000; display: block; }
    .library-wrapper .form-control-label { width: 250px; text-align: left; color: #000; display: block; font-weight: normal; }
    .library-wrapper .sender-company { font-size: 22px; font-weight: 700; color: var(--hlx-orange); margin-left: 15px; }

/* Promo (album / campaign) display tiles */
.promo-box { margin-bottom: 15px; padding: 25px; }
    .promo-box .hide-promo-link { margin-left: 6px; }
.toastr-link { text-decoration: underline; font-weight: bold; }
.promo-box img { width: 150px; height: 150px; padding: 5px; margin-bottom: 15px; border-radius: 6px; box-shadow: #000000 0px 10px 15px -3px, #000000 0px 4px 6px -2px; box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px; }
.rating-star-container { display: flex; flex-wrap: nowrap; justify-content: space-between; }
.promo-box .caption .title { color: #666; margin-bottom: 7px; border-bottom: solid 1px #ddd; padding: 0; font-size: 16px; }
.promo-box .caption .h3 { margin: 0; padding: 0; font-size: 18px; font-weight: 700; }
.promo-box .promo-details { margin-left: 4px; }
    .promo-box .promo-details .record-label,
    .promo-box .promo-details .release-date,
    .promo-box .promo-details .expiration-date { color: #000; margin: 0; padding: 0; }
    .promo-box .promo-details .view-promo { margin-top: 6px; margin-bottom: 6px; }

/* Misc utilities */
.col-centered { float: none; margin: 0 auto; }
.modal-open[style] { padding-right: 0px !important; /* prevent layout shift when removing scrollbar padding */ }
.color-neutral-disabled { color: var(--hlx-neutral-status-color); }