/* common */
.main-wrap .form-control,
.main-wrap .form-select{
    background-color: var(--input_color);
    border: 1px solid var(--input_border);
    font-size: 15px;
    box-shadow: none;
    padding-left: 20px;
    color: var(--admin_color2);
    border-radius: 4px;
    height: 45px;
}
.main-wrap .form-control:focus {
    color: var(--admin_color2);
    background-color: var(--input_color);
    border-color: var(--input_color);
    outline: 0;
    box-shadow: none;
}
.main-wrap .form-control::placeholder{
    color: var(--admin_color2);
}

.main-wrap .form-group {
    margin-bottom: 19px;
}
.main-wrap textarea.form-control {
    min-height: 100px;
    padding-top: 10px;
}

.main-wrap .form-label {
    font-size: 16px;
    color: var(--para_color);
    font-weight: 500;
    margin-bottom: 7px;
}
.input-group .input-group-text {
    width: 47px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-group .input-group-text i {
    font-size: 22px;
    color: var(--para_color);
}

.input-group .input-group-text img {
    width: 31px;
    height: auto;
}



.tages {
    font-size: 1.5rem;
    padding: 1rem 1.5rem;
}
.tages .badge{
  letter-spacing: .02rem;
  font-weight: 400;
}
.tages .badge i {
    color: #5d5d5d;
    margin-right: 2px;
}

.tages .badge.bg-success {
    background-color: rgba(0, 182, 155, .1) !important;
    color: #00B69B;
}
.modal-content {
    background-color: var(--White_color) !important;
    border: 1px solid var(--Light_border) !important;
}

.modal-header .modal-title {
    font-size: 23px;
    color: var(--admin_color3);
}

.modal-header .btn-close {
    font-size: 17px;
    color: var(--admin_color3);
}

.darkmodeActive .modal-header .btn-close {
    filter: invert(100%) grayscale(100%);
    opacity: 1;
}

.modal-header {
    padding: 1rem 1.6rem;
}

.modal-body {
    padding: 1.5rem;
}

.searchform i {
    font-size: 16px;
    color: var(--admin_color3);
}

.searchform button {
    padding: 0px 20px;
    background-color: var(--admin_color1);
    border: none;
    border-left: 1px solid var(--Light_border);
    border-color: var(--Light_border);
}



.content-main .card {
    margin-bottom: 24px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid  var(--Light_border);
    border-radius: 10px;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    overflow: hidden;
    background-color: var(--White_color);
}
.content-main .card:hover {
    transform: translateY(-2px);
    transition-duration: 0.3s;
    box-shadow: none;
}
.content-main .card-header {
    padding: 2rem;
    margin-bottom: 0;
    background-color: var(--White_color);
    border-bottom: 1px solid var(--Light_border);
}

.content-main .card-body{
    padding: 2rem;
}
.content-main table{
    font-size: 1.6rem;
    color: var(--admin_color2);
    /* font-family: var(--Lato-font); */
}
.content-main .table > :not(caption) > * > * {
    padding: 1.2rem .6rem;
}
.content-main thead {
    background-color: var(--admin_color1);
    border: none !important;
}

.content-main .content-header .content-title.card-title {
    font-size: 30px;
    font-weight: 500;
    color: var(--admin_color3) !important;
}

.content-main .content-header div p {
    color: var(--admin_color2);
}
.content-main .table>:not(:last-child)>:last-child> * {
    border-bottom-color: transparent;
}
.content-main tbody, td, tfoot, th, thead, tr {
    border-color: transparent;
}
.content-main .card-body .table-hover > tbody > tr:hover {
    --bs-table-accent-bg: rgba(49, 103, 235, 0.07);
    color: var(--hover_color);
}

.content-main table tbody, td, tfoot, th, thead, tr {
    vertical-align: middle;
}

.content-main  .card-btn {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: white;
    line-height: 32px;
    border: none;
    font-size: 1.5rem;
}

.content-main .card-text {
    background-color: white;
    line-height: normal;
    border: none;
    font-size: 1.4rem;
    padding: 2px 8px;
    font-weight: 400;
    border-radius: 3px;
    cursor: auto;
}

.content-main  .card-btn.btn-primary,
.content-main  .card-text.btn-primary {
    color: rgba(90, 140, 255, 1);
    background-color: rgba(90, 140, 255, .2);
}

.content-main  .card-btn.btn-danger,
.content-main  .card-text.btn-danger {
    color: rgba(253, 154, 86, 1);
    background-color: rgba(253, 154, 86, .2);
}
.content-main  .card-btn.btn-success,
.content-main  .card-text.btn-success {
    color: #00B69B;
    background-color: rgba(0, 182, 155, .2);
}


.content-main  .card-btn:hover{
    color: white;
}

.content-main  .card-btn.btn-primary:hover{
    color: white;
}

.content-main  .card-btn.btn-primary:hover{
    background-color: rgba(90, 140, 255, 1);
}
.content-main  .card-btn.btn-danger:hover{
    background-color: rgba(253, 154, 86, 1);
}
.content-main  .card-btn.btn-success:hover {
    background-color: rgba(0, 182, 155, 1);
}






.card.card-body .icontext {
    display: flex;
    align-items: start;
}

.card.card-body .icontext .icon {
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: #f4f5f9; */
    /* color: white; */
}

.card.card-body .icontext .icon i {
    font-size: 17px;
}

.card.card-body .icontext .text {
    margin-left: 14px;
}

.card.card-body .icontext .text .card-title {
    font-size: 21px;
    color: var(--admin_color3);
}

.card.card-body .icontext .text h4 {
    font-size: 20px;
    color: var(--para_color);
    margin-top: 11px;
}

.card.card-body .icontext .text p {
    font-size: 14px;
    color: var(--admin_color2);
}


.card.card-body.bg-primary-light {
    box-shadow: 0px 0px 9px 2px rgba(90, 140, 255, .1);
}

.card.card-body.bg-success-light {
    box-shadow: 0px 0px 9px 2px rgba(0, 182, 155, .1);
}

.card.card-body.bg-warning-light {
    box-shadow: 0px 0px 9px 2px rgba(253, 138, 20, 0.1);
}

.card.card-body.bg-info-light {
    box-shadow: 0px 0px 9px 2px rgb(0, 184, 242, 0.1);
}
.card.card-body.bg-primary-light .icon {
    color: rgba(90, 140, 255, 1);
    background-color: rgba(90, 140, 255, .2);
}

.card.card-body.bg-success-light .icon {
    color: #00B69B;
    background-color: rgba(0, 182, 155, .2);
}

.card.card-body.bg-warning-light .icon {
    color: #fd8a14;
    background-color: rgba(253, 138, 20, 0.2);
}

.card.card-body.bg-info-light .icon {
    color: #00b8f2;
    background-color: rgb(0, 184, 242, 0.2);
}

.card-header h4.card-title {
    font-size: 22px;
    font-weight: 500;
    color: var(--admin_color3) !important;
    margin-bottom: 20px;
}

.breadcrumbs a {
    font-size: 15px;
    line-height: 15px;
    color: var(--admin_color2);
    transition: all .3s ease;
    text-decoration: none;
}

.breadcrumbs li i {
    color: #575864;
    font-size: 10px;
}

.breadcrumbs {
    gap: 10px;
    margin: 0;
    padding: 0;
}

.breadcrumbs a:hover {
    color: var(--admin_color2);
}
.add_btn {
    width: max-content;
    padding: 12px 35px;
    color: #2c742f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    border: 1px solid #2c742f;
    border-radius: 8px;
    background-color: #ffffff;
    background-size: 100%;
    transition: all .3s ease;
    text-decoration: none;
}

.add_btn:hover {
    background-color: #2c742f;
    color: white;
}






.main-wrap{
    margin-left: 300px;
    background-color: #f8f9fa;
    position: relative;
}
.sidebar-logo img.logo-icon {
    display: none;
}

.sidebar-logo img.dark-logo {
    display: none;
}

.darkmodeActive .light-logo {
    display: none;
}
.darkmodeActive .sidebar-logo img.dark-logo {
    display: block;
}

.content-main {
    min-height: calc(100vh - 110px);
}

.content-main{
    padding:30px 3%; 
    margin-left:auto; 
    margin-right:auto;
    background-color: var(--main_background);
}

.navbar-aside{
    max-width: 300px;
	display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    overflow-y: auto;
    background-color: var(--White_color);
    box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03);
    z-index: 10;
    border-right: 1px solid var(--Light_border);  
}

