/* RESET */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}

.clear {
	clear: both;
}

.social-share {
	margin-top:  50px;
	margin-left: 20px;
	position: fixed;
	z-index: 1000;
	
	&.pie {
		display: block;
	}
}

.transition( @duration: 400ms ) {
	-webkit-transition: all @duration ease;
	-moz-transition: all @duration ease;
	-o-transition: all @duration ease;
	transition: all @duration ease;
}

.box-sizing {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.radius( @value: 1000px ) {
	-webkit-border-radius: @value;
	border-radius: @value;
    background-clip: padding-box;
}

@yellow: #fffd30;
@black: #000000;
@white: #ffffff;
@green: #0b5733;
@strokeWidth: 3px;
@shadowShift: 8px;
@shift: 8px;
@blur: 9px;

body, html {
	padding:  0px;
	margin:  0px;
	width: 100%;
	min-width: 1200px;
}

.korean-text {
	font-family: ProximaNova-Extrabld;
	font-size: 61px;
	line-height: 73px;
	color: @yellow;
	text-shadow:
		@strokeWidth @strokeWidth 0px @black,
		-@strokeWidth @strokeWidth 0px @black,
		@strokeWidth -@strokeWidth 0px @black,
		-@strokeWidth -@strokeWidth 0px @black,
		@shadowShift @shadowShift @blur fadeout(@black, 25%),
		@shift @shift 0px @yellow,
		@strokeWidth + @shift @strokeWidth + @shift 0px @black,
		-@strokeWidth + @shift @strokeWidth + @shift 0px @black,
		@strokeWidth + @shift -@strokeWidth + @shift 0px @black,
		-@strokeWidth + @shift -@strokeWidth + @shift 0px @black,
		@shadowShift + @shift @shadowShift + @shift @blur fadeout(@black, 25%);
}

#page {
	/*background-image: url( ../images/3.jpg );
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;*/
	font-family: ProximaNova-Regular;
	width: 100%;
	
	.backgrounds {
		position: fixed;
		width: 100%;
		height: 100%;
		z-index: -1;
	
		.background {
			opacity: 0;
			width: 100%;
			height: 100%;
			position: absolute;
			top: 0px;
			left: 0px;
			background-size: cover;
			background-position: center center;
			.transition;
			
			&.shown {
				opacity: 1;
			}
		}
	}

	.start {
		position: relative;
		height: 1220px;
		
	
		.title {
			position: absolute;
			width: 563px;
			height: 495px;
			background-image: url( ../images/zah.png );
			top: 70px;
			left: 50%;
			margin-left: -281px;
		}
		
		.authors {
			text-align: center;
			width: 100%;
			top: 600px;
			position: absolute;
			color: @white;
			text-shadow: 1px 1px 1px @black;
		
			a {
				color: @white;
				text-decoration: none;
				font-size: 16px;
				line-height: 30px;
			}
		}
		
		.description {
			position: absolute;
			width: 100%;
			height: 450px;
			background-color: fadeout( @green, 25% );
			top: 700px;
		
			.inner {
				color: @white;
				width: 600px;
				margin: 0 auto;
				font-size: 16px;
				line-height: 30px;
				padding-top: 50px;
			}
			
			&:after {
				content: '';
				position: absolute;
				width: 139px;
				height: 134px;
				left: 50%;
				margin-left: -70px;
				background-image: url( ../images/arrow.png );
				margin-top: 15px;
			}
		}
	}
	
	.action {
		min-height: 800px;
		width: 900px;
		margin: 0 auto;
	
		.action-text {
			padding: 70px 0px;
			min-height: 300px;
			.korean-text;
		}
		
		.action-panel {
			.action-button {
				float: left;
				width: 322px;
				height: 102px;
				background-image: url( ../images/button.png );
				cursor: pointer;
				position: relative;
				
				&:hover {
					background-image: url( ../images/button_h.png );
				}
				
				&:before {
					content: '';
					position: absolute;
					width: 139px;
					height: 104px;
					left: 0%;
					margin-left: -105px;
					background-image: url( ../images/arrowleft.png );
					top: 50%;
					margin-top: -50px;
				}
				
				&.no-arrow {
					&:before {
						content: '';
						display: none!important;
					}
				}
			}
			
			.action-shares {
				float: left;
				margin-left: 5px;
				background-color: @yellow;
				padding: 32px 40px 32px 40px;
				.box-sizing;
				width: 540px;
			
				.action-share-item {
					display: inline-block;
					cursor: pointer;
					width: 145px;
					height: 35px;
					
					&.vk {
						background-image: url( ../images/vk.png );
						
						&:hover {
							background-image: url( ../images/vk_hover.png );
						}
					}
					
					&.fb {
						background-image: url( ../images/fb.png );
						
						&:hover {
							background-image: url( ../images/fb_hover.png );
						}
					}
					
					&.tw {
						background-image: url( ../images/twitter.png );
						
						&:hover {
							background-image: url( ../images/twitter_hover.png );
						}
					}
				}
			}
		}
	}
	
	.footer {
		background-color: rgba( 255, 255, 255, 0.5 );
		padding-top: 100px;
		padding-bottom: 100px;
	}
}

.comm {
	width: 920px;
	margin: 0 auto;
	
	@active_color: #ffca24;

	.most-read {
		margin-bottom: 30px;
	
		.container {
			width: 920px;
			margin: 0 auto;
		
			.label {
				padding: 30px 0px;
				font-family: PTSansPro-Caption;
				font-size: 19px;
			}
		
			.item {
				width: 200px;
				float: left;
				margin-left: 40px;
			
				.image {
					display: block;
					width: 200px;
					height: 200px;
					background-size: cover;
					background-position: 50% 50%;
				}
				
				.title {
					display: block;
					padding: 10px 0px;
					font-family: PTSerif-Regular;
					font-size: 18px;
					line-height: 20px;
					color: #000000;
					text-decoration: none;
				}
				
				.lead {
					font-family: PTSansPro-Caption;
					font-size: 12px;
					line-height: 13px;
				}
				
				&:nth-child(2) {
					margin: 0px;
				}
				
				&:hover {
					.title {
						color: @active_color;
					}
				}
			}
		}
	}
	
	.same-read {
		margin-bottom: 30px;
		
		.container {
			width: 920px;
			margin: 0 auto;
			
			.label {
				padding: 30px 0px;
				font-family: PTSansPro-Caption;
				font-size: 19px;
			}
			
			.item {
				width: 300px;
				height: 100px;
				margin-bottom: 30px;
				float: left;
				
				.image {
					display: block;
					width: 100px;
					height: 100px;
					float: left;
					background-size: cover;
					background-position: 50% 50%;
					.transition;
				}
				
				.info {
					float: left;
					width: 170px;
					padding: 0px 15px;
					
					.rubrics {
						margin-bottom: 15px;
						
						 a {
						 	color: #000000;
						 	text-decoration: none;
						 	font-family: MonoCondensed-Bold;
							font-size: 11px;
							line-height: 13px;
						 	
						 	&:hover {
						 		color: @active_color;
						 	}
						 }
					}
					
					.title {
						margin-bottom: 20px;
						display: block;
						font-family: PTSerif-Regular;
						font-size: 20px;
						line-height: 21px;
						color: #000000;
						text-decoration: none;
						
						&:hover {
							color: @active_color;
						}
					}
				}
				
				&:hover {
					.title {
						color: @active_color;
					}
				}
			}
		}
	}
}