/*
Theme Name: Agafix v3.0
Theme URI: http://agafix.org/
Description: The new theme for <a href="http://agafix.org">Agafix.org</a>.
Version: 1.0
Author: Fahd Idaghdour
Author URI: http://fahdos.com/
Tags: agafix, fahdos, fahd, idaghdour, wordpress, theme

	Agafix v3.0
	 http://agafix.org

	This theme was designed and built by Fahd idaghdour,
	whose blog you will find at http://fahdos.com/


*/
* {
	margin: 0; padding: 0;
}
body {
	text-align: center;
	font: 12px Verdana;
	color: #282828;
	background: #4A545D url('images/bg.jpg') repeat-x 0 0;
}
a {
	text-decoration: none;
	color: #282828;
}
img {
	border: 0;
}

.break {
	font-size: 0;
	width: 0; height: 0;
	clear: both;
}
.alignleft {
	float: left;
	margin: 4px 10px 5px 0;
}
.alignright {
	float: right;
	margin: 4px 0 5px 10px;
}
.hidden {
	display: none;
}
.noimage img {
	display: none;
}

#wrapper {
	width: 950px;
	margin: auto auto;
	text-align: left;
	position: relative;
}

.tooltip{
width: 135px; color:#FFF;
font:14px Arial,sans-serif; font-weight:bold;
text-decoration:none;text-align:center}

.tooltip span.top{padding: 20px 8px 0;
    background: url('images/bt.gif') no-repeat top}

.tooltip b.bottom{padding:3px 8px 3px;color: #cccccc;
    background: url('images/bt.gif') no-repeat bottom}
/** BEGIN header **/
#header {
	background:url('images/header-bg.jpg') no-repeat;
	height:131px;
	margin: 0 auto;
	padding: 0;
	width: 950px;
}
	#header ul {
		list-style-type: none;

	}
		#header ul li {
			float: left;
			text-transform: uppercase;
			font-size: 0.9em;
		}
		#header ul li a {
			color: #ffffff;
			display: block;
			padding: 4px 5px 0px;
		}
	#header .logo {
		width:400px;
		float:left;
		padding-top:12px;
		padding-left:25px;
		padding-bottom:0px;
	}
		
		#header .logo h1 {
		}
		#header .logo h1 a {
			display: block;
			text-indent: -9999px;
			background: url(images/logo.gif) no-repeat 0 0;
			outline: none;
			width: 288px; height: 68px;
		}
		#header .logo .description {
		font-size:1.2em;
		color:#CCCCCC;
		margin-left:160px;
		}
	#topmenu{
		float:right;
		width:320px;
	}
	#topmenu ul {

	}
		#topmenu ul li {
			float: left;
			margin-right:13px;
			width:40px;
			height:35px;
		}
		#topmenu ul li a {
			color: #000000;
			width:40px;
			height:35px;
			background: url('images/topmenu.gif') no-repeat 0 0;
		}

	#catmenu{
		float:left;
		padding-left:20px;
		margin-top:10px;
		width:620px;
	}
		#catmenu ul {
		list-style-type: none;

	}
		#catmenu ul li {
			float: left;
			text-transform: uppercase;
			padding-left: 30px;
			font-size: 1em;
		}
		#catmenu ul li a {
			color: #ffffff;
			display: block;
			padding-bottom:0px;
		}
	#searchbar {
	float:right;
	width:280px;
	text-align:center;
	padding-right:2px;
	margin-top:10px;
	}
		.searchform #searchbox
		{
		float: left;
		background: #B3B6B7;
		border: solid 1px #B3B6B7;
		width: 215px;
		height: 18px;
		font-size: 14px;
		}

		.searchform #searchbutton
		{
		height: 26px;
		width: 28px;
		border: none;
		cursor: pointer;
		background: url('images/loop.jpg') no-repeat 0 0;
		}
/** END header **/

#body1 {
		background:#ffffff url('images/contentbg.jpg') repeat-y;
}

#toppost{
		background:url(images/toppost.jpg) no-repeat 0 center;
		height:32px;
		width:950px;
	}
#toppost-ads{
		background:url(images/toppost-ads.jpg) no-repeat 0 center;
		height:110px;
		width:950px;
		text-align:center;
		bottom:0px;
	}
	#toppost-ads .inter{
		height:10px;
	}

