:root {
    --siteblue: 17,114,152;
    --primaryGreyColour: 216, 5%;
    --primaryGreyColourLightness1: 39%;
    --primaryGreyColourLightness2: 90%;
}

body {
    background: url(5013c147318038589ad1da0cdd3100de.jpg) no-repeat center center fixed;
    background-size: cover;
    padding: 15px;
}

.wrapper {
    background-color: white;
    padding: 20px;
}

[uib-pagination] {
    justify-content: center;
}

.nav-stick {
    top: 10px;
    position: sticky;
    z-index: 3;
}

.status-panel {
    top: 80px;
    position: sticky;
    z-index: 1;
}

.scrollable-panel {
    height: 251px;
    overflow-y: scroll;
    width: 100%;
}

.truncated {
    display: block;
    white-space: nowrap; /* forces text to single line */
    overflow: hidden;
    text-overflow: ellipsis;
}

/*finish directive*/
.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

    .btn-circle.btn-lg {
        width: 50px;
        height: 50px;
        padding: 10px 16px;
        font-size: 18px;
        line-height: 1.33;
        border-radius: 25px;
    }

    .btn-circle.btn-xl {
        width: 140px;
        height: 140px;
        padding: 10px 16px;
        font-size: 24px;
        line-height: 1.33;
        border-radius: 70px;
    }
/*finish directive*/

.signing-request-detail-row {
    max-height: 31px;
    border-top: gray 1px solid;
    margin-bottom: 9px;
    padding: 10px;
}

.signing-request-header-row {
    background-color: #eae9e9;
    max-height: 31px;
    padding: 10px;
}

/*ui select fix for bootstrap 4*/
.ui-select-match-text {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 95%;
}

.caret {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid;
    display: inline-block;
    margin-left: 0;
    vertical-align: middle;
    width: 0;
}

.ui-select-toggle.btn {
    border: 1px solid #ced4da;
}

.ui-select-choices.dropdown-menu {
    display: block;
}

.ui-select-match-text {
    max-height: 24px;
}

