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

@-webkit-keyframes w-rotating {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(-360deg);
    }
}

@-moz-keyframes moz-rotating {
    0% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(-360deg);
    }
}

@-o-keyframes o-rotating {
    0% {
        -o-transform: rotate(0deg);
    }
    100% {
        -o-transform: rotate(-360deg);
    }
}

@keyframes rotating {
    0% {
        transform: rotate(0deg);
    }
    100% {
       	transform: rotate(-360deg);
    }
}

.rotated {
	@time: 2s;

	-webkit-animation: w-rotating @time linear infinite;
	-moz-animation: moz-rotating @time linear infinite;
	-o-animation: o-rotating @time linear infinite;
	animation: rotating @time linear infinite;
}

@black: #000000;

#page {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 1200;
    min-height: 600px;
    
    .start {
    	position: relative;
    	height: 600px;
    	font-family: ProximaNova-Regular;
    	font-size: 14px;
    	line-height: 17px;
    	background-color: @black;
    	
    	.centered {
    		position: absolute;
    		width: 600px;
    		left: 50%;
    		margin-left: -300px;
    		z-index: 2;
    		text-align: center;
    		
    		color: #ffffff;
    		
    		a {
    			color: #ffffff;
    		}
    	}
    	
    	.title {
    		height: 160px;
    		top: 100px;
    		background-image: url(../images/2.png);
    		.centered;
    	}
    	
    	.authors {
    		top: 320px;
    		.centered;
    	}
    	
    	.description {
    		top: 380px;
    		.centered;
    	}
    	
    	.circle {
    		position: absolute;
    		width: 372px;
    		height: 372px;
    		top: 160px - 186px;
    		left: 50%;
    		margin-left: -186px;
    		z-index: 1;
    		background-image: url(../images/1.jpg);
    		.rotated;
    	}
    }
    
    .action {
    	height: 1200px;
    	background-color: @black;
    	position: relative;
    	
    	.circles {
    		width: 100%;
    		height: 100%;
    		position: relative;
    		overflow: hidden;
    		
    		.end {
    			font-family: ProximaNova-Extrabld;
    			font-size: 28px;
    			line-height: 33px;
    			position: absolute;
    			width: 650px;
    			top: 950px;
    			left: 50%;
    			margin-left: -325px;
    			color: #ffffff;
    			z-index: 10;
    			text-align: center;
    		}
    		
    		.controller {
    			position: absolute;
    			width: 66px;
    			height: 66px;
    			cursor: pointer;
    			left: 50%;
    			z-index: 10;
    			
    			&.left {
    				background-image: url(../images/arrow_left.png);
    			}
    			
    			&.right {
    				background-image: url(../images/arrow_right.png);
    			}
    		
    			&.first {
    				top: 90px;
    			
					&.left {
						margin-left: -300px;
					}
					
					&.right {
						margin-left: 60px;
					}
    			}
    			
    			&.second {
    				top: 420px;
    			
    				&.left {
    					margin-left: 70px;
    				}
    				
    				&.right {
    					margin-left: 425px;
    				}
    			}
    			
    			&.third {
    				top: 720px;
    			
    				&.left {
    					margin-left: -290px;
    				}
    				
    				&.right {
    					margin-left: 60px;
    				}
    			}
    		}
    		
    		.mask {
    			position: absolute;
    			width: 1592px;
    			height: 1431px;
    			background-image: url(../images/mask.png);
    			top: 0px;
    			margin-left: -715px;
    			left: 50%;
    			z-index: 5;
    		}
    		
    		.circle {
    			position: absolute;
    			left: 50%;
    			-webkit-transform: translateZ(0);
    			background-position: center center;
    			.radius;
    			
    			@duration: 2s;
    			@bezier: cubic-bezier(.74,1,.69,.84);
    			
    			-webkit-transition: all @duration @bezier;
    			-moz-transition: all @duration @bezier;
    			-o-transition: all @duration @bezier;
    			transition: all @duration @bezier;
    			
    			&.first {
    				width: 727px;
    				height: 725px;
    				background-image: url(../images/krug1.jpg);
    				top: 0px;
    				margin-left: -445px;
    				z-index: 2;
    			}
    			
    			&.second {
    				width: 1172px;
    				height: 1172px;
    				background-image: url(../images/krug2.jpg);
    				top: 265px;
    				margin-left: -300px;
    				z-index: 3;
    			}
    			
    			&.third {
    				width: 1172px;
    				height: 1172px;
    				background-image: url(../images/krug3.jpg);
    				top: 550px;
    				margin-left: -680px;
    				z-index: 4;
    			}
    		}
    	}
    }
}

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