/*
"Experience" Website Template Design by Free CSS Templates: http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License.

Customised for Draw3D Website by Shervin Emami, 3rd Oct 2009.

*/

body {
	margin: 0;
	padding: 0;
	background: #0F5B96 url(experience/img01.gif) repeat-x;	/* dark blue shaded background */
	font-family: Arial, Helvetica, sans-serif;
	/*font-size: 13px; */  /* default is 16px */
	color: #A4E4F5;	/* link text color */
}

/* Move the whole page into the middle of the browser. */
#container {
	margin: 0 auto;	/* center it */
/*	width: 1000px;*/	/* width of the whole webpage (width of img02.jpg was 980, now is 880) */
	padding: 0;
}

h1, h2, h3, p, ol, ul {
	margin-top: 0;	/* gap between headers and text, and between menubars.*/
}

h1, h2, h3 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

h1, h2 {
	/* text-transform: lowercase; */
	font-weight: normal;
}

h1 {
	letter-spacing: -1px;
	font-size: 1.9em;
}

h2 {
	letter-spacing: -1px;
	font-size: 1.5em;
}

a {
	color: #A4E4F5;
}

a:hover {
	text-decoration: none;
	color: #FFFFFF;
}

/* Position of images that should be placed on the left or right of the content section */
img.left {
	float: left;
	margin: 10px 20px 10px 0;
}

img.right {
	float: right;
	margin: 10px 0 10px 20px;
}

/* Position of images that should be placed up higher, onto the heading of a post */
img.rightPostImg {
	float: right;
	/*margin: 50px 28px 0 20px; */
	margin: 36px 20px 0 20px;
}

img.farRight {
	float: right;
	margin: 10px 0 0px 20px;
}

img.border1 {	/* display a 1-pixel light-grey border. */
	border:1px solid #AAA;
}

img.img_border {	/* display a 3-pixel dark-grey border. */
	border:3px solid #777;
}

img.double_border {	/* display 2 borders around an image. */
	padding:4px;
	border:4px solid #888;	/* Grey outer border */
	background-color:#FF0;	/* Yellow inner border */
}

/* Header */
#header {
	height: 120px;
	background: url(experience/img02.jpg) no-repeat 110px /*center*/ top;
	/*text-transform: lowercase;*/
}

#logo {
	float: left;
	position:relative;
	left: 0px;
	top: 39px;
}

#logo h1, #logo p {
	float: left;
	margin: 0;
	line-height: normal;
}

#logo h1 {
	font-size: 2em;
	color: #62D6F5;
}

#logo p {
	letter-spacing: -1px;
	font-size: 1.4em;
	color: #199DD2;
}

#logo a {
	text-decoration: none;
	color: #62D6F5;
}


/* Menu bar of Tab buttons on the top */
#topmenu {
	float: left;
	padding-left: 58px; 
	padding-right: 0px;
}

#topmenu ul {
	margin: 0;
	padding: 60px 20px 0 0; /* position of Tab buttons on top */
	list-style: none;
}

#topmenu li {
	display: inline;
}

#topmenu a {
	float: left;
	width: 130px;	/* Width of Tab buttons on the top (must be same size as img03.jpg) */
	height: 56px;
	margin: 0 0 0 2px;
	padding: 9px 0 0 0;
	background: #1B97CE url(experience/img03.jpg) no-repeat;	/* SE changed from GIF to JPG to save space */
	text-decoration: none;
	text-align: center;
	letter-spacing: -1px;
	font-size: 1.1em;
	font-weight: bold;
	color: #000000;
}

#topmenu a:hover, #topmenu .current_page_item a {
	background: #26BADF url(experience/img04.jpg) no-repeat;	/* SE changed from GIF to JPG to save space */
}

/* Page */
#page {
/*	width: 990px;*/	/* was 980px. Should be same width as all 3 columns together. */
	margin: 0 10px;	/* was "0 10px;" */
}

