@charset "utf-8";
body {
	font: 14px "맑은 고딕";
	background:linear-gradient(to bottom, #DDEBB0, white 50%);
	background:-webkit-linear-gradient(top,#DDEBB0, white 50%);
	background:-moz-linear-gradient(top, #DDEBB0, white 50%);
	background-attachment:fixed;	
}

/* fonts */
@font-face {
	font-family: 'lato-bold';
	src: url('../fonts/lato-bold.eot');
	src: url('../fonts/lato-bold.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/lato-bold.woff') format('woff'),
		 url('../fonts/lato-bold.ttf') format('truetype'),
		 url('../fonts/lato-bold.svg#LatoBold') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'lato-regular';
	src: url('../fonts/lato-regular.eot');
	src: url('../fonts/lato-regular.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/lato-regular.woff') format('woff'),
		 url('../fonts/lato-regular.ttf') format('truetype'),
		 url('../fonts/lato-regular.svg#LatRegular') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'p22_corinthia';
	src: url('../fonts/p22_corinthia.eot');
	src: url('../fonts/p22_corinthia.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/p22_corinthia.woff') format('woff'),
		 url('../fonts/p22_corinthia.ttf') format('truetype'),
		 url('../fonts/p22_corinthia.svg#P22Corinthia') format('svg');
	font-weight: normal;
	font-style: normal;
}
#container {	
	margin : 0 auto;
	background-color:#fff;
	border:1px solid #CDB380;
}
#content {
	background-color: #ffffff;	
	padding-top:5px;
	padding-left:10px;
}
#sidebar a{
    text-align:center;
    color:FF0033;
}
#sidebar h1{
	position:absolute;
	margin-top: 10px;
	margin-left:15px;
}
.sidebar1{
	font-family:한겨레결체;
	font-size:2em;
	color:#ffaa06;	/*아래 사진 photos 글씨색깔*/
	text-shadow:0px 1px 1px #f6ff00;
}
#sidebar img:hover{
	border:1px solid #036564;	
	opacity:1.0;
}
#footer {
	padding: 10px 0;
	background-color:#774F38;
	color:#fff;
	font-family:한겨레결체;
	font-size:1.2em;
	text-align:center;
	clear: both;
}
header, section, footer, aside, article, figure {
	display: block;
}

@media screen and (max-width:849px) { /* 스마트폰 화면*/

#container{
	width: 350px;
}
#mainHeader {
	height: 170px;
	margin-top:0;
	background-image:url(main/bg-sm01.gif);/*스마트폰 배경화면*/
	background-repeat:no-repeat;
	background-position:left top;
}
#mainHeader h1{
	position:absolute;
	margin-top:23px;
	margin-left:160px;
}
.header1{
	font-family:한겨레결체;
	font-size:2.2em;
	color:#d3ff33;	/*모바일배경글씨색깔*/
	text-shadow:0px 1px 1px #604848;
}
#mainNav ul{
	list-style: none; 
}
#mainNav ul li {
	width:280px;
	margin-bottom:10px;
	margin-left:-20px;	
	text-shadow:1px 2px 1px #C3FF68; /*모바일 메뉴 글씨색깔 밑 그림자*/
}
#mainNav a, #mainNav a:visited {
	display: block; 	
	border:1px solid #ccc;
	border-radius:10px;
	padding: 10px 5px;
	text-align:center;
	text-decoration: none;
}
#content{
	width: 320px;
	padding:5px;
}
#center {
	width:320px;
	margin-top:5px;
	text-align:center;		
	background:#fff; 
}
#center img {
	border: 1px solid #CCC;
	width: 100%;	
}
#center iframe {
	border: 1px solid #CCC;
	width: 90%;	
}
#sidebar {
	width:320px;
	margin-top:5px;
	text-align:center;		
	background:#fff;
}
#sidebar img {
	border: 1px solid #CCC;
	width:100%;	
}
}
@media screen and (min-width:850px) and (max-width:1023px) {
#container {
	width:870px;
}
#mainHeader{
	height:340px;
	margin-top:0;
	background-image:url(main/bg-mid01.gif);/*태블릿 배경화면*/
	background-repeat:no-repeat;
	background-position:center top;
}
#mainHeader h1{
	position:absolute;
	margin-top:20px;  /*태블릿 배경화면 위 서울성경교회 글씨 위치 위아래*/
	margin-left:420px;  /*태블릿 배경화면 위 서울성경교회 글씨 위치 오른쪽 왼쪽*/
}	
.header1{
	font-family: 한겨레결체;
	font-size:4em;
	color:#b9ee87; /*배경글씨색깔*/
	text-shadow:0px 2px 2px #000000;
}
#mainNav{
	background:#0a9b05;   /*태블릿 윗메뉴 바탕색깔 F0F0D8 */
	margin-top:-15px;
	width:870px;  /*초록색띠바탕 넓이조정 */
	height:60px;
	text-shadow:0px 2px 2px #0e4300; /*태블릿 메뉴 글씨색깔 밑 그림자*/
}

