/*
Theme Name: Mytradesdirect.com
Theme URI: http://wordpress.org/
Description: The default WordPress theme for Mytradesdirect.com/resources
Version: 1.0
Author: Martin Blumenfeld
Author URI: http://coastalextreme.com/
Tags: custom header, fixed width, two columns, widgets
*/

/* Marcus Changes */
h1.header span {
	font-size: 12px; 
	float: right; 
	position: absolute;
	right: 3px; 
	top: 20px;
}



/* Content Layout */
#contentWrapper .box { float: left; }
#contentWrapper .box.content { width: 640px; padding: 0 12px 0 0; position: relative; }
.box.round.sidebar { margin-bottom: 15px;}

DIV.box { margin-right: 0!important; }
dl.widget { margin: 0 0 12px 0; padding: 0; }
dl.widget dt { background: transparent url(images/sprites.png) no-repeat 0 -198px; color: #fff; font-size: 14px; margin: 0; padding: 0 0 0 10px; }
dl.widget dt a:link, dl.widget dt a:active, dl.widget dt a:hover, dl.widget dt a:visited { color: #fff; text-decoration: none; }
dl.widget dt a:hover { text-decoration: underline; }

dl.widget dt span { background: transparent url(images/sprites.png) no-repeat right -198px; display: block; padding: 8px 3px; }
dl.widget dd { border: solid 1px #dedede; border-width: 0 1px 1px 1px; margin: 0; padding: 10px 12px; }
.widget.widget_maxbannerads { height: 291px; padding: 0px; overflow: hidden; }
.widget_maxbannerads span, dl.widget_maxbannerads br { display: none; }
.widget_maxbannerads div { padding: 0px!important; }
.widget_maxbannerads img { padding: 0px!important; }
.featuredVideo { margin-bottom: 10px; }

dl.widget dd ul, dl.widget dd p { margin-top: 0px; }
dl.widget dd ul { margin: 0 0 7px 17px; }
dl.widget dd li { margin-left: 2px; }

.widget_categories ul { list-style-type:none; margin:0; margin-left: 0px!important; padding:0; }
.widget_categories li { margin-left: 0; padding-left:17px; }
.widget_categories li ul { display: none; }
.widget_categories li.current-cat ul, .widget_categories li.current-cat-parent ul { display: block; }
.widget_categories li.current-cat, .widget_categories li.current-cat a, .widget_categories ul li a { font-weight: bold; }
.widget_categories li.current-cat, .widget_categories li.current-cat a { font-style: italic; }
.widget_categories li.current-cat li, .widget_categories li.current-cat li a { font-weight: bold; font-style: italic; }
.widget_categories ul li ul li a { font-weight: normal; margin-bottom: 0px; }
.widget_categories ul li { margin-bottom: 5px; }

dl.widget.popularPosts .thumb.left { margin-right: 10px; }
.wpp-excerpt { clear: right; display: block; float: right; margin-bottom: 15px; width: 202px; }
ul.post_list .wpp-excerpt { float: none; width: auto; }
dl.featuredVideo, dl.featuredVideo object, dl.featuredVideo embed { z-index: 1; }
ul.post_list, .post_list li { clear: both; list-style-type: none; list-style-image: none; margin: 0; padding: 0; }
#mainContent .post_list li { padding: 0 15px 25px 0; }
.post_list a { font-weight: bold; }

#contentWrapper.subPage dl.widget_categories li ul li, #contentWrapper.subPage dl.widget_categories li ul { display: none; }
#contentWrapper.subPage dl.widget_categories li ul.children { margin-top: 5px; }
#contentWrapper.subPage dl.widget_categories li.current-cat, #contentWrapper.subPage dl.widget_categories li.current-cat ul, #contentWrapper.subPage dl.widget_categories li.current-cat ul li, #contentWrapper.subPage dl.widget_categories li.current-cat-parent, #contentWrapper.subPage dl.widget_categories li.current-cat-parent ul, #contentWrapper.subPage dl.widget_categories li.current-cat-parent ul li { display: list-item; }

#slider {
	width:610px;
	height:285px;
	background: #333;
	margin: 0 0 12px 0;
	padding: 0;
	position:relative;
	overflow:hidden;
	border: solid 3px #464241;
}

#slider #mask-gallery { overflow:hidden; }

#slider #slider-controls {
	height: 17px;
	padding: 5px 16px;
	width: 168px;

	background: #000;
	filter:alpha(opacity=95);
	-moz-opacity:0.95;
	-khtml-opacity: 0.95;
	opacity: 0.95;

	position: absolute;
	left: 0px;
	top: 258px;
	z-index: 501;
}

#slider #gallery {
	list-style:none;
	margin:0;
	padding:0;
	z-index:0;
	/* width = total items multiply with #mask gallery width */
	width:3155px;
	overflow:hidden;
}

