/*
Theme Name: deFusion
Theme URI: http://webdemar.com/demo/?wptheme=deFusion
Description: Clean and easy customizable theme deFusion by <a href="http://webdemar.com">webdemar</a>. Now with dropdown menu, sticky posts and threaded comments.
Version: 0.9
Author: webdemar
Author URI: http://webdemar.com
Tags: black, dark, white, two-columns, fixed-width, right-sidebar, threaded-comments, sticky-post
*/

/*
	- GENERAL
	- BASIC LAYOUT
	- HEADINGS
	- HEADER
	- CONTENT
		+ CONTENT LEFT
		+ CONTENT RIGHT
	- COMMENTS
	- SEARCHFORM
	- FOOTER
	- WORDPRESS CSS
	- USEFUL

/*	##################################
   	GENERAL
	################################## */
	
body {
	margin: 0px;
	padding: 0px;
	/*background: #1e1f21 url(img/bg-body.gif) no-repeat left top;*/
	/*background: #1e1f21 url(img/bg-body.gif) repeat-x;*/
	background: #2d88aa;
	color: #6e7073;
	font: 13px/18px "Helvetica Neue", Helvetica, Verdana, Arial, sans-serif;
}

a {
	color: #6e7073;
	outline: none;
}

p {
	margin: 0 0 20px 0;
}

ul, ol {
	margin-bottom: 20px;
}

/*	##################################
   	BASIC LAYOUT
	################################## */
	
#page {
	width: 940px;
	margin: 0 auto;
}

#header_image {
	width: 940px;
	margin: 0 auto;
	height: 140px;
	background: url(img/header.jpg);
	z-index: 2; /* IE z-index bug */
}

#header {
	position: relative;
	height: 140px;
	z-index: 2; /* IE z-index bug */
}

#menubar {
	width: 940px;
/*	margin: 0 auto;*/
	height: 32px;

}

#menuspace {
	width: 940px;
	margin: 0 auto;
	height: 10px;
	background: url(img/space.jpg);

}

#content {
width: 940px;
	/*padding: 10px 0 0 10px;*/
	background: #fff;
	border:0px solid red;
border:0px solid #fff;
	z-index: 1; /* IE z-index bug */
}

#content-left {
	float: left;
	width: 520px;
	border:0px solid green;
}
/** current in used **/
#content-left_all {
	float: left;
	width: 705px;
	padding:7px;
	border:0px solid green;
}

#content-leftside {
	float: left;
	width: 203px;
        border:0px solid red;

}

#content-leftside a{
        font-size: 14px;
	font-weight: normal;
color : #0000aa;
}

#content-right {
	float: right;
	width: 200px;
border:0px solid green;
}



/*	##################################
   	HEADINGS
	################################## */
	
h1, h1 {
	margin: 0 0 20px 0;
}

h3, h4, h5, h6 {
	margin: 0 0 10px 0;
}
	
h1#blog-title {
	position: absolute;
	bottom: 80px;
	left: 0px;
	margin: 0px;
	padding: 0px;
	line-height: 1;
	font-size: 24px;
	font-weight: normal;
}

h1#blog-title a {
	color: #fff;
	text-decoration: none;
}

h2#blog-description {
	position: absolute;
	bottom: 60px;
	left: 0px;
	margin: 0px;
	padding: 0px;
	font-size: 12px;
	font-weight: normal;
}

h2.category-title {
	margin: 0 20px 20px 20px;
	padding: 0 0 10px 0;
	border-bottom: 1px solid #dedede;
	font-size: 14px;
}

h3.post-title {
	margin: 0 0 20px 0;
	font-size: 1.8em;
	font-weight: normal;
}

h3.post-title a {
	text-decoration: none;
}

h3.post-title a:hover {
	text-decoration: underline;
}

h4.sidebar-title {
	font-size: 12px;
}

/*	##################################
   	HEADER
	################################## */
	
#top-nav {
	position: absolute;
	top: 80px;
	right: 10px;
	margin: 0px;
	padding: 0px;
	list-style: none;
}

#top-nav li {
	float: left;
	margin: 0 0 0 10px;
}

#top-nav li#rss {
	padding: 0 0 0 15px;
	background: url(img/rss-icon.gif) no-repeat left center;
}

/*	##################################
   	CONTENT
	################################## */
	
/** CONTENTN LEFT */

.box-left, .post, .page {
	margin: 0 0 40px 20px;
}

.sticky {
	padding: 20px;
	border: 1px dotted #ccc;
}

.meta {
	clear: both;
	padding: 10px;
	background: #fff url(img/bg-meta.gif) repeat-x left top;
	color: #5e5e5e;
}

.meta-date {
	padding: 0 10px 0 15px;
	background: url(img/bg-meta-date.gif) no-repeat 0px 2px;
}

.meta-categories {
	padding: 0 10px 0 15px;
	background: url(img/bg-meta-categories.gif) no-repeat 0px 2px;
}

