/*!
Copyright (c) REBUILD <https://getrebuild.com/> and/or its owners. All rights reserved.

rebuild is dual-licensed under commercial and open source licenses (GPLv3).
See LICENSE and COMMERCIAL in the project root for license information.
*/

:root {
  --rb-color: #4285f4;
  --rb-theme-color: #4285f4;
  --rb-btn-hover-color: #0d5bdd;
  --rb-btn-active-color: #2572f2;
}

.bosskey-show,
.dev-show {
  display: none !important;
}

.admin-show {
  display: none;
}

html.commercial .rbv {
  display: none !important;
}

html.admin .admin-show {
  display: block;
}

html.admin .admin-show.inline {
  display: inline-block;
}

html.admin .admin-show.row {
  display: flex;
}

html,
body {
  min-width: 360px;
  /*min-width: 1001px;*/
  /*overflow: auto !important;*/
}

a,
button {
  cursor: pointer;
}

a[disabled],
button[disabled] {
  cursor: not-allowed !important;
}

a[disabled] {
  color: #aaa !important;
}

code {
  color: #e83e8c;
  font-family: ui-monospace, 'Cascadia Mono', 'Segoe UI Mono', 'Liberation Mono', Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

/* 1280 */
.container-smart {
  max-width: 1160px;
}

.dropdown-menu {
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1), 0 10px 12px 0 rgba(170, 182, 206, 0.36);
  border-width: 0;
  border-radius: 0;
  max-width: 300px;
  user-select: none;
}

.dropdown-menu.auto-scroller {
  max-height: 488px;
  overflow-x: auto;
}

.dropdown-menu.primary > .dropdown-item:hover,
.dropdown-menu.primary > a.dropdown-item:hover {
  background-color: #4285f4;
  color: #fff;
}

.dropdown-menu.primary > .dropdown-item:hover .icon {
  color: #fff;
}

.dropdown-menu.dropdown-menu-sm {
  min-width: 140px;
}

.dropdown-item.disabled {
  cursor: not-allowed;
}

.dropdown-item.disabled .icon,
.dropdown-item:disabled .icon,
.dropdown-item[disabled] .icon {
  color: #878787 !important;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu.disabled > .dropdown-menu {
  display: none !important;
}

.dropdown-submenu.disabled > .dropdown-item {
  color: #878787 !important;
  background-color: transparent !important;
  cursor: default !important;
}

.dropdown-submenu > a::after {
  display: block;
  content: ' ';
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 4px;
  margin-right: -8px;
}

.dropdown-submenu:hover > a::after {
  border-left-color: #ccc;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}

.zmdi-hc-rotate-45 {
  transform: rotate(45deg);
}

.pagination.pagination-sm .page-link {
  min-width: 28px;
}

.pagination.pagination-rounded .page-link > .icon {
  margin-top: -5px;
}

.text-disabled {
  color: #aaa !important;
  cursor: default;
}

.text-underline {
  text-decoration: underline;
}

.text-italic {
  font-style: italic;
}

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

.text-wrap,
.text-break {
  word-break: break-all;
  word-wrap: break-word;
  white-space: normal !important;
}

.text-overflow {
  overflow: hidden;
}

.text-none:empty::after {
  content: attr(_title);
  color: #999;
}

.badge {
  font-weight: normal !important;
  font-style: normal !important;
}

.badge.badge-light,
.badge.badge-secondary {
  line-height: 1.1586rem;
}

.badge.text-id {
  color: #555;
  font-size: 12px !important;
  text-transform: uppercase;
}

a.badge.text-id {
  color: #4285f4;
  cursor: pointer;
  line-height: 1.2 !important;
}

a.badge.text-id:hover {
  border-color: #4285f4;
}

.bg-eee {
  background-color: #eee;
}

a.link.inline {
  position: relative;
  display: inline-block;
}

.up-1 {
  transform: translateY(-1px);
}

.up-2 {
  transform: translateY(-2px);
}

.up-3 {
  transform: translateY(-3px);
}

.up-4 {
  transform: translateY(-4px);
}

.up-5 {
  transform: translateY(-5px);
}

.down-1 {
  transform: translateY(1px);
}

.down-2 {
  transform: translateY(2px);
}

.down-3 {
  transform: translateY(3px);
}

.down-4 {
  transform: translateY(4px);
}

.down-5 {
  transform: translateY(5px);
}

.hide-empty:empty {
  display: none;
}

.btn {
  min-height: 2.8rem;
  min-width: 88px;
}

.btn-group.w-auto > .btn,
.btn.w-auto,
.nav-link.w-auto {
  min-width: 34px !important;
}

.btn.w-auto {
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
}

a.btn {
  line-height: 2.68rem;
}

.input-group .btn,
.input-group-sm .btn {
  width: auto;
  min-width: 2.8rem;
}

.btn-lg {
  min-width: 108px;
}

.btn-xl {
  height: 3.4rem;
}

.border-none {
  border-width: 0 !important;
}

.btn.btn-link {
  box-shadow: 0 0 0 transparent;
  color: #4285f4 !important;
  line-height: 2.8rem;
  text-decoration: none !important;
}

.btn.btn-link.btn-sm {
  line-height: 30px;
}

.btn.btn-link:hover {
  color: #0d5bdd !important;
}

.btn-link.disabled,
.btn-link.disabled:hover,
.btn-link.disabled:active,
.btn-link[disabled],
.btn-link[disabled]:hover,
.btn-link[disabled]:active {
  color: #aaa !important;
  cursor: default;
}

.btn .icon {
  min-width: 12px;
  transform: translateY(-1px);
}

.btn .icon.x14 {
  font-size: 1.431rem;
}

.dropup .dropdown-toggle::after {
  display: none;
}

.navbar-nav .dropdown > .nav-link:hover > .icon,
.bottom-widget > a:hover > .icon {
  opacity: 0.8;
}

.rb-left-sidebar .sidebar-elements a > .icon.zmdi-layers {
  font-size: 22px;
  margin-top: 0;
}

.rb-left-sidebar .sidebar-elements a > .icon.zmdi-puzzle-piece {
  font-size: 18px;
}

.rb-left-sidebar .sidebar-elements .sub-menu-ul .divider {
  padding: 0 15px 0 47px;
}

.rb-collapsible-sidebar-collapsed .rb-left-sidebar .sidebar-elements .sub-menu-ul .divider {
  padding: 0 15px 0 25px;
  height: auto;
  text-indent: unset;
}

.rb-color-header .rb-top-header .rb-navbar-header .rb-toggle-left-sidebar .icon {
  color: rgba(255, 255, 255, 0.7);
}

.rb-color-header .dropdown > a > .icon {
  color: #fff;
}

.logo-img {
  height: 30px;
  width: 150px;
  background: url(../img/logo.png) center center no-repeat;
  background-size: auto 30px;
  display: block;
  margin: 0 auto;
  cursor: default;
}

.logo-img.white {
  background-image: url(../img/logo-white.png);
}

.alert-sm > .icon {
  width: 42px;
  font-size: 1.6rem;
}

.alert-sm.alert-icon > .icon::after {
  right: -7px;
}

.alert-sm > .message {
  padding: 0.8rem 0.8rem 0.8rem 1.3rem;
  line-height: 22px;
}

.alert-sm .close {
  padding: 0.95rem 0;
}

.alert-danger.alert-sm .icon {
  border-top: 1px solid #ea4335;
}

.input-search,
.input-search input {
  height: 2.8rem;
  background-color: #fff;
}

.input-search input {
  border-radius: 2px;
}

.input-search input + .btn-input-clear {
  position: absolute;
  right: 35px;
  top: 3px;
  border: 0 none;
  padding: 0;
  min-width: auto;
  min-height: auto;
  width: 1.4rem;
  height: 2.4rem;
  background: #fff;
  color: #737373;
  z-index: 10;
  display: none;
}

.input-search input + .btn-input-clear:hover {
  color: #5a5a5a;
}

.input-search input + .btn-input-clear::before {
  font-family: 'Material-Design-Iconic-Font', serif;
  font-size: 1.308rem;
  content: '\f136';
}

.input-search input:not(:placeholder-shown) + .btn-input-clear {
  display: block;
}

.form-control.search {
  border-color: #d5d8de;
}

.form-control.search:focus,
.input-search input:focus {
  border-color: #bababa;
}

.input-search .input-group-btn button {
  height: 2.6rem;
  min-height: 2.6rem;
  min-width: auto;
  box-shadow: none !important;
}

.input-search button .icon,
.adv-search button .icon {
  font-size: 17px !important;
  color: #737373;
}

.adv-search button .indicator-primary {
  top: 5px;
  right: 5px;
}

.input-search .input-group-btn.plus {
  margin-right: -36px;
  margin-top: -1px;
}

.input-search .input-group-btn.plus button {
  border: 1px solid #dbdbdb;
  height: 2.8rem;
  padding: 0 8px;
  min-width: 35px;
  border-radius: 0 2px 2px 0;
  border-left: 0 none;
}

.custom-control-label {
  line-height: 1.9;
  color: #444;
  color: #404040;
}

.custom-control-sm .custom-control-label {
  line-height: 1.5;
}

.custom-control.custom-control-sm {
  padding-left: 1.9377rem;
}

.custom-control.custom-control-sm.pl {
  padding-left: 1.9377rem !important;
}

/*
.custom-radio.custom-control-sm .custom-control-input:checked~.custom-control-label::after {
    font-size: 13px;
    padding-top: 0.15rem;
}

.custom-radio .custom-control-input:checked~.custom-control-label::after {
    content: "\f26b";
}
*/

.custom-radio.custom-control-sm .custom-control-input:checked ~ .custom-control-label::after {
  font-size: 12px;
  margin-left: 0;
  margin-top: 2px;
}

.badge + .badge {
  margin-left: 3px;
}

a.hover-color {
  color: #4285f4;
  border-color: #4285f4 !important;
}

a.hover-color:hover {
  color: #0d5bdd;
  border-color: #0d5bdd !important;
}

a.hover-opacity {
  opacity: 1;
}

a.hover-opacity:hover {
  opacity: 0.8;
}

.table tbody tr.muted td:first-child {
  border-left: 3px solid #bbb;
  padding-left: 17px;
}

.table-fixed {
  table-layout: fixed;
}

.form-group.row.text {
  padding: 6px 0;
}

div.dataTables_wrapper div.dataTables_filter {
  margin-bottom: 5px;
}

.datetimepicker.dropdown-menu .switch {
  padding-top: 5px;
}

.datetimepicker.dropdown-menu .fa {
  display: inline-block;
  font: normal normal normal 14px/1 'Material-Design-Iconic-Font';
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1.615rem;
}

.datetimepicker.dropdown-menu .fa.fa-arrow-left::before {
  content: '\f2fa';
}

.datetimepicker.dropdown-menu .fa.fa-arrow-right::before {
  content: '\f2fb';
}

.datetimepicker th.clear {
  font-weight: normal;
}

div.dataTables_filter .filter-badge {
  float: left;
  padding: 4px 10px;
  font-size: 1rem;
  font-weight: normal;
  margin-left: 4px;
  margin-top: 4px;
  cursor: default;
  border-radius: 99px 99px 99px 0;
}

div.dataTables_filter .filter-badge .close {
  opacity: 1;
  text-shadow: none;
  font-weight: normal;
  color: #fff;
  margin-left: 6px;
}

div.dataTables_filter .filter-badge:hover .close {
  opacity: 0.8;
}

.adv-search,
.input-search {
  margin-right: 5px;
}

.adv-search .btn-group,
.adv-search .btn-group .dropdown-menu,
.input-search,
.input-search input {
  width: 227px;
}

.adv-search .btn {
  border-radius: 0 2px 2px 0 !important;
  height: 2.8rem;
  line-height: 2.7rem;
  position: relative;
  border-color: #d5d8de;
  box-shadow: 0 0 0 #fff !important;
  min-width: 0;
}

.adv-search .btn.dropdown-toggle {
  text-align: left;
  width: 100%;
  border-radius: 2px 0 0 2px !important;
}

.adv-search .btn-group.show .btn,
.adv-search .btn:hover {
  border-color: #bababa;
  background-color: #fff;
}

.adv-search .btn > span {
  display: inline-block;
  max-width: 185px;
}

.adv-search .btn.dropdown-toggle .icon {
  position: absolute;
  margin-top: 10px;
  right: 8px;
}

.adv-search .J_filterbtn .icon {
  font-size: 15px !important;
}

.adv-search .dropdown-menu.rb-scroller {
  max-height: 402px;
}

.adv-search .dropdown-item {
  position: relative;
  cursor: pointer;
}

.adv-search .dropdown-item a {
  width: 150px;
}

.rb-aside .page-head {
  margin-left: 280px;
}

.modal-lg,
.modal-lg .modal-content {
  max-width: 780px;
}

.modal-xl,
.modal-xl .modal-content {
  max-width: 1000px;
}

.modal-xl .modal-content .modal-header .close {
  margin-top: -10px;
}

.modal-header .close + .close {
  margin-left: 6px;
}

.modal-header .close .zmdi-settings {
  font-size: 1.4rem;
}

.modal.rbmodal .modal-dialog .modal-body {
  min-height: 162px;
  padding-top: 20px;
}

.modal.rbmodal .modal-header > .icon {
  color: #fff;
}

.rbmodal.show,
.rbview.show {
  display: block !important;
}

.rbmodal.use-white .modal-header {
  border-bottom: 1px solid #dee2e6;
}

.rbmodal.use-white .modal-body.iframe iframe {
  min-height: 497px;
  min-height: 500px;
}

.rbview.modal {
  z-index: 1051;
}

.rbview.modal.top60 {
  top: 61px;
}

.rbview.show .modal-content {
  overflow: hidden;
}

.modal.rbalert .modal-dialog {
  max-width: 551px;
}

.modal.show.rbalert {
  z-index: 1051;
}

.modal-backdrop.show.rbalert {
  z-index: 1050;
}

.modal-body.iframe {
  padding: 0 !important;
  height: 100%;
  width: 100%;
  line-height: 1;
  font-size: 0;
}

.modal-body.iframe iframe {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.iframe.rb-loading::after {
  background: #fff;
}

body.dialog,
body.view-body {
  background-color: #fff;
}

body.dialog .main-content {
  min-height: 162px;
  overflow: hidden;
}

.dialog-footer {
  border-top: 1px solid #eee;
  padding: 18px 25px 0;
  text-align: right;
  margin: 15px -20px -5px;
}

.dialog-footer > .float-left > .custom-control {
  margin: 4px 0 0;
}

.modal-body > .dialog-footer {
  margin-left: -15px;
  margin-right: -15px;
}

.modal-body > .dialog-footer > .btn-space:last-child {
  margin-right: 0;
}

body.dialog .main-content .footer,
.rbform .footer {
  padding-bottom: 4px;
}

body.view-body {
  min-height: 100%;
}

.select2-search--dropdown .select2-search__field {
  padding: 3px 6px;
}

.select2.select2-container {
  width: 100%;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  margin-top: 4px;
  margin-right: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
}

.select2-container--default.select2-container--disabled .select2-selection--multiple .select2-selection__choice {
  margin-top: 5px;
  background-color: rgba(0, 0, 0, 0.06);
}

.select2-container--default.select2-container--disabled .select2-search.select2-search--inline {
  display: none;
}

.select2-container--default .select2-results__group {
  color: #777;
  font-size: 12px;
  font-weight: normal;
  padding: 6px 10px;
}

.select2-container--default .select2-results__option .select2-results__option {
  padding-left: 22px;
}

.select2-container--default .select2-results__group::after {
  content: '';
  display: block;
  float: right;
  color: #4285f4;
}

.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single {
  border-width: 1px;
  border-top-color: #bdc0c7;
}

.select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field,
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  color: #222222;
}

/* .select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field {
  max-width: 100%;
  min-width: 21px;
} */

.select2-container--default.select2-container--focus .select2-selection.select2-selection--multiple {
  border-color: #4285f4;
}

.select2-container--default.select2-tag .select2-results__option--highlighted:not([id])::after {
  font-family: 'Material Design Icons', serif;
  content: '\F0311';
  float: right;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
}

.select2-container--default .select2-results__option .badge {
  line-height: 1.3;
  margin: 0 0 0 5px;
}

textarea.row1x {
  height: 37px !important;
  resize: none;
  padding-top: 7px;
}

textarea.row2x {
  height: 52px !important;
  resize: none;
}

textarea.row3x {
  height: 72px !important;
  resize: none;
}

.mlr-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.rb-scroller {
  position: relative;
}

.form-control-plaintext {
  font-size: 1rem;
  padding: 8px 0;
}

.form-control.text {
  border-width: 0;
  padding: 4px 8px !important;
  background-color: rgba(0, 0, 0, 0.03);
}

.form-control.text:hover,
.form-control.text:focus {
  background-color: rgba(0, 0, 0, 0.05);
}

select.form-control:not([disabled]) {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0iIzU4NjA2OSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNC40MjcgOS40MjdsMy4zOTYgMy4zOTZhLjI1MS4yNTEgMCAwMC4zNTQgMGwzLjM5Ni0zLjM5NkEuMjUuMjUgMCAwMDExLjM5NiA5SDQuNjA0YS4yNS4yNSAwIDAwLS4xNzcuNDI3ek00LjQyMyA2LjQ3TDcuODIgMy4wNzJhLjI1LjI1IDAgMDEuMzU0IDBMMTEuNTcgNi40N2EuMjUuMjUgMCAwMS0uMTc3LjQyN0g0LjZhLjI1LjI1IDAgMDEtLjE3Ny0uNDI3eiIgLz48L3N2Zz4=');
  background-repeat: no-repeat;
  background-position: center right 3px;
  padding-right: 15px;
  background-size: 16px;
}

div.link a:hover,
p.link a:hover,
li.link a:hover,
a.link:hover,
a.column-url:hover {
  text-decoration: underline !important;
}

a.link.link-icon::after {
  content: '\f1a3';
  font-family: 'Material-Design-Iconic-Font', serif;
  margin-left: 3px;
}

/* rbform */

.form-layout > .row {
  display: flex;
}

.form-layout > .row .form-group {
  display: flex;
  margin: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}

.form-layout > .row .form-group > .col-form-label {
  width: 150px;
  padding-right: 17px;
  text-align: right;
  flex-shrink: 0;
}

.form-layout > .row .form-group > .col-form-control {
  flex: 1;
  position: relative;
}

.form-layout .form-line,
.form-layout .form-line-breaked {
  width: 100%;
  margin-left: 15px;
  margin-right: 15px;
}

.form-layout .collapsed-hide {
  display: none !important;
}

.rbform > .row.form {
  padding-top: 5px;
  padding-bottom: 5px;
}

.rbform > .dialog-footer {
  margin-left: -15px;
  margin-right: -15px;
}

.modal-dialog-scrollable .modal-body {
  padding-bottom: 0 !important;
}

.modal-dialog-scrollable .rbform > .dialog-footer {
  position: sticky;
  left: 0;
  right: 0;
  bottom: 1px;
  bottom: 0;
  background-color: #fff;
  z-index: 6;
  padding-bottom: 18px;
}

.modal-dialog.modal-dialog-maximize {
  margin: 0;
  padding: 20px;
}

.modal-dialog.modal-dialog-maximize .modal-header .mdi.mdi-window-maximize::before {
  content: '\F05B2';
}

.modal-dialog.modal-dialog-maximize .modal-content {
  margin: 0 auto;
}

.rbform > form > .alert {
  margin: 20px 20px 0;
}

.rbform-alert {
  margin: -20px -15px 20px;
  text-align: center;
  padding: 10px 30px;
  border-radius: 0;
  color: #836203;
  font-weight: normal;
}

.rbform-alert p {
  margin: 0;
}

.type-IMAGE {
  padding-bottom: 1px !important;
}

.type-FILE {
  padding-bottom: 4px !important;
}

.form-group.row.type-BOOL {
  padding: 7px 0 0;
}

.type-BOOL .mt-1 {
  margin-top: 0.25rem !important;
}

.type-BOOL .mt-1 + .form-text {
  margin: 0;
}

.type-REFERENCE .col-form-control,
.type-CLASSIFICATION .col-form-control,
.type-PICKLIST .col-form-control {
  overflow: hidden;
}

.rbform .select2-container--default .select2-selection--multiple .select2-selection__clear,
.rbview-form .select2-container--default .select2-selection--multiple .select2-selection__clear {
  margin-right: 18px;
}

.type-REFERENCE .select2-container--default .select2-selection--single .select2-selection__arrow b::after {
  right: 7px;
  top: 8px;
}

.type-N2NREFERENCE .select2-container--default .select2-selection--multiple::after {
  content: '\f2f9';
  font-family: 'Material-Design-Iconic-Font', serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 35px;
  color: #222222;
  position: absolute;
  right: 10px;
}

.type-N2NREFERENCE .form-control-plaintext > a:last-child::after {
  content: '';
}

.rbform .type-MULTISELECT {
  padding-bottom: 4px !important;
}

.type-MULTISELECT .mt-1 {
  margin-top: 0.25rem !important;
}

.type-MULTISELECT .custom-checkbox,
.type-PICKLIST .custom-radio {
  margin-bottom: 0.61rem;
  margin-right: 2%;
  min-width: 23%;
  max-width: 100%;
  overflow: hidden;
}

.col-sm-3.type-MULTISELECT .custom-checkbox,
.col-sm-3.type-PICKLIST .custom-radio {
  margin-right: 0;
  min-width: 100%;
}

.col-sm-4.type-MULTISELECT .custom-checkbox,
.col-sm-4.type-PICKLIST .custom-radio {
  min-width: 48%;
}

.type-LOCATION .form-control.bg-white {
  cursor: text;
}

.type-TAG .select2-selection__clear,
.type-MULTISELECT .select2-selection__clear {
  margin-right: -1px !important;
}

.type-DECIMAL em.vflag,
.type-LOCATION em.vflag {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 12px;
  font-style: normal;
  color: #878787;
  pointer-events: none;
}

.type-NTEXT textarea.form-control {
  min-height: 37px;
  max-height: 481px;
  font-size: 1rem;
  padding: 7px 10px;
  resize: none;
}

.img-field {
  line-height: 1;
  font-size: 0;
  margin-bottom: 5px;
}

.img-field > span,
.img-field .img-field-show > span,
.img-field .img-field-btn {
  margin-right: 5px;
  margin-bottom: 5px;
  display: inline-block;
}

.img-field .img-upload {
  width: 60px;
  height: 60px;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  position: relative;
  border: 0 none;
  padding: 0;
  overflow: hidden;
}

.img-field .img-upload[disabled],
.img-field .img-upload[disabled]:hover,
.img-field .img-upload[disabled] .zmdi,
.img-field .img-upload[disabled] .mdi {
  opacity: 1 !important;
  color: #dbdbdb !important;
  cursor: not-allowed !important;
}

.img-field label.img-upload {
  padding-top: 5px;
}

.img-field label.img-upload:hover {
  opacity: 0.8;
  cursor: pointer;
}

.img-field label.img-upload .zmdi,
.img-field label.img-upload .mdi {
  font-size: 1.8rem;
  color: #aaa;
}

.img-field a.img-upload b,
.img-field label.img-upload b,
.file-field .img-thumbnail b {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1rem;
  color: #fff;
  cursor: default;
  background-color: rgba(0, 0, 0, 0.4);
  text-align: center;
  display: none;
  width: 16px;
  height: 16px;
  line-height: 16px;
}

.img-field a.img-upload b + b,
.img-field label.img-upload b + b,
.file-field .img-thumbnail b + b {
  right: 17px;
}

.img-field.drop .inputfile + label,
.file-field.drop .inputfile + label {
  background-color: #fff7c5;
}

.img-field.avatar label.img-upload b {
  width: 100%;
  top: auto;
  bottom: 0;
}

.img-field label.img-upload b .zmdi {
  font-size: 1.2rem;
  color: #fff;
}

.img-field a.img-upload:hover b,
.img-field label.img-upload:hover b,
.file-field .img-thumbnail:hover b {
  display: block;
}

.img-field a.img-upload:hover b:hover,
.img-field label.img-upload:hover b:hover,
.file-field .img-thumbnail:hover b:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.img-field.avatar,
.img-field.avatar > span {
  margin-bottom: 0;
}

.img-field.avatar img {
  width: 100%;
  height: 100%;
}

.img-field.avatar .img-upload {
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  border: 0 none;
}

.img-field.avatar label.img-upload:hover {
  border: 0 none;
  opacity: 0.8;
}

.img-field.barcode {
  margin: 0;
}

.img-field.barcode .img-thumbnail {
  padding: 0;
  margin: 0;
  max-height: 80px;
  max-width: 80px;
  border: 0 none;
  width: auto;
  display: inline-block;
  cursor: default;
  font-size: 0;
}

.img-field.barcode .img-thumbnail.w-auto {
  width: auto;
  height: auto;
}

.img-field.barcode .img-thumbnail.w-auto > img {
  width: auto;
}

.file-field .file-select label.btn-secondary {
  margin: 0;
  line-height: 37px;
  height: 37px;
}

.file-field .img-thumbnail {
  display: inline-block;
  padding: 4px;
  max-width: 100%;
  margin-right: 5px !important;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  border: 0 none;
  color: #222222;
  border-left: 2px solid #ccc;
  border-radius: 2px;
  max-height: 38px;
  cursor: pointer;
}

.file-field a.img-thumbnail {
  cursor: pointer;
}

.file-field .img-thumbnail:hover {
  border-color: #4285f4;
}

.file-field .img-thumbnail:nth-child(even) {
  margin-right: 0;
}

.file-field .img-thumbnail > i.file-icon {
  float: left;
  margin-left: 2px;
}

.file-field .img-thumbnail > i.file-icon::after {
  padding: 0 0 0 2px;
}

.file-field .img-thumbnail > span {
  margin-left: 30px;
  word-break: break-all;
  height: 30px;
  padding: 1px 4px 1px 6px;
  line-height: 1.15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  display: table-cell;
  vertical-align: middle;
}

.img-field.sign,
.img-field.sign .img-upload,
.img-field.sign > span {
  margin: 0;
  padding: 0;
  width: 180px;
  border-radius: 0;
}

.img-field.sign .img-upload {
  border: 0 none !important;
  background-color: transparent;
}

.img-field.sign.sign-edit {
  border-radius: 2px;
  background-color: #eee;
}

.rbform .type-NTEXT .editor-toolbar.fullscreen {
  top: 69px;
}

.rbform .type-NTEXT .CodeMirror-fullscreen {
  top: 119px;
  top: 107.6px;
}

.rbform .type-NTEXT .CodeMirror {
  padding: 8px;
}

/* v35 */
.form-layout.refform {
  display: block;
  background-color: rgba(230, 230, 230, 0.2);
  box-shadow: inset 0 0 10px rgba(230, 230, 230, 0.5);
  width: 100%;
  margin: 10px 15px;
  padding: 15px;
  border-radius: 3px;
  position: relative;
}

.form-layout.refform > .open-in-new {
  position: absolute;
  right: 4px;
  top: 4px;
  font-size: 1.25rem;
  padding: 5px;
  z-index: 1;
  display: none;
}

.form-layout.refform:hover > .open-in-new {
  display: block;
}

.input-group.has-append {
  max-width: 100%;
}

.input-group.has-append .input-group-append button {
  min-width: 38px;
  box-shadow: none !important;
}

.input-group.has-append .clean {
  position: absolute;
  right: 45px;
  top: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #222222;
  width: 12px;
  height: 32px;
  cursor: pointer;
  padding-top: 12px;
}

.col-form-label.required::after,
.protable thead > tr > th.required::after {
  content: '';
  position: absolute;
  display: inline-block;
  background-color: #ea4335;
  width: 3px;
  height: 12px;
  margin-left: 6px;
}

.protable thead > tr > th.required::after {
  margin-top: 3px;
}

.form-text {
  color: #878787;
  line-height: 1.41;
  margin-top: 6px;
  margin-bottom: -3px;
}

.form-text a[target='_blank']:hover {
  text-decoration: underline;
}

.rbform .type-IMAGE .form-text,
.rbform .type-FILE .form-text {
  margin-top: -2px;
  margin-bottom: 4px;
}

.rbform .type-FILE .form-text {
  margin-bottom: 0;
}

.rbform .form-text.form-text-force {
  display: block !important;
}

.rbhighbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  text-align: center;
  z-index: 1099;
  background: transparent;
  pointer-events: none;
}

