/**** Base styles ****/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 12px;
  font: inherit;
/*  vertical-align: baseline; */
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

html {
  overflow-y: scroll;
}

.box a:hover img { 
	display: block;

	z-index:0;
}

body { 
  font-family:Arial, sans-serif !important;
  font-size: 12px;
  color: #000000;
  line-height: 1.6em;
}






.header {
	position:fixed;
	top:0px;
	left:0px;
	height:100px;
	right:0px;
	background-color:#fff;
	margin-bottom:5px;
	z-index:9999;

}

.logo {
	position:fixed;
	float:left;
	left:15px;
	top: 20px;
	min-height: 17px;
	background: url(img/logo.png) no-repeat;
	min-width: 31px;
}
ul{
	float:left;
	padding:0;
	width:100%;
	margin:0;
	list-style-type:none;
}

.mainmenu {
	position:absolute;
	top:16px;
	left:183px;
	width:30%;
	font-size:15px;
}

.mainmenu a {
	float:left;
	text-decoration:none;
	color:#000;
	padding:0.2em 12px;
	font-weight: bold;
}

.search{
	position:absolute;
	top:19px;
	left:630px;
	font-size:15px;
}

#search{

}
.tftextinput{
		margin: 0;
		border: none !important;
		font-size: 15px;
		font-family: Arial, Helvetica, sans-serif !important

}

.footer {
	position:fixed;
	bottom:0;
	left:0;
	height:40px;
	right:0px;
	background-color:#fff;
	z-index:9999;
	padding-top:42px;

}

.copyright {
	width: 100%;
	padding-left: 15px;
	position:relative;
	float:left;
}

.share {
	position:absolute;
	left:425px;
	width:100%;
	float:left;
}

.follow {
	position:absolute;
	left:630px;
	width:100%;
	float:left;
}


.legal {
	position:absolute;
	left:835px;
	width:100%;
	float:left;
}

.row {
	width: 615px;
	
}

.row-last{
	width:700px;
	padding-bottom:590px;
}


.work  {
	width: 190px;
	margin: 5px 15px 5px 0;
	font-size: 12px;
	font-weight: normal;
	line-height: 1.2em;
	position:relative;
	float: left;
}


.work-last-row {
	padding-top:33px;
}

.work a{

}

.work a:hover {
	color:bfbfbf;
	text-decoration:underline;
}

.inwork {
	padding-bottom:50px;
}

.inwork img {
	vertical-align:top;
}

a img { 
	display:none;
}
.work a:hover img { 
	display: block;
	position:absolute;
	left:0px;
	top:35px;
	z-index:0;
}

.btt {
	text-decoration: underline;
}

a {
  color: #000000;
  text-decoration: none;

}

.contact {
	font-size:15px;
	line-height:21px;
}

a:hover {
  color: #333333;
}



h1, h2 {
  font-weight: 100;
  line-height: 1.2em;
  margin-bottom: 0.6em;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 25px;
  line-height:26px;
  font-weight:bold;
}

h3 {
  font-size: 17px;
  font-weight: bold;
}

p {
  font-weight: normal;
  line-height:17px;
}


h3, p, ul, ol, pre, dl {
  margin-bottom: 1.0em;
}

strong { font-weight: bold; }

/**** #site-nav ****/

#site-nav {
  position: absolute;
  width: 180px;
  padding:  0 10px;
}

#site-nav h1 {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 0.8em;
  padding-top: 10px;
}

#site-nav h1 a { color: #D26; }
#site-nav h1 a:hover { color: #A2C; }

#site-nav h2 {
  font-size: 17px;
  font-weight: normal;
  margin-bottom: 0.3em;
}

#site-nav ul {
  list-style: none;
  padding-left: 0;
  font-size: 12px;
}

#site-nav li {
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

#site-nav li a {
  display: block;
  padding: 3px 5px;
}

#site-nav li.current {
  background: #C8C5C2;
}

#site-nav li.current a { color: white; }
#site-nav li.current a:hover { color: #D26; }

#site-nav li ul { 
  margin-bottom: 0;
}

#site-nav li li {
  font-size: 11px;
}

