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

.cover {
	background-size: cover;
	background-position: center center;
}

.transition( @duration:200ms, @target:all ) {
	-webkit-transition: @target @duration ease;
	-moz-transition: @target @duration ease;
	-o-transition: @target @duration ease;
	transition: @target @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;
}

.box-scale(@value) {
  -webkit-transform: scale(@value);
     -moz-transform: scale(@value);
      -ms-transform: scale(@value); 
       -o-transform: scale(@value);
          transform: scale(@value);
}

.transform-origin( @x, @y ) {
	transform-origin: @x @y;
	-ms-transform-origin: @x @y;
	-webkit-transform-origin: @x @y;
}

html, body {
	width: 100%;
	height: 100%;
}

.combo-box {
	position: relative;
	width: 460px;
	height: 50px;
	line-height: 50px;
	border: #ffffff 0px solid;
	border-right: #000000 0px solid;
	font-size: 12px;
	background-color: #ffffff;
	font-family: ProximaNova-Regular;
	
	&[data-list="you"] {
		margin-bottom: 50px;
	}
	
	&[data-list="want"] {
		margin-bottom: 10px;
	}
	
	&[data-list="we"] {
		margin-bottom: 50px;
	}
	
	&[data-list="because"] {
		margin-bottom: 50px;
	}
 	
	.active {
		cursor: pointer;
		
		.ico {
			position: absolute;
			right: 0px;
			top: 0px;
			background-color: #000000;
			background-size: 11px 8px;
			width: 40px;
			height: 50px;
			.transition;
			
			&:after {
				content: '';
				position: absolute;
				width: 20px;
				height: 10px;
				background-image: url(../images/triangle.png);
				margin-left: 10px;
				margin-top: 22px;
			}
			
			&:hover {
				top: 5px;
			}
		}
	}
	.item {
		cursor: pointer;
		line-height: 50px;
		height: 50px;
		padding-left: 15px;
		text-align: left;
		overflow: hidden;
		.box-sizing;
		color: #000000;
		font-family: ProximaNova-Regular;
		font-size: 16px;
		
		/*&[data-list-item="undefined"] {
			font-size: 16px;
			color: #a9a9a9;
		}*/
	}
	.list {
		position: absolute;
		display: none;
		z-index: 10;
		background: #fff;
		width: 100%;
		top: 50px;
		margin-top: 0px;
		margin-left: 0px;
		border: #ffffff 0px solid;
		border-top: none;
		padding-top: 0px;
		
		.item:hover {
			background-color: fadeout( #000000, 30% );
			color: #ffffff;
		}
		.selected {
			background-color: #000000!important;
			color: #ffffff;
		}
	}
	&.border {
		border: 1px solid #fff;
		
		.ico {
			top: 5px;
		}
	}
}

#page {
	width: 100%;
	height: 100%;
	min-width: 1200px;
	.cover;
	
	.start {
		height: 620px;
		position: relative;
	
		.title {
			position: absolute;
			width: 594px;
			height: 82px;
			background-image: url(../images/zah.gif);
			top: 30px;
			left: 50%;
			margin-left: -300px;
		}
		
		.lead {
			position: absolute;
			width: 132px;
			height: 103px;
			top: 160px;
			left: 50%;
			margin-left: -300px;
			background-image: url(../images/zah2.png);
		}
		
		.authors {
			position: absolute;
			width: 150px;
			margin-left: 142px;
			text-align: right;
			font-family: ProximaNova-Regular;
			font-size: 14px;
			line-height: 16px;
			top: 160px;
			left: 50%;
		
			a {
				color: #ed1b24;
			}
		}
		
		.description {
			position: absolute;
			width: 594px;
			height: 82px;
			top: 350px;
			left: 50%;
			margin-left: -300px;
			font-family: PTSerif-Regular;
			font-size: 16px;
			line-height: 27px;
		}
	}
	
	.action {
		position: relative;
		
		.petition {
			position: relative;
			top: 30px;
			width: 600px;
			margin: 0 auto;
			background-color: #fefdaa;
			padding: 30px 60px;
			.box-sizing;
			
			.title {
				text-align: center;
				margin: 0 auto;
				margin-bottom: 30px;
				width: 200px;
				height: 34px;
				background-image: url(../images/end.png);
			}
			
			.text {
				padding: 50px 0px;
				border-top: 4px solid #000000;
				border-bottom: 4px solid #000000;
				font-family: PTSerif-Regular;
				font-size: 23px;
				line-height: 37px;
			}
			
			.also {
				.also-title {
					text-align: left;
					font-size: 20px;
					line-height: 37px;
					padding: 20px 0px;
					margin-bottom: 0px;
				}
				
				.items {
					.item {
						margin-bottom: 10px;
					}
				}
			}
			
			.buttons {
				position: absolute;
				width: 145px;
				height: 105px;
				top: 160px;
				left: -120px;
				
				.button {
					width: 145px;
					height: 35px;
					cursor: pointer;
					
					&.vk {
						background-image: url(../images/vk.png);
						
						&:hover {
							background-image: url(../images/vk_hover.png);
						}
					}
					
					&.tw {
						background-image: url(../images/twitter.png);
						margin-left: 6px;
						
						&:hover {
							background-image: url(../images/twitter_hover.png);
						}
					}
					
					&.fb {
						background-image: url(../images/fb.png);
						margin-left: 6px;
						
						&:hover {
							background-image: url(../images/fb_hover.png);
						}
					}
				}
			}
		}
		
		.wanna-too {
			width: 600px;
			margin: 0 auto;
			position: relative;
			top: 30px;
			text-align: center;
			cursor: pointer;
			font-family: ProximaNova-Extrabld;
			font-size: 23px;
			line-height: 37px;
			background-color: rgba(255, 255, 255, 1);
			padding: 20px 0px;
			
			&:after {
				content: '';
				position: absolute;
				width: 270px;
				height: 4px;
				background-color: #000000;
				top: 53px;
				left: 50%;
				margin-left: -135px;
			}
		}
	
		.form {
			width: 600px;
			margin: 0 auto;
			background-color: #fefdaa;
			padding: 30px 60px;
			.box-sizing;
			
			.title {
				font-family: PTSerif-Regular;
				font-size: 27px;
				line-height: 50px;
			}
			
			.checkboxes {
				margin-top: 10px;
			
				.row {
					height: 30px;
					width: 460px;
					padding: 7px 0px;
					cursor: pointer;
				
					.checkbox {
						width: 29px;
						height: 29px;
						float: left;
						background-image: url(../images/galka.png);
					}
					
					.text {
						float: left;
						height: 30px;
						width: 430px;
						padding-left: 15px;
						font-family: ProximaNova-Regular;
						padding-top: 5px;
						font-size: 14px;
						line-height: 16px;
						.box-sizing;
					}
					
					&.active {
						.checkbox {
							background-image: url(../images/galka_2.png);
						}
					}
				}
			}
			
			.make {
				width: 474px;
				height: 81px;
				background-image: url(../images/button_end.png);
				cursor: pointer;
				margin-top: 50px;
				
				&:hover {
					background-image: url(../images/button_end_hover.png);
				}
			}
		}
		
		.after {
			width: 600px;
			margin: 0 auto;
			padding: 50px 0px;
			font-family: PTSerif-Regular;
			font-size: 16px;
			line-height: 22px;
			
			a {
				color: #ed1b24;
			}
		}
	}
	
	.footer {
		padding-top: 50px;
		padding-bottom: 100px;
	}
}

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

	.most-read {
		color: #000000!important;
	
		a {
			color: #000000!important;
		}
		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 {
		color: #000000!important;
	
		a {
			color: #000000!important;
		}
		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;
					}
				}
			}
		}
	}
}