.rbhighbar.faster {
  -webkit-animation-duration: 200ms;
  animation-duration: 200ms;
}

.rbhighbar > .alert {
  display: inline-block;
  width: auto;
  min-width: 421px;
  text-align: left;
  pointer-events: auto;
  max-width: 680px;
}

@media (max-width: 440px) {
  .rbhighbar {
    padding: 0 10px;
  }

  .rbhighbar > .alert {
    max-width: 100%;
    min-width: 100%;
  }
}

.rbhighbar > .alert > .message a {
  color: #fff;
}

.rbhighbar > .alert > .message a[target='_blank']:hover,
.admin-danger-list a[target='_blank']:hover {
  text-decoration: underline;
}

.ui-mprogress .bar-bg,
.ui-mprogress .buffer-bg {
  z-index: 1051;
}

.ui-mprogress .indeter-bar {
  z-index: 1052;
}

/* DataList */

.rb-datatable-body,
.rb-datatable-body .rb-scroller,
.rb-datatable-body .rb-loading {
  min-height: 300px;
}

.rb-datatable-body .table {
  min-width: 100%;
}

.rb-datatable-body .rb-scroller .ps-scrollbar-x-rail,
.rb-datatable-body .rb-scroller .ps-scrollbar-y-rail {
  z-index: 2;
}

.list-nodata {
  text-align: center;
  padding-top: 81px;
}

.list-nodata .zmdi,
.list-nodata .mdi {
  font-size: 48px;
  color: #aaa;
}

.list-nodata p {
  margin: 9px 0 0;
  color: #666;
  font-size: 1.1rem;
}

.data-list {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background-color: #fff;
}

.dataTables_wrapper .rb-datatable-header.header-fixed {
  position: sticky;
  top: 60px;
  background-color: #fff;
  z-index: 2;
}

.dataTables_wrapper .rb-datatable-header {
  padding-top: 12px;
  padding-bottom: 7px;
}

@media (max-width: 767px) {
  .dataTables_wrapper .rb-datatable-header {
    top: 0;
  }

  div.dataTables_wrapper div.dataTables_oper {
    text-align: left;
    margin-left: -5px;
  }
}

.data-list .table th,
.data-list .table td {
  cursor: default;
  white-space: nowrap;
  font-weight: normal;
  padding: 9px 10px;
}

.data-list .table thead th {
  padding-top: 10px;
  padding-bottom: 8px;
  background-color: #fff;
}

.data-list .table.table-bordered42 td,
.data-list .table.table-bordered42 th {
  border-right: 1px solid #dee2e6;
}

.data-list .table thead th.column-checkbox > div > .custom-control.custom-control-sm {
  margin-top: -19px;
}

.data-list .table thead th.sortable {
  cursor: pointer;
}

.data-list .table thead th.sortable:active {
  background-color: #dee2e6;
}

.data-list .table thead th > div {
  color: #555;
  position: relative;
  text-overflow: ellipsis;
}

.data-list .table thead th > div > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.data-list .table thead th > div > i {
  position: absolute;
  height: 18px;
  top: -1px;
  right: -10px;
}

