html {
  height: 100%;
}

body {
  height: 100%;
  min-width: 1200px;
  background-color: #FAFAFA;
}

th, td {
  word-break: break-all;
}

.datepicker th, .datepicker td {
  word-break: normal;
}

#header {
  min-height: 40px;
  width: 100%;
  background-color: #595959;
  vertical-align: baseline;
  color: #FFF;
  position: relative;
}

#header h1 {
  margin: 0 10px;
  display: inline;
  font-weight: 700;
}

#header h1 a {
  color: #22adc8;
  text-decoration:none;
}

#header_environment {
  color: #ff0000;
}

#header_right {
  position: absolute;
  right: 18px;
  font-weight: 700;
  padding-bottom: 3px;
  top: 0px;
  margin-top: 4px;
}

#header_right a {
  color: #FFF;
}

div#process-backlog {
  font-weight: 700;
  display: inline-block;
  width: 3em;
}

span#process-count {
  position: absolute;
  left: 15px;
  margin-right: 0px;
  background-color: #FF0000;
  visibility: hidden;
  top: -1px;
}

span#header_userinfo {
  display: inline-block;
  margin-right: 3em;
}

#logoutform {
  display: inline;
}

#wrap {
  width: 100%;
  height: calc(100% - 40px);
}

#menu_wrapper {
  height: auto;
  min-height: 100%;
  width: 200px;
  float: left;
  background-color: #7F7F7F;
  position: relative;
  z-index: 1010;
}

#contents {
  height: 100%;
  overflow-y: scroll;
  position: relative;
}

#menu #menu_toggle {
  cursor: pointer;
  position: absolute;
  top: 7px;
  right: -18px;
  width: 18px;
  height: 20px;
  line-height: 20px;
  vertical-align: middle;
  color: #FFF;
  font-weight: 700;
  background-color: #7F7F7F;
  display:none;
}

#menu #menu_toggle:before {
  content: "<<";
}

#menu.closed #menu_toggle:before {
  content: ">>";
}
#menu.closed {
  margin-left : -195px;
}

#menu > ul > li {
  border-bottom:1px solid #666;
}

#menu ul li.selected > a,
#menu ul li.selected > div {
  background-color: #555;
}

#menu ul {
  padding-left: 0px;
  list-style-type: none;
}

#menu li {
  position: relative;
}

#menu ul a {
  display:inline-block;
  width:100%;
  padding: 5px 10px;
}

#menu > ul > li > ul > li > a {
  padding-left: 20px;
}

#menu > ul > li > ul > li > div {
  padding-left: 20px;
}

#menu > ul > li > ul > li > ul > li > a {
  padding-left: 35px;
}

#menu > ul > li > ul > li > ul > li > div {
  padding-left: 35px;
}

#menu > ul > li div.expandable + div > ul a {
  padding-left:20px;
}

#menu div.expandable {
  position: relative;
  padding-right:20px;
  word-break: break-word;
}
#menu > ul li div.expandable:before {
  font-family: 'Glyphicons Halflings';
  content:"\e250";
  font-size:86%;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 10px;
  margin: auto;
  display: block;
  width:1em;
  height:1em;
}

#menu ul li > div.expandable + div {
  display:none;
  position:absolute;
  top:-1px;
  left:199px;
  z-index:1500;
  background:transparent;
  margin-top: -1em;
  padding: 1em 1em 1em 0;
}
#menu ul li > div.expandable + div > ul {
  border:1px solid #666;
  background-color:#7f7f7f;
  color:#fff;
  width:120px;
  font-weight: 300;
}

#menu ul li:hover > div.expandable + div {
  display:block;
}

#menu > ul > li > ul > li:hover > a {
  background-color: #EEE;
  color: #333;
  text-decoration:none;
}

#menu ul li a:hover,
#menu ul li a:focus,
#menu ul div.expandable:hover {
  background-color: #EEE;
  color: #333;
  text-decoration:none;
}