/* Content */
#content {
	float: left;
	width: 75%;	/* width of the content, should be same as the bg image (was 530px) */
	padding: 0 0 0 20px;

	/* This is added as a hack for IE4+, since PRE tags (pre-formatted code) can overflow,
	   without IE adding scrollbars in the PRE tag. So add it here if needed.*/
	overflow-x:auto;	/* if the content doesn't fit in the space, place scrollbars around it. */
}

.post {
	margin-bottom: 15px;
	color: #000; 	/* text color #0A416B*/
	background: #1EB5DD url(experience/img05.gif) no-repeat;	/* light blue content backgrounds */
	/* Stretch both the main content and the background image across the full width. */
	background-size: 100%;	/* Only available in CSS3, so won't work on IE8 or older. */
	width: 100%;
}

.post a {
	color: #A4E4F5;
}

.post a:hover {
	color: #FFFFFF;
}

.post .title {
	margin: 0;
	padding: 30px 30px 0 30px;
}

/* The title of a section that looks normal but becomes a targeted link when the user moves the mouse over it. */
.post .title a {
	text-decoration: none;
	color: #000; 	/* text color #0A416B*/
}
.post  .title a:hover {
	text-decoration: underline;
	color: #FFFFFF;
}

.post .byline {
	margin: 0;
	padding: 0 30px;
	color: #178;	/* Make the author line faded in with the background */
}

.post .entry {
	padding: 20px 30px 10px 30px;
	line-height: 150%;		/* Make a large gap between lines in the text. */
	text-align: justify;	/* make all the text content justified */
}

.post .entry pre {	/* pre-formatted code sections */
	overflow:auto;	/* if the content doesn't fit in the space, place scrollbars around it */
	border: 2px solid #0F0;
	font-size: 14px;	/* Was 11px, smaller text than the default 16px */
	background: #D8F0F0;	/* give a light-blueish-white background for code */	
	/*width: 566px;*/	/* specify the full width of the window, so that IE6 doesn't add a horz-scrollbar */
	line-height: 14px;	/* Make smallish gap between lines in the code. */
}
.post .entry pre a {	/* formatting of hyperlinks inside the code sections */
	color: #00A;
}
.post .entry dfn {		/* display code comments as green */
	color: #090;
}
.post .entry code {		/* display code keywords as bold blue */
	color: #00A;
	font-weight: bold;
}
.post .entry samp {		/* display sample text as red */
	color: #B00;
}
.post .entry .wrap {	/* pre-formatted code sections also with line wrapping */
	/* Note that it tries using several different hacks, based on "http://perishablepress.com/press/2009/11/09/perfect-pre-tags/" */
	white-space: pre-wrap;                 /* CSS3 browsers  */
	white-space: -moz-pre-wrap !important; /* 1999+ Mozilla  */
	white-space: -pre-wrap;                /* Opera 4 thru 6 */
	white-space: -o-pre-wrap;              /* Opera 7 and up */
	word-wrap: break-word;                 /* IE 5.5+ and up */
}

.post .entry img {
	margin: 7px 7px;	/* put an invisible border around images that are embedded in the text. */
}
.post .entry .no_margin {
	margin: 0;			/* remove any margins. */
}
.post .entry .wide {
	margin-left: 0;		/* remove any margin on the left & right sides, to fit a wide image. */
}

/* Make the tables use the Collapse table model, using simple flat lines instead of 3D edges */
.post table {
	border-collapse:collapse;
	border: 1px solid #000;
}
/* Allow tables to be hidden if desired. */
.post .hidden {
	/*border-collapse:separate;*/
	border-style: none;
}

.post td {
	border: 1px solid #666;
	border-style: inset;
}

/* Allow tables to be padded if desired. */
.post .padded table {
    border-spacing: 5px;
}
.post .padded td, th {
    padding: 5px;
}
/* Allow centered data if desired. */
.centered {
    text-align: center;
}

/* Make the lists indented, since the CSS makes it default to bad positioning. */
.post ul {
	padding-left: 18px;
}
.post ol {
	padding-left: 22px;
}
/* Use 'internal' class if no padding is desired. */
.post .internal {
	list-style-position: inside;
	padding: 0 0 0 0;
}

