/* ------------------------------------------------------------------------------------
--  RESET
------------------------------------------------------------------------------------ */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
   width:100%;
   height:100%;
}
ol, ul {
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ------------------------------------------------------------------------------------
--  GENERAL
------------------------------------------------------------------------------------ */
html, body { 
	width:100%;
    font-family:'Varela', Helvetica, Arial, FreeSans, sans-serif;
    font-size:100%;
    background: #000;
	margin:0;
	padding:0;
}
#wrapper{
	float:left;
	width:100%;
	background:#000;
}
/* ------------------------------------------------------------------------------------
--  LEAF ANIMATION
------------------------------------------------------------------------------------ */
#leaf-wrap{
	float:right;
	width:100%;
}

/* Defines the position and dimensions of the leafContainer div */
#leafContainer{
    position:absolute;
	z-index:10;
    width: 5%;
    height: 100%;
	right:60px;
}
/* This CSS rule is applied to all div elements in the leafContainer div.
   It styles and animates each leafDiv.
*/
#leafContainer > div 
{
    position: absolute;
    width: 40px;
    height: 40px;
    
    /* We use the following properties to apply the fade and drop animations to each leaf.
       Each of these properties takes two values. These values respectively match a setting
       for fade and drop.
    */
    -webkit-animation-iteration-count: infinite, infinite;
    -webkit-animation-direction: normal, normal;
    -webkit-animation-timing-function: linear, ease-in;
}

/* This CSS rule is applied to all img elements directly inside div elements which are
   directly inside the leafContainer div. In other words, it matches the 'img' elements
   inside the leafDivs which are created in the createALeaf() function.
*/
#leafContainer > div > img {
     position: absolute;
     width: 40px;
     height: 40px;

    /* We use the following properties to adjust the clockwiseSpin or counterclockwiseSpinAndFlip
       animations on each leaf.
       The createALeaf function in the Leaves.js file determines whether a leaf has the 
       clockwiseSpin or counterclockwiseSpinAndFlip animation.
    */
     -webkit-animation-iteration-count: infinite;
     -webkit-animation-direction: alternate;
     -webkit-animation-timing-function: ease-in-out;
     -webkit-transform-origin: 50% -100%;
}
/* Hides a leaf towards the very end of the animation */
@-webkit-keyframes fade
{
    /* Show a leaf while into or below 95 percent of the animation and hide it, otherwise */
    0%   { opacity: 1; }
    95%  { opacity: 0.7; }
    100% { opacity: 0; }
}
/* Makes a leaf fall from -300 to 600 pixels in the y-axis */
@-webkit-keyframes drop
{
    /* Move a leaf to -300 pixels in the y-axis at the start of the animation */
    0%   { -webkit-transform: translate(0px, -50px); }
    /* Move a leaf to 600 pixels in the y-axis at the end of the animation */
    100% { -webkit-transform: translate(0px, 650px); }
}
/* Rotates a leaf from -50 to 50 degrees in 2D space */
@-webkit-keyframes clockwiseSpin
{
    /* Rotate a leaf by -50 degrees in 2D space at the start of the animation */
    0%   { -webkit-transform: rotate(-50deg); }
    /*  Rotate a leaf by 50 degrees in 2D space at the end of the animation */
    100% { -webkit-transform: rotate(50deg); }
}
/* Flips a leaf and rotates it from 50 to -50 degrees in 2D space */
@-webkit-keyframes counterclockwiseSpinAndFlip 
{
    /* Flip a leaf and rotate it by 50 degrees in 2D space at the start of the animation */
    0%   { -webkit-transform: scale(-1, 1) rotate(50deg); }
    /* Flip a leaf and rotate it by -50 degrees in 2D space at the end of the animation */
    100% { -webkit-transform: scale(-1, 1) rotate(-50deg); }
}
/* ------------------------------------------------------------------------------------
--  MAIN CONTENT
------------------------------------------------------------------------------------ */
#main-content{
	position:absolute;
    z-index:2;
	width:901px;
	height:391px;
	background:url(../images/black-strip.png);
	background-repeat:no-repeat;
	color:#eaeaea;
}
/* ------------------------------------------------------------------------------------
--  TYPOGRAPHY STYLES FOR ALL CONTENT
------------------------------------------------------------------------------------ */
#main-content h1{
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-size: 25px;
	line-height: 200px;
	letter-spacing: 0.1em;
	text-align: center;
	width: 284px;
	color: #e9bb5e;
}
p.slogan{
	font-size: 10px;
	text-align: center;
	display: block;
	margin-top: -80px;
	text-transform: uppercase;
	color: #e9bb5e;
	font-family: Arial, Helvetica, sans-serif;
}
p{
	line-height:1.5em;
}

