/*
Theme Name: You Can't Make Mistakes
Theme URI: http://youcantmakemistakes.com/
Description: Widgetized theme for http://youcantmakemistakes.com
Version: 2.9
Author: John D. Martin III
Author URI: http://johndmartiniii.com/
*/
/*
Background and margins */

#all
	{
	background: #676799 url(image/cairo_sultan_hassan.jpg) no-repeat fixed top center;
	text-align:center;
	}

/* Main div with transparency */

#wrapper
	{
	width:710px;
	margin: 30px auto;
  	background: #ffffff url(image/signature.png) no-repeat center bottom;
	/* border:2px solid #a3916c; */
	-moz-border-radius:15px;
	border-radius:15px 15px;
	filter:alpha(opacity=95);
	-moz-opacity:0.95;
	opacity:0.95;
	-khtml-opacity:0.95;	
	font-family: Arial, Tahoma, Helvetica, Sans-serif;
	font-size:12px;
	padding: 20px 0 0 0;
	}

A:link{color:#887d6c; font-weight:bold; text-decoration:none;}
A:visited{color:#887d6c; font-weight:bold; text-decoration:none;}
A:hover{color:#3d4a59; font-weight:bold; text-decoration:none;}
A:active{color:#9294a2; font-weight:bold; text-decoration:none;}

#tophat
	{
	width:650px;
	height:30px;
	margin: 0px 30px;
	padding:0 0 10px 0;
	text-align: left;
	} 

#tophat #headlink 
        {
        width:313px;
        height:30px;
        padding:0;
        margin:0;
	background: url( image/text-logo-top.png) top left no-repeat;
	float: left;
        }

#tophat #headlink a { width:313px; height:30px; display:block; }

#tophat #search_form .search_input { max-width:220px; width:220px; margin:0; text-align:right; }

#header img
        {
        padding:0;
        border:0;
        margin:0;
  /*      width: 450px; */
        }

#page
	{
	margin:0px 30px;
	}

/* Top Navbar */

#menu	
	{
	width:650px;
	padding:3px 1px;
	margin: 0 auto;
	background:#ddccb1;
	-moz-border-radius:10px 10px 0 0;
	border-top-left-radius, border-top-right-radius: 10px 10px;
	border-bottom: 1px solid #3d4a59;
	text-align:left;
	}

#menu ul
	{
	margin: 0;  
	padding:0 3px;
	list-style-type: none; 
	list-style-image: none; 
	}

#menu ul li
	{
	padding:3px 3px 5px 3px;
	display: inline; 

	}

#menu a:link
	{
	color:#555555;
 	text-decoration:none;
	}

#menu a:visited
	{
	color:#555555;
 	text-decoration:none;	
	}

#menu a:active
	{
	color:#000000;
 	text-decoration:none;
	}	

#menu a:hover
	{
	color:#000000;
 	text-decoration:none;
	}

#menu ul li.current_page_item
	{
	color:#000000;
	border-top:1px solid #ddccb1;
	border-left:1px solid #ddccb1;
	border-right:1px solid #ddccb1;
	-moz-border-radius:5px 5px 0 0;
	border-top-left-radius, border-top-right-radius: 5px 5px;
	background:#ffffff;
	}

#menu ul li.current_page_item a
	{
	color:#000000;
	}

.page_item_big
        {
        font-size:15px;
        }

#header
	{
	width:650px;
	height:150px;
	margin:10px 0px;

	text-align:right;
	color:#000000;
	}

#text
	{
	margin:10px;
	}


/* Main Blog Content */

#content, #gallery
	{
	text-align:Justify;
	}

#info tr td
	{
	font-size: 1em;
	border-top:1px solid #ddccb1;
	text-align: justify;
	margin:0;
	padding:3px 3px 15px 3px;
	vertical-align:top;
	}

/* This will have to be updated for Arabic CV viewing */

#content ul li, #gallery ul li
	{
	list-style-type:none;
	margin-left: -20px;
	padding-left: 20px;
	text-indent: -20px;
	}

#content ul li ul li, #gallery ul li ul li
	{
	margin-left: -40px;
 	}

.narrowcolumn
	{
	width:69%;
	float:left;
	padding:0 0 30px 0;
	}

.widecolumn
	{
	width:100%;
	float:none;
	margin:0 0 75px 0;
	}

.login
        {
        width: 100%;
        float:left;
        margin:20px 0 75px 0;
        -moz-border-radius:10px 10px;
        }

.login form
        {
        padding-bottom: 40px;
        }

.login ul
        {
        clear:both;
        }

.login ul li
        {
        padding-bottom: 10px;
        }

.login form input[type='text'], .login form input[type='password'], .login form input[type='checkbox'], .login form label, login form input[type='submit']
        {
        float: left;
        }

.login form input[type='checkbox']
        {
        margin: 0 10px 0 0;
        }

.login form input[type='text'], .login form input [type='password'], .login form label
        {
        margin-right: 30px;
        }

.login p.submit {
        float:right;
        margin: 0 0 0 0;
        
        }

.login form input[type='submit']
        {
        margin: 5px 0 0 0;
        }

.post
	{
	margin:0 0 10px 0;
	}

.postmetadata {
        clear:both;
        }


span.no img {
        border:0;
        padding:0;
        margin:0;
        }

#content.quote
	{

	padding:20px 40px;
	}

#content li.linkcat
	{
	margin:0px;
	}

#content li.linkcat h2
	{
	margin:0px;
	background:none;
	}

#content li.linkcat ul
	{
	padding-bottom:5px;
	}

#comment
	{
	background:#ddccb1;
	}

/* Images */

img
	{
	border:0;
	padding:0;
	} 

#content img {
        max-width:450px;
        }

#h2-image {
	border:0;
	padding:2px;
	margin-top:2px;
	float:right;
	}

#sidepics
	{
	margin:10px auto;
	text-align:center;
	}

#gallery img
	{
	border:0;
	padding:0 6px 12px 6px;
	}

#gcenter
	{
	margin:0 auto;
	}

#wrappicl
	{
	max-width:200px;
	background:#ddccb1;
	-moz-border-radius:5px;
	border-radius:5px 5px;
	padding:5px;
	vertical-align:top;
	font-family:Arial, Helvetica, sans-serif;
	font-size:1em;
	font-weight:bold;
	text-decoration:none;
	text-align:center;
	margin:0 10px 5px 0;
	color:black;
	float:left;
	}

#wrappicr, #wrappicr img
	{
	max-width:200px;
	background:#ddccb1;
	-moz-border-radius:5px;
	border-radius:5px 5px;
	padding:5px;
	vertical-align:top;
	font-family:Arial, Helvetica, sans-serif;
	font-size:1em;
	font-weight:bold;
	text-decoration:none;
	text-align:center;
	margin:0 0 5px 10px;
	color:black;
	float:right;
	}

#wrappicc
	{
	max-width:438px;
	margin:0 0 10px 0px;
	padding:0;
	vertical-align:top;
	font-family:Arial, Helvetica, sans-serif;
	font-size:1em;
	font-weight:bold;
	text-decoration:none;
	text-align:center;
	margin:0 0 10px 10px;
	color:black;
	}

hr
	{
	display:none;
	}

h2	
	{
	font-size: 1.1em;
	color:#333333;
	background:#ddccb1;
	display:block; 
	margin:0 0 10px 0;
	padding:3px 3px 3px 5px;
	border-bottom: 1px solid #3d4a59;
	-moz-border-radius:10px 10px 0 0;
	border-top-left-radius, border-top-right-radius: 10px 10px;
	}

.wpig-image-container	
	{
	
	}

.wpig-image
	{
	
	}

.wpig-title
	{

	}

.wpig-description
	{
	
	}

#content ul li.linkcat ul li a img
	{
	max-width:350px;
	max-height:60px;
	}

h3.pagetitle
	{
	text-align: right;
	padding: 0;
	margin-top: 0;
	}

/* Sidebar */

.sidebar 
	{
	direction:ltr;
	background:#9294a2;
	-moz-border-radius:10px;
	border-radius:10px 10px;
	text-align:justify;
	float:right;
	width:26%;
	margin:0px auto 0px auto;
	overflow: hidden;
	}

h2
	{
	margin:0px 0px 5px ;
	}

h8	
	{
	font-size:12px;
	color:black;
	background:#ddccb1;
	padding:3px 3px 3px 3px;
	display:block;
	border-left:3px solid #a36c7e;
	}

h9
	{
	display:block;
	color:#ddccb1;
	border-top:1px solid #ddccb1;
	padding:3px 0px 3px 3px;
	text-align:left;
	border-left:3px solid #a3916c;
	margin-left:10px;
	}
	
h10
	{
	display:block;
	color:#ddccb1;
	background:#a3916c;
	border-top:1px solid #ddccb1;
	padding:3px 0px 3px 3px;
	text-align:left;
	border-left: 3px solid #a36c7e;
	margin-left:10px;
	}

div.sidebar ul
	{
	list-style:none;
	margin-top:0;
	}

div.sidebar ul li
	{
	padding: 0px 0 5px 0;
	margin-left:-40px;
	}

div.sidebar ul li#top
	{
	padding: 0px 0 5px 0;
	margin-left:-40px;
	}

div.sidebar ul li ul li
	{
	padding:5px 5px;
	margin-left:-40px;
	}

div.sidebar ul li ul li a
	{
	border-top: 1px solid #ddccb1;
	padding: 3px 3px 0px;
	color:#ddccb1;
	text-decoration:none;
	display:block;
	}

div.sidebar ul li ul li a:visited
	{
	border-top: 1px solid #ddccb1;
	color:#ddccb1;
	text-decoration:none;
	}

div.sidebar ul li ul li a:active
	{
	color:#ddccb1;
	text-decoration:none;
	}

div.sidebar ul li ul li:hover
	{
	background: #3d4a59;
	display:block;
	}

div.sidebar img 
	{
	border:0;
	padding:0;
	margin:0;	
	}

div.sidebar input[type="text"], div.sidebar select {
	max-width:158px !important;
        width:158px;
	}

div.sidebar #search_form .search_input { max-width:158px !important; width:158px; }

div.sidebar form {margin: auto !important; text-align: center; }

div.sidebar div, div.sidebar h6 {
        padding: 0 8px;
        color: #3d4a59;
        }

div.sidebar form { color: #3d4a59; }

div.sidebar div.aktt_tweets li { background: #9294a2 !important; }

div.sidebar div a:link { color: #ddccb1; }
div.sidebar div a:hover { color: #3d4a59; }

div.sidebar h6 { color: #ddccb1; }

.license
	{
	text-align:center;
	float:right;
	width:26%;
	margin:20px auto 110px auto;
	overflow: hidden;
	font-size: 10px;
	clear:right;
	}

div.sidebar input[type="submit"], .login input[type="submit"] {
	background: #3d4a59 !important;
	border: 2px solid #9294a2 !important;
	color: #ddccb1 !important;
	}

div.sidebar input[type="submit"]:hover, .login input[type="submit"]:hover {
	background: #9294a2 !important;
	border: 2px solid #ddccb1 !important;
        color: #3d4a59;
	}

div.sidebar input[type="submit"]:active, .login input[type="submit"]:active {
       	background: #3d4a59 !important;
	border: 2px solid #9294a2 !important;
	color: #ddccb1 !important;
	}

li.widget_tag_cloud a:link {color:#ffffff;}
li.widget_tag_cloud a:hover {color:#3d4a59 !important;}
li.widget_tag_cloud a:visited {color:#ddccb1;}

/* Footer */

#jdmfooter
	{
	width:650px;
	padding:0px 0px 0px 0px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:10px;
	text-decoration:none;
	color:#a36c7e;
	margin:30px 0 0 0;
	text-align:right;
	clear:both;
	}


#jdmfooter ul
	{
	display:inline;
	margin:0px 0 0 0;
	}

#jdmfooter ul li
	{
	display:inline;
	list-style:none;
	padding: 0px 0px 0px 5px;
	}

#jdmfooter ul li img
	{
	padding:0;
	}

/* Comments */

#content ul.commentlist li.comment-entry p
        {
        text-indent:0;
        }

#content ul.commentlist
	{
	margin-left:-20px;
	}

img.avatar {
        border:0;
        padding:0 0 5px 10px;
        margin:0;
        float:right;
        }

.comment-entry
        {
        border-top:1px solid #ddccb1;
        text-indent:0;
        }

.commentmetadata
        {
        text-align:right;
        }

/* Headers */

#header a
	{
	text-decoration: none;
	}

#header h1
	{
	font-size: 2em;
	}

lb
	{
	font-size:1.5em;
	font-weight:bold;
	}
/* Search */

#headsearch { float: right; padding: 0; margin: 0; width: 220px;}

h3 a {
	font-weight: bold;
}

/* h3 a { 
	background: #a3916c !important;
	color: #ddccb1 !important;
	-moz-border-radius:10px 10px 0 0;

	border-top-right-radius, border-top-left-radius:10px 10px;
	padding: 3px 5px;
	}

h3 a:hover { 
	background: #3d4a59 !important;
	color: #ddccb1 !important;
	}

h3 a:active {
	background: #9294a2 !important;
	} */
	

/*---:[ search form styles ]:---*/

#search_form { } 

/* Forms and Buttons */

input[type="text"], input[type='password'], textarea, select
	{ margin: auto; padding: 3px !important; color: #555555 !important; font: normal 0.9em Arial, Verdana, sans-serif !important; border-top: 1px solid #3d4a59 !important; border-left: 1px solid #3d4a59 !important; border-right: 1px solid #9294a2 !important; border-bottom: 1px solid #9294a2 !important; background: #ddccb1 !important; -moz-border-radius:3px !important;	border-radius:3px 3px; !important}

div.sidebar select {
margin: 0 6px;
        }

div#content textarea {
        width: 440px;
        }

div#content label span {
        margin: 0 6px 0 0;
}

div#content input[type="text"], div#content input[type='password'], div#content textarea {
        margin: 3px 6px 3px 0px !important;
}

input[type="submit"] {
	background: #9294a2;
	border: 2px solid #9294a2;
	color: #ddccb1;
	-moz-border-radius:5px;
	border-radius:5px 5px;
        margin:3px;
	}

input[type="submit"]:hover {
	background: #3d4a59;
	border: 2px solid #9294a2;
	color: #ddccb1;
	}

input[type="submit"]:active {
	background: #9294a2;
	border: 2px solid #ddccb1;
	color: #ddccb1;
	}



/* cFormsII */

.cf_hidden {
        display: none;
        }

p.linklove {
        display:none;
        }

ol.cf-ol { 
	margin:0!important; 
	padding:0!important; 
        list-style-type:none !important;
}

}
ol.cf-ol li	{
	background:none!important; 
	margin:0 10px!important; /*some themes may interfere otherwise*/
	padding:0; 
	list-style-type:none!important; 
	text-align:left;
	line-height:1.3em;
}

* html ol.cf-ol 	{
	display:inline-block; /*for IE6!!*/
}

.cf_info {
        margin-bottom: 10px;
        }

label#label-2-1 span { display:none; }

.simpleviewer {
	background: none;
	}

/* AJAX Calendar */

#wp-calendar
{
text-align: center;
width: 90%;
border-collapse: collapse;
padding: 0;
margin: auto;
font-size: 1em;
color:#3d4a59;
}

#wp-calendar caption#wp-calendar-caption {
text-align: center;
font-weight: bold;
margin: 0;
font-size: 1.2em;
}

#wp-calendar thead tr th {
font-weight: bold;
text-transform: lowercase;
color: #ddccb1;
}

#wp-calendar caption a, #wp-calendar caption a:hover
{

}

#wp-calendar th
{
font-weight: bold;
}

#wp-calendar a
{
text-decoration: none !important; 
font-weight: bold;
display: block;
color: #ddccb1;
}

#wp-calendar a:hover {
text-decoration: none !important;
color: #3d4a59;
}

#wp-calendar td, #wp-calendar th
{
text-align: center;  
}

#wp-calendar tbody {
border: 1px solid #ddccb1;
}


#wp-calendar tbody tr td {
padding: 2px;
}

#wp-calendar tbody td a
{
font-weight: bold;
}

/* NextGEN Gallery */

/* ----------- Album Styles Extend -------------*/

.ngg-albumoverview {
	margin-top: 10px;
	width: 100%;
	clear:both; 
	display:block !important;
}

.ngg-album {
    height: 100%;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #fff;
}

/* IE6 will ignore this , again I hate IE6 */
/* See also http://www.sitepoint.com/article/browser-specific-css-hacks */
html>body .ngg-album {
    overflow:hidden;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #cccccc;
} 

.ngg-album {
	overflow: hidden;
	padding: 5px;
	margin-bottom: 5px;
	border: 1px solid #cccccc;
}

.ngg-albumtitle {
	text-align: left;
 	font-weight: bold;
	margin:0px;
	padding:0px;
	font-size: 1.4em;
	margin-bottom: 10px;
}

.ngg-thumbnail {
	float: left;
	margin-right: 12px;
}

.ngg-thumbnail img {
	margin:4px 0px 4px 5px;
	padding:4px;
	position:relative;
}

.ngg-thumbnail img:hover {
	background-color: #A9A9A9;
}

.ngg-description {
	text-align: left;
}

/* ----------- Album Styles Compact -------------*/

.ngg-album-compact {
	float:left;
	height:180px;
	padding-right:6px !important;
	margin:0px !important; 
	text-align:left;
	width:120px;	
}

.ngg-album-compactbox {
	background:transparent url(albumset.gif) no-repeat scroll 0%;
	height:86px;
	margin:0pt 0pt 6px !important;
	padding:12px 0pt 0pt 7px !important;
	width:120px;
}


.ngg-album-compactbox .Thumb {
	border:1px solid #000000;
	margin:0px !important;
	padding:0px !important;
	width:91px; 
	height:68px;
}

.ngg-album-compact h4 {
	font-size:15px;
	font-weight:bold;
	margin-bottom:0px;
	margin-top:0px;
	width:110px;
}

.ngg-album-compact p {
	font-size:11px;
	margin-top:2px;
}

/* ----------- Gallery style -------------*/

.ngg-galleryoverview {
	overflow: hidden;
	margin-top: 10px;
	width: 100%;
	clear:both; 
	display:block !important;
}

.ngg-galleryoverview .desc {
/* required for description */
display: none;
}

.ngg-gallery-thumbnail-box {
	float: left;
}

.ngg-gallery-thumbnail {
	float: left;
}

.ngg-gallery-thumbnail img {
	display:block;  
	margin:0px 0px 10px 10px;
	padding: 0;
	position:relative;
}

.ngg-gallery-thumbnail img:hover {
	background-color: #A9A9A9;
} 

.ngg-gallery-thumbnail span {
	/* Images description */
	font-size:90%;
	padding-left:5px;
	display:block;
}

.ngg-clear {
	clear: both;
}

/* ----------- Gallery navigation -------------*/

.ngg-navigation {
	font-size:0.9em !important;
	clear:both !important;
	display:block !important;
	padding-top:15px;
        padding-bottom:15px;
	text-align:center;
	
}

.ngg-navigation span, .ngg-navigation a {
	font-weight:bold;
	margin: 6px 6px 6px 0px;
        padding: 3px 6px;
}

.ngg-navigation a.page-numbers, a.next, a.prev, 
				span.page-numbers, span.next, span.prev {
	background: #a3916c !important;
	border: 2px solid #b09c74 !important;
	color: #ddccb1 !important;
	-moz-border-radius:5px !important;
	border-radius:5px 5px !important;
        padding: 3px 6px;
        margin; 0pt 6px;
}

.ngg-navigation a.page-numbers:hover, a.next:hover, a.prev:hover, 
				span.page-numbers:hover, span.next:hover, span.prev:hover {
	background: #3d4a59 !important;
	border: 2px solid #9294a2 !important;
	color: #ddccb1 !important;
	text-decoration: none !important;




}


.ngg-navigation a.page-numbers:active, a.next:active, a.prev:active, 
				span.page-numbers:active, span.next:active, span.prev:active {
	background: #9294a2 !important;
	border: 2px solid #ddccb1 !important;
	}

/* ----------- Image browser style -------------*/

.ngg-imagebrowser {
	
}

.ngg-imagebrowser h3 {
	text-align:center;
}

.ngg-imagebrowser img {
	border:1px solid #A9A9A9;
	margin-top: 10px; 
	margin-bottom: 10px; 
	width: 100%;
	display:block !important;
	padding:5px;
}

.ngg-imagebrowser-nav {
	padding:5px;
	margin-left:10px;	
}

.ngg-imagebrowser-nav .back {
	float:left;
	border:1px solid #DDDDDD;
	margin-right:3px;
	padding:3px 7px;
}

.ngg-imagebrowser-nav .next {
	float:right;
	border:1px solid #DDDDDD;
	margin-right:3px;
	padding:3px 7px;
}

.ngg-imagebrowser-nav .counter {
	text-align:center;
	font-size:0.9em !important;
}

/* ----------- Slideshow -------------*/
.slideshow {
	margin-left: auto; 
	margin-right: auto;
	text-align:center;	
}

.slideshowlink {
	
}

/* ----------- Single picture -------------*/
.ngg-singlepic {
        max-width:450px;
	display:block;  
	position:relative;
}

.ngg-left {
	float: left;
	padding-right:10px;
}

.ngg-right {
	float: right;
	padding-left:10px;
}

.ngg-center {
  	margin-left: auto !important;
    margin-right: auto !important;
}

/* ----------- Sidebar widget -------------*/
.ngg-widget,
.ngg-widget-slideshow {
	overflow: hidden;
	margin:auto;
	padding:0px 0px 0px 0pt;
}

.ngg-widget img {
	border:1px solid #ddccb1 !important;
	margin:auto; 
	padding:0; 
}

.ngg-widget img:hover{border:1px solid #3d4a59 !important;}

/* ----------- Related images -------------*/
.ngg-related-gallery {
	background:#F9F9F9;
	border:1px solid #E0E0E0;
	overflow:hidden;
	margin-bottom:1em;
	margin-top:1em;
	padding:5px;
}
.ngg-related-gallery img {
	border: 1px solid #DDDDDD;
	float: left;
	margin: 0pt 3px;
	padding: 2px;
	height: 50px;
	width:  50px;
}

.ngg-related-gallery img:hover {
	border: 1px solid #000000;
} 

/* AddThis Search Fix */

#atshare input {
        border: none !important;
        background: none !important;
}

/* Intense Debate UL LI fix */

#idc-container ul li {
        margin-left: 0 !important;
        text-indent: 0 !important;
}

#idc-container-parent {
	margin-bottom: 20px;
}
}
