/*------ ROOT------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*line-height: 1.15;*/
}
.iframe iframe {
    width: 100%;
}

/*------ BODY------ */
body {
    font-family: "Roboto", sans-serif;
    overflow-x: hidden;
}
body .form-control,
body button {
    box-shadow: none !important;
}
body small {
    color: #818e9b;
}
body label {
    margin-bottom: 0 !important;
}
body h5 {
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* Icon */
.material-icons {
    vertical-align: middle;
    height: 20px;
    width: 20px;
    cursor: pointer;
}

/*------ SCROLL BAR------ */
/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-srollbar-track {
    background: #1a1a1a;
}

/*  Handle  */
::-webkit-scrollbar-thumb {
    background: #3e3e3e;
}

.wrapper {
    display: flex;
    width: 100%;
}

/*------ SIDEBAR------ */
#sidebar {
    position: fixed;
    background: #000000;
    min-width: 270px;
    max-width: 270px;
    height: 100vh;
}
#sidebar .left-menu {
    margin-left: 0 !important;
    margin-bottom: 60px;
}
#sidebar .left-menu li {
    margin-right: 0;
}
#sidebar .left-menu a:hover {
    color: #ffe600;
}
#sidebar.active {
    min-width: 100px;
    max-width: 100px;
    text-align: center;
}
#sidebar.active .has-child {
    position: relative;
}
#sidebar.active .has-child:hover {
    background: #1a1a1a;
}
#sidebar.active .has-child ul {
    position: absolute;
    display: none;
    left: 100px;
    top: -1px;
    width: 200px;
    text-align: left;
}
#sidebar.active .has-child ul li a {
    font-size: 13px !important;
}
#sidebar.active .has-child:last-child ul {
    top: -100px;
}
#sidebar.active .has-child:hover ul {
    display: block !important;
}
#sidebar.active ul li a {
    font-size: 10px;
}
#sidebar.active ul li a span {
    display: none;
}
#sidebar.active ul li a i {
    font-size: 30px;
    margin-left: 5px;
    margin-bottom: 10px;
}
#sidebar.active .left-menu {
    margin-top: 5px;
    overflow: visible;
}
#sidebar.active .has-child li a {
    padding: 10px 10px;
}
#sidebar.active .sidebar-header img {
    margin-left: 8px !important;
    margin-top: 17px !important;
}
#sidebar .sidebar-header {
    border-bottom: 1px solid #ebeff2;
}
#sidebar .sidebar-header img {
    width: 77.1px;
    height: 28.3px;
    margin-left: 24px;
    margin-top: 17px;
    margin-bottom: 17px;
}
#sidebar ul li {
    width: 100%;
}
#sidebar ul li a {
    color: #eaeaea;
    padding: 10px 24px 10px 24px;
    font-size: 13px;
}
#sidebar ul li i {
    margin-right: 14px;
}
#sidebar li.active {
    background: #000000;
}
#sidebar li.active > a {
    color: #ffe600;
}

#sidebar .left-menu {
    margin-top: 20px;
    margin-left: 10px;
    overflow-y: scroll;
}
#sidebar .has-child li {
    background: #000000;
}
#sidebar .has-child li a {
    padding-left: 58px;
}
#sidebar .has-child li a.active {
    color: #ffe600;
    padding-left: 58px;
}
#sidebar div.collapse li.active {
    background: #000000;
}
#sidebar .toggle-button {
    background: #000000;
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 22px 55px;
    font-size: 11px;
    border-top: 1px solid #ebeff2;
}
#sidebar .toggle-button.active {
    background: #000000;
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 16px;
    font-size: 11px;
    border-top: 1px solid #ebeff2;
}
#sidebar .toggle-button a {
    text-decoration: none;
    color: #ebeff2;
}

.index {
    z-index: -1;
}

