* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    -webkit-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

a:hover,
a:focus {
    text-decoration: none;
    outline: none;
}

body {
    line-height: 28px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    color: #7a8292;
    background-color: #f4f6f9;
    height: 100%;
    position: relative;
}

:focus {
    outline: none;
}

button:focus {
    outline: none;
}

.btn.focus,
.btn:focus {
    outline: 0;
    box-shadow: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #323231;
    margin-bottom: 0;
    letter-spacing: 0.2px;
}

p {
    margin-bottom: 0;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input {
    border-radius: 0;
}

.form-group input:focus,
.form-group input:hover {
    outline: 0;
}

.form-control:focus {
    box-shadow: none !important;
    border-color: #0bcfb4 !important;
}

.form-group input:-internal-autofill-selected {
    background-color: #fff !important;
}


/* sidebar css */

.admin-home-container {
    display: flex;
    min-height: 100vh;
    justify-content: flex-start;
    position: relative;
    flex-direction: row;
}

.sidebar-show-container .sidebar-container {
    display: flex;
    overflow-y: auto;
    transform: translateX(0);
    visibility: visible;
}

.sidebar-container {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 260px;
    background-color: #09141a;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transform: translateX(-260px);
    visibility: hidden;
    transition: all 0.4s ease-in-out 0s;
    z-index: 1000;
}

.sidebar-container .sidebar-header-section {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-container .sidebar-header-section .header-logo {
    height: 48px;
    width: 48px;
    display: block;
}

.sidebar-container .sidebar-header-section .header-logo img {
    width: 100%;
}

.sidebar-container .sidebar-body-section {
    position: relative;
}

.sidebar-container .sidebar-body-fixed {
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.sidebar-body-fixed::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
}

.sidebar-body-fixed::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
}

.sidebar-container .sidebar-body-section ul li {
    width: 100%;
    position: relative;
}

.sidebar-container .sidebar-body-section .nav-sub-menu {
    list-style: none;
    display: none;
    padding-left: 0;
    padding-top: 10px;
}

.sidebar-container .sidebar-body-section ul li .nav-link {
    padding: 10px 15px;
    color: #787f87;
    font-size: 14px;
    font-weight: 600;
}

.sidebar-body-section .nav .sidebar-menu-label {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #f1f1f1;
    padding: 10px 15px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}

.sidebar-body-section .nav .nav-item .nav-link.sub-menu-link {
    position: relative;
}

.sidebar-body-section .nav .nav-item .nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
    background-color: #1e292f;
}

.sidebar-body-section .nav .nav-item:first-child .nav-link {
    color: rgba(255, 255, 255, 0.8);
    background-color: #1e292f;
}

.sidebar-body-section .nav .nav-item .nav-link.sub-menu-link::after {
    content: "\f107";
    font-family: "FontAwesome";
    font-weight: 400;
    font-size: 20px;
    position: absolute;
    top: 10px;
    right: 15px;
    color: #787f87;
    transition: transform 0.2s ease-in-out;
}

.sidebar-body-section .nav .nav-item.show .nav-link.sub-menu-link::after {
    transform: rotate(180deg);
    transition: transform 0.2s ease-in-out;
}

.sidebar-body-section .nav-sub-menu .nav-sub-menu-item .nav-sub-menu-link {
    color: #787f87;
    font-size: 13px;
    font-weight: 600;
    position: relative;
}

.sidebar-body-section .nav-sub-menu .nav-sub-menu-item .nav-sub-menu-link .fa {
    font-size: 8px;
    width: 8px;
    position: absolute;
    left: -15px;
    top: 5px;
}

.sidebar-body-section .nav-sub-menu .nav-sub-menu-item {
    padding-bottom: 15px;
    padding-left: 55px;
    line-height: 22px;
}

.sidebar-body-section ul li a .fa {
    width: 25px;
    font-size: 16px;
}

.sidebar-backdrop {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out 0s;
}


/* body section css */

.admin-home-container .body-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    transition: all 0.4s ease-in-out 0s;
    position: absolute;
    left: 260px;
    right: 0;
    max-width: 100%;
    min-height: 100%;
    padding-bottom: 50px;
}

.sidebar-hide-container .body-container {
    left: 0;
}

.body-header-top-fixed {
    height: 60px;
    position: relative;
}

.body-container .body-header-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 20px;
    position: fixed;
    left: 260px;
    z-index: 1000;
    background-color: #030d12;
    right: 0;
    top: 0;
    transition: all 0.4s ease-in-out 0s;
}

.sidebar-hide-container .body-header-section {
    left: 0;
}

.body-container .body-header-section .right-header-section {
    display: flex;
    align-items: center;
}

.body-header-section .left-header-section {
    cursor: pointer;
    height: 25px;
    width: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.body-header-section .left-header-section span {
    display: block;
    position: relative;
    width: 18px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease-in-out;
}

.body-header-section .left-header-section span::before,
.body-header-section .left-header-section span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 23px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease-in-out;
}

.body-header-section .left-header-section span::before {
    top: -8px;
}

.body-header-section .left-header-section span::after {
    bottom: -8px;
}

.body-header-section .center-header-section {
    flex: 1;
    margin: 0 50px;
    position: relative;
}

