:root {
    --black: #000;
    --sd-blue-1: #004C96;
    --sd-blue-2: #02375A;
    --sd-orange: #F06C0E;
    --sd-gray: #ECECEC;
    --error-red: #BA271D;
    --headings-font-family: 'Suez One', serif;
    --regular-font-family: 'Open Sans', sans-serif;
}

body {
    height: 100%;
    font-family: var(--regular-font-family);
    color: var(--black);
    font-size: 1rem;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
    text-align: right;
}

footer {
    font-weight: 600;
    font-size: calc(.6rem + .25vw);
}

footer .text-center {
    color: var(--black);
    text-align: center;
}

#content {
    min-height: calc(100vh - 171px);
}

#html-page h1,
#html-page h2 {
    font-weight: bold;
}

.text-uppercase {
    font-size: 1.5rem;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.29;
    letter-spacing: normal;
}

header.shadow { /* Override Bootstrap */
    box-shadow: 0 0 .5rem !important;
}

#main-heading {
    font-family: var(--headings-font-family);
    font-weight: normal;
    color: var(--sd-blue-2);
}

.fw-bold-black {
    font-size: 1.375rem !important;
    font-weight: bold;
    color: #000;
}

.logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem;
}

.sticky-footer {
    position: sticky;
    bottom: 0;
    z-index: 1000;
}

#mobile-cta {
    background: var(--sd-gray);
    padding: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
@media (min-width: 768px) { /* Bootstrap "md" */
    #mobile-cta {
        display: none;
    }
}

/* Mobile office image gets stretched too wide on larger screens */
#office-mobile.container-md {
    --bs-gutter-x: 0;
}

#FormSubmissionError {
    display: none;
    color: var(--error-red);
}
#helpRequestModal label.error {
    color: var(--error-red);
    font-style: italic;
}
#helpRequestModal .input-container {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
#helpRequestModal .input-container.submit {
    align-items: center;
}

#trusted-experts .btn-phone {
    font-size: 1.375rem;
}

#trusted-experts .no-data-no-money {
    color: var(--sd-blue-2);
}

#no-one-else {
    font-size: .75rem;
}

#certification-logos.logo-row > img {
    max-height: 30px;
    width: auto;
}

#what-can-we-recover .item-grid h3 {
    font-size: calc(1.28rem + .45vw);
    font-family: OpenSansRoman;
}

#office-desktop {
    background: content-box center top / cover url('/SecureData.Orchard.Themes.Hebrew.ServiceNow/Images/office-secure-data-recovery-israel.webp');
}

#free-evaluation.bg-img-full-width {
    --bg-img-full-width: bottom center / cover url('/SecureData.Orchard.Themes.Hebrew.ServiceNow/Images/evaluation.jpg');
}

#free-evaluation p {
    max-width: 730px;
}

.satisfied-customers {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #F6F6F6 16.15%, rgba(247, 247, 247, 0.99) 82.53%, rgba(255, 255, 255, 0) 99.85%);
}

#why-choose.bg-img-full-width {
    --bg-img-full-width: bottom center / cover url('/SecureData.Orchard.Themes.Hebrew.ServiceNow/Images/why-choose-us.jpg');
}

#why-choose .item-grid h3 {
    font-size: 1.375rem;
}

#why-choose .item-grid img {
    max-height: calc(2.24rem + 2.84vw);
    width: auto;
}

/*
    Full-width background images look bad on 4K screens because containers do
    not expand to match them.

    As long as the background images are faded around their edges,
    constraining them to the width of their containers looks decent.
*/
.bg-img-full-width {
    background: var(--bg-img-full-width);
}


/* Override Bootstrap */
.btn {
    font-weight: bold;
    border-radius: 6.25em;
}

.btn-group-sm > .btn.btn-custom,
.btn.btn-custom.btn-sm {
    padding: .5rem .75rem;
}

.sd-blue-1 {
    color: var(--sd-blue-1);
}

.sd-blue-2 {
    color: var(--sd-blue-2);
}

.bg-sd-blue-1 {
    background-color: var(--sd-blue-1);
}

.bg-sd-gray {
    background-color: var(--sd-gray);
}

.section-heading {
    font-family: var(--headings-font-family);
    font-size: 1.25rem;
    /*font-size: calc(1.19rem + .91vw);*/
}

.btn.btn-custom {
    background-color: var(--btn-custom-bg);
    color: var(--btn-custom-txt);
    box-shadow: none; /* Override Bootstrap for aesthetic purposes at the expense of accessibility */
}

