.main{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
}
.img_box {
  overflow: hidden;
}
.img_box img{
  width: 100%;
  transition: 0.2s transform ease-out;
}
a:hover .img_box img{
  transform: scale(1.04);
}
.main_box {
  border: 1px solid #E3E5E8;
  border-radius: 10px;
  position: relative;
  margin-top: 15px;
  background-color: #fff;
}
.main .main_left{
  width: calc(66.6666% - 15px);
  margin-right: 30px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}
.main .main_right{
  width: calc(33.3333% - 15px);
}
.main .main_right .main_box:first-child{
  margin-top: 0;
}
.main_left .main_box{
  padding: 15px 20px 20px;
}
.main_right .main_box{
  padding: 10px 20px 12px;
}
.main_right .main_news{
  padding: 10px 20px 25px;
}
.main_left .main_box .tit{
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 30px;
  margin-bottom: 15px;
}
.main_right .main_box .tit{
  font-size: 1.125rem;
  line-height: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e5e5;
}
.main .btn_more, .main_btn_box a::after{
  width: 30px;
  height: 30px;
  border: 1px solid #eee;
  border-radius: 50%;
  background-image: url(../img/common/chevronright_d.svg);
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  transition: 0.2s box-shadow ease-out;
  position: absolute;
  right: 20px;
  background-color: #fff;
}
.main .main_left .btn_more{
  top: 15px;
}
.main .main_right .btn_more{
  top: 10px;
}
.main .btn_more:hover{
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}
.main .btn_more span{
  text-indent: -9999em;
  font-size: 0;
  color: #fff;
}

/* 제목 선택 */
.tit_box{
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  gap: 20px;
}
.main_left .tit_box .tit{
  margin-bottom: 0;
}
.tit_slect {
  display: flex;
  gap: 15px;
}
.tit_slect a{
  color: #999;
  line-height: 24px;
}
.tit_slect .active, .tit_slect a:hover{
  color: var(--link-color2);
  position: relative;
}
.tit_slect .active::before{
  content: '';
  width: 100%;
  height: 1px;
  background-color: var(--link-color2);
  position: absolute;
  bottom: 0;
  left: 0;
}

/* 메인 배너*/
.main_banner {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}
.main_banner a{
  display: block;
  line-height: 0;
}
.main_banner img{
  width: 100%;
  display: block;
}
.main_banner .bx_controller {
  position: absolute;
  display: flex;
  align-items: center;
  bottom: 10px;
  right: 12px;
  font-size: 0;
  z-index: 11;
}
.main_banner .bx_controller .swiper-pagination {
  display: inline-block;
  position: static;
  width: auto;
  vertical-align: top;
}
.main_banner .swiper-pagination-bullet, .main2_banner .swiper-pagination-bullet{
  background-color: #fff;
  margin: 0 3px !important;
}
.main_banner .swiper-pagination-bullet-active, .main2_banner .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 4px;
  opacity: 1;
}
.main_banner .playPause{
  border: none;
  background-color: transparent;
}
.main_banner .playPause::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background-size:  16px;
  background-repeat: no-repeat;
  background-position: center;
}
.main_banner  .playPause:before {
  background-image: url(../img/common/pause.svg);
}
.main_banner  .play.playPause:before{
  background-size:  14px;
  background-image: url(../img/common/playfill.svg);
}
/* 텍스트 스타일 */
.main .list_text{
  display: block;
  margin-top: 10px;
}
.main .list_text .list_item{
  padding: 5px 0;
}
.main .list_text a{
  display: block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  position: relative;
  padding-left: 12px;
}
.main .list_text .list_item a:hover{
  color: var(--link-color2);
}
.main .list_text .list_item a::before{
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--link-color2);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}
  /* 영상 리스트 */
