/*
 * flatpickr override
 */
.flatpickr-calendar .flatpickr-current-month {
  display: flex;
  justify-content: center;
}
.flatpickr-calendar .cur-year {
  order : 1;
}
.flatpickr-calendar .cur-month:before  {
   content: '年　';
}
.flatpickr-calendar .cur-month {
  order: 2;
}
.flatpickr-calendar .flatpickr-current-month span.cur-month {
  font-weight : 300;
  padding-top : 4px;
}
.flatpickr-calendar .today {
  border-color: #ffb866;
}


/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  /* rtl:raw;
  right: 0;
  */
/*  bottom: 0;  // remove */
  /* rtl:remove; */
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
/*  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);	// remove */
  height:100vh;	/*add*/
}


.navmenu .nav-link {	/* add */
	color: #212529 !important;
}
.navmenu .nav-link:hover, .navmenu .nav-link.active {	/* add */
	background-color:#fff;
	color: #006cb6 !important;
	margin:0 2px;
	border:1px solid #eee;
}
@media (min-width: 767.99px) {
	.sidebar .nav-item .nav-link:hover{
	  background-color:#f8f9fa;
	}
	.navmenu .nav-item {	/* add */
		width:10rem;
		text-align:center;
	}
}

@media (max-width: 767.98px) {
  .sidebar {
/*    top: 5rem;*/
	background-color:#F0F6FA !important;		/* add */
	border-bottom:1px solid #eee;			/* add */
	height:unset;	/*add*/
  }
	.navmenu .nav-link {	/* add */
		padding-left:1em;
		padding-right:1em;
	}
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.nav {	/* add*/
  text-indent: 1rem;
}

/* .sidebar .nav-link .feather {		// remove
  margin-right: 4px;
  color: #727272;
} */

/*.sidebar .nav-link.active {	// remove 
  color: #2470dc;
}*/

.sidebar .nav-link.active::before {	/* add*/
  content:'>> ';
  width: 2.5rem;
  display: inline-block;
  margin-left:-2.5rem;
}
.sidebar .nav-link.active{
  color: #0d6efd;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}



/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
/*  background-color: rgba(0, 0, 0, .25);  // remove
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);	// remove */
}

.navbar .navbar-toggler {
  top: .25rem;
  right: 1rem;
  background-color: transparent;		/* add */
  border: 1px solid #ddd;  	/* add */
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

/* add */
.navbar .system-name {
	color:#006cb6; font-weight:bold;
}


.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}


/* add classes */
.scroll-top { opacity: 0.4 }
table.middle th, table.middle td { vertical-align:middle; }
.table-bordered thead th { background-color: #F0F6FA !important;  }

.x-small { font-size: x-small; }
.small { font-size: small; }
.large { font-size: large; }
.x-large { font-size: x-large; }

.user-info { font-size:small; }
.signout { cursor:pointer; }

.list-area .ctrls { width: 1%; white-space:nowrap; }


.pw-btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    width: 18em;
}
.pw-switch {
    border-color: #ced4da;
}

.page-item .page-link{color:#006cb6}
.page-item.active .page-link{
	background-color: #006cb6 !important;
	border-color: #4393c9 !important;
}
