/*
Theme Name: CastMedium 6.0
Description: An ultra-minimal HTML5 starter theme.
Author: The Automattic Theme Team
Author URI: http://themeshaper.com/
Version: Toolbox 0.3
Tags: translation-ready, microformats, rtl-language-support

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.

*/


/* =Links
-------------------------------------------------------------- */
body, input, textarea {
    font: 12px Helvetica,sans-serif;
}

a:link {
    color:#319bd8;
    text-decoration: none;
}
a:visited {
    color:#319bd8;
    text-decoration: none;
}
a:active,
a:hover {
	text-decoration: underline;
}

/* =Structure
-------------------------------------------------------------- */

#branding {
	background: #000;
	margin: -1em -1.7em 0 -1.7em;
	padding: 1em 0;
	display: block;
	background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0.3, rgb(0,0,0)),color-stop(1, rgb(43,43,43)),color-stop(0.54, rgb(26,26,26)));
    background-image: -moz-linear-gradient(center bottom,rgb(0,0,0) 30%,rgb(43,43,43) 100%,rgb(26,26,26) 58%);
}
#page {
	display: block;
	margin: 1em;
}
#primary {
	float: left;
	margin: 0 -310px 0 0;
	width: 100%;
}
#content {
	margin: 0 320px 0 0;
}
#main .widget-area {
	float: right;
	overflow: hidden;
	width: 300px;
}
#colophon {
	clear: both;
	display: block;
}

/* 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 {
	position: absolute;
	left: -9000em;
}


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

#site-title {
	margin: 0 0 0 .7em;
	font-size: 2em;
	font-weight: bold;
}
#site-description {
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em 1.7em;
}
#branding .box {
	float: right;
	margin: .9em 1.7em 0 0;
}


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

#access {
	background: #444;
	border-bottom: solid 1px #aaa;
	display: block;
	float: left;
	margin: .5em auto 1em auto;
	width: 100%;
}
#access ul {
	list-style: none;
	margin: 0;
	padding: 0 1em 0 1.5em;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	display: block;
	color: #eee;
	font-size: 12px;
	font-weight: bold;
	line-height: 2em;
	padding: 0 1em;
	text-decoration: none;
	text-shadow: #111 0.2em 0.2em 0.2em;
}
#access ul ul {
	display: none;
	position: absolute;
	top: 2em;
	left: 0;
	float: left;
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #ff9634;
	color: #fff;
	height: auto;
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 10em;
}
#access li:hover > a,
#access ul ul :hover > a {
	background: #ff9634;
	color: #fff;
	text-shadow: black 0.1em 0.1em 0.2em;
}
#access ul ul a:hover {
	background: #ff9634;
}
#access ul li:hover > ul {
	display: block;
}


/* =Mega
-------------------------------------------------------------- */

ul#menu li {
  display: inline;
  position: relative;
}

ul#menu div {
  display: none;
}

ul#menu h5 {
  margin: 0;
}

ul#menu h4 {
  margin: 0;
}

ul#menu li.mega .panel {
	color: #eee;
	position: absolute;
	background: #404040;
	filter:alpha(opacity=98);
	opacity:.98;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=98)"; /*--IE 8 Transparency--*/
	padding: 10px;
	width: 595px;
	margin-left: -1px;
	border: 1px solid #ff9634;
	-moz-border-radius-bottomleft: 6px; -khtml-border-bottom-left-radius: 6px; -webkit-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px;   
	-moz-border-radius-bottomright: 6px; -khtml-border-bottom-right-radius: 6px; -webkit-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; 
	z-index: 99999;
}

ul#menu li.mega .showlist {
	width: 145px;
	float: left;
	margin-top: 10px;
}

ul#menu li.mega .showlist p{
	color: #ff9634;
	font-size: 12px;
	margin-bottom: 1px;
}


ul#menu li.mega .showlist a {
	font-size: 10px;
	font-weight: normal;
	line-height: 10px;
	margin: 0;
	padding: 2px 0;
	color: #eee;
	text-shadow: none;
}


ul#menu li.mega .showlist a:hover {
	background: none;
	text-decoration: underline;
	cursor: pointer;
}

ul#menu li.hovering div {
  display: block;
}

.panel h5{
	font-size: 10px;
}

.panel h4{
	font-size: 14px;
}