/* ------------------------------------------------------------------------------------
--  NAVIGATION STYLES
------------------------------------------------------------------------------------ */
nav a{
	text-decoration:none;
	outline:none;
}
nav#main{
	float: left;
	width: 250px;
	margin-top: 5px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
}
nav#main a{
	display:inline-block;
	color:#e9bb5e;/*yellow*/
	font-size:0.8em;
	text-transform:uppercase;
	-moz-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	-khtml-transition: all 0.3s ease-out;
	-ms-transition: all 0.3s ease-out;
	-webkit-transition: all 0.3s ease-out;
	width:148px;
}
#main-nav-wrap li{
	margin-bottom:5px;
	height:30px;
}
#main-nav-wrap a:hover{
	padding: 0 0 0 20px;
}
li.last{
	padding-bottom:0;
}
#main-nav-wrap{
	float:left;
	clear:both;
	width:306px;
	margin:20px 0 0 0;
}
#left-part{
	margin-right: 5px;
	float: left;
	width: 400px;
}
#right-part{
	margin-left:5px;
	float:right;
	width:148px;
}
#main-nav-wrap ul{
	list-style:none;
}
.digit{
	background:url(../images/buttons.png);
	background-repeat:no-repeat;
	width:30px;
	height:30px;
	margin:-5px 0 0 0;
    display:inline-block;
    text-align: center;
	font-family:'Georgia', serif;
	color:#000;
	vertical-align:middle;
}
.digit .number, .digit p{
	display:block;
	padding-top:5px;
}

