/*
Theme Name: Active-Theme
Theme URI: http://webactives.org/active-theme
Author: Web Actives
Author URI: http://webactives.org
Description: Free Wordpress theme for all kind of blogs. HTML 5, Search Engine Friendly and Super Clean Layout.
Version: 1.0
Tags: custom-menu, threaded-comments, sticky-post, microformats, rtl-language-support, translation-ready
License: GNU General Public License v3
License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =Structure
-------------------------------------------------------------- */
body {
	background: url(images/main-bg.jpg) #FFF no-repeat top center;
	margin:30px 0 0 0;
}
#page {
	display: block;
	margin: auto;
	width:980px;
	background:url(images/wrapper-bg.png) center top no-repeat;
	padding:15px;
	color:#333;
	font-family:Arial, Helvetica, sans-serif;
	font-size:13px;
}
#page a{
	color:#cf7d93;
	text-decoration:none;
}
#page a:hover{
	color:#3475e0;
	text-decoration:none;
}

#primary {
	float: left;
	margin: 0 -240px 0 0;
	width: 100%;
}
#content {
	margin: 0 280px 0 0;
}
#main .widget-area {
	float: right;
	overflow: hidden;
	width: 220px;
}
#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,
.section-heading {
  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
-------------------------------------------------------------- */
#headerbg {
	height:95px;
	padding:0px;
}
#site-title {
	font-size: 4em;
	font-weight: bold;
	margin: 0 0;
	text-align:center;
	text-decoration:none;
}
#site-title a{
	text-decoration:none;
	color: #3475e0;
	text-shadow: #999 5px 5px 5px;
}
#site-description {
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 0;
	text-align:center;
	font-weight:bold;
	color:#cf7d93;
}


/* =Menu
-------------------------------------------------------------- */

#access {
	background: url(images/menubg.png) top center no-repeat;
	display: block;
	float: left;
	margin: 0 auto 2em;
	width: 100%;
	font-weight:bold;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	display: block;
	line-height: 2em;
	padding: 0 1em;
	text-decoration: none;
	color:#FFF;
}
#access ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #cf7d93;
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 10em;
	height: auto;
	color:#FFF;
}
#access li:hover > a,
#access ul ul :hover > a {
	background: #cf7d93;
	color:#fff;
}
#access ul ul a:hover {
	background: #cf7d93;
	color:#fff;
}
#access ul li:hover > ul {
	display: block;
}


/* =Content
-------------------------------------------------------------- */
#content h1{
	color: #3475e0;
	text-shadow: #cf7d93 2px 2px 2px;
}
#content h1 a{
	color: #3475e0;
	text-shadow: #cf7d93 2px 2px 2px;
}

#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;
}
div.entry-meta{
	color:#cf7d93;
	font-size:11px;
}
footer.entry-meta {
	border-top:#999 dotted;
	border-width:1px;
	padding-top:5px;
	color:#999;
	font-size:11px;
}
	
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	margin: 0 0 1em;
}

/* 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 {
	background: #fff;
	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: #fff;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}


/* =Images
-------------------------------------------------------------- */

a img {
	border: #d3879b solid;
	border-width:1px;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
	border: #d3879b solid;
	border-width:1px;
}
/*
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 {
	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. */
	border: #d3879b solid;
	border-width:1px;
}
img.alignleft {
	margin-right: 1em;
	border: #d3879b solid;
	border-width:1px;
}
img.alignright {
	margin-left: 1em;
	border: #d3879b solid;
	border-width:1px;
}
.wp-caption {
	padding: .5em;
	text-align: center;
	border: #d3879b solid;
	border-width:1px;
}
.wp-caption img {
	margin: .25em;
	border: #d3879b solid;
	border-width:1px;
}
.wp-caption .wp-caption-text {
	margin: .5em;
	border: #d3879b solid;
	border-width:1px;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
	border: #d3879b solid;
	border-width:1px;
}


/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


/* =Comments
-------------------------------------------------------------- */

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;
}


/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
	border-width:1px;
	margin-bottom:10px;
}
.widget h1{
	color:#fff;
	background: url(images/sidebar.png) center top no-repeat;
	text-align:center;
	line-height:30px;
	text-shadow: #666 2px 2px 2px;
	font-size:16px;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}

#wp-calendar {
	width: 100%;
}
/* =Footer
-------------------------------------------------------------- */

#colophon {
	padding: 2em 0 0;
	text-align:right;
	border-bottom:#999 dotted;
	border-width:1px;
	color:#999;
}
#colophon a{
	color:#999;
}

