/* top elements */
* { 
  margin: 0;	
  padding: 0; 
}

body {
	margin: 0; padding: 0;
	font: 70%/1.5 Verdana, Helvetica,  Tahoma, Arial, sans-serif;
	color: #333;
	font-weight: normal;
	background: #FFF url(../images/bg.gif) repeat-x;
}

/* links */
a {
	color: #003366;
	background-color: inherit;
	text-decoration: none;
}
a:hover {
	color: #CC0001;
	background-color: inherit;
}

/* headers */
h1, h2, h3 {
	font-family: Arial, 'Trebuchet MS', Sans-Serif;
	font-weight: bold;
	color: #333;
}
h1 {
	font-size: 120%;
	letter-spacing: .5px;
	clear: both;
}
h2 {
	font-size: 115%;
	text-transform: uppercase;
}
h3 {
	font-size: 115%;
	/*color: #003366;*/
}
h4 {
	font-size: 100%;
	text-transform: uppercase;
}
h5 {
	font-size: 100%;
}

/* images */
img {
	border: 1px solid #CCC;
	padding: 1px;
}

img.border-none {
  border: 0;
}

img.image-medium {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

h1, h2, h3 {
	padding: 0;
	margin: 10px 10px 5px 10px;
}

h4, h5, h6 {
	padding: 0;
	margin: 5px 5px 5px 10px;
}

p {
  padding: 0;
  margin: 5px 10px 5px 10px;
}

h2 {
  margin-bottom: -5px;
}

h3 {
  margin-bottom: -5px;
}


ul, ol {
	margin: 5px 20px 10px 20px;
	padding: 0 10px;
}

ul ul {
  margin: 0 20px 5px 10px;
}

ul {
  list-style-type: disc;
}
code {
  font: 500 1.1em/1.5em  Monaco, Consolas, 'Lucida Console', 'courier new', monospace;
  background-color: #F2F2F2;
}
pre {
  margin: 5px 10px 5px 15px;
  padding: 5px;
  text-align: left;
  display: block;
  overflow: auto;
  white-space: pre;
  background: #FAFAFA;
  border: 1px solid #f2f2f2;
  border-left: 4px solid #CC0000;
}

pre code {
  background-color: transparent;
}

acronym {
  cursor: help;
  /*border-bottom: 1px solid #777;*/
}
blockquote {
	margin: 10px 10px 10px 15px;
 	padding: 0 0 0 32px;
  background: #FAFAFA url(../images/quote.gif) no-repeat 5px 3px !important;
	background-position: 8px 10px;
	border: 1px solid #f2f2f2;
	border-left: 4px solid #CC0000;
	font-weight: bold;
}

table {
	border-collapse: collapse;
	margin: 10px 15px;
}
th strong {
	color: #fff;
}
th {
	font-family: Arial, 'Trebuchet MS', Sans-Serif;
	font-weight: bold;
	color: #fff;
  padding: 4px 6px;
	text-align: left;
	border-left: 1px solid #F8F8F8;
	border-bottom: solid 1px #FFF;
	font-size: 100%;
	text-transform: uppercase;
	background-color: #CC0000;
	letter-spacing: .5px;
	
}
tr {
	/*height: 30px;*/
}
td {
	padding: 4px 6px;
	/* border-left: 1px solid #FFE1C3; */
	border-left: 1px solid #FFF;
	border-bottom: solid 1px #FFF;
}
td:first-child, th:first-child {
	border-left: 0px;
}
tr {
	background: #F8F8F8;
}
tr:nth-child(even) {
	background: #EFEFEF;
}
table img {
  border: 0;
}
table.white, table.white tr, table.white td {
  background: #FFF;
}

/* form elements */
form {
	margin:10px; padding: 0 0 5px 0px;
	border: 1px solid #EEE;
	background-color: #F9F9F9;
}
label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding: 2px;
	border:1px solid #eee;
	font: normal 1em Verdana, sans-serif;
	color:#444;
}
textarea {
	width:400px;
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #eee;
	height:100px;
	display:block;
	color:#444;
}
input.button {
	margin: 5px 0 0 0;
	font: bolder 11px Arial, Sans-serif;
	border: 1px solid #CCC;
	padding: 2px 6px;
	background: #FFF;
	color: #CC0000;
	overflow: visible;
}
hr {
  height: 0;
  border: 0;
  border-bottom: 1px solid #EAEAEA;
  margin: 10px;
}
/* search form */
form.search {
	position: absolute;
	top: 13px; 
  right: 0;
	padding: 0; margin: 0;
	border: none;
	background-color: transparent;
}

form.search input.textbox {
	margin: 0;
	width: 150px;
	border: 1px solid #CCC;
	background: #FFF;
	color: #333;
	padding: 3px;
}

form.search input.button {
	margin: 0;
	padding: 2px 5px;
	font-size: 11px;
	border: 1px solid #CCC;
	background: #FFFFFF url(../images/headerbg.gif) repeat-x bottom left;
	color: #333;
}

form label span.error_message {
  font-weight: normal !important;
  color: #CC0000;
}

