@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');

/* 
:root {
    --body-bg: rgba(113, 194, 109, .03);
    --primary: #2EA567;
    --primary-rgb: 46, 165, 103;
    --secondary: #2EA567;
    --primary-hover: #0bbb5e;
    --secondary-color-shadow: #03a67830;
    --dark: #303532;
    --gray: #A3A3A3;
    --black: #000;
    --white: #fff;
} */


/* adjustment */
.bg-light {
	background-color: #F8F8F8 !important;
}
.bg-gray {
    background-color: var(--gray) !important;
}

/* .bg-primary {
    background-color: var(--primary) !important;
} */

* {
    border-radius: 0 !important;
    font-family:  'Source Sans Pro', sans-serif;
}

html, body {
    font-family: 'Source Sans Pro', sans-serif !important;
}

/* .text-primary {
    color: var(--primary) !important;
} */

.text-gray {
    color: var(--gray) !important;

}

.site-navbar {
    color: var(--dark) !important;
}

.navbar-main {
    border-bottom: 1px solid rgba(157, 22, 22, 0.1);
}
.navbar-toolbar>li>a {
    color: var(--dark) !important;
}

.fixed-top {
    position: fixed !important;
}

.form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: none !important;
}

.input-search .input-search-icon {
    left: 7px !important;
    color: var(--dark);  
    font-size: 20px;
}
.input-search  input {
    border-radius: 0px !important;
    height: 48px;
    width: 0px;
    padding-left: 32px !important;
    background-color: transparent;
    font-size:15px;
    color: var(--black);
    transition: .2s ease;
    opacity: 0;
}


.input-search  input:not(:focus) {
 cursor: pointer !important;
}


.input-search  input:focus, .input-search  input.focus {
    border-radius: 0px !important;
    height: 48px;
    width: 250px;
    opacity: 1;
    background-color: transparent;
    border-color: var(--primary) !important;
}


.input-search  input:focus + i, .input-search  input.focus + i {
    color: var(--primary) !important;
}

.icon-large {
    font-size: 22px;
}

/* #main {
    margin-top: 40px;
} */

.navbar-sub-item-menu .nav-link::after {
    display: none !important;
}



.navbar-sub-item-menu .nav-link  {
    display: flex;
    padding: 7px 15px !important;
    color: var(--black) !important;
    text-decoration: none;
    align-items: center;
}

.navbar-sub-item-menu .nav-link span {
    margin-left: 10px;
    margin-right: 10px;
    font-size: 16px;
}

.navbar-sub-item-menu .nav-link .site-menu-icon {
    font-size: 18px;
}

.dropdown-hover:hover + .dropdown-menu {
    display: block !important;
}
.dropstart .dropdown-hover:hover + .dropdown-menu {
    left: -100% !important;
    top: -10% !important;
}

.navbar-sub-item-menu .nav-link .dropdown-icon i {
    color: var(--primary) !important;
    font-size: 18px !important;
}

.navbar-sub-item-menu .nav-item:hover .dropdown-menu {
    display: block !important;
}

.border, .border-top, .border-bottom, .border-left, .border-right {
    border-color: #e9f0ec !important;
}

.border-bottom {
    border-bottom: solid 1px #e9f0ec !important;
}


.border-top {
    border-top: solid 1px #e9f0ec !important;
}

.navbar-nav .separator {
    border-right: solid 1px #e9f0ec;
}

.dropdown-profile .icon-large {
    font-size: 38px !important;
}

.dropdown-profile .dropdown-icon i {
    font-size: 18px;
}


.no-caret::after {
    display: none  !important;
}
.no-caret::before {
    display: none !important;
}

.site-footer {
    margin-left: 0 !important;
    margin-top: auto;
}

body {
    padding-top: 0 !important;
}

#main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    /* padding-top: 150px; */
    margin-top: 0 !important;
}
.full-content {
    padding-top: 20px !important;
}

