body {
    /*  font-family: Raleway, sans-serif;
  font-size: 18px;
  line-height: 1.7;*/
    background-color: #f1f5f9;
    color: #333;
    /* -webkit-transition: background-color 800ms ease;
  transition: background-color 800ms ease;*/
}
.panel {
	margin-bottom: 20px;
	background-color: #fff;
	border: 1px solid transparent;
	border-radius: 9px !important;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
	box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.page-sidebar {
	width: 240px;
	background: #FFF;
	min-height: 100%;
	float: left;
	z-index: 100;
	position: relative;
}

body.dark {
    background-color: #1e1e2d;
    /* background: linear-gradient(to right, #141b29, #0c111b 300px); */
    color: #fff;
    text-transform: uppercase;
}


/*body.dark .masthead,
body.dark .footer {
  background-color: #121212;
}
body.dark img {
  -webkit-filter: brightness(70%);
          filter: brightness(70%);
}*/

h2 {
    font-size: 3rem;
    line-height: 1.2;
}

img {
    /*width: 100%;*/
}


/*img.small {
  width: 60%;
  float: right;
  padding: 1rem;
}*/

.masthead,
.footer {
    padding: 0 1rem;
    background-color: #ddd;
    -webkit-transition: background-color 800ms ease;
    transition: background-color 800ms ease;
}

.masthead-inner,
.footer-inner {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    max-width: 900px;
    margin: auto;
}

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

button {
    border: 1px solid #333;
    padding: 0.5rem;
    background: #333;
    border-radius: 5px;
    -webkit-transition: background 200ms ease;
    transition: background 200ms ease;
    color: #eaeaea;
}

button:hover {
    background: rgba(51, 51, 51, 0.8);
}

.dark-button i {
    -webkit-transform: rotate(35deg);
    transform: rotate(35deg);
    margin-left: 0.3rem;
}

main {
    padding: 1rem;
    max-width: 900px;
    margin: auto;
}


/*body.dark .table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
  border-color: #3B3C3E;
}*/

body.dark .panel {
    border-radius: 4px;
    box-shadow: none;
    padding: 25px;
    border-color: #403d3d;
}

body.dark hr {
    border-color: #4D4D4D;
}

body.dark .breadcrumb-header {
    font-size: 22px;
    /*font-weight: 300;*/
    font-weight: 700;
    color: rgb(255, 255, 255);
    margin-bottom: 24px;
}

body.dark .page-header {
    padding-bottom: 0px;
    margin: 0px;
    border-bottom: none;
    height: 81px;
    position: relative;
    padding-top: 25px;
    padding-right: 25px;
    background: #1e1e2d;
    margin-bottom: 10px;
    /* background: linear-gradient(180deg, #1b2530 0, rgba(27, 37, 48, .85)); */
}

body.dark .page-header .navbar-default {
    /* background-color: #393636; */
    background: transparent !important;
    border: 0;
    margin-bottom: 0;
    height: 56px;
    border-radius: 0;
}


/*body.dark .logo-box {
  width: 240px;
  padding: 40px 40px 11px 40px;
  color: #0070E0 !important;
  background: #312d2d;
  font-weight: 800;
  font-size: 18px;
  display: block;
  text-decoration: none;
  z-index: 9999;
  text-transform: uppercase;
  line-height: 30px;
}*/




body.dark .page-sidebar-fixed .page-sidebar .page-sidebar-inner {
    height: 100% !important;
    overflow: hidden;
    background-color: #2b2929;
}

body.dark .page-sidebar-visible .page-sidebar {
    left: 0;
    background-color: #282626;
}

body.dark .select2-results__option {
    padding: 6px;
    user-select: none;
    -webkit-user-select: none;
    color: #000;
}

body.dark .table-bordered {
    border: 1px solid #514d4d;
}

.table-bordered {
    border: 1px solid #f4e3e3;
}

body.dark .table-striped>tbody>tr:nth-of-type(2n+1) {
    background-color: #1f2839;
}

body.dark .table>tbody>tr>td,
body.dark .table>tbody>tr>th,
body.dark .table>tfoot>tr>td,
body.dark .table>tfoot>tr>th,
body.dark .table>thead>tr>td,
body.dark .table>thead>tr>th {
    border-color: #37393C;
}

body.dark .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #443f3f;
}

body.dark .panel {
    border-radius: 15px;
    box-shadow: none;
    padding: 10px;
    border-color: #403d3d;
    background: #1e1e2d;
    border: 0px !important;
}

body.dark .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 0px;
}