.main_left .main_broadcast{
  padding-bottom: 27px;
}
.main .list_video {
  display: flex;
  flex-wrap: wrap;  
  column-gap: 20px;
  row-gap: 25px;
}
.main .list_video .list_item{
  width: calc(33.3333% - 13.3333px);
}
.main .list_video .img_box, .icon_video{
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.main .list_video .img_box::before, .icon_video::before{
  content: '';
  width: 30px;
  height: 30px;
  background-color: rgba(0, 0, 0, 0.7);
  background-image: url(../img/common/playfill.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px;
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 50%;
  z-index: 2;
}
.main .list_video p{
  margin-top: 10px;
}
.main .list_video a:hover p{
  color: var(--link-color2);
}
/* 사진 이미지 */
.main .main_mission{
  width: 100%;
}
.list_img {
  display: flex;
  gap: 20px;
}
.list_img .list_item{
  width: calc(33.333% - 13.3333px);
}
.list_img a{
  display: block;
}
.list_img a:hover p{
  color: var(--link-color2);
}
.list_img .img_box {
  border-radius: 10px;
}
.list_img p{
  margin-top: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.list_img span{
  color: #999;
  font-size: 0.875rem;
}
  /* 왼쪽 포토 이미지 */
.list_photo .list_item{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  margin-top: 10px;
  align-items: center;
}
.list_photo .gall_text_href{
  width: calc(100% - 130px);
}
.list_photo .gall_text_href .bo_tit{
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list_photo .img_box{
  width: 110px;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
}
.list_photo a:hover .bo_tit{
  color: var(--link-color2);
}
.list_photo .gall_info{
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.875rem;
}
.list_photo .gall_info .ca_name{
  padding: 1px 4px;
  background-color: #888;
  color: #fff;
  border-radius: 3px;
}
.list_photo .gall_info .gall_date{
  color: #888;
}

/* 배너2 */
.main2_banner{
  margin-top: 15px;
  border-radius: 5px;
  overflow: hidden;
}
.main2_banner img{
  width: 100%;
}
.main2_banner .swiper-horizontal>.swiper-pagination-bullets, .main2_banner .swiper-pagination-bullets.swiper-pagination-horizontal, .main2_banner .swiper-pagination-custom, .main2_banner .swiper-pagination-fraction{
  width: auto;
  padding-left: 10px;
}
/* 배너 버튼식 */
.main_btn_box{
  width: 100%;
}
.main_btn_box a{
  margin-top: 15px;
  border-radius: 10px;
  border: 1px solid #E3E5E8;
  font-size: 1.25rem;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  position: relative;
  line-height: 30px;
  transition: 0.2s box-shadow ease-out;
  background-color: #fff;
}
.main_btn_box a:hover{
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.125);
}
.main_btn_box i{
  width: 30px;
  height: 30px;
  display: inline-block;
  margin-right: 8px;
  background-size: 28px;
  background-repeat: no-repeat;
}
.main_btn_box a::after{
  content:'';
  top: 15px;
}
.main_churchaddress a{
  border-color: #E4ECEF;
  background-color: #F9FDFF;
}
.main_churchaddress i{
  background-image: url(../img/common/church.svg);
}

.main_youtbe  a{
  border-color: #F0E5E5;
  background-color: #FFF9F9;
}
.main_youtbe i{
  background-image: url(../img/common/youtube_c.svg);
}
.main_address  i{
  background-image: url(../img/common/icon_address.svg);
  background-size: 30px;
}

/* 안교교과 */
.main_sspm{
  display: flex;
  gap: 20px;
  width: calc(66.6666% - 7.5px);
  margin-right: 15px;
}
.main_sspm .img_box{
  width: 140px;
  position: relative;
  margin-top: 5px;
}
.main_sspm .text_box{
  width: calc(100% - 165px);
}
.main_sspm .img_box img{
  width: 132px;
  height: 192px;
  position: absolute;
  top: 0;
  z-index: 4;
}
.main_sspm .img_box span{
  width: 132px;
  height: 192px;
  border: 1px solid #ddd;
  background-color: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: 3;
}
.main_sspm .img_box span + span{
  top: 4px;
  left: 4px;
  z-index: 2;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.10);
}

/* 신학 */
.main_theology{
  width: calc(33.3333% - 7.5px);
}
/* 자유게시판 */
.main_free, .main_prayer{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.main_free .tit, .main_prayer .tit{
  width: 100%;
}
.main_free .list_img_text, .main_prayer .list_img_text{
  width: calc(55% - 15px);
}
.main_free .list_text, .main_prayer .list_text{
  width: calc(45% - 15px);
  margin-top: 0;
  margin-left: 30px;
}
.main_free .list_img_text .list_item+.list_item{
  margin-top: 20px;
}
.main_free .list_img_text a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 1.125rem;
}
.main_free .img_box{
  width: 170px;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.2s transform ease-out;
}
.main_free a:hover .img_box img{
  transform: scale(1.1);
}
.main_free .img_box + p{
  width: calc(100% - 185px);
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.main_free a:hover .img_box + p{
  color: var(--link-color2);
}
/* 기도력 */
.main_prayer .list_img_text{
  background-color: #f4f4f4;
  border-radius: 10px;
  text-align: center;
}
.main_prayer .list_img_text a{
  display: block;
}
.main_prayer .list_img_text dl{
  margin-top: 15px;
}
/*.main_prayer .list_img_text dt{
  background-image: url(../img/main/icon_volume.svg);
  background-repeat: no-repeat;
  background-position: center right 20px;
}*/
.main_prayer .list_img_text dt span{
  background-color: var(--link-color2);
  color: #fff;
  width: 160px;
  border-radius: 20px;
  display: inline-block;
}
.main_prayer .list_img_text dd{
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 10px;
  padding: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 성경공부, 월간지 */
.main_img_list{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.main_img_list .main_box {
  width: calc(50% - 7.5px);
  padding-bottom: 5px;
}
.main_img_list .main_study{
  margin-right: 15px;
}
.main_img_list .img_box{
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.main_img_list .img_box img{
  height: 140%;
}
.main_img_list .img_box p{
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 60.42%);
  padding: 8px 15px;
}
.main_img_list a:hover .img_box p{
  color: #fff;
}
.main_img_list .list_img{
  padding-bottom: 40px;
}
.main_img_list .swiper-pagination-bullet-active {
  background: var(--link-color2);
}

/*.main_monthly .swiper-slide:nth-of-type(1) {
	display: none !important;
}*/

@media (max-width:1024px){
  .main .main_left {
    width: calc(66.6666% - 10px);
    margin-right: 20px;    
  }
  .main .main_right {
    width: calc(33.3333% - 10px);
  }
}
@media (max-width:992px){
  #container{
    margin-bottom: 0;
  }
  #container .main.inner{
    padding-top: 75px;
    padding-bottom: 15px;
  }
  /* 배너 */
  .main_banner{
    order: 0;
  }
  /* 소식 */
  .main_news{
    order: 1;
  }
  /* 방송 */
  .main_broadcast {
    order: 2;
  }
  /* 안교교과 */
  .main_sspm{
    order: 3;
  }
  /* 자유 */
  .main_free {
    order: 4;
  }
  /* 기도력 */
  .main_prayer{
    order: 6;
  }
  /* 선교  성경공부 월간지*/
  .main_img_list {
    order: 7;
  }
  /* 장터 / 구인 / 구직 */
  .main_marketplace{
    order: 8;
	order: 16;
  }
  /* 여성광장 */
  .main_women{
    order: 9;
  }
  /* 배너2 */
  .main2_banner {
    order: 10;
  }
  /* 선교게시판 */
  .main_mission {
    order: 11;
  }
  .main_churchaddress, .main_youtbe  {
    order: 11;
  }
  /* 글동네 */
  .main_town{
    order: 12;    
  }
  /* 신학 */
  .main_theology {
    order: 13;
  }
  /* 칼럼 */
  .main_column{
    order: 13;
  }

  /* 글방 */
  .main_room{
    order: 14;
  }
  /* 사역자 주소록 */
  .main_address {
    order: 15;
  }

  .main_box{
    padding: 15px 20px 20px;
    width: 100%;
  }
  .main_box .tit{
    font-size: 1.375rem;
    margin-bottom: 15px;
  }
  .main_broadcast .tit_box .tit{
    margin-bottom: 0;
  }
  .main .btn_more{
    top: 15px;
  }
  .fontSize_3 .main .btn_more, .fontSize_3 .main_btn_box a::after{
    width: 40px;
    height: 40px;
    background-size: 22px;
  }
  .fontSize_3 .main_btn_box a::after{
    top: 9px;
  }
  .fontSize_2 .main .btn_more, .fontSize_2 .main_btn_box a::after{
    width: 34px;
    height: 34px;
    background-size: 20px;
  }
  .fontSize_2 .main_btn_box a::after{
    top: 12px;
  }
    /* 왼쪽 포토 이미지 */
  .list_photo .list_item{
    flex-direction: row-reverse;
  }
  .main_address{
    display: flex;
  }
  .main_marketplace,  .main_women, .main_churchaddress, .main_youtbe,
  .main_town, .main_theology, .main_column, .main_room, .main_address a {
    width: calc(50% - 7.5px);
  }
  .main_marketplace, .main_churchaddress, .main_town, .main_column, .main_address a:first-child{
    margin-right: 15px;
  }
}
@media (max-width:575px){
  #container .main.inner{
    padding: 0;
    padding-top: 64px;
    background-color: #eee;
  }
  .main_banner{
    border-radius: 0;
  }
  .main_box{
    border: none;
    border-radius: 0;
    margin-top: 10px;
  }
  .main_box .tit {
    font-size: 1.25rem;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
  }
  .list_photo .list_item{
    flex-direction: row;
  }
  .tit_box{
    flex-direction: column;
  }
  .main_broadcast .tit_box .tit{
    width: 100%;
  }
  .tit_slect{
    gap: 7px;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
  }
  .tit_slect a{
    font-size: 0.875rem;
  }
  .main .list_video{
    column-gap: 10px;
    row-gap: 20px;
  }
  .main .list_video .list_item{
    width: calc(50% -  5px);
  }
  .main_sspm{
    margin-right: 0;
  }
  .main_free .list_img_text, .main_prayer .list_img_text{
    width: 100%;
  }
  .main_free .list_text, .main_prayer .list_text{
    width: 100%;
    margin-left: 0;
  }
  .main_free .list_img_text .list_item+.list_item {
    margin-bottom: 10px;
    margin-top: 10px;
  }
  .main_free .img_box{
    width: 140px;
  }
  .main_free .img_box + p {
    width: calc(100% - 155px);
  }
  .main_prayer .list_img_text dl{
    margin-top: 10px;
  }
  .main_prayer .list_img_text dd{
    margin-bottom: 10px;
    font-size: 1.375rem;
  }
  .main_prayer .list_img_text dt span{
    font-size: 0.875rem;
    width: 120px;
  }
  .main_box.main_prayer .tit{
    margin-bottom: 0;
    border-bottom: none;
  }
  .main_prayer .list_text{
    margin-top: 10px;
  }
  .main_marketplace, .main_churchaddress, .main_town, .main_column{
    margin-right: 0;
  }
  .main_marketplace, .main_women, .main_churchaddress, .main_youtbe, .main_town, .main_theology, .main_column, .main_room, .main_address a{
    width: 100%;
  }
  .main_btn_box a{
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 1.125rem;
  }
  .main_address{
    flex-direction: column;
  }
  .main_address {
    padding: 10px;
    gap: 10px;
  }
  .main_address a{
    margin: 0;
  }
  .main_img_list .main_box{
    width: 100%;
  }
  .main_img_list .tit{
    margin-bottom: 5px;
    border-bottom: none;
  }
  .main_mission .list_img{
    flex-direction: column;
  }
  .main2_banner{
    border-radius: 0;
    margin-top: 10px;
  }
  .list_img .list_item{
    width: 100%;
  }
  .main_mission .list_img a{
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
  }
  .main_mission .list_img .img_box{
    width: 120px;
  }
  .list_img .text_box{
    width: calc(100% - 135px);
  }
  .main_sspm{
    display: block;
    position: relative;
  }
  .main_sspm .list_text{
    padding-left: 110px;
  }  
  .main_sspm .img_box{
    width: 105px;
    height: 145px;
    overflow: visible;
    position: absolute;
    bottom: 20px;
  }
  .fontSize_2 .main_sspm .img_box{
    bottom: 40px;
  }
  .fontSize_3 .main_sspm .img_box{
    bottom: 60px;
  }
  .main_sspm .text_box {
    width: 100%;
  }
  .main_sspm .img_box img{
    width: 92px;
    height: auto;
  }
  .main_sspm .img_box span{
    width: 92px;
    height: 134px;
  }
  .main .list_video .img_box::before, .icon_video::before{
    width: 20px;
    height: 20px;
    background-size: 16px;
    left: 5px;
    bottom: 5px;
  }
}