body {
  background-color: #343a40
}

/*************** theme ******************/

.form-control,
.input-group-lg>.form-control {
  border-radius: 0
}


.btn-light {
  color: #24292e;
  user-select: none;
  background-color: #eff3f6;
  background-image: linear-gradient(-180deg, #fafbfc 0%, #eff3f6 90%);
  background-repeat: repeat-x;
  background-position: -1px -1px;
  background-size: 110% 110%;
  border: 1px solid rgba(27, 31, 35, 0.2);
  border-radius: 0.25em;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
}

.btn-light:hover {
  text-decoration: none;
  background-repeat: repeat-x;
}

.btn-light:hover,
.btn-light.hover {
  background-color: #e6ebf1;
  background-image: linear-gradient(-180deg, #f0f3f6 0%, #e6ebf1 90%);
  background-position: 0 -0.5em;
  border-color: rgba(27, 31, 35, 0.35);
}

.btn-light:active,
.btn-light.active,
.btn-light.selected {
  background-color: #e9ecef !important;
  background-image: none !important;
  border-color: rgba(27, 31, 35, 0.35) !important;
}

.btn-light:disabled,
.btn-light.disabled {
  color: rgba(36, 41, 46, 0.4);
  background-color: #eff3f6;
  background-image: none;
  border: 1px solid rgba(27, 31, 35, 0.2);
  border-color: rgba(27, 31, 35, 0.2);
  box-shadow: none;
}

.btn:focus {
  outline: 0;
}

.btn-light:focus,
.btn-light.focus {
  box-shadow: 0 0 0 0.2em rgba(3, 102, 214, 0.3);
}

.rb-system-site .card-header a {
  color: #888;
}

.rb-system-site .card-header.bg-primary a {
  color: #fff
}

[data-toggle="buttons"].btn-group .btn-light {
  color: #777 !important;
  font-weight: normal;
}

[data-toggle="buttons"].btn-group .btn-light.active,
[data-toggle="buttons"].btn-group .btn-light:active {
  color: #eee !important;
  background-color: rgba(0, 0, 0, .09) !important;
  border-color: #222 !important;
  -webkit-box-shadow: inset 1px 1px 3px #222;
  -moz-box-shadow: inset 1px 1px 3px #222;
  box-shadow: inset 1px 1px 3px #222;
}

.btn-sm {
  padding: 3px 10px;
  font-size: 12px;
  line-height: 20px;
}


.btn,
[role="button"] {
  cursor: pointer !important;
}

.btn-danger {
  color: #cb2431;
  border: 1px solid rgba(27, 31, 35, 0.2);
  background-color: #fafbfc;
  background-image: linear-gradient(-180deg, #fafbfc 0%, #eff3f6 90%);
}

.btn-danger:hover {
  color: #fff;
  background-color: #cb2431;
  background-image: linear-gradient(-180deg, #de4450 0%, #cb2431 90%);
  border-color: rgba(27, 31, 35, 0.5);
}

.btn-danger:active,
.btn-danger.active {
  color: #fff;
  background-color: #b5202c;
  background-image: none;
  border-color: rgba(27, 31, 35, 0.5);
  box-shadow: inset 0 0.15em 0.3em rgba(27, 31, 35, 0.15);
}

.btn-danger:disabled,
.btn-danger.disabled {
  color: rgba(203, 36, 49, 0.4);
  background-color: #eff3f6;
  background-image: none;
  border-color: rgba(27, 31, 35, 0.2);
  box-shadow: none;
}


/*tooltip*/
.tooltip-inner {
  background-color: #0366d6;
}

.tooltip.bs-tooltip-top .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="top"] .arrow::before {
  border-top-color: #0366d6
}





/*************** sidebar-inverse ******************/

.rb-system-sidebar.rb-inverse {
  display: block;
  background-color: #343a40;
  min-height: 100%;
  border-right: 1px solid #222;
}

.rb-hidden-system-admin .rb-system-sidebar.rb-inverse,
.rb-minified-sidebar .rb-system-sidebar.rb-inverse {
  box-shadow: 1px 0 3px rgba(0, 0, 0, 0.5);
}

.rb-system-admin .btn-toolbar .btn {
  color: #A8A8A8
}

.rb-system-admin .btn-toolbar .btn:hover {
  color: #fff
}

.rb-system-admin .btn-toolbar .btn:active {
  color: #428BCA
}

.rb-system-sidebar.rb-inverse .rb-buttons .rb-content-padded {
  border-bottom: 1px solid #1A1817;
}

.rb-system-sidebar.rb-inverse .rb-buttons .rb-inner {
  border-bottom: 1px solid #1A1817;
}

.rb-system-sidebar.rb-inverse nav ul li a:focus {
  color: #c9c9c9
}

.rb-system-sidebar.rb-inverse nav ul li.active a,
.rb-system-sidebar.rb-inverse nav ul li.active a:hover {
  color: #fff
}

.rb-system-sidebar.rb-inverse nav ul li.open>a,
.rb-system-sidebar.rb-inverse nav ul li.open>a b {
  color: #fff !important;
}

.rb-system-admin nav>ul li.active ul li.active>a {
  background-color: #272c32
}

.rb-system-sidebar.rb-inverse nav ul li:hover,
.rb-system-sidebar.rb-inverse nav ul li:hover .menu-item-parent {
  color: #428bca;
}

.rb-system-sidebar.rb-inverse nav ul li.active:hover,
.rb-system-sidebar.rb-inverse nav ul li.active:hover .menu-item-parent {
  color: #fff;
}

.rb-system-sidebar.rb-inverse nav ul li a {
  color: #a8a8a8;
}

#sidebar-modules .list-group-item.active a {
  background-color: #272c32;
  color: #fff
}

.rb-system-sidebar.rb-inverse nav ul li .menu-item-parent {
  color: #ccc;
}

.rb-system-sidebar.rb-inverse nav ul li a:focus {
  color: #c9c9c9
}

.rb-system-sidebar.rb-inverse nav ul ul {
  /*background: rgba(69, 69, 69, .7);*/
}

.rb-system-sidebar.rb-inverse nav ul .active ul {
  /*background: rgba(69, 69, 69, 1);*/
}

.rb-system-sidebar.rb-inverse nav>ul>li>ul::before {
  border-left: 1px dotted #7A7A7A;
}

.rb-system-sidebar.rb-inverse nav>ul li.active>a.collapsed:before {
  color: #eee;
}

.rb-system-sidebar.rb-inverse nav>ul li.active ul li.active>a:before {
  color: #eee;
}

.rb-system-sidebar.rb-inverse nav ul li a:active {
  background: #000 !important
}

.rb-system-sidebar.rb-inverse nav>ul ul li::before {
  border-top: 1px dotted #7A7A7A;
}

.rb-system-sidebar.rb-inverse nav>ul>li>a>i>em {
  background: #ED1C24;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .1);
}


/*login-info*/


.rb-system-sidebar.rb-inverse .login-info a.rb-username {
  color: #a8a8a8;
}

.rb-system-sidebar.rb-inverse .login-info>a:hover {
  color: #fff
}


.rb-minified-sidebar .rb-system-sidebar.rb-inverse .login-info {
  border-bottom: 1px solid #181818
}

@media (max-width: 992px) and (min-width: 768px) {
  .rb-system-sidebar.rb-inverse .rb-minify-sidebar {
    color: #A8A8A8;
  }
}


/* minified-sidebar */

.rb-system-sidebar.rb-inverse .rb-minify-sidebar {
  background: transparent;
  color: #A8A8A8;
}

.rb-system-sidebar.rb-inverse .rb-minify-sidebar:hover {
  /*background: #646464;*/
  color: #E4E4E4;
}

.rb-minified-sidebar .rb-system-sidebar.rb-inverse .rb-minify-sidebar {
  color: #A8A8A8;
}

.rb-minified-sidebar .rb-system-sidebar.rb-inverse .rb-inbox-badge {
  background: #ED1C24;
}

.rb-minified-sidebar .rb-system-sidebar.rb-inverse nav>ul>ul {
  background: #ed1c24 !important
}

.rb-minified-sidebar .rb-system-sidebar.rb-inverse nav>ul>li>a>.menu-item-parent {
  background-color: #f5f5f5;
  color: #333 !important;
  text-shadow: none;
  -webkit-box-shadow: 2px 1px 2px 0 rgba(0, 0, 0, .2);
  -moz-box-shadow: 2px 1px 2px 0 rgba(0, 0, 0, .2);
  box-shadow: 2px 1px 2px 0 rgba(0, 0, 0, .2);
  border-left: 1px solid #bfbfbf;
  border-top: 1px solid #D8D4D4;
  border-bottom: 1px solid #fff;
}

.rb-minified-sidebar .rb-system-sidebar.rb-inverse nav>ul>li>ul {
  border: 1px solid #bfbfbf;
  -webkit-box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, .2);
  -moz-box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, .2);
  box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, .2);
  background: #222222;
}

