:root {
    --appt-bg: #ffffcc;
    --appt-ltgreen: #90ee90;
    --appt-ltblue: #add8e6;
    --appt-border-radius: 0.375rem;
    --bs-body-font-size: 0.9rem;
}

/* css common to all views */

body {
    background-color: var(--appt-bg);
    
}
.dateStyle {
    padding: .25rem .50rem;
    background-clip: padding-box;
    border-radius: var(--appt-border-radius);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.subTitles {
    display: block;
    background-color: lightgreen;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 500;
    padding: 5px 0px 5px 0px;
    border: 1px solid black;
    margin-left: 5px;
    margin-right: 5px;
}
#btn-back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  cursor: pointer;
  padding: 15px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23dc3545' d='M1 8a7 7 0 1 0 14 0A7 7 0 0 0 1 8zm15 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-7.5 3.5a.5.5 0 0 1-1 0V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707V11.5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-color: inherit;
  border: none;
}
.buttonPack {
   clear: both;
   margin-left: auto;   
   margin-right: auto;
   margin-top: 10px;
   text-align: center;
}
.btn-purple {
    --bs-btn-color: #fff;
    --bs-btn-bg: #800080;
    --bs-btn-border-color: #800080;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #c102c1;
    --bs-btn-hover-border-color: #800080;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #eb3aeb;
    --bs-btn-active-border-color: #800080;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #898289;
    --bs-btn-disabled-border-color: #898289;
}
.appt-page-header {
    min-width: 40em;
    text-align: center;
}
.light-green {
    max-height: 2em;
    background-color: var(--appt-ltgreen);
    width: 98%;
}
.appointmentIndex {
    text-align: center;
    background-color : inherit;
    border-left: 1px solid black;
    border-right: 1px solid black;
}
.ttLink {
    text-decoration: none;
}
.dropdown-item {
    cursor: pointer;
}
.nav-link {
    color: black;
}
.onlineAppointment {
    background-color: lightblue;
    border: 1px solid blue;
    font-family: "Times New Roman", Times, serif;
    padding-left: 3px;
    cursor: pointer;
}
.clientRemarks {
    display: grid;
    grid-template-columns: 100%;
    line-height: 1.2;
    border-bottom: 1px solid black;
    cursor: default;
}
.lastSlot {
    background-color: gold !important;
}
.spButton {
    padding: 0.1em 0.4em 0.1em 0.4em;
    font-size: 0.85rem;
}
/* The bootstrap border-bottom and border-end default to a gray color */
.bottom-border {
    border-bottom: 1px solid black !important;
}
.right-border {
    border-right: 1px solid black !important;
}

/* modal css */

.modal-xxl {
    max-width: 1800px;
}
.modal-content {
    background-color: var(--appt-bg);
    line-height: 1;
    box-shadow: 5px 5px 5px black;
}
.modal-header {
    background-color: lightgreen;
    border-bottom: 1px solid black;
}
.modal-footer {
    justify-content: center;
}
.spiffyTitle {
    color: black;
    font-size: 1.2em;
    font-weight: 500;
    margin-left: auto;
    margin-right: auto;
}
#assignmentTable {
    display: grid;
    max-height: 80vh;
    line-height: 1.2;
    overflow-y: auto;
    overflow-x: clip;
    cursor: default;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
}
.detailsBox {
    background-color: lightgreen;
    text-align: center;
    font-weight: 500;
    border: 1px solid black;
    margin-left: 5px;
    margin-right: 5px;
}
.inputWidth {
    width: 80%;
}
.fullLine {
    grid-column: 2 / span 7;
    font-size: 0.9rem;
    color: red;
}
.checkbox1 {
    display: grid;
    grid-template-columns: 16% 16% 16% 16% 16% 16%;  
    line-height: 1.5;
    text-align: center;
}

/* homepage css */