#page-content {
    height: 100vh;
    width: calc(100% - 256px);
    margin-left: 256px;
}
#page-content.active {
    height: 100vh;
    width: calc(100% - 100px);
    margin-left: 100px;
}
#page-content.active .navbar-top {
    margin-left: 100px;
}
#page-content .navbar-top {
    opacity: 0.9;
    height: 63px;
    font-size: 12px;
    margin-left: 36px;
    color: #000000;
    margin-left: 270px;
    padding-left: 40px;
}
#page-content .navbar-top #power-button {
    padding-right: 36px;
}
#page-content .navbar-top button {
    font-weight: normal;
    font-size: 12px;
    color: #000000;
}
#page-content .navbar-top .nav-search {
    padding-top: 10px;
}
#page-content .navbar-top .search-button {
    border: none;
    background: #ffffff;
    outline: none;
}
#page-content .right-top-bar {
    padding-top: 8px;
}
#page-content .right-top-bar .dropdown-toggle {
    padding: 12px;
}
#page-content .right-top-bar button {
    padding-top: 10px !important;
}
#page-content #main-content {
    height: 100vh;
    margin-top: 63px;
    color: #000000;
    height: calc(100% - 63px);
    background: #e5e5e5;
}
#page-content #main-content .search-button-group {
    margin-left: 100px;
}
#page-content #main-content .search-button-group label {
    margin-top: 8px;
    margin-bottom: 5px !important;
    color: #818e9b;
}
#page-content #main-content .search-button-group select,
#page-content #main-content .search-button-group input {
    background: #ffffff;
    width: 250px;
    height: 40px;
    border-radius: 5px;
}
#page-content #main-content.active {
    height: 100vh;
    width: calc(100% - 100px);
}
#page-content #main-content h1 {
    font-size: 21px;
    font-weight: 100;
    letter-spacing: 0.01em;
}
#page-content #main-content #content {
    width: 100%;
    padding: 30px 3px 50px 20px;
}
#page-content #main-content #content form {
    /* margin-top: 38px !important;
    padding-top: 21px !important; */
}
#page-content #main-content #content form input,
#page-content #main-content #content form select {
    border-bottom: 1px solid #818e9b;
    background: #ffffff;
}
#page-content #main-content small {
    margin-top: 1rem;
}
#page-content #main-content #content label {
    font-weight: 900;
}
#page-content #main-content .pagination li a {
    color: #3e3e3e;
    background: #e5e5e5 !important;
    border: none;
}
#page-content #main-content .pagination li.active a {
    font-weight: 900;
    font-size: 16px !important;
    padding-top: 6.5px;
}
#page-content #main-content .col-6 {
    max-width: 492px;
}
#page-content #main-content #change-password-form {
    margin-top: 100px;
    padding-bottom: 14px;
    border-bottom: 1px solid #000000;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 23px;
}
#page-content #main-content #change-password-form button {
    width: 160px;
    height: 48px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 4px;
}
#page-content #main-content #change-password-form h1 {
    font-weight: 500 !important;
    font-size: 24px;
    margin-bottom: 25px;
}
#page-content #main-content #change-password-form h5 {
    font-size: 18px;
    color: #191919;
}
#page-content #main-content #change-password-form p {
    font-size: 14px;
}
#page-content #main-content #change-password-form label {
    font-size: 14px;
    margin-bottom: 14px !important;
}
#page-content #main-content #change-password-form input {
    background: #e5e5e5;
    max-width: 490px;
    height: 48px;
    border: 1px solid #929bad;
    border-radius: 6px;
}

/* TOGGLE CHECKBOX */
.label-checkbox {
    margin-top: 8px !important;
}

input.checkbox-toggle {
    height: 0;
    width: 0;
    visibility: hidden;
}

label.label-checkbox {
    cursor: pointer;
    text-indent: -9999px;
    width: 34px;
    height: 14px;
    background: #c6c5c5;
    display: block;
    border-radius: 100px;
    position: relative;
}
label.label-checkbox:after {
    content: "";
    position: absolute;
    top: -2px;
    left: 0px;
    width: 20px;
    height: 20px;
    border-radius: 90px;
    background: #f1f1f1;
    transition: 0.3s;
    box-shadow: 0px 1px 5px grey;
}

input.checkbox-toggle:checked + label.label-checkbox:after {
    left: calc(100% - 0px);
    transform: translateX(-100%);
    background: #000000;
}

.common-button {
    padding: 0.5rem;
    top: 87px;
    right: 38px;
}
.common-button button {
    position: relative;
    border-radius: 5px;
    height: 42px;
    width: 42px;
    box-shadow: 0px 4px 5px grey !important;
}
.common-button button:hover {
    color: #ffe600;
}
.common-button button i {
    position: absolute !important;
    top: 9px;
    left: 9px;
}

/* BUTTON FIXED*/
.save-group-buttons {
    z-index: 999;
    padding: 0.5rem;
    position: fixed;
    top: 87px;
    right: 38px;
}
.save-group-buttons button,
.save-group-buttons a {
    position: relative;
    border-radius: 5px;
    height: 42px;
    width: 42px;
    box-shadow: 0px 4px 5px grey !important;
}
.save-group-buttons button:hover,
.save-group-buttons a:hover {
    color: #ffe600;
}
.save-group-buttons button i,
.save-group-buttons a i {
    position: absolute;
    top: 9px;
    left: 9px;
}

