﻿/*
| -------------------------------------------
| Top Buttons
| -------------------------------------------
*/
.top-buttons {
    position: fixed;
    right: 0;
    top: 50px;
    padding: 20px;
    width: 100%;
    background-color: white;
    z-index: 1000;
    margin: 20px 0;
    text-align: right;
}

.btn {
    border-radius: 0;
}

.top-buttons__btn {
    margin-left: 5px;
}

.top-buttons__normal {
    top: 50px;
}

.navbar {
    z-index: 999;
}

.tooltip {
    z-index: 10000;
}

/*
| -------------------------------------------
| Selected users
| -------------------------------------------
*/
.selected-users-wrapper {
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    z-index: 1;
}

.selected-users {
    position: absolute;
    right: 0;
}

.selected-dropdown {
    border: 1px solid black;
    background-color: white;
    padding: 5px;
    margin-top: 5px;
    z-index: 10;
    cursor: default;
}

.selected-dropdown__items {
    padding: 5px;
}

/*
| -------------------------------------------
| Text Input Buttons
| -------------------------------------------
*/
.text-input-buttons {
    z-index: 1;
    margin-top: 5px;
    position: absolute;
}

    .text-input-buttons > button {
        padding: 3px;
        font-size: 12px;
    }

.text-input {
    width: 100%;
}

.text-input-display-value {
    display: block;
    width: 100%;
    height: 20px;
    position: absolute;
    display: block;
}

.text-input-display-small {
    top: 20px;
}

.text-input-display-large {
    top: 42px;
}

/*
| -------------------------------------------
| Search Filters
| -------------------------------------------
*/
.search-filters {
    margin-bottom: 15px;
    margin-left: 3px;
}

.search-filter {
    height: 35px;
    padding: 0 10px;
    width: 160px;
    position: relative;
    display: inline-block;
    border: 1px solid #ccc;
}

.search-filter--id {
    width: 80px;
}

.search-filter--ssoid {
    width: 130px;
}

.search-filter-title {
    position: absolute;
    top: 0;
    z-index: 100;
}

.search-filter-flexible-width {
    height: 35px;
    padding: 0 10px;
    position: relative;
    display: inline-block;
}

.search-filter-flexible-width-border {
    height: 35px;
    padding: 0 10px;
    position: relative;
    display: inline-block;
    border: 1px solid #ccc;
}

/*
| -------------------------------------------
| Row Collapse Button
| -------------------------------------------
*/
.collapse-button {
    position: absolute;
    left: -99999px;
}

/*
| -------------------------------------------
| Table
| -------------------------------------------
*/
.table {
    border: 1px solid #f4f4f4;
    border-bottom: 0;
    background-color: #fff;
    margin-bottom: 15px;
}

.user-disabled {
    background-color: #ebebeb;
    color: #aeaeae;
}

    .user-disabled .user-row--admin-banner {
        color: white;
    }

    .user-disabled > div {
        pointer-events: none;
    }

.user-row {
    overflow: hidden;
}

.user-row--admin-banner {
    background-color: #8ebb8e;
    font-weight: bold;
    width: 58px;
    height: 16px;
    transform: rotate(-45deg);
    position: relative;
    top: 25px;
    left: -16px;
    margin-top: -20px;
    text-align: center;
}

.table-column {
    display: inline-block;
    border-right: 1px solid #f4f4f4;
    padding: 20px 20px 20px 5px;
    line-height: 25px;
}

.table-column-padding-2 {
    padding: 2px 20px 20px 5px;
}

    .table-column:last-child {
        border: 0;
    }

.table-username {
    width: 161px;
    position: relative;
}

.table-email {
    min-width: 250px;
    word-break: break-word;
}

.table-pass {
    width: 95px;
}

.small-text {
    position: absolute;
    font-size: 11px;
    top: 2px;
}

.not-absolute {
    position: initial;
}

.line-height-default {
    line-height: 1.4;
}

.hidden-column {
    padding-left: 133px;
    border-top: 1px solid #f4f4f4;
}

.show-small {
    font-weight: bold;
}

.table-table {
    display: inline-block;
}

input,
label {
    display: inline-block;
    margin-bottom: 0;
}

.expand {
    position: relative;
    height: auto;
    border-bottom: 1px solid #f4f4f4;
}

.collapse-button:checked ~ .expand {
    height: 0;
    overflow: hidden;
}

.collapse-button:checked ~ label .collapse-button-icon {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
}

.collapse-button-icon {
    padding: 15px 10px;
}

.modal-content {
    border-radius: 0;
}

.merge-id {
    display: inline-block;
    width: 30%;
}

/*
| -------------------------------------------
| Pagination
| -------------------------------------------
*/
.pagination-wrapper a {
    color: #5f5f5f;
}

.pagination-wrapper .btn-primary {
    color: white;
}

.pagination-custom {
    display: inline-block;
}

    .pagination-custom > li a {
        width: 40px;
        height: auto;
        margin: 3px;
    }

/*
| -------------------------------------------
| Loader
| -------------------------------------------
*/
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background-color: rgba(185, 185, 185, 0.46);
    overflow-x: hidden;
    overflow-y: auto;
}

