/*	──────────────────────────────────────────────────────────────────────────────

	한글 폰트는 산돌고딕네오 우선, 없으면 본고딕, 드로이드 사용
	영문 폰트는 헬베티카, 본문은 45 light로 1픽셀 작게, 로고는 75 볼드
	
	Smart Phone(portrait and landscape)코드를 작성하고 desktop은 미디어 쿼리로 처리

	──────────────────────────────────────────────────────────────────────────────	*/




/*	──────────────────────────────────────────────────────────────────────────────

	공통 영역 

	──────────────────────────────────────────────────────────────────────────────	*/
@font-face {
    font-family: NotoSansCJKkr-Regular;
    font-style:normal;
    font-weight:normal;
    src:url(../font/NotoSansCJKkr-Regular.eot);/* ie6,7,8 */
    src:local(Noto Sans CJK KR Regular),/* 로컬에 있는 경우 */
    url(../font/NotoSansCJKkr-Regular.woff) format('woff');/* 그 외 모든 브라우져 */
}

html, body {
	padding: 0;
	margin: auto;
	font-family: 'Apple SD Gothic Neo', NotoSansCJKkr-Regular, sans-serif;
	min-width: 640px;
	background-color: #fff;
	font-size: 115%;  /*모바일에서 폰트 키워줌*/ 
}

@media all and (min-width:768px) {
	html, body {
		-webkit-text-size-adjust: none;
		-moz-text-size-adjust: none;
		-ms-text-size-adjust: none;
		font-size: 100%;
	}
}

a:link, a:hover, a:visited {
	text-decoration: none;
}




/*	──────────────────────────────────────────────────────────────────────────────

	back-obj

	──────────────────────────────────────────────────────────────────────────────	*/
#back-obj {
	position: fixed;
	top: 50px;
	left: 100px;
}
#back-obj img {
	-webkit-filter: hue-rotate(0deg);
}

@media all and (min-width:768px) {
	#back-obj {
		width: 100%;
		text-align: center;
		left: 0;
	}
}

#a_canvas {
	filter: blur(52px);
	-webkit-filter: blur(52px);
	-moz-filter: blur(52px);
	-o-filter: blur(52px);
	-ms-filter: blur(52px);
}




/*	──────────────────────────────────────────────────────────────────────────────

	grid

	──────────────────────────────────────────────────────────────────────────────	*/
#grid {
	position: absolute;
	top: 190px;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url(../img/horizontal_grid.png);
	background-color: rgba(0,0,0,0);
}

@media all and (min-width:768px) {
	#grid {
		top: 136px;
		background-image: url(../img/cross_grid.png);
		background-position: top center;
		
	}
}




/*	──────────────────────────────────────────────────────────────────────────────

	header

	──────────────────────────────────────────────────────────────────────────────	*/
#header {
	height: 180px;
	border-bottom: 10px solid rgba(255,255,255,0.12);
	display: none;
}
#logo-wrap {
	width: 123px;
	height: 28px;
	position: absolute;
	z-index: 2000;
}
#logo1 {
	width: 26px;
	height: 28px;
	position: absolute;
}
#logo2 {
	width: 27px;
	height: 28px;
	position: absolute;
	left: 28px;
}
#logo3 {
	width: 26px;
	height: 28px;
	position: absolute;
	left: 56px;
}
#logo4 {
	width: 31px;
	height: 28px;
	position: absolute;
	left: 92px;
}
#logo1 img, #logo2 img, #logo3 img {
	width: 100%;
	height: 100%;
}
#logo4 img {
	width: 31px;
	height: 24px;
	vertical-align: bottom;
	margin-bottom: -3px;
}

