#home .section1 {
  height: 275px;
  background: gainsboro;
  padding: 20px;
  border-radius: 6px;
}
#calendar {
  flex-direction: column;
  display: flex;
  align-items: center;
  margin: auto;
  border-radius: 5px;
}
#calendar>.top {
  padding: 10px;
  display: flex;
  width: 100%;
}
#calendar>.top>p:first-child {
  margin-right: auto;
  cursor: pointer;
}
#calendar>.top>p:last-child {
  margin-left: auto;
  cursor: pointer;
}
#calendar>.top>div {
  display: flex;
}
#calendar>.top>div *:nth-child(odd){
  flex: 1;
}
#calendar>.top>div:nth-child(1) * {
  background: transparent;
  font-size: 35px;
  border: 0;
}
#calendar>.top>div:nth-child(2) * {
  background: transparent;
  font-size: 25px;
  border: 0;
  text-align: center;
}
#calendar>.top p {
  font-size: 30px;
  margin: 0;
  font-weight: bold;
}
#calendar .semianr_date{
  border: 2px solid red;
  border-radius: 50%;
  background: white;
  cursor: pointer;
}
#Month {
  flex: 1;
}
#calendar_table td {
  cursor: context-menu;
  border: 3px solid transparent;
}
#calendar_table td:nth-child(1) {
  color: red;
}
#calendar_table td:nth-child(7) {
  color: blue;
}
#seminar_date {
  background: #8fb5c7;
  background: white;
  border-radius: 50%;
}
#calendar_table td {
  text-align: center;
  font-size: 12px;
}
#calendar_table {
  margin : 0 5px;
}
#calendar_table th,#calendar_table td {
  padding: 4px 5.5px;
}
#seminar_detail_content {
  flex-direction: column;
  margin-top: 10px;
  flex: 1;
}

#seminar_detail_content p:not(:last-child) {
  flex: 1;
}
.cal_detail {
  height: calc(100% - 40px);
  flex: 1;
  margin: 20px;
  margin-right: 0;
  background: white;
  padding: 20px;
  border: 1px solid;
  border-radius: 5px;
  position: relative;
}
.cal_detail,.cal_content{
  display: flex;
  flex-direction: column;
}
.semi_date *,.cal_content, .cal_title{
  flex: 1;
}
.cal_title{
  margin-top: 0;
}
p.semi_detail_btn {
  margin: 0 0 0 auto;
  padding: 9px;
  width: 80px;
  text-align: center;
  background: #f0c230;
  color: white;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  border : 0;
  border-bottom: 4px solid #d7aa26;
  border-right: 4px solid #d7aa26;
}
p.semi_detail_btn:focus {
  outline: none;
}
p.semi_detail_btn:active {
  border : 0;
  background: #E2B73E;
  border-top: 2px solid #d7aa26;
  border-left: 2px solid #d7aa26;
}

@media screen and (max-width: 800px) {
  .cal_detail {
    height: 300px;
  }
  #home .section1{
    height: auto;
  }
  .semi_date {
    height: 100%;
  }
  .semi_date p{
    margin: auto;
  }
  #calendar .top{
    pointer-events: none;
  }
}
