/* index.css ==============================================*/
body.lock {
  overflow: hidden;
}

.join_overlay {
  /*width: 92%;*/
  width: 800px;
  background: rgba(255,255,255,1);
  /*background: linear-gradient( 140deg, #530e1b, #ad2f2f);*/
  border-radius: 2rem;
  padding: 50px 40px 30px;
}

.join_overlay * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.join_overlay .flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.join_overlay .close_window_btn {
  display: inline-block;
  margin:2rem auto 0 auto;
  padding:10px 20px;
  color: #fff;
  font-size: 15px;
  background:#3d1b55;
  border-radius:2rem;
  font-weight: 600;
  letter-spacing: 2px;
	font-family:  "Poppins", 'Noto Sans TC',sans-serif;
}

@media screen and (max-width: 600px) {
  .join_overlay {
    padding: 30px 20px;
  }
  
}
@media screen and (max-width: 450px) {
  .join_overlay {
    padding: 20px;
	  border-radius: 1.25rem;
  }
  
}



/* overlay.css ==============================================*/
.overlay_item {
  cursor: pointer;
}

.overlay_wrap {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100000;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  overflow-y: auto;
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: rgba(68, 44, 6, 0.95);

}
.overlay_wrap.trans {
  opacity: 1;
  visibility: visible;
  -webkit-transform: scale(1);
          transform: scale(1);
}
.overlay_wrap.trans .overlay_content {
  opacity: 1;
}
.overlay_wrap.full > .overlay_close_btn {
  display: block;
  width: 50px;
  height: 50px;
}
.overlay_wrap.full > .overlay_close_btn:before, .overlay_wrap.full > .overlay_close_btn:after {
  background: #fff;
}
.overlay_wrap.in_close > .overlay_close_btn {
  display: none;
}

.overlay_content {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  width: 100%;
  overflow-y: auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s;
  transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s;
  pointer-events: none;
  cursor: default;
}

.overlay_flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 95%;
  min-height: 100vh;
  padding: 40px 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
	margin: 0 auto;
}

.overlay_box {
  display: none;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}
.overlay_box.trans {
  display: block;
}

.overlay_close_btn {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 30;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  -webkit-transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: url("../img/close_btn.png") no-repeat center center;
  background-size: contain;
}
.overlay_close_btn:hover {
  -webkit-transform: rotateZ(180deg) scale(1.2);
          transform: rotateZ(180deg) scale(1.2);
}


/*20260807 認識村聲---------------------------------------------------------------------------------------------------------------------------*/

#overlay_wrap .about-course-info {
  display:  block;
  width: 100%;
  letter-spacing: 1px;
  color: #333;
  font-family: "Noto Serif TC", serif;

}
.about-course-info h3{
	display: block;
  width: 100%;
  font-weight: 700;
  color: #e68f3a;
  font-size: 1.75rem;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 1px;
  margin: .5rem 0 1rem 0;
}
.course-main{
	display: flex;
  flex-direction: row; /* 水平排列 */
  /*align-items: center; 讓圖片與文字垂直居中對齊 */
  gap: 1.5rem; /* 設定兩者間距 */	
}
.course-main-photo {
  width: 50%;
}

.course-main-photo img {
  width: 100%;  
  height: auto;
  display: block;
}

.course-main-txt {
  width: 50%; 
}
.course-main-txt p{
	font-size: 1.25rem;
	color: #333;
	line-height: 1.5;
	letter-spacing: 1px;
  font-weight: 700;
	text-align: justify;
}
.course-cont{
	display: block;
	width: 100%;
	overflow: hidden;
	margin-top: 1.5rem;
}
.course-cont-item h4 {
  display: block;
  float: left;
  padding: 0.35rem 1rem;
  width: 18%;
  margin-right: 18px;
  background: #fff;
  border: 2px solid #e68f3a;
  border-radius: 2rem;
  color: #e68f3a;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  box-sizing: border-box;
}

.course-cont-item h4 i{
	padding-right: .25rem;
}
.course-cont-words{
	display: block;
	float: left;
	overflow: hidden;
	width: calc(81.999% - 21px);
}
.course-cont-words{
	display: block;
	float: left;
	overflow: hidden;
	width: calc(81.999% - 21px);
}
.course-cont-words p{
	font-size: 1.125rem;
	color: #333;
	line-height: 1.5;
	letter-spacing: 1px;
  font-weight: 500;
	text-align: justify;
	padding-bottom: 1.25rem;
}
.course-cont-words p a{
	color: #333;
	text-decoration: underline;
}
.course-cont-words p a:hover{
	color: #e68f3a;
	text-decoration: underline;
}
.course-cont-words > .course-time{
	color: #e68f3a;font-weight: 700;
}


@media screen and (max-width:820px) {
.join_overlay {
  width: 92%;
  max-width: 720px;
}
.course-main-txt p {
  font-size: 1.125rem;
}
.course-cont-item h4 {
  width: 20%;}
.course-cont-words {
  width: calc(79.999% - 21px);
}
	
}
@media screen and (max-width: 500px) {
  .overlay_close_btn {
    right: 10px;
    top: 10px;
    width: 35px;
    height: 35px;
  }
.overlay_flex {
  width: 95%;
  margin:0 auto;
}
.course-main {
  display: block;
	}
.course-main-photo {
  width: 100%;
}	
.course-main-txt {
	display: block;
  width: 100%;
	overflow: hidden;
	margin-top: 1rem;
}	
.course-cont {
  display: block;
  width: 100%;
  overflow: hidden;
  margin-top: 1.25rem;
}	
.course-cont-item h4 {
  display: block;
  float: none;
  padding: 0.5rem 1rem;
  width: 100%;
  margin-right: 0;
	margin-bottom: .5rem;
  background: #fff;
	border: none;
	border-radius: 0rem;
  color: #e68f3a;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
	border-bottom: 1px solid #e68f3a;
}	
.course-cont-words {
  display: block;
  float: none;
  overflow: hidden;
  width: 100%;
}	
.course-cont-words p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
}	
.course-cont-words > .course-time {
  font-size: 1.4rem;
  text-align: center;
}	
.course-close {
  margin-top: 1rem;
}	
} 