body {
    font-size: 0.875rem;
}
  
.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/*
* Sidebar
*/
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 80px 0 0; /* Height of navbar */
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: 0.5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: #000000;
}

.sidebar .nav-link:hover {
    color: #7B8B2D
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #727272;
}

.sidebar .nav-link.active {
    color: #7B8B2D;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: #7B8B2D;
}

.sidebar-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
}

/*
* Navbar
*/
.navbar-brand {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 1rem;
}

.navbar .navbar-menu {
    top: 0.25rem;
    right: 0.1rem;
}

.navbar .form-control {
    padding: 0.75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

@media screen and (min-width: 768px) {
    button.navbar-menu {
      display: none;
    }
}

.navbar-menu {
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
}

/*
* Forms
*/
.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

/*
* Table
*/
.key-sum-table {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 5px 5px 0 0;
    margin: 25px 0;
    overflow: hidden;
}

.key-sum-table td {
    border-bottom-width: 2px;
    border-style: solid;
    border-color: #F3F3F3;
    padding: 15px;
    text-align: center !important;
}

.key-sum-table th {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #F3F3F3;
    color: #000000;
    padding: 8px;
    text-align: center !important;
}

.key-sum-table tr{
    transition: all .3s ease-in-out;
}

.key-sum-table tr:hover {
    background-color: #F3F3F3 
}

.clickable-row {
    cursor: pointer;
}

.sortable {
    cursor: pointer;
}

.modal-table {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 5px 5px 0 0;
    margin: 10px 0;
    overflow: hidden;
}
    
.modal-table td {
    border-bottom-width: 2px;
    border-style: solid;
    border-color: #F3F3F3;
    padding: 5px;
}
    
.modal-table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #F3F3F3;
    color: #000000;
    padding: 8px;
}
    
.modal-table tr{
    transition: all .3s ease-in-out;
}
    
.modal-table tr:hover {
    background-color: #F3F3F3 
}

/*
* Spacers
*/
.spacer {
    padding-top: 10px;
    padding-bottom: 10px;
}

.spacer_small {
    padding-top: 5px;
    padding-bottom: 5px;
}

.input-spacer {
    margin-right: 10px;
    margin-top: 10px;
}

/*
* Buttons
*/
.btn {
    background-color: #61CE7000;
    border-color: #000000;
    color: #000000;
    border-width: 2px;
    transition: all .3s ease-in-out;
    width: 200px;
    margin-right: 10px;
    margin-top: 10px;
    height: 40px;
    outline: none;
    border-radius: 10px;
    display: inline-flex;
    align-items: center; 
    justify-content: space-around;
}

.btn-white {
    background-color: #61CE7000;
    border-color: #ffffff;
    color: #ffffff;
    border-style: solid;
    border-width: 5px;
    transition: all .3s ease-in-out;
    /* width: 200px; */
    margin-right: 10px;
    height: 40px;
    outline: none;
    border-radius: 10px;
}

.btn-red {
    background-color: #61CE7000;
    border-color: red;
    color: red;
    border-width: 2px;
    transition: all .3s ease-in-out;
    width: 200px;
    margin-right: 10px;
    margin-top: 10px;
    height: 40px;
    outline: none;
    border-radius: 10px;
    display: inline-flex;
    align-items: center; 
    justify-content: space-around;
}

.btn:hover {
    background-color: #000000;
    border-color: #7B8B2D;
    color:white;
    border-radius: 10px;
}

.btn-red:hover {
    background-color: red;
    border-color: red;
    color: white;
    border-radius: 10px;
}

.btn-white:hover {
    background-color: #000000;
    border-color: #7B8B2D;
    color:white;
    /* transform: scale(1.1); */
    border-radius: 10px;
}

.btn-exec {
    background-color: #61CE7000;
    border-color: #000000;
    color: #000000;
    border-width: 5px;
    transition: all .3s ease-in-out;
    /* width: 200px; */
    margin-right: 10px;
    height: 50px;
    outline: none;
    border-style: solid;
    border-radius: 10px;
}

