/*
  HTML5 ? Boilerplate

  style.css contains a reset, font normalization and some base styles.

  credit is left where credit is due.
  much inspiration was taken from these projects:
    yui.yahooapis.com/2.8.1/build/base/base.css
    camendesign.com/design/
    praegnanz.de/weblog/htmlcssjs-kickstart
*/

/*
  html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
  v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
  html5doctor.com/html-5-reset-stylesheet/
*/

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:100%;
  font: inherit;
  vertical-align:baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display:block;
}

blockquote, q { quotes:none; }

blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }

ins { background-color:#ff9; color:#000; text-decoration:none; }

mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }

table { border-collapse:collapse; border-spacing:0; }

hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }

input, select { vertical-align:middle; }

/* END RESET CSS */


/* fonts.css from the YUI Library: developer.yahoo.com/yui/
   refer to developer.yahoo.com/yui/3/cssfonts/ for font sizing percentages

  there are three custom edits:
   * remove arial, helvetica from explicit font stack
   * we normalize monospace styles ourselves
   * table font-size is reset in the HTML5 reset above so there is no need to repeat
*/
body { font:13px/1.231 sans-serif; *font-size:small; } /* hack retained to preserve specificity */

select, input, textarea, button { font:99% sans-serif; }

/* normalize monospace sizing
 * en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
 */
pre, code, kbd, samp { font-family: monospace, sans-serif; }


/*
 * minimal base styles
 */


body, select, input, textarea {
  /* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
  color: #444;
  /* set your base font here, to apply evenly */
  /* font-family: Georgia, serif;  */
}

/* headers (h1,h2,etc) have no default font-size or margin,
   you'll want to define those yourself. */
h1,h2,h3,h4,h5,h6 { font-weight: bold; }

/* always force a scrollbar in non-IE: */
html { overflow-y: scroll; }


/* accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }

a, a:active, a:visited { color: #607890; }
a:hover { color: #036; }


ul, ol { margin-left: 2em; }
ol { list-style-type: decimal; }

/* remove margins for navigation lists */
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }

small { font-size: 85%; }
strong, th { font-weight: bold; }

td { vertical-align: top; }

/* set sub, sup without affecting line-height: gist.github.com/413930*/
sub, sup { font-size: 75%; line-height: 0; position: relative; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

pre {
  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre; white-space: pre-wrap; white-space: pre-line; word-wrap: break-word;
  padding: 15px;
}

textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */

.ie6 legend, .ie7 legend { margin-left: -7px; } /* thnx ivannikolic! */

/* align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* hand cursor on clickable input elements */
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }

/* webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea { margin: 0; }

/* colors for form validity */
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid {
      border-radius: 1px;
    -moz-box-shadow: 0px 0px 5px red;
 -webkit-box-shadow: 0px 0px 5px red;
         box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid,
.no-boxshadow textarea:invalid { background-color: #f0dddd; }


/* These selection declarations have to be separate.
   No text-shadow: twitter.com/miketaylr/status/12228805301
   Also: hot pink. */
::-moz-selection{ background: #333; color:#fff; text-shadow: none; }
::selection { background:#333; color:#fff; text-shadow: none; }

/*  j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #FF5E99; }

/* make buttons play nice in IE:
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }

/* bicubic resizing for non-native sized IMG:
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }


 /* Primary Styles
    Author:
 */

 /*
  * Non-semantic helper classes: please define your styles before this section.
  */

 /* for image replacement */
 .ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

 /* Hide for both screenreaders and browsers
    css-discuss.incutio.com/wiki/Screenreader_Visibility */
 .hidden { display: none; visibility: hidden; }

 /* Hide only visually, but have it available for screenreaders: by Jon Neal
   www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
 .visuallyhidden {
     border: 0;
     clip: rect(0 0 0 0);
     height: 1px;
     margin: -1px;
     overflow: hidden;
     padding: 0;
     position: absolute;
     width: 1px;
 }

 /* Hide visually and from screenreaders, but maintain layout */
 .invisible { visibility: hidden; }

 /* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
 .clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; visibility: hidden; }
 .clearfix:after { clear: both; }
 /* fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
 .clearfix { zoom: 1; }
 
 /* GENERAL */
body {
	background:#EFEFEF;
}
.wrapper {
	width:1000px;
	margin:0 auto;
	display:block;
}
a:link, a:visited {
	color:#316594;
	text-decoration:underline;
}
a:hover, a:focus {
	color:#222;
	text-decoration:underline;
}	


/* HEADER */
.header {
	background: #6B94B4;
	height:175px;
	background-image: url(images/header_bg.png);
	background-repeat: repeat-x; 
	border-bottom:#2B5780 1px solid;
}

/* HEADER: breadcrumbs */
header .breadcrumbs {
	text-shadow: 1px 1px 0px rgba(255,255,255,.5);
	
	border-bottom:#ccc 1px solid;
	font-size:11px;
	height:25px;
	line-height:25px;
	overflow:hidden;
	color:#666;
	text-transform:uppercase;
	width:100%;
	background: #eee;
	background: -moz-linear-gradient(top, #EDEDED 0%, #D5D5D5 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#EDEDED), color-stop(100%,#D5D5D5));
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#EDEDED', endColorstr='#D5D5D5',GradientType=0 ); 
}
header .breadcrumbs a:link, 
header .breadcrumbs a:visited {
	color:#666;
	text-decoration:none;
}
header .breadcrumbs a:focus, 
header .breadcrumbs a:hover {
	color:#316594;
	text-decoration:underline;
}
#index header .breadcrumbs {
	/*display:none; /* no reason to have breadcrumbs on homepage */
} 

/* HEADER: logo */
header #logo {
	position:absolute;
	top:0px;
	left:40;
	font-size:35px;
	white-space:nowrap;
	color:#fff;
	font-family: arial, helvetica, sans-serif;
	text-transform:uppercase;
}
header #logo:link, 
header #logo:visited, 
header #logo:hover, 
header #logo:focus {
	text-decoration:none;
}

/* HEADER: logo */
header #slogan {
	position:absolute;
	margin-left:70px;
	margin-top:10px;
	padding-left:80px;
	padding-top:20px;
	height:119px;
	width:850px;
	background-image: url(images/logo_bg.gif);
	font-size:25px;
	letter-spacing: 0.15em;
	white-space:nowrap;
	color:#fff;
	font-family: 'Yanone Kaffeesatz', arial, helvetica, sans-serif;
	text-transform:uppercase;
}

header #slogan p {
	margin-top:10px;
	font-size:14px;
	white-space:nowrap;
	color:#fff;
	font-family: 'Yanone Kaffeesatz', arial, helvetica, sans-serif;
	text-transform:uppercase;
}

header .sitemenu {
  position: relative;
  height: 1.4em;
  top:149px;
  left:123px;
}
header .sitemenu ul {
  position: absolute;
  list-style: none;
  background:#5f5f5f;
  border-right:#ccc 1px solid;
}
header .sitemenu li {
  float: left;
  color: white;
  position: relative;
  border-left:#ccc 1px solid;
  border-top:#ccc 1px solid;
   padding-top:5px;
  padding-bottom:5px;
  white-space: nowrap;
}

header .sitemenu li a {
	padding-top:5px;
	padding-bottom:5px;
	padding-left:10px;
	padding-right:10px;
	font-size:13px;
	text-transform:uppercase;
	font-weight:bold;
}
header .sitemenu li a:link, 
header .sitemenu li a:visited {
	color:#eee;
	text-decoration:none;
}	
header .sitemenu li a:hover, 
header .sitemenu li a:focus {
	color:#C0C0C0;
	text-decoration:none;
}
header .sitemenu li.current a, header .sitemenu li.currentpath a {
	color:#5f5f5f;
	background:#eee;
	text-decoration:none;
}


