/*   
Theme Name: Avko
Theme URI: http://about:blank/
Description: Custom theme for Avko website
Author: Alexander Bukev
Author URI: alexander.bukev@gmail.com
.
Custom theme for Avko website
.
*/

* {
  margin: 0;
  padding: 0;
  }

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  padding: 10px 0;
  }

h1, h2, h3, h4, h5, h6 {
  font-family: sans-serif;
  }

hr {
  color: #333;
  border: 1px solid #121212;
  }

pre {
  height: auto; 
  overflow-x:scroll;
  }

fieldset {
  margin: 0;
  padding: 0; 
  border: 0;
  }

dd {
  padding-left: 15px;
  }


p {
  font-size: 9pt;
  }

a {
  color: #6598b8;
  text-decoration: none;
  }

a:hover {
  color: #222;
  }

a img {
  border: none;  
  }

blockquote {
  background: #070707;
  border: 1px solid #060606;
  padding: 5px 15px;
  margin: 10px 10px 5px 15px;
  font-style: italic;
  color: #000;
  }

code {
  color: #3366cc;
  font-style: italic;
  }

strong {
  font-size: 110%;
  }

body {
  text-align: left;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  font-family: sans-serif;
background: #FFFFFF url(images/body_back.jpg) top left repeat-x;
      }


/* Header and wrapper */
#wrapper {
  margin: 0 auto;
  width: 950px;
    text-align: left;
  padding: 0 0 0 0;
background: #FFFFFF;

  }

#header {
background: transparent url(images/header_back.jpg) top left repeat-x;
  white-space: nowrap;
  overflow: hidden;
  padding: 0;
  margin: 0;
  height: 105px;
  }

#header #topright {
  text-align: right;
  float: right;
  width: 600px;
  margin: 5px 0 0 0;
}

#header #topright ul {
  list-style: none;
  padding: 0;
  margin: 0;
  }
#header #topright li {
  display: inline;
  }
#header #topright li a {
  color: #000;
  font-size: 9pt;
  padding: 0 0 0 25px;
  text-transform: lowercase;
  }
#header #topright li a:hover {
  color: #000;
  text-decoration: none;
  }

#header #logo {
  float: left;
  width: 312px;
  height: 105px;
  margin: 0 0 0 0;
  padding: 0;
}
#header h1 {
  padding: 0;
  margin: 0;
  }
#header h1 a {
  font-size: 17pt;
  text-decoration: none;
  }
#header h1 a:hover {

  text-decoration: none;
  }
#header span {
  padding: 0;
  color: #111;
  font-size: 11pt;
  }


/* Menu */

#catnav {
  margin: 20px 0 0 0;
  padding: 0;
  clear: both;
  height: 44px;
  width: 960px;
  }

#nav {
  list-style: none;
  margin: 0;
  padding: 0;
  }
	
#nav ul {
  margin: 0;
  padding: 0;
  }

#nav li {
  float: left;
  margin: 0;
  padding: 0;
  }

#nav a {
  display: block;
  line-height: 44px;
  margin: 0;
  padding: 0 20px 0 15px;
  font-size: 10pt;
  color: #fff;
  letter-spacing: -1px;
  }

#nav li a:hover {
  color: #6598b8;
  text-decoration: none;
  display: block;
  }

#nav li ul {
  list-style: none;
  position: absolute;
  width: 150px;
  left: -999em;
  }

#nav li:hover ul, #nav li.sfhover ul {
  left: auto;
  }
	
#nav li li {
  float: left;
  margin: 0;
  padding: 0;
  width: 150px;
  }
	
#nav li li a {
  width: 150px;
  height: 24px;
  line-height: 24px;
  color: #fff;
  border-top: 1px solid #131f27;
  background: #040404;
  margin: 0;
  padding: 5px 20px 5px 15px;
  }
	
#nav li li a:hover {
  border-top: 1px solid #131f27;
  background: #000;
  padding: 5px 20px 5px 15px;
  }

#nav li:hover, #nav li.sfhover { /* prevents IE7 drop-down menu bug (focus on a page element prevents nested menus from disappearing) */
  position: static;
  }

#toprss {
  float: right;
  margin: 10px 15px 0 0;
  display: inline;
  width: 65px;
  line-height: 41px;
  }



/* Top Content */

#main {
width: 950px;
min-height: 800px;
margin: 0 0 0 0 !important;
clear: both;
background: #FFFFFF url(images/main_back.jpg) no-repeat 0 0;
}