.logo{ 
    max-width:120px; 
    margin-top: 5px; 
    min-width: 120px;
}

.brand-wrap{
    padding-left:2px;
    padding-right:2px;
    display:inline-block;
}
.aside-top{
    padding:12px .9rem; 
    display:flex; 
    align-items:center;
    justify-content:space-between;
    border-bottom: 1px solid var(--Light_border);
    min-height: 72px;
}
.aside-top button i {
    font-size: 19px;
    color: var(--admin_color3);
}
.main-header{
    padding-left:3%;
    padding-right:3%;
    min-height:72px;
    background-color: var(--White_color);
    box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03);
    border-bottom: 1px solid var(--Light_border);
   
}
.nav{
    align-items:center;
}
.nav-item > a {
    color: var(--admin_color3);
    display: block;
    text-decoration: none;
    position: relative;
    padding: 0 10px;
    font-size: 20px;
}
.nav-item .badge {
    position: absolute;
    right: 4px;
    top: -1px;
    color: #ffffff;
    height: 16px;
    width: 16px;
    font-weight: 500;
    font-size: 10px;
    text-align: center;
    line-height: 17px;
    display: block;
    padding: 0;
    background-color: green;
}
.nav-item .dropdown {
    margin-right: 5px;
}

.nav-link:hover{ 
    background-color:transparent;  
    color: green  
}