#site-nav li li a {
  padding: 1px 5px 1px 15px;
}


#site-nav li.selected li a {
  padding: 3px;
  background: none;
}

#site-nav li.selected li a:hover {
  color: #D26;
}

/**** Content ****/

#contentT {
  padding: 100px 10px 82px 10px;
}

.newstext {
	padding:5px 0;
}


@media screen and (max-width: 1420px) {
	.visible-lg{
		display:none;
	}
	.no-height {
		display:none;
	}
	.kabinet-height {
		display:none;
	}
	
}
@media screen and (max-width: 615px) {
	.cab-height {
		display:none;
	}	
}	

/* screens smaller than 980 */
@media screen and (max-width: 980px) {

.header {
	max-width:100%;
	position:absolute;
	height:auto;
	right:0px;
/*	background-color:#009900; */
	margin-bottom:5px;
	z-index:9999;
}
  
.footer {
	max-width:100%;
	position:relative;
	bottom:auto;
	left:auto;
	height:auto;
	right:0px;
	background-color:#fff;
	z-index:9999;
	font-size: 50px;

}

.logo {
	position:relative;
	float:left;
	left:5px;
	top: 20px;
	min-height: 17px;
	background: url(/img/logo.png) no-repeat;
	min-width: 31px;
}
ul{
	float:left;
	padding:0;
	width:100%;
	margin:0;
	list-style-type:none;
}

.mainmenu {
	position:absolute;
	top:16px;
	left:90px;
	width:40%;
	font-size: large;
}

.mainmenu a {
	float:left;
	text-decoration:none;
	color:#000;
	padding:0.2em 12px;
	font-weight: bold;
}

.search{
	position:absolute;
	top:19px;
	left:420px;
	font-size:15px;
}

#search{

}
..tftextinput{
		margin: 0;
		border: none !important;
		font-size: 15px;

}

.copyright {
	position: relative;
	float: left;
	left: inherit;
	font-size: large;
	margin: 20px 0;
	padding-left:0;
}
.share {
	position: relative;
	float: left;
	left: inherit;
	font-size: large;
	margin: 20px 0;
}
.follow {
	position: relative;
	float: left;
	left: inherit;
	font-size: large;
	margin: 20px 0;
}
.legal {
	position: relative;
	float: left;
	left: inherit;
	font-size: large;
	margin: 20px 0;
}
}

/* screens smaller than 707 */
@media screen and (max-width: 707px) {

.header {
	max-width:100%;
	position:absolute;
	height:auto;
	right:0px;
/*	background-color:#0033ff; */
	margin-bottom:5px;
	z-index:9999;
}
  
.footer {
	max-width:100%;
	position:relative;
	bottom:auto;
	left:auto;
	height:auto;
	right:0px;
	background-color:#fff;
	z-index:9999;
	font-size: 50px;

}

.logo {
	position:relative;
	float:left;
	left:5px;
	top: 20px;
	min-height: 17px;
	background: url(/img/logo.png) no-repeat;
	min-width: 31px;
}
ul{
	float:left;
	padding:0;
	width:100%;
	margin:0;
	list-style-type:none;
}

.mainmenu {
	position:absolute;
	top:16px;
	left:90px;
	width:60%;
	font-size: large;
}

.mainmenu a {
	float:left;
	text-decoration:none;
	color:#000;
	padding:0.2em 12px;
	font-weight: bold;
}

.search{
	position:absolute;
	top:19px;
	left:420px;
	font-size:large;
}

#search{

}
.tftextinput{
		margin: 0;
		border: none !important;
		font-size: large;
}

.copyright {
	position: relative;
	float: left;
	left: inherit;
	font-size: large;
	margin: 20px 0;
	padding-left:0;
}
.share {
	position: relative;
	float: left;
	left: inherit;
	font-size: large;
	margin: 20px 0;
}
.follow {
	position: relative;
	float: left;
	left: inherit;
	font-size: large;
	margin: 20px 0;
}
.legal {
	position: relative;
	float: left;
	left: inherit;
	font-size: large;
	margin: 20px 0;
}
}