.sitemenu li ul {
 display: none;
 margin-left:-1px;
 margin-top:5px;
border-bottom:#ccc 1px solid;
}
header .sitemenu li li a {
text-transform:none;
}

header .sitemenu li li.current a {

}

header .sitemenu li.current ul, header .sitemenu li.currentpath ul {
	background:#eee;
}

.sitemenu li:hover ul {
  display: block;
}
.sitemenu li ul li {
  float: none;
}
.sitemenu li:hover ul li {
    border-top: 1px solid #ccc;
}
.sitemenu li:hover ul li + li {

}
.sitemenu li:hover ul li a {
}
.sitemenu li:hover ul li:hover {
}
.sitemenu li:hover ul li:hover a {
}


/* BODY CONTENT */
article {
	float:left;
	width:738px;
	min-height:500px;
	background:#fff;
	border-bottom:1px solid #c8c8c8;
	border-left:1px solid #e4e4e4;
	border-right:1px solid #c8c8c8;
	-moz-box-shadow: 10px 1px 10px rgba(0,0,0, .07);
	-webkit-box-shadow: 10px 1px 10px rgba(0,0,0, .07);
	box-shadow: 10px 1px 10px rgba(0,0,0, .07);
}
article h1 {
	font-family: arial, helvetica, sans-serif;
	margin:0 0 15px 0;
	color: #275176;
	font-size:24px;
}
article h1.arhive {
	color: #ccc;
}
article h2 {
	font-family: arial, helvetica, sans-serif;
	margin:0 0 10px 0;
	color: #222222;
	font-size:20px;
}
article h3 {
	font-family: arial, helvetica, sans-serif;
	margin:0 0 10px 0;
	color: #275176;
	font-size:18px;
}
article h4 {
	font-family: arial, helvetica, sans-serif;
	margin:0 0 10px 0;
	color: #555;
	font-size:16px;
	font-weight:100;
}
article h5 {
	font-family: arial, serif;
	margin:0 0 10px 0;
	color: #333;
	font-size:16px;
}
article h6 {
	font-family: arial, serif;
	margin:0 0 10px 0;
	color: #666;
	font-size:14px;
}
article section {
	padding:40px;
	line-height:22px;
	font-size:14px;
	color:#333;	
}
article section p {margin:0 0 5px 0;}
article section ul, 
article section ol {
	margin:0 0 25px 30px;
}
article section ul ul, 
article section ol ol,
article section ul ol, 
article section ol ul {
	margin:0 0 0 25px;
}
article section code {
	border:1px solid #ccc;
	background:#f6f6f6;
	font-size:12px;
	padding:1px;
}
article section pre {
	border:1px solid #ccc;
	background:#f6f6f6;
	padding:15px;
	margin:0 0 25px 0;
	line-height:16px;
	font-size:13px;
	color:#555;
	text-shadow: 1px 1px 0px #fff;
	border-radius:0 4px 4px 0;
	-moz-border-radius:0 4px 4px 0;
	-khtml-border-radius:0 4px 4px 0;
	-webkit-border-radius:0 4px 4px 0;
}
article section pre code {
	border:none;
	background:none;
	padding:none;
}
article section blockquote {
	margin:0 0 25px 20px;
	color:#555;
	line-height:20px;
	font-family:georgia, garamond, serif;
	font-style:italic;
	padding:0 0 0 15px;
	border-left:1px solid #ccc;
}
article section .footer {
	color:#888;
	font-size:11px;
	margin-top:40px;
	border-top:1px dotted #ccc;
	padding-top:15px;
}
article section .footer p {
	margin:0 0 10px 0;
}
article section table {
	margin-bottom: 16px;
	margin-top: 8px;
}
article section table td, article section table th{
	padding: 3px 6px;
}

article section table.bordered {
	border: 1px solid #cccccc;
}

article section table.bordered TD, article section table.bordered TH {
	border: 1px solid #cccccc;
}