#slider #gallery li {
	/* float left, so that the items are arrangged horizontally */
	float: left;
	height: 200px;
	text-align: right;
	width: 631px;
}

#slider #gallery li img {
	float: right;
	margin: 0px;
	padding: 0px;
	border: 0px;
}

#slider #mask-excerpt {
	/* Set the position */
	position:absolute;
	top:0;
	left:0;
	z-index:500;
	/* width should be lesser than #slider width */
	width:200px;
	overflow:hidden;
}

#slider #excerpt {
	/* Opacity setting for different browsers */
	filter:alpha(opacity=82);
	-moz-opacity:0.82;
	-khtml-opacity: 0.82;
	opacity: 0.82;

	/* Clear the list style */
	list-style:none;
	margin:0;
	padding:0 10px;
	/* Set the position */
	z-index:10;
	position:absolute;
	top:0;
	left:0;

	/* Set the style */
	width:180px;
	background-color:#000;
	overflow:hidden;
	font-family:arial;
	font-size:11px;
	color:#fff;
}

#slider #excerpt h2 { font-size: 16px; line-height: 19px; margin: 10px 0 0 0; padding: 0px; }
#slider a:link, #slider a:hover, #slider a:visited, #slider a:active { color: #fff; text-decoration: none; }
#slider a:hover { text-decoration: underline; }
#slider #excerpt li { margin-left: 0; padding:5px; }

