/* ======= Top Navbar ================= */
.navbar {
    background-color: #fff;
    z-index: 10000;
    height: 61px !important;
    border-bottom: 1px solid #ccc;
    padding: 0px important;
}

.navbar-brand {
    /* -ms-flex: 0 0 250px;
    flex: 0 0 250px; */
    height: 60px !important;
    width: 280px;
    text-align: center;
    padding: 0px 5px;
    margin: 0px 0px 0px 0px !important;
    background-image: linear-gradient(to left, rgba(255, 0, 0, 0), #ff595961);
    position: relative;
}

.navbar-brand img {
    /* height: auto; */
    /* max-width: 200px; */
    margin: 8px 2px 0px 8px !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 92%;
}

/* Header Menu */
.header-menu {
    list-style: none;
    padding-left: 10px;
    margin-top: 10px;
}

.header-menu > li {
    float: left;
    margin: 4px 17px 0 0;
    position: relative;
    cursor: pointer;
}

.header-menu > li .header-menu-icon {
    background: transparent;
    display: inline-block;
    height: 32px;
    width: 33px;
    position: relative;
    text-align: center;
    z-index: 1;
}

.header-menu .header-menu-icon:before {
    display: block;
    position: absolute;
    height: 32px;
    width: 33px;
    content: "";
    box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.07);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #fff;
    border: 1px solid #ddd;
    z-index: -1;
    pointer-events: none;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.header-menu > li .header-menu-icon i {
    color: #777;
    line-height: 30px;
    vertical-align: middle;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
}

.header-menu > li .header-menu-icon i:hover {
    color: var(--link-hover-color);
}

/* a focus none */
.header-menu > li > a:focus {
    outline: none !important;
}

/* Header Grid Menu */
.header-menu .menu-icon-grid {
    width: 220px;
    padding: 0 8px;
    display: flex;
    flex-wrap: wrap;
}

.header-menu .menu-icon-grid > a {
    display: inline-flex;
    width: 96px;
    flex-direction: column;
    align-items: center;
    padding: 12px 12px;
    color: #746c6c;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
    text-decoration: none;
}

.header-menu .menu-icon-grid > a {
    color: #746c6c;
}

.header-menu .menu-icon-grid > a i {
    font-size: 25px;
    margin-bottom: 4px;
}

.header-menu .menu-icon-grid > a:hover {
    color: #fff;
    background: var(--link-hover-color);
}

/*======= Header Search =========== */

.top-navbar-container .search-box {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.top-navbar-container .search-box input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: #777;
    outline: none;
    -webkit-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

.top-navbar-container .search-box input:focus {
    /* border-color: var(--link-hover-color); */
    outline: none;
    box-shadow: inset 1px 2px 8px rgba(0, 0, 0, 0.01),
        0px 0px 12px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.top-navbar-container .search-box .search-icon {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #777;
    font-size: 16px;
}

/* Header Menu Dropdown Notifications */

.header-menu .notifications {
    width: 300px;
    right: -120px;
    left: auto;
}

.header-menu .notifications h2 {
    font-size: 16px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    color: #999;
}
.header-menu .notifications h2 span {
    color: #fff;
    padding: 5px 8px;
    background-color: var(--link-hover-color);
    border-radius: 8px;
    font-size: 13px;
}
.header-menu .notifications-item {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 6px 9px;
    margin-bottom: 0px;
    cursor: pointer;
}

.header-menu .notifications-item:hover {
    background-color: #eee;
}

.header-menu .notifications-item img {
    display: block;
    width: 50px;
    height: 50px;
    margin-right: 9px;
    border-radius: 50%;
    margin-top: 2px;
}
.header-menu .notifications-item .text h4 {
    color: #777;
    font-size: 16px;
    margin-top: 3px;
}
.header-menu .notifications-item .text p {
    color: #aaa;
    font-size: 12px;
}

/* ===== Arrow ======== */
.dropdown .notifications:before {
    content: "";
    border-bottom: 10px solid #fff;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    position: absolute;
    top: -10px;
    right: 124px;
    z-index: 10;
}

.dropdown .notifications:after {
    content: "";
    border-bottom: 12px solid #ccc;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    position: absolute;
    top: -12px;
    right: 123px;
    z-index: 9;
}

.dropdown .user-profile:before {
    content: "";
    border-bottom: 10px solid #fff;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 10;
}

.dropdown .user-profile:after {
    content: "";
    border-bottom: 12px solid #ccc;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    position: absolute;
    top: -12px;
    right: 9px;
    z-index: 9;
}

.dropdown .menu-icon-grid:before {
    content: "";
    border-bottom: 10px solid #fff;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    position: absolute;
    top: -10px;
    right: 105px;
    z-index: 10;
}

.dropdown .menu-icon-grid:after {
    content: "";
    border-bottom: 12px solid #ccc;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    position: absolute;
    top: -12px;
    right: 104px;
    z-index: 9;
}

/* Header Profile */

/*===== Main Content Start ===================*/

/*===== Main Content End ===================*/

/*===== BreadCrumb Start ===================*/

.breadcrumb-row {
    background-color: #fff;
    padding: 0px !important;
    box-shadow: rgba(0, 0, 0, 0.01) 0px 6px 6px 1px,
        rgba(0, 0, 0, 0.05) 0px 4px 4px 1px;
    z-index: 2 !important;
    position: relative;
    min-height: 55px;
    font-family: "Roboto Slab", serif;
}

.mbd-dashboard-breadcrumbs-row {
    top: 15px;
    position: absolute;
    padding-left: 3px;
    border-left: 1px solid #999;
    gap: 2px;
}

.mbd-dashboard-breadcrumbs {
    border: 0px solid #cbd2d9;
    border-radius: 0.3rem;
    display: inline-flex;
    overflow: hidden;
}

.mbd-dashboard-breadcrumbs .breadcrumbs__item {
    background: #fff;
    color: #555;
    outline: none;
    padding: 0px 8px 2px 18px;
    position: relative;
    text-decoration: none;
    transition: background 0.2s linear;
    white-space: nowrap;
}

.mbd-dashboard-breadcrumbs .breadcrumbs__item:hover:after,
.mbd-dashboard-breadcrumbs .breadcrumbs__item:hover {
    background: #fff;
    color: var(--link-hover-color);
}

.mbd-dashboard-breadcrumbs .breadcrumbs__item:focus:after,
.mbd-dashboard-breadcrumbs .breadcrumbs__item:focus {
    background: #fff;
    color: #555;
}

.mbd-dashboard-breadcrumbs .breadcrumbs__item:after,
.mbd-dashboard-breadcrumbs .breadcrumbs__item:before {
    background: white;
    bottom: 0;
    clip-path: polygon(50% 50%, -50% -50%, 0 100%);
    content: "";
    left: 100%;
    position: absolute;
    top: 0;
    transition: background 0.2s linear;
    width: 1em;
    z-index: 1;
}

.mbd-dashboard-breadcrumbs .breadcrumbs__item:before {
    background: #999;
    margin-left: 1px;
}

.mbd-dashboard-breadcrumbs .breadcrumbs__item:first-child {
    padding-left: 7px;
}

.mbd-dashboard-breadcrumbs .breadcrumbs__item:last-child {
    border-right: none;
    background: #fff !important;
}

.mbd-dashboard-breadcrumbs .breadcrumbs__item.is-active:hover {
    background: #fff;
    color: #333 !important;
}

/*===== BreadCrumb End ===================*/

.main-content-container {
    background-color: #fff;
    margin: 22px 20px 20px 20px !important;
    padding: 20px 10px 20px 15px;
    border-radius: 15px;
    box-shadow: 0px 0px 90px -6px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0px 0px 90px -6px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 90px -6px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.22);
}

/* Mobile */

@media (max-width: 992px) {
    .mbd-dashboard-breadcrumbs-row {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .navbar {
        background-image: linear-gradient(
            to left,
            rgba(255, 0, 0, 0),
            #ff595961
        );
    }

    .navbar-brand {
        background: none;
        text-align: center;
        padding: 0px 5px;
        width: 60vw;
        position: relative;
    }

    .navbar-brand img {
        position: absolute;
        top: 3px;
        left: 10px;
        width: 100%;
        height: auto;
        max-width: 250px;
        margin: 0px 0px 0px 0px !important;
    }
}

/* Media Queries for small screen */

@media (max-width: 576px) {
    .navbar {
        background-image: linear-gradient(
            to left,
            rgba(255, 0, 0, 0),
            #ff595961
        );
    }

    .navbar-brand {
        background: none;
        text-align: center;
        padding: 0px 5px;
        width: 60%;
        position: relative;
    }

    .navbar-brand img {
        position: absolute;
        top: 3px;
        left: 10px;
        width: 100%;
        height: auto;
        max-width: 250px;
        margin: 0px 0px 0px 0px !important;
    }

    .small-header-optional-menu {
        display: none;
    }
}

@media (max-width: 390px) {
    .navbar {
        background-image: linear-gradient(
            to left,
            rgba(255, 0, 0, 0),
            #ff595961
        );
    }

    .navbar-brand {
        background: none;
        text-align: center;
        padding: 0px 5px;
        width: 60vw;
        position: relative;
    }

    .navbar-brand img {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 100%;
        height: auto;
        max-width: 250px;
        margin: 0px 0px 0px 0px !important;
    }
}
