/*
Theme Name: Elementary
Description: A wordpress theme inspired by the elementary os. Clean, minimal theme designed for blogs.
Theme URI: http://sajithdilshan.github.com/elementary
Author: Sajith Dilshan
Author URI: http://sajithdilshan.github.com
Version: 1.1
License: GNU General Public License
License URI: license.txt
Tags: gray, white, fixed-width, two-columns, right-sidebar

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/* CSS reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin:0;
	padding:0;
}
html,body {
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img { 
	border:0;
}

address,caption,cite,code,dfn,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:none;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
p{
	font-family: 'Droid Sans', sans-serif;
	color: #555;
	line-height: 19px;
	font-size: 13px;
	text-align: justify; 
    text-justify: newspaper
}

/* =Structure
-------------------------------------------------------------- */
body{
	background: #E1E1E1 url(images/bg.png);
	font-family: 'Droid Sans',arial,sans-serif;
	font-size: 14px;
	color: #555;
}
a,a:hover,a:visited{
	text-decoration: none;
	color: #08C;
}
#page {
	display: block;
	margin: 10px auto 0 auto;
	width: 960px;
	padding: 0 10px;
}
#primary {
	float: left;
	margin: 0 -240px 0 0;
	width: 100%;
}
#content {
	margin: 0 270px 0 0;
}
#main .widget-area {
	padding-top: 3px;
	float: right;
	overflow: hidden;
	width: 240px;
	color: #fff;
}
aside{
	margin: 0 5px 20px 5px;
	padding: 5px 10px;
	background: #303030;
	-webkit-box-shadow: 0px 0px 4px 0px #030303; /* Saf3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
	box-shadow: 0px 0px 4px 0px #030303; 
	-moz-box-shadow: 0px 0px 4px 0px #030303; 
	-webkit-border-radius: 5px; /* Saf3-4, iOS 1-3.2, Android ≤1.6 */
	border-radius: 5px;
}
#colophon {
	clear: both;
	display: block;
	width: 100%;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* =Header
-------------------------------------------------------------- */

#site-title, #site-title a {
	font-family: 'Raleway', cursive;
	text-shadow:0 1px 0 #FDFDFD;
	color: #555;
	font-size: 32px;
	font-weight: bold;
	margin: .01em 0;
}
#site-description {
	font-family: Lucida Sans,Lucida Grande, sans-serif;
	text-shadow:0 1px 0 #FDFDFD;
	color: #555;
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em;
}
#headersearch{
	position:absolute;
	float: right;
	margin: 10px 0 20px 730px;
	top: 0;
}


/* =Menu
-------------------------------------------------------------- */