@media screen and (max-width: 768px) {
    #main {
        /* position: fixed; */
        top: 0;
        left: 0;
    }
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
}

.dropdown-divider {
    border-color: #e9f0ec !important;
}

hr.dropdown-divider {
    height: 0.5px !important;
}

.dropdown.dropstart .dropdown-menu:hover {
    display: block !important;
    left: -100%;
    top: 0 !important;
}


.navbar-search {
    margin-left: 80px !important;
}


.navbar-search label {
    width: 100% !important;
 }
 
.navbar-search input:focus {
    width: 100% !important;
    border: solid 1px #e9f0ec !important;
    border-radius: 3px !important;
}

.navbar-search form {
    width: calc(100% - 16px) !important
}
.navbar-search input {
    height: 56px !important;
    min-height: 0 !important;
    width: 100%;
    opacity: 1 !important;
    display: block !important;
}
.navbar-search .input-search i {
    display: block !important;
}
.navbar-search {
    display: none !important;
}
.navbar-search.show {
    left: 0;
    top: 0;
    height: 47px;
    display: flex !important;
    background-color: #fff;
    width: 250px;
    background-color: var(--white);
    margin-left: 0 !important;
    padding-left: 15px;
    padding-right: 15px;
    z-index: 999;
}


@media screen and (max-width: 768px) {
    .navbar-full-mobile {
        height: calc(100vh - 60px);
        top: 60px;
        left: 0;
        position: fixed;
        background-color: cyan;
        display: flex;
        flex-direction: column;
        display: none !important;
    }

    .left-bar  {
        width:  0 !important;
        border-right: 0 !important;
        flex: unset !important;
    }

    .main-content {
        flex: unset !important;
        max-width: 100% !important;
    }

    .navbar-full-mobile ul {
        margin-left: 0 !important;
    }

    .navbar-full-mobile .dropdown-menu {
        display: block !important;
    }

    .nav-sidebar:not(.show) {
        display: none !important;
    }

    .nav-sidebar.show {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 100vw;
        background: #fff;
        z-index: 9999;
    }
    .btn-close-sidebar {
        font-size: 26px !important;
    }

    .dropdown-mobile-sidebar {
        width: calc(100% - 20px);
        margin-left: 10px !important;
    }

    

     .navbar-search label {
        width: 100% !important;
     }
     
     .navbar-search input:focus {
        width: 100% !important; 
    }

    .navbar-search form {
        width: calc(100% - 16px) !important
    }
    .navbar-search input {
        height: 56px !important;
        min-height: 0 !important;
        width: 100%;
        opacity: 1 !important;
        display: block !important;
    }
    .navbar-search .input-search i {
        display: block !important;
    }
    .navbar-search {
        display: none !important;
    }
    .navbar-search.show {
        position: fixed;
        left: 0;
        top: 0;
        height: 47px;
        display: flex !important;
        background-color: #fff;
        width: 100vw;
        background-color: var(--white);
        margin-left: 0 !important;
        padding-left: 15px;
        padding-right: 15px;
        border-bottom: 1px solid #e9f0ec;
        z-index: 999;
    }

    /* .navbar-search  input {
        opacity: 1 !important;
    } */


}


/* .btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
} */


.btn-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: var(--white) !important;
}

.input-search {
    position: relative;
}
.input-search i {
    display: none;
}
.input-search input:focus + i {
    display: block !important;
}
.input-search-icon {
    position: absolute;
    left: 8px !important;
}

/* Table */