#contentwrapper {
  float:left;
  width: 754px;
  min-height: 800px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 20px;
}
#contentwrapper2 {
  float:left;
  width: 789px;  margin: 0 0 15px 0;
  padding: 0;
  }
#contentwrapper .pageTitle, #contentwrapper2 .pageTitle {
  margin: 15px 0 10px 0;
  font-size: 14pt;
  letter-spacing: -1px;
  color: #000;
  font-weight: normal;
  background: url(images/bg-trans.png) repeat;
  padding: 5px;
  }
.topPost {
  margin: 0;
  padding: 0;
  font-size: 9pt;
  }
.topPost h1.topTitle {
display: block;
border-left: 2px inset #003366;
border-bottom: 2px inset #003366;
padding: 5px 5px 5px 5px;
  }
.topPost p.topMeta {
  padding: 0;
  margin: -10px 0 0 0;
  font-size: 9pt;
  color: #cdcdcd;  
  }
.topPost p.topMeta a {
  text-decoration: underline;
  color: #000;
  }
.topPost p.topMeta a:hover {
  color: #ccc;
  }
.topPost div.topContent {
  font-size: 9pt;
  color: #000;
  margin: 8px 0;
  }
.topPost div.topContent a {
  text-decoration: underline;
  color: #000;
  }
.topPost div.topContent a:hover {
  text-decoration: underline;
  color: #ff9933;
  }

.topPost div.topContent ul, .topPost div.topContent ol {
  padding: 0 0 0 30px;
  }
.topPost div.topContent ul li, .topPost div.topContent ol li {

  }
.topPost span.topComments, .topPost span.topMore, .topPost span.topTags {
  font-size: 9pt;
  font-style: italic;
  background: url(images/bg-trans.png) repeat;
  padding: 8px 10px;
  margin-right: 5px;
  line-height: 27pt;
  color: #000;
  border: 1px solid #111;
  }
.topPost span.linkpages {
  font-size: 9pt;
  font-style: italic;
  color: #000;
  margin-bottom: 10px; display:block;
  }
.topPost span.linkpages a:hover {
  color: #ddd;
  }
.topPost span.topComments:hover, .topPost span.topMore:hover, .topPost span.topTags:hover {
  background: #040404;
  }
.topPost span.topComments a {
  color: #000;
  background: url(images/comments.gif) left no-repeat;
  padding-left: 20px;
  line-height: 27pt;
  vertical-align: middle;
  }
.topPost span.topMore a {
  color: #000;
  background: url(images/more.gif) left no-repeat;
  padding-left: 20px;
  line-height: 27pt;
  vertical-align: middle;
  }
.topPost span.topTags em {
  background: url(images/tags.gif) left no-repeat;
  padding-left: 20px;
  line-height: 27pt;
  vertical-align: middle;
  color: #0a0a0a;
  }
.topPost span.topTags a {
  color: #000;
  line-height: 27pt;
  vertical-align: middle;
  }
.topPost span.topComments a:hover, .topPost span.topMore a:hover, .topPost span.topTags a:hover {
  color: #000;
  text-decoration: underline;
  }

#nextprevious {
  margin: 10px 0 5px 0;
  }
#nextprevious a {
  color: #83adc8;
  text-transform: lowercase;
  text-decoration: underline;
  }
#nextprevious a:hover {
  color: #000;
  }


/* Comments */

#comment {
  margin-bottom: 10px;
  margin-top: 15px;
  background: #040404;
  width: 530px; /* fixes bug in IE7 where putting focus on the text makes it disappear behind the background. yeah, weird. they call it a dimensional bug. */
  border: 1px solid #090909;
  padding: 0px 15px 10px 15px;
  color: #000;
  }
#comment h3 {
  font-size: 10pt;
  font-weight: normal;
  color: #000;
  margin: 15px 0;
  padding: 0;
  }
#comment p a {
  color: #6598b8;
  }
#comment p a:hover {
  color: #000;
  }
#comment p {
  padding:0;
  margin: 7px 0;
  }
ul.commentlist, ul.trackback  {
  list-style-type: none;
  margin: 10px 0;
  font-size: 9pt;
  }
.commentlist li, .trackback li {
  margin: 10px 0 15px 0;
  padding: 10px;
  background: #080808;
  border: 1px solid #040404;
  list-style-type: none;
  }
.commentlist li.alt {
  background: #000;
  border: 1px solid #020202;
  border: none;
  margin-top:10px;
  }