.meta-comments {
	padding: 0 10px 0 15px;
	background: url(img/bg-meta-comments.gif) no-repeat 0px 2px;
}

p.tags {
	clear: both;
}

/** CONTENT RIGHT */

.box-right {
	margin: 0 10px 20px 0;
	padding: 20px;
	background: #f7f7f7 url(img/bg-box-right.gif) no-repeat left top;
}

.box-right ul {
	margin: 0 0 5px 0;
	padding: 0px;
	list-style: none;
}

.box-right li {
	margin: 0px;
	padding: 5px;
	border-bottom: 1px solid #dedede;
}

.box-right li a {
	text-decoration: none;
}

.box-right li ul {
	margin: 0 0 0 20px;
	list-style: square;
}

.box-right li li {
	border: none;
}

/*	##################################
   	COMMENTS
	################################## */
	
#commentform label {
	display: block;
	margin: 0 0 5px 0;
}

#commentform input.text, #commentform textarea {
	width: 90%;
	margin: 0 0 10px 0;
}

#commentform .text {
	height: 22px;
	padding: 6px 6px 0 6px;
	background: #fff url(img/bg-form-text.gif) repeat-x left top;
	border: 1px solid #dadada;
	color: #5e5e5e;
}

#commentform textarea {
	height: 150px;
	padding: 6px 6px 0 6px;
	background: #fff url(img/bg-form-text.gif) repeat-x left top;
	border: 1px solid #dadada;
	color: #5e5e5e;
}

#commentform .button {
	width: auto;
	height: 30px;
	margin: 0px;
	padding: 0 20px;
	background: #6e7073;
	border: none;
	color: #fff;
}

.commentlist .comment {
	height: auto;
	margin: 20px 0 0 0;
	color: #fff;
}

.commentlist .quote {
	padding: 20px 20px 0 20px;
	background: #4a4f54 url(img/bg-comment-quote.gif) no-repeat right top;
}

.avatar {
	float: right;
	margin: 0 0 10px 20px;
}

.commentlist .cite {
	display: block;
	padding: 20px 0 0 0;
	color: #6e7073;
	background: #fff url(img/bg-comment-bubble.gif) no-repeat left top;
	font-style: normal;
}

/** COMMENTS IN WP 2.7 */

.commentlist li {
	margin: 0px;
	padding: 20px 0 20px 20px;
	list-style: none;
	background: #4a4f54;
}

.commentlist li a {
	color: #999;
}

.commentlist li .avatar {
	margin: 0 20px 10px 20px;
}

.commentlist li p {
	margin: 0 20px 20px 0;
}

.commentlist .comment-meta {
	margin: 0 0 20px 0;
}

.commentlist .comment-author a {
	font-weight: bold;
}

.commentlist ul.children {
	margin: 0px;
	padding: 0px;
}

.commentlist .children li {
	border: 1px solid #6e7073;
	border-right: none;
}

#cancel-comment-reply {
	margin: 10px 0;
}

.commentlist li.depth-2, .commentlist li.depth-4 {
	background: #5a5a60;
}

/*	##################################
   	SEARCHFORM
	################################## */
	
#searchform #search {
	float: left;
	width: 146px;
	height: 22px;
	padding: 6px 6px 0 6px;
	background: #fff url(img/bg-form-text.gif) repeat-x left top;
	border: 1px solid #dadada;
	color: #5e5e5e;
}

#searchform .button {
	width: auto;
	height: 30px;
	margin: 0px;
	padding: 0 10px;
	background: #4a4f54;
	border: none;
	color: #fff;
}

/*	##################################
   	FOOTER
	################################## */

#footer {
	width: 940px;
	margin: 0 auto;
	
	height: 130px;
	background: url(img/footer.jpg);

}

#footer p {
	margin: 0 0 10px 0;
}

#legal {
	margin: 0 auto;	
/*padding: 20px 0 20px 0;*/
	width: 900px;
}

#webdemar {
	margin: 0 auto;

	width: 940px;
	text-align: right;
}

/*	##################################
   	WORDPRESS CSS
	################################## */

.aligncenter,
div.aligncenter {
   	display: block;
   	margin: 0 auto;
}

.aligncenter {
	margin-bottom: 20px!important;
}

.alignleft {
   	float: left;
   	margin: 0 20px 20px 0;
}

.alignright {
   	float: right;
   	margin: 0 0 20px 20px;
}

.wp-caption {
	margin-bottom: 20px;
	padding-top: 4px;
   	border: 1px solid #ccc;
   	text-align: center;
   	background-color: #f7f7f7;
}

.wp-caption img {
   	float: none;
   	margin: 0px;
   	padding: 0px;
   	border: none;
}

.wp-caption p.wp-caption-text {
   	padding: 0px;
  	margin: 0px;
}

/** WIDGETS CSS */