/* screens smaller than 540 */
@media screen and (max-width: 540px) {

.header {
	max-width:100%;
	position:absolute;
	height:auto;
	right:0px;
/*	background-color:#666; */
	margin-bottom:5px;
	z-index:9999;
}
  
.footer {
	max-width:100%;
	position:relative;
	bottom:auto;
	left:auto;
	height:auto;
	right:0px;
	background-color:#fff;
	z-index:9999;
	font-size: 50px;

}

.logo {
	position:relative;
	float:left;
	left:5px;
	top: 20px;
	min-height: 17px;
	background: url(/img/logo.png) no-repeat;
	min-width: 31px;
}
ul{
	float:left;
	padding:0;
	width:100%;
	margin:0;
	list-style-type:none;
}

.mainmenu {
	position:relative;
	top:auto;
	left:auto;
	width:100%;
	font-size: large;
	padding-left: 30px;
}

.mainmenu a {
	float:left;
	text-decoration:none;
	color:#000;
	padding:0.2em 12px;
	font-weight: bold;
}

.search{
	position:relative;
	top:auto;
	left:auto;
	font-size:large;
}

#search{

}
.tftextinput{
		margin: 0;
		border: none !important;
		font-size: large;
}

.copyright {
	position: relative;
	float: left;
	left: inherit;
	font-size: large;
	margin: 20px 0;
	padding-left:0;
}
.share {
	position: relative;
	float: left;
	left: inherit;
	font-size: large;
	margin: 20px 0;
}
.follow {
	position: relative;
	float: left;
	left: inherit;
	font-size: large;
	margin: 20px 0;
}
.legal {
	position: relative;
	float: left;
	left: inherit;
	font-size: large;
	margin: 20px 0;
}
}


.copy h2 {
  clear: both;
}

pre, code {
  font-family: Monaco, monospace;
  font-size: 12px;
  background: #111;
  color: #F5F5F5;
}

p code {
  padding: 1px 3px;
}

pre {
  padding: 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

ul, ol { padding-left: 1.3em;}

.hidden { display: none; }

.copy {
  width: 600px;
  line-height: 1.55em;
}

blockquote {
	margin: 0;
	font: italic 18px Georgia, serif;
}

dt {
  font-weight: bold;
  font-size: 14px;
}

dd + dt {
  margin-top: 0.5em;
}

dd {
  margin-left: 1.0em;
}

button {
  -webkit-appearance: push-button;
}

#footer {
  clear: both;
  margin: 20px 0px;
  border-top: 1px solid #BBB;
  padding-top: 10px;
  line-height: 30px;
  font-size: 95%;
}

.license-copy {
  font-size: 85%;
}

.demos #copy,
.docs #content {
  max-width: 640px;
  
}

/**** Docs ****/

.docs #content h2 {
  border-top: 2px solid #FFF;
  padding-top: 10px;
}

.options dl dt { font-weight: normal; }

.options dl dt,
.options dl dd {
  float: left;
  padding: 0 1.2em;;
  background: #161616;
  line-height: 32px;
  height: 32px;
  margin: 0;
}

.options dl.header dt,
.options dl.header dd {
  background: #444;
}

.options dl .option-type {
  font-size: 13px;
  color: #AAA;
  font-style: italic;
}

.options dl dd {
  margin-left: 1px;
}

/**** Demos ****/

#container {
  width:100%;	
  background: #FFF;
  padding: 5px 5px 0 5px;
  max-width: 1600px;
}

.centered { margin: 0 auto; }

.box-title {
	font-size:12px;
	line-height: 17px;
	margin-bottom: 8px;
}

.box {
  margin: 5px 15px 5px 0;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.2em;
  float: left;
}

.box h2 {
  font-size: 25px;
/*  font-weight: 200; */
}

.box img,
#tumblelog img {
  display: block;
  width: 100%;
}

.rtl .box {
  float: right;
  text-align: right; 
  direction: rtl;
}



.col1 { width: 190px; }
.col2 { width: 395px; }
.col3 { width: 600px; }
.col4 { width: 805px; }
.col5 { width: 1010px; }
.col6 { width: 1215px; }
.col7 { width: 1420px; }

