/*
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.2
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;
}
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,textarea{
	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_wrapper{
	margin: 0 5px 20px 5px;
	padding: 1px;
	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;
}
aside {
	border-bottom: 1px solid #666666;
	border-radius: 5px;
	border-right: 1px solid #444444;
	border-left: 1px solid #444444;
	border-top: 1px solid #666666;
	padding: 5px 10px;
}

#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: #888;
	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: #999;
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em;
}
#headersearch{
	position:absolute;
	float: right;
	margin: 10px 0 20px 730px;
	top: 0;
}


/* =Menu
-------------------------------------------------------------- */
#nav-wrapper {
	background-clip: padding-box;
	background-color: #E2E2E2;
	background-image: linear-gradient(to bottom, #E2E2E2, #B5B5B5);
	border: 1px solid #8D8D8D;
	border-radius: 5px;
	box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.196);
	display: block;
	float: left;
	margin: 0px auto 1em;
	width: 100%;
}

#access {
	min-height: 35px;
	-webkit-border-radius: 5px; 
	border-radius: 5px; 
	border-top-style:solid;
	border-top-color: #ffffff;
	border-top-width: 1px;
	/*border-bottom-style:solid;
	border-bottom-color: #666666;
	border-bottom-width: 1px;*/
	display: block;
	float: left;
	width: 100%;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	text-shadow: 0px 1px 0px #EDEDED;
}
#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;
	margin-top: 6px;
	margin-bottom: 6px;
}
.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;
	margin-top: 18px;
}
.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: 5px;
	border: 1px solid #b7b7b7;
	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;
}
.form-allowed-tags{
	display:none;
}
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{
	outline: none;
	word-wrap: break-word;
	padding: 5px 7px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	border: 1px solid #a9a9a9;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#ffffff));
	background-image: -moz-linear-gradient(top,  #f2f2f2,  #ffffff);
	background-image: #f2f2f2;
	-moz-box-shadow: inset 0px -1px 5px rgba(0,0,0,0.1), inset 0px 1px 5px rgba(0,0,0,0.1), 0px 1px 5px rgba(255,255,255,0.2);
	-webkit-box-shadow: inset 0px -1px 5px rgba(0,0,0,0.1), inset 0px 1px 5px rgba(0,0,0,0.1), 0px 1px 5px rgba(255,255,255,0.2);
	box-shadow:  inset 0px -1px 5px rgba(0,0,0,0.1), inset 0px 1px 5px rgba(0,0,0,0.1), 0px 1px 5px rgba(255,255,255,0.2);
	text-shadow: 0px 1px 0px white;
	color: #333333;
}
input#author:focus, input#email:focus,input#url:focus, textarea:focus{
	outline: none;
    border: 1px solid #7bc1f7;
    box-shadow: 0px 0px 5px #7bc1f7;
    -moz-box-shadow: 0px 0px 5px #7bc1f7;
    -webkit-box-shadow: 0px 0px 5px #7bc1f7;
}
input#searchsubmit{
	display: none;
}
input#submit{
	font-size: 11px;
	font-family: Lucida Sans,Lucida Grande, sans-serif;
	text-align: center;
	color: white;
	text-shadow: 0px -1px 0px #276B9E;
	line-height: 2px;
	height: 25px;
	width: 90px;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#66c8eb), to(#337ed1));
	background-image: -moz-linear-gradient(top,  #66c8eb,  #337ed1);
	background-image: #43a2e8;
	-moz-box-shadow: inset 0px -1px 1px rgba(255,255,255,0.3), inset 0px 1px 1px rgba(255,255,255,0.3), 0px 1px 5px rgba(0,0,0,0.2);
	-webkit-box-shadow: inset 0px -1px 1px rgba(255,255,255,0.3), inset 0px 1px 1px rgba(255,255,255,0.3), 0px 1px 5px rgba(0,0,0,0.2);
	box-shadow: inset 0px -1px 1px rgba(255,255,255,0.3), inset 0px 1px 1px rgba(255,255,255,0.3), 0px 1px 5px rgba(0,0,0,0.2);
	border: 1px solid #22689b;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}
input#submit:hover{
	background-image: -webkit-gradient(linear, left top, left bottom, from(#8cd6f0), to(#3981d2));
	background-image: -moz-linear-gradient(top,  #8cd6f0,  #3981d2);
	background-image: #70bbed;
}
input#submit:active{
	background-image: -webkit-gradient(linear, left top, left bottom, from(#2e74c1), to(#4db3e9));
	background-image: -moz-linear-gradient(top,  #2e74c1,  #4db3e9);
	background-image: #3c95e6;
	-moz-box-shadow: inset 0px -1px 5px rgba(0,0,0,0.1), inset 0px 1px 5px rgba(0,0,0,0.1), 0px 1px 5px rgba(255,255,255,0.2);
	-webkit-box-shadow: inset 0px -1px 5px rgba(0,0,0,0.1), inset 0px 1px 5px rgba(0,0,0,0.1), 0px 1px 5px rgba(255,255,255,0.2);
	box-shadow:  inset 0px -1px 5px rgba(0,0,0,0.1), inset 0px 1px 5px rgba(0,0,0,0.1), 0px 1px 5px rgba(255,255,255,0.2);
	text-shadow: 0px 1px 0px #276B9E;
}

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;
}

.grey-border { 
border-bottom: 1px solid #CCCCCC;
float: left;
width: 100%;
height: 70px;
}

.title-icon-block { 
background: url("images/text.png") no-repeat transparent;
float: left;
left: -2px;
padding-bottom: 20px;
padding-left: 77px;
position: relative;
height: 70px;
}

.social-block { 
	float: right;
	padding: 5px;
}

#socialmedia {
 	float: left;
	padding-bottom: 10px;
	width: 100%;
}

#googleplus {
 	background: url("images/plus.png") no-repeat transparent;
	min-width: 50px;
	min-height: 50px;
	float: left;
}

#facebook {
 	background: url("images/facebook.png") no-repeat transparent;
	min-width: 50px;
	min-height: 50px;
	float: left;
}

#twitter {
 	background: url("images/twitter.png") no-repeat transparent;
	min-width: 50px;
	min-height: 50px;
	float: left;
}

#rssfeed {
 	background: url("images/RSS.png") no-repeat transparent;
	min-width: 50px;
	min-height: 50px;
	float: left;
}