﻿body {}

:root {
    --primary-color: #002f6c;
    --secondary-color: #ed1c6f;
    --text-color: #000;
    --body-BG: #ededee;
    --error-text: #da3e48; 
}

html {font-size: 100%;}

body {font-family: Arial, Helvetica, sans-serif; font-size: 1.2rem; line-height: 100%; background: var(--body-BG);}

.noWrapTxt {white-space: nowrap;}

.container {max-width: 1020px;}

header {background: var(--white); padding: 15px 0;}
header .container {display: flex; justify-content: flex-start; align-items: flex-end; gap: 15px;}
header img {width: 100%; max-width: 360px;}
header h1 {font-size: 1rem; font-weight: 500;}

footer {background: var(--primary-color); color: var(--white); padding: 20px 0;}
footer .container {display: flex; justify-content: space-between; align-items: flex-end;}

.footerLogosWrap {display: flex; justify-content: flex-start; align-items: flex-end; gap: 15px; flex-wrap: wrap; width: 70%;}
.footerLogosWrap img {height: 36px;}
.footerLogosWrap p:first-of-type {font-size: 0.75rem; margin-bottom: -2px; line-height: 130%;}
.footerLogosWrap p:last-of-type {width: 100%; font-size: 0.7rem; margin-bottom: 0;}

.footerLinks {font-size: 0.7rem;}
.footerLinks ul {margin: 0; padding: 0; list-style: none; display: flex; justify-content: flex-start; align-items: flex-end; gap: 20px 15px; font-weight: 600;}
.footerLinks ul a {text-decoration: underline; color: var(--white);}
.footerLinks p {margin-bottom: 0; margin-top: 20px; text-align: right;}

section {text-align: center; padding: 40px 0; min-height: calc(100vh - 220px);}
section h2 {background: var(--primary-color); color: var(--white); font-size: 1.2rem; font-weight: 600; border-radius: 5px; display: inline-block; margin: 0 auto 25px; padding: 10px; width: 720px;}

.whiteBox {background: var(--white); border-radius: 5px; max-width: 720px; margin: auto; padding: 10px 15px;}

.npiWrap h3 {color: var(--primary-color); font-size: 0.85rem; font-weight: 600;}
.npiWrap p {font-size: 0.85rem; font-weight: 600; line-height: 120%;}
.npiWrap p a {text-decoration: underline; color: var(--text-color);}

.formWrap {display: flex; justify-content: flex-start; flex-wrap: wrap; text-align: left; max-width: 460px; margin: 15px auto 20px; font-size: 0.9rem;}
.formWrap label {width: 100%; font-weight: 600; margin-bottom: 2px;}
.formWrap .errorMsg {width: 100%; color: var(--error-text); font-size: 0.8rem;}
.formWrap .form-control {font-size: 0.9rem; width: calc(100% - 120px); margin-bottom: 6px; height: 28px;}
.formWrap button {background: var(--secondary-color); color: var(--white); padding: 5px; border-radius: 3px; border: none; width: 120px; height: 28px; text-align: center; font-size: 0.8rem;}
.errorMsg {display: none;}
.error .errorMsg {display: block;}
.crx-wl-submit-result {
    color: red !important;
    font-weight: bold;
}

@media only screen and (max-width: 767px) {
    section {padding: 40px 15px;}
    section h2 {width: 100%;}

    footer .container {flex-direction: column;}

    .footerLogosWrap {width: 100%;}
    .footerLinks {margin-top: 20px;}

    .npiWrap p {line-height: 150%;}
    .npiWrap p:last-of-type {line-height: 170%;}
}

@media only screen and (max-width: 420px) {
    body {line-height: 140%;}
    header .container {flex-direction: column; align-items: center; justify-content: center;}
    header h1 br {display: none;}
    section h2 {width: 100%;}

    .footerLinks {width: 100%;}
    .footerLinks ul {justify-content: space-between;}

    .formWrap .form-control {width: calc(100% - 80px);}
    .formWrap button {width: 80px;}
}

@media only screen and (min-width: 1480px) {
    html {font-size: 130%;}
    .container {max-width: 1360px;}
    header img {max-width: 460px;}
    section {padding: 50px 0; min-height: calc(100vh - 220px);}
    section h2 {width: 1040px; padding: 20px 20px 15px; margin-bottom: 40px;}
    .whiteBox {max-width: 1040px; padding: 20px 15px;}
    .formWrap .form-control {height: 40px;}
    .formWrap button {height: 40px; padding: 0 15px; line-height: 40px;}
}