/* bootstrap-custom by TAKA*/

/*Overwrite CSS for bootstrap.css*/
html {
  height: 100%;/*fullheight設定(他への影響が心配)*/
}
body {
  height: 100%;/*fullheight設定(他への影響が心配)*/
  margin: 0;
  color: #333;
  background-color: aliceblue;
}
#footer {
	color: #333333; 
  background-color:papayawhip;
  height:20px;
}
.form-group {
  margin-bottom: 10px;
  
}
p,
label {
  border-radius: 4px;
}
select { 
  padding-left: 9px !important;
}
.form-control,
.input {
  border: 1px solid black ;
  color: black !important;
}
.container {
  padding-right: 0px;/*15px*/
  padding-left: 0px;/*15px*/
}
.glyphicon {
  top: 0px;
}
.form-control[disabled] {
  background-color: lightgrey;
}
/* for checking modal design
.modal-body {
  background-color: #e5e5e5;
}*/


/*Overwrite CSS for formatting.css*/
#border_div,
.border_div {
  background-color: whitesmoke;
  border: 1px solid #337ab7;
  border-radius: 2px;
}

/*Original CSS*/
.noSpace-custom,
.noS-cus {
  padding: 0px;
  margin: 0px;
}
.txC-cus {
  text-align:center;
}
.rp5-custom {
  padding-right: 5px;
}
.bp5-custom {
  padding-left: 5px;
  padding-right: 5px;
}
.lp5-custom {
  padding-left: 5px;
}
.listPad-custom {
  padding: 1px 0px 1px 0px;
}
.listPad-large-custom {
  padding-top:5px;
  padding-bottom:5px;
}

.noSpace-u-custom > div {
  padding: 0px;
  margin: 0px;
}
.height100-custom{
  height: calc(100vh - 129px);
  padding: 0px;
}
.border_div-mainbox-custom{
  margin-top: 0px;
  margin-bottom: 0px;
  overflow: auto;
}
.border_div_sm-custom {
  background: white;
  border: 1px solid #337ab7;
  border-radius: 4px;
}
.text-align-center-custom{
  text-align:center;
}
.dotBorder-custom{
  border-bottom:dotted 1px gray;
}
.radius-left0-custom{
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}
.radius-right0-custom{
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}
.radius-top0-custom{
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
}
.radius-bottom0-custom{
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}
.radius0-custom{
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}
.topradius4-custom{
  font-weight: bold;
  padding-top: 0px;
  padding-bottom: 0px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  text-align: center;
  color: white;
  border: 1px solid indigo;
  background-color: indigo;
}
.boxRadius4-custom{
  border-right: 1px solid #337ab7;
  border-left: 1px solid #337ab7;
  border-bottom: 1px solid #337ab7;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.smbox-custom{
  padding:2px 0px 2px 0px;
  background-color: whitesmoke;
  border-right: 1px solid #337ab7;
  border-left: 1px solid #337ab7;
  border-bottom: 1px solid #337ab7;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.topradius4-title-custom{
  font-weight: bold;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  text-align: center;
  color: white;
  border: 1px solid navy;
  background-color: navy;
}
.smbox-sub-custom{
  border-right: 1px solid black;
  border-left: 1px solid black;
  border-bottom: 1px solid black;
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
}
.mdbox-sub-custom{
  border-right: 1px solid black;
  border-left: 1px solid black;
  border-bottom: 1px solid black;
  background-color: white;
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.print-title-custom{
  background-color: lightcyan;
  border: 1px solid #337ab7;
  border-radius: 2px;
  font-weight: bold;
}
.modal-body-custom{
  max-height: calc(100vh - 200px);
  overflow-y:auto;
  background-color:whitesmoke;
}
.form-hori-cus {
  margin-bottom: 10px;
}

/*custom CSS for Special part*/
/*panel*/
.panel-custom {
  margin-bottom: 10px;
}
.panel-default-custom1 {/*ReviewOfSyetems,*/
  margin-bottom: 5px;
  border-color:lightsteelblue;
}
.panel-default-custom1 > .panel-heading {/*ReviewOfSyetems,*/
  padding-top: 2px;
  padding-bottom: 2px;
  background-color: lightgrey;
  border-color: lightsteelblue;
}
.panel-heading-custom {/*ReviewOfSyetems,*/
  padding-top: 2px;
  padding-bottom: 2px;
}
.panel-title-custom {
  vertical-align: middle;
  font-size: 14px;
}
.panel-btn-custom {
  display: inline !important;
  margin-right: 0px !important;
  margin-left: auto !important;
}



/*control-label*/
.control-label-custom {
  height: 34px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}
.form-control-custom {
  color: black;
  font-weight: bold;
  font-size: large;
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}
.form-center-bold-custom {
  font-weight:bold;
  text-align:center;
}
.form-control-fontlg-custom {
  border-top: 1px solid black;
  padding-top: 4px;
  padding-bottom: 2px;
  font-size: large;
}
.form-div-pd2-custom {
  padding:0px 2px;
}

/*General Note Summary*/
.balloon-L-cus {
  position: relative;
  display: inline-block;
  margin: 0.3em 0 0.3em 15px;
  padding: 10px 10px;
  min-width: 120px;
  min-height: 40px;
  max-width: 100%;
  color: #555;
  font-size: 16px;
  background: #e0edff;
  border-radius: 10px;
}
.balloon-L-cus::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -10px;
  border: 10px solid transparent;
  border-right: 15px solid #e0edff;
}
.balloon-L-cus p {
  margin: 0;
  padding: 0;
}
.balloon-L-patient-cus {
  position: relative;
  display: inline-block;
  margin: 0.3em 0 0.3em 15px;
  padding: 10px 10px;
  min-width: 120px;
  min-height: 40px;
  max-width: 100%;
  color: #555;
  font-size: 16px;
  background: aquamarine;
  border-radius: 10px;
}
.balloon-L-patient-cus::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -10px;
  border: 10px solid transparent;
  border-right: 15px solid aquamarine;
}
.balloon-L-patient-cus p {
  margin: 0;
  padding: 0;
}