.btn-exec:hover {
    background-color: #000000;
    border-color: #7B8B2D;
    color:white;
    /* transform: scale(1.1); */
    border-radius: 10px;
}

.table-button-base {
    border: 2px solid black;
    border-radius: 5px;
    background-color: #7b8b2d;
    color: white;
    transition-duration: 0.4s;
    margin-bottom: 5px;
    margin-top: 5px;
}

.table-button-base:hover {
    background-color: #637024;
    color: white;
}

/*
* Navigation
*/
.exec-nav-link {
    color: #000000
}

.exec-nav-link:hover {
    color: #7B8B2D;
    text-decoration: none;
}

.page-link {
    color: #000000
}

.page-link:hover {
    color: #7B8B2D;
    text-decoration: none;
}

/*
* Slider
*/
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-text {
    padding-left: 8px;
    padding-top: 2px;
}

.switch-div {
    width: 95%; 
    display: flex;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #7B8B2D;
}

input:focus + .slider {
    box-shadow: 0 0 1px #7B8B2D;
}

input:checked + .slider:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 25px;
}

.slider.round:before {
    border-radius: 50%;
} 

.grid-parent {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.grid-child {
    margin: 5px;
}

.compartment-grid-parent {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    height: 50px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 5px 5px 0 0;
    border-collapse: collapse;
}

.compartment-grid-child {
    display: grid;          
    align-items: center;      
    justify-items: center;
    text-align: center;
}

.title-grid-parent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-collapse: collapse;
}

/*
* Text
*/
.pulse-text-alert {
    font-weight: bold;
    color: rgba(255, 0, 0, 0.4);
    text-shadow: 0 0 0 rgba(255, 0, 0, 0.4);
	animation: pulse-alert 2s infinite;
}

@keyframes pulse-alert {
	0% {
		text-shadow: 0 0 0 rgba(255, 0, 0, 0.2);
	}

	70% {
		text-shadow: 0 0 20px rgba(255, 0, 0, 0);
	}

	100% {
		text-shadow: 0 0 50px rgba(255, 0, 0, 0);
	}
}

.pulse-text-warning {
    font-weight: bold;
    color: rgba(255, 193, 7, 1);
    text-shadow: 0 0 0 rgba(255, 193, 7, 0.4);
	animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {
	0% {
		text-shadow: 0 0 0 rgba(255, 193, 7, 0.2);
	}

	70% {
		text-shadow: 0 0 20px rgba(255, 193, 7, 0);
	}

	100% {
		text-shadow: 0 0 50px rgba(255, 193, 7, 0);
	}
}

.text-success {
    color: rgba(0, 255, 0, 0.4);
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
}

.filter-grid-parent {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: 50px;
    border-collapse: collapse;
}

.filter-grid-child {
    display: grid;          
    align-items: center;      
    justify-items: center;
    text-align: center;
}

/*
* Placeholder
*/
.placeholder-parent {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 5px 5px 5px 5px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.placeholder-child {
    font-size: x-large;
    font-weight: bold;
}

/*
* Input field styles
*/
.input-fields-container {
    padding-top: 0px;
    padding-bottom: 15px;
    width: 95%;
}

.input-fields-container input {
    border: 2px solid black;
    border-radius: 10px;
    box-sizing: border-box;
}

.info-entry-container {
    padding: 15px 0px 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid black;
    border-radius: 10px;
    background-color: #ebf2de;
}

.info-entry-title {
    font-size: 18px;
    font-weight: 500;
}

/*
* Search bar
*/
.search-btn {
    border-radius: 10px;
    margin-top: 0px;
    background-color: #7B8B2D;
    color: white;
    margin-left: 10px;
}

.search-btn:hover {
    border-radius: 10px;
}

.search-input {
    border-width: 2px;
    border-color: black;
    border-style: solid;
    border-radius: 10px;
    width: 100% !important;
}

.search-box-magnifier {
    display: block;
    border-color: gray;
    border: 1px;
    background: none;
    margin-left: -35px;
    margin-top: 8px;
}