@charset "utf-8";

body,
input,
button {
  font-family: "メイリオ","ヒラギノ角ゴ Pro W3","ＭＳ Ｐゴシック",sans-serif;
}

html {
  background-color: #eee;
}

body {
  background-color: transparent;
}

.fc-center h3 {
  margin: 0.2em 0 0 0.5em !important;
  padding: 0 !important;
  vertical-align: middle;
}

.jumbotron {
  margin-top: 30px;
}

.dl-horizontal dd {
  margin-bottom: 0.5em;
}

.img-attachment {
  max-height: 130px;
}

.emphasize {
  color: #c00;
}

.business-day-cell {
  padding: 15px;
  font-size: 1.1em;
}

.business-day-select {
  width: 87px;
}

h2 {
  padding-left: 12px;
  border-left: 5px solid rgb(255, 246, 106);
  line-height: 1.1;
}

/** ------------------------------
 * header
 */
header {
  box-shadow: 0 0 3px #999;
}

@media only screen and (min-width: 992px) {
  header {
    height: 50px;
  }
}

.header {
  margin: 0 auto;
  position: relative;
}

@media only screen and (min-width: 992px) {
  .header {
    width: 970px;
  }
}

@media only screen and (min-width: 1200px) {
  .header {
    width: 1140px;
  }
}

.header:after {
  content: ".";
  display: block;
  visibility: hidden;
  height: 0;
  line-height: 0;
  font-size: 0;
  clear: both;
}

.header a {
  color: #000;
  text-decoration: none;
}

.globalNav a:hover,
.globalNav dl:hover,
.globalNav dd a,
.globalNav .open dt {
  color: #000;
  background-color: rgb(244, 236, 0);
}

.globalNav dd a:hover {
  background-color: rgb(240, 233, 5);
}

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

/* logo */
.header-logo {
  margin-right: 20px;
  padding-left: 5px;
  float: left;
}

.header-logo img {
  height: 50px;
}

.header-logo p {
  width: 190px;
  height: 30px;
  font-size: 120%;
  font-weight: bold;
  color: #fff;
  margin-top: 13px;
}