/*Certification*/
.border-custom{
  border: solid 1px black;
}
.border-left-custom{
  border-left: solid 1px black;
}
.bgCol-Cer-custom {
  background-color:lightgrey;
  padding-top:20px;
  font-weight:bold;
}
.cell-Cer-custom {
  padding: 0px 5px 0px 5px;
  height: 60px;
  border-right: 1px solid black;
  background-color:transparent;
}
.title-Cer-custom {
  font-size: small;
}
.cont-Cer-custom {
  padding:5px 0px 0px 0px;
  font-size: 16px;
  font-weight: bold;
  text-align:center;
  text-justify:inter-word;
}

/*Lab & Xray selection button*/
.panel-heading-cus {
  padding: 1px 15px;
}
.btn-LabXray-cus {
  width: 200px !important;
}

.btn-LabXray-cus:focus { /*focused toggle off*/
  background-color:white;
}
.btn-LabXray-cus:active:focus { /*clicking mouse*/
  background-color:lightskyblue;
}
.btn-LabXray-cus.active,
.btn-LabXray-cus.active:focus { /*toggle On*/
  background-color:lightskyblue;
}
.btn-LabXray-cus:hover {
  background-color:#bfefdf;
}

/*others*/
.h5-custom,.h4-custom {
  margin-top: 5px;/*10px*/
  margin-bottom: 2px;/*10px*/
  padding: 0px 15px 0px 15px;
  border-radius: 2px;
}
.title-custom {
  background-color: beige;
  padding: 5px 10px;
  border: 1px solid burlywood;
  border-radius: 2px;
}
.pres-duration-unit-custom {
  padding-left: 0px;
  padding-right: 5px;
  margin-right: 0px;
  font-weight: bold;
  text-align: right;
  margin-top: -20px;
  position: relative;
  z-index: 1;
}
.pres-duration-box-custom {
  background-color:transparent;
  position: relative;
  z-index: 2;
}



/*Dr. main navbar*/
.navbar-default-custom {
  background-color: aquamarine;
  border-color: limegreen;
  border-radius: 2px;
  margin-top: 0px;
  margin-bottom: 10px;
}
.navbar-default-custom .navbar-nav > li > a {
  color: black;/*#777*/
}
.navbar-nav-custom > li > a {
  padding-top: 5px ;/*10px*/
  padding-bottom: 5px ;/*10px*/
}
.a-custom {
  background-color: palegreen;
  border: 1px solid limegreen;
  border-radius: 4px;
}
.li-custom {
  background-color: palegreen;
  border: 1px solid limegreen;
  border-radius: 8px;
}

/*Dr. selection alert*/
.selection-alert-custom {
  background-color: mistyrose;
  border-radius: 2px;
}