#init_options {
    padding: 5px;
    min-width: 25em;
    background-color: var(--appt-ltgreen);
    border: 1px solid black;
}
.init_data_box {
    background-color: var(--appt-ltblue);
    border: none;
    padding-left: 5px;
    padding-right: 3px;
    padding-bottom: 3px;
    font-size: 1.0em;
    font-weight: 500;
}
.forgotBox {
    width: 10em; 
    cursor: pointer;
}
.signupText {
    cursor: pointer;
    font-size: 1.0em;
    font-weight: 500;
}
.signupButton {
    cursor: pointer;
    width: 8em; 
}
.homepageButton {
    background-color: lightblue;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    padding: 5px 15px 5px 15px;
    border: 1px solid black;
    border-radius: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.homepageButton a {
    color: black;
    text-decoration: none;
}
.beginImages {
    cursor: pointer;
    height: 72px;
    width: 72px;
}
#goneFishing {
    cursor:pointer;
    margin-left: auto;
    margin-right: auto;
    height: 75px;
    width: 120px;
}
.sysnotice {
    width: 80%;
    margin: auto;
    border: 5px solid black;
    background-color: red;
    color: yellow;
    font-size: 1.5em;
    font-weight: 500;
}
/* spinner start */
.spinner {
    width: 200px;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    margin-bottom: 5px;
    border: 25px solid ghostwhite;
    border-top-color: deepskyblue;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
#spinner-container {
    position: fixed;
    background-color: tan;
    top: 40%;
    left: 50%;
    border: 1px solid black;
    transform: translate(-50%, -50%);
    z-index: 1;
}
#scheduler-container {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
#role-container {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.spinner-text {
    color: red;
    font-family: Arial, helvetica, sans-serif;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* spinner end */
.phoneNote {
    margin-top: 0px;
    font-size: 0.8em;
}


/* Appointment CSS for files with appt prefix* */

.custom-tooltip {
  --bs-tooltip-bg: orange;
  --bs-tooltip-color: black;
}
#sidebarDiv {
    min-width: 18em;
    max-width: 18em;
    height: 82vh;
}
.viewButtonStyle {
    width: 8em;
    padding: 0.1rem;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 10px;
}
.viewButtonStyle::selected {
     border: 2px solid black;
}
#viewLabel {
    top: 0;
    border: 1px solid black;
}
#subSidebar {
    width: 100%;
    border: 1px solid black;
}
#viewSites {
    border-top: 1px solid black;
    height: 15vh;
    overflow-y: scroll;
}
/*
#appt-area {
    max-width: 79vw;
    min-width: 60vw;
}
*/
.siteName {
    font-family: "Times New Roman", Times, Georgia, serif;
    font-size: 0.9em;
}
.slotsValue, .slotsValue2 {
    width: 40px;
    height: 22px;
    font-size: 0.9em;
}
.slotsTimeValue {
    width: 95px;
    height: 22px;
    font-size: 0.9em;
    text-align: center;
}
.patternNameInput {
    width: 250px;
    height: 25px;
    margin-left: 5px;
}

/* Calendar Section css */

.calendarTable {
    border-collapse: separate;
    width: 100%;
    font-size: 0.9em;
    font-weight: 500;
    margin-top: 8px;
}
.calendarTable th {
    background-color: tan;
    text-align: center;
    border: solid 3px #FFFFCC;
    font-size: 1.1em;
}
.calendarTable td {
    text-align: center;
    border: solid 1px #FFFFCC;
    cursor: default;
}
.cdToday {
    border: solid 2px darkgreen !important;
}
.cdOpen {
    background-color: lightgreen;
}
.cdReserved {
    background-color: orange;
}
.cdFull {
    background-color: hotpink;
}
.cdOnline {
    color: blue;
    font-weight: bold;
}

/* css for Assign Preparer Modal and Checkin Report Modal */
.assignTime {
    background-color: lightgray;
    font-weight: 500;
    display: grid;
    grid-template-columns: 100%;
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid black;
    border-right: 1px solid black;
}
.emptyRow {
    background-color: var(--appt-ltgreen);
}
.limitWidth {
    max-width: 8vw;
}
.assignButtonWrapper {
    padding-top: 10px;
    text-align: center;
}