.commentlist li.cleared {
  background: transparent;
  border: none;
  }
.commentlist a:hover {

  }
.commentlist a.gravatar {
  float: left;
  margin: 0 15px 10px 0;
  width: 60px;
  }
.commentlist .commentbody {
  margin: 0;
  padding: 0;
  }
.commentlist .commentbody p a {
  text-decoration: underline;
  }
.commentlist cite {
  font-size: 10pt;
  font-style: normal;
  color: #ddd;
  }
.commentlist small.commentmetadata a {
  color: #666;
  }
.commentlist p {
  color: #dedede;
  }
#respond {
  clear: both;
  margin-top: 15px;
  }
textarea#comment {
  width: 450px;
  background: #000;
  color: #111;
  padding: 10px;
  }
#comment #submit {
  margin: 0;
  }
#extrastuff a {color:#222; font-size:0.8em;}
#extrastuff a:hover {color:#6598b8; text-decoration:none;}
#extrastuff #rssleft {float:left; width:250px;}
#extrastuff #trackright {float:right; width:180px; text-align:right;}


/* Welcome section */

#main #welcome {
  margin: 0 0 20px 0;
  padding: 0 0 5px 0;
  background: url(images/bg-trans.png) repeat;
  }
#main #welcome h2 {
  font-size: 14pt;
  font-weight: normal;

  color: #000;
  letter-spacing: -2px;
  margin: 0 10px;
  padding: 10px 0 3px 0;
  }
#main #welcome p {
  font-size: 9pt;

  margin: 0 10px;
  padding: 6px 0;
  }
#main #welcome a {
  text-decoration: underline;
  color: #ff9933;
  }
#main #welcome a:hover {
  color: #6598b8;
  }
#main #welcome form {
  margin: -5px 0 0 0;
  background: transparent; /* required for IE */
  }
#main #welcome #feedbox {
  border: 1px solid #ccc;
  padding: 2px 1px;
  width: 180px;
  }
.submitbutton {
  background: #000000;
  color: #fff;
  font-size: 8pt;
  font-weight: bolder;
  padding: 3px 6px;
  vertical-align: middle;
  border: 1px outset #808080;
  }
.submitbutton:hover {
  cursor: pointer;
  background: #050505;
  }


/* Sidebars */
#sidebars {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  float: left;
  width: 157px;
  min-height: 800px;
  }
#sidebars .sidebarbox {
  background: url(images/bg-trans.png) repeat;
  padding: 8px 15px;
  }

#sidebar_title {
 width: 100%;
 border-bottom: 2px inset #003366;
 text-align: center;
}
#sidebar_title h2 {
font-family: serif;
font-size: 10pt!important;
padding: 2px 2px 2px 2px!important;
text-transform: uppercase;
  color: #003366!important;
 font-weight: bolder!important;
}

#sidebar_full {
  padding: 0;
  margin: 0;
  }
#sidebar_full #searchbox {
 width: 157px;
}

#sidebar_left {
  float: left;
  width: 160px;
  }

#sidebar_right {
  float: right;
  width: 160px;
  }

#sidebars h2 {
  margin: 0;
  padding: 0 0 8px 0;
  font-weight: normal;
  font-size: 11pt;
  color: #000;
  letter-spacing: -1px;
  }

#sidebars table {
  width: 130px;
  }

#sidebars p {
  padding: 2px 0;
  font-size: 9pt;

  }

#tag_cloud a {
  display: inline;
  }
/*
#sidebars ul.children li {border-bottom:none;}
#sidebars ul.children {margin-bottom:0;}
*/


/* Before footer */

#morefoot {
  background: #000 url(images/bggrad.jpg) top left repeat-x;
  border: 1px solid #070707;
  padding: 15px;
  color: #dfdfdf;
  margin: 0 0 10px 0;
  }
#morefoot p {
  margin: 5px 0;
  padding: 5px 0;
  }
#morefoot ul {
  list-style-type: none;
  margin-top: 5px;
  }
#morefoot ul li, #morefoot p {
  font-size: 9pt;
  }
#morefoot a {
  text-decoration: underline;
  color: #ddd;
  }
#morefoot a:hover {
  text-decoration: underline;
  color: #6598b8;
  }
#morefoot h3 {
  font-size: 12pt;
  font-weight: normal;
  color: #dfdfdf;
  letter-spacing: -1px;
  border-bottom: 1px dotted #444;
  margin: 0;
  padding: 0 0 2px 0;
  }