#menu ul a, #menu ul div {
  color: #fff;
}

#menu ul div {
  padding: 5px 10px;
}

#menu ul div:not(.expandable) {
  font-weight:700;
}

#page-title h2 {
  margin-top:0;
  margin-left:-15px;
  margin-right:-15px;
  padding:8px 15px 7px 30px;
  font-size:110%;
  background: #ddd;
}

h3 {
  border-left: 5px solid #0080c0;
  line-height: 1.5em;
  padding-left: 10px;
  margin-bottom: 5px;
}

#breadcrumb_area {
  position:relative;
}

#breadcrumb_area ol.breadcrumb {
  margin-bottom: 0;
  padding:10px 15px;
  background: #ddd;
}

#breadcrumb_area ol.breadcrumb li:first-child {
  margin-left: 15px;
}

#breadcrumb_area ol.breadcrumb li:before {
  color: inherit !important;
}

div.button_area {
  position: absolute;
  top: 3px;
  right: 0;
  padding: 0px 20px;
  z-index: 10;
}

i.glyphicon-ok {
  color: #5cb85c;
}

/** ajaxのスピナー用クラス **/
.spinner-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.spinner {
  position: relative;
  font-size: 48pt;
  top: calc(50% -  ( 48pt  / 2));
  left: calc(50% - ( 48pt  / 2));
  padding: 10px;
  background: #333;
  color: #FFF;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
}

.required:after {
  content:" *";
  color: #F00;
}

td.mouseover_cell {
  background-color: #dcdcdc !important;
}

i.mouseover_cell {
  color: #d43f3a;
}

