/*
Theme Name: Chip Life
Description: Used to style the TinyMCE editor.
*/

/*  =Global
------------------------ */

html .mceContentBody {
	max-width: 595px;
}

* {
	color: inherit;
	font: 14px Arial, Helvetica, sans-serif;
	font-style: inherit;
	font-weight: inherit;
	line-height: 1.625;
}

body { 
	font: 14px Arial, Helvetica, sans-serif;
	line-height: 1.5;
	color: #575757;
}

/*  =Headings
------------------------ */

h1, h2, h3, h4, h5, h6 {
	color: #072C53;
	font-family: Helvetica, Arial;
	font-weight: bold;
	text-shadow: 0 1px 0 #fff;
	clear: both;
}

h1 { 
	font-size: 28px;
	line-height: 1.15;
	margin-top: 0.75em;
	margin-bottom: 0.75em	
}

h2 { 
	font-size: 20px;
	line-height: 1.45;
	margin-top: 1.05em;
	margin-bottom: 1.05em	
}

h3 { 
	font-size: 16px;
	line-height: 1.712;
	margin-top: 1.312em;
	margin-bottom: 1.312em	
}

h4 { 
	font-size: 14px;
	line-height: 1.9;
	margin-top: 1.5em;
	margin-bottom: 1.5em	
}

h5 { 
	font-size: 10px;
	line-height: 2.5;
	margin-top: 2.1em;
	margin-bottom: 2.1em	
}

h6 { 
	font-size: 8px;
	line-height: 3.02;
	margin-top: 2.625em;
	margin-bottom: 2.625em	
}

/*  =Text Elements
------------------------ */

p { 
	line-height: 1.5;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.625em 2.5em;
}

ul {
	list-style: square;
}

ol {
	list-style-type: decimal;
}

ol ol {
	list-style: upper-alpha;
}

ol ol ol {
	list-style: lower-roman;
}

ol ol ol ol {
	list-style: lower-alpha;
}

ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
}

dl {
	margin: 0 1.625em;
}

dt {
	font-weight: bold;
}

dd {
	margin-bottom: 1.625em;
}

strong {
	font-weight: bold;
}

cite, em, i {
	font-style: italic;
}

.mceContentBody blockquote {
    font-family: Georgia, "Bitstream Charter", serif;
	font-style: italic;
	font-weight: normal;
	font-size: 16px;
	overflow: hidden;
    color: #989898;
    background: url(images/quote.png) no-repeat top left;
    margin: 0 15px 15px 15px;
	padding: 0 20px 0 40px;
}

.mceContentBody blockquote em,
.mceContentBody blockquote i,
.mceContentBody blockquote cite {
	font-style: normal;
}

.mceContentBody blockquote cite {
	color: #575757;
	font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.mceContentBody blockquote cite a {
	display: block;
	margin: 10px 0 0 0;
}

pre {
	background: #F4F4F4;
	font: 13px "Courier 10 Pitch", Courier, monospace;
	line-height: 1.5;
	margin-bottom: 1.625em;
	overflow: auto;
	padding: 0.75em 1.625em;
}

code, kbd {
	font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr, acronym, dfn {
	border-bottom: 1px dotted #666;
	cursor: help;
}

address {
	display: block;
	margin: 0 0 1.625em;
}

ins {
	background: #F4F4F4;
	text-decoration: none;
}

sup,
sub {
	font-size: 10px;
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

/*  =Hyperlinks
------------------------ */

a,
a:visited {
	color: #072C53;
	text-decoration: none;
}

a:hover {
	color: #DB4A38;
}

a img {
	border: none;
}

a:focus, a:hover, a:active {
	outline: none;
}

/*  =Alignment
------------------------ */

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.625em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.625em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*  =Table
------------------------ */

table { 
	width: 95%;
	margin: 5px auto;
	border-collapse: collapse;
}

caption {
	font-weight: bold;
	margin: 0 0 5px 0;
}

thead, th {
	color: #FFF;
	background-color: #2F4E6E;
}

tbody, td {
	background-color: #F4F4F4;
}

td, th { 
	padding: .3em;
	border: 1px #ccc solid; !important;
}

/*  =Images
------------------------ */

.entry-content img,
.comment-content img,
.ping-content img {
	max-width: 97.5%;
}

img[class*="align"],
img[class*="wp-image-"] {
	height: auto;
}

img.size-full {
	max-width: 97.5%;
	width: auto;
}

.entry-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

img.alignleft,
img.alignright,
img.aligncenter, {
	margin-top: 10px;
	margin-bottom: 10px;
}

img.alignnone {
	padding: 0;
	margin: 0 0 10px 0;
	display: inline;
}

img.centered  {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
	padding: 0;
}

p img,
.wp-caption {
	margin-top: 0.4em;
}

.wp-caption {
	background: #F4F4F4;
	margin-bottom: 1.625em;
	max-width: 96%;
	padding: 9px;
}

.wp-caption img {
	display: block;
	margin: 0 auto;
	max-width: 98%;
}

.wp-caption .wp-caption-text,
.gallery-caption {
	color: #666;
	font-family: Georgia, serif;
	font-size: 12px;
}

.wp-caption .wp-caption-text {
	margin-bottom: 0.6em;
	padding: 10px 0 5px 40px;
	position: relative;
}

.wp-caption .wp-caption-text:before {
	color: #666;
	content: '\2014';
	font-size: 14px;
	font-style: normal;
	font-weight: bold;
	margin-right: 5px;
	position: absolute;
	left: 10px;
	top: 7px;
}

/*  =Image Borders
------------------------ */

img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {
	border: 1px solid #ddd;
	padding: 6px;
}

.wp-caption img {
	border-color: #eee;
}

a:focus img[class*="align"],
a:hover img[class*="align"],
a:active img[class*="align"],
a:focus img[class*="wp-image-"],
a:hover img[class*="wp-image-"],
a:active img[class*="wp-image-"],
#content .gallery .gallery-icon a:focus img,
#content .gallery .gallery-icon a:hover img,
#content .gallery .gallery-icon a:active img {
	background: #eee;
	border-color: #bbb;
}

.wp-caption a:focus img,
.wp-caption a:active img,
.wp-caption a:hover img {
	background: #fff;
	border-color: #ddd;
}