/*
    RAX EDITOR COMMAND CENTER STYLESHEET - by Chris Lee
*/

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
html {
    height: 100%;
}
body {
    font-family: 'Poppins', sans-serif;
    background: #252526;
    color: #e2e2e2;
    font-size: 0.85em;
    height: 100%;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

pre {
    color: #e2e2e2;
    font-size: 1em;
    margin-bottom: 0;
}

a,
a:focus {
    color: #6bd0ff;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}
a:hover {
    color: #e2e2e2;
    text-decoration: underline;
    transition: all 0.3s;
    cursor: pointer;
}

.navbar {
    background: #2d2d30;
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

i,
span {
    display: inline-block;
}

.hide {
    display: none;
}

.close {
    color: #e2e2e2;
    text-shadow: 0 0 0;
}
.text-white {
    color: #e2e2e2 !important;
}
.brand-yellow {
    color: #ffc107;
}
.brand-blue {
    color: #0a4d90;
}
.brand-lt-blue {
    color: #1877ff;
}
.brand-ltr-blue {
    color: #6bd0ff;
}
.card.bg-dark {
    background-color: #2d2d30 !important;
}
.card-header {
    background-color: rgba(0,0,0,.09);
}
.table-dark {
    background-color: transparent;
}
.table-dark td, .table-dark th, .table-dark thead th {
    border-color: #3e3e42;
}
.table-dark .thead-dark th {
    background-color: #2d2d30;
    border-color: #3e3e42;
}
.page-link {
    background-color: #2d2d30;
    border-color: #3e3e42;
}
.modal-content {
    background-color: #252526;
}
.modal-header {
    border-bottom: 1px solid #2e2e2e;
}
.modal-footer {
    border-top: 1px solid #2e2e2e;
}

/* ---------------------------------------------------
    FLOATING BUTTON
----------------------------------------------------- */
.label-container{
	position:fixed;
	bottom:48px;
	right:105px;
	display:table;
	visibility: hidden;
}

.label-text{
	color:#e2e2e2;
	background:rgba(51,51,51,0.5);
	display:table-cell;
	vertical-align:middle;
	padding:10px;
	border-radius:3px;
}

.label-arrow{
	display:table-cell;
	vertical-align:middle;
	color:#333;
	opacity:0.5;
}

.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#007bff;
	color:#e2e2e2;
	border-radius:50px;
	text-align:center;
    box-shadow: 2px 2px 10px #111;
    z-index: float;
}

ul.float-submenu{
	position:fixed;
	right:40px;
	padding-bottom:20px;
	bottom:65px;
	z-index:100;
}

ul.float-submenu li{
	list-style:none;
	margin-bottom:10px;
}

ul.float-submenu li a{
	background-color:#007bff;
	color:#FFF;
    text-align:center;
    border-radius: 5px;
	box-shadow: 2px 2px 10px #111;
    height:40px;
    padding: 10px;
	display:block;
}

ul.float-submenu:hover{
	visibility:visible!important;
	opacity:1!important;
}

.my-float{
	font-size:24px;
	margin-top:18px;
}

a#keys-submenu + ul{
    visibility: hidden;
}

a#keys-submenu:hover + ul{
visibility: visible;
animation: scale-in 0.5s;
}

a#keys-submenu i{
    animation: rotate-in 0.5s;
}

a#keys-submenu:hover > i{
    animation: rotate-out 0.5s;
}

@keyframes bot-to-top {
    0%   {bottom:-40px}
    50%  {bottom:40px}
}

@keyframes scale-in {
    from {transform: scale(0);opacity: 0;}
    to {transform: scale(1);opacity: 1;}
}

@keyframes rotate-in {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}

@keyframes rotate-out {
    from {transform: rotate(360deg);}
    to {transform: rotate(0deg);}
}

a.float + div.label-container {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s ease;
}

a.float:focus {
    color: #e2e2e2;
}
a.float:hover {
    opacity: 0.65;
    color: #e2e2e2;
}

