html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: "Font Awesome 5 Pro";
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\f160";
}

a.desc:after {
    content: "\f161";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\f163";
}

.sort-ordinal a.asc:after {
    content: "\f15e";
}

.sort-ordinal a.desc:after {
    content: "\f15d";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}



/* Fine-style */

.fine-style.fine-header .active {
    border: 0 solid white;
    border-bottom-width: 2px;
}

.fine-style.fine-header .navbar-nav .active a {
    background-color: rgba(8, 8, 8, 0.5);
}

.fine-style.fine-header .navbar-nav, .logout {
    font-family: 'Montserrat Ace', sans-serif;
}

.fine-style.fine-header .navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: #9d9d9d;
    /*text-align: center;*/
}

.fine-style.fine-header .navbar-brand span {
    margin-left: 20px;
}

.fine-style.fine-header {
    background: rgb(17, 0, 27) !important;
    background: radial-gradient(circle, rgba(17, 0, 27, 1) 0%, rgba(104, 0, 108, 1) 100%) !important;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 15px;
}

/* New design */

body {
    /*font-size: .875rem;*/
    font-size: 14px !important;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/* Sidebar */

.sidebar {
    position: fixed;
    top: 0;
    /* rtl:raw:
    right: 0;
    */
    bottom: 0;
    /* rtl:remove */
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 60px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

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

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

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

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

.sidebar .nav-link.active {
    color: #2470dc;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}

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

/*
 * Navbar
 */

.navbar-brand {
    /*padding-top: .75rem;*/
    /*padding-bottom: .75rem;*/
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

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

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

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

.button-space {
    width: 5px;
    display: inline-block;
}

.nav-link .fas {
    width: 20px;
}

/* Search */

.search-results {
    position: absolute;
    min-height: 200px;
    max-height: 600px;
    top: 48px;
    background: white;
    padding: 20px;
}

@media (max-width: 767.98px) {
    .search-results {
        top: 94px;
    }
}

.search-background {
    position: fixed;
    background: black;
    opacity: 0.2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}


.popover-body {
    min-width: 330px;
    min-height: 359px;
}

.popover{
    max-width: 100%; /* Max Width of the popover (depending on the container!) */
}

.search-line {
    margin-bottom: 3px;
    width: 300px;
    text-align: left;
}

.action-column {
    width: 80px;
}

.right-button-bar {
    justify-content: flex-end;
}


.button-space {
    width: 5px;
    display: inline-block;
}

.nav-link .fas {
    width: 20px;
}

.nav-item {
    font-size: 16px;
}

.nav-link .logout {
    color: rgba(255, 255, 255, 0.55);
}


/*
 * Navbar
 */

.navbar-brand {
    /*padding-top: .75rem;*/
    /*padding-bottom: .75rem;*/
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

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

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

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

.right-button-bar .btn {
    margin-top: 5px;
}

.fc-daygrid-event-harness {
    display: inline-block;
}

@media (max-width: 767.98px) {
    .navbar-nav {
        display: none;
    }

    .container-fluid {
        margin-top: 90px;
    }

    .navbar.fine-header {
        position: fixed;
        width: 100%;
    }

    .logout-mobile-button {
        display: block !important;
    }
}

.logout-mobile-button {
    right: 5rem !important;
    height: 40px;
    width: 56px;
    display: none;
}

.deleted-table-item {
    color: gray;
}

.deleted-table-item a {
    text-decoration: line-through;
    color: gray;
}

.deleted-table-item:after {
    font-family: "Font Awesome 5 Pro";
    content: " \f2ed";
}

.popover-body .fill-spinner {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}