/*   
Theme Name: Asenovgrad
Theme URI: http://www.asenovgradbg.com/
Description: Оптимизирана тема за wordpress
Author: Miroslav Stanchev
Version: 2.0
Tags: 2 koloni, widget ready, menu ready, thumbnail ready
.
.
*/
a{
	text-decoration: none;
}

.clear {
clear: both;
display: block;
overflow: hidden;
visibility: hidden;
width: 0; 
height: 0;}


/*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}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}
q:before,q:after{content:''}
abbr,acronym{border:0;font-variant:normal}
legend{color:#000}
sup,sub{vertical-align:baseline}

/*REBUILD CSS*/
body{background:#fff;} body,input,textarea{color:#111;line-height:1.48;} h1,h2,h3,h4,h5,h6{font-weight:400; } hr{background-color:#999;border:0;height:1px;margin-bottom:0.4em;} ul{list-style:disc;margin:0 0 0.4em 2.5em;} ol{list-style-type:decimal;margin:0 0 0.4em 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 0.4em;} 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:0.4em;} 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{margin-bottom:0.4em;} dt,strong{font-weight:700;}

/*BASIC WP STYLE*/
.post img{margin:0;} .alignleft,img.alignleft{display:inline;float:left; padding: 15px 5px 0 0;} .alignright,img.alignright{ padding: 15px 0 0 5px; display:inline;float:right;} .aligncenter,img.aligncenter{clear:both;display:block;margin-left:auto;margin-right:auto;} .wp-caption{text-align:center;margin-bottom:0.4em;} .wp-caption img{border:0 none;margin:0;padding:0;} .wp-smiley{max-height:0.4em;margin:0!important;} .gallery-caption{margin:-0.4em 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;}

body {
	font-family: 'Noto Serif'; 
	font-size: 16px;
}
ul li, ul, li { margin: 0; padding: 0;}

::selection {
  background: #414141; /* WebKit/Blink Browsers */
  color: #fff;
}
::-moz-selection {
  background: #414141; /* Gecko Browsers */
  color: #fff; 
}

#wrapper {
    
}
#header { border-bottom: 3px double black; width: 1140px; margin: 0 auto; }
#menu {  font-family: 'Noto Serif'; margin: 0 auto; display: table;  } 
#slider { width: 1140px; height: 508px; margin: 0 auto; }
#slider-container { padding-top: 15px; border-top: 1px solid #7c7b7b; }
#menu li.current-menu-item a, #menu a:hover { color: #d20608; background: url('/wp-content/themes/asenovgrad/images/arrow.png') no-repeat top center; display: block; }
#menu a { font-size: 18px; color: #393939; text-transform: uppercase; font-family: 'Noto Serif'; padding: 8px 20px 8px 20px; }
#logo { width: 500px; height: 160px; margin: 0 auto; }
#post-container .nachalna img { width: 366px; }
#post-container .nachalna p a strong { font-weight: normal; }
#post-container .nachalna h2 strong a { line-height: 35px; }
#post-container .nachalna { float: left; display: inline; width: 366px; height: 420px; color: #4a4a4a; border-top: 1px solid #7c7b7b; padding-top: 15px; margin-left: 20px; }
#post-container .nachalna h2 a { font-weight: bold; font-size: 28px; color: #4a4a4a;; }
#post-container .nachalna h2 a:hover,nachalna a:hover { color: #d12222; }
#post-container .nachalna a { color: #4a4a4a; }

#sidebar .nachalna h2 strong a { line-height: 16px; }
#sidebar .nachalna img { width: 120px; height: 73px; float: left; padding: 4px 5px 0 0; }
#sidebar .nachalna strong a {  padding: 0; margin: 0;   }
#sidebar .nachalna h2 a { font-weight: bold !important; }
#sidebar .nachalna a strong { font-weight: normal !important; }
#sidebar .nachalna { width: 300px; height: 84px; color: #4a4a4a; border-top: 1px solid #7c7b7b; padding-top: 2px; }
#sidebar .nachalna h2 a { font-weight: bold; font-size: 13px; color: #4a4a4a; line-height: 5px;  }
#sidebar .nachalna h2 a:hover,nachalna a:hover { color: #d12222; }
#sidebar .nachalna a { color: #4a4a4a; font-size: 11px; }
#sidebar .post { width: 1180px; margin: 0 auto; }
.post h1.title { display: none; }