article section table.bordered TH {
	color: #ffffff;
	background-color: #5f5f5f;
}

article section table.striped {
	border: 0;
}

article section table.striped td {
	border-bottom: 1px solid #999999;
}
article section table.striped th {
	border-bottom: 3px solid #999999;
}
article section table.striped tr:nth-child(even) TD {
	background-color: #f4f4f4;
}

/* SIDEBAR */
.aside {
	float:right;
	width:260px;
	margin:20px 0 0 0;
}
.aside .section {
	padding:0 0 0 30px;	
}
.aside .section {
	margin:0 0 20px 0;
	font-size:13px;
	line-height:16px;
	color:#555;
	text-shadow: 1px 1px 0px #fff;
}
.aside .section p {
	margin:0 0 15px 0;
}
.aside .section ul, 
.aside .section ol {
	margin:0 0 15px 5px;
}
.aside .section h2 {
	background:#333;
	border-top:1px solid rgba(255,255,255,.4);
	text-shadow: 1px 1px 0px rgba(0,0,0,.5);
	text-transform:uppercase;
	background: -moz-linear-gradient(top, #444 0%, #222 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#444), color-stop(100%,#222));
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#222222',GradientType=0 ); 
	font-family: arial, helvetica, sans-serif;
	font-weight:100;
	color:#fff;
	font-size:19px;
	line-height:19px;
	margin:0 0 10px -31px;
	padding:5px 0 7px 25px;
	border-radius:0 4px 4px 0;
	-moz-border-radius:0 4px 4px 0;
	-khtml-border-radius:0 4px 4px 0;
	-webkit-border-radius:0 4px 4px 0;
}

/* SIDEBAR: socialmedia */
.aside #socialmedia {
	position:relative;
}
.aside #socialmedia h2 {
	width:65px;
	background: #316594;
	background: -moz-linear-gradient(top, #316594 0%, #2C5983 100%); 
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#316594), color-stop(100%,#2C5983));
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#316594', endColorstr='#2C5983',GradientType=0 ); 
}
.aside #socialmedia .icons {
	position:absolute;
	top:3px;
	right:0px;	
}


/* FOOTER */
footer {
	padding:20px 0;
	text-shadow: 1px 1px 0px rgba(255,255,255,.8);
	color:#888;
	font-size:11px;
}
footer .left {
	float:left;
	width:90%;
	text-align:left;
}
footer .right {
	float:right;
	width:60%;
	text-align:right;
}
footer a:link, footer a:visited {
	color:#888;
	text-decoration:underline;
}
footer a:hover, footer a:focus {
	color:#555;
	text-decoration:underline;
}
article section ul.listword, article section ul li.listword {
	list-style-image: url(images/ico-word.png);
}
article section ul.listjpg, article section ul li.listjpg {
	list-style-image: url(images/ico-jpg.png);
}
article section ul.listpdf, article section ul li.listpdf {
	list-style-image: url(images/ico-pdf.png);
}
article section ul.listie, article section ul li.listie {
	list-style-image: url(images/ico-ie.png);
}
article section ul.listzip, article section ul li.listzip {
	list-style-image: url(images/ico-zip.png);
}
article section ul.listxls, article section ul li.listxls {
	list-style-image: url(images/ico-xls.png);
}
article section ul.listword li, article section ul.listjpg li, article section ul.listpdf li , article section ul.listie li , article section ul.listzip li, article section ul.listxls li {
	margin-bottom:10px;
}

.menu a.m0 {
	font-weight:bold;
}
.menu li {
	margin-bottom:5px;
}

