html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

.MyForm {
    width: 100%;
    height: 100%;
    background-color: aliceblue;
    overflow: hidden;
}

.MyHeader {
    width: 100%;
    position: fixed;
}

.MyBody {
    height: 100%;
    width: 100%;
    background-color: aliceblue;    
    padding-right: 1px;
    padding-left: 1px;
    margin-right: auto;
    margin-left: auto;
}
.MyContainer {
    width: 100%;
    height: 100%;
}

.MyFooter {
    position: fixed;
    bottom: 0;
    left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #6c757d !important;
    width: 100%;
}
.MyLink {
    font-size: small;
}
.MyDisabledLink {
    color:red;
}


.MyPageTitle {
    width: 100%;
    text-align: left;
    font-size: large;
    font-weight: bold;
}
/* Used in RPC controller when displaying messages from email links*/
.MyDisplayMessage {
    width: 100%;
    text-align: left;
    font-size: large;
    font-weight: bold;
}

.MyButtonContainer {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: aliceblue;
    height: 100px;
    width: 100%;
}

.MyWizardButtonContainer {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: aliceblue;
    min-height:135px;
    width: 100%;
    display:inline-block;   /* 6-4-24 */
}

.MyJumbotron {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background-color: aliceblue;
    border-radius: 0.3rem;
    text-align: center;
}

.MyAlert {
    left:100px;
    width:25%;
    height:20%;
    background-color: crimson;
}

.MyModalBody {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}

.MyModalDialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.ThinRow {
    height: 25px;
}
.MyLogo {
    max-height:50%;
    max-width:50%;
    min-height:25%;
    min-width:25%;
    width:auto;
    height:auto;
    align-content:center;
}
/*********************************/
/* change menu size for mobile...*/
/*********************************/
@media (max-width: 400px) {
    /* Create one column */
    .MyScrollableMenu {
        display: block;
        height: calc(100vh - 200px);
        overflow-y: scroll;
        overflow-x: clip;
    }
    .MySurveyTitle {
        width: 150px;
    }
}
@media (min-width: 400px) {
    .MyScrollableMenu {
        display: block;
        height: calc(100vh - 120px);
        overflow-y: scroll;
        overflow-x: clip;
    }
    .MySurveyTitle {
        width: 200px;
    }
}

.MyScrollableTable {
    display: block;
    height: calc(100vh - 200px);
    overflow-y: scroll;
}

.MyTableHeader {
    background-color: lightblue;
}
.MyTableFooter {
    background-color:lightgray;
}

.MyScrollableReport {
    display: block;
    height: calc(100vh - 240px);
    overflow-y: scroll;
}

.MyScrollRegion {
    display: block;
    height: calc(100vh - 300px);
    overflow-y: scroll;
}

.MyScrollBoth {
    display: block;
    height: calc(100vh - 270px);
    overflow:auto;
}

.MyNoWrap {
    white-space: nowrap;
}

input[type=file] {
    width: 250px;
    max-width: 100%;
    color: crimson;
    padding: 5px;
    background: #fff;
    border-radius: 0px;
    border: 1px solid #1555;
}

.MyCalendarHeader {
    background-color: azure;
    border-width: thin;
    width: 99%;
    left: 15px;
    padding-block-start: 0px;
    padding-left: 0px;
    border: solid;
    border-color: darkgray;
    margin-block-end: 0.00em;
    margin-block-start: 0.0em;
    background-color: lightblue;
}

.MySelectedRow {
    font-weight: bold;
}

.SurveyFields {
    background-color: white;
}

/**********************************************/
/* This puts a dow arrow on selection lists   */
/**********************************************/
select.form-control {
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    -ms-appearance: menulist !important;
    -o-appearance: menulist !important;
    appearance: menulist !important;
}
/**********************************************************/
/* The following are for the input button on picture views*/
/**********************************************************/
.custom-file-button input[type=file] {
    margin-left: -2px;
}

.custom-file-button input[type=file]::-webkit-file-upload-button {
    display: none;
}

.custom-file-button input[type=file]::file-selector-button {
    display: none;
}

.custom-file-button:hover label {
    background-color: #dde0e3;
    cursor: pointer;
}

.blink {
    font-size: 14px;
    font-weight: bold;
    color: #2d38be;
    transition: 0.25s;
}

.ShowXSorSM {
    d-block;
    d-md-none;
    d-lg-none;
    d-xl-none;
}

.ShowMDorLarger {
    d-none;
    d-md-inline-block;
}
.MyTextArea {
    min-width:400px;
    max-width:600px;
    min-height:250px;
    max-height:400px;
    padding: 10px;
    border: 1px solid;
}

/**********************************************/
/* Bottom Border Removed                       */
/**********************************************/
.MyNavTabs {
    --bs-nav-tabs-border-width: 1px;
    --bs-nav-tabs-border-color: #dee2e6;
    --bs-nav-tabs-border-radius: 0.375rem;
    --bs-nav-tabs-link-hover-border-color: #e9ecef #e9ecef #dee2e6;
    --bs-nav-tabs-link-active-color: #495057;
    --bs-nav-tabs-link-active-bg: #fff;
    --bs-nav-tabs-link-active-border-color: #dee2e6 #dee2e6 #fff;
}
/********************************************/
/* This is to fix DateTime fields on Safari */
/* By default, Safari centers datetime      */
/* The second one corrects the field height */
/********************************************/
input::-webkit-date-and-time-value {
    text-align: left;
}
input::-webkit-datetime-edit {
    line-height: 1;
    padding: 0;
    margin-bottom: -2px;
}