.right-text {
    text-align: right !important;
}
/* The container must be positioned relative: */
.custom-select {
    min-width: 350px;
    position: relative;
}
.custom-select select:disabled {
    opacity: .8 !important;
}
.main-logo-container {

}
.main-logo-container img {
    width: 150px;
}
select {
    appearance: none;
    /*  safari  */
    -webkit-appearance: none;
    /*  other styles for aesthetics */
    width: 100%;
    font-size: 1.15rem;
    padding: 0.675em 6em 0.675em 1em;
    background-color: #fff;
    border: 1px solid #caced1;
    border-radius: 0.25rem;
    color: #000;
    cursor: pointer;
}

.custom-select::before,
.custom-select::after, .form-select::before, .form-select::after {
    --size: 0.3rem;
    content: "";
    position: absolute;
    right: 1rem;
    pointer-events: none;
}

.custom-select::before {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-bottom: var(--size) solid black;
    top: 40%;
}

.custom-select::after {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-top: var(--size) solid black;
    top: 55%;
}
.dashed-link {
    border-bottom: 1px dashed;
    color: dodgerblue;
    cursor: pointer;
}
.dashed-link.disabled {
    opacity: .7;
}
.form-error {
    margin-left: 20px;
    margin-right: 20px;
    color: #fff;
    font-size: .875rem;
    background: #ff0000;
    padding: 10px;
    border-radius: 8px;
    display: block;
    text-decoration: none;
}
.link {
    color: dodgerblue;
}
.pagination-container {
    margin-top: 20px;
    margin-left: 15px;
}
.filters-container {
    margin-left: 20px;
}
.custom-switch  {
    padding-left: 0 !important;
}
.swal2-html-container {
    text-align: center;
    padding: 20px 10px 0 10px;
}
.sort-icon {
    float: right;
    position: absolute;
    right: 6px;
    top: 14px;
}
th[data-sortable] {
    white-space: nowrap;
    position: relative;
}
.filter-select {
    padding: 7px;
    border-radius: 10px;
    border: 1px solid #d2d6da;
}
.select2-container--default .select2-selection--single {
    border: 1px solid #d2d6da;
    border-radius: 10px;
    padding: 5px 0;
    height: 42px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 7px;
    right: 9px;
}
.filters-container {
    display: flex;
}
.table-data-remove-btn {
    margin-bottom: 0 !important;
    margin-right: 10px;
}
.create-btn-table {
    position: absolute;
    top: 15px;
    right: 15px;
}
.filter-checkbox-container input {
    margin-left: 0 !important;
}
.filter-checkbox-container span {
    margin-left: 5px;
    margin-top: 2px;
}
.filter-checkbox-container {
    display: flex;
}
.table tr td:first-of-type {
    padding-left: 20px;
}
.has-error {
    border: 1px solid #ff0000 !important;

}
.form-inline-error {
    color: #ff0000;
    margin-top: 5px;
    margin-left: 5px;;
}
.vtop {
    vertical-align: top !important;
}
.acl-type {
    font-weight: normal;
}
.element-loader-shade {
    opacity: 0.8;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
}
.element-loading {
    position: relative;
}
.element-loader {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
}
.element-loader .inner {
    text-align: center;
    margin-top: 100px;
}

#acl-update-content {
    margin-bottom: 20px;
}
#acl-update-content .loader {
    width: 50px;
}
#acl-update-content > .title {
    font-size: 20px;
    margin-bottom: 10px;
}
.update-acl-entry {
    display: flex;
    justify-content: center;
    padding: 5px 10px;
    border: 1px solid #ededed;
    align-items: center;
}
.update-acl-entry .custom-switch {
    width: 50px;
}
.update-acl-entry .title {
    width: 250px;
    text-align: left;
    font-size: 14px;
    padding: 5px 10px;
}
.update-acl-entry .name {
    width: 250px;
    text-align: left;
    font-size: 14px;
    padding-left: 10px;
}
.update-acl-entry .name span {
    font-weight: normal;
}
div:where(.swal2-container) div:where(.swal2-popup) {
    width: 55em !important;
}
.acl-search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.acl-search-container input {
    width: 550px;
    height: 40px !important;
}
.acl-list input {
    height: 21px !important;
}
#acl-filter-popup {
    height: 40px !important;
}
.expanded-list {
    position: relative;
}
.expanded-list .expand-list-helper {
    position: absolute;
    right: 5px;
    top: 5px;
}
.custom-select2 .select2-selection {
    padding: 9px;
    border-radius: 10px;
    border: 1px solid #d2d6da;
}
.custom-select2 .select2-selection__choice {
    margin: 0 !important;
}
.custom-select2 > .select2-container .selection {

}

.device-has-errors {
    display: inline-block;
    background: #ff0000;
    padding: 5px 10px;
    border-radius: 3px;
    margin-top: 2px;
    margin-bottom: 2px;
    cursor: pointer;
}
.device-has-errors li {
    color: #fff;
    margin-right: 5px;
}
.device-has-errors span {
    color: #fff;
}