@media all and (min-width:768px) {
	#header {
		height: 128px;
		border-bottom: 8px solid rgba(255,255,255,0.12);
	}
	#logo-wrap {
		width: 92px;
		height: 20px;
	}
	#logo1 {
		width: 18px;
		height: 20px;
	}
	#logo2 {
		width: 18px;
		height: 20px;
		left: 19px;
	}
	#logo3 {
		width: 18px;
		height: 20px;
		left: 38px;
	}
	#logo4 {
		width: 26px;
		height: 20px;
		left: 64px;
	}
	#logo1 img, #logo2 img, #logo3 img, #logo4 img {
		width: 100%;
		height: 100%;
		vertical-align: bottom;
	}
	#logo4 img {
		margin-bottom: 0px;
	}
}

#setlang {
	position: absolute;
	top: 8px;
	right: 101px;
}
#setlang button {
	color: #000;
	opacity: 0.3;
	text-decoration: none;
	border: 0 none;
	background: transparent;
	padding: 0;
	display: none;
	font-size: 12px;
	font-family: inherit;
	vertical-align: top;
	cursor: pointer;
}
[lang=en] #setlang button.ko {
	display: inline;
}
[lang=ko] #setlang button.en {
	display: inline;
}


/*	──────────────────────────────────────────────────────────────────────────────

	boxes-wrap

	──────────────────────────────────────────────────────────────────────────────	*/
#boxes-wrap {
	position: absolute;
	margin: auto auto;
	width: 100%;
	display: none;
}

@media all and (min-width:768px) {
	#boxes-wrap {
		position: relative;
	}
}




/*	──────────────────────────────────────────────────────────────────────────────

	box

	──────────────────────────────────────────────────────────────────────────────	*/
.box {
	height: 112px; /* 원래 181px 이나 패딩값 만큼 줄여줌 */
	margin: 0;
	padding: 34px 20px;
	margin-bottom: 1px;
}
#boxes-wrap > .box {
	background-color: rgba(0,0,0,0.3);
}
a .box:hover {
	background-color: rgba(0,0,0,0.03);
}
.box-title {
	font-family: 'Apple SD Gothic Neo', NotoSansCJKkr-Regular, sans-serif;
	font-size: 1.3em; /* 21px->24px에 맞춤 */
	color: #000;
	opacity: 0.6;
	margin-bottom: 10px; /* 원래 18px이나 모바일에서 비율 안맞아 수정 */
}
.box-desc {
	font-family: Helvetica, sans-serif;
	font-style: normal;
	font-weight: 200;
	font-size: 1em; /* 16px->18px에 맞춤 */
	color: #000;
	opacity: 0.1;
}
p {
	margin: 0;
}
.box-content { 
	display: none;
}
.box-date {
	color: #000;
	opacity: 0.8;
	font-size: 0.6em;
	line-height: 1.6;
	padding-left: 0em;
}

@media all and (min-width:768px) {
	.box {
		width: 221px; /* 원래 240 * 280 이나 패딩값 만큼 줄여줌 */
		height: 247px;
		float: left;
		padding: 16px 9px;
		margin-right: 1px;
		margin-bottom: 1px;
	}
	#boxes-wrap > .box {
		background-color: transparent;
	}
	.box-title {
		font-size: 1em; /* 16px에 맞춤 */
		margin-bottom: 11px;
	}
	.box-desc {
		font-weight: 300;
		font-size: 0.81em; /* 13px에 맞춤 */
		opacity: 0.3;
	}
}




/*	──────────────────────────────────────────────────────────────────────────────

	footer

	──────────────────────────────────────────────────────────────────────────────	*/
footer {
	position: relative;
	text-align: right;
	font-family: Helvetica, sans-serif;
	font-style: normal;
	font-weight: 200;
	font-size: 0.7em;
	color: #000;
	opacity: 0.3;
	line-height: 1.1em;
	display: none;
}

@media all and (min-width:768px) {
	footer {
		position: absolute;
		font-size: 0.7em;
		display: none;
	}
}



/*	──────────────────────────────────────────────────────────────────────────────

	viewer

	──────────────────────────────────────────────────────────────────────────────	*/