/* navbar-custom2 for Treatment*/
/* navbar 全体の背景色とボーダーカラー */
.nav-custom2 > li > a {
  padding: 5px 5px;/*10px 15px*/
}
.nav-custom2 > li > a:hover,
.nav-custom2 > li > a:focus {
  text-decoration: none;
  color: black;/*#777*/
  background-color: #eee;
}

.nav-custom2 > li.disabled > a {
  color: #777;
}
.nav-custom2 > li.disabled > a:hover,
.nav-custom2 > li.disabled > a:focus {
  color: #777;/*#777*/
  text-decoration: none;
  cursor: not-allowed;
  background-color: transparent;
}
.nav-custom2 .open > a,
.nav-custom2 .open > a:hover,
.nav-custom2 .open > a:focus {
  background-color: #eee;
  border-color: #337ab7;
}
.nav-custom2 .nav-divider {
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}
.nav-custom2 .active>a,
.nav-custom2 .active>a:focus,
.nav-custom2 .active>a:hover {
  color: red;
  background-color: #c3ede7;
}



.navbar-default-custom2 {
  background-color: #65baad;
  border-color: #3e6962;
}
/* navbar テキストカラー */
.navbar-default-custom2 .navbar-nav-custom2 > li > a {
  color: #ffffff;
  padding-top: 5px ;
  padding-bottom: 5px ;
}
/* navbar hover,focus時のテキストカラー */
.navbar-default-custom2 .navbar-nav-custom2 > li > a:hover,
.navbar-default-custom2 .navbar-nav-custom2 > li > a:focus {
  color: #26534c !important;
  background-color: transparent !important;
}
/* navbar active設定時のカラー */
.navbar-default-custom2 .navbar-nav-custom2>.active>a,
.navbar-default-custom2 .navbar-nav-custom2>.active>a:focus,
.navbar-default-custom2 .navbar-nav-custom2>.active>a:hover {
  color: red;
  background-color: #c3ede7;
}
/* navbar ドロップダウン(親)のカラー */
.navbar-default-custom2 .navbar-nav-custom2>.open>a,
.navbar-default-custom2 .navbar-nav-custom2>.open>a:focus,
.navbar-default-custom2 .navbar-nav-custom2>.open>a:hover {
  color: #3e6962;
  background-color: #c3ede7;
}
/* navbar ドロップダウン(子)のボックスカラー */
.dropdown-menu-custom2 {
  background-color: #65baad;
  border: 1px solid #3e6962;
  border: 1px solid #3e6962(0, 0, 0, .15);
  -webkit-box-shadow: 0 6px 12px rgba(94, 136, 129, 0.35);
  box-shadow: 0 6px 12px rgba(94, 136, 129, 0.35);
}
/* navbar ドロップダウン(子)テキストカラー */
.dropdown-menu-custom2>li>a {
  color: #ffffff;
}
/* navbar ドロップダウン(子)focus,hover時のカラー */
.dropdown-menu-custom2>li>a:focus,
.dropdown-menu-custom2>li>a:hover {
  color: #26534c;
  background-color: #c3ede7;
}
/* navbar ドロップダウン(子)内の区切り線(class=”divider”)のカラー */
.dropdown-menu-custom2 .divider-custom2 {
  background-color: #3e6962;
}
/* navbar 画面サイズ767px以下の時のカラー */
@media (max-width:767px) {
.navbar-default-custom2 .navbar-nav-custom2 .open-custom2 .dropdown-menu-custom2>li>a {
  color: #ffffff;
}
.navbar-default-custom2 .navbar-nav-custom2 .open-custom2 .dropdown-menu-custom2>li>a:focus,
.navbar-default-custom2 .navbar-nav-custom2 .open-custom2 .dropdown-menu-custom2>li>a:hover {
  color: #26534c;
  background-color: transparent;
}
/* ドロップダウンactive設定時のカラー */
.navbar-default-custom2 .navbar-nav-custom2 .open-custom2 .dropdown-menu-custom2>.active>a,
.navbar-default-custom2 .navbar-nav-custom2 .open-custom2 .dropdown-menu-custom2>.active>a:focus,
.navbar-default-custom2 .navbar-nav-custom2 .open-custom2 .dropdown-menu-custom2>.active>a:hover {
  color: #ffb163;
  background-color: #d4ede9;
}
}
/* navbar ハンバーガー四角枠 */
.navbar-default-custom2 .navbar-toggle-custom2 {
  border-color: #ffffff;
}
/* navbar ハンバーガー三本線 */
.navbar-default-custom2 .navbar-toggle-custom2 .icon-bar-custom2 {
  background-color: #ffffff;
}
/* navbar ハンバーガーボタン,タップとホバーした時の背景色 */
.navbar-default-custom2 .navbar-toggle-custom2:focus,
.navbar-default-custom2 .navbar-toggle-custom2:hover {
  background-color: #ffffff;
}
/* navbar ハンバーガーボタン,タップとホバーした時の四角枠 */
.navbar-default-custom2 .navbar-toggle-custom2:focus,
.navbar-default-custom2 .navbar-toggle-custom2:hover {
  border-color: #65baad;
}
/* navbar ハンバーガーボタン,タップとホバーした時の三本線 */
.navbar-default-custom2 .navbar-toggle-custom2:focus > .icon-bar,
.navbar-default-custom2 .navbar-toggle-custom2:hover > .icon-bar {
  background-color: #65baad;
}
/* navbar Brandのカラー */
.navbar-default-custom2 .navbar-brand-custom2 {
  color: #ff5555;
}
.navbar-default-custom2 .navbar-brand-custom2:focus,
.navbar-default-custom2 .navbar-brand-custom2:hover {
  color: #ff5555;
  background-color: transparent;
}