.nav-item img.rounded-circle{ 
    border:2px solid var(--Light_border);
}

.main-wrap header.main-header.navbar {
    position: sticky;
    z-index: 999;
    top: 0;
    left: 0;
}

.main-wrap header.main-header.navbar .searchform .form-control {
    background-color: var(--input_color);
    border: 1px solid var(--input_border);
    font-size: 16px;
    box-shadow: none;
    padding-left: 20px;
    color: #4f5d77;
    border-radius: 4px;
    height: 45px;
}





.content-header{
    display:flex;
    align-items:center;
    justify-content: space-between;
    margin-bottom:30px;
}

.content-title{ 
    margin-bottom:0;
}

.inner{
    padding:5px;
}


.aside-top> div{ flex-grow:1; }

.menu-link .icon{ margin-right:0; }

.submenu{ 
    border:1px solid #ddd; 
    border-radius:10px;
    box-shadow:gyuiuy;
    background-color:white; 
    margin-left:0;  
    padding:10px;
    position:absolute; 
    left:100%; 
    top:0;
    width:180px;
}
.menu-item{
    position:relative;
}
.menu-item:hover .submenu{
    display:block; z-index:10;
}
.menu-item.has-submenu .menu-link:after{ display:none;} 

footer.main-footer {
    bottom: 0;
    padding: 30px 3%;
    position: absolute;
    right: 0;
    width: 100%;
    height: 60px;
}











.menu-aside{
	list-style:none;
	margin:10px;
    padding:0;

}
	
a{ display:block;  text-decoration:none; }

.menu-item{
	margin-bottom:5px;
}
.icon{ color:green; }

.submenu a.active {
	color: black !important;
}
.menu-item .icon{ color:gray; margin-right:10px; font-size:24px;  }

