@charset "UTF-8";

html {
	height:100%;
}
body {
	height:100%;
    margin: 0px;
    padding: 0px;
	font-family: 'Meiryo', 'Arial Narrow', Arial, sans-serif;
	overflow-y:hidden;
	overflow-x:auto;
}
div.contents-root {
    min-width: 1280px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
	overflow-y:auto;
}
div.main-contents {
	flex-grow: 1;
}
div.dialog-contents {
	flex-grow: 1;
	padding : 8px;
}
header {
    display: flex;
    height: 50px;
    background: rgb(31, 88, 194);
    align-items: center;
    color: white;
}

.header-title{
    margin-right: auto;
    margin-left: 30px;
    font-size: 20px;
}

.header-item{
    list-style: none;
    display: inline-block;
    padding: 10px;
    margin-right: 15px;
}

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  cursor: pointer;
  height: 39px;
}

.navbar-toggler:hover{
	background-color: #1d2124!important;
}

.navbar-dark .navbar-brand {
  color: #fff;
}

.bg-dark {
  background-color: #343a40 !important;
}

.mr-2,
.mx-2 {
  margin-right: 0.5rem !important;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  content: "";
  background: no-repeat center center;
  background-size: 100% 100%;
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

ul.navigation {
	display: flex;
	align-items: center;
	margin: 0px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
}

.modal-open {
  overflow: hidden;
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal.fade .modal-dialog {
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  -webkit-transform: translate(0, -50px);
  transform: translate(0, -50px);
}

@media (prefers-reduced-motion: reduce) {
  .modal.fade .modal-dialog {
    transition: none;
  }
}

.modal.show .modal-dialog {
  -webkit-transform: none;
  transform: none;
}

.modal-dialog-scrollable {
  display: -ms-flexbox;
  display: flex;
  max-height: calc(100% - 1rem);
}

.modal-dialog-scrollable .modal-content {
  max-height: calc(100vh - 1rem);
  overflow: hidden;
}

.modal-dialog-scrollable .modal-header,
.modal-dialog-scrollable .modal-footer {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.modal-dialog-centered {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - 1rem);
}

.modal-dialog-centered::before {
  display: block;
  height: calc(100vh - 1rem);
  content: "";
}

.modal-dialog-centered.modal-dialog-scrollable {
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
}

.modal-dialog-centered.modal-dialog-scrollable .modal-content {
  max-height: none;
}

.modal-dialog-centered.modal-dialog-scrollable::before {
  content: none;
}

.modal-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop.show {
  opacity: 0.5;
}

.modal-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
}

.modal-header .close {
  padding: 1rem 1rem;
  margin: -1rem -1rem -1rem auto;
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}

.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
}

.modal-footer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 1rem;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem;
}

.modal-footer > :not(:first-child) {
  margin-left: .25rem;
}

.modal-footer > :not(:last-child) {
  margin-right: .25rem;
}

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
  }
  .modal-dialog-scrollable {
    max-height: calc(100% - 3.5rem);
  }
  .modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 3.5rem);
  }
  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }
  .modal-dialog-centered::before {
    height: calc(100vh - 3.5rem);
  }
  .modal-sm {
    max-width: 300px;
  }
}

@media (min-width: 992px) {
  .modal-lg,
  .modal-xl {
    max-width: 800px;
  }
}

.nr-sidebar {
	margin-right: -21px; /* 20px padding + 1px border */
	margin-bottom: 20px;
	margin-left: -20px;
	color: #fff;
	padding: 20px;
}