/*added by D.Karpov*/
article section ul.pages {
	margin: 30px 0 0 0;
}
.pages {
	list-style: none;
	margin: 0;
	padding: 0;
}
.pages LI {
	display: inline-block;
	border: 1px solid #ccc;
}
.pages LI A {
	text-decoration: none;
	display: block;
	padding: 3px 10px;
}
.pages LI.active A {
	color: #ffffff;
	background-color: #214e75;
}
.pages LI.disabled {
	display: none;
}
.nm_post_date {
	font-size:80%;
}
.nm_post {
	margin: 15px 0;
}
.search TD {
	padding: 5px 2px 5px 2px;
}
.search input[type=text] {
	font-family: inherit;
  	border: 1px solid #BBB;
  	padding: 3px 6px;
  	font-size: 13px;
}
.search input[type=submit] {
    background-color: #333333;
    font-family: inherit;
    font-size: 11px;
    color: #fff;
    font-weight: bold;
    padding: 0 8px;
    height: 27px;
    min-width: 54px;
    border: 1px solid #000;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}
article form.search  {
	padding: 10px;
	background-color: rgb(239, 239, 239);
	margin-bottom: 10px;
	border: 1px solid #ccc;
}
article form section {
	margin: 0;
	padding: 0;
}
#search-sources {
	font-size: 13px;
}
#search-sources label {
	margin-right: 30px;
	display: inline-block;
}
.label {
	font-size:12px;
	color: #666;
}
.input input {
	border: 1px solid #BBB;
  	padding: 5px;
  	font-size: 13px;
	width: 98%;
}
select.control {
	display: block;
	border: 1px solid #BBB;
  	padding: 5px;
  	font-size: 13px;
	width: 100%;
	background-color:#fff;
}
.group-addon {
	font-size:12px;
	color: #666;	
}
 .logo {
      background: url(images/icons.png) -165px -5px;
      width: 50px;
      height: 55px;
      display: inline-block;
}
.logo-folder {
  background-position: 0 -5px; }
.logo-doc,  .logo-docx,  .logo-rtf {
  background-position: 0 -60px; }
.logo-odt {
  background-position: -220px -60px; }
.logo-txt {
  background-position: -220px -180px; }
.logo-xls,  .logo-xlsx,  .logo-csv .logo-dbf {
  background-position: -55px -60px; }
.logo-ppt,  .logo-pptx,  .logo-pps {
  background-position: -165px -120px; }
.logo-gif,  .logo-tif,  .logo-tiff,  .logo-bmp,  .logo-cdr {
  background-position: 0 -180px; }
.logo-png {
  background-position: -55px -120px; }
.logo-jpg,  .logo-jpeg {
  background-position: -110px -180px; }
.logo-psd {
  background-position: -220px -120px; }
.logo-pdf {
  background-position: -55px -180px; }
.logo-php {
  background-position: -110px -120px; }
.logo-wav,  .logo-mp3 {
  background-position: 0 -120px; }
.logo-avi,  .logo-mpg,  .logo-mp4,  .logo-mpeg,  .logo-mov,  .logo-swf,  .logo-vob,  .logo-vid,  .logo-vcd,  .logo-wmv,  .logo-mkv
.logo-m4v,  .logo-flv,  .logo-dat {
  background-position: -110px 0; }
.logo-js {
  background-position: -165px -60px; }
.logo-css {
  background-position: -110px -60px; }
.logo-htm,  .logo-html {
  background-position: -220px 0; }
.logo-mdb {
  background-position: -165px -180px; }
.logo-zip,  .logo-rar,  .logo-bin,  .logo-7z,  .logo-cab,  .logo-gzip,  .logo-pak,  .logo-pkg,
.logo-rpm,  .logo-spl,  .logo-tar,  .logo-tar-gz,  .logo-tgz,  .logo-xar,  .logo-zipx {
  background-position: -55px 0; }
	
img.align-left {
	float:left;
	padding: 10px 10px 10px 0;
}
img.align-right {
	float:right;
	padding: 10px 0 10px 10px;
}
a[href^="/docs/"]{
	display: block;
	margin-top: 6px;
}
.doc-public {
	display: block;
	font-size:80%;
	color: #888;
}
.bc-right {
	float:right;
}