#calendar_wrap table {
	width: 100%;
}

#calendar_wrap td {
	text-align: center;
}

#wp-calendar caption {
	margin: 0 0 10px 0;
	background: #dedede;
}

/*	##################################
   	USEFUL
	################################## */
	
.clear {
	clear: both;
}

.clearfix:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

/** CSS BASIC ELEMENTS */

hr {
	clear: both;
	height: 1px;
	margin: 20px 0;
	background: #dedede;
	border: none;
}

blockquote {
	margin: 0 0 0 10px;
	padding: 0 0 0 10px;
	border-left: 5px solid #f7f7f7;
}

fieldset {
	margin: 0 0 20px 0;
	padding: 0 20px 20px 20px;
	background: #f7f7f7;
	border: none;
}

legend {
	font-size: 14px;
	font-weight: bold;
}

input, textarea {
	width: 30%;
	height: 22px;
	margin: 0 0 20px 0;
	padding: 6px 6px 0 6px;
	background: #fff url(img/bg-form-text.gif) repeat-x left top;
	border: 1px solid #dadada;
	color: #5e5e5e;
	font-size: 12px;
}

textarea {
	width: 90%;
	height: 100px;
}

select {
	width: auto;
	margin: 0 0 20px 0;
	padding: 6px;
	background: #fff;
	border: 1px solid #dadada;
	color: #5e5e5e;
	font-size: 12px;
}

input.radio, input.checkbox {
	width: auto;
	height: auto;
	margin: 0px;
	background: #fff;
}

input.password {
	width: auto;
}

input.button {
	width: auto;
	height: 30px;
	margin: 0px;
	padding: 0 20px;
	background: #6e7073;
	border: none;
	color: #fff;
}

table {
	width: 100%;
	margin: 0 0 20px 0;
	border: 0px solid #dadada;
	border-bottom: none;
	border-right: none;
}

th, td {
	padding: 2px 5px;
	border-bottom: 0px solid #dadada;
	border-right: 0px solid #dadada;
}

th {
	background: #6e7073;
	color: #fff;
	border: none;
}

pre {
	font-family: Courier, serif;
}


.menu {width:940px; height:32px; position:relative; z-index:100;border-right:0px solid #000; font-family:"Helvetica Neue", Helvetica, Verdana, Arial, sans-serif;}
/* hack to correct IE5.5 faulty box model */
* html .menu {width:940px; w\idth:940px;}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0;margin:0;list-style-type:none;}
.menu ul ul {width:149px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {float:left;width:149px;position:relative;}
/* style the links for the top level */
.menu a, .menu a:visited {display:block;font-size:12px;text-decoration:none; color:#fff; width:138px; height:30px; border:0px solid #fff; border-width:1px 0 1px 0px; background:#09c; padding-left:10px; line-height:29px; font-weight:bold;}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:149px; w\idth:138px;}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {background:#d4d8bd url(http://www.cssplay.co.uk/menus/breadcrumbs/grey-arrow.gif) no-repeat 130px center;}
/* style the second level hover */
.menu ul ul a.drop:hover{background:#c9ba65 url(http://www.cssplay.co.uk/menus/breadcrumbs/blue-arrow.gif) no-repeat 130px center;}
.menu ul ul :hover > a.drop {background:#c9ba65 url(http://www.cssplay.co.uk/menus/breadcrumbs/blue-arrow.gif) no-repeat 130px center;}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#e2dfa8;}
/* style the third level hover */
.menu ul ul ul a:hover {background:#b2ab9b;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;height:0;top:31px;left:0; width:149px;border-top:0px solid #000;}
/* another hack for IE5.5 */
* html .menu ul ul {top:30px;t\op:31px;}

/* position the third level flyout menu */
.menu ul ul ul{left:149px; top:-1px; width:149px;}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-149px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0; border-collapse:collapse;;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {background:#d4d8bd; color:#000; height:auto; line-height:1em; padding:5px 10px; width:128px;border-width:0 1px 1px 1px;}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:150px;w\idth:128px;}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{color:#000; background:#b7d186;}
.menu :hover > a, .menu ul ul :hover > a {color:#000; background:#b7d186;}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{visibility:visible; }
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ visibility:visible;}



/* ================================================================ 
   This CSS is further CSS I have created specifically for Wordpress
   so that the current page is highlighted in two levels.
   If you want it in three levels let me know.

   Author: Isaac Rowntree
   Website: www.zackdesign.biz
=================================================================== */


.menu ul ul .current_page_item a {
  color: red;
  background: white;
  border-left: 0px solid black;
}

.menu .current_page_item a {
  color: red;
  font-weight: bold;
  background: white;
}

.menu ul .current_page_item ul a {
  color: white;
  font-weight: normal;
  background: black;
}

.menu ul .current_page_item ul a:hover {
  background: gray;
}

.menu .current_page_item a:hover {
  background: white;
}

