/*
Theme Name: Talk Local Custom Theme v1.0
Theme URI: http://www.talklocal.com/
Description: A Talk Local custom WordPress theme for developers based on the 960 CSS framework.
Version: 1.0
Author: Gurpreet Singh
Author URI: http://www.talklocal.com/
Tags: fixed-width, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar
*/

/* for ease of updating into the future we use separate style sheets for colours and typography */

@import url(colours.css);
@import url(typography.css);

/* Begin Structure */ 

a:link, a:visited, a:hover, a:active {
  color:#003366;
}

body {
		width: 100%;
		margin: 0;
		padding: 0;
		position: relative;
		background-color: #003366;
		}
		
h2 {
	color: #003366;
	font-size: 22px;
}

h3 {
	color: #003366;
	font-size: 18px;
}

#page {
		position: relative;
		margin: 0;
		padding: 0;
		width: 100%;
		}

#header {
		height: 155px;
		width: 100%;
		}

#headerimg {
		margin-top: 55px;
		}
		
/* This hides the 'skip to' links and maintains accessibility */
		
#skip {
		position: absolute;
		top: -500px;
		width: 1px;
		height: 1px;
		overflow: hidden;
		}

#content {
		margin-top: 40px;
		}

#sidebar
{
		text-align: left;
		padding-top: 40px;
		padding-bottom: 25px;
		}

#footer {
		margin: 40px 0 0 0;
		padding: 60px 0;
		}	

.post {
		margin: 0 0 40px;
		}

.postmetadata {
		margin: 30px 0;
		}

.smallattachment {
		float: left;
		width: 128px;
		margin: 5px 5px 5px 0px;
		}

.attachment {
		margin: 5px 0px;
		}

.postmetadata {
		clear: both;
		}

/* End Structure */

/* Begin Images */
p img {
		padding: 0;
		max-width: 100%;
		}

img.centered {
		display: block;
		margin-left: auto;
		margin-right: auto;
		}

img.alignright {
		padding: 4px;
		margin: 0 0 2px 7px;
		display: inline;
		}

img.alignleft {
		padding: 4px;
		margin: 0 7px 2px 0;
		display: inline;
		}

.alignright {
		float: right;
		}

.alignleft {
		float: left
		}
/* End Images */

/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
		margin-left: 0px;
		padding: 0 0 0 30px;
		list-style: none;
		padding-left: 10px;
		text-indent: -10px;
		}

html>body .entry li {
		margin: 7px 0 8px 10px;
		}

.entry ul li:before, #sidebar ul ul li:before {
		content: "\00BB \0020";
		}

.entry ol {
		padding: 0 0 0 35px;
		margin: 0;
		}

.entry ol li {
		margin: 0;
		padding: 0;
		}

.postmetadata ul, .postmetadata li {
		display: inline;
		list-style-type: none;
		list-style-image: none;
		}

/* End Entry Lists */

/* Begin Form Elements */
#searchform {
		margin: 10px auto;
		padding: 5px 3px;
		text-align: left;
		}

#sidebar #searchform #s {
		width: 108px;
		padding: 2px;
		}

#sidebar #searchsubmit {
		padding: 1px;
		}

.entry form { /* This is mainly for password protected posts, makes them look better. */
		text-align:center;
		}

select {
		width: 130px;
		}

#commentform input {
		width: 170px;
		padding: 2px;
		margin: 5px 5px 1px 0;
		}

#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 .avatar { 
		float: right;
		padding: 2px;
		}

.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;
		}

/* End Calendar */

/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
		cursor: help;
		}

blockquote {
		margin: 15px 30px 0 10px;
		padding-left: 20px;
		}

blockquote cite {
		margin: 5px 0 0;
		display: block;
		}

.center {
		text-align: center;
		}

.hidden {
		display: none;
		}

hr {
		display: none;
		}

.navigationTop {
		display: block;
		text-align: center;
		margin-top: 10px;
		margin-bottom: 30px;
		}

.navigationBottom {
		display: block;
		text-align: center;
		margin-top: 10px;
		margin-bottom: 10px;
		}

/* End Various Tags & Classes*/

/* Captions */
.aligncenter,
div.aligncenter {
		display: block;
		margin-left: auto;
		margin-right: auto;
		}

.wp-caption {
		text-align: center;
		padding-top: 4px;
		margin: 10px;
		}

.wp-caption img {
		margin: 0;
		padding: 0;
		}

.wp-caption p.wp-caption-text {
		padding: 0 4px 5px;
		margin: 0;
		}
/* End captions */

