/* v20260902-3: modern homepage slider and service navigator for the legacy Netcat site. */

body.oneColFixCtr.atd-home-page .atd-services-hub {
    clear: both;
    width: calc(100% - 48px);
    max-width: 1180px;
    margin: 16px auto 54px;
    padding: 32px 0 38px;
    border-top: 1px solid #d8e2e8;
    border-bottom: 1px solid #d8e2e8;
    color: #172033;
    font-family: 'Open Sans', Arial, sans-serif;
    box-sizing: border-box;
}

.atd-services-hub__header {
    display: flex;
    gap: 36px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.atd-services-hub__eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #087f73;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.atd-services-hub__header h2 {
    margin: 0;
    color: #172033;
    font-family: 'Open Sans Condensed', 'Open Sans', Arial, sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: uppercase;
}

.atd-services-hub__header p {
    max-width: 480px;
    margin: 0 0 2px;
    color: #526277;
    font-size: 14px;
    line-height: 1.55;
    text-align: right;
    text-indent: 0;
}

.atd-services-hub__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(500px, .92fr);
    gap: 18px;
    align-items: stretch;
}

.atd-services-hub__hero {
    --atd-slider-caption-height: 96px;
    position: relative;
    min-width: 0;
    height: 450px;
    overflow: hidden;
    border-radius: 6px;
    background: #122c4b;
    box-shadow: 0 18px 40px rgba(26, 54, 82, .16);
}

body.oneColFixCtr.atd-home-page .atd-services-hub .mainslider {
    position: relative;
    float: none;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    border-radius: inherit;
    background: #122c4b;
}

body.oneColFixCtr.atd-home-page .atd-services-hub .mainslider > div[id^='obj'] {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    margin-left: 0 !important;
    opacity: 0;
    transform: scale(1.015);
    pointer-events: none;
    transition: opacity .45s ease, transform .8s ease;
}

body.oneColFixCtr.atd-home-page .atd-services-hub .mainslider > div[id^='obj'].current {
    z-index: 2 !important;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.atd-services-hub .mainslider > div[id^='obj'] > a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #edf3f6;
    color: #fff;
    text-decoration: none;
}

.atd-services-hub .mainslider > div[id^='obj'] > a:focus {
    outline: 3px solid #ffb700;
    outline-offset: -3px;
}

.atd-services-hub .mainslider > div[id^='obj'] > a > img {
    display: block;
    width: 100%;
    height: calc(100% - var(--atd-slider-caption-height));
    border: 0;
    background: #edf3f6;
    object-fit: contain;
    object-position: center;
}

.atd-services-hub .mainslider > div[id^='obj'].atd-slide--without-caption > a > img {
    height: 100%;
}

.atd-services-hub .sltext {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    height: var(--atd-slider-caption-height);
    min-height: 96px;
    padding: 20px 108px 20px 24px;
    align-items: center;
    color: #fff;
    background: rgba(12, 36, 63, .92);
    font-family: 'Open Sans Condensed', 'Open Sans', Arial, sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.15;
    box-sizing: border-box;
}

.atd-services-hub .sltext font {
    font-size: inherit !important;
}

.atd-services-hub .sltext__copy {
    position: static !important;
    display: block;
    min-width: 0;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    line-height: inherit !important;
    overflow-wrap: anywhere;
}

.atd-services-hub .sltext__copy * {
    position: static !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    transform: none !important;
}

.atd-services-hub .sltext--empty {
    display: none;
}

.atd-services-hub .sltext span.slnext {
    position: absolute;
    top: 50%;
    right: 24px;
    display: block;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    background: none;
    transform: translateY(-50%);
}

.atd-services-hub .sltext span.slnext::before {
    content: '\2192';
    position: absolute;
    inset: 0;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 42px;
    text-align: center;
}

.atd-services-hub .pslider {
    position: absolute;
    z-index: 5;
    top: 14px;
    right: 2px;
    bottom: auto;
    display: flex;
    gap: 3px;
    margin: 0;
    padding: 6px 5px;
    border-radius: 18px;
    background: rgba(9, 30, 52, .65);
}

.atd-services-hub .pslider a.r,
.atd-services-hub .pslider a.rc {
    display: block;
    float: none;
    width: 6px;
    height: 6px;
    margin: 0;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    box-sizing: content-box;
}

.atd-services-hub .pslider a.r span,
.atd-services-hub .pslider a.rc span {
    display: none;
}

.atd-services-hub .pslider a.rc {
    background: #ffb700;
}

.atd-services-hub .pslider a:focus {
    outline: 2px solid #ffb700;
    outline-offset: 3px;
}

body.oneColFixCtr.atd-home-page .atd-services-hub .mainwdgtcontainer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 82px;
    gap: 10px;
    width: auto;
    min-width: 0;
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 100%;
}

