html {
  font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
.curve-edge{border-radius:8px;}

.bg-forrest {background-color:darkolivegreen;}

.cpointer:hover {
    background-color: darkolivegreen;
    cursor: pointer;
    color: white;
}

.pagination .page-item.active .page-link {
    background-color: darkolivegreen;
    border-color: darkolivegreen;
    color: #fff;
}

    .pagination .page-item.active .page-link:hover,
    .pagination .page-item.active .page-link:focus {
        background-color: darkolivegreen;
        border-color: darkolivegreen;
        color: #fff;
    }

.pagination .page-link {
    color: black;
    font-size:larger;
}

    .pagination .page-link:hover {
        background-color: #e9f7ec;
        border-color: darkolivegreen;
        color: darkolivegreen;
    }

.actions-header {
    letter-spacing: 0.4em;
}

.clickable-cell:hover {
    background-color: #f8f9fa;
    color: forestgreen;
}

/* Side navigation link hover effect */
#side-nav .nav-link {
    transition: background-color 150ms ease, color 150ms ease, transform 120ms ease;
    border-radius: 6px;
    text-decoration: none;
}

#side-nav .nav-link:hover,
#side-nav .nav-link:focus {
    background-color: #e9f7ec; /* light green background on hover */
    color: darkolivegreen; /* darker accent for text */
    transform: translateX(4px);
    text-decoration: none;
}

.disabled-link {
    pointer-events: none;
    opacity: 0.45;
    filter: grayscale(20%);
    cursor: not-allowed;
}

.action-btn {
    min-width: 90px;
    text-align: center;
}

:root {
    --modal-content-spacing: 1.5rem;
}

/*dialog {
    padding: 1px 1px 1px 1px;
    max-height: calc(100vh - var(--modal-content-spacing));
}

.modal {
    align-items: center;
    display: none;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: fixed;
    z-index: var(--bulma-modal-z);
    padding: 1px 1px 1px 1px;
}

    .modal.is-active {
        display: flex;
    }
*/
.modal-background {
    background-color: white;
    width: 400px;
    border-radius: 0.375rem;
    border-width: 1px;
}

/*.modal-content,
.modal-card {
    margin: 5;
    max-height: calc(100vh - var(--modal-content-spacing));
    overflow: auto;
    position: relative;
    width: 100%;
}*/


.tab {
    overflow: hidden;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    background-color: #f1f1f1;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    margin: 15px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    width: 100%;
}

    /* Style the buttons inside the tab */
    .tab button {
        background-color: inherit;
        float: left;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: 0.3s;
        font-size: 17px;
    }

    .tab button:nth-of-type(1) {
        border: none;
    }
        .tab button:nth-of-type(2) {
            border-left: 1px solid #ccc;
            border-top: none;
            border-right: none;
            border-bottom: none;
        }
	
    /* Change background color of buttons on hover */
    .tab button:hover {
        background-color: #ddd;
    }

    /* Create an active/current tablink class */
    .tab button.active {
        background-color: white;
    }


/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
    background-color: white;
}

@media screen and (min-width: 769px) {
    .modal-content,
    .modal-card {
        margin: 0 auto;
        max-height: calc(100vh - var(--modal-content-spacing));
        width: var(--bulma-modal-content-width);
    }
}

.modal-close {
    background: none;
    height: var(--bulma-modal-close-dimensions);
    inset-inline-end: var(--bulma-modal-close-right);
    position: fixed;
    top: var(--bulma-modal-close-top);
    width: var(--bulma-modal-close-dimensions);
}

.modal-card {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--bulma-modal-card-spacing));
    overflow: hidden;
    overflow-y: visible;
}

.modal-card-head,
.modal-card-foot {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    justify-content: flex-start;
    padding: var(--bulma-modal-card-head-padding);
    position: relative;
}

.modal-card-head {
    background-color: var(--bulma-modal-card-head-background-color);
    border-start-start-radius: var(--bulma-modal-card-head-radius);
    border-start-end-radius: var(--bulma-modal-card-head-radius);
    box-shadow: var(--bulma-shadow);
}

.modal-card-title {
    color: var(--bulma-modal-card-title-color);
    flex-grow: 1;
    flex-shrink: 0;
    font-size: var(--bulma-modal-card-title-size);
    line-height: var(--bulma-modal-card-title-line-height);
}

.modal-card-foot {
    background-color: var(--bulma-modal-card-foot-background-color);
    border-end-start-radius: var(--bulma-modal-card-foot-radius);
    border-end-end-radius: var(--bulma-modal-card-foot-radius);
}

.modal-card-body {
    -webkit-overflow-scrolling: touch;
    background-color: var(--bulma-modal-card-body-background-color);
    flex-grow: 1;
    flex-shrink: 1;
    overflow: auto;
    padding: var(--bulma-modal-card-body-padding);
}

.modal-footer{
    padding-bottom: 10px;
}

.active-nav {
    background-color: #455a21;
}

.active-nav:hover{
    background-color: #374127;
}

#SideBar.active {
    width: 0;
}

.nav-item .btn{
    width:200px;
    padding:10px;
    margin-right:10px;
    margin-left:10px;
}

#SideBarButton {
    color: white;
    background: none;
    border: none
}

#search {
    display: flex;
    padding: 10px;
}

#searchField {
    margin-right: 10px;
}

#clearSearch{
    display:none;
}

.sidebar {
    display: flex;
    position: absolute;
    flex-direction: column;
    transition: width .25s ease-out;
    z-index: 999;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.page-content {
    width: 100%;
    position: relative;
    transition: width .25s ease-out;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
}

.sidebar-header button{
    margin:10px;
}
