﻿/* Set padding to keep content from hitting the edges */

.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

:root {
    /*--bs-table-active-bg: darkgrey;*/
    --dt-row-selected: darkgrey;
    --dt-row-selected-text: black;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select{
    /*max-width: 280px;*/
}

.navbar {
    height: 60px;
}
.top-section {
    height: 200px;
}

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.container.body-content {
    flex: 1 1 auto;
    margin-bottom: calc(50px + 5px);
}

footer {
    background: var(--bs-body-color);
    display: flex;
    flex-direction: row;
    /*padding: 10px;*/
    /*box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);*/
    position: fixed;
    bottom: 5px;
    width: 100%;
    height: 60px;
}

.btn-primary {
    background: white;
    border: none;
    color: orange;
    font-weight: 500;
    padding: 0.55rem 1.25rem;
    border-radius: 6px;
    transition: all .2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #E0E0E0;
    color: #444444;
    border-color: #398e85;
}
/* Disabled state for teal-themed .btn-primary */
.btn-primary:disabled,
.btn-primary.disabled {
    background: #e2e2e2;
    border-color: #d0d0d0;
    color: #9a9a9a;
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
}
/* Secondary button to match the teal primary theme */
.btn-secondary {
    background: linear-gradient(to bottom, #e6e9ec, #d4d7da);
    border: 1px solid #c2c5c8;
    color: #4a4f54;
    font-weight: 500;
    padding: 0.55rem 1.25rem;
    border-radius: 6px;
    transition: all .2s ease;
}

    .btn-secondary:hover,
    .btn-secondary:focus {
        background: linear-gradient(to bottom, #dfe3e6, #caced1);
        border-color: #b5b8bb;
        color: #3d4246;
    }

.btn-danger {
    background: linear-gradient(to bottom, #d8a4a4, #b97f7f);
    border: 1px solid #a86f6f;
    color: #fff;
}

    .btn-danger:hover,
    .btn-danger:focus {
        background: linear-gradient(to bottom, #cc9696, #a86f6f);
        border-color: #9a6262;
    }