#access {
	min-height: 35px;
	-webkit-border-radius: 5px; 
	border-radius: 5px; 
	-moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
	border-style:solid;
	border-color: #8d8d8d;
	border-width: 1px;
    background-color: #e2e2e2;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#e2e2e2), to(#b5b5b5)); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient(top, #e2e2e2, #b5b5b5); /* Chrome 10+, Saf5.1+, iOS 5+ */
	background-image:    -moz-linear-gradient(top, #e2e2e2, #b5b5b5); /* FF3.6+ */
	background-image:      -o-linear-gradient(top, #e2e2e2, #b5b5b5); /* Opera 11.10+ */
	background-image:         linear-gradient(to bottom, #e2e2e2, #b5b5b5);
	display: block;
	float: left;
	margin: 0 auto 1em;
	width: 100%;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	color: #555;
	display: block;
	line-height: 2em;
	padding: 0.1em 1em;
	text-decoration: none;
}
#access ul ul {
	border: 1px solid;
	border-color: #8d8d8d;
	-webkit-border-radius: 3px; 
	border-radius: 3px; 
	-moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
	background-color: #e2e2e2;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#e2e2e2), to(#b5b5b5)); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient(top, #e2e2e2, #b5b5b5); /* Chrome 10+, Saf5.1+, iOS 5+ */
	background-image:    -moz-linear-gradient(top, #e2e2e2, #b5b5b5); /* FF3.6+ */
	background-image:      -o-linear-gradient(top, #e2e2e2, #b5b5b5); /* Opera 11.10+ */
	background-image:         linear-gradient(to bottom, #e2e2e2, #b5b5b5);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	background-color: #000;
	left: 100%;
	top: 0;
}
#access ul ul a {
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 10em;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	color: #08C;
}
#access ul ul a:hover{
	color: #08C;
}
#access ul li:hover > ul {
	display: block;
}


/* =Content
-------------------------------------------------------------- */
.bypostauthor{
	
}
.sticky {
}
.entry-content p{
	font-family: 'Droid Sans', sans-serif;
	color: #555;
	line-height: 19px;
	font-size: 13px;
}
.entry-content img{
	-webkit-box-shadow:0 0 20px #DDD;
	-moz-box-shadow:0 0 20px #DDD;
	box-shadow:0 0 20px #DDD;
	padding: 5px; 
	margin: 10px 0;
}
.entry-meta {
	clear: both;
	display: block;
	margin-bottom: 10px;
}
footer.entry-meta{
	padding: 15px 0 20px 0;
	font-size: 12px;
	line-height: 25px;
	border-bottom: 1px #eee solid;
}

footer.entry-meta a{
    border-color: #dedede #d8d8d8 #d3d3d3;
    text-shadow: 0 1px 0 #fff;
    -webkit-box-shadow: 0 1px 1px #eaeaea, inset 0 1px 0 #fbfbfb;
    -moz-box-shadow: 0 1px 1px #eaeaea, inset 0 1px 0 #fbfbfb;
    box-shadow: 0 1px 1px #eaeaea, inset 0 1px 0 #fbfbfb;
	background: #ffffff;
	background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed));
	background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
	background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
	background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
	background: linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
    display: inline-block;
    text-decoration: none;
	font-size: 10px;
    padding: 3px 8px;
	line-height: 12px;
    color: #555;
    text-transform:uppercase;
    border: 1px solid #dedede;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius:3px 3px 3px 3px;
    cursor:pointer;
}
footer.entry-meta a:hover{
	background: #ededed;
}
.comments-link a{
	margin-top: 5px;
    float: right;
}
.entry-content h1{
	font-size: 28px;
}
.entry-content h2{
	font-size: 24px;
}
.entry-content h3{
	font-size: 20px;
}
.entry-content h4{
	font-size: 16px;
}
.entry-content h5{
	font-size: 12px;
}
.entry-content ul{
	line-height:18px;
	list-style-type:square;
	margin: 0px 0px 0px 20px;
}
.entry-content ol{
	line-height:18px;
	list-style-type:decimal;
	margin: 0px 0px 0px 20px;
}
.single-author .entry-meta .byline {
	display: none;
}
blockquote  p{
	font-family: 'Inconsolata', sans-serif;
	font-weight: 400;
	font-size:10pt;
	margin:1.4em 3em 1.6em 3em;
	padding:0.1em 0em 0.1em 1em;
	border-left:2px solid #ddd;
}
code{
	font-family: 'Inconsolata', sans-serif;
	font-weight: 400;
	font-size: 10pt;
}
div#content{
	background: #FAFAFA;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
	border-radius: 3px;
	padding: 20px;
}
h1.entry-title, h1.entry-title a{
	color: #4D4D4D;
	font-size: 30px;
	padding : 0 0 5px;
	line-height: 32px;
}
article{
	padding : 5px 0;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: none;
}
#nav-below {
	margin: 10px 0 20px 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}


/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img,
.wp-caption {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}


