
.app-content {
   padding : 1rem 1rem;
}

.orange-text {
    color: orange;
}
.red-text {
    color: red;
}
.no-wrap {
    white-space: nowrap;
}


.field-required {
    font-weight: bold;
}
.field-required:after {
    content: " *";
}
.errorlist, .invalid-feedback {
    display: block;
    color: red;
    font-size: 13px;
}


.navbar.navbar-sticky {
    border-left: none;
}


.help-text {
    font-size: 0.8em;
    color: #666;
    font-weight:300;
    line-height: 1.3em;
}


html, body {
    height: 100%;
    margin: 0;
    font-size: 0.9rem;
}

body {
    position: relative;
    padding-bottom: 50px;
    font-size: 107%;
}

.app-content {
    min-height: calc(100vh - 115px);
}

footer {
    position: absolute;
    width: 100%;
    height: 50px;
}

#sidebar {
    font-size: 125%;
}

.menu-item.active {
    background-color: var(--bs-theme-bg-subtle);
}

.underemphasize {
    font-size: 80%;
    color: gray;
}

/*********** Light theme *******************************************************/

.card:not([data-bs-theme="dark"]), .nav-link.active:not([data-bs-theme="dark"]) {
  background: white;
}

.form-select:not([data-bs-theme]),
.form-control:not([data-bs-theme]) {
    background-color: #e2e7ea !important;
}

.app-header:not([data-bs-theme]) {
  border-bottom: 2px solid var(--bs-theme);
}

.form-select:not([data-bs-theme]):not([multiple]) option {
  color: var(--bs-body-color);
}

#sidebar:not([data-bs-theme]) {
  border-right: 2px solid var(--bs-theme);
  background: white;
}

.module:not([data-bs-theme]) {
  background: #e2e7ea;
}

.module:not([data-bs-theme]) label {
  color: var(--bs-body-fg) !important;
}


/*********** Dark theme *******************************************************/

[data-bs-theme="dark"] .card, [data-bs-theme="dark"] .nav-link.active {
  background: #222;
}

[data-bs-theme="dark"] .form-select, [data-bs-theme="dark"] .form-control {
    background-color: #27353f! important;
}

[data-bs-theme="dark"] .app-header {
  border-bottom: 2px solid var(--bs-theme);
}

[data-bs-theme="dark"] .form-select:not([multiple]) option {
  color: var(--bs-body-color);
}

[data-bs-theme="dark"] #sidebar {
  border-right: 1px solid var(--bs-theme);
  background: #00000042;
}

/* Admin */
[data-bs-theme="dark"] .module {
  background: #27353f;
}
[data-bs-theme="dark"] .module label {
  color: var(--bs-body-fg)! important;
}

/***********   Admin Styles ***************************************************/

.module {
  border: none;
  margin-bottom: 30px;
}
.submit-row a.deletelink {
  height: 2.1875rem! important;
}


/***********   Calendar Styles ***************************************************/

/* This style will remove top and bottom padding and decrease the font size */
.fc-header-toolbar {
    padding-top: 0;
    padding-bottom: 0;
    font-size: 0.80em;
}

/* This style targets the title and makes sure it aligns nicely with the buttons */
.fc-toolbar-title {
    line-height: 1.1;
}

/* This targets the buttons to reduce their size */
.fc-button {
    padding: 4px 6px;
    font-size: 0.80em;
}

/* If there's still padding or spacing issues, you might need to adjust margins */
.fc .fc-toolbar > * > :not(:first-child) {
    margin-left: 2px;
}

.fc .fc-header-toolbar .fc-left, .fc .fc-header-toolbar .fc-toolbar-chunk:nth-child(1), .fc .fc-toolbar .fc-left, .fc .fc-toolbar .fc-toolbar-chunk:nth-child(1) {
    border-bottom: none;
    padding: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fc .fc-header-toolbar .fc-right, .fc .fc-header-toolbar .fc-toolbar-chunk:nth-child(3), .fc .fc-toolbar .fc-right, .fc .fc-toolbar .fc-toolbar-chunk:nth-child(3) {
  padding: 0;
}
.fc .fc-header-toolbar .fc-center, .fc .fc-header-toolbar .fc-toolbar-chunk:nth-child(2), .fc .fc-toolbar .fc-center, .fc .fc-toolbar .fc-toolbar-chunk:nth-child(2) {
  padding: 0;
}
.fc-direction-ltr .fc-daygrid-event.fc-event-start, .fc-direction-rtl .fc-daygrid-event.fc-event-end {
  margin-left: 1px;
  margin-right: 1px;
}
.fc-h-event {
  border: 0;
}

#calendar-wrap{
  width: 100%;
  position: relative;
  z-index: 10;
}
html:not([data-bs-theme="dark"]) .calendar-footer {
    background-color: #d2d2d2;
    padding: 2px 5px 2px 5px;
}

.fc .fc-toolbar.fc-header-toolbar {
    padding: 10px;
    border: 1px solid #aaa;
    margin: 0 !important;
}

html:not([data-bs-theme="dark"]) .fc .fc-toolbar.fc-header-toolbar {
    background-color: #d2d2d2;
    color: #d8d8db;
}

[data-bs-theme="dark"] .fc .fc-scrollgrid-section-sticky > * {
  background: black;
}

.fc-theme-standard .fc-scrollgrid {
  border: 1px solid var(--fc-border-color);
}

.fc .fc-toolbar-title {
    font-size: 1.4em;
}
.fc-daygrid-event-harness{
    font-size: .8em;
}
.fc-listMonth-view a {
    text-decoration-color:gray;
    color: gray;
}
.fc-dayGridMonth-view a {
    text-decoration-color:white;
    color: white;
}
.fc-event {
    overflow: hidden;
}

/***********  End Calendar Styles *********************************************/


/***********  Search Styles ***************************************************/

    #detail-page ul li {
        font-size: 12px;
        text-align: justify;
        margin-bottom: 10px;
    }
    .search_score {
        font-size: 10px;
    }
    .tab-content{
        color: gray;
    }
    .match {
        color: red;
    }
    .nav-link[data-toggle]:not(.collapsed):before {
        content: "";
    }

    .delete-call {
        cursor: pointer;
    }

    .accordion {
        margin-top: 5px;
    }

    .accordion-button {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .accordion-item .material-icons-outlined{
        font-size: 0.8rem;
    }

    textarea {
        font-size: .75rem!important;
    }
    textarea::placeholder {
        color: rgba(128, 128, 128, 0.3)!important;
    }

/***********  End Search Styles ***********************************************/