/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* --- TAGIFY --- */

.tagify {
    width: 100%;
    box-shadow: inset 2px 2px 5px #b8b9be, inset -3px -3px 7px #FFFFFF;
    border-radius: 0.55rem;
    padding: 4px;
}

.tagify__dropdown__wrapper {
    padding:4px;
}

.tags-look .tagify__dropdown__item{
    display: inline-block;
    vertical-align: middle;
    border-radius: 3px;
    padding: .3em .7em;
    border: 1px solid #dad7d7;
    background: transparent;
    margin: .2em;
    font-size: .85em;
    color: black;
    transition: 0s;
}

.tags-look .tagify__dropdown__item--active{
    border-color: #847f7f;
}

.tags-look .tagify__dropdown__item:hover{
    background: lightyellow;
    border-color: gold;
}

.tags-look .tagify__dropdown__item--hidden {
    max-width: 0;
    max-height: initial;
    padding: .3em 0;
    margin: .2em 0;
    white-space: nowrap;
    text-indent: -20px;
    border: 0;
}

/* --- NAVBAR --- */

.dropdown-menu {
    box-shadow: none;
    padding: 0.7rem;
}

.navbar-nav .dropdown-item:hover {
    border-radius: 4px;
}

.navbar-brand {
    text-transform: none;
}

@media screen and (max-width: 992px) {
    .navbar-brand {
        display: flex;
        align-items: center;
    }
    .navbar-brand img {
        height: 39px;
    }
    .navbar-brand span {
        font-size: 20px;
        padding-left:10px;
    }
    .collapse-brand .navbar-brand img {
        height: auto;
        margin: 0px;
        max-height: 50px;
    }
    .navbar-nav .nav-item {
        margin-bottom: 10px;
        text-align: center;
    }
}


.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 10%;
    left: 100%;
    margin-top: -1px;
}

.navbar-nav li:hover>ul.dropdown-menu {
    display: block;
}

.dropdown-submenu .dropdown-toggle::after {
    margin-left: .455em;
    content: "";
    border-left: .3em solid;
    border-top: .3em solid transparent;
    border-right: 0;
    border-bottom: .3em solid transparent;
    margin-top: 7px;
    vertical-align: unset;
}

.navbar-text a {
    text-decoration: none;
    color: inherit;
}

.navbar .middle-icons-mobile,
.navbar .middle-icons a {
    text-decoration: none;
    color: inherit;
    font-size: 1.3em;
}

