.navbar-custom {
  position: relative;
  margin-bottom: 0;
}

.side-content {
  padding: 0;
}
.main-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-menu * {
  transition: all 150ms 0ms ease-in;
}
.main-menu a,
.main-menu a:hover,
.main-menu a:focus {
  color: #333;
  text-decoration: none;
}
.main-menu>li {
  border-top: 1px solid #ddd;
}
.main-menu>li:first {
  border-top: 0;
}
.main-menu>li>a {
  display: block;
  padding: 12px 0 12px 20px;
}
.main-menu li:not(.has-sub).active>a {
  background: #fff;
  border-right: 5px solid #333;
  font-weight: bold;
}
.main-menu li.has-sub.active>a {
  background: #fff;
  font-weight: bold;
}
.main-menu li:not(.has-sub):hover>a,
.main-menu li:not(.has-sub):focus>a {
  background: #fff;
  border-right: 5px solid #666;
}
.main-menu li.has-sub:hover>a,
.main-menu li.has-sub:focus>a {
  background: #fff;
}
.main-menu>li>a .caret {
  float: right;
  position: relative;
  right: 8px; top: 8px;
}
.main-menu>li.active>a .caret {
  transform: rotate(-90deg);
}
.main-menu>li.has-sub.active>.sub-menu>li {
  border-top-width: 1px;
  height: 47px;
}
.sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sub-menu>li {
  background-color: white;
  border-top: 0px solid #f0f0f0;

  height: 0; overflow: hidden;
}
.sub-menu>li>a {
  display: block;
  padding: 12px 0 12px 40px;
  font-weight: normal !important;
}

.main-content {
  background: #f1f1f1;
  border-left: 1px solid #ddd;
  min-height: 90vh;
  padding: 20px 15px;
}

.window {
  background-color: #fcfcfc;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 20px;
} .window-header {
  background: #fff;
  border-bottom: 1px solid #ccc;
  border-radius: 5px 5px 0 0;
  color: #666;
  padding: 0 10px;
  height: 35px;
} .window-title {
  font-weight: bold;
  line-height: 35px;
  text-transform: uppercase;
} .window-control {
  height: 35px;
  float: right;
  padding-left: 10px;
  margin-left: 10px;
} .window-control a {
  color: #999;
  display: inline-block;
  vertical-align: middle;
  height: 25px;
  padding-top: 6px;
  padding-left: 5px; padding-right: 5px;
} .window-control a:hover, .window-control a:focus {
  color: #000;
} .window-body {
  padding: 12px 15px;
} .window-footer {
  border-top: 1px solid #000;
  padding: 10px;
}

.search-clear {
  background: #008cba;
  border-radius: 12px;
  color: white;
  display: inline-block;
  height: 24px;
  line-height: 24px;
  margin-left: 10px;
  padding: 0 12px;
  text-align: center;
}
.search-clear:hover,
.search-clear:focus {
  background: white;
  text-decoration: none;
}
.search-input {
  display: inline-block;
  float: left;
  height: 30px; width: 200px;
}
.search-submit {
  background: white;
  border: 1px solid #ccc;
  border-left: none;
  float: left;
  height: 30px; width: 30px;
  outline: none;
}

.required-label {
  color: red;
}
span[data-toggle="tooltip"] {
  text-decoration: none;
  color: #3586AE;
  background-color: #edf7fb;
  border: none;
  border-bottom: solid 1px #D8EDF7;
  padding: 0 5px;
}
.less-gutter {
  padding-left: 5px;
  padding-right: 5px;
}
.input-group-addon {
  font-size: 12px;
}
.btn-hollow {
  background: #fff;
  color: #006687;
}
.btn-group .btn ~ .dropdown-toggle {
  padding-left: 8px;
  padding-right: 8px;
}
.tab-group a.active {
  transform: scale(1.02, 1.02);
  transition: transform ease-in 0.2s;
}
.table>thead>tr>th,
.table>tbody>tr>td {
  line-height: 1;
  vertical-align: middle;
}
.empty-row {
  color: #aaa;
  font-size: 14px;
  line-height: 20px;
  padding: 15px;
  text-align: center;
}

.glow {
  display: none;
  font-size: 13px;
  opacity: 0.95;
  padding: 10px 30px 10px 10px;
  position: fixed;
  top: 100px;
}