#mainNav ul{
	list-style: none; 
	height:40px;
	padding-top:12px;
	padding-bottom:5px;
	font-family: "바탕한체", arial;
	font-size:1.9em;  /*태블릿 메뉴 글씨크기*/
}
#mainNav ul li {   /*태블릿 메뉴 글자정렬방식 가로세로인지 오른쪽인지 중앙인지*/
	display:inline-block;   
            line-height: normal;
	text-align:center;		
	float: center;  /* 태블릿 메뉴 글자 왼쪽부터 가는지*/
}
#mainNav a, #mainNav a:visited {
	padding: 1px 5px 5px 5px;
	display: inline-table;   /*태블릿 메뉴 글자  한줄로 쭉갈건지 두줄로 갈건지 */
	color:rgb(253, 255, 246);  /*태블릿 메뉴 글씨색깔 */
	text-shadow:0px 2px 2px #000000;
	width: 100px; 
	text-decoration: none;
}
#content {	
	width: 850px;
	padding:10px;
}
#center {
	width:840px;  
	margin-top:2px;   /*가운데 사진중간 위여백 */
	margin-left:10px;
	text-align:center;		
	background:#fff; 
}
#center img {
	border: 1px solid #CCC;
	width: 100%;	
}
#center iframe {
	border: 1px solid #CCC;
	width: 100%;	
}
#sidebar {                            /*태블릿 메뉴 맨밑갤러리사진 크기 및 정렬 방식*/
		display: inline-block;
	width: 850px;
	height:auto;
	background-color:#E8DDCB;
	margin-top:5px;  /*태블릿 메뉴 위 여백*/
	margin-left:15px;  /*태블릿 메뉴 왼쪽 여백*/
}
#sidebar img {                            /*태블릿 메뉴 맨밑갤러리사진 크기퍼센트 및 정렬 방식*/

	display: inline-block;
	border: 1px solid #ccc;
	text-align: left;
	width:32.1%;

}
}

@media screen and (min-width:1024px) {/*인터넷배경화면*/
#container {
	width:850px;
}
#mainHeader{
	height:300px;
	margin-top:0;
	background-image:url(main/bg-big01.gif)
	
	
	
	; /*인터넷배경화면*/
	background-repeat:no-repeat;
	background-position:left top;
}
#mainHeader h1{
	position:absolute;
	margin-top:25px;  /*맨위사진글씨 상하위치*/
	margin-left:620px; /*맨위사진글씨 좌우위치*/
}	
.header1{
	font-family: 한겨레결체;
	font-size:4em;
	color:#FCFBE3; /*인터넷배경글씨색깔*/
	text-shadow:0px 2px 2px #A40802;
}
#mainNav{
	background:#193f09;
	margin-top:-70px;
        margin-right:10px;
        
	width:850px;  /*초록색메뉴 세로길이*/
	height:60px;  /*초록색메뉴 높이길이*/
}

#mainNav ul{
	list-style: none; 
	height:60px;
	padding: 0px;
}
#mainNav ul li {
	text-align: center;
	display: inline-block;
	float:left;
	margin-top:1px;
        margin-left:1px;
        font-size:1.5em; /*인터넷메뉴글씨크기 -메인메뉴*/
	
}
#mainNav a, #mainNav a:visited {
	padding: 10px 5px 5px 35px;
	display: block;
	color:#fff;
	width: 100px; 
	text-decoration: none;
}
#content {	
	width: 730px;
	float: left;
}
#center {
	width:730px;
	margin-top:5px;
	text-align:center;		
	background:#fff; 
}
#center img {
	border: 1px solid #CCC;
	width: 100%;	
}
#center iframe {
	border: 1px solid #CCC;
	width: 100%;	
}
#sidebar {
	float: right;
	width: 200px;
	height:auto;
	background-color:#E8DDCB;
	padding-top:31px;
	padding-left:10px;
	padding-right:10px;
    padding-bottom:31px;
}
#sidebar img {
	margin-bottom: 5px;
	border: 1px solid #ccc;
	text-align:center;
}
}
