body {
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #F2F2F2;
    min-height: 100vh;
}

.clickable {
    cursor: pointer !important;
}

.cursor-help {
    cursor: help !important;
}

.border-10 {
    border-radius: 10px !important;
}

.text-outlined h1 {
    font-weight: bold;
}

.table-problem {
    text-overflow: ellipsis;
    max-height: 80px;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    max-width: 240px;
    cursor: default !important;
}

table {
    min-width: 700px;
}

.actions {
    min-width: 220px;
}

.toast-container {
    position: absolute;
    top: 100px;
    right: 40px;
}

button i {
    transition-duration: 0.5s;
}

button.active i {
    transform: rotate(180deg);
}

i.top-right {
    font-size: 25px;
    transition-duration: 0.5s;
}

i.top-right.active {
    transform: rotate(180deg);
}

.top-right {
    position: absolute;
    top: 15px;
    right: 15px;
}

.collapsable-icon {
    transition-duration: 0.6s;
}

.collapsable-icon.active {
    transform: rotate(180deg);
}

.bg-striping {
    background-image: url('/assets/images/striping.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: calc(100% - 80px);
}

@media (max-width: 576px) {
    .bg-striping {
        background: none;
    }
}

.vertical-centered {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.rounded-bottom-pill {
    border-bottom-left-radius: 50px !important;
    border-bottom-right-radius: 50px !important;
}

.rounded-modal {
    border-radius: 50px;
    padding: 8px;
}

.rounded-card {
    border-radius: 50px;
    padding: 5px;
}

.sticky-buttons {
    width: max-content;
    width: -moz-max-content;
    position: sticky;
    top: 10px;
    z-index: 10;
}

.sticky-buttons > button {
    border-width: 2px !important;
}

.report-details {
    white-space: pre-wrap;
}

.unit {
    width: max-content;
    white-space: nowrap;
}

.dataTables_wrapper .dataTables_filter input {
    background-color: #fff;
    border-radius: 0;
    margin-left: 20px;
}

table.dataTable tbody tr {
    background-color: transparent;
}

.datatable .table th, .datatable .table td {
    padding: 4px !important;
    white-space: nowrap;
}

.table th {
    padding-right: 24px !important
}

.datatable .dataTables_processing {
    background: #f8f9fa;
    position: static;
    padding: 0;
    margin: 0;
    width: max-content;
    height: max-content;
    font-weight: bold;
}

.dropdown-menu {
    border-radius: 8px !important;
}

.dropdown-item:active {
    background-color: #f8f9fa;
}

.problem-td,
.name-td {
    display: block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.problem-td {
    max-width: 260px;
}

.container.wider {
    max-width: 1400px;
}

.container.widest {
    max-width: 1800px;
}

.container.content {
    background-color: #FFFFFF;
    padding: 1rem 3rem 2rem;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
}

tr td:not(:last-of-type) {
    cursor: pointer;
}

.uploaded_image {
    display: block;
    width: max-content;
    height: max-content;
}

.unit-title {
    line-height: 1em;
    font-weight: 600;
}

.menu-btn {
    display: inline-block;
    cursor: pointer;
}

.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 5px;
    background-color: #fff;
    margin: 6px 0;
    transition: 0.4s;
}

.bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.bar2 {
    opacity: 0;
}

.bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

.collapsed .bar2 {
    opacity: 1;
}

.collapsed .bar1,
.collapsed .bar3 {
    transform: translate(0, 0) rotate(0);
}

.subquestion{
    display: none;
}

.subquestion.visible{
    display: block;
}

form > div > div {
    padding-bottom: 1em !important;
}

.custom-date-input{
    display: flex;
}

.custom-date-input > input{
    margin-right: 1rem;
    max-width: max-content;
}

.custom-date-input .form-select{
    max-width: max-content;
}

.version .title{
    font-size: 2rem;
    margin: 0;
    font-weight: 600;
}

.version .date{
    font-size: .8rem;
}

.version .subtitle{
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* Responsive */

@media (max-width: 1400px) {
    .container.content {
        padding: 1rem 3rem 3rem;
    }
}

@media (max-width: 992px)  {

    .container.content {
        padding: 1rem;
    }

    .table-responsive-css table{
        min-width: 0;
        width: 100% !important;
    }

    /* Force table to not be like tables anymore */
    .table-responsive-css table, .table-responsive-css thead, .table-responsive-css tbody, .table-responsive-css th, .table-responsive-css td, .table-responsive-css tr {
        display: block;
    }

    .table-responsive-css table {
        border: 0 !important;
    }

    .table-responsive-css tbody tr {
        border: 0;
    }

    .table-responsive-css tbody tr:not(:last-of-type) {
        border-bottom: 1px solid #000;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .table-responsive-css thead tr {
        display: none;
    }

    .table-responsive-css tr { border: 1px solid #ccc; }

    .table-responsive-css td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    .table-responsive-css td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    .table-responsive-css.horizontal tr {
        display: flex;
        flex-direction: column;
    }

    .table-responsive-css.horizontal td, .table-responsive-css.horizontal th {
        padding: .25em 0;
        width: 100%;
    }

    /*
    Label the data
    */
    /*td:nth-of-type(1):before { content: "First Name"; }*/
    /*td:nth-of-type(2):before { content: "Last Name"; }*/
    /*td:nth-of-type(3):before { content: "Job Title"; }*/
    /*td:nth-of-type(4):before { content: "Favorite Color"; }*/
    /*td:nth-of-type(5):before { content: "Wars of Trek?"; }*/
    /*td:nth-of-type(6):before { content: "Secret Alias"; }*/
    /*td:nth-of-type(7):before { content: "Date of Birth"; }*/
    /*td:nth-of-type(8):before { content: "Dream Vacation City"; }*/
    /*td:nth-of-type(9):before { content: "GPA"; }*/
    /*td:nth-of-type(10):before { content: "Arbitrary Data"; }*/
}
