a {
    text-decoration: none;
}

.small, small {
    font-size: 0.68em;
}

.brand-link {
    padding: 0.4125rem 0.5rem;
}

.pagination-container {
    float: right;
}

.pagination-container .page-link {
    padding: 0.25rem 0.5rem;
}

.ck-editor__editable_inline {
    min-height: 150px;  
}

/*
* SWEETALERT
*/

/* brand color */
/* .swal2-popup.swal2-toast {
    background: #02073e;
} */

/* overall size */
.swal2-container.swal2-bottom>.swal2-popup {
    width: auto !important;
}
.swal2-popup.swal2-toast {
    padding: 7px 10px !important;
}

/* success color */
.swal2-icon.swal2-success .swal2-success-ring {
    border: 0.25em solid #fff !important;
}
.swal2-icon.swal2-success [class^=swal2-success-line] {
    background-color: #fff !important;
}

/* warning color */
.swal2-icon.swal2-error {
    border-color: #ffffff !important;
    color: #ffffff !important;
}
.swal2-icon.swal2-error [class^=swal2-x-mark-line] {
    background-color: #fff !important;
}

/* overall text */
.swal2-popup.swal2-toast.swal2-icon-success .swal2-title, .swal2-popup.swal2-toast.swal2-icon-warning .swal2-title, .swal2-popup.swal2-toast .swal2-title {
    color: #fff;
    font-size: 18px !important;
    font-weight: 500;
}

/* close color */
.swal2-close:hover {
    color: #727272 !important;
}

.nav-sidebar .nav-treeview {
    margin-left: 20px;
}

/* select 2 */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #007bff !important;
    border-color: #006fe6 !important;
    color: #fff;
    padding: 0 10px !important;
    margin-top: 0.31rem !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #dfdfdf !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #fff !important;
}
.select2-container .select2-selection--single {
    height: calc(1.8125rem + 2px) !important;
    border: 1px solid #ced4da !important;
}

.star-rating {
    font-size: 0;
    white-space: nowrap;
    display: block;
    /* width: 250px; remove this */
    height: 30px;
    overflow: hidden;
    position: relative;
    background: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjREREREREIiBwb2ludHM9IjEwLDAgMTMuMDksNi41ODMgMjAsNy42MzkgMTUsMTIuNzY0IDE2LjE4LDIwIDEwLDE2LjU4MyAzLjgyLDIwIDUsMTIuNzY0IDAsNy42MzkgNi45MSw2LjU4MyAiLz48L3N2Zz4=');
    background-size: contain;
  }
  .star-rating i {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    /* width: 20%; remove this */
    z-index: 1;
    background: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjRkZERjg4IiBwb2ludHM9IjEwLDAgMTMuMDksNi41ODMgMjAsNy42MzkgMTUsMTIuNzY0IDE2LjE4LDIwIDEwLDE2LjU4MyAzLjgyLDIwIDUsMTIuNzY0IDAsNy42MzkgNi45MSw2LjU4MyAiLz48L3N2Zz4=');
    background-size: contain;
  }
  .star-rating input {
    opacity: 0;
    display: inline-block;
    /* width: 20%; remove this */
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 2;
    position: relative;
  }
  .star-rating input:hover + i,
  .star-rating input:checked + i {
    opacity: 1;
  }
  .star-rating i ~ i {
    width: 40%;
  }
  .star-rating i ~ i ~ i {
    width: 60%;
  }
  .star-rating i ~ i ~ i ~ i {
    width: 80%;
  }
  .star-rating i ~ i ~ i ~ i ~ i {
    width: 100%;
  }
  ::after,
  ::before {
    height: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
    vertical-align: middle;
  }
  
  .star-rating.star-5 {width: 150px;}
  .star-rating.star-5 input,
  .star-rating.star-5 i {width: 20%;}
  .star-rating.star-5 i ~ i {width: 40%;}
  .star-rating.star-5 i ~ i ~ i {width: 60%;}
  .star-rating.star-5 i ~ i ~ i ~ i {width: 80%;}
  .star-rating.star-5 i ~ i ~ i ~ i ~i {width: 100%;}
  
  .star-rating.star-3 {width: 150px;}
  .star-rating.star-3 input,
  .star-rating.star-3 i {width: 33.33%;}
  .star-rating.star-3 i ~ i {width: 66.66%;}
  .star-rating.star-3 i ~ i ~ i {width: 100%;}

.product-container {
    display: flex;
}
.product-container .single-product {
    width: 100px;
    text-align: center;
}
.product-container .img-holder img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.product-container .details p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-container-detail .img-holder {
    margin-bottom: 20px;
}
.product-container-detail .img-holder img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}
.user-icons {
    font-size: 12px;
    color: #67676782;
}
.height-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.height-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-img, .card-img-top {
    height: 130px;
    object-fit: cover;
}
.edit-image {
    height: 80px;
    object-fit: cover;
}
.variation-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}


/* button group */
/* .btn-check {
    position: absolute;
    clip: rect(0,0,0,0);
    pointer-events: none;
} */
/* .btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    color: #fff;
    background-color: #ababab;
} */
.bg-inactive {
    background-color: #d7dbdf !important;
}

[class*=sidebar-dark] .user-panel {
    border-bottom: none;
}

.nav-sidebar>.nav-item .nav-icon.fas {
    font-size: 1rem;
}

.sidebar .nav-link p {
    font-size: 14px;
    /* color: #635e5e; */
}

[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link:focus, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link:hover, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active {
    background-color: #7973732e;
    color: #000;
}

[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:focus, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:hover {
    background-color: #a6a3a3e6;
    color: #1d1f21;
}
select.form-control-sm~.select2-container--default {
    font-size: .875rem !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
    font-size: .875rem !important; 
    line-height: 21px !important;
    margin-top: -0.2rem !important; 
}
.rounded-pill {
    border-radius: 50rem !important;
}
.w-px-40 {
    width: 40px !important;
}
.badge-center {
    padding: 3px;
    line-height: 1.375;
    height: 1.5rem;
    font-size: .8125rem;
}
/* Danger (Red) */
.bg-label-danger {
    background-color: #ffe2e3 !important;
    color: #ff4c51 !important;
}

/* Primary (Blue) */
.bg-label-primary {
    background-color: #e3f2fd !important;
    color: #2196f3 !important;
}

/* Success (Green) */
.bg-label-success {
    background-color: #e6f4ea !important;
    color: #28c76f !important;
}

/* Info (Cyan/Teal) */
.bg-label-info {
    background-color: #e1f5fe !important;
    color: #00cfe8 !important;
}

/* Warning (Orange/Yellow) */
.bg-label-warning {
    background-color: #fff4e5 !important;
    color: #ff9f43 !important;
}
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link{
    color: #4d4d4d;
}