.table-fixed {
  table-layout: fixed;
}
.td-width-xs {
  width: 40px !important;
}
.td-width-sm {
  width: 80px !important;
}
.td-width-md {
  width: 120px !important;
}
.td-width-lg {
  width: 200px !important;
}
.td-width-xl {
  width: 250px !important;
}
.td-single {
  vertical-align: middle !important;
  line-height: 1 !important;
}
.sortable {
  cursor: pointer;
  position: relative;
}
.sortable:after {
  content: '';
  display: inline-block;
  text-align: center;
  width: 1.28571429em;
  font-family: 'FontAwesome';
}
.sortable:hover:after {
  content: '\f0dc';
  color: #ddd;
}
.sortable.sort-asc:after {
  content: '\f0de';
  color: #333;
}
.sortable.sort-desc:after {
  content: '\f0dd';
  color: #333;
}

.banner-thumb {
  width: 200px;
}

.category-tree {
  list-style: none;
  padding-left: 20px;
  padding-top: 10px;
  background: white;
  border: 1px solid #bbb;
  height: 150px;
  overflow: auto;
}
.tree {
  list-style: none;
  padding-left: 20px;
}

.product-thumb {
  width: 80px;
}

.lightboxOverlay>.btn-download-images {
  display: inline;
}
.btn-download-images {
  display: none;
  color: darkgray;
  font-size: 14px;
  padding-right: 14px;
  padding-top: 14px;

  position: absolute;
  z-index: 10001;
  right: 14px;
  top: 0;
}
.btn-download-images:hover,
.btn-download-images:focus {
  color: white;
  text-decoration: none;
}

.toggle-approval>i {
  cursor: pointer;
  font-size: 1.5em;
}
.toggle-approval>i:hover,
.toggle-approval>i:focus {
  opacity: 0.7;
}

.toggle-finish>i {
  cursor: pointer;
  font-size: 1.5em;
}
.toggle-finish>i:hover,
.toggle-finish>i:focus {
  opacity: 0.7;
}

.footer {
  background: #333;
  border-top: 1px solid #ddd;
  color: #ccc;
  padding-top: 15px;
  padding-bottom: 15px;
  text-align: center;
} .footer li {
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
} .footer p {
  clear: left;
  margin-bottom: 0;
} .copyright {
  display: block;
}

.tag {
  padding: 5px 35px 5px 10px;
  display: inline-block;
  background-color: #f5f5f5;
  border-color: #ccc;
  color: #333;
  margin-bottom: 5px;
}

.hidden-input {
  opacity: 0;
  width: 0;
  float: right;
}

.list-group-flush {
  border-radius: 0;
  line-height: 1;
}

.list-group-flush > .list-group-item {
  background-color: transparent;
  border-width: 0 0 1px;
  padding: 5px 10px;
}

.list-group-flush > .list-group-item:last-child {
  border-bottom-width: 0;
}

.no-select, .no-select * {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

#comments>tr>td {
  vertical-align: top;
}
.table-warning, .table-warning>td, .table-warning>th {
    background-color: #eef5c6;
}
.table-danger, .table-danger>td, .table-danger>th {
    background-color: #f5c6cb;
}
.table-liked, .table-liked>td, .table-liked>th {
    background-color: #d5ffd2;
}

.form-control-plaintext.form-control-sm, .input-group-sm > .form-control-plaintext.form-control,
.input-group-sm > .input-group-prepend > .form-control-plaintext.input-group-text,
.input-group-sm > .input-group-append > .form-control-plaintext.input-group-text,
.input-group-sm > .input-group-prepend > .form-control-plaintext.btn,
.input-group-sm > .input-group-append > .form-control-plaintext.btn, .form-control-plaintext.form-control-lg, .input-group-lg > .form-control-plaintext.form-control,
.input-group-lg > .input-group-prepend > .form-control-plaintext.input-group-text,
.input-group-lg > .input-group-append > .form-control-plaintext.input-group-text,
.input-group-lg > .input-group-prepend > .form-control-plaintext.btn,
.input-group-lg > .input-group-append > .form-control-plaintext.btn {
  padding-right: 0;
  padding-left: 0;
}

.form-control-sm, .input-group-sm > .form-control,
.input-group-sm > .input-group-prepend > .input-group-text,
.input-group-sm > .input-group-append > .input-group-text,
.input-group-sm > .input-group-prepend > .btn,
.input-group-sm > .input-group-append > .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

select.form-control-sm:not([size]):not([multiple]), .input-group-sm > select.form-control:not([size]):not([multiple]),
.input-group-sm > .input-group-prepend > select.input-group-text:not([size]):not([multiple]),
.input-group-sm > .input-group-append > select.input-group-text:not([size]):not([multiple]),
.input-group-sm > .input-group-prepend > select.btn:not([size]):not([multiple]),
.input-group-sm > .input-group-append > select.btn:not([size]):not([multiple]) {
  height: calc(1.8125rem + 2px);
}

