/*
* Skeleton V1.2
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Reedit - latex
*/

/* ====================== Table of Content ========================== */
/*
	#Reset & Basics
	#Basic Styles
	#Site Styles
	#Typography
	#Links
	#Lists
	#Images
	#Buttons
	#Forms
	#Base 960 Grid (12 columns!)
	#Dynamic content
*/

/* ========================== Reset & Basics ======================== */
	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;
	}
	ins {
		text-decoration: none;
	}
	del {
		text-decoration: line-through;
	}
	sup {
		font-size: 12px ! important; 
		vertical-align: baseline; 
		font-style: normal;
		position: relative; 
		top: -0.2em;
		font-size: 65%;
		padding: 0 2px 0 2px;
		color: #000;
	}
	/* fixed footer */
	* {
		margin: 0;
		padding: 0;
	}
	html, body { height: 100%;}
	
/* ========================= Basic Styles========================= */
	body {
		line-height: 1;
		font: normal 14px/16px Arial, Helvetica, Tahoma, sans-serif;
		color: #202020;
		background-color: #F7F7F7;
		overflow-x:hidden;
		-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
		-webkit-text-size-adjust: 100%;
		text-rendering: optimizelegibility;
	}

/* ========================= Typography ========================= */
	h1, h2, h3, h4, h5, h6 {
		font-family: Arial, Helvetica, Tahoma, sans-serif;
		color: #202020;
		font-weight: normal;
	}
	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
	h1 { font-size: 24px; line-height: 32px; margin-bottom: 14px;}
	h2 { font-size: 22px; line-height: 30px; margin-bottom: 10px; }
	h3 { font-size: 20px; line-height: 28px; margin-bottom: 8px; }
	h4 { font-size: 18px; line-height: 26px; margin-bottom: 4px; }
	h5 { font-size: 16px; line-height: 24px; }
	h6 { font-size: 14px; line-height: 22px; }
	
	p {
		font-size: 14px;
		line-height: 24px;
		margin: 0 0 20px 0;
	}
	p:empty {
		display: none;
		margin-bottom: 0;
	}
	p img { margin: 0; }

	em 	   { font-style: italic; }
	strong { font-weight: bold; color: #333; }
	small   { font-size: 80%; }

/*	Blockquotes  */
	blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; }
	blockquote 			{ margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
	blockquote cite 		{ display: block; font-size: 12px; color: #555; }
	blockquote cite:before  { content: "\2014 \0020"; }
	blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }

	hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; }

/* ========================= Links ======================== */
	a {
		transition: all 0.3s ease-in-out;
		-moz-transition: all 0.3s ease-in-out;
		-webkit-transition: all 0.3s ease-in-out;
		-o-transition: all 0.3s ease-in-out;
	}
	a, a:focus, a:active, a:visited {
		color: #202020;
		text-decoration: none;
	}
	a:hover, a:active {
		color: #B20000;
	}
	p a, p a:visited { line-height: inherit; }
	:focus {	outline: 0;	}	
	a.ajax-link, a.ajax-link:visited {
		color: #000;
		border-bottom: 1px dotted #000;
		text-decoration: none;
	}
	a.ajax-link:hover {
		border: none ! important;
	}
	.hand {
		cursor:hand;
	}

/* ========================= Lists ========================= */
	ul 		{ list-style: none outside; }
	ol 		{ list-style: decimal; }
	ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
	ul.square { list-style: square outside; }
	ul.circle { list-style: circle outside; }
	ul.disc    { list-style: disc outside; }
	ul ul, ul ol, ol ol, ol ul 		   { margin: 4px 0 5px 30px; font-size: 90%;  }
	ul ul li, ul ol li, ol ol li, ol ul li { margin-bottom: 6px; }
	li    { line-height: 18px; margin-bottom: 12px; }
	li p { line-height: 21px; }

/* ========================= Images ======================== */
	img.scale-with-grid {
		max-width: 100%;
		height: auto; 
	}
	img.size-full {
		width: 100%;
		height: auto;
	}
	figure img {
		width: 100%;
		height: auto;
	}