/* css for Callback and Deleted views in the appointment section */
#callbackTable, #deletedTable {
    max-height: 75vh;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 5px;
}
.callbackPageHeader, .deletedPageHeader {
    background-color : lightgray;
    font-size: 1.1em;
    font-weight: 500;
    text-align: center;
    border: 1px solid black;
}
.callbackLegend, .deletedLegend {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-columns: 28% 9% 25% 8% 30%;
    background-color: lightgray;
    font-size: 1.0em;
    font-weight: 500;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
    cursor: default;
}
.callbackLine, .deletedLine {
    display: grid;
    grid-template-columns: 3% 25% 9% 25% 4% 4% 30%;
    font-size: 1.0em;
    font-weight: 500;
    border-bottom: 1px solid black;
    cursor: default;
}
.callbackIndex, .deletedIndex {
    background-color : inherit;
    text-align: center;
    font-weight: 400;
    border-left: 1px solid black;
    border-right: 1px solid black;
}
.callbackItem, .deletedItem {
    background-color: inherit;
    font-family: "Times New Roman", Times, serif;
    border-right: 1px solid black;
    padding-left: 3px;
    cursor: pointer;
}


/* css for Options and permissions page files with site prefix */

#system_selected, #users_selected {
    display: none;
    background-color: var(--appt-ltgreen);
    font-size: 1.0em;
    width: 100%;
    margin: auto;
    height: 1.8em;
}
.radio {
  display: none;
}
.wrapper {width: 98%;}
.menuTab {
    position: relative;
    cursor: pointer;
    height: 1.8em;
    font-weight: 500;
    text-align: center;
    background-color: var(--appt-ltgreen);
    border-top: 2px solid black;
    border-left: 2px solid black;
    border-right: 2px solid black;
    border-bottom: 1px solid black;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}
.panels {
    background: var(--appt-ltgreen);
    min-height: 82vh;
    width: 100%;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    overflow: hidden;
    padding: 20px;
}
.panel {
  display: none;
  animation: fadein 0.8s;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#system:checked ~ .panels #system-panel,
#site:checked ~ .panels #site-panel,
#schedule:checked ~ .panels #schedule-panel,
#users:checked ~ .panels #users-panel {
  display: block;
}