.data-list .table thead th > div > i.dividing {
  width: 10px;
  border-right: 1px solid #ddd;
  cursor: col-resize;
}

.data-list .table thead th > div > i.dividing:hover,
.data-list .table thead th > div > i.dividing:active {
  border-right-width: 3px;
}

i.dividing.ui-draggable-dragging {
  border-right-width: 3px !important;
  border-right-color: #4285f4 !important;
  z-index: 101;
  cursor: col-resize;
}

.data-list .table thead th > div > i.zmdi {
  font-size: 18px;
  right: 0;
  color: #4285f4;
  font-weight: 500;
}

.data-list .table thead th > div > i.zmdi.sort-asc::before {
  content: '\f2fc';
}

.data-list .table thead th > div > i.zmdi.sort-desc::before {
  content: '\f2f9';
}

.data-list .table tr:last-child td {
  border-bottom: 1px solid #dee2e6;
}

.data-list .table .custom-checkbox .custom-control-label::before {
  border-radius: 2px;
}

.data-list .table tbody tr.active {
  background-color: #dee2e6;
}

.data-list .table td,
.data-list .table td > div {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  clear: both;
  max-width: 800px;
}

.data-list .table td,
.data-list .table td > div.nmw {
  max-width: 1000px;
}

.data-list .table td[data-copy]:hover,
.data-list .table td[data-copy]:hover .badge {
  cursor: pointer;
  font-weight: bold !important;
}

.data-list .table td.td-sm,
.data-list .table tbody tr td.user-avatar {
  padding: 3px 10px;
}

.data-list .table tbody tr td.user-avatar img {
  margin-right: 0;
}

.data-list .table td div .badge {
  font-weight: normal;
  font-size: 13px;
  padding: 3px 6px;
  min-width: 21px;
  line-height: 1;
}

.data-list .table td div .badge.badge-default {
  line-height: 1.3334;
}

.column-imgs {
  max-height: 32px;
  overflow: hidden;
}

.column-imgs a:hover {
  opacity: 0.8;
}

.column-imgs > a {
  display: inline-block;
  font-size: 0;
  height: 30px;
  line-height: 30px;
  cursor: zoom-in;
}

.column-imgs > a img {
  display: inline-block;
  width: auto;
  max-height: 30px;
}

.column-imgs > a + a {
  margin-left: 3px;
}

.column-files > a:hover {
  cursor: pointer;
  color: #0d5bdd !important;
}

.column-files > a + a::before {
  content: ',';
  margin-left: 1px;
  margin-right: 4px;
  color: #878787;
  font-weight: bold;
}

.column-checkbox {
  width: 48px;
}

.column-checkbox > div {
  width: 18px;
  padding-left: 0;
}

.column-checkbox .custom-control-label::after {
  margin-left: 0 !important;
  transform: translateX(-1.4px);
}

.column-lineno {
  padding-left: 8px !important;
  color: #878787;
  font-size: 12px;
  text-align: center;
}

.column-lineno > span {
  width: 28px;
  display: inline-block;
  font-size: 13px;
}

.column-main {
  border-bottom: 1px solid;
}

.column-main:hover {
  border-bottom: 0 solid;
}

.column-empty {
  padding: 8px !important;
  width: 100%;
}

.column-nopriv {
  color: #999;
  cursor: help;
}

.column-state .badge {
  border-radius: 99px;
}

.column-multi .badge {
  border-radius: 3px;
  border: 1px solid #ccc;
  background-color: #fff;
}

.column-multi a.badge,
.column-multi span.badge {
  background-color: #f2f2f2;
  border-color: #f2f2f2;
  background-color: rgba(0, 0, 0, 0.04);
  border-color: transparent;
}

.column-fixed {
  position: sticky !important;
  background-color: #fff;
  overflow: unset !important;
  left: 0;
}

th.column-fixed {
  z-index: 1;
}

.column-fixed + .column-fixed {
  left: 46px;
}

.column-fixed + .column-fixed + .column-fixed {
  left: 92px;
}

.column-fixed::before,
.table.table-header-fixed thead > tr > th::before {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  bottom: -1px;
  border-bottom: 1px solid #dee2e6;
}

th.column-fixed::before,
.table.table-header-fixed thead > tr > th::before {
  bottom: -2px;
  border-bottom: 2px solid #dee2e6;
}

.rb-scroller.column-fixed-pin .column-fixed-last::after,
.column-fixed.col-action::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: -1px;
  content: '';
  pointer-events: none;
  transform: translateX(100%);
  box-shadow: inset 5px 0 4px -4px rgba(0, 0, 0, 0.15);
  /*width: 20px;*/
  /* fix: Safari */
  width: 24px;
}

.rb-scroller.column-fixed-pin .column-fixed-last .dividing {
  border-color: transparent;
}

.table-striped tbody tr:nth-of-type(odd) td.column-fixed {
  background-color: #f5f5f5;
}

.table-hover tbody tr:hover td.column-fixed {
  background-color: #f0f0f0;
}

.data-list .table tbody tr.active td.column-fixed {
  background-color: #dee2e6;
}

/* v35 */
.column-fixed.col-action::after {
  right: auto !important;
  left: -48px !important;
  box-shadow: inset -5px 0 4px -4px rgb(0 0 0 / 15%) !important;
}

.column-fixed.col-action {
  left: unset;
  right: 0;
  padding: 3px 10px !important;
  padding-right: 18px !important;
}

.column-fixed.col-action .btn.btn-sm {
  line-height: 26px;
  min-width: 32px;
  padding-left: 6px;
  padding-right: 6px;
}

.column-fixed.col-action .btn.btn-sm:hover,
.column-fixed.col-action .btn.btn-sm:active {
  background-color: rgba(0, 0, 0, 0.05);
}

.column-fixed.col-action .btn.btn-sm:active {
  background-color: rgba(0, 0, 0, 0.1);
  opacity: 1;
}

.column-fixed.col-action button.btn .icon + span {
  margin-left: 3px;
}

.table.table-header-fixed thead > tr > th {
  position: sticky;
  top: 0;
}

.data-list .table tr td .progress {
  height: 16px;
  font-size: 12px;
  text-align: center;
  background-color: #ccc;
  display: block;
}

.data-list .table tr td .progress .progress-bar {
  line-height: 16px;
  width: 0;
  max-width: 100%;
}

.form.batch-form {
  padding: 10px 15px;
}

.form.batch-form .form-group:last-child {
  margin-bottom: 0;
}

.form.batch-form .batch-contents > div {
  position: relative;
  margin-bottom: 6px;
}

.form.batch-form .batch-contents > div .badge {
  font-size: 1rem;
  font-weight: normal;
  padding: 3px 10px;
  cursor: default;
}

.form.batch-form .batch-contents > div a.del {
  position: absolute;
  font-size: 1.2rem;
  padding: 3px 6px;
  color: #999;
  font-weight: bold;
  top: 1px;
  margin-right: -9px;
  display: none;
}

.form.batch-form .batch-contents > div a.del:hover {
  color: #222;
}

.form.batch-form .batch-contents > div:hover a.del {
  display: inline-block;
}

.form.batch-form .batch-editor .text-muted {
  display: inline-block;
  margin-top: 4px;
  margin-bottom: 1px;
}

.rb-datatable-footer .dataTables_info {
  height: 38px;
  overflow: hidden;
  padding-top: 0 !important;
  white-space: normal !important;
  display: flex;
  align-items: center;
}

.rb-datatable-footer .dataTables_info > div > span {
  display: inline-block;
  line-height: 18px;
}

.dataTables_info .list-stats-settings {
  opacity: 0.6;
  padding: 9px 8px;
  font-size: 15px;
  position: absolute;
  top: 0;
  z-index: 1;
  display: none;
}

.dataTables_info .list-stats-settings:hover {
  opacity: 1;
}

.rb-datatable-footer:hover .list-stats-settings {
  display: inline-block;
}

.dataTables_info .stat-item::before {
  content: '·';
  color: #999;
  font-weight: bold;
  margin: 0 5px;
}

.dataTables_info .stat-item > strong {
  margin-left: 4px;
}

/* DataList ends */

.unselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.main-content > .card.card-table.card-topcolor {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: 2px solid #4285f4;
}

