﻿/* http://smacss.com/ */
/* Bootstrap Overloads */
.btn-site-visit {
    flex: 1 1 auto !important;
    font-size: 2rem !important;
    text-align: center !important;
}

.btn-login {
    width: 280px !important;
    background-color: var(--liink-primary-purple) !important;
    border-color: var(--liink-primary-purple) !important;
    color: white !important;
}

    .btn-login:focus{
        background-color: rgb(216,220,226) !important;
        color: black !important;
    }


.navbar-offset {
    top: 52px;
}

@media only screen and (max-width: 992px) {
    .btn-site-visit {
        font-size: 1.5rem !important;
    }
}

@media only screen and (max-width: 767px) {
    .btn-site-visit {
        font-size: 1.1rem !important;
        align-items: center;
    }
}

@media only screen and (max-width: 387px) {
    .btn-site-visit {
        display: flex;
        align-items: center;
    }
}

/* Accounts */
.account-settings-panel th, .account-settings-panel td {
    word-break: break-word !important;
}

/*Account Controls Section*/
li.account-controls-section {
    position: absolute;
    bottom: 0;
    width: 100%;
}

    li.account-controls-section a {
        height: initial !important;
        line-height: initial !important;
        padding: 9px 26px !important;
        font-size: 1rem;
        /*color: var(--liink-dark-info) !important;*/
    }

li.account-controls-section__logged-out a {
    height: initial !important;
    line-height: initial !important;
    padding: 9px 26px !important;
    font-size: 1rem;
    /*color: var(--liink-dark-info) !important;*/
}

@media only screen and (max-height:557px) {
    li.account-controls-section {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        position: relative;
    }
}

/* Accordians */
.accordion-title {
    background-color: black;
}

.accordion-group__header {
    background-color: #1E1E1E;
    color: white;
    font-weight: bold;
    padding: 5px;
    display: inline-block;
}

.accordian {
    margin-bottom: 3em;
}

    .accordian a:not(.collapsed) {
        color: #090909;
    }

.collapsed {
    color: #818181
}

.accordian .collapse.show, #principalContractors .collapsing {
    border-top: 1px solid #d4d4d4;
}

.accordian .card {
    border: 1px solid #d4d4d4;
}

.md-accordion .card:not(:first-of-type):not(:last-of-type) {
    border-bottom: none;
}

.md-accordion .card .card-body {
    color: #090909 !important;
}

/* Bubbles */
.bubble-card {
    position: inherit;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    color: black;
}

    .bubble-card:hover {
        outline: 0;
        color: var(--bubble-card-hover);
        -webkit-box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.30), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
        box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.30), 0 4px 15px 0 rgba(0, 0, 0, 0.15)
    }

.bubble-header {
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid var(--liink-light-blue);
    padding-bottom: 0.2em;
    margin-bottom: 0.2em;
    font-size: 1em;
}

.bubble-text-point7 {
    font-size: 0.7em;
}

.bubble-text-point8 {
    font-size: 0.8em;
}

.bubble-text-spacer {
    margin-top: 3px;
    margin-bottom: 1px;
}

.bubble-icon {
    align-self: center;
    font-size: 20px;
    padding: 7px;
}

/* Buttons */
.btn {
    font-size: 1em;
    text-align: center;
    text-transform: none;
    border-radius: 4px;
    padding: 0.5em 1em;
    min-width: 48px;
}

    .btn:disabled {
        opacity: 0.4;
    }

.btn-bracketed::before {
    display: inline-block;
    content: "[";
    padding-right: 0.5em;
}

.btn-bracketed::after {
    display: inline-block;
    content: "]";
    padding-left: 0.5em;
}

.btn-inline-right {
    margin-left: auto;
}

.empty-btn {
    margin: 0 4px;
}

@media only screen and (max-width: 767px) {
    .btn-inline-right {
        margin-left: 0;
        margin-right: auto;
    }
}

.button {
    display: flex;
    flex-wrap: wrap;
}

.bubble-badge {
    position: absolute !important;
    top: -0.5em;
    right: -0.5em;
    font-size: 0.9em;
}

@media (max-width: 550px) {
    .btn-consistient-sm {
        height: 120px;
    }
}

/* Calendars */
.calendar-top-day-grid {
    min-width: 10em;
}

.calendar-day {
    height: 10em;
    max-height: 10em;
    min-width: 10em;
}