table th {
    font-weight: 600 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125) !important;
    font-size: 16px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    color: var(--black);
 }


 .full-content {
    display: flex;
    flex-wrap: wrap;
    /* overflow-x: hidden; */
 }
 .left-bar {
    width: 250px;
    flex: 0 0 250px;
    border-right: 1px solid #e9f0ec;
    height: calc(100vh - 73px);
 }

 .main-content {
    flex: 0 0  calc(100% - 250px);
    padding: 20px;
    max-width: calc(100% - 250px);
 }

 .nav-sidebar  {
    padding-left: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
 }

 .nav-sidebar .menu-item {
    display: flex;
    flex-direction: column;
 }

 .nav-sidebar .menu-item > a  {
    cursor: pointer;
 }

 .nav-sidebar .menu-item.active > a {
    background-color: var(--primary);
    color: #fff !important;
    border-radius: 5px !important;
 }

 .nav-sidebar .menu-item.active > a * {
    color: #fff !important;
 }


 .nav-sidebar .menu-item.active ul {
    display: block !important;
 }

 .nav-sidebar .menu-item > a i {
    margin-right: 10px !important;
 }

 .nav-sidebar * {
    color: var(--dark);
    text-decoration: none;
 }

 .nav-sidebar .menu-item > a {
    width: 100%;
    position: relative;
    display: flex;
 }

 .nav-sidebar .menu-item .dropdown-icon {
    margin-left: auto;
 }

 .nav-sidebar .menu-item  .menu-sub-parent {
    display: flex;
    flex-direction: column;
    padding-left: 30px;
    list-style: none;
    width: 100%;
    display: none !important;
 }

 .nav-sidebar .menu-item .menu-sub-parent.active {
    display: block !important;
 }

 .nav-sidebar .menu-item  > a.active {
    background-color: var(--primary);
    color: #fff !important;
    border-radius: 5px !important;
 }

 .nav-sidebar .menu-item a {
    width: 100% !important;
    display: flex;
    padding: 3px 10px;
 }


 .nav-sidebar .menu-item:not(.active) a:hover {
    background-color: rgba(var(--primary-rgb), .1) !important;
    color: var(--dark) !important;
    border-radius: 5px !important;
 }

 .nav-sidebar .menu-item  > a.active i {
    color: #fff !important;
 }

 .nav-sidebar a:hover {
    text-decoration: none;
 }

 .left-bar {
    padding-top: 25px;
 }
 .nav-sidebar * {
    font-weight: 400;
    font-size: 16px;
}

.nav-sidebar .menu-item > a i.ri-arrow-down-s-line {
    margin-right: 0 !important;
}


.menu-sub-parent li:first-child {
    margin-top: 5px;
}

a:hover, a:focus, a:active {
    color: var(--primary) !important;
}

nav.navbar {
    background-color: var(--white) !important;
}




.icon-large {
    font-size: 22px;
}

.btn-outline-grey {
    border-color: #e9f0ec !important;
    color: #e9f0ec !important;
    &.text-dark {
        color: #000 !important;
    }
}

.left-bar .container-fluid {
    padding: 0;
}

.nav-sidebar {
    padding-right: 5px;
}

/* swithery */

.switch-group .switch-parent {
    display: flex;
}

.switch-group .switch-child {
    left: 0px;
    transition: background-color 0.4s ease 0s, left 0.2s ease 0s;
}

.switch-label {
    display: flex;
    width: 160px;
    padding: 3px !important;
    gap: 5px;
}

.switch-label > div {
    flex: 1;
    height: 30px;
    border: 1px solid #e9f0ec !important;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 14px !important;
}

.switch-group input:not(:checked) + .switch-parent .label-no {
    background-color: var(--primary) !important;
    color: var(--white) !important;
}


.switch-group input:checked + .switch-parent .label-yes {
    background-color: var(--primary) !important;
    color: var(--white) !important;
}



.shipment-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9f0ec;
}

.shipment-header-container .badge-status {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
}

.create-order-parent {
    display: flex;
}

.create-order-parent .create-order-side {
    width: 200px;
}

.left-bar {
    background-color: #fff;
}

.dropdown-item.active:hover,
.dropdown-item.active:focus, 
.dropdown-item:active {
    color: #ffffff9e !important;
}