.main-content > .nav-tabs-classic > li.nav-item a.nav-link {
  padding: 9px 15px;
  min-width: 120px;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sortable-box-title {
  margin-top: 9px;
  position: relative;
}

.sortable-swap {
  position: relative;
}

.sortable-swap > .zmdi-swap {
  position: absolute;
  font-size: 2rem;
  color: #aaa;
  right: -10px;
  top: 50%;
  margin-top: -1rem;
}

.sortable-box {
  border: 1px solid #eee;
  padding: 0 2px;
  height: 306px;
  z-index: 1;
  margin-bottom: 12px;
}

.sortable-box .dd-list {
  height: 300px;
}

.sortable-box.autoh,
.sortable-box.autoh .dd-list {
  height: auto !important;
}

.sortable-box .dd-list:empty::before {
  content: attr(_title);
  color: #777;
  font-style: italic;
  padding: 7px;
  display: block;
}

.sortable-box.h380 {
  height: 388px;
}

.sortable-box.h380 .dd-list {
  height: 380px;
}

.sortable-box .dd-list .dd-item,
.sortable-box .dd-placeholder {
  margin: 2px 0;
  position: relative;
}

.sortable-box .dd-placeholder {
  min-height: 36px;
}

.sortable-box .dd-list .dd-handle,
.sortable-box .dd-list .dd3-content {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sortable-box .dd-list .dd3-action,
.dd-list .dd-item .dd-action {
  position: absolute;
  right: 3px;
  top: 0;
  display: none;
}

.sortable-box .dd-list .dd3-action a,
.sortable-box a.action {
  font-size: 12px;
  display: inline-block;
  padding: 7px 3px;
  margin-right: 3px;
  color: #a1a1a1;
}

.sortable-box .dd-list .dd3-action a .zmdi {
  font-size: 1.23rem;
  margin-top: 3px;
}

.sortable-box .dd-list .dd3-action a:hover .zmdi {
  color: rgb(128, 128, 128);
}

.sortable-box .dd-list .dd3-item:hover > .dd3-action,
.dd-list .dd-item:hover .dd-action {
  display: block;
}

.sortable-box .unset-list .dd-handle {
  padding-right: 30px;
}

.sortable-box .unset-list .dd-handle::before {
  content: '\f278';
  font: normal normal normal 14px/1 'Material-Design-Iconic-Font';
  font-size: 1.6rem;
  color: #aaa;
  float: right;
  margin-right: -20px;
}

.sortable-box .unset-list .dd-item:hover .dd-handle::before {
  color: #fff;
}

.sortable-box .dd-list .dd3-item.active > .dd3-content {
  background-color: #dedede !important;
}

.dd-list .dd-item.nodata {
  font-style: italic;
  color: #999;
  padding: 5px 7px;
}

.rb-left-sidebar .bottom-widget {
  padding: 3px 16px;
  margin: 0;
}

.bottom-widget > a {
  line-height: 42px;
  display: inline-block;
  padding-left: 6px;
  padding-right: 6px;
}

.bottom-widget > a > .icon {
  font-size: 1.846rem;
  vertical-align: middle;
  color: #737373;
}

.modal.rbview .modal-dialog {
  margin: 0;
  max-width: 100%;
  height: 100%;
}

.modal.rbview .modal-header > .icon {
  margin-top: 3px;
}

.modal.rbview .modal-dialog .modal-content {
  border-radius: 0;
  max-width: 100%;
  width: 1404px;
  margin: 0 -1414px 0 0;
  float: right;
  position: relative;
  height: 100%;
  transition: margin 0.2s ease-in-out;
}

.modal.rbview .modal-dialog .modal-content .modal-header {
  background-color: #fff;
  position: absolute;
  z-index: 101;
  border-radius: 0 0 0 4px;
  right: 0;
  top: 0;
  padding-left: 10px;
  max-height: 61px;
}

.modal.rbview .modal-dialog .modal-content .modal-header .close {
  margin-top: -11px;
}

.main-content .card.card-table {
  margin-bottom: 0;
}

.zoom-in {
  cursor: zoom-in !important;
}

.form-control-plaintext {
  word-wrap: break-word;
  word-break: break-all;
}

.form-line {
  height: 32px;
  overflow: hidden;
}

.form-line fieldset {
  border-bottom: 1px solid #ebebeb;
  position: relative;
  margin: 16px 0;
}

.form-line fieldset legend {
  position: absolute;
  font-size: 1rem;
  background-color: #fff;
  width: auto;
  left: 10px;
  margin: -11px 0 0;
  padding: 3px 5px 0;
  color: #666;
  border-radius: 4px;
}

.form-line.hover fieldset legend {
  cursor: pointer;
}

.form-line.hover fieldset legend:hover {
  color: #4285f4;
}

.form-line.hover fieldset legend:active {
  opacity: 0.8;
}

.form-line.hover fieldset legend::after {
  font-family: 'Material-Design-Iconic-Font', serif;
  font-size: 1.5rem;
  content: '\f2f9';
  width: 13px;
  display: inline-block;
  float: left;
  text-align: center;
  line-height: 1;
  transform: translateY(-1px);
}

.form-line.hover.collapsed fieldset legend::after {
  content: '\f2fb';
}

.form-line.hover fieldset legend > span {
  margin-left: 3px;
}

.form-line-breaked {
  height: 0;
  font-size: 0;
  overflow: hidden;
}

.btn-primary.btn-outline,
.btn-primary.btn-outline[disabled] {
  background-color: #fff;
  color: #4c8bf5;
}

.btn-group .btn-primary.btn-outline:first-child {
  border-left-color: #206ff2 !important;
  border-bottom-color: #206ff2 !important;
}

.btn-group .btn-primary.btn-outline:last-child,
.btn-group .btn-primary.btn-outline.dropdown-toggle {
  border-right-color: #206ff2 !important;
  border-bottom-color: #206ff2 !important;
}

.btn-warning.btn-outline,
.btn-warning.btn-outline[disabled] {
  background-color: #fff;
  color: #fbbc05;
}

.btn-danger.btn-outline,
.btn-danger.btn-outline[disabled] {
  background-color: #fff;
  color: #ea4335;
}

.btn-primary.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.aside-tree,
.page-aside-tree {
  padding: 20px 15px;
}

.aside-tree .config-title {
  margin-bottom: 16px;
  margin-top: 17px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  color: #777;
}

.aside-tree .list-unstyled {
  margin: 0;
}

.aside-tree .list-unstyled ul {
  padding-left: 1rem;
}

.aside-tree li {
  position: relative;
}

.aside-tree li > a {
  display: block;
  padding: 8px 10px;
  color: #444;
  color: #404040;
}

.aside-tree > ul > li > a {
  margin-left: 0;
}

.aside-tree li > a:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.aside-tree li > a:active {
  background-color: rgba(0, 0, 0, 0.1);
}

.aside-tree li.active > a {
  background-color: rgba(0, 0, 0, 0.09) !important;
  background-color: #4285f4 !important;
  color: #fff !important;
}

.aside-tree li > div.action,
.adv-search .dropdown-item div.action {
  position: absolute;
  right: 0;
  top: 0;
  display: none;
  font-size: 0;
}

.aside-tree li > div.action a,
.adv-search .dropdown-item div.action a {
  display: inline-block;
  height: 34px;
  line-height: 34px;
  width: 22px;
  text-align: center;
  font-size: 1.2rem;
  color: #fff !important;
  margin-left: 1px;
}

.aside-tree li > div.action a:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.aside-tree ul > li.active:hover > div.action,
.adv-search .dropdown-item:hover div.action {
  display: block;
}

.aside-tree li.nodata {
  padding-left: 10px;
  color: #999;
}

.aside-tree li > span.toggle {
  position: absolute;
  left: -10px;
  height: 34px;
  line-height: 34px;
  width: 12px;
  font-size: 1.45rem;
  color: #999;
  text-align: center;
  cursor: default;
}

.aside-tree li > span.toggle:hover {
  color: #4285f4;
}

.aside-2tree ul:empty::after {
  content: 'LOADING';
  color: #999;
  display: block;
  text-align: center;
}

.aside-2tree ul > ul {
  padding-left: 17px !important;
}

.aside-2tree ul > ul:empty::after {
  content: attr(_title);
  color: #777;
}

.aside-2tree ul li {
  display: flex;
}

.aside-2tree ul li:hover {
  background-color: #f0f0f0;
}

.aside-2tree ul li.active {
  color: #fff;
  background-color: #4285f4;
  background-color: var(--rb-theme-color);
}

.aside-2tree ul li.active > .text-disabled {
  color: rgba(255, 255, 255, 0.4) !important;
}

.aside-2tree ul li > a {
  flex: 1;
  display: block;
  padding: 7px 0;
}

.aside-2tree ul li > span {
  cursor: pointer;
}

.aside-2tree li span.collapse-icon {
  padding-left: 6px;
  padding-top: 7px;
  font-size: 1.4rem;
  color: #999;
  width: 18px;
}

.aside-2tree li span.collapse-icon .zmdi {
  transition: transform 0.2s ease-in-out;
}

.aside-2tree li span.collapse-icon .zmdi-chevron-right.open {
  transform: rotate(90deg);
}

.aside-2tree li span.collapse-icon:hover {
  color: #4285f4;
  color: var(--rb-theme-color);
}

.aside-2tree li.active span.collapse-icon {
  color: #fff;
}

.aside-2tree li.active span.collapse-icon:hover {
  color: rgba(255, 255, 255, 0.8);
}

.aside-2tree li span.collapse-icon.no-child .zmdi {
  display: none;
}

.aside-2tree li span.action {
  height: 34px;
  line-height: 34px;
  text-align: center;
  font-size: 1.2rem;
  border-radius: 6px;
  width: 22px;
  display: none;
}

.aside-2tree li span.action:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #fff;
}

.aside-2tree li.active:hover span.action {
  display: inline-block;
}

.aside-2tree.hide-collapse li span.collapse-icon {
  display: none !important;
}

.aside-2tree.hide-collapse ul li > a {
  padding-left: 10px;
  padding-right: 10px;
}

.aside-2tree li > a > .icon {
  color: #54aeff;
  font-size: 16px;
  margin-right: 5px;
}

.aside-2tree li.active > a > .icon {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* AdvFilter */

.adv-search .dropdown-item div.action a {
  height: 34px;
  line-height: 34px;
  color: #aaa !important;
  border-radius: 0;
}

.adv-search .dropdown-item div.action a:hover {
  color: #4285f4 !important;
  background-color: rgba(0, 0, 0, 0.05);
}

.adv-search .dropdown-item div.action a.danger-hover:hover {
  color: #ea4335 !important;
}

.adv-filter-wrap {
  background-color: #fff;
  padding: 20px;
  /* max-width: 560px; */
}

.adv-filter-wrap.in-modal {
  max-width: 1000px;
  padding: 10px 15px;
}

.adv-filter {
  position: relative;
}

.adv-filter .item + .item {
  margin-top: 12px;
}

.adv-filter .item.plus a {
  display: inline-block;
  position: relative;
  padding: 3px 3px 3px 24px;
}

.adv-filter .item.plus a .icon {
  font-size: 1.4rem;
  position: absolute;
  left: 0;
  margin-top: -1px;
}

.adv-filter .item .field {
  padding-left: 38px;
  position: relative;
}

.adv-filter .item .field em {
  float: left;
  margin-left: -25px;
  font-size: 12px;
  font-style: normal;
  padding-top: 11px;
  color: #777;
  padding-left: 5px;
}

.adv-filter .item .field i.zmdi {
  position: absolute;
  top: 8px;
  left: 15px;
  font-size: 1.4rem;
  color: #999;
  display: none;
  cursor: pointer;
  background-color: #fff;
}

.adv-filter .item .field i.zmdi:hover {
  color: #0d5bdd;
}

.adv-filter .item:hover .field i.zmdi {
  display: block;
}

.adv-filter .item:hover .field em {
  display: none;
}

.adv-filter .item .op {
  padding-left: 0;
  padding-right: 0;
}

.adv-filter .item .val input + input {
  margin-top: 6px;
}

.adv-filter .item .val .val-range {
  position: relative;
}

.adv-filter .item .val .val-range > span {
  position: absolute;
  right: 6px;
  top: 7px;
  height: 22px;
  width: 22px;
  line-height: 22px;
  text-align: center;
  background-color: #eee;
  color: #999;
  border-radius: 50%;
  font-size: 12px;
}

.adv-filter .item .val .val-range > span.end {
  top: 50px;
}

.adv-filter + .adv-filter {
  border-top: 1px solid #eee;
  padding-top: 8px;
  margin-top: 8px;
}

.adv-filter .form-control-sm,
.adv-filter .select2-container--default .select2-selection--single .select2-selection__rendered,
.adv-filter .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  padding-left: 8px;
  padding-right: 8px;
}

.adv-filter .item .field {
  padding-right: 10px;
}

.adv-filter .item .val {
  padding-left: 10px;
}

.select2-container--default.select2-option-advfilter .select2-results__option {
  padding-left: 8px;
  padding-right: 8px;
}

.adv-filter .btn + .btn,
.adv-filter .btn-group + .btn {
  margin-left: 10px;
}

.adv-filter .dialog-footer .form-control-sm.text {
  /* width: 160px; */
  height: 34px !important;
  margin-top: 2px;
}

.adv-filter .dialog-footer .form-control-sm.text:focus {
  background-color: #ddd;
}

.adv-filter .dialog-footer .custom-control {
  cursor: default;
  margin-top: 10px;
  /* margin-left: 10px; */
}

.adv-filter .item.dialog-footer {
  margin: 0 -25px -5px;
  padding-top: 20px;
}

.adv-filter .equation-state {
  position: relative;
}

.adv-filter .equation-state .zmdi {
  position: absolute;
  right: 0;
  top: 0;
  margin-top: 10px;
  margin-right: 10px;
  font-size: 1.2rem;
}

.dropdown-menu-advfilter {
  position: absolute;
  left: 10px;
  top: 37px;
  z-index: 1000;
  width: 680px;
}

.dropdown-menu-advfilter .adv-filter-wrap {
  box-shadow: 0 3px 0.3077rem rgb(0 0 0 / 10%);
  padding: 28px 30px;
}

.dropdown-menu-advfilter .alert {
  display: none;
}

div.dataTables_wrapper div.dataTables_filter .dropdown-menu-advfilter input {
  width: 100%;
  display: block;
}

.dataTables_wrapper .paging_sizes {
  padding-top: 2px;
  padding-left: 8px;
}

.dataTables_wrapper .paging_sizes .form-control {
  padding: 4px 6px;
  width: 45px;
}

.dataTables_wrapper .paging_sizes .form-control,
.dataTables_wrapper .paging_simple_numbers .page-link {
  height: 36px !important;
}

.dataTables_wrapper .paging_simple_numbers .page-link {
  padding-left: 0.466rem;
  padding-right: 0.466rem;
  min-width: 32px;
  text-align: center;
}

.must-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.zicon,
.zicon .zmdi {
  font-size: 1.231rem;
  color: #888;
}

.zicon:hover {
  opacity: 0.8;
}

.zicon.zmdi-help {
  cursor: help;
  float: right;
  margin-left: 0.384615rem;
  margin-top: 1px;
}

form.dropzone {
  position: relative;
  border: 2px dashed #e3e3e3;
  padding: 40px;
  text-align: center;
  cursor: default;
}

form.dropzone .icon {
  background-color: #e6e6e6;
  border-radius: 50%;
  display: inline-block;
  height: 70px;
  width: 70px;
  padding: 12px 0;
  text-align: center;
}

form.dropzone .icon span {
  font-size: 3.615rem;
  color: #696767;
}

form.dropzone h4 {
  margin-bottom: 8px;
  font-weight: 300;
}

form.dropzone .note {
  font-size: 1rem;
  color: #999;
}

form.simple {
  max-width: 1000px;
}

.fs-0 {
  font-size: 0 !important;
}

.fs-11 {
  font-size: 11px !important;
}

.fs-12 {
  font-size: 12px !important;
}

.fs-13 {
  font-size: 13px !important;
}

.fs-14 {
  font-size: 14px !important;
}

.fs-15 {
  font-size: 15px !important;
}

.fs-16 {
  font-size: 16px !important;
}

.fs-17 {
  font-size: 17px !important;
}

.fs-18 {
  font-size: 18px !important;
}

.fs-19 {
  font-size: 19px !important;
}

.fs-20 {
  font-size: 20px !important;
}

.fs-21 {
  font-size: 21px !important;
}

.fs-22 {
  font-size: 22px !important;
}

.danger-hover:hover {
  color: #ea4335 !important;
}

.mw-auto {
  min-width: auto !important;
  max-width: none !important;
}

.cl-base {
  color: #222222;
}

.modal-dialog.selector.show {
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
}

.modal.selector .modal-content {
  max-width: 400px;
  margin-top: 98px;
}

.modal.selector .modal-content .modal-body {
  padding: 10px 30px 20px;
}

.modal.selector .modal-content .modal-body > div {
  margin-bottom: 10px;
}

.form,
form {
  display: block;
  margin: 0;
}

.rbs-indexes {
  padding: 10px 0;
}

.rbs-indexes > div {
  padding: 13px 15px 10px;
  border-radius: 3px;
  background-color: #eee;
}

.rbs-indexes > div + div {
  margin-top: 10px;
}

.rbs-indexes > div h5 {
  font-size: 1rem;
  font-weight: bold;
  margin: 0 !important;
  margin-bottom: 3px !important;
}

.rbs-indexes > div .text-muted,
.rbs-indexes > div .text-muted a {
  font-size: 12px;
  color: #777 !important;
}

.ui-mprogress .bar-bg,
.ui-mprogress .buffer-bg,
.ui-mprogress .deter-bar,
.ui-mprogress .indeter-bar,
.ui-mprogress .mp-ui-dashed,
.ui-mprogress .query-bar {
  z-index: 1092;
}

.ui-mprogress .bar-bg,
.ui-mprogress .buffer-bg {
  z-index: 1091;
}

.ui-mprogress .mp-ui-dashed {
  z-index: 1090;
}

.rb-notifications .rb-scroller {
  max-height: 422px;
}

.rb-notifications .notification .text > p {
  margin: 0;
}

.user-selector .dropdown-menu {
  padding: 0;
  margin: 0;
  background-color: #f2f2f2;
  width: 260px;
}

.user-selector .dropdown-menu ol,
.user-selector .dropdown-menu ul {
  padding-left: 0;
}

.user-selector .select2-selection {
  line-height: 1;
}

.user-selector .select2-selection .select2-selection__rendered {
  padding-left: 8px;
  padding-right: 8px;
  height: auto;
}

.user-selector .select2-selection__choice.abtn {
  display: inline-block;
  background-color: rgba(66, 133, 244, 0.1);
  color: #4285f4;
  position: relative;
  height: 26px;
  padding: 5px 9px 0 22px;
  margin-bottom: 4px;
  cursor: pointer;
}

.user-selector .select2-selection__choice.abtn .zmdi {
  font-size: 16px;
  position: absolute;
  left: 9px;
  font-weight: bold;
}

.user-selector .select2-selection__choice.abtn:hover {
  background-color: #4285f4;
  color: #fff;
  cursor: pointer;
}

.user-selector .select2-selection__choice.abtn:active {
  background-color: #2572f2;
  box-shadow: inset 0 2px 0 #1266f1;
}

.user-selector .selector-search {
  padding: 10px;
}

.user-selector .selector-search .form-control {
  padding: 7px 8px;
  height: auto;
  font-size: 1rem;
}

.user-selector .tab-container .nav-tabs {
  margin: 0 10px;
}

.user-selector .nav-tabs > li.nav-item a.nav-link {
  padding: 4px 6px;
  font-size: 12px;
  min-width: 42px;
}

.user-selector .nav-tabs.w5 > li.nav-item a.nav-link {
  max-width: 56px;
  overflow: hidden;
  text-overflow: clip;
}

.user-selector .tab-container,
.user-selector .tab-content {
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.user-selector .rb-scroller {
  max-height: 222px;
}

.user-selector .select2-results__option + .select2-results__option {
  border-top: 1px solid #f2f2f2;
}

.user-selector .select2-results__option:hover,
.user-selector .select2-results__option.active {
  background-color: #4285f4;
  color: #fff;
  cursor: pointer;
}

.user-selector .select2-results__option.un-hover {
  background-color: #fff !important;
  color: #777;
  cursor: default;
  padding-top: 7px;
}

.user-selector .select2-results__option {
  vertical-align: middle;
  clear: both;
  padding-top: 5px;
  padding-bottom: 5px;
}

.user-selector .select2-results__option .zmdi {
  font-size: 14px;
  float: right;
  margin-top: 5px;
  font-weight: bold;
}

.user-selector .select2-results__option img.avatar {
  float: left;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.user-selector .select2-results__option span.text {
  display: inline-block;
  padding: 3px 0;
}

.user-selector .select2-results__option img.avatar + span.text {
  margin-left: 6px;
}

.user-selector .select2-results__option.subtext {
  line-height: 1;
}

.user-selector .select2-results__option.subtext span.text {
  padding: 0;
  padding-top: 2px;
}

.user-selector .select2-results__option.subtext span.text > em {
  display: block;
  font-size: 0.8462rem;
  color: #999;
  font-style: normal;
  margin-top: 1px;
}

.user-selector .select2-results__option.subtext:hover span.text > em {
  color: #fff;
}

.user-show {
  display: inline-block;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

a.user-show:not([href]) {
  cursor: default;
}

.user-show + .user-show {
  margin-left: 6px;
}

.user-show:hover {
  opacity: 0.8;
}

.user-show > div {
  display: inline-block;
}

.user-show .avatar {
  overflow: hidden;
  font-size: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #ddd;
  text-align: center;
  vertical-align: middle;
}

.user-show .avatar > img {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.user-show .avatar > i.zmdi {
  font-size: 1.7rem;
  margin-top: 4px;
  color: #666;
}

.user-show .name {
  margin-left: 6px;
  height: 30px;
  line-height: 30px;
  color: #4285f4;
  max-width: 140px;
}

.user-show .name.vm {
  line-height: 1.2;
  padding-top: 1px;
}

.user-show .name > em {
  font-style: normal;
  color: #777;
  font-size: 12px;
  display: block;
}

.card-list {
  margin: 4px -10px;
}

.card-list > div {
  padding-left: 10px;
  padding-right: 10px;
}

.card-list .card {
  margin-bottom: 20px;
  overflow: hidden;
}

.card-list .card-body {
  padding: 9px 15px;
}

.card-list .card-body > a {
  display: block;
  padding: 3px 0 5px;
}

.card-list .card-body > p {
  line-height: 1.2;
  margin: 0;
  font-size: 12px;
}

.card-list .card-body > p + p {
  margin-top: 4px;
}

.card-list .card-footer {
  padding: 4px 15px;
}

.card-list .card-footer a {
  color: #999;
  font-size: 1.23rem;
  display: inline-block;
  padding: 0 3px;
  margin-right: 6px;
  width: 20px;
}

.card-list .card-footer a:hover {
  color: #666;
}

.card-list .card-footer .badge {
  float: right;
  font-weight: normal;
  margin-top: 1px;
}

.card.ph {
  width: 25%;
  padding: 0;
  margin-top: 4px;
}

.card.ph > .card-body {
  min-height: 0;
  margin: 0;
  padding: 0;
}

.card.ph > .card-body > .ph-item {
  padding: 20px 10px 5px;
  margin: 0;
  border: 0 none;
}

.page-head-title .sub-title {
  color: #5e5e5e;
  font-size: 1.077rem;
  display: inline-block;
  margin-left: 10px;
  font-weight: bold;
  line-height: 20px;
  text-transform: none;
}

.page-head-title .sub-title::before {
  display: inline-block;
  padding-right: 0.6154rem;
  color: #aaa;
  content: '/';
  font-weight: normal;
}

.approval-toolbar .alert .message {
  padding: 10px 10px 10px 0;
}

.approval-toolbar .alert > .close {
  top: 0;
  opacity: 1;
  padding: 0;
}

.approval-toolbar .alert > .close .btn {
  padding: 8px;
  font-size: 12px;
  line-height: 1.1;
  min-height: 0;
  min-width: 78px;
  margin-top: 8px;
  border: 0 none;
}

.approval-toolbar .alert > .close > .btn + .btn {
  margin-left: 10px;
}

.form.approval-form {
  margin: 0 -5px;
}

.form.approval-form > .form-group {
  padding: 0 20px;
}

.form.approval-form > .form-group .zicon {
  float: left;
  padding-right: 6px;
  width: 18px;
}

.form.approval-form > .form-group .zicon.zmdi-mail-send {
  font-size: 1.1rem;
  margin-top: 2px;
}

.form.approval-form .aforms {
  background-color: #f5f5f5;
  border-radius: 2px;
  padding: 20px;
  background-color: rgba(230, 230, 230, 0.3);
  box-shadow: inset 0 0 10px rgba(230, 230, 230, 0.6);
}

.form.approval-form .aforms .aforms-detail > h5 {
  font-size: 14px;
  font-weight: bold;
  background-color: #eceff1;
  padding: 12px 15px;
  margin: 10px 0;
  border-radius: 2px;
}

.form.approval-form .aforms .aforms-detail > .rbform + .rbform {
  border-top: 1px solid #eceff1;
}

.form.approval-form .aforms .form.row > .form-group {
  padding-left: 0;
  padding-right: 0;
}

.form.approval-form .approval-list {
  padding: 5px 0;
}

.form.approval-form .approval-list > div {
  padding: 7px 10px;
  background-color: #f5f5f5;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.form.approval-form .approval-list > div > a {
  position: absolute;
  right: 10px;
  top: 7px;
  padding: 3px 0;
  display: none;
}

.form.approval-form .approval-list > div:hover > a {
  display: block;
}

.form.approval-form .approval-list > div + div {
  margin-top: 3px;
}

.form.approval-form .cc-accounts {
  color: #666;
}

.form.approval-form .cc-accounts a {
  color: #222222;
  font-weight: bold;
}

.form.approval-form .cc-accounts a + a::before {
  content: ',';
  margin-left: 1px;
  margin-right: 4px;
  color: #8a8a8a;
}

.form.approval-form .file-field {
  margin-top: 6px;
}

.form.approval-form .file-field .file-field-handle {
  display: inline-block;
  height: 38px;
  width: 38px;
  margin: 0;
  background-color: #eee;
  border-radius: 2px;
  text-align: center;
  line-height: 38px;
  font-size: 18px;
  cursor: pointer;
  margin-bottom: 5px;
}

.form.approval-form .file-field .file-field-handle:hover {
  opacity: 0.8;
}

.form.approval-form .file-field {
  display: flex;
}

.select2-sm .select2-container--default .select2-selection--single,
.select2-sm .select2-container--default .select2-selection--multiple {
  min-height: 36px;
}

.select2-sm .select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-sm .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  line-height: 35px;
  padding: 0 12px;
}

.select2-sm .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
  top: 1px;
}

.select2-sm .form-control-sm {
  height: 36px !important;
  line-height: 30px;
  padding: 3px 12px;
}

.select2-tag.select2-container--disabled .select2-search.select2-search--inline,
.select2-container--disabled .select2-selection--multiple .select2-search.select2-search--inline {
  display: inline-block;
}

.rb-color-header .rb-top-header .global-search,
.rb-color-header .rb-top-header .global-search2,
.rb-color-header .rb-top-header .global-create2,
.rb-offcanvas-menu .rb-top-header .global-search,
.rb-offcanvas-menu .rb-top-header .global-search2,
.rb-offcanvas-menu .rb-top-header .global-create2 {
  display: none;
}

@media (max-width: 767.98px) {
  .rb-top-header .global-search2,
  .rb-top-header .global-create2,
  .rb-top-header .aibot-show {
    display: none !important;
  }
}

.rb-top-header .search-container {
  padding-right: 8px;
  padding-top: 12px;
  padding-bottom: 10px;
}

.search-container .global-search {
  text-align: right;
}

.search-container .search-input-gs {
  background-color: #f5f5f5;
  border-radius: 6px;
  display: inline-block;
}

.search-container .search-input-gs::placeholder {
  color: rgba(0, 0, 0, 0.2);
}

.rb-top-header .search-input-gs + kbd {
  position: absolute;
  display: inline-block;
  right: 10px;
  top: 10px;
  width: 18px;
  height: 18px;
  border-radius: 0.1875rem;
  color: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: transparent;
  text-align: center;
  line-height: 1;
  padding-top: 3px;
  overflow: hidden;
  font-weight: bold;
  cursor: help;
  font-size: 12px;
}

.global-search > .dropdown-menu {
  min-width: 320px;
  max-width: 500px;
  padding: 15px 20px 10px;
  border-radius: 2px;
}

.global-search > .dropdown-menu a.badge {
  background: #f5f5f5;
  color: #5a5a5a !important;
  border-radius: 99px;
  border-width: 0;
  font-size: 12px;
  font-weight: normal;
  padding: 3px 10px;
  margin-bottom: 5px;
  margin-right: 2px;
}

.global-search > .dropdown-menu a.badge:hover,
.global-search > .dropdown-menu a.badge.active,
.global-create2 > .dropdown-menu a:hover,
.rb-notifications .notification:hover {
  background-color: #4285f4 !important;
  background-color: var(--rb-theme-color) !important;
  color: #fff !important;
}

.rb-icons-nav > li.dropdown.global-create2 {
  position: relative;
}

.rb-icons-nav > li.dropdown.global-create2 .dropdown-menu {
  width: 220px;
  margin-right: -60px;
  padding-top: 7px;
  padding-bottom: 7px;
  max-height: 488px;
}

@media (max-width: 575.98px) {
  .rb-icons-nav > li.dropdown.global-create2 .dropdown-menu {
    position: fixed;
    top: 60px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    border-bottom: 1px solid #ebebeb;
  }
  .rb-icons-nav > li.dropdown.global-create2 > a::after {
    bottom: 0;
  }
}

.rb-icons-nav > li.dropdown.global-create2 > a .icon {
  font-size: 2rem;
}

.global-create2 .dropdown-item:hover {
  background: #4285f4;
  color: #fff !important;
  cursor: pointer;
}

.global-create2 .dropdown-item:hover > .icon {
  color: #fff;
}

.global-search .dropdown-menu:empty {
  padding: 15px !important;
}

.global-create2 .dropdown-menu:empty {
  padding: 13px 15px !important;
}

.global-search .dropdown-menu:empty::after,
.global-create2 .dropdown-menu:empty::after {
  font-style: italic;
  font-size: 1rem;
  color: #999;
  content: attr(_title) !important;
  position: static !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 none !important;
}

.preview-modal {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1099;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.preview-modal .preview-header {
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 0 20px;
  height: 61px;
}

.preview-modal .preview-body {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
}

.preview-modal .preview-header .float-left > h5,
.preview-modal .preview-header .float-right a {
  margin: 0;
  height: 60px;
  line-height: 60px;
}

.preview-modal .preview-header .float-right a {
  display: inline-block;
  width: 56px;
  font-size: 18px;
  font-weight: normal;
  text-align: center;
  color: #fff;
}

.preview-modal .preview-header .float-right a:hover {
  background: rgba(255, 255, 255, 0.3);
}

.preview-modal .preview-body .container,
.preview-modal .container .iframe,
.preview-modal .container iframe {
  height: 100%;
}

.preview-modal .preview-body .iframe {
  background: #fff;
}

.preview-modal .container iframe {
  width: 100%;
  border: 0;
  margin: 0;
  padding: 0;
}

.preview-modal .preview-body .iframe.text {
  overflow: auto;
}

.preview-modal .preview-body .iframe.text > pre {
  font-family: 'Hiragina Sans GB', 'San Francisco', 'Helvetica Neue', Helvetica, Arial, PingFangSC-Light, 'Noto Sans SC', 'Microsoft YaHei UI', 'Microsoft YaHei', sans-serif;
  font-size: 1rem;
  background-color: #fff;
}

@media (max-width: 768px) {
  .preview-modal .preview-header {
    padding: 0 12px;
  }

  .preview-modal .container .container {
    padding-left: 0;
    padding-right: 0;
    max-width: 768px !important;
  }
}

.preview-modal .preview-body .img-zoom {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preview-modal .preview-body .img-zoom img {
  max-height: 98%;
  max-width: 98%;
  font-size: 0;
  display: inline-block;
}

.preview-modal .preview-body .oper-box-wrap {
  position: absolute;
  bottom: 25px;
  text-align: center;
  left: 0;
  right: 0;
  width: 100%;
}

.oper-box-wrap .oper-box + .oper-box {
  margin-left: 5px;
}

.oper-box-wrap .oper-box {
  background-color: rgba(0, 0, 0, 0.6);
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0;
  user-select: none;
  display: inline-block;
}

.oper-box-wrap .oper-box a.arrow,
.oper-box-wrap .oper-box span {
  text-align: center;
  display: inline-block;
  height: 48px;
  line-height: 48px;
}

.oper-box-wrap .oper-box a.arrow {
  width: 48px;
  font-size: 21px;
  font-weight: lighter;
}

.oper-box-wrap .oper-box a.arrow:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

.oper-box-wrap .oper-box span {
  font-size: 1rem;
  color: #fff;
  width: 64px;
}

.preview-modal .preview-body .unsupports {
  max-width: 400px;
  margin: 15% auto 0;
  text-align: center;
  padding: 30px;
  height: auto;
}

.preview-modal .container.fp-content.fullwidth {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.file-share {
  padding: 10px 40px;
}

.file-share .expires ul li a {
  background-color: #eee;
  border-radius: 99px;
  padding: 4px 8px;
  color: #777;
  font-size: 12px;
}

.file-share .expires ul li.active a {
  background-color: #4285f4;
  color: #fff;
}

.file-share .expires ul li.active a::after {
  content: attr(_title);
}

.file-share .form-control {
  background-color: #fff !important;
  cursor: text;
}

.dialog-table {
  margin-bottom: 0;
  margin-top: -13px;
}

.dialog-table th {
  border-top: 0 none;
  font-weight: normal !important;
  color: #878787;
}

.dialog-table td.actions .icon {
  font-size: 1.28rem !important;
}

.dialog-table td.actions .icon:hover {
  color: #4c8bf5 !important;
}

.dialog-table tr:last-child td {
  border-bottom: 1px solid #dee2e6;
}

.copyright {
  color: #999;
  width: 100%;
  text-align: center;
}

.copyright > a {
  color: #999;
}

.copyright.fixed {
  position: fixed;
  bottom: 15px;
}

.shareTo--wrap .btn.btn-link {
  height: 30px;
  line-height: 30px;
  min-height: 0;
  min-width: 30px;
  text-align: left;
  padding: 2px 0 0;
}

.shareTo--wrap .btn.btn-link .icon {
  font-size: 16px !important;
}

.shareTo--wrap .custom-control {
  margin-bottom: 0;
  margin-top: 9px;
  cursor: default;
}

.shareTo--box .form {
  max-width: 400px;
  margin: 0 auto;
}

.modal.select-list .modal-content {
  width: 420px;
}

.modal.select-list .modal-body > div.rb-scroller {
  max-height: 361px;
}

.modal.select-list .modal-body ul {
  margin-bottom: 0;
}

.modal.select-list .modal-body li + li {
  margin-top: 6px;
}

.modal.select-list .modal-body li a {
  display: block;
  background-color: rgba(0, 0, 0, 0.06);
  padding: 9px 10px;
  position: relative;
  color: #555;
  border-radius: 2px;
  overflow: hidden;
  white-space: nowrap;
}

.modal.select-list .modal-body li a:hover,
.modal.select-list .modal-body li.active a {
  color: #fff;
  background-color: #4285f4;
}

.modal.select-list .modal-body li a > .muted {
  color: #aaa;
  float: right;
  font-size: 12px;
}

.modal.select-list .modal-body li a:hover > .muted,
.modal.select-list .modal-body li.active a > .muted {
  color: rgba(255, 255, 255, 0.4);
}

.modal.select-list .modal-body li a > .mdi,
.modal.select-list .modal-body li a > .zmdi {
  float: right;
  font-size: 1.4rem;
  color: #fff;
  display: none;
}

.modal.select-list .modal-body li > a > .mdi,
.modal.select-list .modal-body li > a > .zmdi {
  position: absolute;
  right: 6px;
  margin-top: 1px;
}

.modal.select-list .modal-body li a > .mdi {
  font-size: 1.231rem;
}

.modal.select-list .modal-body li a:hover > .mdi,
.modal.select-list .modal-body li a:hover > .zmdi {
  display: inline-block;
}

.rb-wrapper .rb-content > .page-aside {
  display: none;
}

.rb-wrapper.rb-aside .rb-content > .page-aside {
  display: block;
}

.page-aside.widgets {
  z-index: 3;
  overflow: hidden;
}

.page-aside.widgets + .main-content {
  z-index: 2;
}

.page-aside.widgets .tab-container {
  min-width: 279px;
  overflow: hidden;
}

.page-aside.widgets .tab-container .tab-content {
  padding: 15px;
  margin: 0;
  border-radius: 0;
  position: relative;
}

.page-aside.widgets .side-toggle {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  width: 50px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  color: #999;
  display: none;
}

.page-aside.widgets .side-toggle:hover {
  background-color: #eee;
  color: #5a5a5a;
}

.page-aside.widgets:hover .side-toggle {
  display: block;
}

.rb-aside.rb-aside-collapsed .page-aside.widgets {
  width: 50px;
}

.rb-aside.rb-aside-collapsed .side-toggle {
  height: 100%;
  display: block !important;
}

.rb-aside.rb-aside-collapsed .side-toggle .zmdi {
  transform: rotate(180deg);
}

.rb-aside.rb-aside-collapsed .page-aside.widgets .tab-container {
  display: none;
}

.rb-aside.rb-aside-collapsed .page-head,
.rb-aside.rb-aside-collapsed .main-content {
  margin-left: 50px;
}

.page-head.page-head-sm {
  padding-top: 12px;
  padding-bottom: 0;
}

.rb-animate .rb-aside .page-aside.widgets {
  transition: width 0.35s ease;
}

.rb-animate .rb-aside.rb-aside-collapsed .page-aside.widgets {
  transition: width 0.35s ease;
}

a.icon-link {
  position: relative;
  padding-left: 14px;
}

a.icon-link > .zmdi {
  position: absolute;
  font-size: 1.231rem;
  margin-top: 2px;
  left: 0;
}

.syscfg .card-header.pb-1 {
  color: #6b6b6b;
}

.syscfg h5 {
  background-color: #eee;
  margin: 0;
  padding: 12px 10px;
}

.syscfg .table td {
  padding: 12px 10px;
}

.syscfg .table td p {
  margin: 0;
  color: #999;
  font-weight: normal;
  font-size: 12px;
  line-height: 1.3;
}

.syscfg .table td .form-control {
  max-width: 400px;
}

.syscfg .card {
  margin-bottom: 0;
}

.syscfg .card .card-header > a {
  font-size: 1rem;
  margin-top: 4px;
  display: none;
}

.syscfg .card:hover .card-header > a {
  display: inline-block;
}

.syscfg .edit-footer {
  background-color: #eee;
  padding: 10px;
  text-align: right;
  display: none;
}

.syscfg.edit .edit-footer {
  display: block;
}

.syscfg .show-on-edit {
  display: none;
}

.syscfg.edit .show-on-edit {
  display: table-row;
}

.announcement-wrapper > div {
  margin: 0;
  border-radius: 0;
  color: #fff;
  padding: 15px 25px;
  font-size: 1rem;
  position: relative;
}

.announcement-wrapper > div::after {
  content: '\f2fb';
  font-family: 'Material-Design-Iconic-Font', serif;
  position: absolute;
  right: 25px;
  top: 10px;
  font-size: 1.65rem;
  width: 15px;
  text-align: center;
}

.announcement-wrapper > div.read-state1::after {
  content: '\f19c';
}

.announcement-wrapper > div.read-state2::after {
  content: '\f26b';
}

.announcement-wrapper > div:hover {
  cursor: pointer;
}

.announcement-wrapper > div + div {
  margin-top: 1px;
}

.announcement-wrapper > div .icon {
  float: left;
  font-size: 1.65rem;
  width: 18px;
  text-align: center;
}

.announcement-wrapper > div p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  padding-left: 15px;
  margin: 0;
}

.announcement-wrapper > div:hover p {
  opacity: 0.8;
}

.announcement-wrapper > div p > a {
  color: #fff;
}

.announcement-wrapper > div p > a:hover,
.announcement-contents a:hover {
  text-decoration: underline;
}

.announcement-contents {
  line-height: 1.7;
  font-size: 1.1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.announcement-contents img.emoji {
  width: 26px;
  height: 26px;
  line-height: 1;
  font-size: 0;
}

.protips {
  color: #999;
  text-align: center;
  margin-bottom: 0;
}

.protips + .protips {
  margin-top: 12px;
}

.protips::before {
  content: '\f1f6';
  font: normal normal normal 14px/1 'Material-Design-Iconic-Font';
  font-size: 1.1rem;
  margin-right: 6px;
}

.popover {
  border-radius: 2px;
  border-width: 0;
}

.btn .spinner-border,
.btn .spinner-grow {
  width: 1rem;
  height: 1rem;
}

.btn.btn-xl .spinner-border,
.btn.btn-xl .spinner-grow {
  width: 1.5rem;
  height: 1.5rem;
}

.custom-checkbox.indeterminate .custom-control-label::after {
  background-color: #4285f4;
  border: 0;
  width: 12px;
  height: 12px;
  margin-top: 5px;
  margin-left: 5px !important;
  transform: translateX(0);
}

.custom-checkbox.custom-control-sm.indeterminate .custom-control-label::after {
  width: 8px;
  height: 8px;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
  font-size: 0 !important;
  width: 11px;
  height: 11px;
  background-color: #4285f4;
  border-radius: 50%;
  margin-top: 6px;
  margin-left: 6px;
}

.custom-radio.custom-control-sm .custom-control-input:checked ~ .custom-control-label::after {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  margin-left: 5px;
}

.custom-control-input:disabled ~ .custom-control-label {
  cursor: default;
}

/* 1280 */
@media (max-width: 1280px) {
  .adv-search .btn-group,
  .adv-search .btn-group .dropdown-menu,
  .input-search,
  .input-search input {
    width: 212px;
  }
}

/* text overflow */

.aside-header .title,
.aside-tree ul li a,
.dropdown-item,
.modal-header .modal-title,
.view-header .title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-tabs > li.nav-item a.nav-link {
  max-width: 200px;
  padding: 12px 15px 10px;
}

.select2-container--default.warning-data-filter .select2-results::after {
  display: block;
  content: attr(_title);
  background-color: #f5f5f5;
  color: #aaa;
  padding: 5px 10px;
  font-size: 11px;
  font-style: italic;
  border-top: 1px solid #d5d8de;
  line-height: 1;
}

.select2-container--disabled .select2-selection__clear {
  display: none;
}

.use-dropdown .dropdown-menu {
  max-width: none;
  min-width: 0;
  padding: 0;
}

.modal-title,
.btn,
.dropdown-item,
.page-head-title,
.text-capitalize {
  text-transform: capitalize;
}

.dropdown-menu.origin .dropdown-item {
  text-transform: unset;
}

a.select-lang {
  display: inline-block;
  padding: 5px 10px;
  line-height: 1;
  border-radius: 2px;
  border: 1px solid #e6eff8;
}

a.select-lang:hover {
  border: 1px solid #4285f4;
  background-color: #e6eff8;
}

.rbv {
  color: #fc9a00;
  font-size: 11px;
  font-weight: bold;
  font-style: italic;
  cursor: help;
}

.rbv::after {
  content: 'V';
}

.rb-collapsible-sidebar-collapsed .left-sidebar-content > .sidebar-elements > li > a .rbv {
  margin-left: -10px;
}

@media (max-width: 767px) {
  .rb-collapsible-sidebar-collapsed .left-sidebar-content > .sidebar-elements > li > a .rbv {
    margin-left: 0;
  }
}

h3.modal-title > .rbv {
  margin: 0 3px;
  top: -10px;
}

.rb-fullcontent,
.rb-fullcontent .rb-wrapper,
.rb-fullcontent .rb-wrapper .rb-content,
.rb-fullcontent .rb-wrapper .main-content {
  height: 100%;
}

/* page: /admin/ */
.rb-color-header .use-theme {
  display: none;
}

.use-theme,
.use-language {
  border-top: 1px solid #eee;
  margin-top: 6px;
  padding: 14px 15px 10px;
}

.use-theme ul,
.use-theme ul li,
.use-theme ul li a {
  font-size: 0;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.use-theme ul li {
  display: inline-block;
  height: auto;
  margin-right: 3px;
}

.use-theme ul li:last-child {
  margin-right: 0;
}

.use-theme ul li a {
  width: 21px;
  height: 21px;
  display: inline-block;
  background-color: #ddd;
  opacity: 0.9;
  border: 1px solid #fff;
}

.use-theme ul li a:hover {
  outline: 2px solid #4285f4;
}

.use-theme ul li a.theme-default {
  background-color: #ddd !important;
}

.use-theme ul li a.theme-purple {
  background-color: #9b52de !important;
}

.use-theme ul li a.theme-red {
  background-color: #f7615e !important;
}

.use-theme ul li a.theme-dark {
  background-color: #1c2128 !important;
}

.use-theme ul li a.theme-blue {
  background-color: #4873c0 !important;
}

.use-theme ul li a.theme-blue2 {
  background-color: #38adff !important;
}

.use-theme ul li a.theme-green {
  background-color: #16a88f !important;
}

.use-theme ul li a.theme-purple2 {
  background-color: #6a70b8 !important;
}

.btn.btn-theme {
  background-color: var(--rb-theme-color);
  color: #fff;
}

.btn.btn-theme:active {
  opacity: 0.88;
}

/* for MDE */

.editor-toolbar {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  border-color: #d5d8de;
  opacity: 1;
  padding-top: 0;
}

.editor-toolbar:hover {
  opacity: 1;
}

.editor-toolbar a {
  border-radius: 2px;
  font-size: 17px;
  font-weight: normal;
}

.editor-toolbar i.separator {
  transform: translateY(-2px);
}

.CodeMirror {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  border-color: #d5d8de;
}

.CodeMirror,
.CodeMirror-scroll {
  min-height: 130px !important;
}

.CodeMirror .cm-formatting {
  display: none !important;
}

.CodeMirror .cm-formatting.cm-formatting-list,
.CodeMirror .cm-formatting.cm-url,
.CodeMirror .cm-formatting.cm-link {
  display: inline !important;
}

.CodeMirror .CodeMirror-code,
.CodeMirror-line {
  line-height: 1.6;
}

.CodeMirror-wrap pre.CodeMirror-line,
.CodeMirror-wrap pre.CodeMirror-line-like {
  word-wrap: break-word;
  word-break: break-all;
}

.cm-readonly ~ .EasyMDEContainer > .CodeMirror {
  background-color: #eee;
  cursor: default;
}

.CodeMirror-wrap pre {
  word-break: break-all;
}

.popover {
  max-width: 300px;
}

.admin-danger-list > div {
  padding: 12px 0;
}

.admin-danger-list > div + div {
  border-top: 1px solid #eee;
}

.admin-danger-list > div blockquote {
  margin: 0;
  border-left: 3px solid #ea4335;
  padding-left: 6px;
}

body.fullscreen .rb-wrapper > .rb-top-header,
body.fullscreen .rb-wrapper > .rb-left-sidebar {
  display: none !important;
}

body.fullscreen .rb-wrapper {
  padding: 0 !important;
}

body.fullscreen .rb-wrapper > .rb-content {
  margin-left: 0 !important;
}

.card-header {
  font-weight: normal;
}

html.external-auth,
html.external-auth body {
  height: auto;
  background-color: #fff;
}

html.external-auth .auth-body {
  max-width: 461px;
  margin: 0 auto;
}

html.external-auth .auth-body .alogo {
  margin-top: 61px;
  margin-bottom: 51px;
}

html.external-auth .auth-body .alogo img {
  display: inline-block;
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

html.external-auth .auth-body .alogo .zmdi {
  font-size: 3rem;
  margin-top: 12px;
}

html.external-auth .auth-body .card {
  margin-left: 20px;
  margin-right: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

html.external-auth .auth-body.must-center .card,
html.external-auth .auth-body.must-center .login {
  display: none;
}

@media (max-width: 576px) {
  html.external-auth .auth-body .card {
    padding-left: 10px;
    padding-right: 10px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  }
}

.page-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 10px;
  text-align: center;
  background-color: #eee;
  background-color: rgba(255, 255, 255, 0.15);
  font-size: 1rem;
  color: #222;
}

.page-footer > p {
  margin: 0;
}

.init-models fieldset legend {
  font-size: 1rem;
  font-weight: bold;
}

.init-models fieldset + fieldset {
  margin-top: 12px;
}

.init-models fieldset legend .custom-control-sm {
  margin: 0 -6px 0 0 !important;
}

.init-models form > div {
  width: 49%;
  border: 1px solid #eee;
  padding: 10px;
  float: left;
  margin-bottom: 12px;
  border-radius: 2px;
}

.init-models form > div:nth-child(even) {
  margin-left: 2%;
}

.init-models form > div p {
  max-height: 36px;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  font-size: 12px;
  color: #777;
}

.btn.btn-light {
  box-shadow: none;
}

.btn.btn-light:not(:disabled):hover {
  background-color: #e6e6e6;
}

.user-popup {
  position: fixed;
  z-index: 1;
  width: 280px;
  max-height: 90px;
  background-color: #fff;
  left: 0;
  right: 0;
  display: none;
  box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
}

.user-popup::after {
  border-top: 8px solid #fff;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  content: '';
  display: inline-block;
  position: absolute;
  bottom: -8px;
  left: 50%;
  margin-left: -4px;
}

.user-popup .avatar {
  width: 90px;
  height: 90px;
  float: left;
  background-color: #ccc;
}

.user-popup .avatar img {
  width: 100%;
  height: 100%;
}

.user-popup .infos {
  margin-left: 90px;
  padding-top: 10px;
  padding-left: 15px;
  line-height: 1.2;
}

.user-popup .infos strong {
  font-size: 1rem;
  font-weight: normal;
}

.user-popup .infos p {
  margin: 0;
  line-height: 1.4;
  max-width: 170px;
}

.user-popup .infos p.phone::after,
.user-popup .infos p.email::after {
  font-family: 'Material Design Icons', serif;
}

.user-popup .infos p.phone::after,
.user-popup .infos p.email::after {
  color: #999;
  display: inline-block;
  margin-left: 4px;
}

.user-popup .infos p.phone::after {
  content: '\F011C';
}

.user-popup .infos p.email::after {
  content: '\F01F0';
}

.copied-check > .zmdi-copy::before {
  content: '\f26b' !important;
  color: #34a853;
  font-weight: bold;
}

pre.unstyle {
  padding: 0;
  margin: 0;
  background-color: transparent;
  font-size: 1rem;
  font-family: inherit;
}

.map-container,
.map-show {
  width: 100%;
  height: 100%;
  background-color: #f7f7f7;
  position: relative;
}

.map-pin {
  padding: 10px 15px 10px 19px;
  background-color: #f7f7f7;
}

.custom-checkbox.ptask .custom-control-label::before {
  border-width: 2px;
}

.custom-checkbox.ptask:hover .custom-control-input:not(:disabled) ~ .custom-control-label::before {
  border-color: #4285f4;
}

.custom-checkbox.ptask .custom-control-input:checked ~ .custom-control-label::after {
  font-weight: 700;
}

.dropdown-item.check {
  color: #4285f4 !important;
}

.dropdown-item.check::after {
  font-family: 'Material-Design-Iconic-Font', serif;
  content: '\f26b';
  float: right;
  font-size: 1.2rem;
}

.dropdown-menu-sm .dropdown-item.check::after {
  margin-top: -1px;
}

#gritter-notice-wrapper {
  position: fixed;
  right: 20px;
  z-index: 1099;
  top: auto;
  bottom: 10px;
}

.gritter-item-wrapper .gritter-item .gritter-img-container {
  width: 20%;
}

.gritter-item-wrapper .gritter-item .gritter-content.gritter-with-image,
.gritter-item-wrapper .gritter-item .gritter-content.gritter-without-image {
  width: 286px;
}

.gritter-item-wrapper .gritter-item .gritter-content.gritter-with-image p,
.gritter-item-wrapper .gritter-item .gritter-content.gritter-without-image p {
  font-size: 13px;
}

.gritter-item-wrapper .gritter-image > .icon {
  font-size: 3rem;
}

.gritter-item-wrapper.color .gritter-item .gritter-img-container {
  background-color: rgba(0, 0, 0, 0.1);
}

.gritter-item-wrapper.faster {
  -webkit-animation-duration: 200ms;
  animation-duration: 200ms;
}

.modal.sign-pad .modal-content {
  width: 580px;
}

.modal.sign-pad .sign-pad-footer {
  text-align: right;
}

.sign-pad-canvas {
  background-color: #eee;
  line-height: 1;
  font-size: 0;
  position: relative;
}

.sign-pad-canvas canvas {
  cursor: crosshair;
  z-index: 10;
}

.sign-pad-canvas .pen-colors {
  position: absolute;
  top: 10px;
  right: 7px;
  z-index: 11;
}

.sign-pad-canvas .pen-colors > a {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  float: left;
  text-align: center;
  padding-top: 3px;
  transition: all 0.1s;
  margin: 0 3px;
  background-color: rgb(0, 0, 0);
}

.sign-pad-canvas .pen-colors > a.active {
  width: 22px;
  height: 22px;
  color: #fff !important;
  margin-top: -3px;
}

.sign-pad-canvas .pen-colors > a.active::after {
  font-family: 'Material-Design-Iconic-Font', serif;
  content: '\f26b';
  font-size: 1.3rem;
}

.sign-pad-canvas .pen-colors > a.color-blue {
  background-color: rgb(26, 97, 204);
}

.sign-pad-canvas .pen-colors > a.color-red {
  background-color: rgb(202, 51, 51);
}

.table tbody tr td.user-avatar.sign img {
  width: auto;
  border-radius: 0;
}

/* v2: Nav styles */

.rb-left-sidebar.v2 .sidebar-elements li > a {
  padding-left: 14px;
  padding-right: 14px;
  margin-left: 6px;
  margin-right: 6px;
  border-radius: 2px;
}

.rb-left-sidebar.v2 .sidebar-elements > li ul li > a {
  padding-left: 41px;
}

.rb-left-sidebar.v2 .sidebar-elements li > a[target='_blank']::after {
  position: absolute;
  content: '\F0339';
  right: 12px;
  margin-top: 12px;
  font: normal normal normal 14px/1 'Material Design Icons';
  color: #aaa;
  display: none;
}

.rb-left-sidebar.v2 .sidebar-elements li > a[target='_blank']:hover::after {
  display: inline-block;
}

.rb-collapsible-sidebar-collapsed .rb-left-sidebar.v2 .sidebar-elements li > a[target='_blank']::after {
  display: none !important;
}

@media (min-width: 768px) {
  .rb-collapsible-sidebar-collapsed .rb-left-sidebar.v2 .sidebar-elements > li ul.visible .nav-items .content > ul > li > a {
    padding-left: 19px;
  }
}

.rb-left-sidebar.v2 .sidebar-elements li.active > a {
  background-color: #e3e3e3;
  font-weight: normal;
}

.rb-left-sidebar.v2 .sidebar-elements li.active.parent > a {
  background-color: inherit;
}

.pointer {
  cursor: pointer !important;
}

.dropdown-menu.entity-switch {
  width: 235px;
}

.dropdown-menu.entity-switch .dropdown-item.current,
.dropdown-menu.entity-switch .dropdown-item.current .icon {
  color: #4285f4;
}

.dropdown-item-text {
  color: #b0b0b0;
  text-transform: uppercase;
  font-size: 0.8462rem;
}

.rbalert .widget-sm {
  width: 88%;
  margin: 0 auto;
  text-align: left;
}

.switch-button.switch-button-xs label::before {
  font-size: 12px;
  transform: scale(0.8333);
  font-weight: normal;
  padding-right: 5px;
}

/* nav v2.10 */

.rb-left-sidebar .sidebar-elements > li ul {
  background-color: #eee;
  padding: 6px 0;
}

.rb-left-sidebar .sidebar-elements > li > a:hover,
.rb-left-sidebar .sidebar-elements > li ul li > a:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.rb-left-sidebar .sidebar-elements > li ul li > a.text-muted {
  background-color: unset !important;
  font-style: italic;
  cursor: default;
}

.rb-left-sidebar.v2 .sidebar-elements li.active > a {
  background-color: rgba(0, 0, 0, 0.08);
}

.nav-tabs > li.nav-item a.nav-link .icon {
  margin-left: 0;
  font-size: 19px;
}

.tablesort thead th:not(.no-sort):hover,
.tablesort thead th.sorted {
  cursor: pointer;
  background-color: #dee2e6;
  position: relative;
}

.tablesort thead th.sorted.ascending::after,
.tablesort thead th.sorted.descending::after {
  font: normal normal normal 18px/1 'Material Design Icons';
  content: '\F0143';
  position: absolute;
  right: 10px;
  top: 9.5px;
}

.tablesort thead th.sorted.descending::after {
  content: '\F0140';
}

.map-suggestion.dropdown-menu {
  max-width: unset;
  width: 100%;
  padding: 0;
}

.map-suggestion.dropdown-menu .dropdown-item {
  padding: 8px 10px;
  cursor: pointer;
}

.map-suggestion.dropdown-menu .dropdown-item:hover,
.map-suggestion.dropdown-menu .dropdown-item.active {
  background-color: #4285f4;
  color: #fff;
}

/* v3: mdi7 */

.mdi {
  display: inline-block;
  line-height: 1;
}

.mdi.text-bold::before {
  font-weight: bold;
}

.zmdi.mdi::before {
  line-height: unset;
}

.modal-header > .icon.mdi,
.header-icon.mdi {
  font-size: 2rem;
}

/* v3.1: theme defs */

.rb-left-sidebar .sidebar-elements > li.active > a,
.rb-left-sidebar .sidebar-elements > li.active > a > span,
.rb-left-sidebar .sidebar-elements > li ul li.active > a {
  color: var(--rb-theme-color);
}

.main-content > .card.card-table.card-topcolor {
  border-top-color: var(--rb-theme-color);
}

.nav-tabs > li.nav-item a.nav-link.active {
  border-color: var(--rb-theme-color);
}

.nav-tabs > li.nav-item a.nav-link:hover {
  color: var(--rb-theme-color);
}

.colored-header-primary .modal-content .modal-header {
  background-color: var(--rb-theme-color);
}

.support-plat2 {
  position: absolute;
  cursor: help;
  font-size: 15px;
  margin-top: 1px;
  margin-left: 8px;
}

.modal-title > .support-plat2 {
  margin-top: 7px;
}

.rbcolors {
  line-height: 1;
  font-size: 0;
}

.rbcolors > a,
.rbcolors input[type='color'] {
  width: 22px;
  height: 22px;
  display: inline-block;
  background-color: #ccc;
  border-radius: 50%;
  color: #fff;
  overflow: hidden;
  font-size: 1.3rem;
  padding-top: 3px;
  text-align: center;
}

.rbcolors > a:hover {
  opacity: 0.8;
  color: rgb(117, 0, 234);
}

.rbcolors > a + a,
.rbcolors input[type='color'] {
  margin-left: 5px;
}

.rbcolors input[type='color'] {
  position: absolute;
}

.rbcolors > a > i {
  color: #fff !important;
}

.rbcolors > a.default {
  border: 1px solid #ccc;
  background-color: #fff;
  background-image: linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc), linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc);
  background-size: 10px 10px;
  background-position: 0 0, 5px 5px;
}

.rbcolors > a.default > i {
  color: #444 !important;
  color: #404040 !important;
}

.rbcolors input[type='color'] {
  appearance: none;
  -moz-appearance: none;
  padding: 2px !important;
  border: 0 none;
  cursor: pointer;
  background: #ccc;
  font-size: 0;
}

.dd-item.star .dd3-content::after {
  content: '*';
  margin-left: 4px;
  font-weight: bold;
  color: #fbbc05;
}

.dropdown-menu.common-texts {
  padding: 15px 15px 12px;
  z-index: 1051;
  overflow: auto;
  max-width: 337px;
}

.dropdown-menu.common-texts.w-100 {
  max-width: 100%;
}

.dropdown-menu.common-texts > h5 {
  margin: 0;
  color: #777;
  font-size: 12px;
}

.dropdown-menu.common-texts .badge {
  margin: 6px 3px 0 0;
  font-weight: normal;
  border: 0 none;
  background-color: rgb(245, 247, 249);
  max-width: 99%;
  font-size: 13px;
}

.dropdown-menu.common-texts .badge:hover {
  color: #4285f4 !important;
}

.rbalert-form-sm {
  width: 500px;
  max-width: 440px;
  margin: 0 auto;
}

.rbalert-form-sm label {
  font-weight: bold;
  margin-bottom: 5px;
}

.rbalert-form-sm label > span {
  font-weight: normal;
}

/* TOP-MENU */

.navbar-collapse .navbar-nav > li > a.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.rb-color-header .navbar-collapse,
.rb-offcanvas-menu .navbar-collapse {
  display: none !important;
}

.navbar-collapse .nav-item .nav-link {
  position: relative;
  padding: 0 20px !important;
  max-width: 200px;
}

.navbar-collapse .nav-item.active .nav-link::after {
  content: '';
  height: 4px;
  background-color: rgba(0, 0, 0, 0.2);
  background-color: #fff;
  position: absolute;
  bottom: 0;
  border-radius: 99px;
  width: 36px;
  margin-left: -18px;
  left: 50%;
}

.logo-img,
.rb-top-header .rb-navbar-header .navbar-brand {
  background-image: url('../../commons/theme/use-logo');
}

.logo-img.white,
.rb-color-header .rb-top-header .rb-navbar-header .navbar-brand {
  background-image: url('../../commons/theme/use-logo-white');
}

.rb-top-header .rb-navbar-header .navbar-brand {
  background-size: auto 30px;
  padding-right: 0;
}

.badge-arrow3 {
  border-radius: 99px 99px 99px 0;
}

@media (max-width: 767.98px) {
  .rb-top-header .navbar-collapse {
    display: none !important;
  }
}

/* v3.3 compact */

.main-content {
  padding: 20px;
}

.rb-icons-nav > li.dropdown > a .icon {
  min-width: 22px;
  text-align: center;
}

.modal.rbmodal .modal-dialog .modal-body {
  padding: 15px 15px 18px;
}

.modal.rbmodal .modal-dialog.sm-height .modal-body {
  min-height: auto;
}

.page-head {
  padding: 12px 20px 10px;
}

.rb-left-sidebar .sidebar-elements .divider {
  padding-top: 14px;
  font-size: 13px;
}

.rb-left-sidebar .sidebar-elements .divider + .divider {
  display: none;
}

.aside-tree .config-title {
  margin-top: 10px;
  margin-bottom: 14px;
}

.card-list {
  margin-top: 0;
  margin-bottom: 0;
}

.aside-header .title {
  margin-top: 4px;
  margin-bottom: 0;
  font-weight: normal;
}

.dialog-footer {
  margin-bottom: 0;
}

.dialog-footer .btn-space {
  margin-bottom: 0;
}

.col-right-compact {
  padding-left: 0;
}

@media (max-width: 768px) {
  .col-right-compact {
    padding-left: 15px;
  }
}

/* LiteForm */

.liteform-wrap > .rbform {
  width: 85%;
}

.liteform-wrap > .footer {
  padding: 10px 0 10px 165px;
}

.liteform-wrap .form-text {
  margin-bottom: 0;
}

.liteform-wrap .footer > .alert {
  width: 373px;
}

.alert.alert-dismissible .message {
  padding-right: 42px;
}

.datetimepicker table {
  min-width: 248px;
}

/* .datetimepicker table tr td span.minute {
  width: 20%;
  margin-left: 0;
  margin-right: 0;
} */

.datetimepicker table tbody tr td.day {
  min-width: 28px;
}

/* v34 radius 6px */

.rbhighbar > .alert,
.rb-left-sidebar.v2 .sidebar-elements li > a,
.aside-2tree ul li,
.aside-tree li > a {
  border-radius: 6px;
}

.datetimepicker table tr .disabled,
.datetimepicker table tr .disabled:hover {
  color: #b3b3b3 !important;
}

.table.table-btm-line tbody {
  border-bottom: 1px solid #dee2e6;
}

.code-viewport {
  position: relative;
}

.code-viewport > pre {
  background-color: #f5f2f0;
  color: #905;
  text-shadow: 0 1px #fff;
  border-radius: 4px;
  padding: 15px;
  margin: 0;
  font-family: ui-monospace, 'Cascadia Mono', 'Segoe UI Mono', 'Liberation Mono', Menlo, Monaco, Consolas, monospace !important;
}

.code-viewport > a.copy {
  position: absolute;
  top: 15px;
  right: 15px;
  display: none;
}

.code-viewport:hover > a.copy {
  display: inline-block;
}

.select2-results span.icon-append {
  padding-left: 20px;
  position: relative;
}

.select2-results span.icon-append .icon {
  position: absolute;
  width: 20px;
  font-size: 1.2rem;
  left: 0;
  top: 0;
}

.select2-container--default .select2-results__option {
  position: relative;
  white-space: unset;
}

.select2-results span.code-append > em,
.select2-results span.code-append > a {
  position: absolute;
  right: 9px;
  width: 41px;
  overflow: hidden;
  color: rgba(0, 0, 0, 0.4) !important;
  font-style: normal;
  font-size: 12px;
  text-align: right;
}

.select2-results span.code-append > a {
  width: 27px;
  right: 1px;
  padding-right: 9px;
  font-size: 1rem;
}

.select2-results span.code-append > a:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

.tooltip {
  z-index: 1100;
}

.cursor-help {
  cursor: help !important;
}

.cursor-default {
  cursor: default !important;
}

.cursor-pointer {
  cursor: pointer !important;
}

.table-bordered.table-sm > thead > tr > th {
  padding: 7px;
}

.media-capture {
  position: relative;
  font-size: 0;
  line-height: 1;
  background-color: #000;
}

.media-capture video,
.media-capture canvas,
.media-capture canvas + div {
  margin: 0;
  padding: 0;
  width: 1024px;
  height: 768px;
  text-align: center;
}

.media-capture.media-capture-md video,
.media-capture.media-capture-md canvas,
.media-capture.media-capture-md canvas + div {
  width: 768px;
  height: 576px;
}

.media-capture canvas,
.media-capture.media-capture-md canvas {
  width: auto;
  height: auto;
}

.media-capture canvas + div {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000;
  text-align: center;
  font-size: 0;
  justify-content: center;
  align-content: center;
}

.media-capture canvas + div > img {
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
}

.media-capture .action {
  position: absolute;
  top: 10px;
  right: 10px;
}

.media-capture .action .btn {
  margin-left: 5px;
}

.media-capture.captured > video,
.media-capture .results {
  display: none;
}

.media-capture.captured .results {
  display: block;
}

.media-capture .btn.J_used,
.media-capture .btn.J_reset,
.media-capture.captured .btn.J_capture-video,
.media-capture.captured .btn.J_capture-image,
.media-capture.captured .btn.J_webcam {
  display: none;
}

.media-capture.captured .btn.J_used,
.media-capture.captured .btn.J_reset {
  display: inline-block;
}

.media-capture .action .btn.J_capture-video::before {
  display: inline-block;
  content: '';
  width: 9px;
  height: 9px;
  overflow: hidden;
  border-radius: 99px;
  background-color: green;
  margin-right: 5px;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.media-capture.recording .action .btn.J_capture-video::before {
  background-color: red;
  animation: blink 1s infinite;
}

.dropdown-menu.nott .dropdown-item,
.btn.J_filterlist {
  text-transform: none;
}

.loadmore-line {
  border-top: 1px solid #ccc;
  width: 200px;
  margin: 25px auto 0;
  text-align: center;
}

.loadmore-line > span {
  position: relative;
  top: -0.7em;
  padding: 0 0.55em;
  color: #999;
  background-color: #eee;
  margin-bottom: 3px;
  display: inline-block;
}

.dropdown-menu .searchbox {
  margin-bottom: 7px;
  position: relative;
}

.dropdown-menu .searchbox > input {
  outline: none;
  border: 0 none;
  border-bottom: 1px solid #d5d8de;
  padding: 2px 20px 6px;
  width: 100%;
}

.dropdown-menu .searchbox > input:focus {
  border-color: #4285f4;
}

.dropdown-menu .searchbox::after {
  font-family: 'Material-Design-Iconic-Font', serif;
  content: '\f1c3';
  position: absolute;
  right: 18px;
  top: 1px;
  color: #bbb;
  font-size: 18px;
}

.light-link {
  color: #222222 !important;
  border-bottom: 1px dotted #4285f4;
}

.light-link:hover {
  border-bottom-style: solid;
}

.bg-light2 {
  background-color: #f2f4f8;
}

.bg-light2:hover,
.bg-light2.active {
  background-color: #e9ecf1;
}

.protable .table .col-index.action > a {
  color: #a1a1a1;
  padding-right: 2px;
  font-size: 16px;
  width: 100%;
  height: 100%;
  display: none;
}

.protable .table .col-index.action > a:hover {
  color: #4285f4;
}

.protable .table .col-index.action:hover > span {
  display: none;
}

.protable .table .col-index.action:hover > a {
  display: inline-block;
}

/* v42 */
.protable .table tbody tr:last-child .column-fixed::before {
  border-bottom-width: 0;
}

.modal-dialog.modal-rsheetb .modal-body {
  padding: 0 !important;
}

.rsheetb-table {
  overflow: auto;
}

.rsheetb-table .head-action {
  margin: 13px 0;
}

.rsheetb-table .head-action > span {
  padding: 0 18px;
}

.rsheetb-table > span {
  overflow: auto;
  display: block;
  margin-bottom: 1px;
}

.rsheetb-table th {
  font-weight: normal !important;
}

.rsheetb-table table {
  margin: 0;
  border-left: 0 none;
  border-right: 0 none;
}

.rsheetb-table table td:first-child,
.table-bordered th:first-child {
  border-left: 0 none;
  padding-left: 18px !important;
}

.rsheetb-table table td:last-child,
.table-bordered th:last-child {
  border-right: 0 none;
  padding-right: 18px !important;
}

.rsheetb-table td > span {
  padding: 3px 1px;
  width: 100%;
  min-width: 120px;
  display: block;
  line-height: 1.4;
}

.rsheetb-table td > span:hover {
  background-color: #f5f8fd;
  border-radius: 2px;
}

.rsheetb-table td > span:focus {
  outline-width: 1px;
  outline-color: var(--rb-color);
}

.rsheetb-table tbody > tr {
  position: relative;
}

.rsheetb-table tbody > tr ~ a.btn {
  position: absolute;
  right: 10px;
  margin-top: -34px;
  line-height: 27px;
  min-height: 27px;
  min-width: 23px !important;
  visibility: hidden;
}

.rsheetb-table tbody > tr:hover ~ a.btn,
.rsheetb-table tbody > tr ~ a.btn:hover {
  visibility: visible;
}

/*.input-search .input-group-btn,*/
.input-group-append .btn,
.input-group-prepend .btn {
  z-index: unset;
}

textarea.formula-code,
div.formula-code {
  font-family: ui-monospace, 'Cascadia Mono', 'Segoe UI Mono', 'Liberation Mono', Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  background-color: #212121 !important;
  color: #f07178 !important;
  border: 0 none;
  height: 223px;
  width: 100%;
  resize: none;
  outline: none;
  border-radius: 0;
  line-height: 1.6;
  padding: 4px 10px;
}

div.formula-code {
  white-space: pre;
}

.flatpickr-time input::selection {
  background-color: var(--rb-theme-color);
  color: #fff;
}

.shortcut-buttons-flatpickr-buttons > button {
  appearance: none;
  width: 100%;
  padding: 5px;
  border-radius: 0;
  border: 0 none;
  outline: none;
  font-size: 12px;
  background-color: #fff;
}

.shortcut-buttons-flatpickr-buttons > button:hover {
  background-color: #e6e6e6;
}

.img-field label.img-upload + label.dropdown-toggle,
.file-field label.btn-secondary + label.dropdown-toggle {
  position: absolute;
  margin: 0;
  top: 0;
  height: 60px;
  width: 18px;
  margin-left: 58px;
  background-color: #eee;
  border-left: 1px solid #d5d8de;
  text-align: center;
  padding-top: 23px;
  font-size: 1.231rem;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  cursor: pointer;
}

.img-field label.img-upload + label.dropdown-toggle:hover {
  opacity: 0.8;
}

.file-field label.btn-secondary + label.dropdown-toggle {
  border: 1px solid #d5d8de;
  background-color: #fff;
  height: 37px;
  padding: 0;
  margin-left: -2px;
  top: auto;
}

.file-field label.btn-secondary + label.dropdown-toggle:hover {
  border-color: #bababa;
}

.form-layout.vertical38 > .row .form-group {
  display: block;
}

.form-layout.vertical38 > .row .form-group > .col-form-label {
  text-align: left;
  margin-bottom: 10px;
  padding-top: 5px;
  width: auto;
}

.form-layout.vertical38.rbview-form > .row .form-group > .col-form-label {
  margin-bottom: 0;
  font-weight: bold;
}

/* fjs style */

.rbform-fjsalert {
  margin: 5px;
  margin-bottom: 0;
}

.rbform-fjsalert:empty {
  display: none;
}

.rbform-fjsalert .alert {
  margin-bottom: 10px;
}

.rbview-fjsalert {
  /* NOOP */
}

.rbform-fjsalert:empty .rbview-fjsalert:empty {
  display: none;
}

.show-more-pill {
  color: #4285f4 !important;
  border-radius: 99px;
  border: 1px solid #dee2e6;
  padding: 5px 10px;
  display: inline-block;
  line-height: 1;
}

.show-more-pill::after {
  font: normal normal normal 14px/1 'Material Design Icons';
  content: '\F0B8D';
  margin-left: 5px;
}

.show-more-pill:hover {
  border-color: #0d5bdd;
  color: #0d5bdd;
}

.bootstrap-autocomplete.dropdown-menu {
  width: 100%;
  max-width: 100%;
  padding: 1px 0;
}

.bootstrap-autocomplete.dropdown-menu .dropdown-item {
  padding: 8px 10px;
}

.bootstrap-autocomplete.dropdown-menu .dropdown-item.active,
.bootstrap-autocomplete.dropdown-menu .dropdown-item:hover {
  color: #fff;
  background-color: var(--rb-color);
}

.badge.badge-sm {
  padding: 3px 5px;
  line-height: 1;
}

.badge.badge-dark {
  border: 0 none;
}

.modal-dialog-centered-unset .modal-dialog.modal-dialog-centered {
  display: block;
  margin: 0 auto !important;
}

.rb-navless40 .rb-wrapper {
  padding-top: 0;
}

.rb-navless40 .rb-wrapper > .navbar,
.rb-navless40 .rb-wrapper > .rb-left-sidebar {
  display: none;
}

.rb-navless40 .rb-wrapper > .rb-content {
  margin: 0;
}

.rb-navless40 .rb-wrapper > .rb-content > .page-aside {
  left: 0;
  margin: 0;
}

.EasyMDEContainer .editor-toolbar {
  padding: 4px;
}

.EasyMDEContainer .editor-toolbar.fullscreen {
  height: 38.6px;
}

.EasyMDEContainer .CodeMirror-fullscreen {
  top: 99px;
}

.EasyMDEContainer .editor-toolbar button {
  width: 30px;
  max-width: 30px;
  font-size: 16px;
  font-weight: normal;
}

.EasyMDEContainer .editor-toolbar.fullscreen::before,
.EasyMDEContainer .editor-toolbar.fullscreen::after {
  display: none;
}

@media (min-width: 768px) and (max-width: 1464px) {
  .modal.rbview .modal-dialog .modal-content {
    width: 1220px;
    margin: 0 -1230px 0 0;
  }
  .page-aside {
    width: 230px;
    left: 200px;
  }
  .page-aside .tab-container,
  .page-aside.widgets .tab-container {
    min-width: 229px;
  }
  .rb-aside .page-head,
  .rb-aside .main-content {
    margin-left: 230px;
  }
  .rb-left-sidebar,
  .rb-collapsible-sidebar-collapsed .rb-left-sidebar .sidebar-elements > li ul.visible {
    width: 200px;
  }
  .rb-content {
    margin-left: 200px;
  }
}

.rb-collapsible-sidebar-collapsed .rb-left-sidebar .sidebar-elements > li ul.visible .title {
  padding-top: 9px;
}

.form-control::placeholder,
.select2-search__field::placeholder {
  color: #999;
  opacity: 1;
}

/* Markdown */

.md-content,
.md-content p {
  font-size: 1rem;
  line-height: 1.5;
  word-break: break-all;
  max-width: 100%;
}

.md-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

.md-content table th,
.md-content table td {
  border: 1px solid #ddd;
  padding: 7px;
}

.md-content img {
  max-width: 100%;
  max-height: 100%;
  cursor: zoom-in;
}

.md-content a[target]:hover {
  text-decoration: underline;
}

.md-content blockquote {
  border-left: 4px solid #ddd;
  padding: 4px 0 4px 7px;
}

.md-content pre {
  padding: 1rem;
  background-color: #eee;
  margin-bottom: 1rem;
}

.md-content h1,
.md-content h2,
.md-content h3,
.md-content h4,
.md-content h5,
.md-content h6,
.md-content table,
.md-content blockquote,
.md-content p {
  margin: 0 0 1rem !important;
}

.md-content h1,
.md-content h2 {
  border-bottom: 1px solid #d1d9e0b3;
  padding-bottom: 0.3em;
}

.md-content ol,
.md-content ul {
  padding-left: 2rem;
}

.md-content li > p ~ ol,
.md-content li > p ~ ul {
  margin-top: -0.9rem;
}

.md-content *:last-child,
.md-content blockquote p:last-child {
  margin-bottom: 0 !important;
}

.md-content.editor-preview-active {
  padding: 1rem;
  background-color: #fafafa;
}

.header-icon,
.modal-header > .icon {
  width: 27px;
}

.select2-container .select2-selection--single {
  user-select: auto;
  -webkit-user-select: auto;
}

.navbar-more41 {
  position: relative;
}

.navbar-more41 .icon {
  font-size: 1.5rem;
  transform: translateY(1.5px);
}

.navbar-more41 .dropdown-menu {
  background-color: var(--rb-theme-color);
  width: 220px;
  margin-top: -1px;
}

.navbar-more41 .dropdown-menu a {
  padding: 10px 20px;
  color: #fff;
}

.navbar-more41 .dropdown-menu a:hover,
.navbar-more41 .dropdown-menu a.active,
.navbar-more41.show > a {
  background-color: rgba(255, 255, 255, 0.15);
}

/* v4.2 Notification */

.notification-list .list-nodata {
  padding-top: 70px;
}

.notification-list .notification > .a {
  cursor: default;
  padding-left: 15px;
}

.notification-list .notification:hover {
  background-color: #ebf2fe !important;
}

.notification-list .notification.notification-unread:hover {
  background-color: #dce9fd !important;
}

.notification-list .notification .text {
  color: #222222 !important;
  font-size: 1rem !important;
}

.notification-list .notification .date {
  color: #8a8a8a !important;
  margin-top: 6px !important;
}

.notification-list .notification .text a {
  cursor: pointer;
}

.notification-list .notification .text a.record {
  text-decoration: underline;
  padding: 0 1px;
}

.notification-list .notification.append {
  padding-right: 70px;
}

.notification-list .notification.append .badge,
.notification-list .notification .read-mark {
  position: absolute;
  right: 15px;
  top: 11px;
  font-weight: normal;
}

.notification-list .notification.append .badge {
  line-height: 1.35;
}

.notification-list .notification .read-mark {
  top: unset;
  bottom: 6px;
  font-size: 12px;
  display: none;
  visibility: hidden;
}

.notification-list .notification:hover .read-mark {
  display: inline-block;
}

.notification-list .notification.notification-unread > .a::after {
  right: 13px;
  top: 4px;
  background-color: #4285f4 !important;
}

.notification-list .notification.notification-unread .read-mark {
  visibility: visible;
}

.notification-list .notification .text > ul {
  padding-left: 18px;
}

.notification-list .notification .text > ul li > p {
  margin: 0;
}

.notification-list .notification.focus {
  outline: 2px solid #fbbc05;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.notification-info blockquote {
  font-size: 1rem;
  border-left: 3px solid #ccc;
  padding-left: 6px;
  margin: 4px 0 6px 1px;
  color: #777;
}

.notification-list li:first-child {
  border-top: 1px solid #ebebeb;
}

.modal-header .close[disabled] {
  color: #aaa !important;
  opacity: 0.5 !important;
}

.rb-icons-nav > li.dropdown > a .indicator:not(:empty) {
  background-color: #ea4335 !important;
  color: #fff;
  height: 14px;
  min-width: 14px;
  line-height: 14px;
  width: auto;
  text-align: center;
  padding: 0 3px;
  right: unset;
  left: 24px;
  font-size: 10px;
  border-radius: 10rem;
}

.file-field .ui-sortable-placeholder,
.img-field .ui-sortable-placeholder {
  visibility: visible !important;
  background-color: #eee !important;
  border-radius: 2px;
  opacity: 0.5;
}

.rb-top-header .navbar-nav > li.dropdown .dropdown-menu > a {
  color: #222;
}

.rb-top-header .rb-user-nav > li.dropdown .dropdown-menu a:hover {
  background-color: #eee;
  color: #222;
}

.dropdown-menu > .dropdown-item .icon {
  color: #444;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__clear {
  margin-top: -1px;
}

.modal-dialog-maximize .editor-toolbar.fullscreen,
.modal-dialog-maximize .CodeMirror-fullscreen {
  left: 20px;
  right: 20px;
  top: 89px !important;
  width: auto;
}

.modal-dialog-maximize .CodeMirror-fullscreen {
  top: 127.6px !important;
}

.modal-dialog-scrollable .editor-toolbar.fullscreen {
  top: 98px !important;
}

.modal-dialog-scrollable .CodeMirror-fullscreen {
  top: 136.6px !important;
}

.modal-dialog-maximize.modal-dialog-scrollable .editor-toolbar.fullscreen {
  top: 89px !important;
}

.modal-dialog-maximize.modal-dialog-scrollable .CodeMirror-fullscreen {
  top: 127.6px !important;
}

.search-input425 {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
}

.search-input425 > input {
  border: 0 none;
  width: 100%;
  padding: 3px 0;
  appearance: none;
  outline: 0 none;
  background-color: transparent;
}

.search-input425 > .zmdi {
  position: absolute;
  right: 1px;
  bottom: 5px;
  color: #999;
  font-size: 15px;
}

/* field-formula.js */

.formula-calc {
  position: relative;
}

.formula-calc .fields ul:empty::after {
  content: attr(_title);
  color: #999;
}

.formula-calc ul li {
  width: 23%;
  display: inline-block;
  font-size: 0;
  padding: 0;
  margin: 1% !important;
}

.formula-calc ul li > a {
  display: inline-block;
  width: 100%;
  padding: 6px 5px;
  font-weight: bold;
  text-align: center;
  background-color: #eee;
  border-radius: 2px;
  font-size: 1rem;
}

.formula-calc ul li > a:hover {
  background-color: #ccc;
}

.formula-calc .numbers li > a:active {
  box-shadow: inset 3px 3px 3px rgba(0, 0, 0, 0.06);
}

.formula-calc ul li.empty-1 > a {
  background-color: #eee !important;
  cursor: default !important;
}

.formula-calc ul li > a.confirm {
  background-color: #4c8bf5;
  color: #fff !important;
}

.formula-calc ul li > a[data-toggle]::after {
  content: '\f2f9';
  font-family: 'Material-Design-Iconic-Font', serif;
  margin-left: 2px;
}

.formula-calc .fields {
  max-height: 186px;
  margin-top: 1px;
}

.formula-calc .fields ul li {
  width: 100%;
  margin: 1% 0 !important;
}

.formula-calc .fields ul li > a {
  font-weight: normal;
  text-align: left;
  padding-left: 10px;
}

.formula-calc .numbers {
  margin-right: -1.1%;
}

.form-control-plaintext {
  min-height: 37px !important;
}

.form-control-plaintext.formula {
  border: 1px dotted #4c8bf5 !important;
  border-radius: 4px;
  background-color: #fff;
  padding: 8px 10px;
  cursor: text;
}

.form-control-plaintext.formula:empty::after {
  content: attr(_title);
  color: #878787;
}

.form-control-plaintext.formula i {
  font-style: normal;
}

.form-control-plaintext.formula > .oper {
  padding: 0 4px;
}

.form-control-plaintext.formula > .oper + .oper {
  padding-left: 0;
}

.form-control-plaintext.formula > .field {
  border-radius: 2px;
  padding: 1px 2px;
}

.form-control-plaintext.formula > .field.hover:hover {
  cursor: pointer;
  background-color: #4c8bf5;
  color: #fff;
}

.form-control-plaintext.formula > .field > i::after {
  content: '\f2f9';
  font-family: 'Material-Design-Iconic-Font', serif;
  margin-left: 2px;
  color: #4c8bf5;
}

.form-control-plaintext.formula > .field.hover:hover > i::after {
  color: #fff;
}

.form-control-plaintext.formula > .v.field {
  color: #4c8bf5;
}

.form-control-plaintext.formula > .v.num {
  color: #df5000;
}

.modal-dialog > .modal-content {
  border: 1px solid rgba(255, 255, 255, 0.05);
}
