/* Customize website's scrollbar like Mac OS  background-color: #393535
Not supports in Firefox and IE */

/* total width */
::-webkit-scrollbar {
  background-color: transparent;
  width: 6px;
}

/* background of the scrollbar except button or resizer */
::-webkit-scrollbar-track {
  background-color: transparent;
}

/* scrollbar itself */
::-webkit-scrollbar-thumb {
  /*background-color: rgba(0, 0, 0, 0.16);*/
  background-color: #2196f3;
  border-radius: 16px;
}

/* set button(top and bottom of the scrollbar) */
::-webkit-scrollbar-button {
  display: none;
}

html, body {
  min-height: 100%;
}

body {
  background-color: #010409;
  overflow-y: scroll;
  font-family: 'Poppins', sans-serif;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {

  background-color: white !important;
  -webkit-text-fill-color: darkslategray;
  transition: background-color 5000s ease-in-out 0s;
}

.navbar-right .badge {
  position: absolute;
  top: 5px;
  right: 0;
}

.box-shadow {
  box-shadow: 0px 5px 13px 0px rgba(0, 0, 0, 0.15);
}

.form-group .input-group .input-group-addon {
  padding-left: 0px;
}

.form-group > .input-group > .input-group-addon {
  padding-left: 0px;
}

.form-group > .input-group > .bmd-field-group {
  width: calc(100%);
}

.form-group .input-group .input-group-addon .bmd-icon {
  line-height: initial !important;
}

body * {
  -webkit-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

body > .loader {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 999;
  padding-top: 100px;
  background-color: #010409a3;
  opacity: 0;
}

body > .loader > .bmd-spinner {
  max-width: initial;
  width: 28px;
  height: 28px;
  position: absolute;
  top: 100px;
  left: calc(50% - 14px);
}

a {
  cursor: pointer;
}

.panel .panel-body,
.panel .panel-footer {
  padding: 20px;
}

.navbar {
  margin-bottom: 0px;
}

.header .lead {
  margin-bottom: 5px;
  margin-top: 6px;
}

.header {
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  margin-bottom: 20px;
  background-color: white;
}

.form-group .bmd-control-label {
  margin-top: 24px;
}

.form-group .bmd-field-group .bmd-field-feedback {
  display: block;
  margin-top: 5px;
}

.form-group {
  margin-bottom: 25px;
}

.has-error .bmd-field-feedback {
  color: #d32f2f;
}

.table tr th {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.indicator {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  opacity: 0.8;
}

.form-control.bmd-select {
  margin-top: 14px;
}

.manage-form .form-control.bmd-select {
  margin-top: 5px;
}

.panel-body > .formgroup {
  margin-top: 34px;
  margin-bottom: 0px;
}

.panel-body > .formgroup:first-of-type {
  margin-top: 0px;
}

.manage-form .form-group {
  margin-bottom: 5px;
}

.manage-form.form-group .bmd-control-label {
  margin-top: 15px;
}

.manage-form .bmd-field-group {
  padding-top: 2px;
}

.form-group.manage-form {
  margin-bottom: 15px;
}

iframe.storage {
  border: 0;
  width: 100%;
  height: calc(100vh - 220px);
}

.modal .modal-wide {
  width: 90vw;
}

.background-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.download-file,
.preview-pdf-single {
  margin-top: 10px;
}

.preview-image-single {
  width: 100px;
  height: 100px;
  margin-top: 10px;
  margin-right: 10px;
  border-radius: 5px;
  float: left;
}

.preview-image-single .close {
  color: white;
  opacity: 1;
}

.modal .full-screen-image {
  max-width: 100%;
  border-radius: 5px;
  max-height: 70vh;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.manage-form-element-checkbox .element-input {
  text-align: left;
}

@media (max-width: 991px) {
  .manage-form-element-checkbox .element-input {
    text-align: right;
  }
}

.manage-form-element-imagesingle .container-fluid,
.manage-form-element-imagemultiple .container-fluid {
  padding-left: 0px;
  padding-right: 0px;
  margin-bottom: 10px;
}

.table-preview-image {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  cursor: pointer;
}

.modal-backdrop {
  background-color: black;
}

.modal-backdrop.in {
  opacity: 0.7;
}

[data-position-container],
[data-position-container] * {
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

.sortable {

}

.sortable:after {
  content: " ";
  display: table;
}

.sortable .item {
  float: left;
  margin-right: 15px;
  margin-top: 15px;
}

.sortable .item.ui-sortable-placeholder {
  background: #ffa4a4;
  visibility: visible !important;
  opacity: 1;
  border-radius: 5px;
  border: 1px solid #f75f5f;
}

.sortable .item.ui-sortable-placeholder {
  width: 120px;
  height: 118px;
}

.bmd-fab-speed-dial-list > li {
  margin-bottom: 3px;
}

.bmd-fab-speed-dialer.press + .bmd-fab-speed-dial-list {
  margin-right: -45px;
}

.sortable .table-preview-image {
  width: 120px;
  height: 120px;
}

.form-group .input-group .bmd-field-group .bmd-label {
  top: 0px;
}

.form-group .input-group .bmd-field-group .bmd-label.down {
  top: 20px;
}

.manage-form .element-input .bmd-field-group .bmd-label {
  top: -8px;
}

.manage-form .element-input .bmd-field-group .bmd-label.down {
  top: 10px;
}

.category-container .category-preview {
  width: 150px;
  height: 150px;
  border-radius: 5px;
  margin-right: 10px;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  float: left;

  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

.category-container .category-preview .title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background-color: white;
  margin: 0;
  line-height: 30px;
  padding-left: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 10px;
}

.category-container .category-preview .delete {
  position: absolute;
  right: 10px;
  top: 10px;
}

.category-preview-position-container {

}

.category-preview-position-container .category-preview-position {
  float: left;
  width: 30%;
  height: 180px;
  margin-bottom: 30px;
  margin-right: 3.3%;
  position: relative;
}

.category-preview-position-container .category-preview-position .title {
  background-color: white;
  position: absolute;
  bottom: 0;
  width: 100%;
  margin: 0;
  padding: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-preview-position-container * {
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

.category-preview-position-container .ui-sortable-placeholder {
  background: #ffa4a4;
  visibility: visible !important;
  opacity: 1;
  border-radius: 5px;
  border: 1px solid #f75f5f;
}


[data-editor-item-content].row {
  margin-top: 15px;
}

.delete-editor-cell {
  position: absolute;
  right: -20px;
  top: -20px;
  z-index: 100;
}

.editor-cell-container {
  position: relative;
}

.trumbowyg-editor, .trumbowyg-textarea,
.trumbowyg-box, .trumbowyg-editor {
  min-height: 150px !important;
}

.overflow-visible {
  overflow: visible !important;
}

.color-picker-container {
  width: 100%;
  height: 60px;
  position: relative;
  border-radius: 30px;
  cursor: pointer;
  border: 1px solid #dedede;
}

.color-picker-container > div {
  position: absolute;
  top: 9px;
  left: 9px;
  width: calc(100% - 70px);
  height: 40px;
  border-radius: 20px;
}

.color-picker-container > a {
  position: absolute;
  top: 9px;
  right: 10px;
}

.colorpicker,
.colorpicker * {
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

.dropdown-menu li a i {
  margin-right: 8px;
}

[data-sign-out] i {
  margin-right: 5px;
}


[data-control-link] .form-group {
  margin-top: 10px;
}

.dropdown-menu > li > a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bmd-select > .dropdown-menu {
  max-height: 300px;
  overflow-y: auto;
}

.dropdown.bmd-select .dropdown-toggle span.bmd-selected-value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 92%;
  display: inline-block;
}

.preview-file-single {
  margin-top: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.storage-iframe {
  border: 0;
  height: 65vh;
  width: 100%;
}

.storage-container {
  width: 100%;
  border: 0;
  height: calc(100vh - 60px);
  margin: 0 !important;
}

form.bmd-form .panel-body > hr:first-of-type {
  display: none;
}

.positioning .item {

  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;

  width: 100%;
  padding: 16px;
  position: relative;
  max-height: 52px;
  overflow: hidden;
  background: #161b22;
  cursor: pointer;
}

.positioning .item .fa {
  position: absolute;
  right: 16px;
}

.positioning .item.ui-sortable-placeholder {
  width: 100%;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.03);
  border-color: lightgray;
  border-style: dashed;
  max-height: 52px;
}

.pagination {
  margin: 0px 0;
}

.no-animation, .no-animation * {
  transition: none;
}

.select-multi .sortable-item {
  max-height: 70px;
  min-height: 70px;
  cursor: pointer;
}

.select-multi .sortable-item .panel {
  max-height: 50px;
  overflow: visible;
}

.select-multi .sortable-item .panel-body {
  padding: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  height: 48px;
  overflow: hidden;
  background-color: #282828;
  border-radius: 5px;
  color: white;
}

.bg-image {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.bg-image.bg-image-contain {
  background-size: contain;
}

.panel .panel-image {
  height: 50px;
  width: 50px;
  float: left;
}

.select-multi-iframe {
  border: none;
  width: 100%;
  min-height: 60vh;
}

.select-multi .select-multi-container {
  margin-top: 15px;
}

.select-multi .panel a {
  position: absolute;
  right: -10px;
  top: -10px;
}


.panel-product {
  margin-top: 0;
  margin-bottom: 0;
  display: block;
  max-height: 50px;
  text-decoration: none !important;
}

.panel-product .panel-body {
  padding: 0;
  padding-left: 60px;
  padding-top: 6px;
}

.google-pdf-viewer {
  width: 100%;
  height: 70vh;
  border: 0;
}

.disk {
  height: 75px;
  background: #2196f347;
  position: relative;
}

.disk .used {
  position: absolute;
  width: 100%;
  bottom: 0;
  background: #d32f2f;
}

.custom-table tr {
  border-bottom: 1px solid #30363d;
}

.custom-table tr:first-child td {
  padding-top: 0;
}

.custom-table tr:last-child {
  border: 0;
}

.custom-table tr td {
  padding-top: 15px;
  padding-bottom: 15px;
  vertical-align: top;
}

.custom-table tr:last-child td {
  padding-bottom: 0px;
}

.custom-table tr td:first-child {
  width: 90px;
}

.custom-table label {
  margin-bottom: 0px;
}

.block-info {
  display: flex;
  align-items: stretch;
}

.block-info .chart {
  height: 100%;
}

.custom-table.xs tr td:first-child {
  width: 80px;
}

@media (max-width: 420px) {
  .custom-table.xs tr td:first-child {
    width: 60px;
  }
}

.element-input.info-value {
  padding-top: 13px;
  word-break: break-word;
}

.bmd-fab.bmd-fab-sm .fa {
  width: 38px;
  max-width: 39px;
  height: 38px;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-content: space-around;
  justify-content: center;
  align-items: center;
}

.custom-filter-input .form-group.manage-form {
  margin-bottom: 0;
}

@media (min-width: 1200px) {
  .container {
    width: 80%;
  }
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
  word-break: break-all;
  min-width: 160px;
  width: 100%;
}

td.controls {
  min-width: 60px !important;
  max-width: 60px !important;
  width: 60px !important;
}

td.image, td.mini {
  min-width: 76px !important;
  max-width: 76px !important;
  width: 76px !important;
}

th.controls {
  min-width: 60px !important;
  max-width: 60px !important;
  width: 60px !important;
}

th.image, th.mini {
  min-width: 76px !important;
  max-width: 76px !important;
  width: 76px !important;
}

.attachments:after {
  clear: both;
}

.attachments .attachment.image {
  height: 150px;
  width: 150px;
  background-size: contain;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  min-width: 150px;
  float: left;
  margin: 5px;
}

td.middle, th.middle {
  max-width: 120px !important;
  min-width: 120px !important;
  width: 120px !important;
}

td.large, th.large {
  max-width: 200px !important;
  min-width: 200px !important;
  width: 200px !important;
}

table.table {
  table-layout: fixed;
}

textarea#content {
  padding-left: 0;
}

.navbar {
  border-radius: 0 !important;
}

/********************/

body {
  overflow: hidden;
  color: #c9d1d9;
}

body.side-menu-opened .main-layout .side-menu {
  width: 250px;
  min-width: 250px;
}

@media (min-width: 992px) {
  body .main-layout .side-menu {
    width: 250px !important;
    min-width: 250px !important;
    z-index: 2;
  }
}

.main-layout {
  display: flex;
  height: 100vh;
}

.main-layout .side-menu {
  width: 70px;
  min-width: 70px;
  overflow: hidden;
  overflow-y: auto;
  background-color: #0d1117;
  border-right: 1px solid #21262d;
  z-index: 3;
}

.main-layout .side-menu .navbar-nav > li {
  float: none !important;
}

@media (max-width: 992px) {
  .main-layout .side-menu {
    width: 0;
    min-width: 0;
  }
}

.main-layout .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 320px;
}

.main-layout .content .topbar {
  height: 60px;
  min-height: 60px;
  background-color: #161b22;
  box-shadow: 0 -10px 20px 6px #000000a1;
  z-index: 1;
}

.main-layout .content .main {
  flex: 1;
  max-height: calc(100vh - 60px);
  overflow: auto;
}

.side-menu label {
  margin-bottom: 0;
}

.side-menu .panel-heading {
  cursor: pointer;
}

.side-menu .panel-body {
  padding: 0;
}

.side-menu .dropdown-menu {
  position: initial;
  display: block;
  box-shadow: none;
  border: 0;
  width: 100%;
}

.panel {
  background-color: #0d1117;
  border-color: #30363d;
}

.header {
  background-color: #0d1117;
  border-bottom: 1px solid #21262d;
}

.bmd-field-group .bmd-input, .dropdown.bmd-select .dropdown-toggle {
  border-color: #ffffff73;
}

.sidemenu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidemenu > li {

}

.sidemenu > li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none !important;
  position: relative;
  color: #a6b0cf;
}

.sidemenu > li a:hover {
  color: white;
}

.sidemenu > li > a:after {
  content: "\f106";
  position: absolute;
  font: normal normal normal 14px/1 FontAwesome;
  right: 15px;
  height: 10px;
  line-height: 10px;
  width: 10px;
  top: calc(50% - 5px);
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.sidemenu > li.opened > a:after {
  transform: rotate(180deg);
}

.sidemenu > li > a > i {
  padding-right: 20px;
}

.sidemenu > li > ul {
  padding: 0;
}

.sidemenu > li.opened {
  background-color: #161b22;
}

.sidemenu > li > ul > li {
  height: 0;
  overflow: hidden;
}

.sidemenu > li.opened > ul > li {
  height: 40px;
  overflow: hidden;
}

.topbar-container {
  height: 100%;
}

.topbar-container > .row {
  display: flex;
  align-items: center;
  height: 100%;
}

hr {
  border-color: #30363d;
}

.input-group-addon, input, textarea {
  color: #c9d1d9 !important;
}

.bmd-field-group .bmd-input:valid ~ .bmd-label, .bmd-field-group .bmd-textarea:valid ~ .bmd-label {
  color: #c9d1d9;
}

.form-group.has-primary .bmd-field-group .bmd-label {
  color: #2196f3;
}

.bmd-bar:after, .bmd-bar:before {
  background-color: #0d1117cf;
}

.form-control,
.form-control.bmd-select.open > .dropdown-toggle,
.dropdown.bmd-select .dropdown-toggle,
.dropdown-menu > li > a {
  color: #c9d1d9;
}

.bmd-select.open > .dropdown-menu {
  background-color: #161b22;
  border: 1px solid #30363d;
}

.dropdown-menu .divider {
  background-color: #e5e5e52e;
}

.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
  color: white;
  background-color: transparent;
}

.side-menu-backdrop {
  display: none;
}

@media (max-width: 992px) {
  .side-menu-backdrop {
    display: block;
    position: absolute;
    background: #0000009c;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    transition: opacity .2s ease-in-out;
    visibility: hidden;
  }

  .side-menu-opened .side-menu-backdrop {
    visibility: visible;
    opacity: 1;
  }

  .topbar .navbar-brand {
    padding-left: 0;
  }
}

.h4, .h5, .h6, h4, h5, h6 {
  margin-top: 0;
}

.main-layout .content .topbar {
  display: none;
}

@media (max-width: 992px) {
  .main-layout .content .topbar {
    display: block;
  }
}

@media (min-width: 992px) {
  .header {
    position: fixed;
    width: calc(100% - 250px);
    top: 0;
  }

  .main-layout .content .main {
    margin-top: 82px;
  }

  .table-container, .form-container {
    margin-top: 20px;
  }
}

.panel-footer {
  background-color: #161b22;
  border-color: #21262d;
}

.paginator-container {
  display: flex;
  align-items: center;
}

.pagination > li > a, .pagination > li > span {
  background-color: #0d1117;
  border: 1px solid #dddddd29;
}

.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover {
  background-color: transparent;
  border-color: #dddddd29;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #010409;
}

.table-hover > tbody > tr:hover {
  background-color: inherit;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
  border-bottom: 0;
  border-top: 1px solid #282828;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-brand {
  float: none;
  display: flex;
  height: 60px;
  align-items: center;
}

.trumbowyg-box, .trumbowyg-editor {
  background-color: #f6fbff;
}

.logout {
  margin: 15px 15px;
  width: calc(100% - 30px);
}

.nav-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: space-between;
}

.sidemenu {
  flex: 1;
  max-height: calc(100vh - 120px);
  overflow: hidden;
  overflow-y: auto;
}

.bmd-modal-dialog .modal-content {
  background-color: #0d1117;
}

.modal-header {
  border: 0;
  border-bottom: 1px solid #21262d;
  background-color: #161b22;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.modal-content {
  border-radius: 8px;
  overflow: hidden;
}

.close {
  text-shadow: none;
}

.modal-body {
  padding-top: 30px;
  padding-bottom: 30px;
}

.modal-title {
  color: white;
}

.btn-default {
  color: #c9d1d9;
  background-color: #21262d;
  border-color: rgba(240, 246, 252, 0.1);
}

.btn-default:hover {
  border-color: rgba(240, 246, 252, 0.2);
  background-color: transparent;
  color: white;
}

.alert-danger {
  background-color: #6a000b63;
  border-color: #ffcdd23d;
  color: #a7a5a5;
  margin-bottom: 0;
}

.embed-responsive-item {
  border-radius: 10px;
}

.editor-items .toolbar {
  margin-top: 20px;
  margin-bottom: 20px;
}

.editor-items .editor-item {
  position: relative;
}

.editor-items .editor-item .content {
  padding-right: 50px;
}

.editor-items .editor-item .remove-item {
  position: absolute;
  right: 0;
  top: 0;
}

.editor-items .editor-item-images .image {
  display: inline-block;
  height: 100px;
  width: 100px;
  margin-bottom: 10px;
  margin-right: 10px;
  position: relative;
  border-radius: 6px;
  cursor: pointer;
  float: left;
  transition: none;
  background-size: cover;
}

.editor-items .editor-item-images .image .description {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  background: black;
  padding: 5px;
}

.editor-items .editor-item-images .image .btn {
  position: absolute;
  right: -10px;
  top: -10px;
  zoom: 0.7;
}

.editor-items .editor-item-images .image-holder {
  display: inline-block;
  height: 100px;
  width: 100px;
  margin-bottom: 10px;
  margin-right: 10px;
  position: relative;
  border-radius: 6px;
  cursor: pointer;
  background: #2d2d2d;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.mb-3 {
  margin-bottom: 30px;
}

.mb-2 {
  margin-bottom: 20px;
}

video.play-video {
  width: 100%;
}