
/* 메인공통 */
#main h2 a{font-family: 'NanumSquare'; font-weight: 700; color:#333;  font-size: 1.2em;margin-bottom: 20px; display: inline-block}
#main h3{font-family: 'NanumSquare'; font-weight: 700; color:#c03322; font-size: 1.2em;}
#main section:nth-child(n+2){padding: 50px 0}
.more, .more::before{-moz-transition:color .3s ease;-o-transition:color .3s ease;-ms-transition:color .3s ease;-webkit-transition:color .3s ease;transition:color .3s ease;
-moz-transition: background-color .3s ease;-o-transition: background-color .3s ease;-ms-transition: background-color .3s ease;-webkit-transition: background-color .3s ease;transition: background-color .3s ease;}

/* 메인 - 슬라이드 */
.slide-wrap > div{height: 650px; position: relative; padding-bottom: 140px; background-size: cover; background-position: center}
.slide-wrap {color: #fff;  font-family: 'NanumSquare';}
.slide-wrap .text01{ position: relative; top: 50%; transform: translateY(-50%)}
.slide-wrap .text01 .title{font-size: 4em; margin-bottom: 15px; text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3)}
.slide-wrap .text01 .title a{color:#fff}
.slide-wrap .text01 .text{font-size: 1.1em;padding-left: 12px; line-height: 160%; text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.3)}
.slide-wrap .text02{  position: absolute; bottom: 0px; width: 100%; height: 140px; margin-bottom: 40px ; z-index:1 ;}
.slide-wrap .text02 .container{display: table;vertical-align: middle;height: 140px;background:rgba(255, 255, 255, 0.9); padding: 0 130px;  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3) ; }
.slide-wrap .text02 .title{font-size: 1.6em;  margin-bottom: 10px; color:#c03322; font-weight: 700}
.slide-wrap .text02 .text{font-family: 'NanumGothic'; color: #333; max-height:80px; font-weight: 300; line-height: 160%; overflow-y: auto; padding-left: 4px; font-weight: 500 }
.slide-wrap .text02 .text li{padding-left: 15px; position: relative;}
.slide-wrap .text02 .text li::after{content: ""; width: 6px; height: 6px; border-radius: 10px; background: #696975; display: inline; position: absolute; top: 9px; left: 0;  }

.bx-controls{width: 100%; max-width: 1200px; height: 500px; position: absolute; margin: 0 auto; text-align: center; top: 100px; left: 50%; transform: translateX(-50%); padding-top:500px;z-index:100 ; }

.bx-controls-direction{position: relative;}
.bx-controls-auto{display: inline-block; vertical-align: bottom ;  margin-right:15px; position: relative; top: 117px }
.bx-default-pager{display: inline-block ; vertical-align: bottom;position: relative; top:120px;}
.bx-pager-item {display: inline-block ;}
.bx-pager-item a{width: 15px; height: 15px; border-radius: 10px; background:rgba(255, 255, 255, 0.8) ; text-indent: -9999px; display: inline-block; margin-right:10px; text-align: left }
.bx-pager-item a.active{width: 30px;background:rgba(255, 255, 255, 1) ;}

.bx-controls .bx-next, .bx-controls .bx-prev{  width: 130px; height: 140px; display: block;  text-align: center; position: absolute; bottom: 10px; left: 0; padding-top: 40px;top:-30px; }
.bx-controls .bx-next::before, .bx-controls .bx-prev::before{display: inline-block; font-family: 'Font Awesome 5 Free';  font-weight: 900; font-size: 55px; color: #c03322 ; opacity: 0.5; vertical-align: middle;
-moz-transition:color .3s ease;-o-transition:color .3s ease;-ms-transition:color .3s ease;-webkit-transition:color .3s ease;transition:color .3s ease;}
.bx-controls .bx-next:hover::before, .bx-controls .bx-prev:hover::before{ opacity: 1;}
.bx-controls .bx-next{right: 0; left: auto;}
.bx-controls .bx-next::before{content: "\f054"; }
.bx-controls .bx-prev::before{content: "\f053"; }
.bx-controls .bx-start::before, .bx-controls .bx-stop::before{display: block; font-family: 'Font Awesome 5 Free';  font-weight: 900; font-size: 15px; color:rgba(255, 255, 255, 0.8) }
.bx-controls .bx-start::before{content: "\f04b"; }
.bx-controls .bx-stop::before{content: "\f04d";  }


/* 메인 - 공지사항, 주보안내 */
.main-wrap01{ background:#f2f2f7 ;}
.main-wrap01 h2{}
.main-wrap01 .more{display: block; position: absolute; top: 0px; right: 10px;}
.main-wrap01 .more::before{content: "\f067"; display: block; font-family: 'Font Awesome 5 Free';  font-weight: 900; font-size: 25px; color:#c03322; opacity: 0.3; }
.main-wrap01 .more:hover::before{ opacity: 0.8;}
.notice {}
.notice ul{}
.notice ul li{ position: relative;}
.notice ul li a{display: block; margin-bottom: 10px; }
.notice ul li a:hover p{color: #000;  font-weight: 600; }
.notice ul li a p{display: inline-block; padding-right:90px; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notice ul li a span{font-size: 0.9em; color: #777; display:inline-block; position: absolute; right: 0; top: 1px; }

.weekly h2{padding-left:10px ; }
.weekly ul{ width: 100%;display: block;}
.weekly li{display: table; width: 50%; float: left;  text-align: left; padding-left:10px ; margin-bottom: 10px;}
.weekly li a{display: table-cell; width: 100%;   background: url(../img/main-icon.png) no-repeat right bottom #fff ; height:70px;  vertical-align: middle; padding-left:20px ; }
.weekly li a:hover{border-color: #aaa}
.weekly li .data{font-size: 1.1em; font-weight:700;    font-family: 'NanumSquare';  display: inline-block;  color:#c03322; vertical-align: top;}
.weekly li .title{  display: inline-block;  vertical-align: top; margin-left: 10px; padding:0 10px; word-break: keep-all}
.weekly li .data span, .weekly li .title span{ display: table-cell;width: 100%;   }


/* 메인 - 미사시간, 성사시간 */
#main section.main-wrap02{  }
#main section.main-wrap02 h2{height: 100%;  display: table-cell; margin: 0; vertical-align: top; width: 15%;}
#main section.main-wrap02 h2 a{ color: #fff; display: table; width: 100%; height: 100%;  background:url(../img/main-time5_1.jpg) no-repeat center  #444345; padding: 30px;margin: 0;  font-size: 0.9em; } 
#main section.main-wrap02 h2 a span{display: table-cell ;vertical-align: middle ; text-align: center;  position: relative;}
.mass,.sacrament{width: 100%; height: 100%; box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3) ; padding: 0; min-height: 170px; display: table}
.time-wrap, .sacrament dl{ margin: 0; border-top: 1px solid #ddd; display: table-cell; height: 100%; }

.mass{ margin-bottom:20px; }
.mass .time-wrap{  width: 85%; position: relative; height: 100%;}
.mass .time-wrap > div{display: table; width: 100%;} 
.mass .time-wrap > div > div{  display:table-cell ;  height: 100%; vertical-align: top ; width: 33%; padding: 30px ; min-height: 200px} 
.mass .time-wrap .day{background-color:#f8f8fa }
.mass .time-wrap .sun::after, .mass .time-wrap .day::after, .mass .time-wrap .satur::after{content: ""; display: block; clear: both;}
.mass .time-wrap h3{ position: relative;  width: 100%; margin-bottom: 20px; }
.mass .time-wrap ul{margin: 0;   }
.mass .time-wrap ul::after{content: ""; display: block; clear: both;}
.mass .time-wrap ul{ width: 100%; }
.mass .time-wrap ul li{margin-bottom: 5px}
.mass .time-wrap ul span:first-child{display: inline-block; margin-right: 10px; font-weight:bold}
.mass .time-wrap ul span p{display: inline-block; }
/* .mass .time-wrap ul dt{ width:20%;float: left;clear: both;  position: relative;}
.mass .time-wrap ul dt::after{content: ""; width: 1px; height: 15px; background: #ccc; display: inline; position: absolute; right: 5px; top: 2px;}
.mass .time-wrap ul dd{width:80%;float: right; margin-bottom: 5px}
.mass .time-wrap ul dd span{display: inline-block; margin-left: 10px;} */

#main section.main-wrap02 .sacrament h2 a{background-image:url(../img/main-time5_2.jpg) }
.sacrament dl{  padding: 30px; padding-right: 0}
.sacrament dl::after{content: ""; display: block; clear: both; overflow: hidden;}
.sacrament dl::before{content: ""; width: 1px; height:100%; background: #eee; display: inline; position: absolute; left:57%; top: 0px;}
.sacrament dl dt{width:20%;float: left;  color: #c03322;margin-bottom: 10px ;position: relative;  }

.sacrament dl dd{width:30%;  margin-bottom: 10px;  float: left; padding-right: 30px }


/* 메인 - 갤러리  */
.main-wrap03{position: relative; background: #f2f2f7;}
.gallery{position: relative;}
.gallery h2{text-align: left}
#main section.main-wrap03 .gallery h2 a{ color:#333; display: inline-block; padding: 0 20px; margin: 0 auto 20px; font-size: 1.5em;}
.gallery-list{display: block;   }
.gallery-list a{display:block; width: 50%; float: left; padding:0  10px; margin-bottom: 20px; }
.gallery-list a .img{width: 50%; height: 190px; overflow:hidden; float: right;}
.gallery-list a .img div{background-size: cover;width: 100%; height: 100%;position: relative; background-position: center}
.gallery-list a .img div.image{transform:rotate(90deg) scale(1.5)}
.gallery-list .gallery-text{border: 0;width: 50%; float: left;background-color: #fff; height: 190px; padding:30px  20px; position: relative; }
.gallery-list a .title{font-family: 'NanumSquare'; font-weight: 700;   font-size: 1.2em;  color: #c03322; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.gallery-list a .text{ color: #666; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-wrap:break-word ; line-height: 1.3em;height:60px;  width: 100%; }
.gallery-list a .gallery-text::after{content: "자세히 보기 >"; display: inline-block; font-size: 0.9em;   padding: 5px 10px;   position: absolute; bottom: 20px; right: 20px; color: #666; border:1px solid #ddd  }
.gallery-list a .gallery-text:before{content:''; display:block; position:absolute;left:0px; top:0px; height: 2px; width: 0px; background: #c03322;}
/* .gallery-list a:hover .gallery-text:before{width: 100%;-webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;transition: all 0.3s ease; } 
 */.gallery-list::after{content: ""; display: block; clear: both;}
.gallery .more{color: #777; font-size: 0.9em; border:1px solid #ccc; padding:5px 10px; display: block; margin:10px auto 0 }
.gallery .more:hover{font-weight: 700}
.gallery .more::after{content: "+"; display: inline-block; margin-left: 10px;}

/* 메인 - 동영상  */
.main-wrap04{position: relative; background: #f2f2f7; padding-top: 0 !important }
.video{position: relative;}
.video h2{ text-align: left}
#main section.main-wrap04 .video h2 a{ color:#333; display: inline-block; padding: 0 20px; margin: 0 auto 20px; font-size: 1.5em;}
.video-list{display: block;   }
.video-list a{display:block; width: 50%; float: left; padding:0  10px; margin-bottom: 20px; }
.video-list a .img{width: 50%; height: 190px; overflow:hidden; float: left;}
.video-list a .img div{background-size: cover;width: 100%; height: 100%;position: relative; background-position: center}
.video-list .video-text{border: 0;width: 50%; float: right;background-color: #fff; height: 190px; padding:30px  20px; position: relative; }
.video-list a .title{font-family: 'NanumSquare'; font-weight: 700;   font-size: 1.2em;  color: #c03322; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.video-list a .text{ color: #666; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-wrap:break-word ; line-height: 1.3em;height:60px;  width: 100%; }
.video-list a .video-text::after{content: "동영상 보기 >"; display: inline-block; font-size: 0.9em;padding: 5px 10px;    position: absolute; bottom: 20px; right: 20px; color: #666;  border:1px solid #ddd   }
.video-list a .video-text:before{content:''; display:block; position:absolute;left:0px; top:0px; height: 2px; width: 0px; background: #c03322;}
.video-list a:hover .video-text:before{width: 100%;-webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;transition: all 0.3s ease; } 
.video-list::after{content: ""; display: block; clear: both;}
.video .more{color: #777; font-size: 0.9em; border:1px solid #ccc; padding:5px 10px; display: block; margin:10px auto 0 }
.video .more:hover{font-weight: 700}
.video .more::after{content: "+"; display: inline-block; margin-left: 10px;}




/* 메인 - 월중행사, 위치안내  */
.main-wrap05{}
#main section.main-wrap05 h2 a{ color: #333; text-align: center; display: block}

.event{}
.event .calender{ background:#f2f2f7 ; height: 500px; padding: 30px; font-family: 'NanumSquare'; font-weight: 400; position: relative;}
.event .control{text-align: center; font-size:1.6em;  font-weight: 700;}
.event .control .prev, .event .control .next{position: relative; display: inline;float: left; }
.event .control .next{float: right}
.event .control .next::before{content: "\f054"; }
.event .control .prev::before{content: "\f053"; }
.event .control .next::before, .event .control .prev::before{display: block; font-family: 'Font Awesome 5 Free';  font-weight: 900; font-size: 30px; color:#babac7;
-moz-transition:color .2s ease;-o-transition:color .2s ease;-ms-transition:color .2s ease;-webkit-transition:color .2s ease;transition:color .2s ease; }
.event .control .prev:hover::before, .event .control .next:hover::before{color: #333}
.event table{ width: 100%; margin-top:20px; margin-bottom: 10px}
.event table th{background:#c03322; color: #fff; font-size: 1.2em; text-align: center; padding: 10px 0; }
.event table td{font-size: 1.1em;text-align: center; padding: }
.event table td p{ padding: 5px; margin-top: 3px; display: inline-block; min-width:33px}
.event table td .today {color: #000; font-weight: 900;  }
.event table td .event {font-weight: 700; border:2px solid #c03322;  border-radius: 30px;}

.event .event-list{ background: #fff;  height: 130px;  width: 100%; padding: 15px; overflow-y: hidden}
.event .event-list ul{position: relative;}
.event .event-list > div{height: 95px;overflow-y: hidden}
.event .event-list li{ font-size: 1.1em; min-height: 25px;}
.event .event-list .data{cursor: pointer;color:#c03322; font-weight: 700; font-size: 1.1em; display: inline-block; margin-right: 15px}

.map{}
.map .api{background:#f2f2f7;height: 380px;}
.map .info{background:#c03322; color: #fff;font-family: 'NanumSquare'; font-weight: 400; font-size:1.1em; height: 120px; width: 100%; display: table; line-height: 160%;}
.map .info > div{display: table-cell;  vertical-align: middle; padding: 30px; opacity: ; }


@media (max-width: 1199px) { 
   
.slide-wrap > div{height: 500px;} 
.slide-wrap .text02 .container{padding :0 60px; margin: 0; width: 100%; }
.bx-controls{ height: 100px; padding-top:320px; text-align: center }
.bx-controls-direction{ position: relative; bottom: auto; top: 0; }
.bx-controls .bx-next, .bx-controls .bx-prev{background: transparent;  width:60px; height:20px; border: 0; top:5px}
.bx-controls .bx-next{position: absolute;  right: 0px;}
.bx-controls .bx-prev{position: absolute;  left: 0px;}
.bx-controls .bx-pager{top:150px;}
.bx-controls .bx-controls-auto{top:147px;}


.weekly li:nth-child(3){padding-left: 0}

.mass .time-wrap::after{display: none }
.mass .time-wrap > div > div{  display: table-cell;  float:none }
.mass .time-wrap h3, .mass .time-wrap ul,  { width: 100%; float: normal; }
.mass .time-wrap ul { margin-top: 10px; }
.mass .time-wrap ul dt{width:30%;}
.mass .time-wrap ul dd{ width: 70%;}

.sacrament dl dt{width:40%;}
.sacrament dl dd{ width: 60%;}
.sacrament dl::before{display: none}

.weekly h2{padding-left:0px ; }
.weekly li:first-child{padding-left:0px ;}
.weekly{padding-top: 20px}
.weekly .more{top:25px;}

.map{padding-top: 50px}

.gallery-list a, .video-list a{ width:50%; display: block; float: left; }

 }

@media (max-width: 991px) { 
 #main section.main-wrap02 h2 {display: block; width: 100%; height: auto;}
 #main section.main-wrap02 h2 a{height: auto; padding: 20px 0 10px; background-image: none !important}
 #main section.main-wrap02 h2 a span::before{display:none} 
 .mass .time-wrap, .sacrament dl{border: 0; border-left: 1px solid #ddd;display: block; width: 100%;}
 .mass .time-wrap::after > div{content: ""; display: block; clear: both;}
 

 }

@media (max-width: 768px) { 
    .bx-controls{ top: 60px; }
    .event .event-list li{height: auto; width: 100%;}
    .event .event-list .data{cursor: pointer;display: block}
	.sacrament dl, .mass .time-wrap{height:auto;}


 }

 @media (max-width: 575px) { 
 
	.gallery .more,.video .more {margin-top:10px}
	 #main section:nth-child(n+2){padding:20px 0}
	#main h2 a{font-size:0.85em}
    .slide-wrap > div{height: 300px;padding-bottom:80px}
    .slide-wrap .text01 .title{font-size: 1.8em}
    .slide-wrap .text01 .text{font-size: 0.9em;}
    .slide-wrap .text02, .slide-wrap .text02 .container{  height: 80px;  }
    .slide-wrap .text02 .title{font-size: 1.1em;margin-bottom: 5px}
    .slide-wrap .text02 .text{font-size: 0.8em;max-height:40px;}
    .bx-controls{ height: 100px; padding-top:150px; }
    .bx-controls .bx-next, .bx-controls .bx-prev{top: 0px;}
	.bx-controls .bx-pager{top:120px;}
	.bx-controls .bx-controls-auto{top:117px;}

    .weekly li{ width:50%; display: block; float: left; margin-bottom: 10px;padding-left:0px ; }
    .weekly li:nth-child(2n+1){padding-right:5px ;}    
    .weekly li:nth-child(2n+2){padding-left:5px ;}

    .mass .time-wrap > div > div{width: 100% !important; display: block; min-height: auto; padding: 20px }  
    .mass .time-wrap .day, .mass .time-wrap .satur{border-left:0; border-top:1px solid #ddd;    } 
    
    .sacrament dl dt, .sacrament dl dd{width:100%;}
    .sacrament dl dt{margin-bottom: 5px;}
    .sacrament dl dd{ margin-bottom: 10px; border-bottom: 1px dotted #ddd; padding-bottom: 10px}
    .sacrament dl dd:last-child{margin-bottom: 0px; border-bottom: 0; padding-bottom: 0px}
    .sacrament dl dd::before{content: "-"; display: inline-block; margin-right: 10px;}
    
    .gallery-list a, .video-list a{ width:100%;  float: normal; }

    
    .event .calender, .map .info > div{padding:20px; height: auto;}
	.event .event-list{height: auto !important;font-size:0.9em  }
	.event .event-list li:nth-child(n+2){margin-top:10px}
	.event .event-list > div{height: auto !important; }


    .map .api{background:#f2f2f7;height: 300px;}
    .map .info strong{display: block;font-size:  1.2em}
    .map .info p:nth-child(n+2) strong{margin-top:10px}
    .map .info{font-size: 14px}
	#footer{font-size: 0.8em;}

 
 }