.post .postEnd {	/* Faded bottom edge of each post */
	clear:both;	/* make sure that images don't extend past the bottom! */
	margin: 0;
	padding: 10px 0px 35px 0px;
	background: url(experience/img06.gif) repeat-x left bottom;	/* shaded bottom edge */
}
.post .postEnd .links {	/* Links at the bottom of each content box */
	margin: 0;
	padding: 10px 30px 0px 30px;
	border-top: 1px solid #2872A6;	/* horizontal rule line */
}
.post .postEnd .links a {
	padding-left: 10px;
	background: url(experience/img08.gif) no-repeat left center;	/* arrow icon */
	text-decoration: none;
	font-weight: bold;
	color: #0A416B;
}
.post .postEnd .links a:hover {
	color: #FFFFFF;
}

/* Thumbnail pictures for the main pages. */
/* Based loosely on topstories.css, from "www.engadget.com" */
.thumbnail .a_block {
	float:left;
	position:relative;
	display:inline;	/* Dont put a blank line on the end. */
	margin-top:-5px;
	margin-left:-2px;
}
.thumbnail .a_block img{
	margin:0;
	padding:0;
}
.thumbnail .a_block .txt_holder{
	position:absolute;
	top:2px;
	/*top:130px;*/
	left:2px;
	right:2px;
	bottom:2px;
}
.thumbnail .a_block .txt_holder p {
	font-family:Arial, Helvetica, sans-serif;
	font-size:15px; line-height:16px;
	color:#FFFFFF;
	padding:8px 10px;
	position:relative;
}
.thumbnail .a_block .txt_holder p .txt{
	position:relative;
	z-index:10;
}
.thumbnail .a_block .txt_holder p .bg{
	position:absolute;
	width:100%;
	height:100%;
	bottom:0; left:0;
	background:#000;
	filter:alpha(opacity=60);
	-moz-opacity: 0.60;
	opacity: 0.60;
	-display:none;
}			
.thumbnail a {
	text-decoration: none;
	/*text-transform: uppercase;*/
}		
.thumbnail .a_block div:hover {
	/*font-weight: bold;*/
	/*background:#0F0;*/
	/*background:#FFF;*/
	/*background:none;*/
	/*color:#F00;*/
	/*text-decoration: underline;*/
	filter:alpha(opacity=30);
	-moz-opacity: 0.30;
	opacity: 0.30;
}
/* Clear any floating divs upto here. */
.clear { clear:both; position:relative; }

/* Sidebars */
.sidebar {
	float: left;
}

.sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}

.sidebar li {
}

.sidebar li ul {
}

.sidebar li li {
	border-bottom: 1px solid #2872A6;
}

.sidebar li li a {
	text-decoration: none;
	color: #C9ECF5;
}

.sidebar li li a:hover, #leftbar .current_page_item a{
	color: #FFFFFF;
	background-color: #17B;	/* added by Shervin */
}

.sidebar li h2 {
	padding-top: 40px;
	color: #FFFFFF;
}

/* Left Sidebar */
#leftbar {
/*	width: 115px;*/	/* width of the left sidebar (200px)*/
}
#leftbar li li {
	border: 0;
}
#leftbar li li a {
	display: block;
	/*margin: 0 10px;*/
	padding: 6px 10px;
}

/* Bottom (About Me) Sidebar */
#bottombar {
/*padding: 20px;*/
/*	padding: 0 0 0 20px;*/
/*	width: 200px;*/	/* width of the right sidebar (200px)*/
border:1px solid #AAA;
padding: 20px;
margin: 0px;
}
#bottombar li {
	/*padding: 6px 0 6px 10px;*/
	padding: 5px 0 0px 10px;	/* Fix the alignment of the list icon */
	background: url(experience/img08.gif) no-repeat 0 10px;
}

/* Footer */
#footer {
	clear: both;
	padding: 20px 0;
	background: #083253;
}

#footer p {
	text-align: center;
	font-size: smaller;
	color: #0F5B96;
}

#footer a {
	color: #0F5B96;
}
