
html {
    position: relative;
    min-height: 100%;
}

body {

    /* Margin bottom by footer height */
    margin-bottom: 72px;
    /* Stop ParamQuery Pro from changing the bosy positioning to relative - breaks sticky footer */
    position: static !important;
}

main {
    margin-top: 10px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 46px;
    line-height: 46px; /* Vertically center the text there */
    background-color: #f5f5f5;
}

li.dropdown:hover > .dropdown-menu {
    display: block;
    top: 85%;
}

.dropdown-item:not(.active):hover {
    color: #111;
    background-color: #e5e5e5;
}

#search_year {
    width: 78px;
}

a .badge.hidden {
    display: none;
}

a.cn.has_counter {
    display: block;
    float: left;
}

a.cn.has_counter .badge {
    display: block;
    float: right;
    margin-top: 1px;
    margin-left: 4px;
    line-height: 10px;
}

a.nav-link .badge,
a.dropdown-item .badge {
    margin-left: 4px;
}

.bg-to-complete {
    background-color: #C44848 !important;
}

.bg-complete {
    background-color: #728f53 !important;
}

.bg-in-progress {
    background-color: #F39200 !important
}

a.download_link {
    color: #fff;
    text-decoration: none
}

a.other_document_download_link {
    text-decoration: none
}

.table {
    font-size: 0.9em;
}

.table td {
    /*border: 0px !important;*/
    /*border-top: 1px solid #fff !important;*/
}

.card-header {
    border-width: 4px !important;
}

.gallery_image {
    float: left;
    margin-right: 10px;
}

.gallery_image img {
    width: 234px;
    height: 180px;
    object-fit: cover;
    cursor: pointer;
}

.center {
    text-align:  center;
}

.link {
    color: #0095D4;
    cursor: pointer;
}

.no_padding {
    padding: 1px !important;
}

.show-alert {
    display: block !important;
}

.cursor-pointer {
    cursor: pointer
}


.form_container {
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: 0px 0px 5px #bdbdbd;
}

.name_container {
    background-color: #0095D4;
}


.bg_red {
    background-color: #E57584 !important;
    color: #fff
}

.bg_green {
    background-color: #D9E8C6 !important;
}

div.ucfirst::first-letter {
    text-transform: capitalize;
}


.readonly {
    background-color: #e9ecef;
    opacity: 1;
    border: 1px solid #CED4DA
}


.fa, .fas {
    font-family: 'Font Awesome 5 Free' !important;
}


.file_gallery_thumb {
    cursor: pointer;
    float: left;
    width: 250px;
    border: 0px !important;
}

.file_gallery_thumb_preview {
    width: 234px;
    height: 180px;
    border: 1px solid #9E9E9E;
    text-align: center;
}

.file_gallery_thumb_preview img {
    width: 232px;
    height: 180px;
    object-fit: cover;
    cursor: zoom-in;
}


.file_gallery_thumb_preview_none div {
    text-align: center;
    margin-top: 80px;
}

.file_gallery_thumb_preview_none div label {
    color: #9E9E9E;
    text-transform: uppercase;
}

.file_gallery_thumb_preview_none div label strong {
    padding: 2px;
    border-radius: 2px;
    background-color: #FFFFFF;
}

.file_gallery_thumb_detail {
    padding: 4px 1px 0px 1px;
}

.file_gallery_thumb_detail_text {
    width: 170px;
    text-align: right;
    float: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.show_type {
    cursor: pointer
}

.show_type_selected {
    background-color: #0095D4 !important;
    color: #fff !important;
}

div.dataTables_wrapper div.dataTables_filter {
    padding-top: 0 !important;
    text-align: left !important;
}

div.dataTables_wrapper div.dataTables_filter.button-bar {
    padding-top: 0;
    text-align: right !important;
}

div.dataTables_wrapper div.dataTables_filter label {
    margin: 0;
    vertical-align: middle;
}

.button-bar {
    margin: 5px 0;
    display: block;
}

.col-md-6 .button-bar {
    margin: 0;
}

@media screen and (max-width: 767px) {
    div.dataTables_wrapper div.dataTables_filter {
        text-align: center !important;
    }
    div.dataTables_wrapper div.dataTables_filter > label {
        display: flex !important;
        width: 100% !important;
    }
    div.dataTables_filter input {
        flex: 1 !important;
    }
    .dt-button {
        margin-top: 5px;
        margin-left: 0 !important;
        margin-right: 0;
        width: 100%;
    }
    .button-bar.dataTables_filter .btn-group {
        margin-top: 5px;
        width: 100%;
    }
    .button-bar.dataTables_filter .btn-group .btn {
        text-align: center;
        flex: 1;
    }
}

.dataTables_wrapper table.table-bordered.dataTable {
    border-right-width: 1px;
}

.dtr-inline {
    width: 100% !important;
}

.dtr-inline .odd.selected {
    background-color: #fdf7dd;
}

.dtr-inline .even.selected {
    background-color: #f4eecb;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.child {
    padding: 0;
}

table.dataTable > tbody > tr.child ul.dtr-details {
    width: 100%;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.child li {
    margin: 0;
    padding: 12px !important;
}