/*
	Theme Name: TWEETOWN
	Theme URI: https://tweetown.com
	Description: Custom WordPress theme based on HTML5 Blank WordPress Theme
	Version: 1.0.002
	Author: Ted Slater
	Author URI: https://tweetown.com
	Tags: Blank, HTML5, CSS3, Aggregation, Tweets

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*, *:after, *:before
{
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/ -webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	-moz-osx-font-smoothing: grayscale;
}

/* html element 62.5% font-size for REM use */
html { font-size: 62.5%; }

body
{
	font-weight: 700;
	font-size: 15px;
	line-height: 1.4;
	color: #000;
}

form { overflow: hidden; }

/* clear */
.clear:before, .clear:after
{
	content: ' ';
	display: table;
}

.clear:after { clear: both; }
.clear { *zoom: 1; }

img
{
	max-width: 100%;
	vertical-align: bottom;
}

a { color: #000; }

/*a:hover {
	color: #555;
}*/

a:focus { outline: 0; }
a:hover, a:active { outline: 0; }

input:focus
{
	outline: 0;
	border: 1px solid #04A4CC;
}

.logo-stuff {
    width: 400px;
    margin: 30px auto;
    max-width: 100%;
    text-align: center;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper
{
	max-width: 1280px;
	width: 95%;
	margin: 0 auto;
	position: relative;
	/*overflow: hidden;*/
}

/* header */
.header { }

/* logo */
.logo { }
.logo-img { }

/* nav */
.nav { }

/* sidebar */
.sidebar { }

/* footer */
.footer { }

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection
{
	background: #04A4CC;
	color: #FFF;
	text-shadow: none;
}

::-webkit-selection
{
	background: #04A4CC;
	color: #FFF;
	text-shadow: none;
}

::-moz-selection
{
	background: #04A4CC;
	color: #FFF;
	text-shadow: none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone { margin: 5px 20px 20px 0; }

.aligncenter, div.aligncenter
{
	display: block;
	margin: 5px auto 5px auto;
}

.alignright
{
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft
{
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright
{
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone
{
	/*margin: 5px 20px 20px 0;*/
	margin: 0;
}

a img.alignleft
{
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter
{
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption
{
	background: #FFF;
	border: 1px solid #F0F0F0;
	max-width: 96%;
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignleft { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }

.wp-caption img
{
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption .wp-caption-text, .gallery-caption
{
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

@media print
{
	*
	{
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}
	
	a, a:visited { text-decoration: underline; }
	a[href]:after { content: " (" attr(href) ")"; }
	abbr[title]:after { content: " (" attr(title) ")"; }
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
	
	pre, blockquote
	{
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	
	thead { display: table-header-group; }
	tr, img { page-break-inside: avoid; }
	img { max-width: 100% !important; }
	
	@page {
		 margin:0.5cm;
		}
	
	p, h2, h3
	{
		orphans: 3;
		widows: 3;
	}
	
	h2, h3 { page-break-after: avoid; }
}