a.float:hover + div.label-container{
  visibility: visible;
  opacity: 1;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #2d2d30;
    color: #e2e2e2;
    transition: all 0.3s;
}

#sidebar.active {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
}

#sidebar.active .sidebar-header h3,
#sidebar.active .CTAs {
    display: none;
}

#sidebar.active .sidebar-header strong {
    display: block;
}

#sidebar ul li a {
    text-align: left;
}

#sidebar.active ul li a {
    padding: 20px 10px;
    text-align: center;
    font-size: 0.65em;
}

#sidebar.active ul li a[data-toggle="collapse"] span {
    padding-left: 0 !important;
}

#sidebar.active ul li a i {
    margin-right: 0;
    display: block;
    font-size: 1.8em;
    margin-bottom: 5px;
}

#sidebar.active ul ul a {
    padding: 10px !important;
}

#sidebar.active .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #2d2d30;
}

#sidebar .sidebar-header img {
    height: 30px;
}

#sidebar .sidebar-header strong {
    display: none;
    font-size: 1.8em;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #666666;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1em;
    display: block;
    color: #e2e2e2;
}

#sidebar ul li a:hover {
    color: #e2e2e2;
    background: #202020;
}

#sidebar ul li a i {
    margin-right: 10px;
}

#sidebar ul li.active>a {
    color: #e2e2e2;
    background: #202020;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #2d2d30;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
        overflow: hidden;
    }
    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
    #sidebar.active {
        margin-left: 0 !important;
    }
    #sidebar .sidebar-header strong {
        display: block;
    }
    #sidebar ul li a {
        padding: 20px 10px;
        overflow: hidden;
    }
    #sidebar ul li a span {
        font-size: 0.85em;
    }
    #sidebar ul li a i {
        margin-right: 0;
        display: block;
    }
    #sidebar ul ul a {
        padding: 10px !important;
    }
    #sidebar ul li a i {
        font-size: 1.3em;
    }
    #sidebar {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
}

/* ---------------------------------------------------
    LOGIN 
----------------------------------------------------- */
.login-wrap .login {
    background-color: #252526;
    color: #e2e2e2;
    height: 100vh;
}

.login-wrap .login .col-sm-8 {
    margin-top: 8em !important;
}

/* ---------------------------------------------------
    DASHBOARD 
----------------------------------------------------- */
.widgets-sm .widgets {
    min-height: 50px;
    border-radius: 3px;
    background-color: rgba(0,0,0,.1);
    border: 1px solid #2e2e2e;
}
.filter-wrap {
    background-color: #37373a;
    border-radius: 3px;
}
.token {
    background-color: #252526;
    color: #ffc107;
    padding: 5px 10px;
    border-radius: 3px;
    line-height: 15px;
    vertical-align: middle;
    margin: 0 5px;
}
.token small {
    color: #ccc;
}
#dashboardModal .modal-body .card {
    cursor: pointer;
}
#dashboardModal .modal-body .card.bg-success .card-body p{
    color: #e2e2e2;
}

.active-events .list-group-item,
.events-wrapper .list-group-item {
  background-color: transparent;
  color: #fff;
}
.active-events .list-group-item.list-group-item-action,
.events-wrapper .list-group-item.list-group-item-action {
  border: 2px solid #37373a;
}
.active-events .list-group-item .badge-success,
.events-wrapper .badge-success {
  color: #28a745;
  border: 1px solid #28a745;
  font-weight: inherit;
  background-color: transparent;
}
.events-wrapper .badge-warning {
  color: #ffc107;
  border: 1px solid #ffc107;
  font-weight: inherit;
  background-color: transparent;
}
.events-wrapper .list-group-item p.text-white {
  font-size: 14px;
}

/* ---------------------------------------------------
    HANDLE LONG TEXT IN TABLE, MODAL, TOAST
----------------------------------------------------- */

