/*
Original design: Inland (v1.2 - Sep 12, 2012) - A free xhtml/css website template by Andreas Viklund.
For more information, see http://andreasviklund.com/templates/inland/
Includes:
jQuery v1.7.1 from http://jquery.org/
Nivo Slider v2.7.1 by Gilbert Pellegrom - http://nivo.dev7studios.com/
*/

@font-face {
    font-family: 'a_futuricaltthin';
    src: url('/fonts/12508.eot');
    src: url('/fonts/12508.eot?#iefix') format('embedded-opentype'),
         url('/fonts/12508.woff') format('woff'),
         url('/fonts/12508.ttf') format('truetype'),
         url('/fonts/12508.svg#a_futuricaltthin') format('svg');
    font-weight: normal;
    font-style: normal;

}
*{border:0;margin:0;padding:0;}

/* HTML elements */
body{background-color:#f2f2f2;color:#666;font-family:/*'Droid Sans',Tahoma,*/Arial,sans-serif; font-size:14px;line-height:18px;}
html {
	overflow-y: scroll;
}
html, body {
	height: 100%;
	-moz-box-sizing: border-box;
	box-sizing: border-box; 
}

a{color:#a54569;text-decoration:none;}
a:hover{color:#333;text-decoration:none;}
a img{border:none;}
h1,h2,h3,h4{clear:left;color:#5c5a5a;font-weight:400;margin:0.7em 0;font-family:'a_futuricaltthin';}
h1{font-size:34px;}
h2{font-size:31px;}
h3{font-size:25px;}
h1 span { color: #A54569; }
h1 a.text { color: #5C5A5A; }
p,ul{margin:0 0 20px 0;}
i,em {font-style:italic;}
b,strong {font-weight:700;}

/* Main wrappers */
#wrapper1240{background-color:#fff;margin:20px auto;width:1240px;}
#wrapper960{
	margin: 0px auto;
	width: 960px; 
	border-radius: 5px; 
	height: 100%; 
	padding: 20px 0; 
	position: relative;
	-webkit-box-sizing: border-box; 
	   -moz-box-sizing: border-box; 
			box-sizing: border-box; 
}
#wrapper760{background-color:#fff;margin:20px auto;width:760px;}
#wrapper600{background-color:#fff;margin:0 auto;width:600px;}
#wrapperfluid{background-color:#fff;margin:0 auto;max-width:1260px;}

#wrapper-for-footer {
	height: auto; 
	position: relative; 
	min-height: 100%; 
	background-color: #fff;
	margin-bottom: 20px;
}

#empty {
	height: 104px; 
	clear: both;
	position: relative;
}

/* Layout IDs */
#header{position:relative;}
#sitetitle{ float: none; margin:0; text-align: center; line-height: 40px; padding-top: 18px;}
#sitetitle h1 {font-size:40px;color:#777;margin:0;padding:0;}
#header-image{height:300px;margin:0;padding:0;}
#content{padding:15px 30px;background-color:#fff;}
#extended{padding:15px 30px;background-color:#fff;}
#extended a{text-decoration:underline;}

/* Top links menu */
#toplinks{background-color:#fafafa;padding:0 30px;}
#toplinks ul{list-style:none;margin:0;text-align:right;}
#toplinks ul li{display:inline-block;font-size:11px;margin:15px 0 12px 15px;}
#toplinks ul li a{color:#797777;}
#toplinks ul li a:hover{color:#2c2b2b;text-decoration:none;}

/* Main navigation menu */
#nav{float:none;font-family:'Droid Sans',Verdana,Tahoma,sans-serif;text-align:center;}
#nav ul{list-style:none;margin:30px 30px 26px 20px;}
#nav ul li{display:inline-block;text-align:right;height:auto;line-height:25px;margin-bottom:0;margin-left:25px;position:relative; //display:inline; //zoom: 1;}
#nav ul li a{color:#797777;display:block;font-size:20px;padding-top:0;text-transform:uppercase; }
#nav ul li a i {background-image: url(/images/ico.png); background-repeat: no-repeat; width: 24px; height: 24px; vertical-align: top; margin-right: 5px; display: inline-block; //display: inline; //zoom: 1;}
#nav ul li a:hover{color:#111;}
#nav ul li a.current{color:#000; cursor: text;}
#nav ul li a i.ico1 { background-position: 0 0; }
#nav ul li a i.ico2 { background-position: -30px 0; }
#nav ul li a i.ico3 { background-position: -60px 0; }
#nav ul li a:hover i.ico1,
#nav ul li a.current i.ico1 { background-position: 0 -30px; }
#nav ul li a:hover i.ico2,
#nav ul li a.current i.ico2 { background-position: -30px -30px; }
#nav ul li a:hover i.ico3,
#nav ul li a.current i.ico3 { background-position: -60px -30px; }


/* Columns */
#sidebar{width:33.3%;}
#main{width:66.6%;}
#trio1{float:left;width:33.3%;}
#trio2{float:left;width:33.3%;}
#trio3{float:right;width:33.3%;}
.inner{margin:5px 30px;}
#trio1 .inner{margin-left:0;}
#trio2 .inner{margin:0;}
#trio3 .inner{margin-right:0;}
.left .inner{margin-left:0;}
.right .inner{margin-right:0;}

/* Footer */
#footer{clear:both; background-color:#fff; height: 104px; margin-top: -124px; position: relative;}
#footer p{color:#777;font-size:12px;margin:0;padding:15px 30px;text-align:center;}
#footer a{color:#777;}
#footer a:hover{color:#333;}

/* Image alignment */
img.alignleft,img.aligncenter,img.alignright{background:#fff;padding:4px;margin-bottom:10px;border:1px solid #ddd;}
.alignleft{float:left;margin-right:30px;}
.alignright{float:right;margin-left:30px;}
.aligncenter{text-align:center;display:block;clear:both;margin:5px auto;}

/* Additional classes */
.shadow{background:url(/images/shadow.png) top center no-repeat;}
.clear{clear:both;}
.left{float:left;}
.right{float:right;}

/* Clearing fix */
.clearfix:after{clear:both;content:".";display:none;height:0;visibility:hidden;}
* html .clearfix{height:1%;}
*:first-child+html .clearfix{min-height:1%;}

/* Alternate color scheme, add class="altcolors" to the body tag to apply */
.altcolors{background-color:#e6e8e8;}
.altcolors #wrapper600, .altcolors #wrapper760, .altcolors #wrapper960, .altcolors #wrapper1240, .altcolors #wrapperfluid {box-shadow: 0px 0px 28px #888;}
.altcolors #toplinks, .altcolors #footer{background-color:#eaecec;}
.altcolors #content{background-color:#f2f4f4;}

/*
 jQuery Nivo Slider v2.7.1
 http://nivo.dev7studios.com
 Copyright 2011, Gilbert Pellegrom
 Free to use and abuse under the MIT license.
 http://www.opensource.org/licenses/mit-license.php
 */
.nivoSlider{position:relative;}
.nivoSlider img{position:absolute;top:0;left:0;}
.nivoSlider a.nivo-imageLink{position:absolute;top:0;left:0;width:100%;height:100%;border:0;padding:0;margin:0;z-index:6;display:none;}
.nivo-slice{display:block;position:absolute;z-index:5;height:100%;}
.nivo-box{display:block;position:absolute;z-index:5;}
.nivo-caption{position:absolute;left:0;bottom:0;background:#000;color:#fff;opacity:0.8;width:100%;z-index:8;}
.nivo-caption p{padding:5px;margin:0;}
.nivo-caption a{display:inline!important;}
.nivo-html-caption{display:none;}
.nivo-directionNav a{position:absolute;top:45%;z-index:9;cursor:pointer;}
.nivo-prevNav{left:0;}
.nivo-nextNav{right:0;}
.nivo-controlNav a{position:relative;z-index:9;cursor:pointer;}
.nivo-controlNav a.active{font-weight:700;}

/*
Skin Name: Nivo Slider Default Theme (modified)
Skin URI: http://nivo.dev7studios.com
Skin Type: flexible
Description: The default skin for the Nivo Slider, modified to work with the Inland One template.
Version: 1.2
Author: Gilbert Pellegrom (modified by Andreas Viklund)
Author URI: http://dev7studios.com
*/
.slider-wrapper .nivoSlider{position:relative;height:300px;margin-bottom:55px;}
.slider-wrapper .nivoSlider img{position:absolute;top:0;left:0;}
.slider-wrapper .nivoSlider a{border:0;display:block;}
.slider-wrapper .nivo-controlNav{position:absolute;left:50%;bottom:-41px;margin-left:-60px;/* Tweak this to center bullets */}
.slider-wrapper .nivo-controlNav a{display:block;width:22px;height:22px;background:url(/images/bullets.png) no-repeat;text-indent:-9999px;border:0;margin-right:3px;float:left;}
.slider-wrapper .nivo-controlNav a.active{background-position:0 -22px;}
.slider-wrapper .nivo-directionNav a{display:block;width:30px;height:30px;background:url(/images/arrows.png) no-repeat;text-indent:-9999px;border:0;}
.slider-wrapper a.nivo-nextNav{background-position:-30px 0;right:15px;}
.slider-wrapper a.nivo-prevNav{left:15px;}
.slider-wrapper .nivo-caption{font-family:'Droid Sans',Helvetica,Arial,sans-serif;background:rgba(0, 0, 0, 0.2);text-align:center;text-shadow:0 0 4px #111;}
.slider-wrapper .nivo-caption a{color:#fff;border-bottom:1px dotted #fff;}
.slider-wrapper .nivo-caption a:hover{color:#fff;}

/* Таблица с дробями */
.b-frac {
	border-collapse: collapse;
}

	.b-frac tr td {
		text-align: center;
		
		line-height: 20px;
		padding: 1px 2px;
	}

	.b-frac tr td.plus {
		padding: 0 10px;
	}
	
		.b-frac tr td.plus.big {
			padding-right: 5px;
		}

	.b-frac tr.second td {
		border-top: 1px solid #000;
	}

	
ins {
	display: inline-block;
	width: 0.2em;
}

sup,
sub {
	font-size: 0.6em;
}

	sup.matrix { padding-left: 10px}
	sub.matrix { margin-left: -12px}

.variant {
	margin-left: 30px; 
	font-size: 18px; 
	line-height: 30px;
}

.graph {
	padding: 0; 
	margin: 0; 
	height: 114px; 
	width: 136px; 
	overflow:hidden;
}

	.graph_mod {
		width: 290px;
		height: 120px;
		margin-top: 10px;
		vertical-align: bottom;
		display: inline-block;
		//display: inline;
		//zoom: 1;
	}
	
tt, s, kbd, samp {
	font-family: Arial, sans-serif;
	border-top: 1px solid;
	display: inline-block;
	//dispaly: inline;
	//zoom: 1;
}

tt {
	height: 12px;
	line-height: 12px;
}

s {
	height: 18px;
	line-height: 18px;
	text-decoration: none;
}

kbd {
	height: 24px;
	line-height: 24px;
}

samp {
	height: 18px;
	line-height: 18px;
}

.gothic {
	font-family: 'GothicG';
}

a[href^="tel:"] {
    color: #666;
    cursor: text;
    text-decoration: none;
}

textarea {
	resize: none;
}

.bstr {
	font-weight: bold;
}

ol.method {
	margin-left: 20px;
}

ol.method li {
	margin-bottom: 9px;
}

input[type=text],
input[type=submit],
textarea {
	border: 1px solid #d3d3d3;
	padding: 3px;
	font-family: Arial, sans-serif;
	font-size: 14px;
	width: 200px;
	border-radius: 2px;
	outline: none;
}

textarea  {
	width: 300px;
}

input.error,
textarea.error {
	border-color: #A54569;
}

input[type=submit] {
	background: #A54569;
	color: #eee;
	font-size: 16px;
	cursor: pointer;
	width: 100px;
	border: 1px outset #d3d3d3;
}

input[type=checkbox] {
	margin: 5px;
}

input[type=submit]:hover {
	color: #fff;
}

dl.form-online {
	margin-top: 9px;
}

dl.form-online dt,
dl.form-online dd {
	margin-bottom: 3px;
}

dl.form-online dd {
	margin-bottom: 9px;
}

dl.form-online dt span {
	font-size: 10px;
}

.addess {
	display: none;
}

table.calc {
	margin: -12px 0 0 -6px;
	line-height: 24px;
}

table.calc tr td {
	text-align: center;
	font-size: 14px;
	cursor: default;
}

table.calc tr td.itogo {
	text-align: right;
}

table.calc tr td.itogo div {
	margin: 1px 0 10px 0;
}

.vars_number {
	display: inline-block; 
	width: 32px; 
	line-height: 32px; 
	height: 32px; 
	border: 0; 
	text-align: center; 
	background: url(/images/ico_big.png) no-repeat; 
	color: #797777;
	font-weight:bold;
	//display: inline; 
	//zoom: 1; 
}

.vars_number:hover,
.vars_number.act {
	color: #000 !important;
}

.var_sender {
	margin-top: 6px;
}

.var_common {
	margin-top: 18px;
}

.social {
	text-align: center;
	padding-top: 21px; 
	margin-bottom: -9px;
}

.fb {
	width: 120px !important;
}

#vk_like {
	display: inline-block !important;
	//display: inline !important;
	//zoom: 1;
}

.bottom-20px {
	clear: both; 
	height:20px;
	//display: none;
}