.nr-side {
	width: 280px;
	position: fixed;
	top: 50px;
	bottom: 0;
	right: 0;
	z-index: 2000;
	opacity: 0.85;
	border-left: 1px solid #062D6B;
	background: #2C64BC;
	background: -moz-linear-gradient(45deg, #4977b7 0%, #4977b7 49%, #2c64bc 50%, #2c64bc 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#4977b7), color-stop(49%,#4977b7), color-stop(50%,#2c64bc), color-stop(100%,#2c64bc)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(45deg, #4977b7 0%,#4977b7 49%,#2c64bc 50%,#2c64bc 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(45deg, #4977b7 0%,#4977b7 49%,#2c64bc 50%,#2c64bc 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(45deg, #4977b7 0%,#4977b7 49%,#2c64bc 50%,#2c64bc 100%); /* IE10+ */
	background: linear-gradient(45deg, #4977b7 0%,#4977b7 49%,#2c64bc 50%,#2c64bc 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4977b7', endColorstr='#2c64bc',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.nr-side > .modal-body {
	padding-left: 0;
	padding-right: 0;
}

.nr-side > dl > dt {
	border-top: solid 1px #062D6B;
	border-bottom: solid 1px #062D6B;
	margin-bottom: 20px;
	background: #0d4db2;
}

.nr-side > dl > dd > a {
	display: block;
	width: 100%;
	padding-left: 20px;
	padding-right: 20px;
	color: #fff;
	text-decoration: none;
}

.nr-side > dl > dd > a:hover,
.nr-side > dl > dd > a:focus {
	color: #fff;
	background-color: #678BC3;
}

.text-center {
  text-align: center !important;
}

dl {
  margin-top: 0;
  margin-bottom: 1rem;
}

dd {
  margin-bottom: .7rem;
  margin-left: 0;
}

div.contents {
	padding : 0px 20px;
	min-width: 1280px;
}
div.search {
	padding: 20px;
	min-width: 1280px;
	align-items: baseline;
}
div.list {
	padding: 0px;
	margin: 0px 20px 20px 20px;
	min-width: 1280px;
}


table.list {
	border-spacing: 0;
    text-align: center;
    position: relative;
}

table.list th {
    background: #80d8ff;
	position: sticky;
	top: 0;
	left: 0;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
	padding: 5px;
}

table.list td {
	border-right: 1px solid black;
	border-bottom: 1px solid black;
	padding: 5px;
}

table.list tr:first-child th {
	border-top: 1px solid black;
}

table.list th:first-child {
	border-left: 1px solid black;
}

table.list td:first-child {
	border-left: 1px solid black;
}

table.list > tbody > tr {
	background-color: whitesmoke;
}

.flex {
	display: flex;
}

.flex > .left {
	text-align: left;
	align-items: baseline;
}

.flex > .right {
	text-align: right;
	align-items: baseline;
	flex-grow: 1;
}

label {
	display: inline-block;
    height: 30px;
}
input[type="text"], input[type="date"], input[type="datetime-local"]{
    background: none;
	height: 40px;
    margin: 10px;
    border: 1px solid black;
    padding: 5px 5px;
    color: black;
    font-size: 18px;
    border-radius: 4px;
}
input:disabled {
	color: -internal-light-dark(graytext, rgb(170, 170, 170));
	opacity: 0.7;
	border-color: rgba(118, 118, 118, 0.3);
}
select {
	font-size: 16px;
	font-family: 'Meiryo', 'Arial Narrow', Arial, sans-serif;
	height: 40px;
}
select:disabled {
	color: -internal-light-dark(graytext, rgb(170, 170, 170));
	opacity: 0.7;
	border-color: rgba(118, 118, 118, 0.3);
}



.small-size {
	width: 50px;
}
.middle-size {
    width: 100px;
}
.large-size {
	width: 200px;
}

button {
    margin: 0px 10px;
    padding: 5px;
    border: none;
    background: #17a2b8;
    color: white;
    font-size: 15px;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    height: 39px;
    width: 130px;
}

button:disabled {
	opacity: 0.5;
	color: gray;
	cursor: not-allowed;
}

button.drawer-button {
	background: black;
	width : auto;
}

button.create-button {
    background: blue;
}

button.back-button {
    background: saddlebrown;
}

button.change-button {
    background: orange;
}
button.delete-button {
    background: red;
}
button.logout-button {
	background: black;
}



.button-close{
    background: transparent;
    border: none;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 10px;
    color: white;
}

.dialog-message{
    border: none;
    border-radius: 5px;
    width: 28vw;
    height: 15vh;
    padding: 0px;
    overflow: hidden;
    text-align: center;
}

.dialog-message-complete{
    border: none;
    border-radius: 5px;
    width: 20vw;
    height: 15vh;
    padding: 0px;
    overflow: hidden;
    text-align: center;
}

.dialog-message-error{
    border: none;
    border-radius: 5px;
    width: 35vw;
    height: 15vh;
    padding: 0px;
    overflow: hidden;
    text-align: center;
}

dialog {
	padding: 0px;
}

.dialog-menu-item:hover{
	background: rgb(255, 255, 255, 0.3);
}

input.validation-error {
	background-color: pink;
}

label.required::after {
	content: "(必須)";
	color: red;
}

dialog.processing {
	width: 80px;
	height: 80px;
	overflow: hidden;
	border: none;
	border-radius: 50%;
	background: transparent;
}

dialog.processing::backdrop {
	background: rgba(255, 255, 255, 0.6);
}

div.spinner {
	height: 100%;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;  
}

.loading-icon{
	width: 80px;
}

.ui-autocomplete {
    max-height: 400px;
    overflow-y: auto;
}

.no-display {
	display: none;
	visibility: hidden;
}

.hidden {
	display: none;
	visibility: hidden;
}

.suggest-container {
	display: inline-flex !important;
	flex-wrap: nowrap;
	flex-direction: row;
	align-items: baseline;
	margin: 0px;
	padding: 0px;
	border: 0px;
	padding-right: 25px;
}

.suggest-container input.suggest {
	flex: 1;
	margin-right: -25px !important;
	padding-right: 30px;
}

.suggest-container span.suggest-clear {
	flex: 0;
	width: 0;
	color: red;
	padding: 0px;
	cursor:pointer;
  	font-weight:bold;
  	font-size: 20px;;
}
.deleted {
  	text-decoration: line-through;
  	color: inherit;
    cursor: auto;
}
.a-nostyle {
	text-decoration: inherit;
    color: inherit;
    cursor: auto;
}
