/* 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:400ms, @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;
        -moz-transform-origin: @x @y;
        -o-transform-origin: @x @y;
        -webkit-transform-origin: @x @y;
}

html, body {
        width: 100%;
        height: 100%;
        background: #f1f4ef;
}

.no-select {
        -webkit-user-select: none;
        -moz-user-select: none;
}

@green: #83d141;
@lime: #c2e849;
@width: 900px;

#page {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: @width;
    min-height: 600px;
    
    .container {
    	width: @width;
    	margin: 0 auto;
    	position: relative;
    }
    
    .separator {
		width: 100%;
		height: 4px;
		border-top: 1px solid @green;
		border-bottom: 1px solid @green;
	}
    
    .start {
    	background-image: url(../images/bg.jpg);
    	background-attachment: fixed;
    	height: 370px;
    	.cover;
    
    	.title {
    		position: absolute;
    		top: 40px;
    		width: 582px;
    		height: 97px;
    		background-image: url(../images/zahod.png);
    	}
    	
    	.description {
    		position: absolute;
    		top: 161px;
    		left: 10px;
    		font-family: ProximaNova-Regular;
    		font-size: 13px;
    		line-height: 18px;
    		width: 560px;
    		height: 150px;
    		color: #ffffff;
    		
    		a {
    			color: #ffffff;
    		}
    	}
    	
    	.authors {
    		position: absolute;
    		top: 317px;
    		left: 10px;
    		font-family: ProximaNova-Regular;
    		font-size: 13px;
    		line-height: 18px;
    		width: 560px;
    		height: 150px;
    		color: #ffffff;
    		
    		a {
    			color: #ffffff;
    		}
    	}
    }
    
    .action {
    	.title {
    		font-family: ProximaNova-Extrabld;
    		font-size: 59px;
    		line-height: 71px;
    		padding: 20px 0px;
    		color: @green;
    	}
    	
    	.menu {
    		width: 300px;
    		height: 30px;
    		border: 1px solid @green;
    		overflow: hidden;
    		background-color: #ffffff;
    		margin: 15px 0px;
    		.radius(8px);
    	
    		.button {
    			font-family: ProximaNova-Regular;
	    		font-size: 16px;
	    		line-height: 30px;
	    		text-align: center;
	    		width: 150px;
	    		height: 30px;
	    		cursor: pointer;
	    		float: left;
	    		color: @green;
	    		
	    		&.active {
	    			cursor: default;
	    			background-color: @green;
	    			color: #ffffff;
	    			.radius(8px);
	    		}
	    		
	    		&.disabled {
	    			opacity: 0.5;
	    			cursor: default;
	    		}
    		}
    	}
    	
    	.content {
    		padding: 40px 0px;
    		
    		.kick {
    			width: 100%;
    			font-family: ProximaNova-Extrabld;
	    		font-size: 25px;
	    		line-height: 30px;
	    		display: table;
    			.box-sizing;
    			.transition;
    			
    			.name {
    				width: 600px;
    				padding: 20px 0px;
    				padding-left: 50px;
    				padding-right: 30px;
    				color: @green;
    				display: table-cell;
    				.box-sizing;
    			}
    			
    			.score {
    				width: 100px;
    				height: 100%;
    				color: @green;
    				display: table-cell;
    				vertical-align: middle;
    			}
    			
    			.vote {
    				width: 200px;
    				height: 100%;
    				display: table-cell;
    				vertical-align: middle;
    				
    				.button {
    					cursor: pointer;
			    		width: 150px;
			    		height: 30px;
			    		text-align: center;
			    		font-family: ProximaNova-Extrabld;
			    		font-size: 14px;
			    		line-height: 30px;
			    		color: #ffffff;
			    		background-color: @green;
			    		margin: 0 auto;
			    		.transition;
			    		.radius(12px);
			    		
			    		&:hover:not(.disabled) {
			    			background-color: @lime;
			    		}
			    		
			    		&.disabled {
			    			display: none;
			    		}
    				}
    			}
    			
    			&:hover {
    				background-color: fadeout(@green, 90%);
    			}
    		}
    	}
    	
    	.load {
    		cursor: pointer;
    		width: 180px;
    		height: 40px;
    		text-align: center;
    		font-family: ProximaNova-Extrabld;
    		font-size: 14px;
    		line-height: 40px;
    		color: #ffffff;
    		background-color: @green;
    		margin: 0 auto;
    		margin-bottom: 40px;
    		.transition;
    		.radius(12px);
    		
    		&:hover:not(.disabled) {
    			background-color: @lime;
    		}
    		
    		&.disabled {
    			opacity: 0.5;
    			cursor: default;
    		}
    	}
    	
    	.add {
    		margin-bottom: 40px;
    	
    		.title {
    			font-family: ProximaNova-Extrabld;
	    		font-size: 25px;
	    		line-height: 30px;
	    		color: @green;
    		}
    		
    		input {
    			outline: none!important;
    			width: 500px;
    			height: 60px;
    			font-family: ProximaNova-Extrabld;
	    		font-size: 25px;
    			line-height: 30px;
    			padding: 15px;
    			margin-bottom: 20px;
    			background-color: transparent;
    			border: 1px solid @green;
    		}
    		
    		.button {
    			cursor: pointer;
	    		width: 180px;
	    		height: 40px;
	    		text-align: center;
	    		font-family: ProximaNova-Extrabld;
	    		font-size: 14px;
	    		line-height: 40px;
	    		color: #ffffff;
	    		background-color: @green;
	    		.transition;
	    		.radius(12px);
	    		
	    		&:hover:not(.disabled) {
	    			background-color: @lime;
	    		}
	    		
	    		&.disabled {
	    			opacity: 0.5;
	    			cursor: default;
	    		}
    		}
    		
    		&.hidden {
    			display: none;
    		}
    	}
    	
    	.thanx {
    		font-family: ProximaNova-Extrabld;
    		font-size: 25px;
    		line-height: 30px;
    		color: @green;
    		display: none;
    		
    		&.hidden {
    			display: none;
    		}
    	}
    }
}

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

        .most-read {
                color: #000000!important;
        
                a {
                        color: #000000!important;
                }
                margin-bottom: 30px;
        
                .container {
                        width: 920px!important;
                        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;
                                        }
                                }
                        }
                }
        }
}