.ui-select-match.btn-default-focus {
    border-radius: .25rem;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    outline: 0;
}
.ui-signees-modal-title {
    text-transform: uppercase;
    font-weight: bolder;
}
.ui-signees-modal-title .fas {
padding-right:0.5rem;
}
.ui-signees-modal {
    cursor: default;
    user-select:none;
}   
    .ui-select-match.btn-default-focus > .ui-select-toggle {
        border-color: #80bdff;
    }
    .ui-signees-warning-message {
        color: var(--danger);
        font-size: larger;
        line-height: 16px;
        display: flex;
        align-items: center;
        padding: 10px 20px !important;
    }
    .ui-signees-warning-message .fas {
        font-size: 20px;
    }
    .ui-signees-flex {
        display: flex;
    }
    .ui-signees-user-icon {
        font-size: 50px;
        padding-right: 0.3em !important;
        max-width: fit-content !important;
        display:flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .ui-signees-current-user-label {
        font-size: 11px;
        position:absolute;
        top:100%;
    }

    .ui-signees-info {
        display: flex;
        flex-direction: column;
        line-height: 18px;
        justify-content: center;
        padding-left: 0px !important;
        padding-right: 15px !important;
        margin: 2px 0px !important;
    }
    .ui-signees-help{
        cursor: help;
        user-select: none;
    }
    .ui-signees-username {
        font-size: 1.1rem;
        font-weight:bold;
        text-transform: uppercase;
    }
    .ui-signees-email{
        font-size: 1.09rem;
    }
    .ui-signees-email-text{
        font-weight:bolder;
    }
    .ui-signees-good{
        color: var(--success);
    }
    .ui-signees-bad{
        color: var(--danger);
    }
    .ui-signees-declarant-tag{
        color: var(--danger);
        font-size: 12px;
        font-weight:bolder;
        position: absolute;
        top: 0px;
        right: 0px;
        padding: 0px 5px 5px 5px;
        cursor: help;
        user-select: none;
        text-transform: uppercase;
    }
    .ui-signees-info-message {
        font-size: 0.9rem;
        padding: 5px 0px 0px 0px;
        display: flex;
    }
    .ui-signees-info-message-icon {
        font-size:14px;
        display:flex;
        align-items: center;
    }
    .ui-signees-info-message-text {
        line-height: 13px;
    }
    .ui-signees-current-user {
        background-color: rgba(var(--siteblue), 0.05) !important;
    }
    .ui-signees-current-user .ui-signees-user-icon,
    .ui-signees-current-user .ui-signees-info {
        color: rgb(var(--siteblue));
    }
    .ui-no-bottom-top-padding {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }
    .ui-no-padding {
        padding: 0px !important;
    }
    .ui-no-padding > .row {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    .modal-dialog [class*="ui-signees-modal"] {
        color: rgb(var(--siteFontBlue));
    }
    .ui-signees-modal-header {
        border-bottom: none !important;
    }
    .ui-signees-list-body {
        max-height: 70vh;
        overflow-y: auto;
    }
    .ui-no-margins{
        margin: 0px !important;
    }
    .ui-signees-list-item{
        padding: 10px 0px;
    }
    .ui-signees-modal .list-group-item{
        border: none !important;
        margin-bottom: 0px !important;
    }
    .ui-signees-modal .list-group-item {
        border-top: 1px solid rgba(0,0,0,0.025) !important;
    }
    .ui-signees-modal .list-group-item:last-child {
        border-top: 1px solid rgba(0,0,0,0.025) !important;
        border-bottom: 1px solid rgba(0,0,0,0.025) !important;
    }
/*ui select fix for bootstrap 4*/

    .nav-email {
    padding: 0px 0.5rem !important;
    cursor: default;
    user-select:none;
    }
    #navbarDropdown {
        display: inline-flex !important;
        align-items: center !important;
    }
    .navProfileInfo {
        display: flex;
        flex-direction: row-reverse;
        align-items: center; 
    }

    .navProfileInfo .far, .navProfileInfo .fas {
        font-size: 23px !important;
        height: 100% !important;
        padding: 0px 0.25rem !important;
        color: var(--warning);
    }

    .navProfileInfo .profile {
        display: flex;
        flex-direction: column;
        line-height: 14px;
    }
    .navProfileInfo .email {
        max-width: 150px;
        font-size: 12px;
        overflow-x: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow-y: hidden;
    }

    .navProfileInfo .profile > span {
        text-align: right;
    }
    .navProfileInfo .profile > span:not(.email){
    }
    .signing-warning-message {
        display:flex;
        align-items: center;
        max-width: 95%;
        cursor: default;
        user-select:none;
    }
    .signing-warning-message > i {
        font-size: 0.6rem;
    }
    .signing-warning-message > span {
        font-size: 0.8rem;
        line-height: 0.8rem;
    }
    .reservation-email-warning {
        color: var(--warning);
        display: flex;
        padding-top: 5px;
    }
    .reservation-email-warning i {
        font-size: 12px;
        padding-top: 5px;
    }
    .reservation-email-warning span {
        font-size: 12px;
        line-height: 13px;
        padding-left: 7px
    }
    .modal-content {
        border: 1px solid rgba(220,220,220,0.3) !important;
        box-shadow: 0px 0px 15px 2px rgba(20,20,20, 0.4);
    }
    .ui-dashboard-tile-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bolder;
        font-size: 1.3rem;
        z-index: 2;
        color: white;
        flex-direction: column;
        cursor: default;
        border-radius: 0.25rem;
    }

    .tile-overlay-details {
        white-space: normal;
        width: 100%;
        margin: 10px;
    }
    .tile-overlay-header {
        line-height: 1.4rem;
        margin: 10px;
    }
    .tile-overlay-footer {
        font-size: 1.2rem;
        font-weight: bolder;
        margin: 10px;
    }
    .overlay-rejected {
        background-color: rgba(255, 65, 54, 0.9);
    }
    .overlay-approved {
        background-color: rgba(40, 182, 44, 0.9);
    }
    .overlay-close {
        position: absolute;
        top: 0px;
        right: 0px;
        padding: 10px;
        line-height: 0px !important;
    }
    .overlay-close > button, .overlay-view-button {
        border: none;
        background-color: transparent;
        color: white;
        margin: 0px !important;
        padding: 0px !important;
        outline: none;
        cursor:pointer;
    }
    .tile-overlay-footer > .overlay-view-button {
        font-size: 18px;
        font-weight: bolder;
        margin-top: 20px;
        line-height: 18px;
    }
    .overlay-view-button:hover {
        text-decoration: underline;
    }
    dashboard {
        user-select: none;
    }
    dashboard-overlay {
        position: absolute;
        height: 100%;
        width: 100%;
    }
    dashboard-overlay button:focus {
        outline: none;
    }
    dashboard .card-header {
        color: rgb(var(--siteblue));
    }
    
    dashboard .card-header, [menu] .card-header {
        padding-right: 10px !important;
        padding-left: 10px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    dashboard #dashboardAreas .card {
        margin: 4px;
    }
    .card {
        box-shadow: 0 0 10px rgba(30,30,30, 0.1);
    }
    .item-list {
        counter-reset: count;
        color: rgba(var(--siteblue));
    }
    .item-list .item {
        counter-increment: count;
        line-height: 1.3em;
        padding: 15px;
        background-color: rgba(210,210,210, 0.15);
        font-size: 1.15em;
    }

    .item-list .item:not(:last-child){
        margin-bottom: 20px;
    }
    .modal-body:not(.approvalHelp).item-list .item span.title:before{
        margin-right: 20px;
        content: counter(count);
        font-size: 3em;
        color: rgba(var(--siteblue));
        display: flex;
        justify-content: center;
        align-items:flex-start;
        height: 20px;

    }
    .item-list .item span.title{
        font-size: 1.05em;
        font-weight: 600;
        text-transform: uppercase;
        line-height: 2em;
        display: flex;
        margin-bottom: 10px;
    }
    .rejectionHelp .item-list .item span.title {
        align-items: flex-start;
    }
    .approvalHelp .item-list .item span.title {
        align-items: center;
    }
    .item-list .item span.title > span {
        flex-grow: 1;
    }
    .item-list .item span.title [class*="fa"]{
        margin-right: 10px;
        font-size: 1.8em;
    }
    .item-list .item span.titleText {
        line-height: 1.1em;
        height: 2em;
        display: flex;
        align-items: center;
    }

    .imgBox {
        display:flex;
        margin: 20px 40px 10px 40px;
        align-items: center;
        border: red 1px solid;
        background-color: rgba(255,0,0,0.03);
        padding: 10px;
    }
    .imgBox img {
        margin-right: 5px;
        height: 2.5em;
    }

    .rejectionHelp, .approvalHelp{
        user-select: none;
    }
    .rejectionHelp.modal-body{
        max-height: 50vh;
        overflow-y: auto;
        margin: 0 1rem !important;
    }  
    .approvalHelp.modal-body{
        max-height: 80vh;
        overflow-y: auto;
        color: rgba(var(--siteblue));
    }
    .rejectionHelp.modal-body .content , .approvalHelp.modal-body .content{
        margin: 0px 20px;
    }
    .rejectionHelp.modal-title, .approvalHelp.modal-title {
        margin-top: 20px;
        color: rgba(var(--siteblue));
    }
    .approvalHelp.modal-title {
        padding: 0px 20px;
    }
    .site-primary-colour {
        color: rgba(var(--siteblue));
    }
    .modal-wide-error-message {
        position: absolute;
        height: 100%;
        width: 100%;
        font-size: 4rem;
        display: flex;
        left: 0px;
        align-items: center;
        justify-content: center;
        opacity: 0.12;
    }
    help-button {
        margin-left: 5px;
        margin-right: 5px;
    }
    help-button > button, .help-button {
        outline: none;
        border: none;
        background: none;
        transition: all 0.2s ease-in;
        padding: 0;
    }
    help-button > button:hover, .help-button:hover {
        color: rgb(var(--siteblue));
        cursor: pointer;
    } 
    help-button > button:focus, .help-button:focus {
        outline: none;
        border: none;
        background: none;
}

button.close-button-button {
      outline: none;
        background-color: transparent;
          border: none;
            width: 40px;
              height: 40px;
                transition: background-color ease-in 0.15s;
                  border-radius: 100%;
                    padding: 5px;
                      cursor: pointer;
                  }
                  
                  button.close-button-button:is(:active, :focus) {
                        outline: none;
                    }
                    
                    button.close-button-button:is(:hover, :active, :focus) {
                          background-color: hsla(var(--primaryGreyColour), var(--primaryGreyColourLightness2), 0.4)
                      }
                      
                      svg.close-button-svg {
                            fill: hsl(var(--primaryGreyColour), var(--primaryGreyColourLightness1));
                              width: 25px;
                          }

    .btn[purpose="reservationListActions"]:not(:last-child) {
        margin-right:0.5rem;
    }

       @media (max-width: 991px){
        .navProfileInfo {
            flex-direction: row;
        }
        .navProfileInfo .profile > span {
            text-align: left;
            line-height: 0.8rem;
        }
    .navProfileInfo .far, .navProfileInfo .fas {
        font-size: 22px !important;
        height: 100% !important;
        padding: 0px 0.25rem 0px 0px !important;
    }
}

