$topnav-background-color: #222;
// :host {
    .navbar {
        background-color: $topnav-background-color;
        .navbar-brand {
            color: #fff;
        }
        .nav-item > a {
            color: #999;
            &:hover {
                color: #fff;
            }
        }
    }
    .messages {
        width: 300px;
        .media {
            border-bottom: 1px solid #ddd;
            padding: 5px 10px;
            &:last-child {
                border-bottom: none;
            }
        }
        .media-body {
            h5 {
                font-size: 13px;
                font-weight: 600;
            }
            .small {
                margin: 0;
            }
            .last {
                font-size: 12px;
                margin: 0;
            }
        }
    }
// }

.navbar-nav .nav-item a .topbar-badge {
    position: absolute;
    left: 40px;
    top: 11px;
    background-color: #ffc107;
    color: #282b30;
    border-radius: 50%;
    padding: 2px 4px;
    display: block;
    font-size: 10px;
    line-height: 11px;
}

.hideMenu {
    .sidebar {
        display: none;
    }
    .main-container {
        margin-left: 0;
    }
}

.refresh-button {
    padding: 0.2rem 1rem 0.01rem 1rem !important;
    border-color: #ce1919;
    color: #a20e0e !important;
    border-style: solid;
    border-radius: 16px;
    border-width: 1px;
}

.refresh-button-soon {
    padding: 0.2rem 1rem 0.01rem 1rem !important;
    border-color: #19ce4f;
    color: #0ea233 !important;
    border-style: solid;
    border-radius: 16px;
    border-width: 1px;
}

.refresh-button i {
    margin: 2px 0 -2px 0;
}
.last-login-text {
    font-size: 13px;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    float: right;
    margin: 1px;
    text-align: right;
    overflow: hidden;
}

.last-login-i {
    float: right;
    margin: -1px;
}
    ::ng-deep .tooltip-inner {
        width: 320px;
        background-color:white;
        margin-left: -150px;
        text-align: inherit;
        color: #212529;
        padding: 0.25rem 0.5rem;
        white-space :nowrap;
        font-size: 11px;
        font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
   }

   .dropdown-menu-right ml-auto dropdown-menu show{
       width: 250px !important;
       left: 0px;
       top: 35px;
   }

   .navbar-expand-lg .navbar-nav .dropdown-menu-right{
       min-width: 300px;
   }
//    ng-star-inserted

.dropdwon-oc-list > .dropdown-menu {
    max-height: 500px;
    overflow: auto;
}

.header-info {
    color: #999;
    cursor: pointer;
    padding: 0.2rem 0;
}

.header-info i {
    vertical-align: -moz-middle-with-baseline;
}

.header-info span {
    vertical-align: -moz-middle-with-baseline;
}

.header-info > .ui-tooltip {
    width: 100px;
}


// app component //

.main-container {
    margin-top: 40px;
    margin-left: 235px;
    padding: 15px;
    -ms-overflow-x: hidden;
    overflow-x: hidden;
    overflow-y: scroll;
    position: relative;
    overflow: hidden;
}
@media screen and (max-width: 992px) {
    .main-container {
        margin-left: 0px !important;
    }
}

// :host ::ng-deep button {
//     margin-right: .25em;
// }

// .custom-toast .ui-toast-message {
//     color: #ffffff;
//     background: #FC466B;
//     background: -webkit-linear-gradient(to right, #3F5EFB, #FC466B);
//     background: linear-gradient(to right, #3F5EFB, #FC466B);
// }

// .custom-toast .ui-toast-close-icon {
//     color: #ffffff;
// }

.ui-toast .ui-toast-message {
    background-color: #ebedf0;
}

.error-dialog-content {
    max-height: 400px;
    overflow: auto;
    max-width: 1000px;
}

.error-dialog-content i {
    font-size: 3em !important;
    color: #FC466B;
}

.ui-toast {
    width: auto;
}

// app component //