#lastpost{
		background:url(images/last-bg.jpg) no-repeat 0 center;
		height:199px;
		width:950px;
	}
#lastpost .ads{
	float:left;
	margin-top:10px;
	margin-left:8px;
	padding-top:3px;
	height:129px;
	width:266px;
	overflow:hidden;
	}
#lastpost .feedb{
	padding-top:15px;
	margin-bottom:0px;
	text-align:center;
	margin:auto;
	}
#lastpost .ads img{
	margin-left:3px;
	border: solid 1px #B3B6B7;
	}
	#lastpost .l {
			float: left;
			width: 250px;
			height: 165px;
			font-size: 0.8em;
			margin-left:25px;
			margin-top:15px;
			border: solid 1px #B3B6B7;
			color: #808080;
		}
			#lastpost .l p {
			}
			#lastpost .l img {
				width: 240px; height:155px;
				border: solid 1px #eeeeee;
				margin-top:4px;
				margin-left:4px;
			}
			#lastpost .l a {
				color: #808080;
			}
	#lastpost .r {
			float: left;
			width: 370px;
			margin-top:10px;
			padding-right: 5px;
			padding-left: 5px;
		}
			#lastpost h2 {
				margin-bottom: 1px;
				font: 1.5em Verdana;
			}
				#lastpost h2 a {
				color:#385A83;
				}
			#lastpost p {
				margin-bottom: 15px;
				line-height: 1.5em;
			}
			#lastpost .r .info {
			}
			#lastpost .r .info p {
				margin-bottom: 0px;
				font-size: 0.8em;
			}
				#lastpost .r .info p a {
				color: #B3B6B7;
				}
			#lastpost .r .more {
				float:right;
				margin-right:35px;
				margin-top:2px;
			}
			#lastpost .r .more a {
				margin-bottom: 0px;
				font-size: 1.2em;
				color: #B3B6B7;
			}
				#lastpost .r .more a:hover {
				color: #000000;
			}				
		#lastpost .excerpt{
			font-size: 1.1em;
			font-family:Arial, Helvetica, sans-serif;
			margin-top:10px;
			height:100px;
		}

/** BEGIN content **/
#content {
	width: 652px;
	float: left;
}
	#content #categories {
		list-style-type: none;
		height: 34px;
	}
		#content #categories li {
			float: left;
			font-size: 0.9em;
			padding-left: 1px;
			background: url(images/divider.gif) no-repeat 0 center;
		}
		#content #categories li.f {
			padding-left: 0;
			background: none;
		}
		#content #categories li a {
			display: block;
			padding: 10px;
		}
		#content #categories li a:hover {
			
		}
		
	#content .post {
		background:url(images/clear.jpg) no-repeat bottom;
		clear: both;
		padding: 10px 0 10px;
		margin: 0 0 0 5px;
	}
	
		#content .post .l {
			float: left;
			width: 210px;
			height: 100px;
			font-size: 0.8em;
			margin-left:10px;
			border: solid 1px #B3B6B7;
			color: #808080;
		}
			#content .post .l p {
			}
			#content .post .l img {
				width: 200px; height: 90px;
				border: solid 1px #eeeeee;
				margin-top:4px;
				margin-left:4px;
			}
			#content .post .l a {
				color: #808080;
			}
		#content .post .r {
			float: right;
			width: 410px;
			padding-right: 5px;
			padding-left: 5px;
		}
			#content .post h2 {
				margin-bottom: 1px;
				font: 16px Verdana;
				font-weight:bold;
			}
				#content .post h2 a {
				color: #5187A1;
				}
			#content .post p {
				margin-bottom: 15px;
				line-height: 1.5em;
			}
			#content .post .r .info {
			}
			#content .post .r .info p {
				margin-bottom: 0px;
				font-size: 0.8em;
			}
				#content .post .r .info p a {
				color: #B3B6B7;
				}
				
	#content .post2 {
		background:url(images/clear.jpg) no-repeat bottom;
		clear: both;
		padding: 10px 0 10px;
		margin: 0 0 0 15px;
	}
		
		#content .post2 .l {
			float: left;
			width: 210px;
			height: 100px;
			font-size: 0.8em;
			margin-left:10px;
			border: solid 1px #B3B6B7;
			color: #808080;
		}
			#content .post2 .l p {
			}
			#content .post2 .l img {
				width: 200px; height: 90px;
				border: solid 1px #eeeeee;
				margin-top:4px;
				margin-left:4px;
			}
			#content .post2 .l a {
				color: #808080;
			}
		#content .post2 .r {
			float: right;
			width: 410px;
			padding-right: 5px;
			padding-left: 5px;
		}
			#content .post2 h2 {
				margin-bottom: 1px;
				font: 16px Verdana;
				font-weight:bold;
			}
				#content .post2 h2 a {
				color: #5187A1;
				}
			#content .post2 p {
				margin-bottom: 15px;
				line-height: 1.5em;
			}
			#content .post2 .r .info {
			}
			#content .post2 .r .info p {
				margin-bottom: 0px;
				font-size: 0.8em;
			}
				#content .post2 .r .info p a {
				color: #B3B6B7;
				}
				
				
