/*
Theme Name: domszkolen
Description: dom szkolen
Version: 1.0
Author: Cezary Haller
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/**************** reset end********************************/

body{
	font-size:14px;
	font-family:Arial, Helvetica, sans-serif;
	color:#000;
	background:#fff url(img/body_bg.gif) repeat-x 0 275px;
	overflow-x:hidden;
}

a:hover{
	text-decoration:underline;
}

.clr{
	clear:both;
}

.center{
	width:992px;
	margin:0 auto;
}

#top{
	margin:0 auto;
	width:992px;
	background:url(img/top_main_bg.gif) no-repeat top left;
	height:274px;
	position:relative;
}

#top_bg_left{
	height:275px;
	width:240px;
	position:absolute;
	top:0;
	left:-240px;
	background:url(img/top_left_bg.gif) repeat-x top left;
}

#top_bg_right{
	height:275px;
	width:240px;
	position:absolute;
	top:0;
	right:-240px;
	background:url(img/top_right_bg.gif) repeat-x top left;
}

#top_bg_left2{
	width:50%;
	height:275px;
	position:absolute;
	left:0;
	top:0;
	background:url(img/top_left_bg2.gif) repeat-x top left;
}

#top_bg_right2{
	width:50%;
	height:275px;
	position:absolute;
	right:0;
	top:0;
	background:url(img/top_right_bg2.gif) repeat-x top left;
}

h1{
	display:block;
	overflow:hidden;
}

h1 a{
	display:block;
	overflow:hidden;
	width:204px;
	height:103px;
	margin:70px 0 0 40px;
	text-indent:-999px;
	background:url(img/logo.gif) no-repeat top left;	
}

#main_menu_container{
	clear:both;
	margin-top:46px;
	margin-left:2px;
}

#main_menu_bg{
	overflow:hidden;
	background:url(img/menu_bg_bottom.png) no-repeat left bottom;
	width:100%;
	height:13px;
	position:relative;
	top:-1px;	
	clear:both;
}

#main_menu{
	display:block;
	margin-left:30px;
	background:url(img/menu_bg.png) no-repeat 0 -4px;
	overflow:hidden;
	height:40px;
	margin-top:4px;
	width:734px;
	float:left;
}

.active_page_2 #main_menu{
	background-position:0 -4px;
}

.active_page_4 #main_menu{
	background-position:0 -45px;
}

.active_page_6 #main_menu{
	background-position:0 -86px;
}

.active_page_8 #main_menu{
	background-position:0 -126px;
}

.active_page_10 #main_menu{
	background-position:0 -167px;
}

.active_page_12 #main_menu{
	background-position:0 -207px;
}

#main_menu li{
	float:left;
	display:block;
	width:122px;
	height:44px;
}

#main_menu a{
	display:block;
	text-indent:-999px;
	width:122px;
	height:44px;	
}

#searchform{
	float:right;
	width:209px;
	height:35px;
	position:relative;
	background:url(img/search_bg.png) no-repeat top left;
	overflow:hidden;
	margin:9px 17px 0 0;
}

#search_txt{
	display:block;
	float:left;
	margin:10px 0 10px 24px;
	border:0 none;
	color:#951e26;
	height:14px;
	width:134px;
	line-height:18px;
	font-size:11px;
}

#search_submit{
	display:block;
	float:right;
	margin:7px 16px 0 0;
	background:url(img/search.gif) no-repeat top left;
	width:21px;
	height:22px;
	overflow:hidden;
	text-indent:-999px;
	border:0 none;
	cursor:pointer;
}

#wrap{
	border-left:1px solid #a3a3a3;
	border-right:1px solid #d9d9d9;
	width:985px;
	background:#fff url(img/nav_bg.gif) repeat-y top right;
}

#container{
	float:left;
	width:510px;
	border-right:1px solid #d1dfea;
	padding:10px;
	overflow:hidden;
}

#breadcrumb{
	float:left;
	width:735px;
	position:relative;
	height:27px;
	line-height:27px;
	color:#00446a;
	font-size:11px;
	background:#bddfe7 url(img/breadcrumb_bg.gif) repeat-x top left;
	padding-left:20px;
	font-weight:bold;
	/*border:1px solid #a3a3a3;*/
}

#breadcrumb a{
	color:#00446a;
	font-size:11px;
	text-decoration:none;
	font-weight:bold;	
}

/*****************************navs**************************/

#left_nav{
	float:left;
	width:230px;
}

#right_nav{
	float:right;
	width:224px;
}

#right_nav ul{
	margin-top:20px;
}

