nav {
    z-index: 2000 !important;
}

a.hash-link[name] {
    padding-top: 40px;
    margin-top: -40px;
    display: inline-block; /* required for webkit browsers */
    position: relative; /* so text above could be copied*/
    z-index: -1; /* so text above could be copied*/
}

/* quick RTLS menu */
.navbar .dropdown-menu {
    border-radius: 12px;
    transition: all 1s ease;
    background-color: #fafafa;
    color: #000;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
        0 4px 6px -4px rgb(0 0 0 / 0.1);
    margin-top: 5px;
}

.square {
    padding: 5px;
    background-size: cover;
    background-position: center;
}

.square:hover {
    opacity: 1;
}

.icons-dropdown {
    padding: 5px;
}

.square svg {
    width: 50px;
    height: 50px;
    display: block;
    filter: grayscale(30%);
}

.square img:hover {
    filter: grayscale(20%);
}

.square-disabled {
    cursor: default !important;
}

.square-disabled a {
    cursor: default !important;
}

.square-disabled:hover {
    cursor: default !important;
}

.menu-studio-text-container {
    display: table;
    text-align: center;
    width: 70px;
    margin: auto;
    font-weight: 900;
    height: 32px;
    font-size: 11px;
    margin-top: 2px;
}

.menu-studio-image {
    transition: all 0.3s ease;
    margin: auto;
    -webkit-filter: none;
    filter: none;
}

#studio-dropdown {
    margin-top: 5px;
}

#user-dropdown {
    margin-top: 5px;
}

li .head {
    margin-bottom: 5px;
}

.menu-studio-text {
    transition: color 0.3s ease;
    display: table-cell;
    line-height: 12px;
    vertical-align: middle;
}

.square:hover .menu-studio-text {
    color: #444;
}

.square a:hover {
    text-decoration: none;
}

/* dropdown */
.scrollable-menu {
    height: auto;
    max-height: 200px;
    overflow-x: hidden;
}

.dropdown-header {
    padding: 0rem 1rem;
}

/* notification menu*/
#notification-dropdown {
    width: 440px;
    margin-top: 5px;
}

.badge-notify {
    background: red;
    position: absolute;
    top: 5px;
    left: 16px;
    border-radius: 5px;
}

.notification-box {
    border-bottom: 1px solid #f1f1f1;
    padding: 5px 10px;
}

.notification-box.unchecked {
    background-color: #e5f4f8;
}

.notification-box:hover {
    background-color: #f1f1f1;
}

/* badges */
.new-change-badge {
    color: #6ba542;
    font-size: 10px;
}
.new-change-badge:after {
    content: "[new]";
}
.changed-change-badge {
    color: #eda923;
    font-size: 10px;
}
.changed-change-badge:after {
    content: "[changed]";
}
.important-change-badge {
    color: #d62415;
    font-size: 10px;
}
.important-change-badge:after {
    content: "[important]";
}

.nav-item {
    margin-right: 10px;
}

.dropdown-menu {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;

    display: block;
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    padding: 0 10px;
    z-index: 9999;
    background: #eeeeee;
}

.dropdown-menu.show#studio-dropdown {
    overflow-y: hidden;
}

.dropdown-menu.show {
    opacity: 1;
    max-height: 500px;
    padding: 8px 10px;
    margin-top: 5px;
    overflow-y: auto;
}

.dropdown-item:hover {
    background-color: #eee;
}

.menu-studio-text-disabled {
    color: #ccc !important;
}

.notification-box-row {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
    margin-right: -15px !important;
    margin-left: -15px !important;
}

.icons-dropdown table tbody tr {
    border-bottom: none;
}

.alert-message {
    position: fixed;
    left: 50%;
    top: 39px;
    transform: translate(-50%);
    background: #139e13;
    text-align: center;
    width: 100%;
    cursor: pointer;
    color: #fff;
    z-index: 1040;
    padding: 5px 5px;
    align-content: center;
}

.alert-message.danger {
    background-color: #e73131;
    height: 60px;
    font-size: 18px;
    text-align: center;
}
.alert-message.warning {
    background-color: #e49329;
}
.alert-message.info {
    background-color: #2e93cf;
}

@media only screen and (max-width: 767px) {
    .navbar-collapse.collapse.show {
        background: rgb(85, 85, 85) !important;
        width: 100% !important;
        text-align: center !important;
        position: fixed !important;
        left: 0px !important;
        top: 39px !important;
        overflow-y: auto;
        overflow-x: hidden;
        max-height: 100%;
    }

    .navbar-collapse.collapsing {
        background: rgb(85, 85, 85) !important;
        width: 100% !important;
        text-align: center !important;
        position: fixed !important;
        left: 0px !important;
        top: 39px !important;
        overflow-y: hidden;
        overflow-x: hidden;
        max-height: 100%;
    }

    .dropdown-menu {
        margin: auto;
        width: 290px;
    }
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:hover {
    color: #fff;
}

.navbar-toggler:focus {
    outline: none;
}

/* NOTIFICATIONS */

#toast-container {
    position: fixed;
    z-index: 9999;
    margin-top: 39px !important;
}

.toast {
    top: 0px;
}

#toast-container > div {
    opacity: 0.9;
    border-radius: 0px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#toast-container > div:hover {
    opacity: 1;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.jqx-button {
    cursor: pointer;
}

/* APPS MENU */
a.apps-menu-card {
    text-decoration: none !important;
}

.apps-menu-card {
    transition: box-shadow 0.25s;
    position: relative;
    border-radius: 12px;
    padding: 12px;
    width: 100px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.apps-menu-card * {
    text-decoration: none;
}

.apps-menu-card.menu-enabled:hover {
    background: #fff;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.apps-menu-icon {
    width: 100%;
    display: flex;
    justify-content: center;
    justify-items: center;
}

.apps-menu-icon > svg {
    width: 60px;
}

.apps-menu-card.menu-enabled svg > * {
    fill: #059b39;
    stroke: #059b39;
}

.apps-menu-card.menu-disabled svg > * {
    fill: #b6bdc6;
    stroke: #b6bdc6;
}

.apps-menu-badge {
    position: absolute;
    top: -10px;
    right: -15px;
}

.apps-menu-badge > div {
    border-radius: 20px;
    padding: 0 5px 0 5px;
    font-weight: bold;
    font-size: 12px;
}