/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform{
	padding: 10px 0;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


/* =Comments
-------------------------------------------------------------- */
#comments-title{
	padding: 10px 0 5px 0;
}
article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}
div.comment-meta.commentmetadata{
	margin-right: 20px;
	padding-bottom: 5px;
	text-align: right;
	font-size: 11px;
	background: url(images/comment-corners.png);
	background-repeat: no-repeat;
	background-position: 30px 7px;

}
div.comment-content{
	padding: 20px;
	background: #303030;
	-webkit-box-shadow: 0px 0px 4px 0px #030303; /* Saf3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
	box-shadow: 0px 0px 4px 0px #030303; 
	-webkit-border-radius: 5px; /* Saf3-4, iOS 1-3.2, Android ≤1.6 */
	border-radius: 5px;
	margin: 0 10px 10px 10px;
	color: #fff;
    font-size: 13px;
    line-height: 19px;
}
div.comment-content p{
	color: #fff;
}
div.reply{
	text-align: right;
	margin-right: 20px;
}
div.comment-author.vcard img{
	-webkit-box-shadow:0 0 20px #DDD;
	-moz-box-shadow:0 0 20px #DDD;
	box-shadow:0 0 20px #DDD;
	padding: 1px;
}
#s{
	background: url(images/search-white.png) no-repeat 10px 6px #fcfcfc;
    border: 1px solid #d1d1d1;
    font: 12px Lucida Grande,Arial,Helvetica,Sans-serif;
    color: #bebebe;
    width: 130px;
    padding: 6px 15px 6px 35px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;
    -webkit-transition: all 0.7s ease 0s;
    -moz-transition: all 0.7s ease 0s;
    -o-transition: all 0.7s ease 0s;
    transition: all 0.7s ease 0s;
}
#s:focus{
	width: 170px;
	outline: none;
    border: 1px solid #7bc1f7;
    box-shadow: 0px 0px 8px #7bc1f7;
    -moz-box-shadow: 0px 0px 8px #7bc1f7;
    -webkit-box-shadow: 0px 0px 8px #7bc1f7;
}
input#author, input#email,input#url, textarea{
    border:1px solid #d2dadd;
    -moz-box-shadow:0px 1px 1px #F3F4F6 inset;
    -webkit-box-shadow:0px 1px 1px #F3F4F6 inset;
    box-shadow: 0px 1px 1px #F3F4F6 inset;
    font-size: 13px;
    color: #3a3a3a;
    padding:4px 7px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px 3px 3px 3px;
    outline-color:#e2eaed;
}
input#author:focus, input#email:focus,input#url:focus, textarea:focus{
	outline: none;
    border: 1px solid #7bc1f7;
    box-shadow: 0px 0px 8px #7bc1f7;
    -moz-box-shadow: 0px 0px 8px #7bc1f7;
    -webkit-box-shadow: 0px 0px 8px #7bc1f7;
}
input#searchsubmit{
	display: none;
}
input#submit{
	height: 25px;
	padding: 0 6px ;
	font-size: 11px;
	font-family: Lucida Sans,Lucida Grande, sans-serif;
	color: #fff;
	text-shadow:0 -1px 0 #276B9E;
	background-color: #66c8eb;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#66c8eb), to(#337dd1)); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient(top, #66c8eb, #337dd1); /* Chrome 10+, Saf5.1+, iOS 5+ */
	background-image:    -moz-linear-gradient(top, #66c8eb, #337dd1); /* FF3.6+ */
	background-image:      -o-linear-gradient(top, #66c8eb, #337dd1); /* Opera 11.10+ */
	background-image:         linear-gradient(to bottom, #66c8eb, #337dd1);
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px 3px 3px 3px;
    outline-color:#3477a1;
	border:1px solid #3477a1;
    -moz-box-shadow:0px 0px 1px #F3F4F6 inset;
    -webkit-box-shadow:0px 0px 1px #F3F4F6 inset;
    box-shadow: 0px 0px 1px #F3F4F6 inset;
}
input#submit:hover{
	background-color: #2a6bb0;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#2a6bb0), to(#4db2e9)); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient(top, #2a6bb0, #4db2e9); /* Chrome 10+, Saf5.1+, iOS 5+ */
	background-image:    -moz-linear-gradient(top, #2a6bb0, #4db2e9); /* FF3.6+ */
	background-image:      -o-linear-gradient(top, #2a6bb0, #4db2e9); /* Opera 11.10+ */
	background-image:         linear-gradient(to bottom, #2a6bb0, #4db2e9);
}
input{
	border:0px solid #fff;
	padding:3px 5px 4px;
}
#respond form p{
    clear: both;
    margin: 8px 0px;
}
h3#reply-title{
    font-size: 20px;
}


/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}
h1.widget-title{
	line-height: 25px;
	font-size: 13px;
	font-weight: bold;
}
.widget-area ul a:visited,.widget-area li a:visited, .widget-area li a,
.widget-area ul a, #secondary a, #secondary a:visited{
	line-height: 18px;
	font-size: 10pt;
	color:#fff;
}
.widget_search{
	background: #E1E1E1 url(images/bg.png);
	-webkit-box-shadow: 0px 0px 0px 0px #030303; /* Saf3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
	box-shadow: 0px 0px 0px 0px #030303;  
	-moz-box-shadow:0px 0px 0px 0px #030303; 
	padding: 5px;
}

/* =Footer
-------------------------------------------------------------- */

#colophon, #colophon a {
	padding: 1.3em 0;
	font-family: Lucida Sans,Lucida Grande, sans-serif;
	text-shadow:0 1px 0 #FDFDFD;
	font-size: 11px;
	text-align: center;
	color: #555;
}