.loader {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.bar {
    background: #adb7c8;
    border: 1px solid #8d9198;
    float: left;
    margin-right: 9px;
    margin-top: 6px;
    width: 10px;
    height: 58px;
    -webkit-animation: loading 1s steps(3, end) infinite;
    -moz-animation: loading 1s steps(3, end) infinite;
    animation: loading 1s steps(3, end) infinite;
}

.loader .bar:nth-child(2) {
    -webkit-animation-delay: 0.1s;
    -moz-animation-delay: 0.1s;
    -o-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.loader .bar:nth-child(3) {
    -webkit-animation-delay: 0.2s;
    -moz-animation-delay: 0.2s;
    -o-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

@-webkit-keyframes loading {
    0% {
    }

    10% {
        margin-top: 6px;
        height: 60px;
        border-color: #d1d8e6;
        background-color: #bac5db;
    }

    20% {
        margin-top: -10px;
        height: 70px;
        border-color: #d1d7e2;
        background-color: #c6ccda;
    }

    30% {
        margin-top: 6px;
        height: 60px;
        border-color: #d1d8e6;
        background-color: #bac5db;
    }

    40% {
        margin-top: 8px;
        height: 54px;
    }
}

@-moz-keyframes loading {
    0% {
    }

    10% {
        margin-top: 6px;
        height: 60px;
        border-color: #d1d8e6;
        background-color: #bac5db;
    }

    20% {
        margin-top: -10px;
        height: 70px;
        border-color: #d1d7e2;
        background-color: #c6ccda;
    }

    30% {
        margin-top: 6px;
        height: 60px;
        border-color: #d1d8e6;
        background-color: #bac5db;
    }

    40% {
        margin-top: 8px;
        height: 54px;
    }
}

@-ms-keyframes loading {
    0% {
    }

    10% {
        margin-top: 6px;
        height: 60px;
        border-color: #d1d8e6;
        background-color: #bac5db;
    }

    20% {
        margin-top: -10px;
        height: 70px;
        border-color: #d1d7e2;
        background-color: #c6ccda;
    }

    30% {
        margin-top: 6px;
        height: 60px;
        border-color: #d1d8e6;
        background-color: #bac5db;
    }

    40% {
        margin-top: 8px;
        height: 54px;
    }
}

@keyframes loading {
    0% {
    }

    10% {
        margin-top: 6px;
        height: 60px;
        border-color: #d1d8e6;
        background-color: #bac5db;
    }

    20% {
        margin-top: -10px;
        height: 70px;
        border-color: #d1d7e2;
        background-color: #c6ccda;
    }

    30% {
        margin-top: 6px;
        height: 60px;
        border-color: #d1d8e6;
        background-color: #bac5db;
    }

    40% {
        margin-top: 8px;
        height: 54px;
    }
}

/*
| -------------------------------------------
| IP-address
| -------------------------------------------
*/

.ip-access {
    margin-bottom: 15px;
}

.ip-access__header {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
}

.ip-access__options {
    display: flex;
    flex-direction: column;
}

/*
| -------------------------------------------
| Media Queries
| -------------------------------------------
*/
@media (max-width: 767px) {
    .top-buttons__sticky-top {
        top: -20px;
    }

    .top-buttons__btn {
        margin-bottom: 10px;
    }

    .search-filters {
        margin-top: 155px;
    }

        .search-filters input {
            display: block;
        }

    .user-disabled--mobile {
        background-color: #ebebeb;
        color: #aeaeae;
    }

    .table-table {
        margin-left: 30px;
    }

    .table-column {
        display: block;
        line-height: 20px;
        padding: 10px;
        border-right: 0;
    }

    .hidden-column {
        margin: 0;
        padding-left: 30px;
        border-top: 0;
    }

    .collapse-button:checked ~ #expand {
        margin-left: 55px;
    }

    .collapse-button-icon {
        left: -11px;
        top: 28px;
    }

    .search-filter {
        margin-bottom: 10px;
    }

    .search-filter,
    .search-filter--ssoid,
    .search-filter--id {
        width: 100%;
    }

    .small-text {
        display: none;
    }

    .user-row label,
    .user-row input[type="checkbox"] {
        position: absolute;
        top: 10px;
        left: 15px;
    }

    .form-group label {
        position: relative;
    }

    .text-input-display-value {
        position: relative;
    }

    .text-input-display-small, .text-input-display-large {
        top: 0;
    }
}

@media (min-width: 768px) {
    .search-filters {
        margin-top: 110px;
    }

    .search-filters__btn-deselect {
        float: right;
    }

    .hidden-column {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

        .hidden-column > .table-column {
            border-left: 1px solid #f4f4f4;
            border-right: 0;
        }

    .show-small {
        display: none;
    }

    .table-sso {
        width: 80px;
        padding-top: 45px;
    }

    .table-id {
        width: 80px;
    }

    .table-size-small {
        width: 83px;
    }

    .table-size-medium {
        width: 166px;
    }

    .table-size-large {
        width: 324px;
    }
}
