/*   

Theme Name: Bitova technika
Theme URI: http://www.bitovatehnika.com/
Description: Оптимизирана тема за wordpress
Author: Miroslav Stanchev
Version: 1.0
Tags: 2 koloni, widget ready, menu ready, thumbnail ready

*/



/*Css reset*/
html{color:#000;background:#FFF}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,select,p,blockquote,th,td{margin:0;padding:0}
table{border-collapse:collapse;border-spacing:0}
fieldset,img{border:0}
address,button,caption,cite,code,dfn,em,input,optgroup,option,select,strong,textarea,th,var{font:inherit}
del,ins{text-decoration:none}
li{list-style:none}
caption,th{text-align:left}
q:before,q:after{content:''}
abbr,acronym{border:0;font-variant:normal}
legend{color:#000}
sup,sub{vertical-align:baseline}
a{text-decoration: none;}

/*Rebuild css*/
body{background:#fff;} body{color:#111;line-height:1.22;} h1,h2,h3,h4,h5,h6{clear:both;} hr{background-color:#999;border:0;height:1px;margin-bottom:1.5em;} ul{list-style:disc;margin:0 0 1.5em 2.5em;} ol{list-style-type:decimal;margin:0 0 1.5em 2.5em;} ol ol{list-style:upper-alpha;} ol ol ol{list-style:lower-roman;} ol ol ol ol{list-style:lower-alpha;} ul ul,ol ol,ul ol,ol ul{margin-bottom:0;} dl{margin:0 1.5em;} cite,em,i{font-style:italic;} blockquote{margin:0 3em;} blockquote em,blockquote i,blockquote cite{font-style:normal;} pre{font:11px Monaco, monospace;line-height:1.5;margin-bottom:1.5em;} code{font:11px Monaco, monospace;} abbr,acronym{border-bottom:1px dotted #666;cursor:help;} ins{text-decoration:none;} sup,sub{height:0;line-height:1;vertical-align:baseline;position:relative;} sup{bottom:1ex;} sub{top:.5ex;} p,dd{padding-bottom: 6px;} dt,strong{font-weight:700;}

/*Basic wp style*/
.post img{margin:0;} .alignleft,img.alignleft{display:inline;float:left;padding-right: 5px;} .alignright,img.alignright{display:inline;float:right;padding-left: 5px;} .aligncenter,img.aligncenter{clear:both;display:block;margin-left:auto;margin-right:auto;} .wp-caption{text-align:center;margin-bottom:1.5em;} .wp-caption img{border:0 none;margin:0;padding:0;} .wp-smiley{max-height:1em;margin:0!important;} .gallery-caption{margin:-1.5em 0 0;} blockquote.left{float:left;margin-left:0;margin-right:5px;text-align:right;} blockquote.right{float:right;margin-left:5px;margin-right:0;text-align:left;} .wp-caption p.wp-caption-text,.gallery dl{margin:0;}
/*Clear float*/
.clear { clear: both;display: block;overflow: hidden; visibility: hidden; width: 0;height: 0; }


html,body { font: 14px Tahoma,FreeSans; }
body{ background: url("img/bg.png") repeat-x; }
ul { padding: 0px;margin: 0px; }
a { outline: 0; color: #005aa1;}

#wrapper { margin: 0 auto;width: 990px; }
#header, #sidebar, #content, .post, .post-nachalna, #footer-content .widget { display:inline;float: left;position: relative; margin-left: 0px; }
#header, #slider, #footer, #footer-content, #lenta-bottom , #lenta-top{ width: 990px; margin: 0 auto; }
#footer { padding: 10px 0 10px 0; }
#footer-container { background: #005aa1; margin-bottom: 5px;  }
#footer-content { background: url("img/lentas.png") repeat-y;}
#footer-content a { color: #fff; }
#footer-content a:hover { text-decoration: underline; }
#footer-content .widget { width: 188px; color: #fff; padding-left: 10px; }
#lenta-top { height: 28px; background: url("img/lentat.png") no-repeat; }
#lenta-bottom { height: 28px; background: url("img/lentab.png") no-repeat; }

#footer p { text-align: center; }
#slider { margin-top: 7px; height: 120px; margin-bottom: 15px; *margin-top: 3px; }

#sidebar .widget { margin-bottom: 15px; }
#sidebar h4.widget-title, #content h1.catid, #content .post-single h1 a, #content h1.pageid 
{ background: #005aa1; font-weight: bold; color: #fff; text-align: center; display: block; border-radius: 2px; padding: 3px 0 3px 0; margin-bottom: 10px; }
#content .post-single h1 a { font-size: 14px; }
#sidebar h4.widget-title a { color: #fff; }
#content h1.pageid  a { color: #fff; }
#content, #content p { color: #333399; }
#content a { color: #333399; }
#content h1.catid,
#content h1.pageid { font-size: 14px; }

#info { background: #005aa1; padding: 3px 0 3px 0; font-weight: bold; text-align: center; margin-bottom: 10px; }
#info, #info a { color: #fff; } 

#sidebar { width: 250px; color: #005aa1;}
#content { width: 720px; padding-left: 20px;}

.post-nachalna, .post-category { margin-bottom: 10px; border-radius: 3px; width: 218px; height: 300px; border: 1px solid #005aa1; background: #005aa1; color: #fff; }
.post-nachalna { height: 130px; margin-right: 10px; margin-left: 9px; }
.post-nachalna h2 { color: #fff; font-size: 14px; }
.post-category { height: 195px; margin-right: 10px; margin-left: 9px; color: #fff !important; } 
.post-category h2 { font-size: 14px; }
.post-category a, .post-category p { color: #fff !important; }
.post-category a, .post-nachalna a { color: #fff;  font-weight: bold; text-align: center; display: block; padding-top: 15px; margin: 0px; padding: 0px; }

.ss { height: 180px !important; } 

#thumb-bg { width: 220px; height: 65px; }
.thumbnail-cat { height: 140px; }
.thumbnail-cat img { width: 218px; }
.thumbnail img {	height: 111px; width: 218px; }

h2.cattit { height: 36px; font-weight: bold;}

/* Stranicirane */
.pagination{clear:both;position:relative;font-size:11px;line-height:13px;padding:0 0 0 5px}
.pagination span,.pagination a{display:block;float:left;text-decoration:none;width:auto;color:#fff;background:#2370ac;margin:2px 2px 2px 0;padding:6px 9px 5px}
.pagination a:hover{color:#fff;background:#005aa1}
.pagination a { color: #fff !important; }
.pagination .current{background:#005aa1;color:#fff;padding:6px 9px 5px}
div.centerbox-outer{float:left;left:50%;position:relative;margin:0 auto}
div.centerbox-inner{text-align:justify;float:left;position:relative;right:50%}

/*Logo*/
#logo { width: 300px; float: left; }
/*Top menu*/
#top-menu { width: 650px; float: right; }
#top-menu li.menu-item {
    border: 1px solid #ccc; border-radius: 4px; display: block; width: 100px; float: left; text-align: center; margin: 10px 0 0 5px; background: #fff; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 0%, #f2f2f2 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f2f2f2)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 0%,#f2f2f2 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 0%,#f2f2f2 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #ffffff 0%,#f2f2f2 100%); /* IE10+ */
	background: linear-gradient(to bottom, #ffffff 0%,#f2f2f2 100%); /* W3C */
}
#top-menu ul { height: 50px; float: right; }
#top-menu li a { color: #005aa1; display: block; padding: 5px 0 5px 0; }
#top-menu li a:hover, #top-menu li.current-menu-item a  {
	display: block; color: #fff; border: none; background: #0080d1; /* Old browsers */
	background: -moz-linear-gradient(top, #0080d1 0%, #005aa1 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0080d1), color-stop(100%,#005aa1)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #0080d1 0%,#005aa1 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #0080d1 0%,#005aa1 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #0080d1 0%,#005aa1 100%); /* IE10+ */
	background: linear-gradient(to bottom, #0080d1 0%,#005aa1 100%); /* W3C */
	
}

/*Search*/
#s {
	float: left; width: 185px; padding: 5px; border: 1px solid #ccc; height: 15px; border-radius: 3px; background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 0%, #efefef 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #ffffff 0%,#efefef 100%); /* IE10+ */
	background: linear-gradient(to bottom, #ffffff 0%,#efefef 100%); /* W3C */
}
#searchsubmit {
    text-transform: lowercase; float: left; width: 50px; background: #0080d1; /* Old browsers */
	background: -moz-linear-gradient(top, #0080d1 0%, #005aa1 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0080d1), color-stop(100%,#005aa1)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #0080d1 0%,#005aa1 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #0080d1 0%,#005aa1 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #0080d1 0%,#005aa1 100%); /* IE10+ */
	background: linear-gradient(to bottom, #0080d1 0%,#005aa1 100%); /* W3C */
	color: #fff;
	border: none;
	padding: 2px 0px 4px 0;
	margin: 1px 0 0 2px;
	border-radius: 3px;
}

/*Side menu*/
#sidebar .menu-menu-container { margin-bottom: 15px;}
#sidebar .menu-menu-container { border-radius: 3px; background: #005aa1;}
#sidebar .menu-menu-container a { color: #fff; display: block; padding: 2px 5px 3px 14px; background: url("img/strelka.gif") no-repeat left;}
#sidebar .menu-menu-container li { border-bottom: 1px solid #0078d7; }
#sidebar .sub-menu a { background: #0078d7; border-bottom: 1px solid #005aa1; }


/*Contact Form*/

.wpcf7 { width: 600px; padding: 5px 0 0 0;}
.wpcf7 p { color: #005aa1; }
form.wpcf7-form p { width: 272px; }
input.wpcf7-form-control, textarea.wpcf7-textarea { border: 1px solid #ccc; padding: 5px 10px ; margin-top: 3px; border-radius: 3px; }
textarea.wpcf7-textarea { width: 460px; }
input.wpcf7-form-control.wpcf7-submit { background: #005aa1; color: #fff; width: 80px; margin-left: 403px; padding-top: 5px; padding-right: 10px; padding-bottom: 5px; padding-left: 10pxpx; }


/* Basic jQuery Slider essential styles */

ul.bjqs{position:relative; list-style:none;padding:0;margin:0;overflow:hidden; display:none;}
li.bjqs-slide{position:absolute; display:none;}
ul.bjqs-controls{list-style:none;margin:0;padding:0;z-index:9999; }
ul.bjqs-controls.v-centered li a{position:absolute; display: none; }
ul.bjqs-controls.v-centered li.bjqs-next a{right:0; display: none;}
ul.bjqs-controls.v-centered li.bjqs-prev a{left:0; display: none;}
ol.bjqs-markers{list-style: none; padding: 0; margin: 0; width:100%; display: none;}
ol.bjqs-markers.h-centered{text-align: center; display: none;}
ol.bjqs-markers li{display:inline;}
ol.bjqs-markers li a{display:inline-block;}
p.bjqs-caption{display:block;width:96%;margin:0;padding:2%;position:absolute;bottom:0;}