#right_nav ul li{
	display:block;
	margin:10px 0;
}

#sub_menu_field{
	background:#fff;
	height:27px;
	overflow:hidden;
	margin-bottom:-45px;
}

#sub_menu{
	background:#bd212e;
	display:block;
}

#sub_menu li{
	display:block;
}

#sub_menu a{
	display:block;
	padding:5px 0 5px 20px;
	border-bottom:1px solid #a61d28;
	color:#fff;
	text-decoration:none;
	font-size:12px;
	line-height:16px;
}

#sub_menu li:last-child a{
	border-bottom:0 none;
}


#sub_menu a:hover, #sub_menu .current_page_item a, #sub_menu .current_page_ancestor a{
	background:#FFDF00 url(img/submenu_active.gif) repeat-x top left;
	color:#00446a;
}

#facebook{
	margin:30px auto;
	width:185px;
	height:400px;
}

#right_nav .widget_sp_image-image-link{
	display:block;
	text-align:center;
}

.aligncenter{
	margin:0 auto;
	text-align:center;
}

/*****************************navs**************************/

/*****************************container**************************/

#container h3.title{
	margin:0 0 20px 0;
}

#container h3{
	margin:20px 0;
}

#container h3, #container h3 a{
	color:#0b4e9f;
	font-size:18px;	
	text-decoration:none;
}

#container h4{
	margin:15px 0;
}

#container h4, #container h4 a{
	color:#0b4e9f;
	font-size:16px;	
}

#container h5{
	margin:10px 0
}

#container h5, #container h5 a{
	color:#0b4e9f;
	font-size:14px;	
}

#container{
	line-height:150%;
}

#container p{
	margin:20px 0;
}

/*****************************container**************************/

.search_results li{
	margin:0 0 10px 20px;
	list-style:decimal;
	color:#0B4E9F;
	font-size:18px;
}

.search_results li a{
	color:#0B4E9F;
	font-size:14px;
	text-decoration:none;	
}

.search_results li div{
	color:#000;
	font-size:12px;
}

#wrap .search_results p{
	margin:10px 0;
}
/********************************footer****************************/
#footer{
	clear:both;
	background:url(img/bg_bottom.gif) no-repeat top center;
	overflow:hidden;
}

#footer_info{
	margin:0 auto;
	text-align:center;
	color:#fff;
	font-size:12px;
	line-height:22px;
}

#footer_info a{
	color:#fff;
	text-decoration:none;
	
}

#footer_info a:hover{
	text-decoration:underline;
}

#footer_ue{
	margin:40px auto;
	background:url(img/ue_footer.jpg) no-repeat top center;
	padding-top:70px;
	text-align:center;
	font-size:12px;
}

#container .wpcf7 p{
	margin:5px;
}

#container #wpcf7-f1-p12-o1 input, #container #wpcf7-f1-p12-o1 textarea{
	width:339px;
}

#container .wpcf7 input, #container .wpcf7 textarea{
	border:1px solid #A3A3A3;
	width:200px;
}

#container .wpcf7{
	position:relative;
	overflow:hidden;
}

#container .wpcf7 #submit{
	float:right;
	margin-right:159px;
	width:75px;
}

#container #wpcf7-f2-p52-o1 #submit{
	margin-right:38px;
}

#container #wpcf7-f2-p52-o1{
	width:250px;
	float:left;
	display:block;
}

#container #wpcf7-f2-p52-o1 textarea{
	width:200px;
}

#ad_box, #ad_box_bottom{
	display:block;
	text-align:center;
	margin:0 0 20px 0;
}

#ad_box_bottom{
	clear:both;
	margin:20px 0 0 0;	
}

#left_nav_asd{
	margin:10px 0 30px 0;
}

#left_nav_asd li{
	display:block;
	text-align:center;
	
}

#news li{
	display:block;
	margin-bottom:10px;
}

#news h2{
	bottom:0;
}

#news h2 a{
	color:#0B4E9F;
	font-size:16px;
	text-decoration:none;	
}

#news .time{
	font-size:12px;
	color:#BFBFBF;
}

#news .storycontent{
	overflow:hidden;
}

#news li p{
	margin:0;
}

.wp-pagenavi{
	text-align:center;
	margin:30px 0 20px;
	clear:both;
}

.storycontent a{
	color:#CF0017;
}

.storycontent{
	font-size:12px;
}

.storycontent ul{
	list-style:square;
}

.storycontent ol{
	list-style:decimal;
}

.storycontent li{
	margin-left:15px;	
}




