﻿/* NOTE: Expand or Collapse All with CTRL + M + L*/


.btn-icon {
    background-color: #e9ecef;
    border-color: black;
    color: black;
    max-height: 28px !important;
    margin-top: 1px !important;
    padding-inline-start: 0.5rem;
    padding-inline-end: 0.5rem;
    margin-inline-start: 0.25rem;
}  

.letter-page-width {
    max-width: 816px; /* Letter page width at 96 DPI */
    margin: 0 auto; /* Center the div horizontally */
    border: 1px solid #ccc; /* Optional: To visually define the boundary */
    padding: 20px; /* Add some padding for content */
    background-color: #ffffff; /* White background for better readability */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for visual appeal */
}

@media print {
    .letter-page-width {
        width: 100%;  /*Ensures it fills the printable area */
        max-width: 816px;  /*Set to letter width at 96 DPI */
        height: 1056px;  /*Set to letter height at 96 DPI*/ 
        margin: 0 auto;  /*Center it on the printed page*/ 
        border: none;  /*Optional: Remove borders for printing*/ 
        padding: 1in;  /*Add padding to match print margins*/ 
        box-sizing: border-box;  /*Ensure padding is included in dimensions */
    }
 
    .letter-page-width,
    .letter-page-width * {
        visibility: visible;
    }

    .letter-page-width {
        position: absolute;
        top: 0;
        left: 0;
    }
}

/*.div-container {
    height: 100%;*/ /* Ensure the container fills its parent height */
    /*display: flex;
    flex-direction: column;*/ /* Stack children vertically */
/*}

.div-fixed {
    flex-shrink: 0;*/ /* Prevent `div-b` from shrinking */
/*}

.div-scroll {
    flex-grow: 1;*/ /* Dynamically adjusts to fill remaining space */
    /*overflow-y: auto;*/ /* Add a vertical scrollbar if content overflows */
/*}*/


.disabledDetailsDlg {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    height: 85%; /* to leave the Close button enabled */
    background-color: rgba(0, 0, 0, 0.1); /* semi-transparent black */
    z-index: 999; /* adjust the z-index as needed to ensure it overlays the content */
}

.disabledDetailsDlgSmaller {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    height: 80%; /* to leave the Close button enabled */
    background-color: rgba(0, 0, 0, 0.1); /* semi-transparent black */
    z-index: 999; /* adjust the z-index as needed to ensure it overlays the content */
}

.autoCompleteHead {
    height: 40px;
    font-size: 15px;
    font-weight: bold;
    margin-left: 10px;
}

.custom-btn {
    color: #201f35;
    font: 11px Verdana, Geneva, sans-serif;
    border: 1px solid #a9acb5;
    background-color: #e9ecef;
    max-height: 24px;
}

/*#region */
.editForm {
    background-color: beige;
    padding: 10px;
    border: 1px solid #337ab7;
    margin: 0;
}

.editFormRadioBtnYesNo {
    background-color: white;
    border: 1px solid lightgray;
    border-radius: 5px;
    max-width: 145px;
    margin-left: 12px;
}

.editFormRadioBtnLarge {
    background-color: white;
    border: 1px solid lightgray;
    border-radius: 5px;
    max-width: 433px;
    margin-left:12px;
}

/* Used on first radioButton to space them more apart */
.editFormRadioBtnPadRight {
    padding-right: 20px;
}

.editFormLabel {
    font-family: Segoe UI;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

.custom-block-separator { /* This class used to separate formgroups in groups */
    display: block;
    line-height: 8px;
}

.divInputControl {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: end;
    margin-top: 5px;
}

.divTextBoxControl {
    margin-left: 10px;
    width: 70%;
}

.crudRow {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.crudColumn {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 10px;
    border-radius: 15px;
    border: solid 1px darkgray;
    max-width: 410px;
    background-color: beige;
    /*    background-color: #e9ecef;*/
    /*  background-color: #dee2e6;*/
}

.crudItem {
    display: flex;
    flex-wrap: wrap;
   /* margin-top:5px;*/
}

.belowCrudItem {
    margin-top: 7px;
}

.crudLabel {
    font-family: Segoe UI;
    font-size: 12px;
    font-weight: 500;
}

.searchBtn {
    font-size: 12px;
    min-width: 70px;
}

.maxHeight25 {
    max-height: 25px;
}

.maxWidth70 {
    max-width: 70px;
}

.maxWidth80 {
    max-width: 80px;
}

.maxWidth90 {
    max-width: 90px;
}

.maxWidth100 {
    max-width: 100px;
}

.maxWidth120 {
    max-width: 130px;
}
.maxWidth130 {
    max-width: 130px;
}

.maxWidth150 {
    max-width: 150px;
}
.maxWidth180 {
    max-width: 180px;
}

.maxWidth200 {
    max-width: 200px;
}

.maxWidth220 {
    max-width: 220px;
}

.maxWidth250 {
    max-width: 250px;
}

.maxWidth300 {
    max-width: 300px;
}
.maxWidth400 {
    max-width: 400px;
}
.maxWidth500 {
    max-width: 500px;
}

.spinner {
    border: 12px solid silver;
    border-top: 12px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 20%;
    left: 50%;
    position: absolute;
}

.updateListViewBtn {
    margin-top: 20px;
    background-color: white;
    color: black;
    max-width:23px;    /*do not increase width or the btn will move to next line when previous control on left is selected*/
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.canceledRowWithBackground {
    background-color: #f1f2f6;
    text-decoration: line-through;
    color: black;
}

.redTitle {
    font-size: 12px;
    color: red;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 7px;
}

.margin0 {
    margin: 0;
}


.margin10 {
    margin: 10px;
}

.marginBottom10 {
    margin-bottom: 10px !important;
}


.marginTop10 {
    margin-top: 10px !important;
}

.padding0 {
    padding:0;
}

.paddingBottom10 {
    padding-bottom: 10px !important;
}

.paddingRight0 {
    padding-right: 0;
}

.paddingTop10 {
    padding-top: 10px !important;
}

.padding5 {
    padding: 5px !important;
}

.padding10 {
    padding: 10px !important;
}
/*#endregion */


