/* 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;
}

@width: 1200px;
@bg_color: #f1f1f3;
@blue: #1f34f8;

body, html {
	padding:  0px;
	margin:  0px;
	width: 100%;
	min-width: @width;
	background-color: @bg_color;
}

.combo-box {
	position: relative;
	width: 380px;
	height: 40px;
	line-height: 40px;
	border: @blue 3px solid;
	font-size: 20px;
	color: @blue;
	background-color: @bg_color;
	font-family: ProximaNova-Extrabld;
	
	.active {
		cursor: pointer;
		
		.ico {
			position: absolute;
			right: 3px;
			top: 3px;
			background-color: @bg_color;
			background-image: url( ../images/arrow.png );
			background-size: 14px 23px;
			width: 36px;
			height: 36px;
			background-repeat: no-repeat;
			background-position: 14px center;
			
			&:before {
				content: '';
				position: absolute;
				height: 40px;
				margin-left: 0px;
				margin-top: -3px;
				width: 3px;
				background-color: @blue;
			}
		}
	}
	.item {
		cursor: pointer;
		line-height: 35px;
		height: 40px;
		padding: 5px 15px;
		text-align: left;
		overflow: hidden;
		.box-sizing;
		color: @blue;
	}
	.list {
		position: absolute;
		display: none;
		z-index: 10;
		background: @bg_color;
		width: 100%;
		top: 40px;
		margin-top: 3px;
		margin-left: -3px;
		border: @blue 3px solid;
		border-top: none;
		padding-top: 0px;
		
		.item:hover {
			background-color: fadeout( @blue, 30% );
			color: #ffffff;
		}
		.selected {
			background-color: @blue!important;
			color: #ffffff;
			cursor: pointer;
		}
	}
	&.border {
		border: 1px solid #fff;
		.ico {
			top: 5px;
		}
	}
}

#page {
	.start {
		width: @width;
		margin: 0 auto;
		position: relative;
		height: 1100px;
		
		.image {
			position: absolute;
			z-index: 1;
			width: 405px;
			height: 419px;
			background-image: url(../images/zah.jpg);
			top: 50px;
			left: 50%;
			margin-left: -202px;
		}
		
		.title {
			position: absolute;
			z-index: 1;
			font-family: ProximaNova-Extrabld;
			font-size: 20px;
			line-height: 24px;
			color: @blue;
			width: 405px;
			padding-right: 90px;
			.box-sizing;
			height: 85px;
			top: 570px;
			left: 50%;
			margin-left: -202px;
			
			&:before {
				content: '';
				position: absolute;
				width: 43px;
				height: 43px;
				background-image: url(../images/a.png);
				margin-top: -70px;
				margin-left: 0px;
			}
		}
		
		.description {
			position: absolute;
			z-index: 1;
			font-family: ProximaNova-Regular;
			font-size: 17px;
			line-height: 24px;
			width: 600px;
			top: 700px;
			left: 50%;
			margin-left: -300px;
		}
		
		.background {
			position: absolute;
			z-index: 1;
			width: 221px;
			height: 554px;
			top: 350px;
			left: 50px;
			background-image: url(../images/bg.jpg);
		}
	}
	
	.action {
		width: @width;
		margin: 0 auto;
		position: relative;
		
		.controls {
			width: 600px;
			margin: 0 auto;
			
			.section {
				margin-bottom: 150px;
				
				.title {
					width: 300px;
					color: #000000;
					font-family: ProximaNova-Extrabld;
					font-size: 20px;
					line-height: 24px;
					margin-bottom: 30px;
					
					&:before {
						content: '';
						position: absolute;
						width: 45px;
						height: 43px;
						margin-top: -70px;
						margin-left: 0px;
					}
				}
			}
			
			.country {
				.title {
					&:before {
						background-image: url(../images/1.png);
					}
				}
			}
			
			.time {
				.title {
					&:before {
						background-image: url(../images/2.png);
					}
				}
				
				.field {
					.radio-button {
						border: @blue 3px solid;
						.radius(10px);
						float: left;
						padding: 5px 25px;
						margin-right: 20px;
						cursor: pointer;
						font-family: ProximaNova-Regular;
						font-size: 20px;
						line-height: 24px;
						color: @blue;
						
						&.active {
							background-color: @blue;
							color: #ffffff;
							cursor: default;
						}
					}
				}
			}
			
			.result {
				margin-bottom: 0px;
				display: none;
			
				.title {
					&:before {
						width: 43px;
						background-image: url(../images/3.png);
					}
				}
			}
		}
		
		.results {
			width: 800px;
			margin: 0 auto;
			display: none;
			opacity: 1;
			.transition(200ms);
			
			&.hidden {
				opacity: 0;
			}
			
			.sections {
				width: 800px;
				
				.section {
					float: left;
					width: 230px;
					margin-left: 55px;
					
					.photo {
						width: 230px;
						height: 170px;
						background-size: cover;
						margin-bottom: 30px;
					}
					
					.title {
						font-family: ProximaNova-Extrabld;
						font-size: 20px;
						line-height: 24px;
						color: @blue;
						margin-bottom: 30px;
					}
					
					.name {
						font-family: ProximaNova-Extrabld;
						font-size: 20px;
						line-height: 24px;
						margin-bottom: 30px;
					}
					
					.description {
						font-family: ProximaNova-Regular;
						font-size: 14px;
						line-height: 20px;
					}
				}
				
				.music {
					margin-left: 0px;
				}
			}
		}
		
		.again {
			padding: 50px 0px;
			display: none;
		
			.button {
				margin: 0 auto;
				border: @blue 3px solid;
				.radius(10px);
				padding: 5px 0px;
				width: 250px;
				margin: 0 auto;
				cursor: pointer;
				font-family: ProximaNova-Regular;
				font-size: 20px;
				line-height: 24px;
				color: @blue;
				text-align: center;
				
				&:hover {
					background-color: @blue;
					color: #ffffff;
				}
			}
		}
	}
	
	.footer {
		padding-top: 50px;
		padding-bottom: 100px;
		border-top: @blue 3px solid;
	}
}

.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;
					}
				}
			}
		}
	}
}