* {
  margin: 0%;
  padding: 0;
}

a {
  text-decoration: none;
}

a:link {
  color: #666;
}

a:visited {
  color: #156;
}

a:hover {
  color: #a55;
  font-weight: bold;
}

a:active {
  color: #88c;
}

/* 모달창  */
.modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 3;
  display: none;
}
.modal .modal_inner {
  position: absolute;
  width: 500px;
  height: 500px;
  background-color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal .modal_inner .motitle {
  text-align: center;
  padding: 20px;
  font-size: 1.3em;
  font-weight: bold;
}
.modal .modal_inner .mocon {
  padding: 20px;
  line-height: 2em;
}

.modal .modal_inner .close {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 100px;
  height: 50px;
  background-color: dodgerblue;
  border: 0;
  border-radius: 15px;
  color: #fff;
  cursor: pointer;
}
section {
  margin: 50px auto;
  width: 500px;
  height: 200px;
}

.mt500 {
  margin-top: 0px;
}

.red {
  color: #f00;
  font-weight: bold;
}

h2 {
  font-size: 18px;
  width: 100px;
  height: 40px;
  line-height: 40px;
  background: dodgerblue;
  border-radius: 10px 10px 0 0;
  text-align: center;
  font-weight: normal;
  cursor: pointer;
  color: #fff;
  text-shadow: 2px 2px 1px #111;
}

ul,
li {
  list-style: none;
}

li {
  height: 40px;
  line-height: 40px;
  position: relative;
}

li span.day {
  position: absolute;
  right: 10px;
}

/*
ul li span.ellip {
display: inline-block;
white-space: nowrap;    줄바꿈을 하지 않는다.  
width: 80%;
overflow: hidden;
text-overflow: ellipsis;
}
*/

ul li span.ellip {
  display: inline-block;
  width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preclass {
  margin-top: 100px;
  width: 1000px;
  font-size: 22px;
}
.w80 {
  width: 1000px;
  margin: 100px auto 30px auto;
}

p.a {
  margin: 0 auto;
  width: 200px;
  word-wrap: normal;
  border: 1px solid #f00;
  /* word-wrap: break-word; */
}

.fbp {
  display: block;
  font-size: 20px;
  font-weight: bold;
  border: 3px solid #ccc;
  height: 30px;
  padding: 15px;
}

#topbt {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 100px;
  height: 50px;
  background-color: dodgerblue;
  color: #fff;
  border: 0;
  font-size: 1.3rem;
  display: none;
  cursor: pointer;
}