/* button */
.header-button {
  padding: 36px 42px 0 0;
  border: 1px solid black;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  position: absolute;
  top: 5px;
  right: 5px;
  width: 0;
  height: 0;
  background-color: transparent;
  overflow: hidden;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

@media only screen and (min-width: 992px) {
  .header-button {
    display: none;
  }
}

@media only screen and (max-width: 992px) {
  .header-logo p {
    padding-left: 5px;
  }
}

.header-button:hover {
  background-color: rgb(240, 233, 5);
}

.header-button::before {
  content: "";
  margin: auto;
  border-top: 3px solid black;
  border-bottom: 3px solid black;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 60%;
  height: 60%;
}

.header-button::after {
  content: "";
  margin: auto;
  border-top: 3px solid black;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 60%;
  height: 0;
}

/* globalNav */
@media only screen and (max-width: 992px) {
  nav {
    clear: both;
  }
}

.globalNav {
  position: relative;
  font-size: 90%;
  display: none;
  z-index: 9999;
}

.globalNav > li {
  border-top: 1px solid #fff;
}

@media only screen and (min-width: 992px) {
  .globalNav {
    display: block !important;
    background-color: none;
  }

  .globalNav,
  .globalNav > li {
    float: left;
  }

  .globalNav > li {
    border-top: none;
  }
}

.globalNav > li a,
.globalNav > li dt {
  padding: 0 15px;
  display: block;
  line-height: 50px;
}

.globalNav > li dt {
  position: relative;
  color: #fff;
  font-weight: normal;
  cursor: pointer;
}

.globalNav > li dt::after {
  content: "";
  margin: auto;
  border-style: solid;
  border-width: 6px 3px 0 3px;
  border-color: #fff transparent transparent transparent;
  display: block;
  position: absolute;
  top: 0;
  right: 10px;
  bottom: 0;
  width: 0;
  height: 0;
  vertical-align: middle;
}

@media only screen and (min-width: 992px) {
  .globalNav > li dt::after {
    margin: 0 0 0 10px;
    display: inline-block;
    position: static;
  }
}

/* 子メニュー */
.globalNav li dl {
  margin: 0;
}

.globalNav li dd {
  position: static;
  display: none;
}

@media only screen and (min-width: 992px) {
  .globalNav li dd {
    position: absolute;
  }
}

.globalNav ul > li {
  border-top: 1px solid #2e81bf;
}

@media only screen and (min-width: 992px) {
  .globalNav ul > li {
    border-top: none;
  }
}

.globalNav ul > li a {
  padding: 0 15px;
  min-width: 11em;
  white-space: nowrap;
}

.globalNav ul > li:last-of-type a {
  -webkit-border-radius: 0 0 4px 4px;
     -moz-border-radius: 0 0 4px 4px;
          border-radius: 0 0 4px 4px;
}

/**/
.simpleNav {
  clear: none;
  margin: 8px 10px 0;
  float: right;
}

@media only screen and (max-width: 400px) {
  /*
  .header-logo {
    margin-right: 5px;
    height: 50px;
  }

  .header-logo img {
    margin: 7px 0 0;
    height: 36px;
  }
  */
}

/** ------------------------------
 * main
 */
main {
  padding-top: 10px;
  padding-bottom: 40px;
  border-bottom: 3px solid #1a1a1a;
  background-color: #fff;
}

.page-header {
  margin-top: 0;
}

.page-header:after {
  content: ".";
  display: block;
  visibility: hidden;
  height: 0;
  line-height: 0;
  font-size: 0;
  clear: both;
}

.table-responsive + .page-header {
  margin-top: 20px;
}

.btn-longText {
  white-space: normal;
}

@media only screen and (max-width: 430px) {
  .page-header h2 {
    font-size: 22px;
  }
}

/** ------------------------------
 * table
 */
.table thead,
.table .head {
  color: #fff;
  background-color: #115867;
}

.table thead *,
.table .head * {
  text-align: center;
}

.table > tbody > tr.info > th {
    background-color: #fffece;
}

.fc-day-number {
  padding-right: 8px !important;
  font-weight: bold;
  font-size: 18px;
  color: #0f62a1;
}

.fc-other-month {
  color: #888;
}

.business-day-cell {
  margin-top: 1em;
}

.table>tbody>tr>td,
.table>tbody>tr>th {
  vertical-align: middle;
}

.table tbody th {
  background-color: #f6f6f6;
  text-align: center;
}

.table .row {
  margin-right: 0;
  margin-left: 0;
}

/** ------------------------------
 * form
 */
.form-control {
  /*margin-bottom: 7px; TODO: これなんの為に7px下開けてる? このclassでやることなの? */
  min-width: 150px;
}

.text-center .form-control {
  margin: 0 auto;
}

.form-control[id^="birthday_"],
.form-control[id^="suspend_"] {
  width: auto;
  min-width: 0;
}

input[type="file"].form-control {
  height: auto;
  background-color: #f6f6f6;
}

select.form-control {
  /*width: auto; TODO: これなんの為に付けてるl?*/
  min-width: 6em;
}

/** ------------------------------
 * 従業員用ボタンリンク
 */
.bottomSpace {
  margin-bottom: 15px;
}

.btn-info.bottomSpace {
  text-shadow: none;
}

/** ------------------------------
 * messageBox
 */
.messageBox {
  margin: 20px 0 2em;
  padding: 20px;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  border: 1px solid #0f62a1;
  color: #0f62a1;
  background-color: #f6f6f6;
  text-align: center;
  font-weight: bold;
}

/* @media only screen and (max-width: 480px) { */
@media only screen and (max-width: 992px) {
  .messageBox {
    text-align: left;
  }
}

/** ------------------------------
 * footer
 */
footer {
  padding: 10px;
  border-top: 1px solid #eee;
}

footer::after {
  content: ".";
  display: block;
  visibility: hidden;
  height: 0;
  line-height: 0;
  font-size: 0;
  clear: both;
}

.footerNav {
  padding: 0;
  float: right;
  list-style-type: none;
}

.footerNav li {
  margin-left: 10px;
  float: left;
}

footer p {
  line-height: 2.4;
  font-weight: bold;
  /*
  float: left;
  */
  float: none;
  text-align: center;
}

@media only screen and (max-width: 580px) {
  .footerNav,
  .footerNav li {
  /* footer p { */
    float: none;
    text-align: center;
  }

  .footerNav li {
    margin-left: 0;
    display: inline-block;
  }

  footer p {
    padding-top: 5px;
    line-height: 1.4;
  }
}

.construction-photo {
  max-width: 360px;
  border: 1px solid #ccc;
}

.photo-user-name {
  color: #777;
  font-size: 13px;
}

.review-result #shibakun {
  width: 120px;
}