/**********************************
  LAYOUT
***********************************/
#wrap {
	margin: 0 auto;
	width: 985px;
}

/* header */
#header {
	position: relative;
	margin: 0;
  padding: 0;
	height: 58px;
	background-color: #000;
}

#header span#slogan {
	z-index: 3;
	position: absolute;
	left: 3px;
	bottom: 7px;
	font: normal 1.1em Verdana, Arial, Tahoma, sans-serif;
	font-style: italic;
	color: #FFF;
}

#header-logo #rss-feed {
  position: absolute;
  right: 240px;
  top: 1px;
  width: 48px;
  height: 48px;
  background: url(../images/rss_feed.png);
}

#header-logo {
	position: relative;
	clear: both;
	height: 50px;
	margin: 0; padding: 0;
}

#header-logo a, #header-logo a:hover span.red {
  color: #000 !important;
}

#header-logo a:hover, #header-logo a span.red {
  color: #CC0000 !important;
}


#header-logo #logo {
	position: absolute;
	top: 3px; left: 5px;
	font: bold 30px "trebuchet MS", Arial, Tahoma, Sans-Serif;
	margin: 0; padding: 0;
	letter-spacing: -1px;
	color: #000;
}

/* navigation tabs */
#header ul.menu {
	position: absolute;
  margin:0;
  list-style:none;
	right: -8px;
  bottom: 0px;
	font: bold 13px 'Trebuchet MS', Arial, Sans-serif;
}
#header ul.menu li {
   display:inline;
   margin:0; padding:0;
}
#header ul.menu li a {
   float:left;
   background: url(../images/tableft.gif) no-repeat left top;
   margin:0;
   padding:0 0 0 4px;
   text-decoration:none;
}
#header ul.menu li a span {
   float:left;
   display: block;
   background: url(../images/tabright.gif) no-repeat right top;
   padding: 5px 15px 4px 6px;
   color:#FFF;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#header ul.menu li a span {float:none;}
/* End IE5-Mac hack */
#header ul.menu li a:hover span {
	color:#FFF;
}
#header ul.menu li a:hover {
   background-position:0% -42px;
}
#header ul.menu li a:hover span {
   background-position:100% -42px;
}
#header ul.menu li.current a {
   background-position:0% -42px;
}
#header ul.menu li.current a span {
   background-position:100% -42px;
}

/* main column */
#main {
	float: left;
	margin: 0;
  padding: 0;
  width: 540px;
  margin-bottom: 10px;
}
#main h1 {
	margin: 10px 0;
	padding: 3px 0 3px 8px;
	font-size: 105%;
	color: #FFF;
	text-transform: uppercase;
	background-color: #CC0000;
	letter-spacing: .5px;
}

#main h1 a{
	color: #FFF;
}

/* sidebar */
.sidebar {
	float: left;
	width: 210px;
	margin: 2px 10px 10px 0;
  padding: 0;
	background-color: #FFFFFF;
}

.sidebar h1 {
	margin: 8px 0 0 0;
	padding: 4px 0 4px 8px;
	font: bold 105% Arial, Sans-Serif;
	color: #FFF;
	text-transform: uppercase;
	/*background: #333;*/
	background: #111;
	letter-spacing: .5px;
}
.sidebar div.left-box {
	border: 1px solid #EBEBEB;
	margin: 0 0 5px 0;
	background: #FFF;
}
.sidebar ul.sidemenu {
	list-style: none;
	text-align: left;
	margin: 3px 0px 8px 0; padding: 0;
	text-decoration: none;
}
.sidebar ul.sidemenu li {
	border-bottom: 1px solid #f2f2f2;
	background: url(../images/bullet.gif) no-repeat 3px 2px;
	padding: 3px 5px 3px 25px;
	margin: 0;
}
.sidebar ul.sidemenu a {
	font-weight: bolder;
	padding: 3px 0px;
	background: none;
}

.post-footer, .advise-footer {
	/*background-color: #FAFAFA;
	border: 1px solid #f2f2f2;
	margin-top: 20px;
	margin-bottom: 5px;*/
	border-top: 1px solid #EAEAEA;
	margin: 15px 10px 20px 10px;
	font-size: 95%;
}
.post-footer p, .advise-footer p {
  margin: 4px;
  padding: 0;
  font-weight: bold;
  text-align: right;
}
.post-footer a{

}
.post-footer .date, .advise-footer .date {
	background: url(../images/clock.gif) no-repeat 0 center;
	margin: 0 0px 0 10px; padding: 1px 0 1px 20px;
}
.post-footer .comments {
	background: url(../images/comment.gif) no-repeat 0 center;
	margin: 0 0px 0 10px; padding: 1px 0 1px 20px;
}
.post-footer .categories, .advise-footer .categories {
	background: url(../images/categories.gif) no-repeat 0 center;
	margin: 0 0px 0 10px; padding: 1px 0 1px 20px;
}
.post-footer .readmore {
	background: url(../images/page.gif) no-repeat 0 center;
	margin: 0 0px 0 10px; padding: 1px 0 1px 20px;
}
.advise-footer .counter {
  background: url(../images/counter.gif) no-repeat 0 center;
  margin: 0 0px 0 10px; padding: 1px 0 1px 20px;
}

