/* the basic form elements */
input,
select,
textarea,
button {
    border: 1px solid #999;
    color: #333333;
    font-family: 'Archivo Narrow', arial, sans-serif;
    font-size: 1em;
    margin: 5px 5px 5px auto;
    padding: 10px 5px;
    position: relative;
    text-align: left;
    /* width: 250px; */
    display: block;
    float:left;
}
/* flatpickr gets borked up with out some css.. */
/* it inherits the float from the base input rule above */
.flatpickr-current-month input.cur-year {
    float: none !important;
}
/* and min width in the time selector, sometimes */
.flatpickr-time input {
    min-width: unset !important;
}
select {
    max-width:350px;
    min-width: unset !important;
    width: auto;
}
button {
    float:unset;
}
/* don't need the id in forms anymore... */
#form-container button,
form button {
    color: #fff;
    background-color: #747474;
    border: 1px solid #747474;
    border-radius: .2em;
    display: inline-block;
    font-size: 1.1em; /**/
    font-family:  "Archivo Narrow", arial, sans-serif; /**/
    /*line-height: 1.1em; /**/
    margin: 5px 3px 5px auto;
    padding: 8px;
    position: relative;
    text-align: left;
    text-transform: uppercase;
    width: auto;
}
#form-container button:hover,
form button:hover {
    color: #747474;
    background-color: #fff;
    border: 1px solid #747474;
}
label {
    clear: left;
    display: block;
    font-family: 'Archivo Narrow', arial, sans-serif;
    font-size: 1.2em;
    float: left;
    /* line-height: 1; */
    margin: 5px 5px 10px 0;
    padding: 0 0 8px 0;
    text-align: left;
    vertical-align: middle;
    width: 100%;
}
label.radio-button {
    font-weight: bold;
}
/* form input label text */
label span {
    display: block;
    font-weight: bold;
}
/* basic fieldset style */
fieldset {
    border-top: 1px dotted #747474;
    margin-bottom: 10px;
    padding: 10px;
}
legend {
    color: #747474;
    font-size: 1.35em;
    font-weight: bold;
    font-family:  "Archivo Narrow", arial, sans-serif;
    padding: 0 10px;
}
/* checkboxes and radio buttons are only as wide as they need to be */
input[type=checkbox],
input[type=radio] {
    width: auto;
}
input[type=text],
input[type=password],
input[type=email],
input[type=file],
input[type=search],
select,
textarea {
    border-radius: 4px;
    min-width: 250px;
    box-sizing: border-box;
}
input[type=radio] {
    margin-top:3px;
}
textarea {
    width: 100%;
    min-height: 125px;
}
input:focus {
    border-color: #0056b3; /* Change the border color when the input is active */
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.5); /* Add a glow effect */
    outline: none; /* Remove the default outline for a cleaner look */
}
/* sometimes other fields should also only be as wide as they need to be */
.autosize {
    width: auto;
}
/* the text beside radio button lists */
p.radio-wrapper {
    font-size:1em;
}
/* ??? */
.form-button {
    margin: 10px auto;
    text-align: center;
}
/* required asterisk css */
span.required:after,
label.required:after,
p.required-field:after,
legend.required:after,
.additional-info:after {
    color: #d9001e;
    content: "\f069";
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900; /* Without this, all is lost. */
    font-size: 10px; /* default font awesome 5 asterisk is a little larger */
    margin-left: 3px; /**/
    vertical-align: super; /**/
}
/* additional info icon - live dashboard */
.additional-info:after {
    color: #fb7217;
    content: '\f05a';
    font-family: 'Font Awesome 6 Pro';
}
/* Use the .class, not the #id.  :/ #7436 */
#form-container,
#cookie-container,
.form-container {
    padding: 10px;
}
/* Form Help css */ 
.help-toggler-show-label,
.help-toggler-hide-label {
    display: none !important;
}
.form-help {
    border-bottom: 2px dotted #dcdcdc;
    clear: left;
    display: none;
    font-family: "Archivo Narrow", arial, sans-serif;
    font-size: 12.6px;
    padding-bottom: 5px; /* a little space above the bottom border */
}
/* A modal overlay with spinning animation and text */
.standby-overlay {
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    display: none; /* Hidden by default */
    height: 100%; /* Full height */
    left: 0;
    overflow: auto; /* Enable scroll if needed */
    position: fixed; /* Stay in place */
    top: 0;
    width: 100%; /* Full width */
    z-index: 1; /* Sit on top */
}
.loader-animation {
    animation: spin 2s linear infinite;
    border-bottom: 16px solid #16a850; /* aec apple green */
    border-left: 16px solid #666; /* standard grey */
    border-radius: 50%;
    border-right: 16px solid #fff; /* white */
    border-top: 16px solid #d9001e; /* aec daily red */
    height: 120px;
    left: 50%;
    margin: -75px 0 0 -75px;
    position: fixed;
    top: 50%;
    width: 120px;
    z-index: 1;
    -webkit-animation: spin 2s linear infinite;
}
.wait-text {
    border-bottom: 2px solid #fff;
    border-left: 0;
    border-right: 0;
    border-top: 2px solid #fff;
    color: #fff;
    font-family: 'Archivo Narrow', arial, sans-serif;
    left: 50%;
    letter-spacing: 3px;
    margin: -18px 0 0 -35px;
    padding: 10px 0;
    position: fixed;
    top: 50%;
    text-align: center;
    text-transform: uppercase;
    z-index: 2;
}

.other-details input {
    float: none;
    display: inline-block;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* used in rfi forms. replace with small and remove this. */
.disclaimer-text { 
    display: inline-block; /* span wrapper for multi-line */
    font-family: 'Archivo Narrow', arial, sans-serif; 
}
/* interface element where you can select multiple checkboxes in a list */
#multiselect-paragraph {
    border: 1px solid #dcdcdc;
    font-size: 1.1em;
    margin: 10px 0;
    max-height: 300px;
    max-width: 675px;
    overflow: auto;
    font-family: 'Archivo Narrow', arial, sans-serif;
}
#multiselect-paragraph label {
    margin: 3px 0 0 0;
    padding: 0;
    width: auto;
}
#multiselect-paragraph label input {
    margin: 5px
}