#menuSystemedWrapper {
  position: relative;
  z-index: 1010;
  margin-left: 0px;
  height: calc(2em - 2px);
}
#menuSystemedCommon {
  width: 200px;
}
#menuSystemedCommon,
#menuSystemedInstitutes {
  display: table-cell;
  padding-right: 32px;
  float: left;
}
#menuSystemedCommon ul,
#menuSystemedInstitutes ul {
  padding-left: 0px;
  list-style-type: none;
  margin: 0;
}
#menuSystemedCommon ul li,
#menuSystemedInstitutes ul li {
  display: inline-block;
  margin-right: -4px;
  margin-top: 5px;
}
#menuSystemedCommon ul li a {
  border-right: 1px solid #666;
  padding: 5px 10px;
  background-color: #A18E5C;
  color: #fff;
}
#menuSystemedCommon ul li.selected a {
  background-color: #E3DECC;
  color: #333;
}
#menuSystemedCommon ul li.unselected a {
  background-color: #A18E5C;
  color: #FFFFFF;
}
#menuSystemedCommon ul li a:hover,
#menuSystemedCommon ul li a:focus {
  background-color: #E3DECC;
  color: #333;
  text-decoration: none;
}
#menuSystemedInstitutes ul li a {
  border-right: 1px solid #666;
  padding: 5px 10px;
  background-color: #7F7F7F;
  color: #fff;
}
#menuSystemedInstitutes ul li.selected a {
  background-color: #ddd;
  color: #333;
}
#menuSystemedInstitutes ul li.selectedInstitute a {
  background-color: #ddd;
  color: #333;
}
#menuSystemedInstitutes ul li.selectInstitute a {
  background-color: #3f90d6;
  color: #fff;
}
#menuSystemedInstitutes ul li.unselected a {
  background-color: #7F7F7F;
  color: #fff;
}
#menuSystemedInstitutes ul li a:hover,
#menuSystemedInstitutes ul li a:focus {
  background-color: #EEE;
  color: #333;
  text-decoration: none;
}
#menuSystemedInstitutes ul li.selectedInstitute a:hover,
#menuSystemedInstitutes ul li.selectedInstitute a:focus {
  background-color: #ddd;
}
#menuSystemedInstitutes ul li.selectInstitute a:hover,
#menuSystemedInstitutes ul li.selectInstitute a:focus {
  background-color: #c7d7e4;
}
#menuSystemed {
  background-color: #A18E5C;
  display: table-cell;
}
#menuSystemed > ul > li {
  display: inline-block;
}
#menuSystemed ul li.selected > a,
#menuSystemed ul li.selected > div {
  background-color: #897644;
}
#menuSystemed ul {
  padding-left: 0px;
  list-style-type: none;
  margin: 0;
}
#menuSystemed li {
  position: relative;
}
#menuSystemed ul a {
  display: inline-block;
  width: 100%;
  padding: 5px 10px;
}
#menuSystemed > ul > li {
  border-bottom: 1px solid #897644;
}
#menuSystemed > ul > li > ul > li > a {
  padding-left: 20px;
}
#menuSystemed > ul > li > ul > li > div {
  padding-left: 20px;
}
#menuSystemed > ul > li > ul > li > ul > li > a {
  padding-left: 35px;
}
#menuSystemed > ul > li > ul > li > ul > li > div {
  padding-left: 35px;
}
#menuSystemed > ul > li div.expandable + div > ul a,
#menuSystemed > ul > li div:not(.expandable) div.expandable {
  padding-left:20px;
}
#menuSystemed div.expandable {
  position: relative;
  padding-right: 20px;
  word-break: break-word;
}
#menuSystemed > ul li div.expandable:before {
  font-family: 'Glyphicons Halflings';
  content: "\e250";
  font-size: 86%;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 10px;
  margin: auto;
  display: block;
  width: 1em;
  height: 1em;
}
#menuSystemed ul li div > ul li div.expandable:before {
  content: "\e250";
}
#menuSystemed ul li > div.expandable + div {
  position: absolute;
  display: none;
  top: calc(2em - 2px);
  left: 0px;
  z-index: 1500;
  background: transparent;
  margin-top: -1em;
  padding: 1em 1em 1em 0;

  top: -1px;
  left: 199px;
}
#menuSystemed ul li div ul li > div.expandable + div {
  top: -1px;
  left: 199px;
}
#menuSystemed ul li > div.expandable + div > ul {
  border:1px solid #897644;
  background-color: #A18E5C;
  color: #333;
  width: 120px;
  font-weight: 300;
}
#menuSystemed ul li div.expandable + div > ul {
  width: 120px;
}
#menuSystemed ul li div ul li div.expandable + div > ul {
  width: 120px;
}
#menuSystemed ul li:hover > div.expandable + div {
  display:block;
}
#menuSystemed > ul > li > ul > li:hover > a {
  background-color: #E3DECC;
  color: #333;
  text-decoration: none;
}
#menuSystemed ul li a:hover,
#menuSystemed ul li a:focus,
#menuSystemed ul div.expandable:hover {
  background-color: #E3DECC;
  color: #333;
  text-decoration: none;
}
#menuSystemed ul a,
#menuSystemed ul div {
  color: #fff;
}
#menuSystemed ul div {
  padding: 5px 10px;
  width: 200px;
}
#menuSystemed > ul > li {
  width: 200px;
}
#menuSystemed ul div:not(.expandable) {
  font-weight: 700;
}

#select_department_dialog div.modal-body.enableScroll {
  overflow-y: scroll;
  height: 80vh;
}

#select_department_dialog div.modal-body div.targetInstitute {
  margin: 3px 0;
}

#select_department_dialog div.modal-body div.targetInstitute > a {
  padding: 3px;
  display: inline-block;
  text-decoration: none;
}

#select_department_dialog div.modal-body div.targetInstitute.selected > a {
  background: #beebff;
  border-radius: 2px;
  box-shadow: inset 0 0 1px #999;
}

#select_department_dialog div.modal-body div.targetInstitute > a:hover {
  background: #e7f4f9;
  border-radius: 2px;
  box-shadow: inset 0 0 1px #ccc;
}