.body-header-section .center-header-section .form-group .input-group {
    width: 45%;
}

.body-header-section .center-header-section .form-group .form-control {
    background-color: #1f2c34;
    border: 0;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 5px !important;
    color: rgba(255, 255, 255, 0.8);
}

.center-header-section input.form-control[type='text']::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.body-header-section .center-header-section .form-group .input-group .btn-default {
    position: absolute;
    right: 20px;
    background-color: transparent;
    border: 0px;
    box-shadow: none;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    padding: 0px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.body-header-section .right-header-section .header-notification-box {
    height: 26px;
    width: 26px;
    margin-right: 25px;
    position: relative;
    cursor: pointer;
}

.body-header-section .right-header-section .header-notification-box .fa {
    font-size: 26px;
    color: rgba(255, 255, 255, 0.8);
}

.body-header-section .right-header-section .header-notification-box::before {
    content: "";
    position: absolute;
    top: -5px;
    right: 3px;
    width: 7px;
    height: 7px;
    background-color: #dc3545;
    border-radius: 100%;
}

.body-header-section .right-header-section .header-profile-box {
    position: relative;
}

.body-header-section .right-header-section .header-profile-img {
    height: 40px;
    width: 40px;
    border-radius: 100%;
    cursor: pointer;
}

.body-header-section .right-header-section .header-profile-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    -webkit-filter: brightness(1000);
    filter: brightness(1000);
}

.right-header-section .header-profile-box .profile-dropdown-menu {
    position: absolute;
    width: 260px;
    bottom: auto;
    top: 58px;
    border: 2px solid #ccc;
    background-color: #fff;
    display: none;
    left: auto;
    right: 0;
    padding: 20px;
    transition: all 0.4s ease-in-out 0s;
    border-radius: 5px;
}

.submit-btn-slider {
    position: relative;
    background-color: #09141a;
    color: #fff;
    font-size: 14px;
    border-radius: 5px;
    width: 100%;
    padding: 8px 16px;
    text-transform: uppercase;
    font-weight: 500;
    border: none;
    z-index: 0;
}

.submit-btn-slider::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #1e292f;
    transition: all 0.4s ease-in-out 0s;
    transform-origin: center;
    transform: scaleX(0);
    border-radius: 5px;
}

.submit-btn-slider:hover::before {
    transform: scaleX(1);
}

.submit-btn-slider:hover,
.submit-btn-slider:focus {
    color: #fff;
}

.right-header-section .header-profile-box.show .profile-dropdown-menu {
    display: block;
}

.header-profile-box .profile-dropdown-menu .profile-dropdown-img {
    width: 120px;
    height: 120px;
    border-radius: 100%;
    margin: auto;
}

.header-profile-box .profile-dropdown-menu .profile-dropdown-img img {
    height: 100%;
    width: 100%;
    border-radius: 100%;
    object-fit: cover;
}

.profile-dropdown-menu .profile-dropdown-content {
    text-align: center;
    margin: 15px 0;
}

.profile-dropdown-menu .profile-dropdown-content h4 {
    font-size: 18px;
    font-weight: 600;
}

.profile-dropdown-menu .btn {
    padding: 5px 10px;
}

.body-header-section .right-header-section .header-profile-box::before {
    content: "";
    position: absolute;
    bottom: -27px;
    left: 50%;
    margin-left: -7px;
    width: 14px;
    height: 14px;
    border: 2px solid transparent;
    border-top-color: #ccc;
    border-left-color: #ccc;
    transform: rotate( 45deg);
    background-color: #fff;
    z-index: 999;
    display: none;
}

.body-header-section .right-header-section .header-profile-box.show::before {
    display: block;
}


/* footer css */

.footer_bottom_fixed {
    height: 49px;
    position: relative;
}

.footer_fixed {
    padding: 10px 15px;
    position: fixed;
    left: 260px;
    z-index: 1000;
    border-top: 1px solid #cddfff;
    background-color: #f4f6f9;
    right: 0;
    bottom: 0;
    transition: all 0.4s ease-in-out 0s;
}

.footer_fixed p {
    text-align: center;
    color: #012970;
    font-size: 13px;
}

.sidebar-hide-container .footer_fixed {
    left: 0;
}


/* media query */

@media screen and (prefers-reduced-motion: reduce) {
    .sidebar-container {
        transition: none;
    }
}

@media screen and (min-width: 992px) {
    .sidebar-hide-container .sidebar-container {
        margin-left: -260px;
    }
    .sidebar-container {
        transform: none;
        visibility: visible;
    }
    .container-fluid {
        padding: 0 20px;
    }
}

@media screen and (max-width:992px) {
    .sidebar-container {
        left: 0;
    }
    .sidebar-show-container .body-container {
        transform: translateX(260px);
    }
    .body-header-section .center-header-section {
        display: none;
    }
    .body-container .body-header-section {
        left: 0;
    }
    .footer_fixed {
        left: 0;
    }
    .sidebar-show-container .sidebar-backdrop {
        visibility: visible;
        opacity: 1;
    }
    .admin-home-container .body-container {
        left: 0;
    }
    .sidebar-show-container {
        overflow: hidden;
    }
    .body-container .body-header-section {
        padding: 0 15px;
    }
    .container-fluid {
        padding: 0 15px;
    }
}