.review-result table {
  width: 100%;
}

.review-result table td {
  text-align: left;
  padding-left: 1em;
}

.review-result td.left {
  width: 120px;
}

.review-result .text {
  font-size: 18px;
  margin-top: 1em;
}

textarea.photo-comment {
  height: 12em;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.btn-outline-secondary {
  background-color: transparent;
  background-image: none;
  border-color: #ccc;
}

@media only screen and (max-width: 767px) {
  div.buttons input[type="button"] {
    margin-top: 8px;
  }

  .photo-user-name {
    margin-bottom: 16px;
  }

  .review-result .text {
    font-size: 14px;
  }

  .review-result.messageBox {
    padding: 12px 12px 12px 0;
  }

  .review-result.messageBox {
    padding: 12px 12px 12px 0;
  }

  textarea.photo-comment {
    height: 6em;
  }

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

@media only screen and (max-width: 390px) {
  .construction-photo {
    margin: 0;
    max-width: 100%;
  }
}

.cat-photo {
  border: 1px solid #ccc;
}

.center {
  text-align: center;
}

.log_table .left {
  position: relative;
  float: left;
  width: 80px;
}

.log_table .right {
  float: right;
  width: 100%;
  margin-left: -80px;
  padding-left: 80px;
  box-sizing: border-box;
}

.log_table .right .right-contents {
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
}

.log_table .datasheet-header {
  table-layout: fixed;
  width: 78em;
  margin-bottom: 0;
  display: none;
  position: fixed;
  top: 0;
}

.log_table .datasheet-header th {
  border-bottom: 1px solid #ddd;
}

.log_table .datasheet {
  table-layout: fixed;
  width: 78em;
}

.log_table .datasheet td {
  border-left: 1px solid #ddd;
}

.log_table .datasheet td input[type="text"],
.log_table .datasheet td input[type="number"],
.log_table .datasheet td textarea {
  border: 1px solid #aaa;
}

.log_table .datasheet td input[type="text"],
.log_table .datasheet td input[type="number"] {
  padding-left: 4px;
  padding-right: 4px;
}

.log_table .datasheet th.input_by,
.log_table .datasheet td.input_by {
  width: 6em;
}

.log_table .datasheet th.eat,
.log_table .datasheet td.eat {
  width: 18em;
}

.log_table .datasheet th.excreta,
.log_table .datasheet td.excreta {
  width: 12em;
}

.log_table .datasheet th.eye,
.log_table .datasheet td.eye {
  width: 9.5em;
}

.log_table .datasheet th.ear,
.log_table .datasheet td.ear {
  width: 9.5em;
}

.log_table .datasheet th.brushing,
.log_table .datasheet td.brushing {
  width: 6.5em;
}

.log_table .datasheet th.claw,
.log_table .datasheet td.claw {
  width: 6.5em;
}

.log_table .datasheet th.tooth,
.log_table .datasheet td.tooth {
  width: 6.5em;
}

.log_table .datasheet th.memo,
.log_table .datasheet td.memo {
  width: 16em;
}

.log_table .datasheet td.input_by input {
  width: 100%;
}

.log_table .datasheet div.eat_selects {
  float: left;
  width: 7.5em;
}

.log_table .datasheet div.eat_free {
  float: left;
  width: 8.5em;
}

.log_table .datasheet div.eat:nth-child(n+2) {
  margin-top: 8px;
}

.log_table .datasheet div.eat span:nth-child(1) {
  display: inline-block;
  width: 3.5em;
}

.log_table .datasheet div.eat span:nth-child(2) {
  display: inline-block;
  width: 3em;
}

.log_table .datasheet div.eat_free textarea {
  width: 100%;
  height: 9em;
}

.log_table .datasheet div.excreta input {
  width: 100%;
}

.log_table .datasheet div.excreta:nth-child(n+2) {
  margin-top: 8px;
}

.log_table .datasheet div.eye:nth-child(n+2) {
  margin-top: 8px;
}

.log_table .datasheet div.eye span:nth-child(1) {
  display: inline-block;
  width: 3.5em;
}

.log_table .datasheet div.eye span:nth-child(2) {
  display: inline-block;
  width: 3em;
}

.log_table .datasheet div.ear:nth-child(n+2) {
  margin-top: 8px;
}

.log_table .datasheet div.ear span:nth-child(1) {
  display: inline-block;
  width: 2.5em;
}

.log_table .datasheet div.ear span:nth-child(2) {
  display: inline-block;
  width: 4em;
}

.log_table .datasheet td.memo textarea {
  width: 100%;
  height: 9em;
}

.log_table .datasheet input[type="checkbox"] {
  width: 24px;
  height: 24px;
}

.log_table .daysheet th {
  font-size: 12px;
}

.log_table .daysheet th.cat_info img {
  display: block;
  margin-top: 8px;
  width: 100%;
}

.log_table .datasheet th.cat_name {
  white-space: nowrap;
  width: 6.5em;
}

.log_table .datasheet td.weight {
  width: 6.5em;
}

.log_table .datasheet td.weight input {
  width: 100%;
}

.log_table .datasheet th.cat_name div {
  width: 100%;
  overflow: hidden;
}

.medicine_cats {

}

.medicine_cats .medicine_cat {
  float: left;
  width: 240px;
  margin-top: 12px;
}

.medicine_cats .medicine_cat .cat_name {
  margin-bottom: 6px;
}

.medicine_cats .medicine_cat .cat_name img {
  margin-right: 4px;
  width: 64px;
}

.medicine_cats .medicine_cat .term {
  font-size: 82%;
  font-weight: bold;
  color: #888;
  margin-bottom: 3px;
}

.medicine_cats .medicine_cat .treats {

}

.medicine_cats .medicine_cat .free {
  width: 90%;
}

.medicine_cats:after {
  content: ".";
  font-size: 0;
  line-height: 0;
  height: 0;
  display: block;
  clear: both;
  visibility: hidden;
}

/*
.log_table.excreta .datasheet th.cat_name {
  white-space: nowrap;
  width: 10.5em;
}

.log_table.excreta .datasheet td.excreta {
  width: 10.5em;
}

.log_table.excreta .datasheet td.excreta input {
  width: 100%;
}

.log_table.excreta .datasheet th.cat_name div {
  width: 100%;
  overflow: hidden;
}

.log_table.excreta .datasheet div.excreta:nth-child(n+2) {
  margin-top: 4px;
}
*/

.log_table .datasheet th.hour {
  width: 120px;
  padding: 8px 0;
}

.log_table .datasheet td.hour {
  width: 120px;
  padding: 0;
  position: relative;
}

.log_table .datasheet td.hour span {
  position: absolute;
  display: inline-block;
  border: 1px solid #888;
  font-size: 13px;
  z-index: 9999;
}

.log_table .datasheet td.hour span a {
  color: #333;
}

.log_table .datasheet tbody tr {
  height: 60px;
}

.manager-colors {
  margin-bottom: 1em;
  margin-left: 80px;
}

.manager-colors span {
  display: inline-block;
  border: 1px solid #888;
  font-size: 13px;
  padding: 0 3px;
}

@media only screen and (min-width: 1200px) { .container.wide_width { width: 96%; } }
@media only screen and (min-width: 992px)  { .container.wide_width { width: 96%; } }
@media only screen and (min-width: 768px)  { .container.wide_width { width: 96%; } }