.col1 img { max-width: 190px; }
.col2 img { max-width: 395px; }
.col3 img { max-width: 600px; }
.col4 img { max-width: 805px; }
.col5 img { max-width: 1010px; }
.col6 img { max-width: 1215px; }
.col7 img { max-width: 1420px; }

/**** Gutters ****/

.has-gutters .box {
  margin: 5px 0;
}

.has-gutters .col1 { width: 90px; }
.has-gutters .col2 { width: 230px; }
.has-gutters .col3 { width: 370px; }
.has-gutters .col4 { width: 550px; }

/**** Transitions ****/

.transitions-enabled.masonry,
.transitions-enabled.masonry .masonry-brick {
  -webkit-transition-duration: 0.7s;
     -moz-transition-duration: 0.7s;
       -o-transition-duration: 0.7s;
          transition-duration: 0.7s;
}

.transitions-enabled.masonry {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.transitions-enabled.masonry  .masonry-brick {
  -webkit-transition-property: left, right, top;
     -moz-transition-property: left, right, top;
       -o-transition-property: left, right, top;
          transition-property: left, right, top;
}


/* disable transitions on container */
.transitions-enabled.infinite-scroll.masonry {
  -webkit-transition-property: none;
     -moz-transition-property: none;
       -o-transition-property: none;
          transition-property: none;
}

/**** Primer comparison ****/

#comparison {
  overflow: auto;
}

#comparison .example {
  width: 420px;
  float: left;
  margin-right: 20px;
}

#comparison .box h5 {
  float: left;
  margin-bottom: 0;
  font-size: 30px;
  margin-right: 4px;
  line-height: 28px;
  font-weight: bold;
  color: #FFF;
}



/* Tumblelog example */

#tumblelog {
  background: #FFF;
  padding: 1.0em;
}

#tumblelog .story {
  margin: 10px;
  border-top: 4px solid #DCB;
  padding-top: 10px;
  background: #FFF;
  float: left;
}

#tumblelog h1, #tumblelog h2, #tumblelog h3 { font-weight: bold;}

#tumblelog .col1 { width: 220px;}
#tumblelog .col2 { width: 460px;}
#tumblelog .col3 { width: 700px;}

#tumblelog .col1 img,
#tumblelog .col2 img,
#tumblelog .col3 img {
  max-width: none;
}

/* Infinite Scroll loader */
#infscr-loading { 
  z-index: 5000;
  position: fixed;
  left: 40%;
  bottom: 40px;
  width: 200px;
  height: 100px;
  padding: 10px;
  background: #000; 
  opacity: 0.8;
  color: #FFF;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}



/**** Pygments ****/

code .s1,
code .s { color: #78BD55; } /* string */
code .mi, /* integer */
code .cp, /* doctype */
code .kc { color: #5298D4; } /*boolean*/
code .k { color: #E39B79; } /* keyword */
code .kd, /* storage */
code .na { color: #A9D866; } /* markup attribute */
code .p  { color: #EDB; } /* punctuation */
code .o  { color: #F63; }   /* operator */
code .nb { color: #AA97AC;} /* support */

/* comment */
code .c,
code .c1 { color: #666; font-style: italic; }

code .nt { color: #A0C8FC; } /* Markup open tag */

code .nf { color: #9EA8B8; } /* css id */
code .nc { color: #A78352; }  /* CSS class */
code .m  { color: #DE8E50; } /* CSS value */
code .nd { color: #9FAD7E; } /* CSS pseudo selector */

/**** Clearfix ****/
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

::-webkit-input-placeholder { color:#000; }
::-moz-placeholder { color:#000; } /* firefox 19+ */
:-ms-input-placeholder { color:#000; } /* ie */
input:-moz-placeholder { color:#000; }    




	.visible-lg{
		display:block;
		height:749px;
	}
	
	.no-height {
		display:block;
	}
	
	.cab-height {
		display:block;
		height:241px;
	}
	
	.kabinet-height {
		height:116px;
		display:block;
	}
.large-text	p {
	font-size:24px;
	line-height:28px;
}