/**
 * return1.net CSS3 file
 */

/* Main */
*
{
	padding: 0px;
	margin: 0px;
}

html
{
	height: 100%;
}

body 
{
	font-family: Helvetica, arial, sans-serif;
	font-size: 12px;	
	position: relative;
	background: white;
	background-image: url('../images/bg.png');
	height: 100%;
}

::selection
{
	background-color: #42465c;
	color: white;
}

::-moz-selection
{
	background-color: #42465c;
	color: white;
}

header, footer, article, aside, nav, address, hgroup, figure, section
{
	display: block;
}

img, figure
{
	border: none;
}

a
{
	color: #42467c;
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
}

#wrapper
{
	width: 1000px;
	min-height: 100%;
	margin: 0 auto;
	background-image: url('../images/content_back.png');
	background-position: top 81px;
	background-repeat: repeat-y;
}

.clear
{
	clear: both;
}

/* Sidebar */
#sidebar
{
	background: url('../images/sidebar-top.png') no-repeat;
	padding-left: 81px;
	float: left;
	width: 222px;
}

#sidebar header
{
	padding-top: 180px;
}

#sidebar header figure
{
	padding-bottom: 15px;
}

#sidebar ul
{
	list-style-type: none;
	border-top: 2px solid white;
	margin-bottom: 20px;
}

#sidebar ul li
{
	color: white;
	border-bottom: 2px solid white;
	width: 222px;
	
	/* Transistions */
	-moz-transition: background 0.3s ease-out;
	-webkit-transition: background 0.3s ease-out;
	-o-transition: background 0.3s ease-out;
	-ms-transition: background 0.3s ease-out;
	transition: background 0.3s ease-out;
}

#sidebar ul li a 
{
	display: block;
	color: white;
	padding: 12px 20px;
}

#sidebar ul li:hover
{
	background-color: #42465c;
}

#sidebar ul li a:hover
{
	text-decoration: none;
}

#sidebar input
{
	border: none;
	margin: 0px;
}

#sidebar input[type=search]
{
	background-color: white;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	padding: 6px 2px;
	width: 180px;
}

#sidebar input[type=submit]
{
	background-color: #42465c;
	color: white;
	padding: 6px 2px;
	width: 38px;
}

/* Content */
#right
{
	float: left;
	width: 687px;
	padding: 5px;
	padding-top: 0px;
	background-color: white;
}

#featured
{
	background-color: #e0e3f3;
	border-bottom: 2px solid #888b9e;
	height: 260px;
	margin-bottom: 2px;
}
	
#featured figure, #popular
{
	position: relative;
	float: left;
	margin: 42px 0 0 27px;
	border: 7px solid #4e5267;
	background: #ececec;
	width: 180px; height: 156px;
	opacity: 0.6;
	
	/* Transistions */
	-moz-transition: opacity 0.3s ease-out;
	-webkit-transition: opacity 0.3s ease-out;
	-o-transition: opacity 0.3s ease-out;
	-ms-transition: opacity 0.3s ease-out;
	transition: opacity 0.3s ease-out;
}

#featured figure:first-child
{
	margin-left: 26px;
}

#featured figure:hover, #popular:hover
{
	opacity: 1.0;
}

#featured figure hgroup {
	position: absolute;
	top: 14px; left: 14px;
	font-size: 18px;
}

#featured figure p a { color: #4e5267; text-decoration: none; }


#featured figure p {
	position: absolute;
	line-height: 20px;
	top: 39px; left: 14px;
}


#featured figure img {
	width: 180px; height: 156px;
}

#featured h2
{
	font-size: 18px;
	color: white;
}

#featured h2 span
{
	background-color: #4e5267;
	padding: 2px 4px;
}

#featured h3
{
	line-height: 23px;
}

#featured h3 span
{
	background-color: white;
	padding: 2px 4px;
	font-size: 16px;
	margin-right: 3px;	
}

#popular
{
	padding-top: 14px;
	padding-left: 14px;
	width: 166px;
	height: 142px;
}

#popular ol
{
	list-style-type: none;
	margin-top: 5px;	
}

#popular ol li
{
	display: block;
	margin-top: 4px;
}

#popular ol li a
{
	background-color: white;
	padding: 4px 4px;
}

/** 
 * Content 
 */
#posts
{
	list-style-type: none;
	margin-left: 0px !important;
}

#posts li
{
	display: block;
	margin-bottom: 20px;
}

article
{
	position: relative;
}

#content h1
{
	font-size: 16px;
	background-color: #f0f0f0;
	border-bottom: 5px solid #e6e6e6;
	height: 27px;
	padding-left: 26px;
	padding-top: 8px;
	margin-bottom: 20px;
}

#content h1 a
{
	color: inherit;
}
#content h3, #content h4, #content h5, #content h6
{
	margin-left: 26px;
}


#content h2
{
	border-bottom: 5px solid #e6e6e6;
	padding: 3px 26px;
}

#content h2, #content h3, #content h4, #content h5, #content h6
{
	margin-bottom: 10px;
}

h2 a, h3 a, h4 a, h5 a, h6 a
{
	color: inherit;
}

article header .share
{
	position: absolute;
	top: 13px; right: 26px;
	z-index: 500;
}

article header .share img
{
	margin: 0 0 0 4px;
	opacity: 0.3;
	
	/* Transistions */
	-moz-transition: opacity 0.3s ease-out;
	-webkit-transition: opacity 0.3s ease-out;
	-o-transition: opacity 0.3s ease-out;
	-ms-transition: opacity 0.3s ease-out;
	transition: opacity 0.3s ease-out;
}

article header .share img:hover
{
	opacity: 1.0;
}

#content p, #content nav, #content pre
{
	padding-left: 26px;
	padding-right: 26px;
	line-height: 1.5em;
	margin-bottom: 15px;
}