a.btn.btn-custom { /* Centers text for button-like links */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn.btn-custom:hover {
    background-color: var(--btn-custom-txt);
    color: var(--btn-custom-highlight);
}

.btn.btn-custom.btn-phone,
.btn.btn-custom.btn-request {
    border-color: var(--sd-orange);
    --btn-custom-bg: var(--sd-orange);
    --btn-custom-txt: white;
    --btn-custom-highlight: var(--sd-orange);
}
.btn.btn-custom.btn-white {
    border-color: var(--sd-blue-1);
    --btn-custom-bg: white;
    --btn-custom-txt: var(--sd-blue-1);
    --btn-custom-highlight: white;
}

.item-grid {
    display: grid;
    grid: auto-flow dense / repeat(var(--item-grid-cols, 2), 1fr);
    gap: 1rem;
    justify-items: center;
}

    .item-grid > .item {
        display: contents;
    }

        .item-grid > .item > :first-child {
            margin-top: 3rem;
        }

        .item-grid > .item:nth-child(odd) > * {
            grid-column: 1;
        }

        .item-grid > .item:nth-child(even) > * {
            grid-column: 2;
        }

.item p {
    font-size: 1.125rem;
}

#why-choose .item p {
    font-size: 1rem;
}

#why-choose .item-grid h3 {
    padding-top: 1rem;
}

/*
    Could be implemented more elegantly by compiling Bootstrap from source,
    but that would complicate building the project.
*/
.d-contents {
    display: contents !important;
}
@media (min-width: 576px) { /* Bootstrap "sm" */
    .d-sm-contents {
        display: contents !important;
    }
}
@media (min-width: 768px) { /* Bootstrap "md" */
    .d-md-contents {
        display: contents !important;
    }
    #trusted-experts {
        transform: translate(-2rem);
    }

    #trusted-experts.bg-img-full-width {
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 39%, rgba(255, 255, 255, 0.58) 81%, #fff), linear-gradient(to left, #fff 0%, #fff 33%, rgba(255, 255, 255, 0.79) 48%, rgba(255, 255, 255, 0.17) 60%, rgba(255, 255, 255, 0) 71%, rgba(255, 255, 255, 0) 84%, #fff 100%), url('/SecureData.Orchard.Themes.Hebrew.ServiceNow/Images/the-data-recovery-company.png');
        background-repeat: no-repeat;
        width: 100%;
        height: 100%;
        max-width: 1920px;
        margin: 0 auto;
    }

    #main-heading {
        font-size: 3rem;
        margin-bottom: 1.1875rem;
    }

    #success-rate {
        font-size: 1.5rem;
        line-height: 1.29;
        margin-bottom: 2rem;
    }

    .trusted-expert-cta {
        margin-bottom: 80px;
    }

    #trusted-experts p:first-of-type {
        font-size: 1.5rem;
        line-height: 1.9375rem;
    }

    header .btn-custom {
        width: 200px;
        height: 40px;
        font-size: 1.125rem;
    }

    #trusted-experts .btn-request {
        width: 250px;
        height: 50px;
        font-size: 1.375rem;
        margin-right: 3rem;
    }

    #free-evaluation .btn-request {
        width: 280px;
        height: 60px;
        font-size: 1.25rem;
    }

    #office-mobile.container-md {
        --bs-gutter-x: unset;
    }
}
@media (min-width: 992px) { /* Bootstrap "lg" */
    .d-lg-contents {
        display: contents !important;
    }

    .item-grid {
        --item-grid-cols: 3;
        column-gap: 3rem;
    }

    .item-grid > .item:nth-child(3n+1) > * {
        grid-column: 1;
    }

    .item-grid > .item:nth-child(3n+2) > * {
        grid-column: 2;
    }

    .item-grid > .item:nth-child(3n+3) > * {
        grid-column: 3;
    }

    #certification-logos.logo-row > img {
        max-height: none;
    }
}

@media (min-width: 1200px) { /* Bootstrap "xl" */
    .d-xl-contents {
        display: contents !important;
    }

    .section-heading {
        font-size: 2.625rem;
    }

    #what-can-we-recover .item-grid h3 {
        font-size: 1.375rem;
    }

    #why-choose .item-grid h3 {
        font-size: 1.375rem;
    }

    #why-choose .item-grid img {
        max-height: 70px;
    }
}
@media (min-width: 1400px) { /* Bootstrap "xxl" */
    .d-xxl-contents {
        display: contents !important;
    }

    .bg-img-full-width {
        background: none;
    }

    .bg-img-full-width > .container {
        background: var(--bg-img-full-width);
    }
}

@media (max-width: 767px) {
    header a {
        margin: 0 auto;
    }

    #main-heading {
        font-size: 1.5rem;
        margin-bottom: 1.0625rem;
        width: 18.125rem;
    }

    #success-rate {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 0.625rem;
    }

    .no-data-no-money {
        font-size: 1rem !important;
        font-weight: bold;
        color: var(--black) !important;
    }

    .break {
        flex-basis: 100%;
    }

    #what-can-we-recover .item-grid h3 {
        margin-top: 0.5rem;
    }

    #free-evaluation .btn-request {
        width: 13.75rem;
        height: 2.5rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    header {
        transition: box-shadow 150ms;
    }
}
