#PageBody form#contactForm {
    width: 80%;
    border: 2px solid #171c66;
    border-radius: 5px;
    padding: 30px;
    margin: auto;
}
#contactForm .annotation {
    float: right;
    font-size: 0.85em;
}
#contactForm section:not(:first-child) {
    margin-top: 15px;
}

#PageBody #MainContent .success-message p {
    color: #007a33;
}
.err-msg {
    color: #af272f;
    font-size: 0.8em;
}
.err-msg:before {
    content: "!";
    color: #fff;
    background-color: #af272f;
    border-radius: 50%;
    padding: 0 7px;
    font-weight: 900;
    font-size: 12px;
    margin-right: 4px;
}
.hidden {
    display: none;
}
#contactForm .category {
    display: flex;
    flex-flow: row wrap;
}
#contactForm input[type="text"],
#contactForm textarea {
    border: 1px solid #001871;
    padding: 4px 6px;
    width: 100%;
}
#contactForm select.err-input,
#contactForm input[type="text"].err-input,
#contactForm textarea.err-input {
    outline: solid 3px #af272f;
}
#PageBody #MainContent #contactForm .notes {
    font-size: 0.85em;
}
#contactForm .techDataDetails {
    color: #111;
    background-color: #ddd;
    font-size: 0.85em;
}

/* Override bootstrap styles */
#contactForm .form-control, #contactForm .form-label {
    font-size: 1em;
}
#contactForm .form-check:hover {
    cursor: pointer;
}
#contactForm .form-check:not(:last-child) {
    margin-right: 20px;
}
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    border: 1px solid #001871;
    margin-top: 2px;
}
#contactForm .form-check-input:hover, #contactForm .form-check-label:hover {
    cursor: pointer;
}
#contactForm .form-label:after {
    content: "*";
    font-size: 0.8em;
    padding-left: 4px;
}
#contactForm .form-select {
    border: 1px solid #001871;
    font-size: 1em;
    width: 100%;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    transition: 0.3s ease-in-out;
    background-repeat: no-repeat;
    background: #fff url(/nationsreportcard/adminonly/design2021/img/dropdown_open.svg) no-repeat 97% center;
    background-size: 20px 15px;
}
#contactForm .form-select option:nth-child(even) {
    background-color: #F2EDE2;
}
/* '.active' class is used in javascript and not intended to use it in HTML. */
#contactForm .form-select.active {
    background: #fff url(/nationsreportcard/adminonly/design2021/img/dropdown_close.svg) no-repeat 97% center;
    background-size: 20px 15px;
}
#contactForm #recaptcha{
	margin-top:30px;
}
#recaptcha .err-msg{
	display:inline-block;
	margin-bottom:.5rem;
}
#contactForm .g-recaptcha.err-input iframe{
    outline: solid 3px #af272f !important;	
} 


/* XTRA-SMALL ========================================= */
@media screen and (max-width: 767px) {
    #PageBody form#contactForm {
        width: 100%;
    }
    #contactForm select,
    #contactForm input[type="text"],
    #contactForm textarea {
        width: 100%;
    }
}