#excerpt{
	font-size: 0.8em;
}
		#excerpt a{
			color: #B3B6B7;
		}
#content2 {
	width: 762px;
	float: left;
}
			
	#content2 .post {
		background:url(images/clear.jpg) no-repeat bottom;
		clear: both;
		padding: 10px 0 10px 15px;
		margin: 0 0 0 5px;
	}
	#content2 .post a {
		color: #5187A1;
	}
	#content2 .post .postinf {
		background:#eeeeee;
		padding-top: 5px;
		margin-bottom:10px;
		border: 1px solid #e0e0e0;
		width:735px;
	}
		#content2 .post .postinf .avatar {
		float:left;
		margin:0 10px 2px 5px;
		border-right: 1px dotted #CCCCCC;
	}
	#content2 .post .postinf .avatar img {
		border: 1px solid #000000;
	}
	
			#content2 .post h2 {
				margin-bottom: 0px;
				font: 16px Verdana;
				font-weight:bold;
			}
				#content2 .post h2 a {
				color: #5187A1;
				}
			#content2 .post p {
				margin-bottom: 15px;
				line-height: 1.5em;
			}
			#content2 .post .info {
			margin-bottom:15px;
			}
			#content2 .post  .info p {
				margin-bottom: 0px;
				font-size: 0.8em;
			}
				#content2 .post .info p a {
				color: #B3B6B7;
				}
#content2 .post .adspost{
	height:60px;
	width:470px;
	margin:auto;
	overflow:hidden;
	}
.damnidf{
text-align:center;
}
.damnidf img{
margin:5px;
}			
/** END content **/
#bottomads{
margin-top:5px;
text-align:center;
}
/** BEGIN sidebar **/
#sidebarads {
	width: 160px;
        height:340px;
	float: right;
	margin-right:18px;
	margin-top:5px;
}
#sidebarads a{
	display: block;
	text-indent: -9999px;
	outline: none;
	/*background: url(http://agafix.org/img/fos2.jpg) no-repeat;*/
	width: 160px; height: 340px;
}

#sidebarads a.ads{
	background: url(http://agafix.org/img/fos2_en.jpg) no-repeat;
}

#sidebarads a.ads_fr{
	background: url(http://agafix.org/img/fos2.jpg) no-repeat;
}

#sidebar {
	width: 278px;
	float: right;
	margin-right:10px;
}
#sidebar .gf1{
	width: 270px;
	height:340px;
	}
#sidebar .gf1 a{
	display: block;
	text-indent: -9999px;
	outline: none;
	/*background:url(http://agafix.org/img/fos1.jpg) no-repeat;*/
	width: 270px;
	height:340px;
}
#sidebar .gf1 a.ads{
	background:url(http://agafix.org/img/fos1_en.jpg) no-repeat;
}
#sidebar .gf1 a.ads_fr{
	background:url(http://agafix.org/img/fos1.jpg) no-repeat;
}
#sidebar .gf2{
	margin-bottom:8px;
}
/** END sidebar **/