/*for E-chart & Treatments*/
.treaTitle-custom {
  text-align: center;
  padding-top: 8px;
  color: #777;
  font-weight:bold;
}
.dxCol-custom {
  background-color:lightcyan;
}
.record-custom {
  background-color: beige;
  border: 1px solid burlywood; 
}
.nurse-custom {
  background-color: mistyrose;
  border: 1px solid pink; 
}
.doctor-custom {
  background-color: lightcyan;
  border: 1px solid aqua;
}
.doctor-custom-2 {
  background-color: powderblue;
  border: 1px solid aqua;
}
.pharmacist-custom {
  background-color: lightgoldenrodyellow;
  border: 1px solid darkkhaki !important; 
}
.procedure-custom {
  background-color: aquamarine;
  border: 1px solid lightseagreen !important; 
}
.lab-custom {
  background-color: lavender;
  border: 1px solid mediumorchid !important; 
}
.xray-custom {
  background-color: gainsboro;
  border: 1px solid darkgray !important; 
}
.navytab-cus {
  background-color: powderblue;
  border: 1px solid navy !important; 
}
.inpatient-custom {
  background-color: papayawhip;
  border: 1px solid orangered !important; 
}
.tabXover-custom{
  margin-bottom: -1px;
  border-bottom: 0px !important;
  position: relative;
  z-index: 1;
}

/*for row-fix*/
.col-xs-1-custom,
.col-sm-1-custom,
.col-md-1-custom,
.col-lg-1-custom,
.col-xs-2-custom,
.col-sm-2-custom,
.col-md-2-custom,
.col-lg-2-custom,
.col-xs-3-custom,
.col-sm-3-custom, 
.col-md-3-custom,
.col-lg-3-custom,
.col-xs-4-custom,
.col-sm-4-custom,
.col-md-4-custom,
.col-lg-4-custom,
.col-xs-5-custom,
.col-sm-5-custom,
.col-md-5-custom,
.col-lg-5-custom,
.col-xs-6-custom,
.col-sm-6-custom,
.col-md-6-custom,
.col-lg-6-custom,
.col-xs-7-custom,
.col-sm-7-custom,
.col-md-7-custom,
.col-lg-7-custom,
.col-xs-8-custom,
.col-sm-8-custom,
.col-md-8-custom,
.col-lg-8-custom,
.col-xs-9-custom,
.col-sm-9-custom,
.col-md-9-custom,
.col-lg-9-custom,
.col-xs-10-custom,
.col-sm-10-custom,
.col-md-10-custom,
.col-lg-10-custom,
.col-xs-11-custom,
.col-sm-11-custom,
.col-md-11-custom,
.col-lg-11-custom,
.col-xs-12-custom,
.col-sm-12-custom,
.col-md-12-custom,
.col-lg-12-custom {
  word-wrap:break-word;
}

/* デスクトップ表示ではホバー操作でドロップダウンを表示 */
@media only screen and (min-width : 768px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}




/*for printing modal*/
/*@media screen {
  #printSection {
      display: none;
  }
}
@media print {
  body * {
    visibility:hidden;
  }
  #printSection, #printSection * {
    visibility:visible;
  }
  #printSection {
    position:absolute;
    left:0;
    top:0;
  }
}
@media print {
  body{
   overflow-y: hidden;
   overflow-x: hidden;
  }
}