/* =Content
-------------------------------------------------------------- */

article {
	clear: both;
	color: #333;
	display: block;
	margin-bottom: 50px;
	padding-bottom: 30px;
	min-height: 180px;
	border-bottom: solid 1px #ccc;
	position: relative;
	font-size: 13px;
}

.entry-title a{
	color: #000;
}
.entry-title a:hover{
	color:#ff9634;
	text-decoration: none;
}
.entry-header {
}
.entry-footer-meta {
	color: #444;
	margin-top: 0;
	margin-bottom: -15px;
	display: block;
	position: absolute;
	bottom: 1px;
	right: 0;
	left: 0;
}
.entry-content {
margin-bottom: 40px;

}
.index-image {
	min-width: 200px;
	min-height: 200px;
	max-width: 200px;
	max-height: 200px;
}
.single-image {
	min-width: 200px;
	min-height: 200px;
	max-width: 200px;
	max-height: 200px;
	clear: right;
}
blockquote {
	margin: 15px 25px;
	line-height: 1.5em;
	padding-left: 5px;
	border-left: solid 4px #ffb672;
	color: #888;
}
.vote {
	float:right;
}
#related {
	overflow: auto;
	margin: -2em 0 2em 0;
	border: solid 1px #ccc;
	line-height: 1.5em;
}
#related p {
	font-weight: bold;
	margin: .1em 0 .9em 0;
}
#related-posts{
	width: 40%;
	float: left;
	padding: 1em;
}
#related-tags{
	width: 25%;
	float: right;
	padding: 1em;
}
#related-hosts{
	width: 20%;
	float: right;
	padding: 1em;
}

#content nav {
	display: block;
	overflow: hidden;
	margin: 1em 0 1.5em 0;
	font-size: 2em;
	text-transform: capitalize;
	font-weight: bold;
}
#content nav a {
	color: #000;
}
#content nav a:hover {
	color: #319bd8;
	text-decoration: none;
}
#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: block;
}
.page-link {
	margin: 0 0 1em 0;
}

/* 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: #EEE;
	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;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}


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

a img {
	border: none;
}


/* =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
-------------------------------------------------------------- */

.comments-link {
	float:right;
	width: 40px;
	height: 18px;
	margin: 3px 0 -3px 10px;
	font-size: 14px;
	font-weight: bold;
	text-align: center;

}
.comments-link a{
	background: url(http://www.castmedium.com/wp-content/themes/castmedium5.1/images/bg-commentbox.png) no-repeat;
	padding: 3px 11px 11px 11px;
	color: #000;
}
.comments-link a:hover{
	background: url(http://www.castmedium.com/wp-content/themes/castmedium5.1/images/bg-commentbox.png); 
	background-position: 0 -31px;
	color: #fff;
	text-decoration: none;
}
#respond input[type=text] {
	float: left;
	margin: 0 1em 0 0;
	width: 60%;
}
#respond .comment-form-comment label {
	display: none;
}
#respond textarea {
	margin: 0 1em 1em 0;
	float: left;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


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

#secondary {
	margin: 20px 0;
}
#secondary h3 {
	font-size: 18px;
}
.widget {
	list-style: none;
}
.widget-body {
	margin: 10px 0;
}
.widget-area {
	background: #fafafa;
	border: solid 1px #e0e0e0;
	padding: 8px 0 0 0;
}
.widget-container {
	padding: 0 0 20px 0;
	border-bottom: solid 1px #e0e0e0;
}
.widget-area ul {
	list-style: none;
	padding: 0 1em;
}
.widget-area ul ul {
	list-style: none;
	padding: 0 0 0 1em;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}

.h5left { width: 160px; clear: none; margin-top: 5px; padding: 2px 0; text-align: left; font-weight: normal;}
.h5right { width: 100px; float: right; clear: none; margin-top: -31px; padding: 2px 0; text-align: right; }