#morefoot #searchbox {
  padding: 1px;
  width: 180px;
  }
#morefoot .col1 {
  float: left;
  width: 340px;
  }
#morefoot .col2 {
  margin: 0 25px;
  }
#morefoot .col2, #morefoot .col3 {
  float: left;
  width: 260px;
  }
#morefoot li {
  padding-left: 20px;
  margin-bottom: 5px;
  background: url(images/more.gif) left 2px no-repeat;
  line-height: 17px; /* Required for cross-browser consistency; cross-browser defaults vary. */
  }


/* footer*/
#footer {
margin: 0 auto;
width: 90%;
  clear: both;
  background: url(images/bg-trans.png) repeat;
  border: 1px solid #070707;
  padding: 0 15px 0 15px;
  }
#footer p {  color: #FFFFFF;
  font-size: 8pt;  padding: 0 0 0 0;  margin: 0 0 0 0;
  }
#footer a {
  color: #bbb;
  text-decoration: underline;
  }
#footer a:hover {
  color: #fff;
  }
#footerleft {
  float: left;
  width: 500px;
  }
#footerright {
  float: right;
  width: 300px;
  text-align: right;
  }



/* Misc */

.highlight {
  color: #222;
  font-weight: bold;
  }

.cleared {
  margin: 0;
  padding: 0;
  clear: both;
  }

.alignleft {
  float: left;
  margin: 5px 10px 5px 0;
  }
.alignright {
  float: right;
  margin: 5px 0 5px 10px;
  }
.aligncenter,
div.aligncenter {
  margin: 10px auto;
  text-align: center;
  display: block;
  }

img.alignleft {
  float: left;
  margin: 5px 10px 5px 0;
  }
img.alignright {
  float: right;
  margin: 5px 0 5px 10px;
  }
img.aligncenter {
  margin: 10px auto;
  text-align: center;
  display: block;
  }

.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;

  padding-top: 4px;

  /* optional rounded corners for browsers that support it */

  -moz-border-radius: 3px;

  -khtml-border-radius: 3px;

  -webkit-border-radius: 3px;
  border-radius: 3px;
  }

.wp-caption img {
  margin: 0;
  padding: 0;
  border: none;
  }

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
  color: #111;
  }

#pitsImageLink a {
  display: inline-block;
  width: 159px;
  height: 103px;
  background: url(images/header_button1.jpg) no-repeat 0 0;
}

#pitsImageLink a:hover {
  background-position: 0 -103px;
}

#pitsImageLink a span {
  display: none;
}

#uimImageLink a {
  display: inline-block;
  width: 159px;
  height: 103px;
  background: url(images/header_button2.jpg) no-repeat 0 0;
}

#uimImageLink a:hover {
  background-position: 0 -103px;
}

#uimImageLink a span {
  display: none;
}

#bcenterImageLink a {
  display: inline-block;
  width: 159px;
  height: 103px;
  background: url(images/header_button3.jpg) no-repeat 0 0;
}

#bcenterImageLink a:hover {
  background-position: 0 -103px;
}

#bcenterImageLink a span {
  display: none;
}

.floatLeft {
  display: block;
  float: left;
}

.floatRight {
  display: block;
  float: right;
}

#headerGradient {
  width: 50px;
  height: 105px;
}

#headerCertISO {
  width: 90px;
  height: 105px;
  background: url(images/header_cert_1.jpg) no-repeat 0 0;
}

#headerCertESA {
  width: 90px;
  height: 105px;
  background: url(images/header_cert_2.jpg) no-repeat 0 0;
}
#headerdivider {
 padding-left: 180px;

    width: 950x;
  height: 19px;
background: url(images/header_divider.jpg) no-repeat 0 0;
}

.headermenu {
 text-align: center;
 font-size: 9pt;
  height: 17px;
 padding-top: 2px;
}

/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.sidebarmenu ul{
margin: 0;
padding: 0;
list-style-type: none;
width: 157px; /* Main Menu Item widths */
}
 
.sidebarmenu ul li{
position: relative;
}

/* Top level menu links style */
.sidebarmenu ul li a {
font-size: 9pt;
font-weight: bolder;
display: block;
width: 145px;
height: 100%;
overflow: auto; /*force hasLayout in IE7 */
color: #003366;
text-decoration: none;
padding: 4px 2px 4px 10px;
border-bottom: 1px inset #a7c6e5;
/*border-right: 1px solid #778;*/
}

