/* Modal样式 */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  margin-top: 20px;
  margin-bottom: 20px;
}
.modal img {
  max-width: 100%;
  border: 0 none;
}

/* modal-content */
.modal-content {
  background-color: #006699;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #fff;
  border-radius: 10px;
}

/* modal-content-1 */
.modal-content-1 {
  background-image: url("../images/bg-popup.jpg");
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #660099;
  border-radius: 10px;
}

/* Select样式 */
.select-control {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #660066;
  background-color: #ff9933;
}

.activity-button {
  background-color: #cc99ff;
  color: #cc00ff;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 10px;
  cursor: pointer;
  border-radius: 5px;
}

.activity-button:hover {
  background-color: #ccccff;
}

.container {
  text-align: center;
}

#outer-cont {
  position: relative;
  top: 20px;
  margin-bottom: 30px;
  background-color: #ff6501;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 400px;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
}
#inner-cont {
  position: absolute;
  width: 100%;
  top: 150px;
}
#outer {
  width: 310px;
  max-width: 310px;
  height: 310px;
  margin: 0 auto;
}
#inner {
  width: 112px;
  max-width: 112px;
  height: 142px;
  margin: 0 auto;
  cursor: pointer;
}
#outer img,
#inner img {
  display: block;
  margin: 0 auto;
}

@media only screen and (max-width: 768px) {
  .container {
    text-align: center;
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

.border-event img {
  width: 90px;
  height: 85px;
  margin-top: 20px;
}

.event-exit {
  padding: 10px 20px;
  background-color: #ff6347;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.close {
  font-size: larger;
}