/** BEGIN footer **/
#footer {
	clear: both;
	font-size: 0.8em;
}
	#footer div {
		background: url(images/footer.jpg) no-repeat;
		width: 950px;
		height:43px;
		color:#888;
		margin: auto auto;
		text-align:center;
		padding-top:20px;
	}
	#footer p {
		margin:auto;
		padding-left: 30px;
	}
	#footer a {
		color: #000;
	}
	#footer a:hover {
		color: #ffffff;
	}
/** END footer **/

/** BEGIN misc **/
#postnav {
	padding: 20px;
}
#content .post h3 {
	margin-bottom: 5px;
}
#content .post ul {
	padding-left: 15px;
	margin-bottom: 10px;
}
#content .post ul li {
	padding: 2px 0;
}
#content .post ol {
	padding-left: 20px;
	margin-bottom: 10px;
}
#content .post ol li {
	padding: 2px 0;
}
#content .post blockquote {
	padding-left: 10px;
	border-left: 2px solid #e0e0e0;
	font-style: italic;
	margin-left: 2px;
}
#content2 .post h3 {
	margin-bottom: 5px;
}
#content2 .post ul {
	padding-left: 15px;
	margin-bottom: 10px;
}
#content2 .post ul li {
	padding: 2px 0;
}
#content2 .post ol {
	padding-left: 20px;
	margin-bottom: 10px;
}
#content2 .post ol li {
	padding: 2px 0;
}
#content2 .post blockquote {
	padding-left: 10px;
	border-left: 2px solid #e0e0e0;
	font-style: italic;
	margin-left: 2px;
}

#comments, #respond {
	padding: 10px 0 5px 0px;
	clear: both;
	margin-left:10px;
}

#comments h4 {
	font:15px Geneva, Arial, Helvetica, sans-serif;
	font-weight:bold;
}
#commentlist {
	margin: 10px 0px;
	padding-left: 20px;
	line-height: 130%;
}
#commentlist .in{
	width:198px;
	float:left;
	margin-right:10px;
}
#commentlist .in .top{
	background:url('images/info_01.jpg') no-repeat 0 bottom ;
	width:198px;
	height:9px;
}
#commentlist .in .infocomm{
	float:left;
	padding:0 5px 0 5px;
	background:url('images/info_02.jpg') ;
}
#commentlist .in .infocomm .droit{
	float:right;
}
#commentlist .in .infocomm .droit img{
	border: 1px solid #000000;
	width:32px;
	height:32px;
}
#commentlist .in .infocomm .gauche{
	float:left;
	width:150px;
	margin-right:3px;
}
#commentlist .in .infocomm .gauche p a {
font-size: 80%;
color:#B3B6B7;
}
#commentlist .in .infocomm .gauche p a:visited {
color: #5187A1;
}
#commentlist .in .infocomm .gauche cite {
	font-weight: bold;
	font-style: normal;
	font-size: 100%;
	color: #5187A1;
}
#commentlist .in .infocomm .gauche cite a, #commentlist .in .infocomm .gauche cite a:visited {
	color: #5187A1;
}
#commentlist .in .bottom{
	background:url('images/info_03.jpg') no-repeat;
	width:198px;
	height:9px;
	float:left;
}
#commentlist .comtext {
float:right;
width:490px;
}
#commentlist li{
	padding: 5px 0 10px 0px;
	list-style-type: none;
	float:left;
	width:700px;
	border-bottom: 1px dotted #CCCCCC;
}
#commentlist li a{
	color: #5187A1;
}
#commentlist .alt {
	float:left;
}
#commentlist cite {
	font-weight: bold;
	font-style: normal;
	font-size: 100%;
	color: #5187A1;
}
#commentlist cite a, #commentlist cite a:visited {
	color: #5187A1;
}
#commentlist small {
	margin-bottom: 5px;
	display: block;
	font-size: 87%;
}
#commentlist small a {
color:#B3B6B7;
}
#commentform {
	margin-top: 10px;
	font: 110% Arial, Helvetica, sans-serif;
}
#commentform p {
	padding: 6px 20px;
	margin: 0px;
}
#commentform label{
	color: #787878;
	font-size: 87%;
}
#commentform input{
	width: 200px;
	background:#ffffff;
	border: 1px solid #cccccc;
	padding: 3px;
	margin-top: 3px;
}
#commentform textarea{
	width: 658px;
	height: 115px;
	background:#ffffff;
	border: 1px solid #787878;
	padding: 2px;
	margin-top: 3px;
}
#commentform textarea:focus, #commentform input[type="text"]:focus {
	background: #ffffff;
}
#commentform #submit{
	background: url(images/submit.jpg) no-repeat;
	font: bold 12px Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	border: none;
	float:right;
	margin-right:80px;
	width: 144px;
	height: 28px;
	cursor: pointer;
}

	.required {
		color: #ff0000;
	}