/* Headings */
.header.resources { background: #fff url(images/sprites.png) no-repeat -1164px -300px; display: block; padding: 7px 0 7px 46px!important;}

/* Nav */
#subNav .menu li.cat-item-16 a, #subNav .menu li.cat-item-18 a, #subNav .menu li.cat-item-19 a, #subNav .menu li.cat-item-20 a { padding: 5px 20px 7px 20px; }
#subNav li, #subNav a { background-image: none!important; }
.menu li.cat-item-15 { width: 130px; }
.menu li.cat-item-16 { width: 130px; }
.menu li.cat-item-17 { width: 135px; }
.menu li.cat-item-18 { width: 90px; }
.menu li.cat-item-19 { width: 198px; }
.menu li.cat-item-20 { width: 125px; }
.menu li.cat-item-21 { width: 125px; }

.linkbutton { display: block; position: relative; border: 0; background: transparent url(images/sprites.png) no-repeat; outline: 0; text-indent: -9999px; }
.linkbutton:focus { outline: 0; }
.linkbutton:hover { filter:alpha(opacity=90); -moz-opacity:0.90; -khtml-opacity: 0.90; opacity: 0.90; }
.sprite.bigRSS { margin: -3px 15px 0 5px; }

/* Utility Classes */
.clear { clear: both; }

/* Wordpress Styles */
.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar {
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: ".";
	    display: block;
	    height: 0;
	    clear: both;
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li {
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */





/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 0px;
	margin: 0 0 5px 12px;
	display: inline;
	}

img.alignleft {
	padding: 0px;
	margin: 0 12px 5px 0;
	display: inline;
	}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}
/* End Images */

/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */

/* Overriding Contact Form 7 message styles */
span.wpcf7-not-valid-tip, div.wpcf7-validation-errors {
border:1px solid #770000!important;
background-color: #ffd0d0!important;
color: #770000!important;
}

div.wpcf7-mail-sent-ok {
border:2px solid #458c00!important;
background-color: #dbf0c7!important;
color: #306200!important;
}

div.wpcf7-response-output {
padding:0.2em 0;
}


.navigation {
	clear: both;
	display: block;
	text-align: center;
	margin-top: 0px;
	margin-bottom: 30px;
}

.postmetadata { clear: both; color: #777; padding-top: 5px; }
.postmetadata ul, .postmetadata li { display: inline; list-style-type: none; list-style-image: none; }
.post small { font-style: italic; color: #777; }
.post h2 { margin-bottom: 6px; }
.post .entry { padding-top: 7px; padding-right: 20px; }

.thumb { font-size: 0; float: left; margin: 0 15px 15px 0!important;}
.post_list .thumb { width: 130px!important; }
.body .thumb { width: 300px!important; }
.sidebar .thumb { width: 50px!important; }

.thumb, .wp-post-image {
	overflow: hidden;
}

.block {
	overflow: hidden;
	margin: 0;
	padding: 0;
}

div.stbutton.horizontal { margin-top: 20px; }

.navigation {
	display: block;
	text-align: center;
	margin-top: 0px;
	margin-bottom: 30px;
}

.post {
	width: 620px;
	overflow: hidden;
	padding-bottom: 25px;
}

a.more-link,
a.default,
.default a,
#search_submit,
#submit,
.reply a,
.page-navigation a,
.page-navigation span.current {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	background: transparent url(images/sprites.gif) repeat-x 0 -71px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
	display: block;
	height: 26px;
	line-height: 25px;
	border: solid 1px #ddd;
	float: left;
	padding: 0 10px 0 10px;
	color: #666;
	margin: 10px 5px 5px 0;
	text-shadow: #fff 1px 1px 0;
}

a.more-link:hover,
a.default:hover,
.default a:hover,
#search_submit:hover,
#submit:hover,
.reply a:hover,
.page-navigation a:hover,
.page-navigation span.current:hover {
	background: #f4f4f4;
	color: #25688e;
	text-decoration: none;
}

.post h1 { margin: 0 0 5px 0; }
h1.pagetitle { margin: 0 0 20px 0; }

.post .details, .section .details, .comment-author {
	float: left;
	width: 90px;
	padding: 0px 20px 20px 0px;
}

.post .content, .section .content, #comments_template .content {
	float: right;
	width: 500px;
	padding: 0px 10px 20px 0px;
}


.meta {
	text-align: right;
	font-size: 11px;
	line-height: 16px;
	overflow: hidden;
	margin-bottom: -5px;
}

.meta a {
	color: #777;
}

.meta a:hover {
	text-decoration: underline;
}

.meta h6 {
	color: #d05d15;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 11px !important;
	/* text-shadow: #c5c2c1 1px 1px 0; */
}

.meta span {
	color: #777;
	display: block;
	margin-bottom: 6px;
}

.date {
	margin: 0 0 10px 6px;
	overflow: hidden;
}

.date span.day {
	font-size: 36px;
	color: #888;
	display: block;
	float: left;
	line-height: 36px;
	font-weight: bold;
	padding-right: 3px;
}

.date span.month {
	font-size: 18px;
	color: #999;
	display: block;
	float: left;
	line-height: 14px;
	font-weight: bold;
	text-transform: uppercase;
	padding-top: 4px;
}

.date span.year {
	font-size: 18px;
	color: #b7b4b2;
	display: block;
	float: left;
	line-height: 17px;
	font-weight: bold;
	letter-spacing: 0.5px;
}

#comment_wrap { padding-top: 20px; }
#comment_wrap .comment-author { color:#8D8D8D; float: left;  }
#comment_wrap img { padding: 0 0 5px 5px; }
#comment_wrap .children { border-left: 1px solid #b0b0b0; }
#respond label { text-transform: uppercase; color: #666; }
#respond p { margin-top: 15px; }
#comment_wrap .children .s { background-color: #fff; background-image: none; }
#respond label { float: none; display: block; margin: 0; padding: 0; text-align: left; width: auto; }
#respond input, #respond textarea { margin-bottom: 7px;}
