body {
    background-color: transparent;
    /* background-color: rgb(245, 245, 245); */
    /*overflow-y: hidden;*/
}

.frame {
    max-width: 690px;
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, sans-serif;
    padding: 0px;
}

h1 p {
    line-height: 1.6;
}

.btn-primary {
    font-size: 14px;
    background-color: #0a73c4;
}

.pImage {
    max-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pImage:hover {
    border: 2px solid lightblue;
}

.row.g-2 {
    display: flex;
    flex-wrap: wrap;
}

.row.g-2>.pImage {
    flex: 1 1 auto;

}

.title {
    font-size: 35px;
    margin-bottom: 1em;
    line-height: 1.6;
}

.title2 {
    font-size: 25px;
}

.title2b {
    color: #0a73c4;
    font-size: 25px;
    font-weight: bold;
}

.hidden {
    display: none !important;
}

.title3 {
    font-size: 14px;
    font-weight: bold;
}

.normal {
    font-size: 14px;
}

.form {
    width: 625px;
    min-width: 325px;
    font-size: 16px;
}

.form-outline {
    margin-top: 0em;
    margin-bottom: 0em;
}

.form-group.required .form-label:after,
.col.required .form-label:after {
    content: " *";
    color: red;
}

.errorMsg {
    color: red;
}

/*image gallery*/
.image-checkbox {
    cursor: pointer;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 2px solid transparent;
    margin-bottom: 0;
    outline: 0;
}

.image-checkbox input[type="checkbox"] {
    display: none;
}

.image-checkbox-checked {
    border-color: #4783B0;
    border-width: 2px;
    border-style: solid;
}

.image-checkbox .fa {
    position: absolute;
    color: #4A79A3;
    background-color: #fff;
    padding: 10px;
    top: 0;
    right: 0;
}

.image-checkbox-checked .fa {
    display: block !important;
}

.image-checkbox-selected {
    border-color: #4783B0;
    border-width: 2px;
    border-style: solid;
}


.col-xs,
.col-xs-6 {
    position: relative;
    min-height: 1px;
    padding-right: 0px;
    padding-left: 0px;
}

.img-fluid-p-1 {
    max-width: 93%;
    height: auto;
}

#addressList {
    position: absolute;
    z-index: 10;
    background-color: rgb(255, 255, 255);
    border: 1px solid black;
}

#addressList li {
    list-style-type: none;
    cursor: pointer;
}

#addressList li:hover {
    background-color: #b3deff;
}

.captchaRow {
    margin-top: 30px;
}

.terms {
    font-size: 10px;
    margin-top: 7px;
}

.fileUploadContainer {
    border-color: rgb(117, 117, 117);
    border-width: 2px;
    border-style: dashed;
}

.autocomplete-custom-item-content {
    display: flex;
    flex-direction: column;
}

.autocomplete-custom-item-title {
    font-weight: 500;
}

.autocomplete-custom-item-subtitle {
    font-size: 0.8rem;
}

.wrap {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
    display: inline;
}

/*forms*/
.form-control {
    margin-bottom: 0 !important;
}

.form-control.is-invalid~.msg-spacer {
    margin-bottom: 1rem;
}

.form-control.is-invalid~.msg-spacer2 {
    margin-bottom: 2rem;
}

.form-control.is-invalid~.msg-spacer3 {
    margin-bottom: 2.5rem;
}

.show-comp-error .invalid-tooltip {
    display: block !important;
}

.show-comp-error+.msg-spacer {
    margin-bottom: 1rem;
}

.multitext-spacer {
    margin-bottom: 10px;
}

.invalid-msg {
    top: 100%;
    z-index: 5;
    width: fit-content;
    padding: 6px 16px;
    margin-top: .2rem;
    background-color: rgba(220, 76, 100, .9);
    border-radius: .25rem !important;
    color: #fff;
}

/* .form-outline .form-control.active~.form-label,
.form-outline .form-control:focus~.form-label {
    transform: translateY(-1rem) translateY(0.1rem) scale(.8);
}

.form-outline .form-control~.form-label {
    position: absolute;
    top: 0;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    left: .75rem;
    padding-top: .37rem;
    pointer-events: none;
    transform-origin: 0 0;
    transition: all .2s ease-out;
    color: rgba(0, 0, 0, .6);
    margin-bottom: 0;
} */

/*Extend/Change Bootstrap*/
.fs-7 {
    font-size: 0.8rem !important;
}

.row {
    padding: 10px 20px 10px 20px;
}

@media (max-width: 350px) {

    .col-xs,
    .col-xs-4,
    .col-xs-6,
    .col-xs-8,
    .col-sm-4-p {
        float: left;
    }

    .col-xs {
        width: 50%;
    }

    .col-xs-2 {
        width: 16.67%;
    }

    .col-xs-4 {
        width: 33.33%;
    }

    .col-xs-6 {
        width: 50%;
    }

    .col-xs-8 {
        width: 66.67%;
    }

    .col-xs-10 {
        width: 83.333%;
    }
}

:root {
    --min-row-padding: 10px;
    --max-row-padding: 36px;
}

