/*==-- login page --==*/
.grecaptcha-badge {
    opacity: 0;
}
.login-bg {
    width:100vh;
    height:100vw;
    background-color:#e9e9e9;
}
.login {
    max-width: 400px;
    width:100%;
    position: absolute;
    top: calc(50vh - 200px);
    left: calc(50vw - 200px);
    border: 1px solid #e9e9e9;
    border-radius:10px;
}
.login .panel-body {
    padding: 40px;
}
.login .panel-heading {
    padding: 20px 40px;
    background-color: #e9e9e9;
    text-align: center;
    border-radius: 10px 10px 0 0px;
}
.login .logo {
    max-width:90%;
    max-height:50px;
}
.btn-msoft {
    color: #ffffff;
    -webkit-text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #00a2ed;
    border-color: #133783 #133783 #091b40;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3b5998', endColorstr='#ff133783', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.btn-msoft:hover,
.btn-msoft:focus,
.btn-msoft:active,
.btn-msoft.active,
.btn-msoft.disabled,
.btn-msoft[disabled] {
    color: #ffffff;
    background-color: #0082be !important;
}


/*==-- sidebar --==*/
.sidebar {
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16);
    transition: all 0.2s;
    display: flex !important;
    width:240px;
}
.sidebar-right {
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16);
    transition: all 0.2s;
    width: 340px;
    right: 0;
    z-index: 1029;
    display: block !important;
    position: absolute;
    height: 100vh;
    padding: 60px 10px 10px 10px;
    background-color: inherit;
}
.sidebar-right .footer {
    padding-left:30px;
    text-align:left;
}
.sidebar.d-xl-none, .sidebar-right.d-xl-none {
    width: 0px !important;
    padding:0;
    overflow: hidden;
}
.sidebar.d-xl-none .footer,
.sidebar-right.d-xl-none .footer,
.sidebar-right.d-xl-none .sidebar-content {
    display: none !important;
}
.sidebar-content {
    padding:10px;
}
.sidebar-content li{
    font-size: 18px;
    padding-bottom: 6px;
}
.profile {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.profile i {
    font-size: larger;
}
.profile * {
    transition: all 0.2s;
}
.profile .nav-link:hover, .profile li:hover {
    opacity:0.6;
}
.profile .avatar {
    max-width: 40px;
    border-radius: 40px;
    transition: all 0.2s;
    cursor: pointer;
}
.profile .avalert {
    position:relative;
}
.profile .avalert.alerts:before {
    content: "";
    height: 16px;
    width: 16px;
    border-radius: 1em;
    font-size:10px;
    line-height:15px;
    text-align:center;
    display: block;
    background-color: red;
    border:1px solid white;
    position: absolute;
    right: 7px;
    top: 7px;
    z-index:100;
}
.profile .avatar:hover {
    opacity:0.8;
}
.profile .avatar:active {
    opacity:0.5;
}
.profile .nav-tabs {
    border: none;
}
.profile .nav-link, .profile li {
    padding: 10px;
    cursor: pointer;
}
.profile li:not(.nav-item) {
    background-color: #2C3E50
}

.profile .nav-link:hover, .profile li:hover {
    opacity: 0.6;
}
.profile .dropdown {
    display: flex;
    flex-direction: column;
    position: absolute;
    padding: 10px;
    border: 1px solid #e9e9e9;
    transition: all 0.2s;
    color:#000;
    top:55px;
    right:5px;
    background:inherit;
}
.profile .dropdown a {
    margin:2px 0;
}
.alertcount {

}


/*=====----- tablet & below -----=====*/
@media (max-width: 999.98px) {
    .sidebar {
        display:block !important;
        width:100%;
    }
    .sidebar.d-xl-none {
        display: flex !important;
        width: 0px !important;
        overflow: hidden;
        height:1px;
    }
}
@media (max-width: 700px) {
    .sidebar-right {
    }
}

/*======------ Toast CSS ------ ======*/
.toast {
    display: none;
    padding: 1.2rem;
    color: #fff;
    z-index: 1;
    position: absolute;
    width: 25rem;
    top: 2rem;
    border-radius: 1rem;
}

.toast-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1rem;
    font-size: 2.5rem;
}

.toast-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 1rem;
}

    .toast-body p {
        margin-bottom: 0;
    }

.toast-visible {
    display: flex;
    flex-direction: row;
    animation: fadein 1.5s;
    animation-fill-mode: forwards;
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 1040;
    transform: translate(-50%, 0);
    margin-top: 1rem;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*Extra Grid Styling*/
.dxbs-toolbar-btn > span.oi {
    top:-1px;
}