.rb-minified-sidebar .rb-system-sidebar.rb-inverse nav>ul>li>ul>li {
  background-color: rgba(69, 69, 69, .9)
}

.rb-minified-sidebar .rb-system-sidebar.rb-inverse nav>ul>li>ul>li>ul>li {
  background-color: #484B50
}

.rb-minified-sidebar .rb-system-sidebar.rb-inverse nav>ul>li {
  border-bottom: 1px solid #1A1817;
  border-top: 1px solid #525151
}


/* hide-sidebar */

.rb-system-sidebar.rb-inverse .rb-hide-sidebar2 {
  border-bottom: 1px solid #302F2F;
  background: transparent;
  color: #A8A8A8;
}

.rb-hidden-sidebar .rb-system-sidebar.rb-inverse {
  -moz-box-shadow: 0 0 6px rgba(3, 3, 3, 0.6);
  -webkit-box-shadow: 0 0 6px rgba(3, 3, 3, 0.6);
  box-shadow: 0 0 6px rgba(3, 3, 3, 0.6);
}

.rb-hidden-sidebar .rb-system-sidebar.rb-inverse .rb-hide-sidebar {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.rb-system-sidebar.rb-system-site {
  background-color: #343a40;
  border-left: 1px solid #222;
}

.rb-system-site .rb-panel-top {
  background-color: #272c32 !important;
  border-bottom: 1px solid #222;
  color: #eee
}

.rb-system-site .rb-icon-hide {
  color: #eee
}

.rb-hidden-system-site .rb-system-site .rb-icon-hide:hover .rb-icon:before,
.rb-system-site .rb-icon-hide:hover .rb-icon:before {
  color: #eee;
}

/* tabs-below */

.rb-system-sidebar.rb-inverse .nav-tabs {
  border-bottom: 1px solid #c9c9c9;
}

.rb-system-sidebar.rb-inverse .nav-tabs>li>a {
  border: 1px solid #c9c9c9;
  background: -moz-linear-gradient(top, #999 0%, #444 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #999), color-stop(100%, #444));
  background: -webkit-linear-gradient(top, #999 0%, #444 100%);
  background: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
  background: -ms-linear-gradient(top, #fff 0%, #e0e0e0 100%);
  background: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#99999999', endColorstr='#44444444', GradientType=0);
  -webkit-box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 1);
  box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 1);
  color: #333;
}

.rb-system-sidebar.rb-inverse .nav-tabs>li>a.active {
  color: #eee;
  background: #ffffff;
  border: 1px solid #c9c9c9;
  border-right: 1px solid transparent;
  border-bottom-color: transparent;
}

.rb-system-sidebar.rb-inverse .nav-tabs>li>a:hover {
  color: #62aeef;
}

.rb-system-sidebar.rb-inverse .nav-tabs>li:last-child>a,
.rb-system-sidebar.rb-inverse .nav-tabs>li.last-child>a {
  border-right: 1px solid #c9c9c9
}

.rb-system-sidebar.rb-inverse .tabs-below>.nav-tabs {
  border-color: #c5d0dc;
}

.rb-system-sidebar.rb-inverse .tabs-below>.nav-tabs>li>a,
.rb-system-sidebar.rb-inverse .tabs-below>.nav-tabs>li>a:hover,
.rb-system-sidebar.rb-inverse .tabs-below>.nav-tabs>li>a:focus {
  margin-left: -1px
}

.rb-system-sidebar.rb-inverse .tabs-below>.nav-tabs>li>a.active,
.rb-system-sidebar.rb-inverse .tabs-below>.nav-tabs>li>a.active:hover,
.rb-system-sidebar.rb-inverse .tabs-below>.nav-tabs>li>a.active:focus {
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.15);
  background-color: transparent;
  border-color: transparent;
  border: none;
}

.rb-system-main {
  background-color: #343a40
}

.rb-system-site {
  color: #999;
}

.rb-system-site .list-group-item {
  line-height: 1.2
}

.rb-system-site .custom-control-description {
  line-height: 1.9
}

.custom-checkbox,
.custom-radio {
  line-height: 1.7rem;
}

.custom-control-label::before {
  background-color: #1f2227;
  border-radius: .15rem;
}


.rb-system-site .rb-content-padded {
  padding: 0;
}

.rb-system-site .nav-tabs .nav-link {
  border-radius: 0;
  background-color: #272c32;
  color: #999
}

.rb-system-sidebar .nav-tabs {
  border-bottom: 1px solid transparent;
}

.rb-system-sidebar .nav-tabs .nav-item {
  width: 25%
}

.rb-system-sidebar .nav-tabs .nav-link {
  padding: .5rem;
  border-right: 1px solid #222;
  border-bottom: 1px solid #222;
}

.rb-system-sidebar .nav-tabs .nav-link:hover {
  border-color: #222;
  border-top-color: transparent;
  border-left-color: transparent
}

.rb-system-sidebar .nav-tabs .nav-link.active {
  color: #eee;
  background-color: inherit;
  border: 1px solid #222;
  border-top: 0;
  border-bottom: 0
}

.rb-system-sidebar .nav-tabs .nav-link.active:first-child {
  border-left: 0
}

.rb-system-site fieldset[disabled] .btn-light,
.rb-system-site fieldset[disabled] .btn-light.active {
  background-image: none;
  background-color: inherit
}

.rb-system-site .card {
  background-color: inherit;
  color: #eee
}

.rb-system-site .form-control {
  background-color: #1f2227;
  color: #abafb5;
  border-color: #272c31
}

.rb-system-site .form-control:focus {
  color: #abafb5;
  background-color: #1f2227;
  border-color: #5792ef;
  border-width: 1px;
  outline: 0;
  box-shadow: none;
}

.bg-light {
  background-color: rgba(0, 0, 0, .03) !important;
}

.btn.btn-light {
  background-color: #343a40;
  background-image: none;
  color: #ccc !important;
  border-color: #181a1e;
  font-weight: normal;
}

.btn.btn-block {
  border-radius: 4rem;
}

.btn-outline-primary {
  color: #ccc;
  border-color: #ccc;
}

.rb-hidden-system-site .rb-system-site .rb-opener {
  background-color: inherit;
  border-bottom-left-radius: 2px;
  border-top-left-radius: 2px;
  box-shadow: -1px 0 2px rgba(0, 0, 0, 0.5);
  color: #9ea6b3;
  display: block;
  left: -20px;
  padding: 0 5px;
}

.rb-system-site .custom-select {
  background-color: #272c32;
  display: inline-block;
  max-width: 100%;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  line-height: 1.5;
  /*color: #495057;*/
  vertical-align: middle;
  background: #272c32 url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#abafb5' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  background-size: 8px 10px;
  border: 1px solid #222;
  border-radius: 0.15rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.rb-system-site .table td,
.rb-system-site .table th {
  border-top: 1px solid #222;
}

.rb-system-site .table {
  color: #999
}

.table thead th {
  border-bottom: 1px solid #222;
}

#emuldevices {
  left: 0;
}

#emuldevices .table th:first-child,
#emuldevices .table td:first-child {
  padding-left: 15px
}

#emuldevices .table tbody tr.active td,
#emuldevices .table tbody tr.active th {
  color: #fff;
  background-color: #007bff;
}


/*utility*/
/*color*/
.muted-link {
  color: #ccc !important;
}

.muted-link:hover {
  color: #eee !important;
  text-decoration: none;
}

.text-gray {
  color: #586069 !important;
}

.text-gray-light {
  color: #959da5 !important;
}

.text-gray-dark {
  color: #24292e !important;
}

.link-gray {
  color: #586069 !important;
}

.link-gray-dark {
  color: #24292e !important;
}

.link-gray-dark:hover {
  color: #0366d6 !important;
}

.border-top {
  border-top: 1px #e1e4e8 solid !important;
}

.border-gray-light {
  border-color: #eaecef !important;
}
