@charset "utf-8";
/* CSS Document */
@font-face {
	font-family: 'ROEHOE-CHAN';
	src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-10@1.0/ROEHOE-CHAN.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
.sub {padding-bottom:80px; word-break:keep-all;}
.sub .greeting .flex .center {text-align: center !important;}
.sub .greeting .flex .left {text-align: left !important;}
.sub .greeting .flex .right {text-align: right !important;}
 
/* 폰트스타일 */
.sub p {line-height:1.7; }
.sub h1 {font-size:2em; position: relative; margin:25px auto 35px; display:table;}
.sub h1:before {content: ''; background: url(/images/sub/bg_tt.jpg) no-repeat center center;
				width:22px; height:22px; position: absolute; left:-25px; top:-15px; background-size: cover;}
.sub h2 {font-size:30px;}
.sub h3 {font-size:24px; margin-bottom:10px;}
.sub h3:before {width:5px; height:5px; content:''; display:inline-block; background:#1980e8; vertical-align:middle; margin-right:10px;}
.sub h4 {font-size:21px;}
.sub h5 {font-family:'Title_Light'; font-size:18px; line-height:1.5;}
.sub h5.bbSmall:after {content:''; display:block; margin:25px auto 50px; background:#cbcbcb; width:90px; height:2px;}
.sub i {color:#e09400; box-shadow:inset 0px -12px 0px 0px #feffa8;}
.sub .point {color:#1980e8;}
.sub .be_tag p {position:relative; padding-left:10px;}
.sub .be_tag p:before {position: absolute; left: 0; top: 12px; width: 3px; height: 3px; content: ''; background:#aacaec;}
/* 마진 */
.sub .mb50 {margin-bottom:50px;}
.sub .mb15 {margin-bottom:15px;}
.sub img {max-width:100%; vertical-align:middle;}
/* 테이블 */
.sub table {table-layout:fixed; width:100%; border-top:2px solid #1980e8;}
.sub table tr {border-bottom:1px solid #d7e1eb;}
.sub table tr th {background:#f9f9f9; padding:10px 15px; color:#222; border-right:1px solid #d7e1eb; line-height:1.7;}
	.sub table tr.bg th {background:#e7f2fd;}
.sub table tr td {padding:10px 15px; border-right:1px solid #d7e1eb; line-height:1.7;}
.sub table tr .br0 {border-right:0;}
/* 박스 */
.sub .flex {display:flex; justify-content:space-between; flex-wrap:wrap;}
/* 비전 */
.sub .vision .flex {}
.sub .vision .flex > div {border-radius:50px;}
.sub .vision .flex .box1 {width:35%; text-align:center; background:#666; padding:15px;}
.sub .vision .flex .box2 {width:68%; margin-left:-5%; background:rgba(245,245,245,.6); border:1px solid #ddd; padding:15px 50px;}
	.sub .vision .flex:nth-child(1) .box1 {background:#76cdf1;}
	.sub .vision .flex:nth-child(2) .box1 {background:#919ed2;}
	.sub .vision .flex:nth-child(3) .box1 {background:#61a0b2;}
	.sub .vision .flex:nth-child(4) .box1 {background:#61b29f;}
	.sub .vision .flex:nth-child(5) .box1 {background:#eb8787;}
	.sub .vision .flex:nth-child(6) .box1 {background:#e2a1b7;}
	.sub .vision .flex:nth-child(7) .box1 {background:#f3c259;}
	.sub .vision .flex:nth-child(8) .box1 {background:#f7b36a;}
.sub .vision .flex h5 {color:#fff; text-transform:uppercase}
/* 담임목사 인사말 */
/* .sub .greeting .flex .box1 {width:45%;}
.sub .greeting .flex .box2 {width:53%;} */
.sub .greeting .flex .box1 {max-width: 200px; text-align: center; box-sizing: border-box;}
.sub .greeting .flex .box2 {width:calc(100% - 200px); box-sizing: border-box; padding: 12px 0 0 50px; text-align: right; line-height: 30px;}
.sub .greeting .flex .box3 {width:100%; box-sizing: border-box; padding: 30px 0 30px 0px;}
.sub .greeting .flex .box3 p {font-size: 16px; color: #222; line-height: 30px;}
.sub .greeting .flex .box2 p {font-size: 16px; color:#222; margin: 15px 0px; line-height: 30px;}

.sub .greeting .flex .box2 strong {
	font-size: 18px;
	font-weight: 400;
	color:#222;
	margin-top: 5px;
}

.sub .greeting .flex .box2 strong span {
	font-family: 'ROEHOE-CHAN';
	font-size: 28px;
	font-weight: 400;
	color:#222;
	margin-left: 5px;
}

.sub .greeting .flex .box2 p span {color:#1980e8;}
.sub .greeting .flex .box2 p:first-child {margin: 0px 0px 15px 0px;}
.sub .greeting .flex .box2 p:last-child {margin: 0px 0px 15px 0px;}
.sub .greeting .flex .box3 p:nth-child(n+1) {margin: 0px 0px 15px 0px;}
.sub .greeting .pastorBox {width: 100%; border-top:1px solid #eee; margin-top:25px; padding-top:25px; text-align:right;} 
.sub .greeting .pastorName {text-align: right; width: 100%; max-width: 500px; margin: 0 auto;} 
.sub .greeting .pastorName p {font-family: 'GyeonggiBatang'; font-size:18px; color:#222; margin: 0 !important;}
.sub .greeting .pastorName b {font-size:30px; font-style:italic;}
/* 교회연혁 */
.sub .history {}
.sub .history ul {justify-content:center;}
.sub .history ul li {font-family:'Title_Light'; font-size:18px; line-height:1.5; margin:0 25px; cursor:pointer; color:#222;}
.sub .history ul li.on {color:#e09400; box-shadow:inset 0px -12px 0px 0px #feffa8;}
.sub .history .all_con > div:not(:nth-child(1)) {display:none;}
.sub .history table tr *:last-child {border-right:0;}
/* 섬기는 사람들 */
.sub .people .ppBox {width:49%; border:1px solid #eee; border-right-width:4px; border-bottom-width:4px; padding:15px; align-items:center;}
.sub .people .ppBox:nth-child(n+3) {margin-top:15px;}
.sub .people .box1 {width:36%;}
.sub .people .box2 {width:60%;}
.sub .people h4 {margin-bottom:15px;}
.sub .people p.be_tag {position:relative; padding-left:25px;}
.sub .people p.be_tag:before {position: absolute; left:6px; top: 8px; width: 6px; height: 6px; content: ''; background:#fff; border:2px solid #4c4c4c; border-radius:50%;}
/* 예배안내 */
.sub .worship tr td {text-align:center;}
/* 오시는 길 */
.sub .address .root_daum_roughmap {width:100% !important;}
.sub .address span.busBlue {color:#395bb4;}
.sub .address span.busGreen {color:#4eab27;}
.sub .address span.busRed {color:#ea1b23;}
.sub .address span.busYellow {color:#ff9805;}
/* 선교 */
.sub .domestic table {width:50%;}
.sub .domestic table:nth-child(2) th:last-child, 
.sub .domestic table:nth-child(2) td:last-child {border-right:0;}
.sub .world .flex {justify-content:flex-start;}
.sub .world .flex > div {border:1px solid #eee; border-right-width:4px; border-bottom-width:4px; padding:15px; width:32%; text-align:center; margin:0 0.65%;}
.sub .world .flex > div:nth-child(n+4) {margin-top:15px;}
.sub .world .flex > div img {margin-bottom:15px;}
/* 교육 */
.sub .education table tr *:last-child {border-right:0;}
.sub .education .flex p {width:50%;}
/* 반응형 */
@media(max-width:1000px){
	body {font-size:14px;} 
	.sub h1 {font-size:24px;}
	.sub h3 {font-size:21px;}
	.sub h4 {font-family:'Title_Light'; font-size:18px;}
	.sub h5 {font-size:16px;}
	.sub table tr th {padding:10px 5px;}
	.sub table tr td {padding:10px;}
	.sub .greeting .pastorName p {font-size:16px}
	.sub .greeting .pastorName b {font-size:21px;}
	.sub .people .box2 {width:62%;}
	.sub .history ul li {font-size:16px;}
}
@media(max-width:767px){
	.sub .greeting .flex .box1 {width:100%; text-align:center; margin-bottom:50px;}
	.sub .greeting .flex .box2 {width:100%; text-align:center; padding: 0px;}
	.sub .greeting .flex .box2 p {text-align:left;}
	.sub .people .ppBox {padding:10px;}
	.sub .people .box1 {width:100%; text-align:center; margin-bottom:15px;}
	.sub .people .box2 {width:100%; text-align:center;}
	.sub .domestic table {width:100%;}
	.sub .domestic table colgroup {display:none;}
	.sub .domestic table:nth-child(1) th:last-child, 
	.sub .domestic table:nth-child(1) td:last-child {border-right:0;}
	.sub .domestic table:nth-child(2) {border-top:0;}
	.sub .domestic table:nth-child(2) tr.bg, 
	.sub .domestic table:nth-child(1) tr.none {display:none;}
	.sub .world .flex {justify-content:space-between;} 
	.sub .world .flex > div {width:49%; margin:initial; padding:10px;}
	.sub .world .flex > div:nth-child(n+3) {margin-top:15px;}
	.sub .history ul li {margin:0 5px;}
	.sub .vision .flex .box1 {width:40%;}
	.sub .vision .flex .box2 {width:65%; padding:15px 30px;}
	.sub .education .flex p {width:100%;}
}
@media(max-width:520px){
	.sub br:not(.not) {display:none;}
	.sub .people p:nth-child(3) {display:none;}
	.sub .people p img {display:none;}
	.sub .people p.be_tag {padding-left:0; color:#aaa;}
	.sub .people p.be_tag:before {display:none;}
	.sub .history ul li span {display:none;}
	.sub .vision .flex .box1 {width:100%; border-radius:0; padding:10px;}
	.sub .vision .flex .box2 {width:100%; margin-left:0; border-radius:0; padding:10px 25px;}
}