.form-control-lg, .input-group-lg > .form-control,
.input-group-lg > .input-group-prepend > .input-group-text,
.input-group-lg > .input-group-append > .input-group-text,
.input-group-lg > .input-group-prepend > .btn,
.input-group-lg > .input-group-append > .btn {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.form-control:not([size]):not([multiple]),
.input-group-lg > .input-group-prepend > select.input-group-text:not([size]):not([multiple]),
.input-group-lg > .input-group-append > select.input-group-text:not([size]):not([multiple]),
.input-group-lg > .input-group-prepend > select.btn:not([size]):not([multiple]),
.input-group-lg > .input-group-append > select.btn:not([size]):not([multiple]) {
  height: calc(2.875rem + 2px);
}

.input-group {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  width: 100%;
}

.input-group > .form-control,
.input-group > .custom-select,
.input-group > .custom-file {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  width: 1%;
  margin-bottom: 0;
}

.input-group > .form-control:focus,
.input-group > .custom-select:focus,
.input-group > .custom-file:focus {
  z-index: 3;
}

.input-group > .form-control + .form-control,
.input-group > .form-control + .custom-select,
.input-group > .form-control + .custom-file,
.input-group > .custom-select + .form-control,
.input-group > .custom-select + .custom-select,
.input-group > .custom-select + .custom-file,
.input-group > .custom-file + .form-control,
.input-group > .custom-file + .custom-select,
.input-group > .custom-file + .custom-file {
  margin-left: -1px;
}

.input-group > .form-control:not(:last-child),
.input-group > .custom-select:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group > .form-control:not(:first-child),
.input-group > .custom-select:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-group > .custom-file {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.input-group > .custom-file:not(:last-child) .custom-file-label,
.input-group > .custom-file:not(:last-child) .custom-file-label::before {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group > .custom-file:not(:first-child) .custom-file-label,
.input-group > .custom-file:not(:first-child) .custom-file-label::before {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-group-prepend,
.input-group-append {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.input-group-prepend .btn,
.input-group-append .btn {
  position: relative;
  z-index: 2;
}

.input-group-prepend .btn + .btn,
.input-group-prepend .btn + .input-group-text,
.input-group-prepend .input-group-text + .input-group-text,
.input-group-prepend .input-group-text + .btn,
.input-group-append .btn + .btn,
.input-group-append .btn + .input-group-text,
.input-group-append .input-group-text + .input-group-text,
.input-group-append .input-group-text + .btn {
  margin-left: -1px;
}

.input-group-prepend {
  margin-right: -1px;
}

.input-group-append {
  margin-left: -1px;
}

.input-group-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0.375rem 0.75rem;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  text-align: center;
  white-space: nowrap;
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.input-group-text input[type="radio"],
.input-group-text input[type="checkbox"] {
  margin-top: 0;
}

.input-group > .input-group-prepend > .btn,
.input-group > .input-group-prepend > .input-group-text,
.input-group > .input-group-append:not(:last-child) > .btn,
.input-group > .input-group-append:not(:last-child) > .input-group-text,
.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle),
.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group > .input-group-append > .btn,
.input-group > .input-group-append > .input-group-text,
.input-group > .input-group-prepend:not(:first-child) > .btn,
.input-group > .input-group-prepend:not(:first-child) > .input-group-text,
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.table-borderless tbody+tbody, .table-borderless td, .table-borderless th, .table-borderless thead th {
    border: 0 !important;
}

.align-middle {
  vertical-align: middle !important;
}

.shake {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 1em !important;
}

.mb-0 {
  margin-bottom: 0;
}

.float{
  display:none;
  position:fixed;
  width:60px;
  height:60px;
  bottom:40px;
  right:40px;
  background-color:#0C9;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  box-shadow: 2px 2px 3px #999;
} .my-float{
  margin-top:16px;
}

.lh-15 {
  line-height: 1.5 !important;
}

.locked .no-show {
  display: none !important;
}

.table.transparent {
  background-color: transparent;
}

.d-inline-block {
  display: inline-block !important;
}

.table>tbody>tr.inverse>td, .table>tbody>tr.inverse>th, .table>tbody>tr>td.inverse, .table>tbody>tr>th.inverse, .table>tfoot>tr.inverse>td, .table>tfoot>tr.inverse>th, .table>tfoot>tr>td.inverse, .table>tfoot>tr>th.inverse, .table>thead>tr.inverse>td, .table>thead>tr.inverse>th, .table>thead>tr>td.inverse, .table>thead>tr>th.inverse {
    background-color: #000;
    color: white;
}

.strikethrough {
  background: linear-gradient( 180deg, red 0%, red 100% );
  background-size: 100% 1px;
  background-position: center;
  background-repeat: no-repeat;
}

.navbar.navbar-with-logo {
  min-height: 70px;
}

.navbar-with-logo .navbar-nav>li>a {
  line-height: 42px;
}