#content ul
{
	margin-left: 46px;
	margin-bottom: 15px;
	list-style-position: outside;
}

#content ol
{
	margin-left: 46px;
	margin-bottom: 15px;
	list-style-position: outside;
}

.syntax
{
	margin: 0px 26px;
	margin-bottom: 10px;
	background-color: transparent;
}

.linenos
{
	background: #f8f8f8;
	padding: 0px 4px;
}

table.syntaxtable
{
	width: 634px !important;
	overflow-x: auto;
	display: block;
}

table.syntaxtable div.syntax
{
	margin: 0px !important;
	
}

table.syntaxtable pre
{
	padding: 0px 0px 0px 3px !important;
	margin: 0px !important;
}

/** Social buttons */
div.socialised
{
	float: left;
	margin-right: 5px;
}

p.socialbuttons
{
	clear: both;
}

/** Project list */
#projects
{
	margin-left: 0px !important;
}

#projects li
{
	display: block;
	border-bottom: 5px solid #e6e6e6;
	padding: 0px 26px;
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.project-figure
{
	display: block; 
	float: left;
	width: 180px;
}

.project-desc
{
	float: left;
	width: 455px;
}

.project-desc h2
{
	border: none !important;
}

/** project detail */
#project-synopsis
{
	margin-top: -20px;
	background-color: #f9f9f9;
	padding: 20px 26px;
	border-bottom: 5px solid #e6e6e6;
	overflow: hidden;
}

/** Tabs */
.button-container
{
	position: relative;
	float: left;
	width: 687px;	
}

.rounded-buttons
{
	clear: left;
	float: left;
	list-style-type: none;
	text-align: center;
	margin: -14px 0px 30px 0px !important;
	position: relative;
	left: 50%;
	z-index: 500;
}

.rounded-buttons li
{
	float: left;
	display: block;
	box-shadow: 0px -1px 0px #f9f9f9, 0px -2px 0px #a6a6a6, 0px 1px 0px #f9f9f9, 0px 2px 0px #a6a6a6;
	-webkit-box-shadow: 0px -1px 0px #f9f9f9, 0px -2px 0px #a6a6a6, 0px 1px 0px #f9f9f9, 0px 2px 0px #a6a6a6;
	-o-box-shadow: 0px -1px 0px #f9f9f9, 0px -2px 0px #a6a6a6, 0px 1px 0px #f9f9f9, 0px 2px 0px #a6a6a6;
	margin: 0px;
	padding: 3px 8px;
	background-color: #e6e6e6;
	position: relative;
	right: 50%;
	border-right: 1px solid #ccc;
	font-weight: bold;
	
	/* Transistions */
	-moz-transition: background 0.3s ease-out;
	-webkit-transition: background 0.3s ease-out;
	-o-transition: background 0.3s ease-out;
	-ms-transition: background 0.3s ease-out;
	transition: background 0.3s ease-out;
}

.rounded-buttons li:first-child
{
	border-left: 1px solid #a6a6a6;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}

.rounded-buttons li:last-child
{
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	border-right: 1px solid #a6a6a6;
}

.rounded-buttons li:hover
{
	color: white;
	background-color: #464646;/*#42465c;*/
	box-shadow: 0px -1px 0px #e6e6e6, 0px -2px 0px #a6a6a6, 0px 1px 0px #e6e6e6, 0px 2px 0px #a6a6a6;
	-webkit-box-shadow: 0px -1px 0px #e6e6e6, 0px -2px 0px #a6a6a6, 0px 1px 0px #e6e6e6, 0px 2px 0px #a6a6a6;
	-o-box-shadow: 0px -1px 0px #e6e6e6, 0px -2px 0px #a6a6a6, 0px 1px 0px #e6e6e6, 0px 2px 0px #a6a6a6;
}

.rounded-buttons li a
{
	opacity: 0.3;
	
	/* Transistions */
	-moz-transition: opacity 0.3s ease-out;
	-webkit-transition: opacity 0.3s ease-out;
	-o-transition: opacity 0.3s ease-out;
	-ms-transition: opacity 0.3s ease-out;
	transition: opacity 0.3s ease-out;
}

.rounded-buttons li:hover a
{
	color: white;
}

.rounded-buttons li:hover a, .rounded-buttons .active-item a, .rounded-buttons .active-tab a
{
	opacity: 1.0;
}

.rounded-buttons li a:hover
{
	text-decoration: none;
	color: white;
}

.tabs
{
	clear: left;
}

.pagination
{
	margin-top: 0px !important;
}

/** Archive */
#archive-dates, #archive-tags
{
	width: 343px;
	float: left;
}

#archive-dates h2
{
	border: none !important;
}

/** tables */
table 
{
	margin: 0px 26px;
	margin-bottom: 10px;
}

table.styled
{
	width: 635px;
	padding: 0;
	border-spacing: 0;
}

table.styled th
{
	background: #42465c;
	text-align: left;
	padding: 6px;
	margin: 0;
	color: white;
} 

table.styled td
{
	padding: 6px;
	margin: 0;
	background-color: #f0f0f0;
}

table.styled tr:nth-child(odd) td
{
	background-color: #e6e6e6;
}

/** Image manager style */

ul.directories li, ul.pictures li
{
	line-height: 20px;
	padding-bottom: 3px;
}

ul.directories li:nth-child(odd), ul.pictures li:nth-child(odd)
{
	background-color: #e6e6e6;
}

ul.directories
{
	list-style-image: url('../images/folder.png');
	list-style-position: inside;
	padding-bottom: 10px;
}

ul.pictures
{
	list-style-image: url('../images/picture.png');
	list-style-position: inside;
}

#disqus_thread
{
	padding: 3px 26px;
}