.rotate-180 {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

/* --- HOMEPAGE --- */

.spinner {
    width: 40px;
    height: 40px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#viewer .loading-modal {
    display: none !important;
}

/* --- MODALS --- */

.modal {
    overflow-y: auto;
}

.modal-dialog-scrollable .modal-content {
    height: 100%;
}

.modal .header-button {
    font-size: 20px;
    margin-right: 10px;
    color: #000;
}

.modal-header.with-logo {
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
}

.modal-header.with-logo i{
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.modal-header img {
    height: 50px;
    margin-right: 18px;
}

.modal-header h5 {
    color: rgba(0, 0, 0, 0.6);
    font-size: 1rem;
}

.modal .close > span:not(.sr-only) {
    font-size: 2rem !important;
    margin-right: 15px;
}

/* CUSTOM MODALS */

.--select-input {
    background-color:#e6e7ee!important;
    height:45px;
    display: flex!important;
    align-content: center;
    flex-wrap: wrap;
}
.--select-input ul {
    margin-bottom: 0;
}
    
.select2-container--default .select2-results>.select2-results__options {
    max-height: 500px !important;
    padding: 10px;
}

.select2-container--default .select2-search--inline .select2-search__field {
    height: 24px!important;
    padding: 0 12px!important;
}

.powertag-item.active {
    background-color: #a3a4ad;
    color: #fff;
    border-radius: 6px;
}

.powertag-item span {
    display: inline-block;
    height: 100%;
    font-size: 0.94rem;
}

.powertag-title {
    cursor:pointer;
}

/* --- FOOTER --- */

footer {
    margin-top: 40px;
    padding-top: 10px;
    border: 1px dashed #ccc;
}

footer hr {
    width: 150px;
    text-align: center;
    margin: 20px auto;
}

footer p {
    margin: 0px;
    font-size: 12px;
}

footer a:has(img) {
    text-decoration: none;
    color: inherit;
}

/* --- MODAL - KICAS --- */

.kicas-description {
    border-radius: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    height: 100%;
    max-height: 100%;
}

.kicas-description-remain {
    position: relative;
    font-size: 0.9em;
    top: -25px;
    right: 10px;
    text-align: right;
    margin-bottom: 0px;
}

.kicas-title {
    border-radius: 0;
    border-bottom: 0.1em solid #ccc !important;
    font-size: 1.2em;
    margin: 0.5em 0.5em;
    margin-top: 0;
    padding: 0.5em 0.5em;
    width: calc(100% - 1em);
    box-shadow: none;
}

.kicas-title:focus {
    outline: none;
    box-shadow: inset 2px 2px 5px #b8b9be, inset -3px -3px 7px #FFFFFF;
}

.ql-container.ql-snow {
    font-size: 1.0em !important;
    border-top: 0 !important;
}

.ql-toolbar.ql-snow {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.ql-editor {
    font-size: 1.0em !important;
    min-height: 30vh;
}

.ql-mention-list-item {
    font-size: 0.9em !important;
}

.tab-button.active,
.tab-button:focus {
    background: linear-gradient(150deg, #ffffff -10%, #d3d649 100%) !important;
}

/* --- MODAL - KICAS LIST --- */

.modal-kicas-item .modal-kicas-header {
    font-size: 0.8rem;
}
.modal-kicas-item .modal-kicas-title {
    font-size: 1.3rem;
    margin: 0;
}
.modal-kicas-item .modal-kicas-content {
    margin: 13px 0px 0px;
}
.point-kicas-container .carousel-caption ul,
.modal-kicas-item .modal-kicas-content ul {
    display: inline-block;
    text-align: left;
}
.modal-kicas-item .modal-kicas-content p {
    margin-bottom: 13px;
}
.modal-kicas-item .modal-kicas-tags {
    font-weight: 500;
}
.modal-kicas-item .modal-kicas-tags span {
    margin-right: 10px;
}

/* --- MODAL - USER DASHBOARD --- */

#modal-user-dashboard .book-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
}

#modal-user-dashboard .activity .activity-spinner {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-user-dashboard .activity .activity-feed {
    padding: 10px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#modal-user-dashboard .x-header {
    margin: 0px;
    font-weight: 600;
}

#modal-user-dashboard .x-text {
    font-weight: 300;
    margin-bottom: 0;
}

#modal-user-dashboard .point-layers img {
    position: absolute;
    left: 35px;
    top: 18px;
    width: 88%;
    border-radius: 10px;
}

#modal-user-dashboard .point-kicas-container {
    background: url("/statics/img/point_layers/starfield.gif");
    height: 100%;
    border-radius: 10px;
}

#modal-user-dashboard .point-kicas-container .carousel-caption {
    position: static;
    padding: 40px;
    margin-top: 170px;
    min-height: 425px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#modal-user-dashboard .carousel-control-next-icon::before,
#modal-user-dashboard .carousel-control-prev-icon::before {
    color: #fff;
    font-size: 1.6rem;
}

#modal-user-dashboard .icon-shape-xs {
    width: 3.5rem;
    height: 3.5rem;
}
#modal-user-dashboard .icon-shape-xs i {
    font-size: 1.4rem
}

.activity-feed {
    border-radius: 10px;
    /* background-image: url('/statics/img/point_layers/starfield.gif'); */
    background-image: url('https://node2.ans.earth/img/GentleCosmicFlows.gif');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.alert {
    z-index: 1;
}

.mention {
    background: none !important;
    font: bold 1em/1.5em 'Roboto', sans-serif !important;
}

#kicas-carousel {
    background-color: #e6e7ee;
}

.overlay-primary:before {
    background: none;
}

/* --- MODAL - USER WALLET --- */

.wallet-information table td {
    text-align: left;
    padding: 5px;
}

.wallet-img-frame {
    height: 70px;
    width: 100%;
    position: relative;
    display: inline-block;
}

.wallet-img-frame img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border: 2px solid #ccc;
    border-radius: 5px;
}

.--centerized-box {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.--centerized-item {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

/* --- MODAL - VALUATION REPORT --- */

#modal-valuation-report .tab-pane p,
#modal-valuation-report .tab-pane h6 {
    font-size:0.9rem;
}

#modal-valuation-report .tab-pane .img-container {
    max-width: 15%;
    text-align: center;
    margin: 5px;
}

#tab-container {
    cursor: default!important;
}