#viewer {
	display: none;
	z-index: 1000;
}
#cover {
	width: 400px;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background-color: #fff;
	text-align: left;
}
#cover-wrap {
	position: absolute;
	left: 94px;
	right: 20px;
	height: 100%;
	padding-top: 32px;
}
#close {
	width: 22px;
	height: 22px;
	background: url('../img/close.png');
	position: absolute;
	cursor: pointer;
	-webkit-transition: all 0.6s ease-in-out;
	transition: all 0.6s ease-in-out;
}
#cover-toggle {
	width: 36px;
	height: 72px;
	position: absolute;
	top: 45%;
	left: 256px;
	background: url('../img/toggle_bg.png');
	cursor: pointer;
	display: none;
}
.open {
	position: absolute;
	width: 20px;
	height: 18px;
	top: 26px;
	left: 2px;
	background: url('../img/toggle.png');
	background-position: 0px 0px;
}
.closed {
	background: url('../img/toggle.png');
	background-position: -20px 0px;
}
#cover-title {
	margin: 85px 0px 0px 0px;
	font-family: 'Apple SD Gothic Neo', NotoSansCJKkr-Regular, sans-serif;
	font-weight: normal;
	font-size: 1.23em;
	color: #333;
	letter-spacing: -1;
}
#cover-title a {
	display: inline-block;
	width: 24px;
	height: 24px;
	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAUVBMVEUAAAAzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzP7ACfRAAAAGnRSTlMA8568gCdJYZLmzrdy9tLFwdrJpJ1+aj4ZCmCOoagAAAD/SURBVFjD7dZJDoMwEETRNhmwCZln3/+gWSVfCKscNbuE2sJ/sMHCUiistc/6vA1iyXJpN2Mxy1nIhbVmbKn6IAAEL4DgBRC8AIIXQHAAWtBAb2VBA2G367rTfn84LNZWWKwBC5NbdTVgo/uQfW9A7wPofQC9D6D3AfQ+gN4H0PsAeg+g++1ZAvXn3+0qgHq/5tsUgOwRBCB6BAk8sujfggKesdwjCIA7xj1bagCBfnxdAgj0w0UBINCP1wsAgX48ASCIXgAIopcAAr0PsCj6L09lG65t3osCENvkz3xAw4k0AzPw18BF/yfWF4tAar7ecQB4NgO/BuSJsxQmLb0Av9LUbeBW8twAAAAASUVORK5CYII=) no-repeat 50% 50%;
	background-size: 12px 12px;
	text-indent: -9em;
	overflow: hidden;
	vertical-align: middle;
	margin: -7px 0 0 -4px;
}
#cover-desc {
	margin: 6px 0px 0px 0px;
	font-family: 'Apple SD Gothic Neo', NotoSansCJKkr-Regular, sans-serif;
	font-weight: lighter;
	font-size: 0.8em;
	color: #000;
	opacity: 0.5;
}
#cover-content {
	margin: 14px 0px 0px 0px;
	font-family: 'Apple SD Gothic Neo', NotoSansCJKkr-Regular, sans-serif;
	font-weight: lighter;
	font-size: 0.8em;
	color: #999;
	line-height: 1.78em;
}
#switch {
	margin: 55px 0px 0px 0px;
	width: 104px;
	border: 1px solid #999;
	font-family: 'Apple SD Gothic Neo', NotoSansCJKkr-Regular, sans-serif;
	font-weight: lighter;
	font-size: 0.875em;
	color: #fefefe;
	height: 60px;
	cursor: pointer;
}
#pc, 
#m {
	box-sizing: border-box;
	width: 52px;
	height: 60px;
	padding: 9px;
	float: left;
	background-color: #fff;
	color: #404040;
}
#pc.on, 
#m.on {
	background-color: #404040;
	color: #fff;
}

@media all and (min-width:768px) {
	#viewer {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: white;
		text-align: center;
	}
	#frame {
		border: 32px solid white;
		box-sizing: border-box;
		width: 100%;
		height: 100%;
		padding: 0px;
		background-color: white;
	}
}