.menu-link {
    padding: 16px;
    font-weight: 500;
    font-size: 14px;
    color: var(--admin_color3) !important;
    border-radius: 0.3rem;
    position: relative;
    text-decoration: none;
}
.menu-link i{
    color: #adb5bd;
    margin-right: 10px;
    font-size: 18px;
}
.menu-link:hover{
    transition: .2s linear;
    background-color: var(--link_hover);
    color:#292f46;
}
.menu-item.active .menu-link {
    transition: .2s linear;
    background-color: var(--menu_link);
    color: rgb(0 178 7);
}

.menu-item.active .menu-link i {
    color: rgb(0 178 7);
}
.submenu{
	margin-left:44px;  display:none; margin-top: 10px;
}
.submenu a{ 
		color:gray; 
		padding:5px 0 5px 15px;
		transition-duration: 0.3s;
		position: relative;
		margin-left: 5px;
}
.submenu a:hover{ 
    color:black;
    transition-duration: 0.3s;
}
.submenu a:before {
	content: "";
	width: 5px;
	height: 5px;
	position: absolute;
	background-color: gray;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 50%;
}

.menu-item.active .submenu{ display:block; }

.menu-item.has-submenu > .menu-link:after{
	display: inline-block; 
	position:absolute;
	right: 10px; 
	top:10px;
	margin-top:.6em;
    vertical-align:middle;
    content: "";
    border-top: 5px solid gray;
    border-right: 5px solid transparent;
    border-bottom: 0;
    border-left: 5px solid transparent;
}

.nav-pills .nav-link:hover{ color:dark;  background-color:rgba(gray, .15); }

/* .animation-shake {
    animation: shake 1.5s ease infinite;
} */
@keyframes shake {
    0% {
       transform: scale3d(1, 1, 1);
    }
    10%, 20% {
        transform: scale3d(0.95, 0.95, 0.95) rotate3d(0, 0, 1, -10deg);
    }
    30%, 50%, 70%, 90% {
        transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg);
    }
    40%, 60%, 80% {
       transform: rotate3d(0, 0, 1, -10deg);
    }
    100% {
        transform: scale3d(1, 1, 1);
    }
   }


.nav-item img.rounded-circle {
    border: 2px solid #eee;
}

.user_info .dropdown-toggle {
    height: 40px;
    width: 40px;
    border: 1px solid white;
    border-radius: 50%;
    color: #6c757d;
    font-size: 15px;
}

.user_info .dropdown-toggle img {
    height: 100%;
    width: 100%;
}

.user_info .dropdown-toggle:hover {
    border-color: green;
}

.dropdown-menu.common-dropdown-menu {
    min-width: 10rem;
    padding: .5rem 0;
    margin: 0;
    font-size: 13px;
    color: #6c757d;
    text-align: left;
    list-style: none;
    background-color: #fff;
    border: 0;
    border-radius: .25rem;
    -webkit-box-shadow: 0 -3px 23px rgba(0, 0, 0, 0.06);
    box-shadow: 0 -3px 23px rgba(0, 0, 0, 0.06);
}
.user_info .dropdown-menu.common-dropdown-menu {
    right: 0;
    left: auto;
}
.user_info .dropdown-menu.common-dropdown-menu .dropdown-item {
    display: flex;
    width: 100%;
    padding: .5rem 2.4rem;
    clear: both;
    font-weight: 400;
    text-align: inherit;
    white-space: nowrap;
    border: 0;
    align-items: center;
    color: #141432;
}

.user_info .dropdown-menu.common-dropdown-menu .dropdown-item i{
    margin-right: 10px;
    font-size: 14px;
    color: #adb5bd;
}

footer.d-footer {
    background: #6c757d;
    padding: 14px 0px;
    color: white;
    border-top: 1px solid var(--Light_border);
}





/*Pagination*/


.pagination-area .page-item {
    margin: 0 5px
}

.pagination-area .page-item:first-child {	
    margin-left: 0;
}