body.dark .page-sidebar-fixed,
body.dark .page-sidebar {
    background-color: #1e1e2d;
    /* background: linear-gradient(to left, #141b29, #0c111b 300px) */
}

.page-sidebar-fixed .page-sidebar {
    background-color: #fff;
}

/*body.dark .page-sidebar-fixed .page-sidebar {
     background-color: linear-gradient(to left, #141b29, #0c111b 300px) !important;
}*/

body.dark .page-sidebar-fixed, body.dark .page-sidebar ,
body.dark .page-sidebar-inner {
    background-color: #1e1e2d !important;
    /* background: linear-gradient(to left, #141b29, #0c111b 300px); */
}



body.dark .modal-content,
body.dark .modal-title {
    background-color: #223;
    color: #fff;
}

body.dark .popover {
    color: #000;
}

body.dark h4 {
    font-weight: 300;
    color: #fff;
}

body.dark a,
body.dark a:hover {
    color: #fff;
}

body.dark .list-group-item {
    position: relative;
    display: block;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: transparent;
    border: 1px solid #444;
}

body.dark .logo-sm .logo-box {
    float: left;
    background: transparent;
    padding: 2px 0;
    margin-top: 8px;
    margin-right: 15px;
    margin-left: 8px;
    margin-bottom: 8px;
    width: auto;
}

body.dark .dropdown-menu {
    color: #b5b2b2;
    background-color: #2d2a2a;
}

body.dark .dropdown-menu 
 {
    color: #9d9999 !important;
}

/*body.dark .dropdown-menu .dropdown-item a:hover{
    color: #9d9999 !important;
}*/

body.dark .dropdown-menu li a:hover {
    background: #4b4141;
    text-decoration: none;
}


body.dark .page-item.disabled .page-link {
    color: #fff;
    pointer-events: none;
    cursor: auto;
    background-color: #444141;
    border-color: transparent;
}

body.dark .page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #adb3b1;
    border-color: transparent;
}

body.dark .swal2-title {
    color: #776f6f;
}

body.dark .page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: 0;
    line-height: 1.25;
    color: #fff;
    background-color: #444141;
    border: 0 solid transparent;
}

body.dark .h1,
body.dark .h2,
body.dark .h3,
body.dark .h4,
body.dark .h5,
body.dark .h6,
body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4,
body.dark h5,
body.dark h6 {
    font-weight: 300;
    color: #ddd1d1;
}


/* body.dark .page-sidebar-menu ul li a {
    display: block;
    font-weight: 400;
    font-size: 14px;
    padding: 9px 40px;
    color: #BCC8DD;
    line-height: 1.5 !important;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body.dark .accordion-menu .sub-menu {
    display: none;
    padding-left: 22px;
    padding-bottom: 8px;
    background: #5b5a5a;
} */

body.dark .page-inner {
    position: relative;
    min-height: calc(100% - 81px);
    padding: 5px 40px 42px 30px;
    /* background: linear-gradient(to bottom, #141b29, #0c111b 300px); */
    background-color: #223;
    border-top-left-radius: 15px;
}

body.dark .open:not(.active-page)>a {
    color: #f4f3f3;
    font-weight: 500;
}

body.dark .accordion-menu .sub-menu {
    display: none;
    padding-left: 22px;
    padding-bottom: 8px;
    background: #1f1f31;
}

body.dark .accordion-menu .sub-menu li a {
    border-top: 0;
    padding: 7px 20px 7px 10px;
    font-size: 13px;
    color: #8B9DBF;
}

body.dark a:hover {
    color: #fff !important;
}

body.dark .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px;
    color: #000;
}
body.dark .select2-container .select2-search--inline .select2-search__field {
	box-sizing: border-box;
	border: none;
	font-size: 100%;
	margin-top: 5px;
	padding: 0;
	color: #000;
}
body.dark .popover-title {
	padding: 15px 15px 10px 15px;
	color: #000 !important;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 13px;
	background-color: transparent;
	border-bottom: none;
	border-radius: 4px 4px 0 0;
	font-family: 'Ubuntu', sans-serif;
}
body.dark .fc-title {
	
	color: #000 !important;
	
}
body.dark .page-sidebar-collapsed .page-sidebar-menu ul li a:hover + .sub-menu, .page-sidebar-collapsed .page-sidebar-menu ul li .sub-menu:hover, .page-sidebar-collapsed .page-sidebar-menu ul li:hover a span, .page-sidebar-collapsed .page-sidebar-menu ul li a:hover span {
    display: inline !important;
    color:#000;
}