/*
  html, body {
    font-size: 14px;
  }
*/
  #external-events {
    position: fixed;
    z-index: 2;
    top: 20px;
    left: 20px;
    width: 150px;
    padding: 0 10px;
    border: 1px solid #ccc;
    background: #eee;
  }

  .demo-topbar + #external-events { /* will get stripped out */
    top: 60px;
  }

  #external-events .fc-event {
    margin: 1em 0;
    cursor: move;
  }

  #container {
    position: relative;
    z-index: 1;
/*     margin-left: 200px; */
  }

  #calendar {
    max-width: 100%;
    margin: 20px auto;
  }
  
  
.modal.fade {
    top:40px;
}


/* calendar */


table.calendar{
    width: 100%;border-collapse: separate;
    border-spacing: 2px;
}

table.calendar tr{
    display:table-row;
}

table.calendar th, table.calendar td{
    padding: 8px;
    background-color: #FFF;
    text-align: center;
    border: 1px solid #CCC;
    display: table-cell;
}

/* 行の最初のtdは日曜日なため赤く */
table.calendar th:first-of-type, table.calendar td:first-of-type{
    background-color: #ffefef;
    color: #FF0000;
    font-weight: bold;
}

/* 行の最後のtdは土曜日なため青く */
table.calendar th:last-of-type, table.calendar td:last-of-type{
    background-color: #ededff;
    color: #0000FF;
    font-weight: bold;
}

/* 今日の日付 */
table.calendar td.today{
    background-color: #fbffa3;
    font-weight: bold;
}


@media only screen and (max-width: 600px) {

    div.fc-timeGridWeek-view th.fc-day-header {
      transform: rotate(-45deg);
      line-height: 49px;
    }
}