/* ------------------------------------------------------------------------------------
--  INNER DIV STYLES FOR MAIN CONTENT
------------------------------------------------------------------------------------ */
#inner{
	float:left;
	margin:40px 20px;
	clear:both;
	position:relative;
	width:736px;
	height:200px;
}
#left{
	float: left;
	width: 300px;
	margin-right: 20px;
}
#right{
	float:right;
	width:394px;
}
/* ------------------------------------------------------------------------------------
--  SCROLLER (VERTICAL) STYLES
------------------------------------------------------------------------------------ */
#mcs_container{
	width:340px;
	height:200px;  
	margin:0; 
	float:left;
}
#mcs_container .customScrollBox{
	position:relative; 
	height:100%; 
	overflow:hidden;
}
#mcs_container .customScrollBox .container{
	position:relative; 
	width:306px; 
	top:0; 
	float:left;
}
#mcs_container .customScrollBox .content{
	clear:both;
	float:left;
}
#mcs_container .dragger_container{
	position:relative; 
	width:0px; 
	height:50%; 
	float:left; 
	margin:0 0 20px 20px; 
	cursor:pointer;
}
#mcs_container .dragger{
	position:absolute; 
	width:14px; 
	height:60px; 
	background:#e39e0f url(../images/dragger-arrows.png);
	background-repeat:no-repeat;
	overflow:hidden; 
	cursor:pointer; 
}
#mcs_container .dragger_pressed{
	position:absolute; 
	width:14px; 
	height:60px; 
	background:#e9bb5e; 
	overflow:hidden; 
	cursor:pointer; 
}
/*----------------------------
	Yellow push button
-----------------------------*/
a.yellow-button{
	display: inline-block;
	width:60px;
	height: 60px;
	padding:10px;
	background:#e39e0f url(../images/yellow-button.png);
	background-repeat:repeat;
	text-transform: uppercase;
	position:relative;
	text-align:center;
	line-height:60px;
	text-align:center;
	text-decoration: none !important;
	outline:none;!important;
	font-weight:bold;
	color:#eaeaea;
	font-size:0.9em;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
	bottom:0;
	margin:0;
	transition:0.15s linear;
	-moz-transition:0.15s linear;
	-webkit-transition:0.15s linear;
	box-shadow:0 1px 0 #76590f,0 0 1px rgba(0,0,0,0.3) inset, 1px 1px 1px rgba(0,0,0,0.4);
	-moz-box-shadow:0 1px 0 #76590f,0 0 1px rgba(0,0,0,0.3) inset, 1px 1px 1px rgba(0,0,0,0.4);
	-webkit-box-shadow:0 1px 0 #76590f,0 0 1px rgba(0,0,0,0.3) inset, 1px 1px 1px rgba(0,0,0,0.4);
	border-radius:50%;
	-moz-border-radius:50%;
	-webkit-border-radius:50%;
	-o-border-radius:50%;
	-khtml-border-radius:50%;
	-ms-border-radius:50%;
	position:relative;
	border:5px solid #eaeaea;
}
a.yellow-button:active{
	bottom:-10px;
	box-shadow:0 0 0 #76590f,0 0 20px rgba(0,0,0,0.5) inset;
	-moz-box-shadow:0 0 0 #76590f,0 0 20px rgba(0,0,0,0.5) inset;
	-webkit-box-shadow:0 0 0 #76590f,0 0 20px rgba(0,0,0,0.5) inset;
}
a.yellow-button:hover{
	color:#fff;
}
#button-container{
	text-align: center;
	position:absolute;
	top:64px;
	right:-80px;
	z-index:20;
}
/* ------------------------------------------------------------------------------------
--  BOTTOM LINE STYLES
------------------------------------------------------------------------------------ */
#black-line{
    width:100%;
	height:30px;
	background:rgba(0,0,0,0.7);
	position:fixed;
	z-index:100;
	bottom:0;
}
footer{
	float:left;
	width:100%;
	margin:5px 0;
	position:relative;
}
#social{
	float:left;
	position:absolute;
	top:0;
	left:20px;
}
a.tooltip {
    text-shadow:1px 1px 0 rgba(255, 255, 255, 0.7);
	text-transform:uppercase;
	text-decoration: none;
    color:#949493;
    outline: none;
	text-decoration: none;
	position: relative;
	font-size:0.8em;
}
a.tooltip span {
	margin: -50px 0 0 -999em;
	position: absolute;
	top:0;
	-moz-box-shadow:0 1px 0 rgba(0,0,0,0.2);
	-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.2);
	-o-box-shadow:0 1px 0 rgba(0,0,0,0.2);
	-khtml-box-shadow:0 1px 0 rgba(0,0,0,0.2);
    -ms-box-shadow:0 1px 0 rgba(0,0,0,0.2);
	box-shadow:0 1px 0 rgba(0,0,0,0.2);
    background: -moz-linear-gradient(19% 75% 90deg, #E0E0E0, #FAFAFA);
    background: -webkit-gradient(linear, left top, left bottom, from(#FAFAFA), to(#E0E0E0));
    background-image: -o-linear-gradient(top,rgb(250,250,250),rgb(224,224,224));
	border:1px solid rgba(255,255,255,0.4);
	padding:5px;
    letter-spacing:0.1em;
}
a.tooltip:hover span{
	position: absolute;
	z-index: 99;
	margin-left: 0; 
	cursor:none;
	font-size:0.8em;
	text-align:center;
}
a.tooltip:hover span.classic{
	width:80px;
	cursor:none;
	left:0; 
	top: 0; 
}
footer small{
	position:absolute;
	top:0;
	right:20px;
	color:#eaeaea;
	line-height:20px;
	margin:0 0 0 20px;
	font-size:0.8em;
}


/* ------------------------------------------------------------------------------------
--  makale STYLES
------------------------------------------------------------------------------------ */

.homelinkradius {
    background: #C90; /* Цвет фона */
    border: 1px solid  #999; /* Параметры рамки */
    padding: 5px; /* Поля вокруг текста */
    margin-bottom: 10px; /* Отступ снизу */
   }
   a{ text-decoration: none;
   color: #009;}
   .homelinkradius:hover{ color:#F00; background: #CC0;}