@charset "utf-8";

/*고정적인 컨텐츠 탬플릿*/

/*연혁 template_1  history_1*/
.cayaContent .history_1 {margin-bottom: 200px;}
.cayaContent .history_1 ul.tabs {overflow:hidden; width:100%;}
.cayaContent .history_1 ul.tabs li {float:left;text-align:center;cursor: pointer; background:#fafafa; font-size:18px; overflow:hidden; position: relative; height:50px; line-height:50px; box-sizing:border-box; width:25%; border:1px solid #ddd; border-right:0 !important; font-weight:400;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
-o-box-sizing:border-box;
}
.cayaContent .history_1 ul.tabs li:last-child{border-right:1px solid #ddd !important;}
.cayaContent .history_1 ul.tabs li.active{background:#fff; color:#fb5959;}
.cayaContent .history_1 .tab_container{margin-top:50px;}
.cayaContent .history_1 .tab_content{display: none; padding:0 20px;}

.cayaContent .history_1 .tab_content > div{width:100%; display:table;}
.cayaContent .history_1 .tab_content > div h3,
.cayaContent .history_1 .tab_content > div ul{display:table-cell; vertical-align:top;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
-o-box-sizing:border-box;
}
.cayaContent .history_1 .tab_content > div h3{width:30%; font-size:35px; font-family: "GmarketSansMedium"; font-weight:600; letter-spacing:-1px; padding-top:15px; padding-right:30px;}
.cayaContent .history_1 .tab_content > div ul{width:70%; padding-left:30px; border-left:1px solid #ddd;}
.cayaContent .history_1 .tab_content > div ul li{width:100%; display:table; margin:20px 0;}
.cayaContent .history_1 .tab_content > div ul li > p{display:table-cell; vertical-align:top;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
-o-box-sizing:border-box;
}
.cayaContent .history_1 .tab_content > div ul li > p:first-child{width:30%; font-weight:400; color:#222; line-height:135%;}
.cayaContent .history_1 .tab_content > div ul li > p:last-child{width:70%; padding-left:10px; color:#444; line-height:135%;}


@media screen and (max-width:1024px){ 
    .cayaContent .history_1 {margin-bottom: 40px;}
    .cayaContent .history_1 .tab_content > div h3,
    .cayaContent .history_1 .tab_content > div ul{display:block;}
	.cayaContent .history_1 .tab_content > div h3{font-size:24px; width:100%; margin-bottom:30px;}
	.cayaContent .history_1 .tab_content > div ul{width:100%; padding-left:20px;}
	.cayaContent .history_1 ul.tabs li{width:50%; font-size:17px;}
	.cayaContent .history_1 ul.tabs li:nth-child(1),
    .cayaContent .history_1 ul.tabs li:nth-child(2) {border-bottom:0 !important;}
	.cayaContent .history_1 ul.tabs li:nth-child(2) {border-right:1px solid #ddd !important;}
}
@media screen and (max-width:600px){ 
	.cayaContent .history_1 .tab_content > div ul li > p:first-child{width:35%;}
	.cayaContent .history_1 .tab_content > div ul li > p:last-child{width:65%;}
}
@media screen and (max-width:450px){
	.cayaContent .history_1 ul.tabs li{font-size:16px;}
	.cayaContent .history_1 .tab_content > div ul li > p:first-child{width:40%;}
	.cayaContent .history_1 .tab_content > div ul li > p:last-child{width:60%;}
}


/*섬기는분들 template_1 man_1*/
.cayaContent .man_1 .man_type1 {border-bottom: 1px solid #ddd; margin-bottom: 40px; overflow:hidden;}
.cayaContent .man_1 .man_type1 li {float:left; width:50%; height:auto; overflow:hidden; margin-bottom:50px; padding:10px; 
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
-o-box-sizing:border-box;
}

.cayaContent .man_1 .man_type1 li .imgtxt_wrap {width:100%; height:auto; /*컨텐츠 내용이 차이가 나면 고정 height값을 쓰면 됨*/ overflow:hidden; padding:30px; box-shadow: rgb(0, 0, 0, 0.3) 1px 1px 5px; background-color:#F1F1F1; border-radius:10px;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
-o-box-sizing:border-box;
}

.cayaContent .man_1 .man_type1 li .img {float:left; width:25%;}
.cayaContent .man_1 .man_type1 li .img img {border:1px solid #ddd; width:100%;}
.cayaContent .man_1 .man_type1 li .txt {float:left; width:75%; padding-left:30px;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
-o-box-sizing:border-box;
}
.cayaContent .man_1 .man_type1 li .txt p {color:#555; font-size:20px;}
.cayaContent .man_1 .man_type1 li .txt p:first-child {padding-bottom:10px; border-bottom: 1px solid #8D8D8D;}
.cayaContent .man_1 .man_type1 li .txt p strong {margin-bottom:10px; color:#222; font-weight:500; }
.cayaContent .man_1 .man_type1 li .txt p span {position:relative; display:block; font-size:18px; padding-left:12px;}
.cayaContent .man_1 .man_type1 li .txt p span:before {content:"\00b7"; position:absolute; left:0;}

@media screen and (max-width: 1024px){	
	.cayaContent .man_1 .man_type1 li .txt p {font-size:19px;}
	.cayaContent .man_1 .man_type1 li .txt p span {font-size:17px;}
}
@media screen and (max-width:900px){
	.cayaContent .man_1 .man_type1 li {display:block; width:100%; margin-bottom:30px;}
}
@media screen and (max-width:450px) {
	.cayaContent .man_1 .man_type1 li .imgtxt_wrap {padding:20px;}
	.cayaContent .man_1 .man_type1 li .img {width:30%;}
	.cayaContent .man_1 .man_type1 li .txt {width:70%; padding-left:20px;}
	.cayaContent .man_1 .man_type1 li .txt p{font-size:18px;}
	.cayaContent .man_1 .man_type1 li .txt p span{font-size:16px;}
}


/*섬기는분들 template_2 man_2*/

.cayaContent .man_2 {display: flex; flex-wrap: wrap; margin-bottom: 50px;}
.cayaContent .man_2 .st_box{width: 200px; margin: 4%; background: linear-gradient(180deg, #efefef 50%, #204d6d 50%);}
.cayaContent .man_2 .st_box .st_img_box{width: 160px; box-sizing: border-box; margin: 10%; position: relative; border: 4px solid #c1c1c1;}
.cayaContent .man_2 .st_box .st_img_box img{width: 100%; object-fit: cover; object-position: center; box-sizing: border-box;}
.cayaContent .man_2 .st_box p{color: white; text-align: center; margin-bottom: 20px;}

@media screen and (max-width:1024px){
	/*-------- [Church Staff] --------*/
.cayaContent .man_2 .st_box{width: 160px;}
.cayaContent .man_2 .st_box .st_img_box{width: 130px;}
}

@media screen and (max-width:670px){
	/*-------- [Church Staff] --------*/
.cayaContent .man_2 .st_box{width: 220px; margin: 4% 5%;}
.cayaContent .man_2 .st_box .st_img_box{width: 180px;}
}

@media screen and (max-width:585px){
	/*-------- [Church Staff] --------*/
.cayaContent .man_2 .st_box{width: 120px; margin: 4% 5%;}
.cayaContent .man_2 .st_box .st_img_box{width: 96px;}
}

@media screen and (max-width:425px){
	/*-------- [Church Staff] --------*/
.cayaContent .man_2 .st_box{width: 130px;}
.cayaContent .man_2 .st_box .st_img_box{width: 105px;}
}




/*교회정관 template_1  rule_1*/
.cayaContent .rule {padding:0 20px;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
-o-box-sizing:border-box;
}

.cayaContent .rule_1 .rule_tit1 {font-size:30px; margin:40px 0; font-weight:500; text-align:center;}
.cayaContent .rule_1 .rule_tit2 {font-size:22px; margin:30px 0; font-weight:500; color:#486bcf; text-align:center;}
.cayaContent .rule_1 .rule_tit3 {font-size:20px; margin:20px 0; font-weight:500; color:#fb5959;}
.cayaContent .rule_1 .bold {font-weight:500;}

.cayaContent .rule_1 .rule_content p {line-height:145%;}
.cayaContent .rule_1 .rule_content ul li {line-height:145%; padding:5px 0; font-size:18px;}
.cayaContent .rule_1 .rule_content ul li span {padding-right:10px;}

.cayaContent .rule_1 .rule_box {border-top:1px dashed #aaa; margin-top:30px;}
.cayaContent .rule_1 .rule_box .text_indent1 {padding-left:20px;}
.cayaContent .rule_1 .rule_box .text_indent2 {padding-left:40px;}

.cayaContent .rule_1 .rule_footer {border-bottom:1px solid #aaa; padding:20px 0;}

.cayaContent .rule_1 .rule_revision h4 {text-align:right;}

@media screen and (max-width:1024px){
	.cayaContent .rule_1 .rule_tit1 {font-size:29px;}
	.cayaContent .rule_1 .rule_tit2 {font-size:21px;}
	.cayaContent .rule_1 .rule_tit3 {font-size:19px;}

	.cayaContent .rule .rule_content ul li {font-size:17px;}
}
@media screen and (max-width:450px){
	.cayaContent .rule_1 .rule_tit1 {font-size:28px;}
	.cayaContent .rule_1 .rule_tit2 {font-size:20px;}
	.cayaContent .rule_1 .rule_tit3 {font-size:18px;}

	.cayaContent .rule_1 .rule_content ul li {font-size:16px;}
}

