.page-template-whitepaper-template .wrapper,
.page-template-whitepaper-thankyou-template .wrapper {
    padding: 0;
}
.page-template-whitepaper-template #wrapper-navbar,
.page-template-whitepaper-thankyou-template #wrapper-navbar {
    background-color: #081530;
}
.whitepaper-page-header {
    padding: 16px 32px;
}
.page-template-whitepaper-template,
.page-template-whitepaper-thankyou-template {
    background-color: #eff8ff;
    min-height: 100vh;
}
.page-template-whitepaper-template #wrapper-footer,
.page-template-whitepaper-thankyou-template #wrapper-footer {
    display: none;
}
.whitepaper-container {
    max-width: 100%; 
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}
.whitepaper-hero {
    background-color: #081530;
    padding: 32px 0;
    overflow: visible;
}
.whitepaper-hero .entry-title {
    margin-bottom: 0;
}
.whitepaper-cover {
    max-width: 189px;
    box-shadow: 0px 2px 8px 2px #00000029;
}
.form-container {
    max-width: 356px;
    margin: 0 auto;
    text-align: center;
    background: white;
    border-radius: 4px;
    padding: 48px 16px;
    margin-left: auto;
    margin-right: auto;
}

.blue-bg-section {
    background-color: #eff8ff;
    position: relative;
    padding-top: 56px;
    padding-bottom: 40px;
}

.whitepaper-content-col {
    display: flex;
    align-items: flex-start;
    column-gap: 32px;
}

/* Thank you content */
#whitepaper-thankyou-template-page-wrapper .whitepaper-content {
    text-align: center;
    margin: 0 auto;
    max-width: 608px;
}
#whitepaper-thankyou-template-page-wrapper .whitepaper-content p {
    margin-bottom: 32px;
}

.thankyou-image-col {
    text-align: center;
}
.thankyou-image-col img{
    display: block;
    margin: 0 auto;
    width: 100%;
}

.thankyou-image-col .blue-cta {
    display: block;
    max-width: 189px;
    margin: 24px auto 0;
}

.whitepaper-thankyou-section {
    margin-bottom: 40px;
}

.whitepaper-thankyou-section h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 16px;
}

.whitepaper-thankyou-section a {
    color: #214080;
    text-decoration: underline;
}

@media screen and (min-width: 993px) {
    .whitepaper-hero:not(.whitepaper-thankyou) {
        min-height: 170px; /* to make sure the form has enough space to go up on desktop */
    }

    .form-container { 
        transform: translateY(-172px);
    }
}

@media screen and (min-width: 576px) {
    .whitepaper-container {
        max-width: 1040px;
    }
}

@media screen and (max-width: 992px) {
    .page-template-whitepaper-template h1,
    .page-template-whitepaper-thankyou-template h1 {
        font-size: 24px;
    }
    .whitepaper-content-col {
        flex-direction: column-reverse;
    }

    #whitepaper-template-page-wrapper {
        padding-top: 0;
    }

    .thankyou-image-col {
        margin-bottom: 64px;
    }
}

@media screen and (max-width: 567px) {
    .page-template-whitepaper-template  .whitepaper-page-container {
        flex-direction: column-reverse;
    }

    .whitepaper-hero:not(.whitepaper-thankyou) {
        padding-bottom: 148px;
    }

    .form-container {
        transform: translateY(-164px);
        margin-bottom: -84px;
    }
}