/* gutter causing problems on low resolution */
@media (max-width: 541px) {
    .row {
        --mdb-gutter-x: 0px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* 
@media (min-width: 350px) and (max-width: 541px) {
    .row {
        padding-left: calc(var(--min-row-padding) + (var(--max-row-padding) - var(--min-row-padding)) * ((100vw - 350px) / (541 - 350)));
        padding-right: calc(var(--min-row-padding) + (var(--max-row-padding) - var(--min-row-padding)) * ((100vw - 350px) / (541 - 350)));
    }
} */

.comp-title {
    font-weight: bolder;
    display: inline-block;
    margin-bottom: 0.5rem;
    color: rgba(0, 0, 0, .6);
    user-select: none;
}

.form-label {
    display: inline-block;
}

.form-group.required .comp-title:after,
.col.required .comp-title:after {
    content: " *";
    color: red;
}

.snuggle {
    margin-bottom: 5px;
    margin-top: 0px;
}

.squish {
    /* if font-size = 12.8 (0.8 rem aka fs-7) */
    line-height: 15.8px;
    display: block
}


.custom-select-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.custom-select {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #e3f2fd;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    user-select: none;
}

.custom-select input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-select:hover {
    background-color: #bbdefb;
}

.custom-select input:checked~span {
    background-color: #1565c0;
}

.custom-select .radio {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: #ffffff;
    border: 2px solid #0d47a1;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s;
}



.custom-select input:checked~.radio:after {
    content: "";
    position: absolute;
    display: block;
    left: 6px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.custom-select input:checked+.radio+span,
.custom-select input:checked+.radio+span~span {
    background-color: #1565c0;
}

.custom-select input:checked~.radio,
.custom-select input:checked~.radio:after {
    background-color: #0d47a1;
}


.custom-select .checkbox {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: #ffffff;
    border: 2px solid #0d47a1;
    border-radius: 0;
    margin-right: 10px;
    transition: background-color 0.3s;
}


.custom-select input:checked~.checkbox:after {
    content: "";
    position: absolute;
    display: block;
    left: 6px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.custom-select input:checked+.checkbox+span,
.custom-select input:checked+.checkbox+span~span {
    background-color: #1565c0;
}

.custom-select input:checked~.checkbox,
.custom-select input:checked~.checkbox:after {
    background-color: #0d47a1;
}

/* Copied from MDB */
.form-outline {
    --mdb-form-outline-select-notch-border-color: #3b71ca
}

.form-outline .form-control~.form-notch {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    text-align: left;
    pointer-events: none;
}

.form-outline .form-control~.form-notch div {
    pointer-events: none;
    border: 1px solid #bdbdbd;
    box-sizing: border-box;
    background: transparent;
    transition: all .2s linear;
}

.form-outline .form-control~.form-notch .form-notch-leading {
    left: 0;
    top: 0;
    height: 100%;
    width: .5rem;
    border-right: none;
    border-radius: .25rem 0 0 .25rem;
}

.form-outline .form-control~.form-notch .form-notch-middle {
    flex: 0 0 auto;
    width: auto;
    max-width: calc(100% - 1rem);
    height: 100%;
    border-right: none;
    border-left: none;
}

.form-outline .form-control~.form-notch .form-notch-trailing {
    flex-grow: 1;
    height: 100%;
    border-left: none;
    border-radius: 0 .25rem .25rem 0;
}

.form-outline .form-control.is-invalid~.form-notch .form-notch-leading,
.form-outline .form-control.is-invalid~.form-notch .form-notch-middle,
.form-outline .form-control.is-invalid~.form-notch .form-notch-trailing,
.was-validated .form-outline .form-control:invalid~.form-notch .form-notch-leading,
.was-validated .form-outline .form-control:invalid~.form-notch .form-notch-middle,
.was-validated .form-outline .form-control:invalid~.form-notch .form-notch-trailing {
    border-color: #dc4c64;
}

:root {
    --md-sys-color-primary: #1266f1;
    /* MDB Primary Color */
    --md-sys-color-outline: #b0bec5;
    /* MDB Outline Color (Grayish) */
    --md-sys-color-surface-variant: #e9ecef;
    /* MDB Surface Variant (Light Gray) */
    --md-sys-color-on-surface: #212529;
    /* MDB On Surface (Dark) */
    --md-sys-color-error: #f93154;
    /* MDB Error Color (Red) */
}

.checkbox-container {
    display: flex;
    gap: 10px;
}

.custom-checkbox {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #e3f2fd;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-checkbox .checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: #ffffff;
    border: 2px solid #0d47a1;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.custom-checkbox input:checked~.checkmark {
    background-color: #0d47a1;
}

.custom-checkbox input:checked~.checkmark:after {
    content: "";
    position: absolute;
    display: block;
    left: 6px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked~.checkmark,
.custom-checkbox input:checked~.checkmark:after {
    background-color: #0d47a1;
}

.custom-checkbox input:checked+.checkmark+span,
.custom-checkbox input:checked+.checkmark+span~span {
    background-color: #1565c0;
}

.custom-checkbox:hover {
    background-color: #bbdefb;
}

.custom-checkbox input:checked~.checkmark,
.custom-checkbox input:checked~.checkmark:after {
    background-color: #0d47a1;
}

.custom-checkbox input:checked~span {
    background-color: #1565c0;
}