#system:checked ~ .tabs #menuTabSystem,
#site:checked ~ .tabs #menuTabSite,
#schedule:checked ~ .tabs #menuTabSchedule,
#users:checked ~ .tabs #menuTabUsers {
  border-bottom: none;
}
.centerDataBox {
    width: 60%;
    font-size: 1.1em;
    font-family: 'Times New Roman', Times, serif;
    margin-left: auto;
    margin-right: auto;
}
.systemOptionTable {
    width: 100%;
}
.systemOptionTable td {
    padding-left: 3px;
    padding-right: 3px;
}
.systemFormInput {
    display: block;
    width: 100%;
    font-size: 1rem;
    background-color: white;
    background-clip: padding-box;
    border: 1px solid var(--appt-ltgreen);
    border-radius: 0.375rem;    
    appearance: none;
     -webkit-appearance: none;
     -moz-appearance: none;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.systemFormInputWithButton {
    min-width: 380px;
}
.attachmentsBox {
    width: 100%;
    padding: 5px;
    border: solid black 1px;
    font-size: 1.0em;
    font-family: 'Times New Roman', Times, serif;
    margin-left: auto;
    margin-right: auto;
}
.siteFormInput {
    display: inline;
    font-size: 1rem;
    background-color: white;
    background-clip: padding-box;
    border: 1px solid var(--appt-ltgreen);
    border-radius: 0.375rem;    
    appearance: none;
     -webkit-appearance: none;
     -moz-appearance: none;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.siteTextBox {
    min-width: 80%;
    max-width: 80%;
    height: auto;
    padding: 5px 15px 5px 15px;
    background-color: white;
    border: 1px solid black;
}
#emailBtnWrapper, #internetBtnWrapper {
    display: none;
}
#emailWrapper, #internetWrapper, #allowWrapper {
    display: none;
    width: 100%;
    border: 1px solid black;
    margin-left: 2em;
    padding: 5px;
}
.siteReminderInput {
    display: inline;
    width: 35px;
    font-size: 1rem;
    background-color: white;
    background-clip: padding-box;
    border: 1px solid var(--appt-ltgreen);
    border-radius: 0.375rem;    
    appearance: none;
     -webkit-appearance: none;
     -moz-appearance: none;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
#deleteSite .modal-content {
    background-color: yellow;
}
.siteBanner {
    font-weight: 500;
    background-color: lightgray;
    border: 1px solid black;
    text-align:left;
}
.siteSelector {
    font-size: 1.0em;
    width: 98%;
    height: 1.8em;
    background-color: var(--appt-ltgreen);
    margin-bottom: 10px;
    text-align: center;
}
.hideMe {
    display: none;
}
#scheduler-container {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
#role-container {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
#privilegeTable {
    border: 1px solid black;
    border-collapse: collapse;
    width: 100%
}
#privilegeTable th, #privilegeTable td {
    border: 1px solid black;
    text-align: center;
    padding-left: 3px;
    padding-right: 3px;
}
.rolePulldown {
    background-color: inherit;
    border: none;
    line-height: 20px;
}
.no-cursor {
    cursor: not-allowed !important;
}
.yes-cursor {
    cursor: default !important;
}
.pointer-cursor {
    cursor: pointer;
}
.buttonStyle {
    padding: 0.2rem;
    font-size: 0.8rem;
}
/* Summary view css */
.legendButton {
    width: 9em;
    padding: 0.2rem;
    font-size: 0.9rem;
    margin: 10px 5px 5px 5px;
}
.slotFull {   
    background-color: hotpink;
    cursor: not-allowed;   
}
.slotPartial {      
    background-color: yellow;
    cursor: pointer; 
}    
.slotReserved {      
    background-color: orange;
    cursor: not-allowed;
}
.reservedOK { 
    background-color: orange;
    cursor: pointer;
}
.slotAvailable {      
    background-color: lightgreen;
    cursor: pointer;
}
.monthLabel {
    width: 100%;
    font-weight: 500;
    background-color: tan;
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;    
}
.dayLabel {
    background-color: inherit;    
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;
    cursor: pointer;
}
.siteLabel-1 {
    background-color: lightgray;
    font-weight: 500;
    border-top: 1px solid black;
    border-bottom: 1px solid black;  
}
.siteLabel-2 {
    background-color: lightgray;
    font-size: 0.9em;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    padding-right: 25px;
}
.blankLabel {
    background-color: inherit;
    border-left: 1px solid black;
    border-right: 1px solid black;
}
.summaryOnline {
    border: 2px solid blue !important;
    cursor: default;
}
.intro {
    display: grid;
    grid-template-columns: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;;
}

/* Appointment page css */
.dailyBottom {
    display: block;
    width: 85rem;
    padding: 10px;
}
.formWrapper {
    float: left;
    width: 40%;
}
.bottomButtonWrapper {
    float: right;
    width: 60%;
}

/* Search Modal for apptSearchModal and siteSearchModal css */
#searchParam {
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    padding: 10px;
}
#searchParam .row>* {
    padding-left: 2px;
    padding-right: 2px;
}
.form-control {
    line-height: 1;
    padding: 0 0 0 0.375rem;
}
.searchSelector {
    color: red;
    font-weight: bold;
}


/* Callback view css */

/* Make appointment dialog box css */
#duplicateArea, #searchResults {
    max-width: 70vw;
    max-height: 15vh;
    min-height: 8vh;
    margin-left: 20px;
    background-color: lightgreen;
    text-align: left;
    border: 1px solid black;
    overflow-y: scroll;   
    overflow-X: hidden;
}
#searchResults {
    max-height: 55vh;
    min-height: 8vh;
}
.clientLookup {
    display: grid;
    grid-template-columns: 3% 20% 12% 66%;
    line-height: 1.2;
    cursor: default;
}

/* css for the taxpayer files, files with taxpayer prefix */
.openSlot {
    background-color: lightgreen;
    cursor: pointer;
    cursor: default;
}
.unavailableSlot {
    cursor: not-allowed !important;
    background-color: lightgray !important;
}
.redBold {
    color: red;
    font-weight: 500;
}

