div {
  margin: 10px 0px;
}

table {
  text-align: center;
  /* border-collapse: collapse; */
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid #000000;
}

th,
td {
  white-space: nowrap;
  padding: 5px;
  border: 1px solid #d4d4d4;
  cursor: default;
}

th {
  border-right: 1px solid #d4d4d4;
  border-left: 1px solid #d4d4d4;
}

footer {
  text-align: center;
  font-size: 10px;
}

.th-head,
.th-rank,
.th-name-cell,
.td-name-cell {
  padding: 5px 10px;
}

.th-seq-cell,
.th-head,
.th-rank {
  border-bottom: 2px solid #000000;
}

.th-name-cell,
.th-seq-cell,
.td-name-cell,
.td-seq-cell {
  border-right: 2px solid #000000;
}

.th-name-cell,
.th-header-title-cell,
.th-header-interval-cell {
  border-bottom: 2px solid #000000;
  position: sticky;
  top: 0px;
  z-index: 1;
}

.th-name-cell,
.th-header-title-cell {
  background-color: #fff;
}

.th-name-cell {
  left: 0px;
  z-index: 2;
}

.td-name-cell {
  background-color: #fff;
  position: sticky;
  left: 0px;
}

.cell-div,
.cell-div-limit {
  margin: 0px;
}

.cell-div-limit,
.limit-card-cell {
  background-color: #92d050;
}

.twilight-card-cell {
  background-color: #5000c0;
  color: #ffffff;
}

.mysongs-card-cell {
  background-color: #bc84cf;
  color: #ffffff;
}

.parallel-card-cell {
  background-color: #43F8ed;
}

.event-card-cell {
  background-color: #00b0f0;
}

.gradeFes-card-cell {
  background-color: #cc85ff;
}

.campaign-card-cell {
  background-color: #ffc000;
}

.other-card-cell {
  background-color: #ff9933;
}

.now-interval {
  color: white;
  font-weight: bold;
  background-color: #ff0000;
}

.th-header-interval-cell,
.pre-interval {
  background-color: #ffff00;
}

.PButton,
.SButton,
.ALLbutton,
.DeactivateButton {
  border: none;
  color: white;
  width: 130px;
  height: 50px;
  font-weight: bold;
  padding: 15px 32px;
  margin: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}

.DeactivateButton{
  background-color: #666666;
}

.DeactivateButton:hover{
  background-color: #858585;
}


.PButton {
  background-color: #ff62a6;
}

.PButton:hover {
  background-color: #ff74b6;
}

.SButton {
  background-color: #4ca0f2;
}

.SButton:hover {
  background-color: #5cb4fe;
}

.ALLbutton {
  background: linear-gradient(to bottom right, #ff62a6 50%, #4ca0f2 50%);
}

.ALLbutton:hover {
  background: linear-gradient(to bottom right, #ff74b6 50%, #5cb4fe 50%);
}

.ResetButton,
.DatePresetButton {
  background-color: #e7e7e7;
  border: 1px solid;
  color: black;
  width: 45px;
  height: 21px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  cursor: pointer;
}

.DatePresetButton {
  margin: 0px 3px;
}

.ResetButton:hover,
.DatePresetButton:hover {
  background-color: #d0d0d0;
}

.Capturebutton {
  background-color: #333;
  border: none;
  color: white;
  width: 120px;
  white-space: normal;
  height: 70px;
  font-weight: bold;
  padding: 15px 15px;
  margin: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}

.Capturebutton:hover {
  background-color: #555;
}

#preview {
  position: absolute;
  border: 1px solid #ccc;
  background: #333;
  padding: 5px;
  display: none;
  color: #fff;
  z-index: 100;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/*****************************************/

/* The container */
.container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #ccc;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #aaa;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #2196f3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