.sidebarmenu ul li a:link, .sidebarmenu ul li a:visited, .sidebarmenu ul li a:active{
/*background-color: #012D58;*/ /*background of tabs (default state)*/
}

.sidebarmenu ul li a:visited{
/*color: white;*/
}

.sidebarmenu ul li a:hover{
text-decoration: none;
background-color: #dbdee4;
}

/*Sub level menu items */
.sidebarmenu ul li ul{
background: #FFFFFF url(images/body_back.jpg) repeat-x 0 -500px;
position: absolute;
width: 200px; /*Sub Menu Items width */
top: 0;
visibility: hidden;
border: 1px outset #a7c6e5;
border-bottom: none;
}

.sidebarmenu ul li ul li {
border: none;
border-bottom: 1px outset #a7c6e5;
}
.sidebarmenu ul li ul li a {
font-weight: normal;
 border: none;
 width: 188px;
}
.sidebarmenu ul li ul li a.subfolderstyle {
 width: 170px;
}

.sidebarmenu a.subfolderstyle{
width: 127px;
padding-right: 20px;
background: url(images/right_arrow.gif) no-repeat 97% 50%;
}
 
/* Holly Hack for IE \*/
* html .sidebarmenu ul li { float: left; height: 1%; }
* html .sidebarmenu ul li a { height: 1%; }
/* End */



/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.headermenu ul{
text-align: left;
display: inline;
list-style-type: none;
}
 
.headermenu ul li{
margin-left: 5px;
margin-right: 5px;
display: inline;
}

/* Top level menu links style */
.headermenu ul li a {
font-weight: bolder;
display: inline;
width: 157px;
height: 100%;
color: #003366;
overflow: auto; /*force hasLayout in IE7 */
text-decoration: none;
text-transform: uppercase;
padding: 0 2px 0 2px;
border-bottom: 1px solid #336699;
border-left: 1px solid #336699;
border-right: 1px solid #336699;
}

.headermenu ul li a:hover{
background-color: #dbdee4;
text-decoration: none;
}

/*Sub level menu items */
.headermenu ul li ul{
display: block;
background: #FFFFFF url(images/body_back.jpg) repeat-x 0 -500px;
position: absolute;
width: 200px; /*Sub Menu Items width */
visibility: hidden;
border: 1px outset #a7c6e5;
border-bottom: none;
}

.headermenu ul li ul li {
display: block;
border: none;
border-bottom: 1px outset #a7c6e5;
}
.headermenu ul li ul li a {
font-weight: normal;
 border: none;
  text-decoration: none;
text-transform: none;
 display: block;
 width: 196px; 
 padding-top: 4px;
 padding-bottom: 4px;
}
.headermenu ul li ul li a:hover {
 text-decoration: none;
background-color: #dbdee4;
}
.headermenu ul li ul li a.subfolderstyle {
 width: 178px;
}

.headermenu a.subfolderstyle{
border-bottom-width: 2px;
}

.headermenu ul li ul a.subfolderstyle{
width: 139px;
padding-right: 20px;
background: url(images/right_arrow.gif) no-repeat 97% 50%;
}

 
/* Holly Hack for IE \*/
* html .headermenu ul li { float: left; height: 1%; }
* html .headermenu ul li a { height: 1%; }
/* End */

#searchform {
 display: inline;
 width: 200px;
 text-align: right;
}
#searchform #searchbox {
 border: 1px solid #808080;
 margin-top: 7px;
 width: 60%;
}
#searchform #submit {
 border: 1px solid #808080;
 background: #E0E0E0;
}

#headercenter {
  float: left;
  width: 358px;
  height: 105px;
}

#headerright {
 text-align: right;
 float: left;
 width: 273px;
 height: 105px;
}

#sidebardivider {
width: 11px;
height: 925px;
float: left;
background: transparent url(images/sidebar_divider.jpg) no-repeat 0 0;
}

#contentdivider {
width: 8px;
height: 925px;
float: left;
background: transparent url(images/content_divider.jpg) no-repeat 0 0;
}

ul.qtrans_language_chooser {
display: block;
float: right;
 list-style-type: none;
}

ul.qtrans_language_chooser li {
display: block;
float: left;
}

ul.qtrans_language_chooser li a {
display: block;
border: 1px solid #C0C0C0;
}

ul.qtrans_language_chooser li.active a {
 border-color: #000000;
}