/*** MEDIA ***/
@media all and (max-width: 600px) {

	#head {
		height:60px!important;
	}

	#new-widget {
		height:auto!important;
	}

	#header {
		height:auto!important;
	}

	.header-separators {
		display:none;
	}

	.container_12, #page, .grid_7, .grid_5 {
		height:auto;
		width:auto!important;
		min-width:0px!important;
	}

	.grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12, .grid_13, .grid_14, .grid_15, .grid_16 {
		display:block!important;
		width:auto!important;
		float:none!important;
	}

	#sidebar, #new-widget {
		display:none!important;
	}

	.transparent05, #footer_wrapper {
		display:none;
	}

	#header-links {
		display:none;
	}

	#header-all {
		width:auto!important;
		height:60px!important;
		background: #0084C1;
	background: -moz-linear-gradient(top, rgba(0, 122, 179, 1) 0%, rgba(0, 51, 102, 1) 100%)!important;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0, 132, 193, 1)), color-stop(100%,rgba(0, 51, 102, 1)))!important;
	background: -webkit-linear-gradient(top, rgba(0, 122, 179, 1) 0%,rgba(0, 51, 102, 1) 100%)!important;
	background: -o-linear-gradient(top, rgba(0, 122, 179, 1) 0%,rgba(0, 51, 102, 1) 100%)!important;
	background: -ms-linear-gradient(top, rgba(0, 122, 179, 1) 0%,rgba(0, 51, 102, 1) 100%)!important;
	background: linear-gradient(to bottom, rgba(0, 122, 179, 1) 0%,rgba(0, 51, 102, 1) 100%)!important;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0084c1', endColorstr='#003366',GradientType=0 )!important;
	}

	#header-wrapper {
		width: auto!important;
		height:100%;
		display:table;table-layout:fixed
	}

	#header-logo {
		float:none!important;
		margin:0 auto;
		text-align:center;
		display:table-row;
	}

	#header-logo a {
		display:block;
		vertical-align:middle;
		width:100%!important;
	}

	#header-logo a img {
		margin-top:0px!important;
	}

	#header-logo img {
		margin-top:0px!important;
		height:34px;
	}

	.container_12 {
		margin-top:0px!important;
	}

	.entry img{
		width:100%!important;
		height: auto!important;
	}

	#logo-wrapper {
		width: 80%;
		margin: 0 auto;
		position:relative;
		display: table-cell;
		vertical-align: middle;
		width: 100%;

	}

	.addthis_button_tweet {
		width:80px;
	}

	.addthis_button_google_plusone {
		width:62px;
	}


	.social-table {
		width:100%;
	}

	.social-table-cell {
		white-space: nowrap;
	}
	.social-table tr td a.SCCustom {
		float:none!important;
		padding:0px!important;
	}

	.social-table tr td a.SCCustom:not(.addthis_pill_style) {
		display: inline-block!important;
	}

	.social-table tr td {
		text-align:center;
	}

	.social-table tr td:last-of-type {
		/*
		text-align:right;
		width:20%;
		*/
	}

	.social-table tr td:first-of-type {
		/*
		text-align:left;
		width:20%;
		*/
	}
	
	/* Hide the tweet button for now */
	.addthis_button_tweet_cell {
		display:none;
	}
	
	.mobile-call-to-action {
		position:relative;
		font-size: 2em; 
		margin-top: 0px;
		text-align:center; 
		width: 100%;
		color: #fff;
		cursor: pointer;
		font-weight: bold;
		line-height: 1;
		position: relative;
		text-decoration: none;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		background: #ff5400 url(../images/new/buttonGradient.png) repeat-x;
		border: 1px solid #d86900;
		text-shadow: 0px -1px 1px #632300;
		-moz-box-shadow: inset 0 1px 0 #f8bf32;
		-webkit-box-shadow: inset 0 1px 0 #f8bf32;
		background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6600), to(#fe7107));
		background: -webkit-linear-gradient(top, #ff7107, #ff6600);
		background: -moz-linear-gradient(top, #ff7107, #ff6600);
		background: -ms-linear-gradient(top, #ff7107, #ff6600);
		background: -o-linear-gradient(top, #ff7107, #ff6600);
		margin-bottom:.9em;
	}

	.mobile-call-to-action a {
		display:block;
		padding:15px 0px;
	}
	.mobile-call-to-action a:after {
		content:"Talk to a Pro";
		display:block;
		color:white;
		text-decoration:none;
	}

	.mobile-call-to-action a:hover {
		text-decoration:none;
	}
	.read_this_guide {
		display:none;
	}

}