.sdetails {
	clear: both;
	font-size: 0.8em;
	padding-top: 20px;
}
	.sdetails p {
		margin-bottom: 5px !important;
		color: #909090;
	}
	.sdetails a {
		color: #909090;
	}
	.sdetails a:hover {
		color: #282828;
	}
/** END misc **/
.wp_syntax {
      color: #100;
      background-color: #f9f9f9;
      border: 1px solid silver;
      margin: 0 0 1.5em 0;
      overflow: auto;
    }

    /* IE FIX */
    .wp_syntax {
      overflow-x: auto;
      overflow-y: hidden;
      padding-bottom: expression(this.scrollWidth > this.offsetWidth ? 15 : 0);
      width: 100%;
    }

    .wp_syntax table {
      border-collapse: collapse;
    }

    .wp_syntax div, .wp_syntax td {
      vertical-align: top;
      padding: 2px 4px;
    }

    .wp_syntax .line_numbers {
      text-align: right;
      background-color: #def;
      color: gray;
      overflow: visible;
    }

    /* potential overrides for other styles */
    .wp_syntax pre {
      margin: 0;
      width: auto;
      float: none;
      clear: none;
      overflow: visible;
    }
pre {
  font-family: Monaco, "Courier New", Courier, monospace;
  font-size: 11px;
}
div.sociable { margin: 16px 0; }

span.sociable_tagline { position: relative; }
span.sociable_tagline span { display: none; width: 14em; }
span.sociable_tagline:hover span {
	position: absolute;
	display: block;
	top: -5em;
	background: #ffe;
	border: 1px solid #ccc;
	color: black;
	line-height: 1.25em;
}
.sociable span {
	display: block;
}
.sociable ul {
	display: inline;
	margin: 0 !important;
	padding: 0 !important;
}
.sociable ul li {
	background: none;
	display: inline !important;
	list-style-type: none;
	margin: 0;
	padding: 1px;
}
.sociable ul li:before { content: ""; }
.sociable img {
	float: none;
	width: 16px;
	height: 16px;
	border: 0;
	margin: 0;
	padding: 0;
}

.sociable-hovers {
	opacity: .4;
	-moz-opacity: .4;
	filter: alpha(opacity=40);
}
.sociable-hovers:hover {
	opacity: 1;
	-moz-opacity: 1;
	filter: alpha(opacity=60);
}
.wp-pagenavi{
	margin-top:10px;
}
.wp-pagenavi a, .wp-pagenavi a:link {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #999999;
	color: #0066cc;
	background-color: #E5F5FA;	
}
.wp-pagenavi a:visited {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #999999;
	color: #0066cc;
	background-color: #E5F5FA;	
}
.wp-pagenavi a:hover {	
	border: 1px solid #000000;
	color: #000000;
	background-color: #E5F5FA;
}
.wp-pagenavi a:active {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #999999;
	color: #0066cc;
	background-color: #E5F5FA;	
}
.wp-pagenavi span.pages {
	padding: 2px 4px 2px 4px; 
	margin: 2px 2px 2px 2px;
	color: #385A83;
	border: 1px solid #CCCCCC;
	background-color: #FFFFFF;
}
.wp-pagenavi span.current {
	font-size: 24px;
	color: #385A83;
	background-color: #FFFFFF;
}
.wp-pagenavi span.extend {
	padding: 2px 4px 2px 4px; 
	margin: 2px;	
	border: 1px solid #CCCCCC;
	color: #385A83;
	background-color: #FFFFFF;
}
.term {
  color: white;
  background: #4a545d; 
}
.term pre {
  padding: 5px;
  border: 1px solid silver;
  overflow: auto;
}