.calendar-event {
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.325);
    border-radius: 0.25rem;
    font-size: 14px;
    text-align: left;
    max-height: 3em;
    min-height: 3em;
    overflow: hidden;
    margin: 3px !important;
    justify-content: space-around
}

.mobile-calendar-event {
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    font-size: 14px;
    text-align: left;
    word-break: break-word;
    margin: 3px !important;
    justify-content: space-around
}

@media (min-width: 576px) {
    .calendar-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        text-align: center;
    }
}

@media (max-width: 576px) {
    .calendar-grid {
        display: none;
    }
}

@media (min-width: 576px) {
    .calendar-list {
        display: none;
    }
}

@media (max-width: 576px) {
    .calendar-list {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
}

.calendar-month-width {
    min-width: 215px;
}

.calendar-title {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    display: flex;
}

@media (max-width: 992px) {
    .calendar-title {
        flex-direction: column;
    }
}

.calendar-date-selector {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1200px) {
    .calendar-date-selector {
        margin-left: -15%;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .calendar-date-selector {
        margin-left: -2.5%;
    }
}

/* Cards */
.card-main {
    margin-right: 1em;
    border-radius: 20px;
    width: 2em;
    height: 5em;
}

.card-status {
    margin-top: auto;
    margin-bottom: 10px;
}

.card-status-container {
    display: flex;
    border-radius: 20px;
    width: 2em;
    align-self: center;
    height: 5em;
}

.card-content__collapse {
    display: flex;
    align-items: center;
    float: right;
    margin: 0 1em 0 auto;
    font-size: 2em;
}

@media only screen and (max-width: 767px) {
    .card-status-container {
        width: 7em;
        margin: auto 1em auto;
        height: 2em;
        justify-content: center;
    }
}

.card-status-icon {
    align-self: center;
    padding: 0 0.5em;
    margin: 0 auto;
}

.card-status-text {
    transform: rotate(270deg);
    margin-top: unset;
    padding-right: 15px;
}

@media only screen and (max-width: 767px) {
    .card-status-text {
        transform: none;
        padding-right: initial;
    }
}

.card-order-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media only screen and (max-width: 767px) {
    .card-order-buttons {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        position: relative;
    }
}

.card-order-icons, .card-order-icons-disabled {
    position: relative;
    align-self: center;
    max-width: 54px;
}

.card-order-number {
    position: relative;
    align-self: center;
}

.card-locked-icon {
    position: absolute;
    font-size: 16px;
    right: 6px;
    top: 6px;
    background-color: none;
    color: black;
}

@media only screen and (max-width: 767px) {
    .card-locked-icon {
        right: 16px;
        top: 14px;
        font-size: 20px;
    }
}

.card-locked-overlay {
    background-color: #EEEEEE;
    opacity: 0.6;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.card-content-content {
    display: flex;
    position: relative;
    font-size: 16px;
    padding-right: 1em;
    line-height: normal;
}

.card-content {
    display: flex;
    flex-direction: row;
    position: relative;
    font-size: 16px;
    padding: 1em 2em 1em 0;
    transition: 0.1s;
    border-bottom: var(--liink-blue) solid 1px;
    line-height: normal;
    min-height: 7em;
    height: auto;
}

.card-content-navigator-icon {
    position: absolute;
    right: 2em;
    top: 50%;
}

@media screen and (max-width: 767px) {
    /* Hide captions */
    .card-content {
        flex-direction: column;
        justify-content: center;
        padding-right: 1em;
        padding-left: 1em;
    }
}

.card-content-hover:hover {
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2);
    background-color: var(--card-content-hover);
}

.card-filter-heading {
    padding: 1em 1em;
    color: white;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

/* Check boxes */
.checkbox-container {
    padding: 0.5em 0.5em;
    margin-top: 0.5em;
}

@media screen and (max-width: 575px) {
    .checkbox-container {
        margin-top: 0em;
    }
}

/* Custom Forms */
.custom-form-question-row {
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    padding: 1em;
}

.custom-form-question {
    text-align: center;
    border: 3px solid var(--liink-blue);
    padding: 1em;
}

    .custom-form-question:hover {
        background-color: var(--liink-light-blue-alpha);
        cursor: pointer;
    }

.custom-form-unset {
    position: unset !important;
    opacity: unset !important
}

.custom-form-movement-divider {
    width: 1.5px;
    height: 50px;
    background-color: darkslategray
}

.custom-form-text-question {
    white-space: pre-wrap;
    margin-top: -25px
}

/* Drag and Drop */
.drag-drop {
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: whitesmoke;
    position: relative;
    outline: dashed 2px var(--liink-light-blue);
    outline-offset: -4px;
    padding: 1.5em 2em 1em 2em;
    margin: 1em 0 1em 0;
    transition: background-color linear 0.15s, outline-offset ease-in-out 0.15s;
}

.drag-drop-width {
    max-width: 400px;
}

.drop-zone {
    font-size: 40px;
    margin-bottom: 1rem;
    color: var(--liink-blue);
}

/* Drop Down*/
.dropdown-menu-header {
    display: block;
    padding: 0px 15px 0px 15px;
    font-size: 1em;
    color: #125a7e;
    overflow-wrap: break-word;
    text-align: center;
    font-weight: bold;
}

.dropdown-menu-sub-header {
    display: block;
    padding: 3px 20px;
    font-size: 0.8em;
    line-height: 1.42857143;
    color: #777;
    overflow-wrap: break-word;
    text-align: center;
}

@media (min-width: 767px ) {
    .liink-dropdown-button {
        margin-left: auto;
        margin-top: auto;
        margin-bottom: auto;
    }
}

@media (max-width: 550px ) {
    .liink-dropdown-button {
        margin-top: auto;
        margin-bottom: auto;
    }
}

.liink-dropdown-button-dropdown {
    padding: 1em;
    width: 13em;
}

.liink-dropdown {
    padding: 0.5em;
}

.liink-dropdown-span {
    margin-right: 0.5em;
}

/* Filter */
.filter-span {
    float: right;
    margin-right: -25px;
    position: relative;
    top: 4px;
}

.filter-search {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 1em;
}

/* Forms */
.money-input {
    max-width: 280px;
}

.signature-input {
    border: dotted 1px black;
}

.form-textarea-expand {
    max-width: 100%;
    resize: none;
}

/* Header */
.header-dropdown {
    margin-top: 3px;
    font-size: 1.3em;
}

.background-liink-header {
    background-color:var(--liink-primary-purple);
}

/* Inductions */
.induction-readonly__content {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 1em;
    margin-top: 1em;
    page-break-inside: avoid;
    word-wrap: break-word;
}

    .induction-readonly__content img {
        object-fit: contain !important;
        max-width: 100% !important;
        height: auto;
    }

/* Images */
.delete-under-image {
    font-size: 1em;
    text-transform: none;
    border-top: solid black 1px;
}

.document-icon-box {
    height: 135px;
    width: 140px;
}

.image-icon {
    margin: 1em;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.icon-square {
    width: 25px;
    height: 25px;
}

/* Input */
.input-duration {
    width: 294px;
}

/* Invoices */
.invoice-item-line {
    display: flex;
    flex-direction: row;
    position: relative;
    font-size: 16px;
    padding: 1em 2em 1em 1em;
    transition: 0.1s;
    border-bottom: var(--liink-blue) solid 1px;
    line-height: normal;
    min-height: 7em;
    height: auto;
    justify-content: space-around;
}

.invoice-set-number {
    max-width: 4em;
}

.invoice-gst-container {
    border-left: none;
    padding: 0.3rem 0.75rem;
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

.invoice-gst-input {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding-right: 0;
}

@media (min-width: 767px ) {
    .invoice-move-item-left {
        margin-left: -20px;
    }
}

/* Job */
.job-document-category__row {
    vertical-align: middle;
    text-align: center;
    padding-bottom: 5px;
}

.job-progress-update-icon {
    font-size: 6em;
    text-align: center;
    margin-bottom: 0.1em;
}

.job-progress-update-icon-text {
    overflow-y: hidden;
    text-transform: none;
}

/*Job Status Tabs*/
.job-status-panel {
    margin-top: 2em;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0px;
    border-top: none;
    border-left: none;
    border-right: none;
    display: inline-block;
    box-shadow: none;
}

.job-status-panel-content {
    border: none;
    padding: 10px;
    cursor: pointer;
    display: inline-block;
    color: var(--liink-grey);
}

    .job-status-panel-content.active {
        color: #555;
    }

@media only screen and (min-width: 768px) {
    .job-status-panel-content:not(.active):hover {
        border-bottom: 2px solid var(--liink-light-blue);
    }

    .job-status-panel-content.active {
        border-bottom: 3px solid var(--liink-blue);
        color: black;
    }

    .job-status-hr {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .job-status-panel-content.active {
        border-left: 3px solid var(--liink-blue);
        color: #555;
    }

    .job-status-panel-content:not(.active):hover {
        border-left: 2px solid var(--liink-light-blue);
    }

    .job-status-panel {
        width: 100%;
    }

    .job-status-panel-content {
        width: 100%;
    }
}

.activity-history-image {
    justify-content: space-between;
}

@media (max-width: 992px) {
    .activity-history-image {
        justify-content: space-between;
        overflow-x: auto;
        display: flex;
        max-width: 77vw;
    }
}

.activity-history-button {
    margin: 1em;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
}

/* Label */
.control-label {
    font-weight: bold;
    align-self: center;
}

/* Modals */
.modal-dialog {
    top: 52px;
}

.fakeModal {
    position: absolute;
    background-color: white;
    border: 2px solid #337ab7;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 460px) {
    .fakeModal {
        font-size: 12px;
        transform: translate(-50%, -40%)
    }
}

/*Navbar Logo*/
.navbar-brand {
    height: 52px;
}

    .navbar-brand img {
        max-height: 48px;
        padding: 3px;
        width: auto;
    }

@media only screen and (max-width: 1700px) {
    .navbar-brand img {
        max-height: 40px;
        width: auto;
    }
}

@media only screen and (min-width: 1701px) {
    .navbar-hamburger {
        display: none;
    }
    .navbar-brand img {
        width: auto;
        transform: translateY(-3px)
    }
}

.navbar-mobile-icon {
    margin-right: 0.2em;
    font-size: 1.1em;
    position: relative;
    top: 0.2em;
}

#navPanel .custom-scrollbar {
    height: 100%;
    margin-bottom: 0;
}

.navbar-dropdown-menu {
    left: auto;
    margin-left: -21em;
}

.navbar-text-color, .navbar-dropdown-text {
    color: #4f90b2;
    font-size: 1em !important;
}

    .navbar-text-color:hover {
        color: #125a7e;
    }

.navbar-dropdown-text {
    text-align: center;
    overflow-wrap: break-word;
}

#navbarHeader .navbar-dropdown-text, #navbarHeader .dropdown-item {
    padding: 0 1rem;
}

.nav-link.dropdown-toggle {
    border: none;
    outline: 0;
    padding-left: 1rem;
    background: none;
}

    .nav-link.dropdown-toggle:hover {
        transition: all 0.2s ease-in-out;
    }

.navbar-dropdown-mobile-menu {
    margin-right: auto;
    width: 100%;
}

    .navbar-dropdown-mobile-menu .dropdown-item:hover {
        color: white !important;
    }

.popover-link:hover {
    color: white !important;
}

.btn-navbar-logout {
    padding: 0 !important;
    display: block;
}

.btn-logout {
    width: 100%;
    padding: 0 !important;
    display: block;
    text-align: left;
}

.navbar-link {
    color: var(--liink-dark-info) !important;
    font-weight: bold;
    height: initial !important;
    line-height: initial !important;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 26px !important;
    font-size: 1rem;
}

.navbar-account {
    color: var(--liink-blue) !important;
}

    .navbar-account:hover {
        color: var(--liink-blue-hover) !important;
    }

@media (max-width: 400px) {
    .account-dropdown-menu {
        max-width: 320px;
    }
}

@media (max-width: 300px) {
    .account-dropdown-menu {
        max-width: 240px;
    }
}

/*Notifications Section*/
.notification-card-title {
    font-size: 1em;
    font-weight: bold;
    word-break: break-word;
    min-height: 1rem;
}

.notification-preferred-name {
    position: relative;
    padding-left: 0.5em;
}

.grid-container {
    width: 100%;
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: min-content min-content 1fr min-content;
}

.grid-body {
    grid-column: 1 / span 1;
    grid-row: 3 / span 1;
    overflow-y: auto;
    display: grid;
    grid-template-rows: 1fr;
}

.grid-footer {
    grid-column: 1 / span 1;
    grid-row: 4 / span 1;
}

@media (max-width: 991px) {

    [data-hide-single-panel-layout] {
        display: none !important;
    }
}

@media (max-width: 991px) {

    .grid-container {
        height: calc(100vh - 300px);
    }

    .grid-body {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {

    .grid-container {
        height: calc(100vh - 300px);
    }

    .grid-body {
        grid-template-columns: 1fr 21px 1fr;
    }
}

.grid-body-left-panel {
    grid-row: 1 / span 1;
}

    .grid-body-left-panel:not(.hidden) ~ .grid-body-left-panel {
        display: none !important;
    }

    .grid-body-left-panel [data-hide-on-parent-left-panel] {
        display: none !important;
    }

.grid-body-right-panel {
    grid-row: 1 / span 1;
}

    .grid-body-right-panel:not(.hidden) ~ .grid-body-right-panel {
        display: none !important;
    }

    .grid-body-right-panel [data-hide-on-parent-right-panel] {
        display: none !important;
    }

@media (max-width: 991px) {

    [data-hide-single-panel-layout] {
        display: none !important;
    }
}

@media (max-width: 991px) {

    .grid-body-left-panel {
        grid-column: 1 / span 1;
    }

        .grid-body-left-panel:not(.hidden) ~ .grid-body-right-panel {
            display: none !important;
        }

    .grid-vertical-separator {
        display: none;
    }

    .grid-body-right-panel {
        grid-column: 1 / span 1;
    }

        .grid-body-right-panel:not(.hidden) ~ .grid-body-left-panel {
            display: none !important;
        }
}

@media (min-width: 992px) {

    .grid-body-left-panel {
        grid-column: 1 / span 1;
    }

    .grid-vertical-separator {
        background-color: #eee;
        grid-row: 1 / span 1;
        grid-column: 2 / span 1;
        margin-left: 10px;
        margin-right: 10px;
    }

    .grid-body-right-panel {
        grid-column: 3 / span 1;
    }
}

.grid-notification-group-panel {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: min-content 1fr min-content;
    overflow-y: auto;
}

.grid-notification-group-panel-header {
    grid-column: 1 / span 1;
    grid-row: 1 / span 1;
}

.grid-notification-group-panel-body {
    grid-column: 1 / span 1;
    grid-row: 2 / span 1;
    min-height: 50px;
}

.grid-notification-group-panel-footer {
    grid-column: 1 / span 1;
    grid-row: 3 / span 1;
}

.grid-notification-panel {
    overflow-y: auto;
}

.grid-notification-panel-layout {
    height: 94%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: min-content 1fr min-content;
    overflow-y: auto;
}

.grid-notification-panel-header {
    grid-column: 1 / span 1;
    grid-row: 1 / span 1;
}

.grid-notification-panel-body {
    grid-column: 1 / span 1;
    grid-row: 2 / span 1;
    overflow-y: auto;
    padding-right: 10px;
    min-height: 75px;
}

.grid-notification-panel-footer {
    grid-column: 1 / span 1;
    grid-row: 3 / span 1;
}

@media (max-width: 991px) {

    .grid-notification-panel {
        grid-column: 1 / span 1;
    }
}

@media (min-width: 992px) {

    .grid-notification-panel-footer {
        display: none;
    }
}

.grid-notification-resource-preview-panel {
    overflow-y: auto;
}

.grid-notification-resource-preview-panel-layout {
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: min-content 1fr min-content;
    overflow-y: auto;
}

.grid-notification-resource-preview-panel-body {
    grid-column: 1 / span 1;
    grid-row: 2 / span 1;
    overflow-y: auto;
    min-height: 75px;
    padding-right: 10px;
}

.notification-group .badge {
    margin-right: 10px;
    margin-left: 10px;
    position: relative;
    top: 12px;
}

.notification-group table {
    margin-bottom: 0px;
}

.notification-group tr > :nth-child(1) {
    width: 32.8px; /* Fixed Table Layouts don't like sizing a cell based off its content. Fixed Table Layout is required to prevent text going out of bounds.*/
    font-size: 1.2em;
}

.notification-group tr > :nth-child(2) {
    width: 100%;
}

.notification-group tr > :nth-child(3) {
    width: 67.2px; /* Fixed Table Layouts don't like sizing a cell based off its content. Fixed Table Layout is required to prevent text going out of bounds.*/
}

.notification-group tbody > tr > td:nth-child(2) > div:nth-last-of-type(1) {
    font-size: 0.8em;
}

.notification-group tbody > tr {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .notification-group tbody > tr:hover {
        cursor: pointer;
    }

/* Notification Style */
[data-type="NotificationMessage"] div:nth-of-type(n+2):nth-of-type(-n+3) {
    font-size: 0.8em;
}

.grid-notification-panel-header > h3 {
    margin-top: 0px;
}

.grid-notification-panel-header tr {
    font-size: 1.3em;
}

.grid-notification-panel-header th {
    padding-right: 20px;
    text-align: right;
    vertical-align: top;
    width: 92px; /* Fixed Table Layouts don't like sizing a cell based off its content. Fixed Table Layout is required to prevent text going out of bounds.*/
}

.notification-nav-text-color {
    color: black !important;
    font-size: 1em !important;
}

    .notification-nav-text-color:hover {
        color: #ccc5e1 !important;
    }

/*OnSite service provider link to company modal*/
.onsite-link-modal-border {
    border-right: 1px solid black;
    margin-left: -5%;
    margin-right: 1%;
}

/* Pagination */
.pagination-container {
    width: 50px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin-left: auto;
    margin-right: auto;
}

.pagination__button {
    margin: 2px;
}

/* Page Help Button */
.page-help {
    transform: translateX(calc(100% - 120px));
    position:absolute;
    width:100%;
}

/*Popover Section*/
.popover {
    max-width: 500px
}

.popover-header {
    text-align: center;
}

/* Progress Bar */
.large-bar {
    height: 1.5rem;
}

/*Purchase Orders*/
.upload-purchase-order-files {
    margin: 0 auto 0;
    width: 75%;
}

.purchase-order-item {
    border-bottom: 1px solid var(--liink-light-grey);
    padding-bottom: 1em;
}

.purchase-order-item-line {
    padding-left: unset
}

/* Rich Text Editor*/
.editor-wrap {
    border: 1px solid #ccc;
    padding: 0 .5rem;
    position: relative;
    border-radius: 4px;
    transition: box-shadow .15s;
    padding-bottom: 0;
}

    .editor-wrap.focused {
        box-shadow: 0 0 0 3px rgba(28, 108, 161, .08) inset;
    }

/* The element that turns into a TinyMCE editor */
.editor-content {
    transition: min-height .25s, padding-bottom .25s;
    min-height: 0;
    outline: none;
}

/* Set the minimum height and make space for the toolbar */
.editor-wrap.focused {
    min-height: 140px;
    padding-bottom: 40px;
}

/* The toolbar is absolute positioned to better support a smooth slide in/out. */
/* Without it the toolbar causes the height to jump when the toolbar toggles */
.editor-toolbar {
    position: absolute;
    bottom: 3px;
    left: 3px;
    right: 3px;
    opacity: 0;
    transition: opacity .1s;
    transition-delay: .15s;
}

.editor-wrap.focused .editor-toolbar {
    opacity: 1;
}

/* Search Bar */
.search-bar {
    display: flex;
    width: 20em;
    padding: 0.3em 0.5em 0.3em 0.7em;
    font-size: 16px;
    align-items: center;
    border: solid 1px lightgray;
    border-radius: 0.5em;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    background-color: var(--search-bar);
}

    .search-bar input[type=search] {
        padding: 0.2em 0.5em 0.2em 0.7em;
        min-width: 0;
        max-width: 100%;
        width: 100%;
        border: none;
        line-height: 1.5;
    }

        .search-bar input[type=search]:focus {
            outline: none;
        }

    .search-bar:focus-within {
        box-shadow: 0 0 4px 2px #66afe9
    }

    .search-bar .fa-search {
        color: darkgray;
    }

@media only screen and (max-width: 575px) {
    .search-bar {
        margin: 0 0;
        width: auto;
    }
}

/* Signatures */
.signature {
    height: 12em;
}

/* Compliance Pack */
.ssp-cell-20 {
    overflow-wrap: break-word;
    max-width: 20vw;
}

.ssp-cell-15 {
    overflow-wrap: break-word;
    max-width: 15vw;
}

.ssp-abn {
    min-width: 13rem;
}

/* Site Specific Risk Assessments */
.risk-score {
    white-space: normal;
    text-transform: none;
}

.risk-matrix-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 8em;
    min-height: 4em;
    border: 1px solid black;
    min-width: 2em;
    word-break: break-word;
}

/* Streamable */
.streamable-video {
    border: none;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    overflow: hidden;
}

.streamable-container {
    position: relative;
    width: 100%;
    min-height: 30em;
    padding-bottom: 56.250%
}

/* Tables */
.table-heading-column-narrow th {
    width: 1%;
    white-space: nowrap;
}

.table-no-border, .table-no-border td {
    border: none !important;
}

/* Tabs */
.tab-bar {
    margin-top: 0.5em;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0px;
    border-top: none;
    border-left: none;
    border-right: none;
    display: inline-block;
    box-shadow: none;
}

.tab {
    border: none;
    padding: 10px;
    cursor: pointer;
    display: inline-block;
    color: var(--liink-black);
}

@media only screen and (min-width: 768px) {
    .tab.active {
        border-bottom: 3px solid var(--liink-primary-purple);
        color: var(--liink-primary-purple);
    }

    .tab:not(.active):hover {
        border-bottom: 2px solid var(--liink-feint-purple);
    }

    .tab-hr {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .tab.active {
        border-left: 3px solid var(--liink-primary-purple);
        color: var(--liink-primary-purple);
    }

    .tab:not(.active):hover {
        border-left: 2px solid var(--liink-feint-purple);
    }

    .tab-bar {
        width: 100%;
    }

    .tab {
        width: 100%;
    }
}

.profile-pic {
    object-fit: fill;
    max-width: 80px;
}

/* Helpers */
.cursor-pointer {
    cursor: pointer;
}

.overflow-y-auto {
    overflow-y: auto;
}

.overflow-x-auto {
    overflow-x: auto;
}

.flex-space-between {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.flex-flat {
    flex: 0 0 0;
}

.flex-column {
    display: flex;
    flex-direction: column;
    row-gap: 1em;
    height: fit-content;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.align-content__center {
    display: flex;
    align-content: center;
}

.align-self__center {
    display: flex;
    align-self: center;
}

.fixed-top {
    padding: 0 0;
}

.float-right {
    float: right;
    position: relative;
}

.justify-content__end {
    display: flex;
    justify-content: end;
}

.justify-content-inherit {
    display: flex;
    justify-content: inherit;
}

.indent-1 {
    text-indent: 1em;
}

.m-1-0 {
    margin: 1em 0;
}

.mt-05 {
    margin-top: 0.5em;
}

.max-height-15 {
    max-height: 15em;
}

.max-height-40 {
    max-height: 40em;
}

.max-height-35 {
    max-height: 35em;
}

.max-height-30 {
    max-height: 30em;
}

.height-35 {
    height: 35em !important;
}

.mx-negative-5 {
    margin-left: -5px;
    margin-right: -5px;
}

.min-height-1 {
    min-height: 1em;
}

.min-height-3 {
    min-height: 3em;
}

.plr-1 {
    padding: 0 1em;
}

.p-05 {
    padding: 0.5em;
}

.resize-none {
    resize: none;
}

@media only screen and (min-width: 768px) {
    .show-xs {
        display: none;
    }
}

.text-transform-none {
    text-transform: none !important;
}

.title {
    font-size: 1.2em;
    word-break: break-word;
    font-weight: bold;
    min-height: 1rem;
}

.title-description {
    word-break: break-word;
    font-weight: bold;
    min-height: 1rem;
}

.vertical-align-middle {
    vertical-align: middle;
}

.w-1 {
    width: 1em;
    margin: auto 0;
}

.width-5 {
    width: 5em;
}

.word-break {
    word-break: break-word;
}

.row-gap-0 {
    row-gap: 0 !important;
}

.w-5 {
    width: 5%;
}

.w-10 {
    width: 10%;
}

.w-15 {
    width: 15%;
}

.w-20 {
    width: 20%;
}

.w-30 {
    width: 30%
}

.w-35 {
    width: 35%
}

.w-40 {
    width: 40%
}

.w-45 {
    width: 45%
}

.w-55 {
    width: 55%
}

.w-60 {
    width: 60%
}

.w-65 {
    width: 65%
}

.w-70 {
    width: 70%
}

.mw-80 {
    max-width: 80%;
}

.mw-95 {
    max-width: 95%;
}

.w-80 {
    width: 80%
}

.w-85 {
    width: 85%
}

.w-90 {
    width: 90%
}

.max-width-400 {
    max-width: 400px;
}

.max-width-320 {
    max-width: 320px;
}

.max-width-260 {
    max-width: 260px;
}