/* comments */
#post-comments .comment, #advise-comments .comment {
  padding: 10px 10px 10px 42px;
}

#post-comments .comment h2, #advise-comments .comment h2 {
  margin: 0 0 0 10px;
}

#post-comments .comment p, #advise-comments .comment p {
  margin: 0 0 0 10px;
}

#post-comments .comment .avatar, #advise-comments .comment .avatar {
  margin-left: -32px;
  float: left;
}

#post-comments .comment .date, #advise-comments .comment .date{
  float: right;
  font-size: 90%;
}

#post-comments .even, #advise-comments .even {
  background-color: #f6f6f6;
}

img.post-image {
  float: left;
  margin: 0 5px 5px 10px;
}

/* footer */
#footer {
	clear: both;
	border-top: 1px solid #E9E9E9;
	background: #F0F0F0;
	padding: 2px 0 2px 0;
	margin: 0;
	text-align: center;
	line-height: 1.5em;
	font-size: 95%;
}
#footer a {
	text-decoration: none;
	font-weight: bold;
}

/* alignment classes */
.align-left { text-align: left; }
.align-right { text-align: right; }
.align-center { text-align: center; }

.float-left {
  float: left;
}
.float-right {
  float: right;
}
img.align-left {
  margin: 0px 10px 10px 0px;
  float: left;
}
img.align-right {
  margin: 0px 0px 10px 10px;
  float: right;
}
img.align-center, object.align-center {
  display: block;
  margin-top: 4px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 4px;
}


/* porady */

#main #advises-list {
  list-style: none;
	text-align: left;
	margin: 3px 0px 8px 0; padding: 0;
	text-decoration: none;  
}

#main #advises-list li {
	background: url(../images/bullet.gif) no-repeat 3px 4px;
	padding: 3px 5px 3px 25px;
	margin: 0;
}

#main #advises-list li h2 {
	margin: 0;
	padding: 0;
}

#main #advises-list li p{
	margin: 0;
	padding: 0;
}

#main #advises-list li p.advise-info{
	color: #777;
	font-weight: normal;
	text-align: right;
}

/* portfolio */

#projects-list .project-item {
  margin-bottom: 10px;
}
  
#projects-list img.project-image {
  margin: 10px 5px 5px 10px;
  float: left;
}

#projects-list .project-desc {
  margin-left: 143px;
  margin-top: 8px;
}

#projects-list .project-desc .more {
  text-align: right;
}

#projects-list .project-desc .more a{
  font-weight: bold;
}

#project .project-info {
  padding-bottom: 5px;
  border-bottom: 1px solid #f2f2f2;  
}

#project .project-info p {
  margin: 0 10px;
}

#project hr {
  display: none;
}


/* display and additional classes  */
.clear {	clear: both; }
.red   { color: #CC0000 !important; }

.no-uppercase { text-transform: none; }
.no-margin { margin: 0; }

#search-form {
  margin-bottom: 20px;
}

/* pagination */
p.pagination {
  border-top: 1px solid #EAEAEA;
  text-align: right;
  padding-top: 10px;
}

p.pagination a, p.pagination span {
  border: 1px solid #BABABA;
  padding: 2px 5px;
  margin-left: 0px;
}

p.pagination span {
  color: #BBBBBB;
  border: 1px solid #DDD;
}

p.pagination span.current {
  color: #FFFFFF;
  background-color: #DD0000;
  font-weight: bold;
}

p.pagination a {
  color: #333;
}

p.pagination a:hover {
  color: #FFFFFF;
  background-color: #DD0000;
}





/* boxes */
p.success, p.alert, p.warning, p.info {
  margin: 10px;
  padding: 5px 10px 5px 27px;
  background-repeat: no-repeat;
  background-position: 6px 5px;

}

p.success {
  background-image: url(../images/icons/accept.png); background-color: #F4FBF3; border: 1px solid #B4E3AB; color: #224D1A;
}

p.alert {
  background-image: url(../images/icons/error.png); background-color: #FFFFF0; border: 1px solid #EEEF9F; color: #4D4D1A;
}

p.warning {
  background-image: url(../images/icons/exclamation.png); background-color: #FBF3F3; border: 1px solid #E3ABAB; color: #4D1A1A;
}

p.info {
  background-image: url(../images/icons/information.png); background-color: #F3F8FB; border: 1px solid #ABCDE3; color: #1A394D;
}


/* ad-taily */
#AdTaily_Widget_Container {
  border: 1px solid #EBEBEB !important;
	margin: 0 0 5px 0 !important;
	background: #FFF !important;
	width: auto !important;
}

.AdTaily_Widget_Title {
  margin: -2px !important;
	padding: 6px 0 2px 7px !important;
	font: bold 105% Arial, Sans-Serif !important;
	color: #FFF !important;
	text-transform: uppercase !important;
	/*background: #333;*/
	background: #111 !important;
	letter-spacing: .5px !important;
	width: auto !important;
	float: none !important;
}