.pagination-area .page-item:first-child .page-link {
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
}
.pagination-area .page-item:last-child .page-link {
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}
.pagination-area .page-item .page-link:hover,
.pagination-area .page-item.active .page-link {
    color: #fff;
    background: var(--pagination_color1) !important;
}
.pagination-area .page-link {
    border: 0;
    padding: 0 10px;
    box-shadow: none;
    outline: 0;
    width: 34px;
    height: 34px;
    display: block;
    border-radius: 4px;
    background: var(--pagination_color);
    line-height: 34px;
    text-align: center;
    font-size: 13px;
    color: white;
}
.pagination-area .page-link .dot {
    background-color: transparent;
    color: white;
    letter-spacing: 2px;
}

.pagination-area .page-link:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.pagination-area .page-link:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.pagination-area .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
	color: green;
	background-color:black;
}








.aside-mini .aside-top {
    justify-content: center;
}
.aside-mini .sidebar-logo{
    display: none;
}
.aside-mini .navbar-aside {
    max-width: 80px;
    overflow: visible;
    /* position: absolute; */
    min-height: 100%;
    bottom: auto;
    overflow: unset !important;
}
.aside-mini .menu-aside .menu-link .text {
    display: none;
}
.aside-mini .menu-aside .menu-link i{
    margin: 0;
}
.aside-mini .menu-aside .menu-link{
    text-align: center;
}
.aside-mini .main-wrap {
    margin-left: 80px;
}












.admin_user {
    display: flex;
    align-items: center;
}

.admin_user .image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.admin_user .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.admin_user .content {
    margin-left: 10px;
}

.admin_user .content h4 {
    color: var(--admin_color3) ;
    font-weight: 600;
    font-size: 15px;
    line-height: 17px;
    margin-bottom: 4px;
}

.admin_user .content h5 {
    color: #95989d;
    font-size: 13px;
    margin: 0;
}

.admin_product {
    display: flex;
    align-items: center;
}

.admin_product .image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background-color: #bababa;
}

.admin_product .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.admin_product h4 {
    color: var(--admin_color3);
    font-weight: 600;
    font-size: 15px;
    line-height: 17px;
    margin-bottom: 4px;
}

.admin_product .content {
    margin-left: 12px;
}









.thumb-edit {
    position: absolute;
    right: 25px;
    z-index: 1;
    top: 25px;
}

.thumb-edit input {
    opacity: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
}

.thumb-edit label {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.15);
    border: 1px solid #eeeeee;
    cursor: pointer;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
    display: flex;
    justify-content: center;
    font-size: 19px;
}

.avatar-upload {
    position: relative;
}

.thumb-edit label {
    line-height: 37px;
}

.thumb-upload {
    position: relative;
    margin: 2px 7px 10px 7px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: inline-block;
}

.avatar-preview {
    width: 100%;
    height: 100%;
    padding: 15px;
    position: relative;
    border: 1px solid #eeeeee;
    border-radius: 15px;
}

.imagePreview {
    width: 100%;
    height: 100%;
    display: flex;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.imagePreview img {
    margin: auto;
    vertical-align: middle;
    max-width: 100%;
    border-radius: 10px;
}

.image-thumb-preview {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.image-thumb-preview img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    max-width: 100%;
    border-radius: 7px;
}

.thumb-preview {
    padding: 2px;
    position: relative;
    border: 1px solid #eeeeee;
    border-radius: 10px;
}

.thumb-upload .thumb-edit {
    right: 7px;
    z-index: 1;
    top: 7px;
}

.thumb-upload .thumb-edit input {
    width: 28px;
    height: 28px;
}

.thumb-upload .thumb-edit label {
    width: 28px;
    height: 28px;
    margin-bottom: 0;
    border-radius: 4px;
    font-size: 14px;
    line-height: 27px;
    box-shadow: 0px 0px 4px 0px rgb(0 0 0 / 11%);
}

.thumb-upload-set {
    margin-top: 17px;
}


span#discount_icon {
    border: 1px solid #ced4da;
}

