/* General CSS can be used on editor and on the page */

/* HTML5 support for IE6,7,8 */
section, article, aside, footer, header, nav, hgroup { display:block; }
 
body { font-family: "Arial", sans-serif; font-size: 9pt; line-height: 1.45; color: #393939; }
ul,ol { padding: 0 0 1em 1.5em; margin: 0; }
p { padding: 0 0 1em 0; margin: 0; }
.skip-link,.assistive-text,.assistive-navigation { display: none; }
.clear,.clearfix { clear: both; }
h1,h2,h3,h4,h5,h6,h7,h8 { padding: 0.55em 0 0.35em 0; margin: 0; font-weight: normal; line-height: 1.1; }
h1:first-child,h2:first-child,h3:first-child,h4:first-child { padding-top: 0; }
h1 { font-size: 24pt; font-weight: normal; }
h2 { font-size: 20pt; }
h3 { font-size: 16pt; }
h1 a, h2 a, h3 a { color: #000; text-decoration: none; }
h1 a:hover, h2 a:hover, h3 a:hover { color: #F49800; }
div.error, p.error, span.error { color: #D32A24; }

/* Embeds */
.ownskit-embedhtmlshort { margin: 0 0 1em 0; }

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

img { border: 0; }

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
    width: auto !important; 
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 14px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 14px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.aligncenter iframe {
    display: block;
    margin: 0 auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	line-height: 18px;
	padding: 0;
	margin-bottom: 5px;
	max-width: 100% !important; /* prevent too-wide images from breaking layout */
	text-align: center;
}
.wp-caption img {
	display: block;
	margin: 0 auto 5px auto;
	max-width: 100%;
	width: auto !important;
	height: auto !important;
}
.wp-caption p.wp-caption-text {
	font-size: 12px;
	margin: 5px;
	padding: 0;
}
.wp-smiley {
	margin: 0;
}
/* WP-Gallery feature */
.gallery {
    clear: both;
    margin: 0 -10px;
}
.gallery .gallery-caption,
.gallery .gallery-content,
.gallery .gallery-icon { 
	margin: 0 10px;
	display: block;
}
.gallery .gallery-icon .preview { 
	display: block;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
    margin-bottom: 14px;
}
.gallery-columns-2 .gallery-item { width: 50%; }
.gallery-columns-3 .gallery-item { width: 33%; }
.gallery-columns-4 .gallery-item { width: 25%; }
.gallery-columns-5 .gallery-item { width: 20%; }
#ie7 .gallery-columns-2 .gallery-item { width: 48%; }
#ie7 .gallery-columns-3 .gallery-item { width: 31%; }
#ie7 .gallery-columns-4 .gallery-item { width: 23%; }
#ie7 .gallery-columns-5 .gallery-item { width: 18%; }
.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1) {
	clear: both;
}
.gallery img {
	display: block;
	margin: 0 auto;
	border: 1px solid #D3D4D4;
}
.gallery .attachment-thumbnail,
.gallery .attachment-medium {
	max-width: 100%;
	max-height: 100%;
	width: auto !important;
	height: auto !important;
}
.gallery .gallery-caption {
	font-size: 12px;
	margin: 3px 0 12px;
}
.ownskit-galleries .gallery-content {
	display: none;
}
.gallery .gallery-content {
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}