/* =Sidebar specifics
-------------------------------------------------------------- */
.commentposttitle { padding: 10px 0 3px 0; margin-left: -22px; list-style: none; font-size: 10px; }
.commentposttitle strong { font-size: 13px; font-weight: none; }
.commentauthorlink { font-weight: normal; color: #000; }
.commentauthor { padding: 2px 0; margin-left: -15px; list-style: none;  color: #888; font-size: 12px;}
.commentauthor a:link { color: #000; }
.commentauthor a:visited { color:#000; }
.commentauthor a:active, .s2 .commentauthor a:hover { color:#fff; background-color: #333; }

#secondary h2 img {
	display:none;
}

#secondary h2 a:link, #secondary h2 a:visited {
	color: #000;
}

.widget_rss {
	line-height: 1.5em;
}

.twtr-hd {
	display: none;
}
.twtr-widget {
	margin-bottom: -22px;
}

.twtr-widget p {
	font-size: 11px;
}

.twtr-widget h4 {
	color:#333; padding: 5px 7px 1px 7px; margin-bottom: 3px; font: normal 18px "Arial"; }

.twtr-widget a:hover, .s2 .twtr-widget a:active {
	background: none;
	text-decoration: underline;
}

	.footerwrapper .foot-box {

		width:226px;

		float:left;
		
		margin: 0 10px 0 0;
		
		padding: 10px 5px;

	}



	.footerwrapper h3 {

		font-size:20px;

		font-weight:bold;

		font-family: Helvetica, Arial, sans-serif;

	}

	

	.footerwrapper div.abouttext {

		padding-top:10px;

		line-height:22px;

	}

	

	.footerwrapper ul {

		padding:5px 0;
		
		margin-left: 20px;
	
		list-style: square;

	}

	

	.footerwrapper ul li a {

		display:block;

		padding:3px 0;

		width:175px;

	}

	

	.footerwrapper ul li a:hover {

		padding:3px 5px;

		background:#fff;

		text-decoration:none;

	}

	

.footerwrapper .credits {

	border-top:1px solid #393837;

	background:#000000;

	color:#fff;

}



	.footerwrapper .credits-content {

		width:980px;

		margin:0 auto;

		padding:10px;

		color:#fff;

	}
	
	
.footerwrapper wpcf7 input{
	max-width:200px;
}


.credits-content {
	background: #000;
	color:#fff;
}

.credits-content .copyrighttext {
	width: 980px;
	margin: 0 auto;
	line-height: 30px;
}

.abouttext .textwidget .crew div {
	clear: both;
	border-bottom: 1px dotted #555;
	padding-bottom: 5px;
	margin-bottom: 10px;
}

.abouttext .textwidget .crew img {
	float: left;
	clear: left;
	margin: 0 5px 12px 0;
	max-height: 40px;
	max-width: 40px;
}

.abouttext .textwidget .crew ul {
	list-style: none;
	margin: 0 0 5px 0;
}

.abouttext .textwidget .crew li {
	clear: both;
	border-bottom: dotted 1px #777;
}

.abouttext .textwidget .crew a:link, .abouttext .textwidget .crew a:visited {
	font-size: 15px;
	margin-top: 5px;
}



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

#colophon {
	background: #444;
	margin: 1em -1.7em -1em -1.7em;
	overflow: auto;
	color: #ddd;
}


/* Overall Button Style */
.button {
    background: #777;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    padding: 1px;
    vertical-align: middle;
    }
.button span {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: #fff;
    display: block;
    font: bold 12px 'Arial', sans-serif;
    padding: 6px 12px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
    }
    
/* Button States */
.button:hover {
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, transparent), color-stop(1, rgba(0, 0, 0, 0.2)));
    background-image: -moz-linear-gradient(top, transparent, rgba(0, 0, 0, 0.2));
    text-decoration: none;
    }
.button:active {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, transparent), color-stop(1, rgba(0, 0, 0, 0.3)));
    background-image: -moz-linear-gradient(bottom, transparent, rgba(0, 0, 0, 0.3));
    }
.button:active span {
    border-top-color: rgba(0, 0, 0, 0.3);
    }
    
/* Colors and Sizes */
.button.black { background-color: #252a2a; }
.button.blue { background-color: #319bd8; }
.button.red { background-color: #cc2222; }
.button.orange { background-color: #ff9634; }
.button.green { background-color: #69a846; }
.button.brown { background-color: #b6761a; }
.button.selected { background-color: #569334; }
.button.large span { font-size: 16px;  padding: 6px 14px; }
.button.small span { font-size: 11px;  padding: 4px 8px; }


/* =WordPress basics
-------------------------------------------------------------- */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
	clear: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}

img#wpstats{position:absolute;top:0;width:0px;height:0px;overflow:hidden}