#single { width: 820px; float: right; display: inline; margin: 0; padding: 0; }
#single p a strong,
#single p strong { font-weight: normal; }
#single p { padding-bottom: 5px !important; }
#single img { max-width: 820px; height: auto; }
#sidebar { width: 300px; float: left; display: inline; margin: 0; padding: 0; }
#sidebar .widget { border-top: 3px double black; padding-top: 5px; padding-bottom: 5px; }
#sidebar h4.widget-title { font-weight: bold; text-align: center; padding-bottom: 4px; font-size: 19px; }
#footer{ width: 1140px; margin: 0 auto; padding-top: 10px; }
#post-container { width: 1180px; margin: 0 auto; padding-top: 10px; color: #4a4a4a; }
#post-container-single, #post-container-tag, #post-container-search  { width: 1140px; margin: 0 auto; padding: 15px 0 15px 0; border-top: 1px solid #7c7b7b; color: #4a4a4a; }
#post-container-single a,  #post-container-tag a, #post-container-search a { color: #4a4a4a; } 
#post-container-single a:hover,  #post-container-tag a:hover, #post-container-search a:hover { color: #d20608; }
#footer p a strong,
#footer center p strong { font-weight: normal; } 
#footer-container { font-family: Arial; color: #b2b2b2; font-size: 13px; padding: 20px 0 10px 0; background: #414141 url('/wp-content/themes/asenovgrad/images/sqnka.png') no-repeat top center; }
#footer-container a { font-family: Arial; color: #b2b2b2; font-size: 13px; } 

li.lsi-social-facebook a {
    font-size: 0px;
}


