/*
Theme Name: Проф. Иван Апостолов
Description: Английска гимназия „Проф. Иван Апостолов”
Version: 1.0
Author: Yavor Ivanov
*/

*{
	margin: 0px;
	padding: 0px;
}

a img{
	border: 0px;
}

body{
	background: #313731 url('images/body.jpg') top left repeat-x;
	font-family: Verdana, 'Trebuchet MS', Tahoma;
	font-size: 12px;
	color: #132414;
}

div#wrapper{
	width: 920px;
	margin: 0 auto 25px auto;
}

div#header{
	height: 127px;
	background: url('images/header.jpg') top left no-repeat;
}

div#header2{
	float: right;
	height: 242px;
	/*background: url('images/header2.jpg') top left no-repeat;*/
	width: 705px;
}

div#sidebar-profiles{
	float: left;
	width: 195px;
	height: 212px;
	background: #fffef2 url('images/proffiles.jpg') bottom left no-repeat;
	overflow: hidden;
	padding: 30px 0px 0px 15px;
}

div#sidebar-profiles h2{
	color: #7e9d7f;
	font-size: 14px;
	font-weight: normal;
	text-transform: uppercase;
	border-bottom: 1px solid #ffdd00;
	padding: 0px 0px 5px 20px;
	font-weight: bold;
}
div#sidebar-profiles h1{
	color: #7e9d7f;
	font-size: 14px;
	font-weight: normal;
	text-transform: uppercase;
	border-bottom: 1px solid #ffdd00;
	padding: 0px 0px 5px 20px;
	font-weight: bold;
}

div#sidebar-profiles ul{
	list-style: none;
	padding: 20px 0px 0px 20px;
}

div#sidebar-profiles ul li{
	background: url('images/list-style-orange-arrows.jpg') 0 14px no-repeat;
	padding: 10px 10px 10px 11px
}

div#sidebar-profiles ul li a{
	color: #7e9d7f;
	font-size: 12px;
	text-transform: uppercase;
	text-decoration: none;
}


div#content{
	background: url('images/content.jpg') top left repeat-y;
}

/* Main sidebar style */
div#content div#sidebar-main{
	float: left;
	width: 182px;
	background: url('images/sidebar-main.jpg') top left no-repeat;
	padding: 28px 13px 0px 15px;	
}

div#content div#sidebar-main ul{
	list-style: none;
	border-bottom: 1px solid #d8e0d2;
	margin: 0px 0px 60px 0px;
}

div#content div#sidebar-main ul li{
	border-top: 1px solid #d8e0d2;
	padding: 2px 0px 3px 20px;
}

div#content div#sidebar-main ul li a{
	text-transform: uppercase;
	font-size: 12px;
	text-decoration: none;
	color: #ffffff;
}

div#content div#sidebar-main ul li a:hover, div#content div#sidebar-main ul li.current_page_item a, div#content div#sidebar-main ul li.current-cat a{
	color: #ffdd00;
	font-weight: bold;
}

div#content div#sidebar-main ul li.current_page_item ul li a, div#content div#sidebar-main ul li.current-cat ul li a{
	font-weight: normal;
	color: #ffffff;
}

div#content div#sidebar-main ul li ul{
	border: 0px;
	margin: 0px;
}

div#content div#sidebar-main ul li ul li{
	border: 0px;
	padding: 0px 0px 0px 6px;
	/*background: url('images/list-style-dash.jpg') 6px 8px no-repeat;*/
}

div#content div#sidebar-main ul li ul li a{
	font-size: 10px;
}

div#content div#sidebar-main h3{
	font-size: 12px;
	font-weight: bold;
	border-top: 2px solid #ffdd00;
	border-bottom: 2px solid #ffdd00;
	padding: 10px 0px 10px 0px;
	text-align: center;
	color: #ffffff;
}

div#content div#sidebar-main h3 a{
	text-decoration: none;
	text-transform: uppercase;
	color: #ffdd00;
}

div#content div#sidebar-main div#pearson_logo{
	text-align: center;
	margin: 110px 0px 43px 0px;
}

form#searchform{
  position: absolute;
  top: -30px;
  left: 14px;
	height: 23px;
	width: 200px;
}

form#searchform span#searchform_left{
	float: left;
	width: 10px;
	height: 23px;	
	background: url('images/searchform-left.jpg') top left no-repeat;
}

form#searchform span#searchform_right{
	float: left;
	width: 10px;
	height: 23px;	
	background: url('images/searchform-right.jpg') top left no-repeat;
}

form#searchform input#s{
	float: left;
	width: 100px;
	height: 19px;
	padding: 4px 0px 0px 0px;
	background: url('images/searchform-body.jpg') top left repeat-x;
	border: 0px;
	margin: 0px;
}

form#searchform input{
	float: left;
	width: 56px;
	height: 23px;
	background: url('images/searchform-submit.jpg') top right no-repeat;
	border: 0px;
	margin: 0px 0px 0px 5px;
}

div#content div#sidebar-main div#pearson_test_of_english h3{
	border-top: 2px solid #a2b8a0;
	border-bottom: 2px solid #a2b8a0;
}
/* end Main sidebar style */

/* the content styles */
div#content div#content-body{
	float: right;
	width: 654px;
	background: url('images/content-body.jpg') top left no-repeat;
	padding: 40px 20px 0px 30px;
	position: relative;
}

div#content div#content-body div#fixer{
	position: absolute;
	top: 0px;
	left: -7px;
	width: 8px;
	height: 9px;
	background: url('images/fixer.jpg') top left no-repeat;
}

div#content div#content-body a{
	color: #7E9D7F;	
}