.wrap-long-text {
    white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
    white-space: -webkit-pre-wrap; /*Chrome & Safari */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    white-space: pre-wrap; /* CSS3 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
    word-break: break-word;
    white-space: normal;
}

.max-width-250px {
    max-width: 250px;
}

.width-250px {
    width: 250px;
    margin-right: -50px;
}

.cursor-pointer {
    cursor: pointer;
}

.tooltip {
    pointer-events: none;
}

.over-accordion {
    z-index: 1;
}

.auths-list{
    max-height: 240px;
    overflow-y:scroll;
    -webkit-overflow-scrolling: touch;
}

/* ---------------------------------------------------
    STYLE FOR SCROLL BAR
----------------------------------------------------- */

.list-scroll::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: rgb(136, 136, 136);;
}

.list-scroll::-webkit-scrollbar
{
	width: 12px;
    background-color: rgb(136, 136, 136);
    border-radius: 10px;
}

.list-scroll::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #555;
}

.error-401 {
    margin: 0px 0 -20px;
    font-size: 120px;
    letter-spacing: 20px;
    font-weight: bolder;
}

.error-message {
    font-size: 30px;
    font-weight: bolder;
}

.forbidden-page {
    text-align: center;
    margin: 70px;
}

/* ---------------------------------------------------
    STYLE FOR FIXED HEADER LIST
----------------------------------------------------- */

.table-fix-head table { 
    width: 100%; 
}

.table-fix-head th { 
    background: #2d2d30; 
    padding: 5px; 
    border-bottom: 1px solid #3e3e42;
}

.table-fix-head tbody td { 
    padding: 5px;
    border-bottom: 1px solid #3e3e42;
}

.table-fix-head tbody tr:hover { 
    background-color: #2d2d30;
    color: #e2e2e2;
}

.table-fix-head {
    overflow: auto;
    max-height: 410px;
    overflow-y: auto;
}

.table-fix-head thead th {
    position: sticky;
    top: 0;
}

.breadcrumb-nav .btn:focus, .breadcrumb-nav .btn:active {
    outline: none !important;
    box-shadow: none;
 }

.active-row {
    background-color: #2d568f !important;
}

/* ---------------------------------------------------
    CONTEXT MENU (MENU ON RIGHT CLICK)
----------------------------------------------------- */

.react-contextmenu {
    border-radius: 5px;
    background-color: #3e3e42;
    /* border: 1px solid #e2e2e2; */
    padding: 5px 0;
    width: 150px;
}

.react-contextmenu-item {
    padding: 5px 15px;
    cursor: pointer;
}

.react-contextmenu-item:not(:last-child) {
    border-bottom: 0.1px solid #4b4b50;
}

.react-contextmenu-item:hover {
    background-color: #6a6a6b;
}

.react-contextmenu-item i {
    margin-right: 7px;
}

.react-contextmenu-item--disabled {
    background-color: #3030308c;
    color: #6a6a6b;
    cursor: not-allowed;
}

.react-contextmenu-item--disabled:hover {
    background-color: #3030308c;
}
 
.cursor-pointer {
    cursor: pointer;
}

/* ---------------------------------------------------
    LICENSE MANAGEMENT (Premium Activities) 
----------------------------------------------------- */
.premium-activity .list-wrapper {
    height: 400px;
    overflow-x: auto;
    overflow-y: auto;
    padding-right: 10px;
}
  
.premium-activity i.fa-search {
    top: 12px;
    right: 25px;
}
  
.premium-activity h6.push-text {
    margin-bottom: 34px;
}
  
.premium-activity .list-group .bg-dark {
    background-color: #2d2d30 !important;
}
  
.premium-activity .list-group .list-group-item {
    cursor: pointer;
}
  
.premium-activity .list-group .name {
    position: relative;
}
  
.premium-activity .list-group .name p {
    line-height: 1;
}

.premium-activity .list-group .name .line {
    position: absolute;
    left: -12px;
    top: 5px;
    opacity: 0.5;
}