/*Galeriq*/
.gallery br { display:none !important; }
.gallery img.attachment-thumbnail { float: left; display: inline; margin: 0 5px 10px 5px; border: 1px solid #393939; }
.gallery { width: 775px; margin: 0 auto; }

/* Kontakti */
#kontakti { float: left; display: inline; margin: 0; padding: 0; width: 400px; height: 355px; }
#kontakti-karta { float: right; display: inline; margin: 0; padding: 0; width: 400px; height: 355px;}
#kontakti form.wpcf7-form p{width:395px;padding:0;margin:0; }
#kontakti input.wpcf7-form-control{background: #e1e1e1; width:384px; height: 20px; border: none; border-bottom:1px solid #c70606; padding:0; margin:0; padding: 3px; }
#kontakti textarea.wpcf7-form-control{background: #e1e1e1;height:130px;width:384px;border: none; border-bottom:1px solid #c70606; padding:0;margin:0; padding: 3px;}
#kontakti input.wpcf7-submit{padding:0;margin:0; margin-top:15px;margin-right:4px;width:100px;border:none;color:#fff;background:#d12222;float:right; height: 29px; width: 391px; }
#kontakti input.wpcf7-submit:hover { background: #000; }
#kontakti-tekst { height: 355px; border: 1px solid red; }


/* Slider controls*/
ol.bjqs-markers li a { font-size: 0px; width: 20px; height: 20px; background: url('/wp-content/themes/asenovgrad/images/slider-black.png') no-repeat top left;	margin: 10px 5px; }
ol.bjqs-markers li.active-marker a,ol.bjqs-markers li a:hover { font-size: 0px; width: 20px; height: 20px; background: url('/wp-content/themes/asenovgrad/images/slider-red.png') no-repeat top left; margin: 10px 5px; }

/*** ESSENTIAL STYLES ***/
.sf-menu,.sf-menu *{margin:0;padding:0;list-style:none}
.sf-menu li{position:relative}
.sf-menu ul{position:absolute;display:none;top:100%;left:0;z-index:99}
.sf-menu > li{float:left}
.sf-menu li:hover > ul,.sf-menu li.sfHover > ul{display:block}
.sf-menu a{display:block;position:relative}
.sf-menu ul ul{top:0;left:100%}

/* 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;}
ul.bjqs-controls.v-centered li.bjqs-next a{right:0;}
ul.bjqs-controls.v-centered li.bjqs-prev a{left:0;}
ol.bjqs-markers{list-style: none; padding: 0; margin: 0; width:100%;}
ol.bjqs-markers.h-centered{text-align: center;}
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;}


/* Social Icons*/
.widget_baba { margin: 0 auto; display: table; }
.sbr_box h4.widget-title { display: none; }

li.sbr_text.social-icons.FB a img, 
li.sbr_text.social-icons.TW a img, 
li.sbr_text.social-icons.Youtube a img, 
li.sbr_text.social-icons.Gplus a img, 
li.sbr_text.social-icons.Linked a img, 
li.sbr_text.social-icons.Email a img, 
li.sbr_text.social-icons.Instagram a img, 
li.sbr_text.social-icons.Tumblr a img,
li.sbr_text.social-icons.Skype a img {
    display: none;
}
li.sbr_text.social-icons.FB a, 
li.sbr_text.social-icons.TW a, 
li.sbr_text.social-icons.Youtube a, 
li.sbr_text.social-icons.Gplus a, 
li.sbr_text.social-icons.Linked a, 
li.sbr_text.social-icons.Email a, 
li.sbr_text.social-icons.Instagram a, 
li.sbr_text.social-icons.Skype a {
    width: 50px;
    height: 50px;
    display: block;
}
li.sbr_text.social-icons.FB a { background: url('http://www.asenovgradbg.com/wp-content/themes/asenovgrad/images/facebook_black.png') no-repeat top left; }
li.sbr_text.social-icons.FB a:hover { background: url('http://www.asenovgradbg.com/wp-content/themes/asenovgrad/images/facebook_red.png') no-repeat top left; }
li.sbr_text.social-icons.TW a { background: url('http://www.asenovgradbg.com/wp-content/themes/asenovgrad/images/twitter_black.png') no-repeat top left; }
li.sbr_text.social-icons.TW a:hover { background: url('http://www.asenovgradbg.com/wp-content/themes/asenovgrad/images/twitter_red.png') no-repeat top left; }
li.sbr_text.social-icons.Youtube a { background: url('http://www.asenovgradbg.com/wp-content/themes/asenovgrad/images/youtube_black.png') no-repeat top left; }
li.sbr_text.social-icons.Youtube a:hover { background: url('http://www.asenovgradbg.com/wp-content/themes/asenovgrad/images/youtube_red.png') no-repeat top left; }
li.sbr_text.social-icons.Gplus a { background: url('http://www.asenovgradbg.com/wp-content/themes/asenovgrad/images/google_black.png') no-repeat top left; }
li.sbr_text.social-icons.Gplus a:hover { background: url('http://www.asenovgradbg.com/wp-content/themes/asenovgrad/images/google_red.png') no-repeat top left; }
li.sbr_text.social-icons.Linked a { background: url('http://www.asenovgradbg.com/wp-content/themes/asenovgrad/images/linkedin_black.png') no-repeat top left; }
li.sbr_text.social-icons.Linked a:hover { background: url('http://www.asenovgradbg.com/wp-content/themes/asenovgrad/images/linkedin_red.png') no-repeat top left; }
li.sbr_text.social-icons.Email a { background: url('http://www.asenovgradbg.com/wp-content/themes/asenovgrad/images/email_black.png') no-repeat top left; }
li.sbr_text.social-icons.Email a:hover { background: url('http://www.asenovgradbg.com/wp-content/themes/asenovgrad/images/email_red.png') no-repeat top left; }
li.sbr_text.social-icons.Instagram a { background: url('http://www.asenovgradbg.com/wp-content/themes/asenovgrad/images/instagram_black.png') no-repeat top left; }
li.sbr_text.social-icons.Instagram a:hover { background: url('http://www.asenovgradbg.com/wp-content/themes/asenovgrad/images/instagram_red.png') no-repeat top left; }
li.sbr_text.social-icons.Skype a { background: url('http://www.asenovgradbg.com/wp-content/themes/asenovgrad/images/skype_black.png') no-repeat top left; }
li.sbr_text.social-icons.Skype a:hover { background: url('http://www.asenovgradbg.com/wp-content/themes/asenovgrad/images/skype_red.png') no-repeat top left; }


@media screen 
  and (min-width: 1025px) 
  and (max-width: 1300px)
{	
	#menu a { padding: 8px 15px 8px 15px; }
	#header, #post-container-page { width: 1024px; }
	#post-container, #post-container-front { width: 1060px; }
	#slider { width: 1024px; height: 475px;}
	#footer{ width: 1024px; }
    	#post-container-single, #post-container-tag, #post-container-search  { width: 1024px; }
	#single { width: 703px; }
	#single iframe { max-width: 703px; height: 400px; }
	#single img, #page img { max-width: 703px; height: auto; }
	#post-container .nachalna {  width: 326px; height: 435px; }
	#front-text { width: 326px; height: 340px; }
	#post-container .nachalna img, #front-text img { max-width: 326px; height: auto;}
	#post-container .nachalna p a, #front-text p a{ font-size: 16px; }
	#kontakti { float: none; display: block; margin: 0 auto; padding: 0; width: 400px; height: 355px; }
	#kontakti-karta { float: none; display: block; margin: 0 auto; padding: 0; width: 400px; height: 355px;}
	.gallery { width: 585px; margin: 0 auto; }
}

@media screen 
  and (min-width: 769px) 
  and (max-width: 1024px)
{	
	#menu a { padding: 8px 5px 8px 5px; }
	#header, #post-container-page { width: 768px; }
	#post-container, #post-container-front { width: 800px; }
	#slider { width: 768px; height: 370px;}
	#footer{ width: 768px; }
	#post-container-single, #post-container-tag, #post-container-search  { width: 768px; }
	#single { width: 446px; }
	#single iframe { max-width: 446px; height: 270px; }
	#single img, #page img { max-width: 446px; height: auto; }
	#post-container .nachalna img, #front-text img { max-width: 240px; height: auto;}
	#post-container .nachalna {  width: 240px; height: 370px; }
	#front-text { width: 240px; height: 310px; }
	#post-container .nachalna h2 strong a, #front-text h1 a { line-height: 25px; }
	#post-container .nachalna h2 a, #front-text h1 a { font-size: 20px; }
	#post-container .nachalna p a, #front-text p a { font-size: 15px; }
	#kontakti { float: none; display: block; margin: 0 auto; padding: 0; width: 400px; height: 355px; }
	#kontakti-karta { float: none; display: block; margin: 0 auto; padding: 0; width: 400px; height: 355px;}
	.gallery { width: 390px; margin: 0 auto; }
}

@media screen 
  and (min-width: 320px) 
  and (max-width: 770px)
{	
	#header { border-bottom: 1px solid black; margin-bottom: 1px; }
	#menu a { padding: 8px 0 8px 0; }
	#menu-container li { text-align: center; width: 160px; border-top: 1px solid black; }
	#menu-container { width: 480px; margin: 0 auto; }
	#header, #post-container-page { width: 480px; }
	#post-container, #post-container-page, #post-container-front { width: 520px; }
	#slider { width: 480px; height: 253px;}
	#footer{ width: 480px; }
	#post-container-single, #post-container-tag, #post-container-search  { width: 480px; }
	#single { width: 480px; float: left;  }
	#single iframe { max-width: 480px; height: 280px; }
	#single img, #page img { max-width: 480px; height: auto; }
	#sidebar { display: none; }
	#post-container .nachalna img, #front-text img{ max-width: 227px; height: auto;}
	#post-container .nachalna { width: 227px; height: 350px; }
	#front-text { width: 227px; height: 350px; }
	#post-container .nachalna h2 strong a, #front-text h1 a { line-height: 25px; }
	#post-container .nachalna h2 a, #front-text h1 a  { font-size: 20px; }
	#post-container .nachalna p a, #front-text p a  { font-size: 14px; }
	#kontakti { float: none; display: block; margin: 0 auto; padding: 0; width: 400px; height: 355px; }
	#kontakti-karta { float: none; display: block; margin: 0 auto; padding: 0; width: 400px; height: 355px;}
	.gallery { width: 390px; margin: 0 auto; }
}

/* Color box */
#colorbox,#cboxOverlay,#cboxWrapper{position:absolute;top:0;left:0;z-index:9999;overflow:hidden}
#cboxWrapper{max-width:none}
#cboxOverlay{position:fixed;width:100%;height:100%}
#cboxMiddleLeft,#cboxBottomLeft{clear:left}
#cboxContent{position:relative}
#cboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}
#cboxTitle{margin:0}
#cboxLoadingOverlay,#cboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}
#cboxPrevious,#cboxNext,#cboxClose,#cboxSlideshow{cursor:pointer}
.cboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}
.cboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}
#colorbox,#cboxContent,#cboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}
#cboxOverlay{background:#000;opacity:.9;filter:alpha(opacity = 90)}
#colorbox{outline:0}
#cboxContent{margin-top:20px;background:#000}
.cboxIframe{background:#fff}
#cboxError{padding:50px;border:1px solid #ccc}
#cboxLoadedContent{border:5px solid #000;background:#fff}
#cboxTitle{position:absolute;top:-20px;left:0;color:#ccc}
#cboxCurrent{position:absolute;top:-20px;right:0;color:#ccc}
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center}
#cboxPrevious,#cboxNext,#cboxSlideshow,#cboxClose{border:0;padding:0;margin:0;overflow:visible;width:auto;background:none}
#cboxPrevious:active,#cboxNext:active,#cboxSlideshow:active,#cboxClose:active{outline:0}
#cboxSlideshow{position:absolute;top:-20px;right:90px;color:#fff}
#cboxPrevious{position:absolute;top:50%;left:5px;margin-top:-32px;background:url(images/controls.png) no-repeat top left;width:28px;height:65px;text-indent:-9999px}
#cboxPrevious:hover{background-position:bottom left}
#cboxNext{position:absolute;top:50%;right:5px;margin-top:-32px;background:url(images/controls.png) no-repeat top right;width:28px;height:65px;text-indent:-9999px}
#cboxNext:hover{background-position:bottom right}
#cboxClose{position:absolute;top:5px;right:5px;display:block;background:url(images/controls.png) no-repeat top center;width:38px;height:19px;text-indent:-9999px}
#cboxClose:hover{background-position:bottom center}