div#content div#content-body .alignleft{
	/*clear: both;*/
	float: left;
	margin: 5px 5px 5px 0px;
}

div#content div#content-body .alignright{
	/*clear: both;*/
	float: right;
	margin: 5px 0px 5px 5px;
}

div#vipuski .alignleft{
	clear: both;
}

div#content div#content-body div.postbox{
	padding: 25px 0px 25px 0px;
}

div#content div#content-body div.postbox img{
	float: left;
	margin: 0px 20px 10px 0px;
	width: 150px;
	
}

div#content div#content-body div.postbox h3{
	color: #7e9d7f;
	font-weight: bold;
	font-size: 12px;
	padding: 0px 0px 10px 0px;
}

div#content div#content-body div.postbox a.more{
	float: right;
	font-size: 10px;
	font-style: italic;
	color: #ffdd00;
	padding: 0px 50px 0px 0px;
}

div#content div#content-body div#breadcrumb{
	font-size: 11px;
	color: #7e9d7f;
	font-style: italic;
	margin: 0px 0px 30px 0px;
}

div#content div#content-body div#breadcrumb a{
	text-decoration: none;
	color: #132414;
	font-style: normal;
}

div#content div#content-body div#breadcrumb a:hover{
	text-decoration: underline;
}

div#content div#content-body h2{
	border-bottom: 1px solid #ffdd00;
	font-size: 18px;
	color: #7e9d7f;
	font-weight: bold;
	font-style: italic;
	padding: 0px 0px 10px 30px;
	margin: 0px 0px 20px 0px;
	background: url('images/h2-content.jpg') 0 2px no-repeat;
}
div#content div#content-body h1{
	border-bottom: 1px solid #ffdd00;
	font-size: 18px;
	color: #7e9d7f;
	font-weight: bold;
	font-style: italic;
	padding: 0px 0px 10px 30px;
	margin: 0px 0px 20px 0px;
	background: url('images/h2-content.jpg') 0 2px no-repeat;
}

div#content div#content-body ul{
	list-style: inside url('images/list-style-orange-arrows.jpg');
	padding: 3px 0px 3px 10px
}

div#content div#content-body p{
	padding: 3px 0px 3px 0px;
}
/* end the content styles */

/* Home sidebar */
div#home_sidebar{
	float: right;
	width: 175px;
	margin: 0px 0px 10px 10px;
	padding: 0px 0px 0px 15px;
	border-left: 1px solid #e9e9e9;
}

div#home_sidebar h3{
	color: #7e9d7f;
	font-size: 12px;
	font-weight: normal;
	text-transform: uppercase;
	border-bottom: 1px solid #ffdd00;
	padding: 0px 0px 5px 0px;
	text-align: center;
	font-weight: bold;
}
div#home_sidebar h3 a{
  text-decoration: none;
}

div#content div#content-body div#home_sidebar ul{
	list-style: url('images/list-style-orange-arrows2.jpg');
	padding: 10px 0px 10px 24px;
}

div#content div#content-body div#home_sidebar ul li{
	padding: 6px 0px 3px 0px;
}

div#content div#content-body div#home_sidebar ul li a{
	color: #7e9d7f;
	font-size: 11px;
}
/* end Home sidebar */

div#content div#content-body div#home-content{
	width: 410px;
}

div#footer{
	position: relative;
  height: 18px;
	background-color: #7E9D7E;
	background: url('images/footer.jpg') top left repeat-x;
}
div#footer_left{
  float: left;
  padding-left: 8px;
  width: 592px;
  text-align: left;
}
div#footer_right{
  float: left;
  padding-right: 8px;
  width: 312px;
  text-align: right;
}
div#footer_left a, div#footer_right a{
	color: #ffffff;
	font-size: 12px;
	text-decoration: none;
}

/* Contacts / Form 7 */

div#content div#content-body div#contacts_right p{
	padding: 10px 0px;
}

div#contacts_left{
	float: right;
	width: 265px;
	overflow: hidden;
}

div#contacts_right{
	float: left;
	width: 335px;
	overflow: hidden;
}

div#contacts_right form{
	color: #7b9e7b;
	font-size: 12px;
}

div#contacts_right form span.wpcf7-not-valid-tip-no-ajax{
	display: block;
	clear: both;
}

div#contacts_right input.input{
	height: 19px;
	width: 100%;
	padding: 3px 0px 0px 0px;
}

div#contacts_right input.input,
div#contacts_right textarea{
	width: 100%;
	border: 1px solid #7b9e7b;
	margin: 0px;
}

/* Nggallery */
div.piclenselink{
	display: none;
}

div.ngg-navigation{
	text-align: right;
	font-size: 11px;
}

div#content div#content-body .ngg-navigation a.page-numbers,
div#content div#content-body .ngg-navigation a.next,
div#content div#content-body .ngg-navigation a.prev,
div#content div#content-body .ngg-navigation span.page-numbers,
div#content div#content-body .ngg-navigation span.next,
div#content div#content-body .ngg-navigation span.prev{
	border: 0px;
	color: #000000;
	text-decoration: none;
}

div#content div#content-body .ngg-navigation a.next,
div#content div#content-body .ngg-navigation a.prev{
	color: #ffdd00;
}

div#content div#content-body .ngg-navigation span{
	color: #7b9e7b;
} 




div#home-content div.ngg-gallery-thumbnail img{
	width: 110px;
	height: auto;
}

.clear{
	clear: both;
	padding: 6px 0px 0px 0px;
}

.thin_clear{
	clear: both;
	height: 1px;
	font-size: 0px;
	overflow: hidden;
}

#banner-right{
  margin-left: 17px;
  margin-bottom: 10px;
}