/* 메인공통 */

#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: absolute; bottom: 0px; max-width: 1200px; width: 100%; height: 100%; left: 50%; transform: translateX(-50%); }
.slide-wrap .text01 .container {display: inline-block; width: 500px; height: 100%; padding: 250px 30px 0;}
.slide-wrap .text01 .container::before {background: #c03322; opacity: 0.8; width: 500px; height: 100%; content: ""; position: absolute; top: 0; left: 0; z-index: -1;border-top: 1px solid rgba(255, 255, 255, 0.5);}
.slide-wrap .text01 .title {display:none; font-size: 3.5em; 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 {display:none;font-size: 1.1em; padding-left: 12px; line-height: 160%; text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.3); height: 80px; overflow: hidden;}
.slide-wrap .text02 {}
.slide-wrap .text02 .container {padding-right: 700px; padding-top: 0px; padding-left: 0}
.slide-wrap .text02 .container .cell {padding: 30px;height:510px; vertical-align: middle}
.slide-wrap .text02 .title {padding-top: 0px; font-size: 1.6em; margin-bottom: 10px; color: #fff; position: relative;  z-index:50}
.slide-wrap .text02 .text {font-family: 'NanumGothic'; color: #fff; font-weight: 300; line-height: 160%; overflow-y: auto; padding-left: 4px; z-index:50}
.slide-wrap .text02 .text li {padding-left: 15px; position: relative; z-index:50}
.slide-wrap .text02 .text li::after {content: ""; width: 6px; height: 6px; border-radius: 10px; background: rgba(255, 255, 255, 0.5); display: inline; position: absolute; top: 9px; left: 0;}
.bx-wrapper {position: relative;}
.bx-controls {z-index: 100; width: 100%; max-width: 1200px; height: 140px; position: absolute; margin: 0 auto; text-align: center; bottom: 0px; left: 50%; transform: translateX(-50%); padding-right: 700px}
.bx-controls-direction {width: 500px; height: 60px; position: relative;}
.bx-controls-direction::before {content: ""; display: block; width: 500px; height: 140px; background: rgba(0, 0, 0, 0.1); position: absolute; top: 0; left: 0;}
.bx-controls-auto {display: inline-block; vertical-align: bottom; margin-right: 15px; position: relative; top: -2px}
.bx-default-pager {display: inline-block; vertical-align: bottom}
.bx-pager-item {display: inline-block;}
.bx-pager-item a {text-align: left; width: 15px; height: 15px; border-radius: 10px; background: rgba(255, 255, 255, 0.8); text-indent: -9999px; display: inline-block; margin-right: 10px;}
.bx-pager-item a.active {width: 30px; background: rgba(255, 255, 255, 1);}
.bx-controls .bx-next, .bx-controls .bx-prev {width: 100px; height: 140px; line-height: 140px; display: inline-block; vertical-align: middle; float: left;}
.bx-controls .bx-next::before, .bx-controls .bx-prev::before {display: inline; font-family: 'Font Awesome 5 Free'; font-weight: 900; font-size: 55px; color: #48484f; -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::before, .bx-controls .bx-prev::before {content: ""; display: inline-block; width: 60px; height: 20px; background: url(../img/main_tem01.png) -60px -290px no-repeat; opacity: 0.3}
.bx-controls .bx-next:hover::before, .bx-controls .bx-prev:hover::before {opacity: 0.7}
.bx-controls .bx-next {float: right;}
.bx-controls .bx-prev::before {background-position: 0px -290px}
.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 {}
.main-wrap01 h2 {}
.main-wrap01 .more {display: block; position: absolute; top: 0px; right: 10px;}
.main-wrap01 .more::before {content: "\f054"; display: block; font-family: 'Font Awesome 5 Free'; font-weight: 900; font-size: 25px; color: #e6e6ed;}
.main-wrap01 .more:hover::before {color: #b6b6c7;}
.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: table;table-layout: fixed}
.weekly li {display: table-cell; text-align: center; padding-left: 10px;}
.weekly li a {display: block; width: 100%; border: 1px solid #dddddd; border-left: 15px solid #dddddd; position: relative;}
.weekly li .data {font-size: 1.1em; font-weight: 700; height: 50px; font-family: 'NanumSquare'; width: 80%; display: table; border-bottom: 1px solid #dddddd; margin: 0 auto}
.weekly li a:before {content: ''; display: block; position: absolute; left: -15px; top: 0px; height: 0px; width: 15px; background: #aaa;}
.weekly li a:hover::before {height: 100%; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; transition: all 0.3s ease;}
.weekly li .title {height: 100px; background: url(../img/main-icon.png) no-repeat right bottom; text-align: left; padding:0 15px 40px; width: 100%; display: table; }
.weekly li .data span, .weekly li .title span {display: table-cell; vertical-align: middle; width: 100%; height: 100%;}

/* 메인 - 미사시간, 성사시간 */

#main section.main-wrap02 {background: #f2f2f7}
#main section.main-wrap02 h2 a {color: #fff; display: block; width: 30%; max-width: 180px; height: 400px; background: url("../img/main-time3_1.jpg") no-repeat center bottom #48484f; padding: 30px; margin: 0; float: left;}
.mass {}
.mass .time-wrap {background: #fff; padding: 30px; height: 400px; overflow-y: auto}
.mass .time-wrap .day, .mass .time-wrap .satur {border-top: 1px solid #ddd; padding-top: 25px; margin-top:15px }
.mass .time-wrap .satur dl {margin-bottom: 0}
.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: 25%; float: left;}
.mass .time-wrap ul::after {content: ""; display: block; clear: both;}
.mass .time-wrap ul {width: 75%;float: right}
.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; }


.sacrament {}
#main section.main-wrap02 .sacrament h2 a {background-image: url("../img/main-time3_2.jpg");}
.sacrament dl {background: #fff; padding: 30px; height: 400px; overflow-y: auto}
.sacrament dl::after {content: ""; display: block; clear: both;}
.sacrament dl dt {width: 40%; float: left; clear: both; color: #c03322; margin-bottom: 10px; position: relative;}
.sacrament dl dd {width: 60%; float: right; margin-bottom: 10px; padding-left: 12px;}

/* 메인 - 갤러리  */

.main-wrap03 {position: relative;}
.gallery {}
.gallery h2 {text-align: center}
.gallery h2::before, .gallery h2::after {width: 100px; height: 1px; content: ""; display: inline-block; background: #ddd; position: relative; top: -10px}
#main section.main-wrap03 .gallery h2 a {color: #333; background: #fff; display: inline-block; padding: 0 20px; margin: 0 auto; font-size: 1.5em;}
.gallery-list {display: block; margin-top: 30px}
.gallery-list::after {content: ""; clear: both; display: block}
.gallery-list a {display: block; float: left; padding: 10px; width: 25%;}
.gallery-list a .img {width: 100%; height: 280px; overflow: hidden;}
.gallery-list a .img div {background-size: cover; width: 100%; height: 100%;}
.gallery-list a .img div.image{transform:rotate(90deg) scale(1.5)}
/* .gallery-list a:hover .img div {cursor: pointer; -webkit-transform: scale(1.1); -moz-transform: scale(1.1); -o-transform: scale(1.1); transform: scale(1.1); transition: transform .5s; -o-transition: transform .5s; -moz-transition: transform .5s; -webkit-transition: transform .5s;}
 */.gallery-list a .title {font-family: 'NanumSquare'; font-weight: 700; background-color: #c03322; color: #fff; font-size: 1.2em; padding: 10px; 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: 40px; width: 100%;}
.gallery-list::after{content: ""; display: block; clear: both;}
.gallery .more {display: block; margin: 30px auto 0; border: 1px solid #ddd; border-radius: 30px; width: 100px; height: 30px; font-size: 0.9em; color: #666}
.gallery .more::after {content: "+"; display: inline-block; margin-left: 10px;}
.gallery .more:hover {background-color: #c03322; color: #fff; border: 0}

/* 메인 - 동영상  */

.main-wrap04 {position: relative; background: #f2f2f7;}
.video {}
.video h2 {text-align: center}
.video h2::before, .video h2::after {width: 100px; height: 1px; content: ""; display: inline-block; background: #c3c3c6; position: relative; top: -10px}
#main section.main-wrap04 .video h2 a {color: #333; display: inline-block; padding: 0 20px; margin: 0 auto; font-size: 1.5em;}
.video-list {display: block; margin-top: 30px}
.video-list::after {content: ""; clear: both; display: block}
.video-list a {display: block; float: left; padding: 10px; width: 25%;}
.video-list a .img {width: 100%; height: 220px; overflow: hidden;}
.video-list a .img div {background-size: cover; width: 100%; height: 100%; position: relative;}
.video-list a:hover .img div {cursor: pointer; -webkit-transform: scale(1.1); -moz-transform: scale(1.1); -o-transform: scale(1.1); transform: scale(1.1); transition: transform .5s; -o-transition: transform .5s; -moz-transition: transform .5s; -webkit-transition: transform .5s;}
.video-list a:hover .img div::after {color: rgba(0, 0, 0, 0.8);}
.video-list a:hover .img div::before {background: rgba(0, 0, 0, 0.0);}
.video-list a .title {font-family: 'NanumSquare'; font-weight: 700; font-size: 1.2em; padding: 10px; background-color: #c03322; color: #fff; 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: 20px; width: 100%;}

.video-list::after{content: ""; display: block; clear: both;}
.video .more {display: block; margin: 30px auto 0; border: 1px solid #ddd; border-radius: 30px; width: 100px; height: 30px; font-size: 0.9em; color: #666}
.video .more::after {content: "+"; display: inline-block; margin-left: 10px;}
.video .more:hover {background-color: #c03322; color: #fff; border: 0}

/* 메인 - 월중행사, 위치안내  */

.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 .text02 .container {width: 500px; padding-right: 0; position: absolute; left: 0; }
    .bx-controls {width: 500px; padding-right: 0; left: 0; transform: none}
    .mass .time-wrap h3, .mass .time-wrap ul, .sacrament dl dt, .sacrament dl dd {width: 100%; float: normal; }
    .mass .time-wrap ul {margin-top: 10px; }
    .sacrament dl dd {padding-left: 0}
    .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) {}
@media (max-width: 768px) {.slide-wrap>div {height: 500px; }
    .slide-wrap .text01 .container {width: 100%; display: table; padding: 0; padding-bottom: 140px; }
    .slide-wrap .text01 .container .cell {width: 100%; text-align: center}
    .slide-wrap .text01 .container::before {position: absolute; top: auto; bottom: 0; width: 100%; height: 140px; }
    .slide-wrap .text01 .text {padding-left: 0px; height: auto; }
    .slide-wrap .text02 {height: 500px;}
    .slide-wrap .text02 .container {padding: 0;  background: transparent; width: 100%;   bottom: 0; height: 140px; display: table; }
    .slide-wrap .text02 .container .cell {padding: 0 20px; width: 100%; }
    .slide-wrap .text02 .title {border: 0; padding-top: 0; }
    .bx-controls {height: 100px; padding-top: 200px; width: 100%; top: 0; }
    .bx-controls-direction {position: relative; bottom: auto; top: 0; width: 100%; }
    .bx-controls-direction::before {display: NONE}
    .bx-controls .bx-next, .bx-controls .bx-prev {background: transparent; border: 0;  width: 60px; height: 20px; }    
    .bx-controls .bx-next::before, .bx-controls .bx-prev::before{opacity: 0.7;} 
    .bx-controls .bx-next:hover::before, .bx-controls .bx-prev:hover::before{opacity: 1;}
    .bx-controls .bx-next {position: absolute; top: -150px; right: 10px; }
    .bx-controls .bx-prev {position: absolute; top: -150px; left: 10px; }
    .bx-controls {top: 60px; }
    .event .event-list li {height: auto; width: 100%; }
    .event .event-list .data {display: block}
    .mass {margin-bottom: 30px; }
	}
@media (max-width: 575px) {

	 #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 .text01 .container{padding-bottom: 80px;}
    .slide-wrap .text01 .container::before{height: 80px;}
    .slide-wrap .text02, .slide-wrap .text02 .container {height: 80px; padding: 5px 10px}
    .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: 70px; }
    .bx-controls .bx-next, .bx-controls .bx-prev {top: auto; }
    .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; }
    #main section.main-wrap02 h2 a {width: 25%}
    .mass .time-wrap, .sacrament dl {padding: 20px; padding-right: 0}
    .mass .time-wrap .day, .mass .time-wrap .satur {padding-top: 15px; margin-top:5px }
    .mass .time-wrap ul {margin-bottom: 10px}
    .mass .time-wrap {margin-bottom: 30px}
    .gallery-list a, .video-list a {width: 100%; float: normal; }
	.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; }

    .event .calender, .map .info>div {padding: 20px; height: auto; }
    .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;}
	.gallery .more,.video .more {margin-top:10px}
	}