/* ========================= Buttons ========================= */
	.button,
	button,
	input[type="submit"],
	input[type="reset"],
	input[type="button"] {
		background: #eee; /* Old browsers */
		background: #eee -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */
		background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2))); /* Chrome,Safari4+ */
		background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */
		background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */
		background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */
		background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */
	  border: 1px solid #aaa;
	  border-top: 1px solid #ccc;
	  border-left: 1px solid #ccc;
	  -moz-border-radius: 3px;
	  -webkit-border-radius: 3px;
	  border-radius: 3px;
	  color: #444;
	  display: inline-block;
	  font-size: 11px;
	  font-weight: bold;
	  text-decoration: none;
	  text-shadow: 0 1px rgba(255, 255, 255, .75);
	  cursor: pointer;
	  margin-bottom: 20px;
	  line-height: normal;
	  padding: 8px 10px;
	  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; }

	.button:hover,
	button:hover,
	input[type="submit"]:hover,
	input[type="reset"]:hover,
	input[type="button"]:hover {
		color: #222;
		background: #ddd; /* Old browsers */
		background: #ddd -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */
		background: #ddd -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */
		background: #ddd -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */
		background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */
		background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */
		background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */
	  border: 1px solid #888;
	  border-top: 1px solid #aaa;
	  border-left: 1px solid #aaa; }

	.button:active,
	button:active,
	input[type="submit"]:active,
	input[type="reset"]:active,
	input[type="button"]:active {
		border: 1px solid #666;
		background: #ccc; /* Old browsers */
		background: #ccc -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */
		background: #ccc -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.35)), color-stop(100%,rgba(10,10,10,.4))); /* Chrome,Safari4+ */
		background: #ccc -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */
		background: #ccc -o-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Opera11.10+ */
		background: #ccc -ms-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* IE10+ */
		background: #ccc linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */ }

	.button.full-width,
	button.full-width,
	input[type="submit"].full-width,
	input[type="reset"].full-width,
	input[type="button"].full-width {
		width: 100%;
		padding-left: 0 !important;
		padding-right: 0 !important;
		text-align: center; }

	/* Fix for odd Mozilla border & padding issues */
	button::-moz-focus-inner,
	input::-moz-focus-inner {
    border: 0;
    padding: 0;
	}


/* ========================== Forms ======================== */
	form 	{ margin-bottom: 20px; }
	fieldset    { margin-bottom: 20px; }
	input[type="text"],
	input[type="password"],
	input[type="email"],
	textarea,
	select {
		border: 1px solid #ccc;
		padding: 6px 4px;
		outline: none;
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		border-radius: 2px;
		font: 14px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
		line-height: 19px;
		color: #777;
		margin: 0;
		width: 210px;
		max-width: 100%;
		display: block;
		margin-bottom: 20px;
		background: #fff; }
	select { padding: 0; }
	input[type="text"]:focus,
	input[type="password"]:focus,
	input[type="email"]:focus,
	textarea:focus {
		border: 1px solid #aaa;
 		color: #444;
 		-moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
		-webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
		box-shadow:  0 0 3px rgba(0,0,0,.2); 
	}
	textarea { min-height: 60px; }
	label,
	legend {
		display: block;
		font-weight: bold;
		font-size: 13px; 
		line-height: 21px;		
	}
	select { width: 220px; }
	input[type="checkbox"] {
		display: inline; }
	label span,
	legend span {
		font-weight: normal;
		font-size: 13px;
		color: #444; }		
		
/* ========================== Base 960 Grid (12 cols) ======================== */

    .container                 { position: relative; width: 960px; min-width: 940px; margin: 0 auto; padding: 0; }
    .column, .columns    { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
    .row                            { margin-bottom: 20px; }

    /* Nested Column Classes */
    .column.alpha, .columns.alpha, #portfolio_block .columns.alpha    { margin-left: 0; }
    .column.omega, .columns.omega { margin-right: 0; padding-right: 0; }

    /* Base Grid */
    .container .one.column,
    .container .one.columns                     { width: 60px;  }
    .container .two.columns                     { width: 140px; }
    .container .three.columns                 { width: 220px; }
    .container .four.columns                   { width: 300px; }
    .container .five.columns                   { width: 380px; }
    .container .six.columns                     { width: 460px; }
    .container .seven.columns                 { width: 540px; }
    .container .eight.columns                 { width: 620px; }
    .container .nine.columns                   { width: 700px; }
    .container .ten.columns                     { width: 780px; }
    .container .eleven.columns               { width: 860px; }
    .container .twelve.columns               { width: 940px; }

	/* Fractions Grid */
	.container .one-second.column          { width: 480px; }
		
    .container .one-third.column            { width: 300px; }
    .container .two-thirds.column          { width: 620px; }
	
	.container .one-fourth.column          { width: 240px; }
    .container .two-fourth.column          { width: 480px; }
	.container .three-fourth.column      { width: 720px; }

    /* Offsets */
    .container .offset-by-one                  { padding-left: 80px;  }
    .container .offset-by-two                  { padding-left: 160px; }
    .container .offset-by-three              { padding-left: 240px; }
    .container .offset-by-four                { padding-left: 320px; }
    .container .offset-by-five                { padding-left: 400px; }
    .container .offset-by-six                  { padding-left: 480px; }
    .container .offset-by-seven              { padding-left: 560px; }
    .container .offset-by-eight              { padding-left: 640px; }
    .container .offset-by-nine                { padding-left: 720px; }
    .container .offset-by-ten                  { padding-left: 800px; }
    .container .offset-by-eleven            { padding-left: 880px; }

		
/* ========================Clearing========================== */

    /* Self Clearing Goodness */
    .container:after { 
		content: "\0020"; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden; 
	}

    /* Use clearfix class on parent to clear nested columns,
    or wrap each row of columns in a <div class="row"> */
    .clearfix:before,
    .clearfix:after,
    .row:before,
    .row:after {
      content: '\0020';
      display: block;
      overflow: hidden;
      visibility: hidden;
      width: 0;
      height: 0; 
	}
    .row:after, .clearfix:after { clear: both; }
    .row, .clearfix { zoom: 1; }
	  
	/* Holly Hack Targets IE Win only */
	* html .clearfix {height: 1%;}

    /* You can also use a <br class="clear" /> to clear columns */
    .clear {
      clear: both;
      display: block;
      overflow: hidden;
      visibility: hidden;
      width: 0;
      height: 0;
    }
	.hide { display: none ! important;}
	.hidden { visibility: hidden}
	.rel { position: relative;}
	
/*====================== Dynamic content ========================*/
#precontainer {
	height: 100%;
}
#bigimgfon {
		position: absolute;
		display: none;
		left: 0;
		top: 0;
		background: #000;
		width: 100%;
		height: 100%;
        z-index: 90;
        filter:alpha(opacity=75);
        -moz-opacity: 0.75;
        opacity: 0.75;
}
/* Убирает видимость фотографий!!
#imgsrc {
		display: none;
}*/
.bigimgbox, .bigimgbox_ajax {
	background:none;
	position: absolute;
	z-index:91;
	top: 70px;
	left: 50%;
	display: inline-block;
	margin-left: -106px;
}

.bigimgbox .rel_inner .rel.center {
	clear: both;
}
.hidden_layout {
	overflow:hidden;
	position: fixed ! important;
	-position: absolute ! important;
	width: 100%;	
}
.fixed_layout {
	position: fixed ! important;
	-position: absolute ! important;
}
.container-content-fixed {
	overflow: hidden;
	position: fixed;
	-positon: static;
	-overflow: visible;
}
#dynamicloader {
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -25px;
	width: 50px;
	height: 50px;
	z-index: 91;
	display: none;
	background: #fff;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-khtml-border-radius: 10px;
	-webkit-border-radius: 10px;
}
#dynamicloader div {
	width: 50px;
	height: 50px;
	background: url("/i/ajax/loader.gif") no-repeat 9px 9px;
}
.hidden_tmp {
	top: 0;
	/*visibility: hidden;*/
}
#feedback_close {
	display: block;
	width: 13px;
	height: 13px;
	background: url(/i/close.png);
	position: absolute;
	top: 0px;
	right: 11px;
	z-index: 10;
	cursor: pointer;
	opacity: 0.5;
	transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}
#feedback_close:hover {
	opacity: 1;
}
.dynamic_template {
	padding: 30px 0;
}
#bigimgbox {
	display: none;
}
.hidden_layout {
	overflow:hidden;
	position: fixed ! important;
	-position: absolute ! important;
	width: 100%;	
}
.fixed_layout {
	position: fixed ! important;
	-position: absolute ! important;
}
.container-content-fixed {
	overflow: hidden;
	position: fixed;
	-positon: static;
	-overflow: visible;
}
.hidden_tmp {
	top: 0;
	/*visibility: hidden;*/
}
.dynamic-content {
	position: relative;
	z-index: 92;
	color: #333;
}
.dynamic-content #dynamic_area {
	display: inline-block;
}

.bigimgbox .imgtitle {
	background: transparent;
	bottom: -25px;
	color: #FFFFFF;
	height: 25px;
	position: absolute;
	text-align: center;
	width: 100%;
}

	