.atd-services-hub .mainwdgt {
    --atd-service-bg: #e9f1f4;
    --atd-service-hover: #dfecef;
    --atd-service-color: #172033;
    position: relative;
    display: block;
    float: none;
    width: auto;
    height: auto;
    min-width: 0;
    margin: 0;
    padding: 12px 86px 11px 16px;
    overflow: hidden;
    border: 1px solid rgba(19, 55, 81, .09);
    border-radius: 6px;
    color: var(--atd-service-color);
    background: var(--atd-service-bg);
    box-shadow: none;
    font-weight: 400;
    line-height: 1;
    text-align: left;
    text-decoration: none;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease;
}

.atd-services-hub .mainwdgt--wide {
    grid-column: 1 / -1;
    padding-right: 150px;
}

.atd-services-hub .mainwdgt:hover,
.atd-services-hub .mainwdgt:focus {
    color: var(--atd-service-color);
    border-color: rgba(19, 55, 81, .2);
    background: var(--atd-service-hover);
    box-shadow: 0 10px 22px rgba(25, 53, 80, .14);
    opacity: 1;
    transform: translateY(-2px);
}

.atd-services-hub .mainwdgt:focus {
    outline: 3px solid #ffb700;
    outline-offset: 2px;
}

.atd-services-hub .mainwdgt .wdgtcontent {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    padding: 0;
    align-items: center;
    color: inherit;
    font-family: 'Open Sans Condensed', 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.08;
    box-sizing: border-box;
}

.atd-services-hub .mainwdgt__media {
    position: absolute;
    z-index: 1;
    top: 7px;
    right: 8px;
    bottom: 7px;
    display: flex;
    width: 72px;
    align-items: center;
    justify-content: center;
}

.atd-services-hub .mainwdgt--wide .mainwdgt__media {
    width: 136px;
}

.atd-services-hub .mainwdgt__media img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border: 0;
    object-fit: contain;
    transition: transform .25s ease;
}

.atd-services-hub .mainwdgt:hover .mainwdgt__media img,
.atd-services-hub .mainwdgt:focus .mainwdgt__media img {
    transform: translateX(-3px);
}

.atd-services-hub--without-slider .atd-services-hub__layout {
    grid-template-columns: minmax(0, 1fr);
}

.atd-services-hub--without-slider .mainwdgtcontainer {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 1080px) {
    .atd-services-hub__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .atd-services-hub__hero {
        height: 430px;
    }

    body.oneColFixCtr.atd-home-page .atd-services-hub .mainwdgtcontainer,
    .atd-services-hub--without-slider .mainwdgtcontainer {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .atd-services-hub .mainwdgt--wide {
        grid-column: auto;
        padding-right: 86px;
    }

    .atd-services-hub .mainwdgt--wide .mainwdgt__media {
        width: 72px;
    }
}

@media (max-width: 760px) {
    body.oneColFixCtr.atd-home-page .atd-services-hub {
        width: calc(100% - 24px);
        margin-top: 8px;
        padding-top: 24px;
    }

    .atd-services-hub__header {
        display: block;
    }

    .atd-services-hub__header h2 {
        font-size: 28px;
    }

    .atd-services-hub__header p {
        max-width: 620px;
        margin-top: 12px;
        text-align: left;
    }

    .atd-services-hub__hero {
        height: 390px;
    }

    body.oneColFixCtr.atd-home-page .atd-services-hub .mainwdgtcontainer,
    .atd-services-hub--without-slider .mainwdgtcontainer {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .atd-services-hub .mainwdgt--wide {
        grid-column: 1 / -1;
        padding-right: 150px;
    }

    .atd-services-hub .mainwdgt--wide .mainwdgt__media {
        width: 136px;
    }
}

@media (max-width: 480px) {
    .atd-services-hub__hero {
        --atd-slider-caption-height: 82px;
        height: 330px;
    }

    .atd-services-hub .sltext {
        min-height: 82px;
        padding: 16px 76px 16px 18px;
        font-size: 19px;
    }

    .atd-services-hub .sltext span.slnext {
        right: 16px;
        width: 38px;
        height: 38px;
    }

    .atd-services-hub .sltext span.slnext::before {
        line-height: 36px;
    }

    body.oneColFixCtr.atd-home-page .atd-services-hub .mainwdgtcontainer,
    .atd-services-hub--without-slider .mainwdgtcontainer {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .atd-services-hub .mainwdgt--wide {
        grid-column: auto;
        padding-right: 86px;
    }

    .atd-services-hub .mainwdgt--wide .mainwdgt__media {
        width: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .atd-services-hub .mainslider > div[id^='obj'],
    .atd-services-hub .mainwdgt,
    .atd-services-hub .mainwdgt__media img {
        transition: none;
    }
}