/* TABLE */
#main-content #table {
    border-radius: 5px;
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.06) !important;
    /* Customize the label (the container) */
}
#main-content #table a:hover {
    color: #ffe600;
}
#main-content #table .container {
    width: 20px;
    height: 20px;
    display: block;
    position: relative;
    margin-left: 3px;
    cursor: pointer;
    font-size: 22px;
    user-select: none;
    /* Hide the browser's default checkbox */
    /* Create a custom checkbox */
}
#main-content #table .container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    /* When the checkbox is checked, add a blue background */
}
#main-content #table .container input:checked ~ .checkmark {
    background-color: #000000;
    border: 2px solid #000000;
    border-radius: 2px;
    /* Show the checkmark when checked */
}
#main-content #table .container input:checked ~ .checkmark:after {
    display: block;
}
#main-content #table .container .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    border-radius: 2px;
    border: 2px solid #919aa1;
    background-color: #ffffff;
    /* Create the checkmark/indicator (hidden when not checked) */
}
#main-content #table .container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 3px;
    top: -1.75px;
    width: 8px;
    height: 13px;
    border: solid white;
    border-width: 0px 2px 2px 0;
    transform: rotate(45deg);
}

#user-info label {
    font-size: 14px;
    margin-bottom: 14px !important;
}
#user-info button {
    width: 160px;
    height: 48px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 4px;
    margin-left: 200px;
}
#user-info input,
#user-info select {
    background: #e5e5e5 !important;
    max-width: 490px;
    height: 48px;
    border: 1px solid #929bad;
    border-radius: 6px;
}

.text-red {
    color: red;
}

.address iframe {
    border: none
}

.showbox {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30vh 5%;
  }

  .loader {
    position: relative;
    margin: 0 auto;
    width: 100px;
  }
  .loader:before {
    content: '';
    display: block;
    padding-top: 100%;
  }

  .circular {
    -webkit-animation: rotate 2s linear infinite;
            animation: rotate 2s linear infinite;
    height: 100%;
    -webkit-transform-origin: center center;
            transform-origin: center center;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }

  .path {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    -webkit-animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
            animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
    stroke-linecap: round;
  }

  @-webkit-keyframes rotate {
    100% {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
    }
  }

  @keyframes rotate {
    100% {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
    }
  }
  @-webkit-keyframes dash {
    0% {
      stroke-dasharray: 1, 200;
      stroke-dashoffset: 0;
    }
    50% {
      stroke-dasharray: 89, 200;
      stroke-dashoffset: -35px;
    }
    100% {
      stroke-dasharray: 89, 200;
      stroke-dashoffset: -124px;
    }
  }
  @keyframes dash {
    0% {
      stroke-dasharray: 1, 200;
      stroke-dashoffset: 0;
    }
    50% {
      stroke-dasharray: 89, 200;
      stroke-dashoffset: -35px;
    }
    100% {
      stroke-dasharray: 89, 200;
      stroke-dashoffset: -124px;
    }
  }
  @-webkit-keyframes color {
    100%,
    0% {
      stroke: #d62d20;
    }
    40% {
      stroke: #0057e7;
    }
    66% {
      stroke: #008744;
    }
    80%,
    90% {
      stroke: #ffa700;
    }
  }
  @keyframes color {
    100%,
    0% {
      stroke: #d62d20;
    }
    40% {
      stroke: #0057e7;
    }
    66% {
      stroke: #008744;
    }
    80%,
    90% {
      stroke: #ffa700;
    }
  }

  .calendar .row {
      margin-bottom: 10px;
  }
#calendar .fc-event{
    background-color: #3788d8;
    border: 1px solid #3788d8;
    color: #fff
}

#calendar  td.day-off {
    background: whitesmoke;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.btn-hover {
    color: #fff;
    background-color: #1a1a1a;
    border-color: #1a1a1a;
}
.current {
    background: black;
    padding: 5px;
    color: white;
}
#table_paginate .paginate_button {
    cursor: pointer;
}
.pricing-modal input {
    /* border-bottom: unset !important; */
    /* background: #eceeef !important; */
}

.pricing-modal a {
    cursor: pointer;
}

.price-option:hover {
    border-top: 1px solid gray;
    border-bottom: 1px solid gray;
}
#supplier-add-pricing .modal-header {
    border-bottom: unset !important;
}

.supplier-attribute {
    background-color: white;
}
.supplier-attribute>i {
    float: left;
    margin-top: 1rem;
    margin-right: 10px;
}

.product-attribute {
    background-color: white;
}
.product-attribute>i {
    float: left;
    margin-top: 1rem;
    margin-right: 10px;
}

#attributeDetailModal .modal-header {
    border-bottom: unset !important;
}

#attributeDetailModal .show {
    /*display: flex;*/
}

input.hide_number_arrow::-webkit-outer-spin-button,
input.hide_number_arrow::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cke_screen_reader_only ~ div.cke {
    display: none;
}