@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

:root {
    --accent-color:#1469C3;
    --accent-hover-color:#0c4d92;
    --action-color:#111;
    --sidebar-color:#1D2733;
    --sidebar-color-b2b:#14C325;
}

*,
*:after,
*::before {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}
html {
  font-size: 14px;
}
body {
  background: #fff;
  font-family: 'Open Sans', sans-serif;
  color: #555;
  overflow-x: hidden;
  position: relative;
}
body.app{
  padding-top:55px;
}
.row-app {
  height: calc(100vh - 55px);
}
/* GENERAL */
.bg-strip {
  background-image: linear-gradient(
    45deg,
    #f1f7f9 25%,
    #f5fbfd 25%,
    #f5fbfd 50%,
    #f1f7f9 50%,
    #f1f7f9 75%,
    #f5fbfd 75%,
    #f5fbfd 100%
  );
  background-size: 14.14px 14.14px;
}
.bg-accent {
  background: linear-gradient(-15deg, var(--accent-color),#14C325);
}
.bg-accent-gradient {
  background: linear-gradient(-15deg, var(--accent-color),#021b36);
}

.bg-accent-gradient-b2b {
  background: linear-gradient(-15deg, var(--accent-color),#14C325);
}

.bg-action {
  background: var(--action-color) !important;
}
.bg-sidebar{
  background: var(--sidebar-color) !important;
}
.bg-sidebar-b2b{
  background: var(--sidebar-color-b2b) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}
.text-action {
  color: var(--action-color) !important;
}
.bg-white-10 {
  background: rgba(255, 255, 255, 0.1);
}
.bg-white-25 {
  background: rgba(255, 255, 255, 0.25);
}
.bg-white-50 {
  background: rgba(255, 255, 255, 0.5);
}
.bg-white-75 {
  background: rgba(255, 255, 255, 0.75);
}
.overflow-visible {
  overflow: visible;
}
.overflow-x-auto {
  overflow-x: auto;
}
.shadow-lg-light {
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.1);
}
.opacity-0 {
  opacity: 0;
}
.opacity-10 {
  opacity: 0.1;
}
.opacity-20 {
  opacity: 0.2;
}
.opacity-30 {
  opacity: 0.3;
}
.opacity-40 {
  opacity: 0.4;
}
.opacity-50 {
  opacity: 0.5;
}
.opacity-60 {
  opacity: 0.6;
}
.opacity-70 {
  opacity: 0.7;
}
.opacity-80 {
  opacity: 0.8;
}
.opacity-90 {
  opacity: 0.9;
}
.no-opacity {
  opacity: 1;
}
.radius-5 {
  border-radius: 5px;
}
.radius-10 {
  border-radius: 10px;
}
.radius-50 {
  border-radius: 50px;
}
.radius-circle {
  border-radius: 50%;
}
.object-fit-cover {
  object-fit: cover;
}
.object-fit-contain {
  object-fit: contain;
}

/* FORM */
.form-control {
  outline: none !important;
  box-shadow: none !important;
}
/* BUTTON */
.btn.btn-link {
  text-decoration: none;
}
.btn.btn-action-white {
  color: #495057;
  background-color: #fff;
  border-color: rgba(0, 40, 100, 0.12);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
}
.btn.btn-action-white:hover {
  color: #495057;
  background-color: #f6f6f6;
  border-color: rgba(0, 20, 49, 0.12);
}
.btn i {
  font-size: 16px;
}
.image-upload {
  position: relative;
  width: 100px;
  margin: 0 auto;
}
.image-upload .btn {
  position: absolute;
  bottom: 0;
  right: 0;
}
.btn-accent{
  background:var(--accent-color);
  border:1px solid transparent;
  color:#fff;
}
.btn-accent:hover{
  background:var(--accent-hover-color);
  color:#fff;
}
.btn-outline-accent{
  border:1px solid var(--accent-color);
  color:var(--accent-color);
}
.btn-outline-accent:hover{
  background: var(--accent-color);
  color:#fff;
}
.switch input{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: none;
}
.switch label{
  width:35px;
  height:20px;
  border-radius:50px;
  background:#eee;
  position: relative;
  box-shadow:inset 0px 1px 3px #0001;
  transition: .3s ease;
}
.switch label:before{
  content:"";
  position: absolute;
  top:2px;
  left:2px;
  width:16px;
  height:16px;
  background:#fff;
  border-radius:50%;
  box-shadow:0px 1px 3px #0002;
  transition: .3s ease;
  transform:translateX(0);
}
.switch input:checked+label{
  background:var(--accent-color);
}
.switch input:checked+label:before{
  transform:translateX(15px);
}

/* NAVBAR */
#navbar {
  background: #fff;
  padding: 10px 15px;
  z-index: 99;
  height:55px;
  position: fixed;
  top:0;
  left:0;
  right:0;
  color:#333;
}
#navbar:before{
  background: var(--accent-color);
  width:240px;
  position: absolute;
  top:0;
  left:0;
  bottom:0;
}
#navbar .navbar-brand{
  position: relative;
}
#navbar i {
  font-size: 16px;
}
#navbar .btn {
  position: relative;
}
#navbar .btn .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  padding: 0;
}
#navbar .dropdown-notification {
  min-width: 250px;
}
#navbar .dropdown-notification .dropdown-item {
  white-space: normal;
}
.burger-menu {
  position: relative;
  display: inline-block;
  height: 14px;
  width: 18px;
  border-top: 2px solid #333;
}
.burger-menu:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 60%;
  margin-top: -2px;
  border-top: 2px solid #333;
}
.burger-menu:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin-top: -1px;
  border-bottom: 2px solid #333;
}
/* SIDEBAR */
.nav-sidebar {
  background: linear-gradient(-15deg, #0c4d92,var(--accent-color));
  width: 240px;
  border-radius:0 60px 0 0;
  max-height: none !important;
  height: calc(100vh - 55px)!important;
  overflow: auto;
  display: block;
  transition: 0.3s ease;
  transform: translateX(-100%);
  padding: 0;
  box-shadow:1px 0px 3px #0001;
}
.nav-sidebar-b2b {
  background: linear-gradient(-15deg, #14C325,var(--accent-color));
  width: 240px;
  border-radius:0 60px 0 0;
  max-height: none !important;
  height: calc(100vh - 55px)!important;
  overflow: auto;
  display: block;
  transition: 0.3s ease;
  transform: translateX(-100%);
  padding: 0;
  box-shadow:1px 0px 3px #0001;
}

.nav-sidebar-b2b.show {
  transform: translateX(0);
}

.nav-sidebar.show {
  transform: translateX(0);
}
.sidebar-nav .nav .nav-link {
  color: #fffc;
  padding: 10px 20px;
  border-left: 4px solid transparent;
}
.sidebar-nav .nav .nav-link:hover {
  background:#fff1;
}
.sidebar-nav .nav .nav-item.active > .nav-link,
.sidebar-nav .nav .nav-item > .nav-link.active {
  border-left: 4px solid #fff;
  background: #fff2;
  color: #fff;
  font-weight: bold;
}
.sidebar-nav ul li ul {
  background: #0002;
}
.sidebar-nav ul li ul .nav-link {
  padding-left: 40px !important;
}
.sidebar-nav .nav li ul li .nav-link:hover {
  background:#0001;
}
.sidebar-nav .nav li.active ul li.active .nav-link{
  background:#0001;
  border-left: 4px solid #fff;
}
.sidebar-nav ul li ul li ul .nav-link {
  padding-left: 70px !important;
}
.sidebar-nav .nav .nav-link .fa-circle {
  font-size: 6px;
  display: inline-block;
  vertical-align: middle;
  margin: -3px 20px 0 3px !important;
}
/* MAIN */
.main {
  transition: 0.3s ease;
  height: 100%;
  overflow: auto;
}
/* BREADCRUMB */
.breadcrumb {
  background: none;
  margin: 0;
  text-transform: uppercase;
  font-size: 11px;
}
.breadcrumb li a {
  color: #aaa;
}
.breadcrumb .active {
  color: #333;
}

/* PAGINATION */
.pagination > li > a {
  color: #495057;
  background-color: #fff;
  border-color: rgba(0, 40, 100, 0.12);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
  border-radius: 4px !important;
  margin: 2px;
}
.pagination > li.active > a {
  background: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
}

/* TABLE */
.table thead th {
  border-bottom-width: 1px !important;
  border-color: #f5f5f5 !important;
}
.table tbody td {
  border-color: #f5f5f5 !important;
  color: #666;
  font-size: 13px;
}

.card-hover-elevate {
  transition: 0.5s ease;
}
.card-hover-elevate:hover {
  transform: translateY(-5px);
  box-shadow: 0px 20px 50px -30px rgba(0, 0, 0, 0.3) !important;
}

/* DATATABLE */
.dataTables_length,
.dataTables_filter,
.dataTables_info,
.dataTables_wrapper .pagination {
  padding: 15px;
}
.dataTables_filter .form-group {
  display: inline-block;
  margin-right: 15px;
}
.ms-container {
  width: 100% !important;
}

/* MODAL */
.modal-content {
  border: none;
  padding: 15px;
}
.modal-header,
.modal-footer {
  border: none;
}
.modal-header {
  border-bottom: 1px solid #eee;
}

/* SECTION BG */
.bg-overlay{
    position: relative;
}
.bg-overlay .bg{
  position: absolute;
  top:0;
  left:0;
  bottom:0;
  right:0;
  width:100%;
  height:100%;
  object-fit: cover;
  opacity:0.1;
}

.input-icon{
  position: relative;
}
.input-icon .icon{
  position: absolute;
  top:50%;
  left:15px;
  transform: translateY(-50%);
}
.input-icon .form-control{
  padding-left: 40px;
}
.form-control-large{
  height:50px;
}
.alert-dark-opacity{
  background:#0002;
}

/* TRACKING ORDER */
.tracking-order .row-list{
  position: relative;
  color:#ccc;
}
.tracking-order .row-list:before{
  content:"";
  position:absolute;
  top:5px;
  left:20px;
  bottom:-30px;
  border-left:2px solid #ddd;
}
.tracking-order .row-list:last-child:before{
  display: none;
}
.tracking-order .row-list.active .fa-circle{
  color:var(--accent-color);
}
.tracking-order .row-list.active .title{
  color:var(--accent-color);
}
/* RESPONSIVE */
@media (max-width: 767px) {
  .row-app {
    width: 100vw;
  }
  #navbar {
    z-index: 999;
  }
  .nav-sidebar {
    transform: translateX(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    position: fixed;
    top: 55px;
    left: 0;
    bottom: 0;
    z-index: 99;
    width: 100vw;
    border-radius:0;
  }
  .nav-sidebar.show {
    transform: translateX(-100%) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    display: none !important;
  }
}
@media (max-width: 480px) {
  .navbar .dropdown-menu {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 50vh;
    overflow: auto;
    z-index: 9999;
  }
}
@media (max-width: 320px) {
  html{
    font-size: 12px;
  }
}


@media only screen and (min-width: 600px) {
  .image-crop {
    width:700px;
  }
}