/**
 *
 *  Global Reset
 *
 */

html, body, div, span, applet, object, iframe, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre, 
a, abbr, acronym, address, big, cite, code, 
del, dfn, em, img, ins, kbd, q, s, samp, 
small, strike, strong, sub, sup, tt, var, 
b, u, i, center, dl, dt, dd, ol, ul, li, 
fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td, 
article, aside, canvas, details, embed, figure, 
figcaption, footer, header, hgroup, menu, nav, 
output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
}
:focus { /* remember to define focus styles! */
	outline: none;
}
body {
	background: #fff;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote,
q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
h1 { clear: both; }
/*h2,
h3,
h4,
h5,
h6 {
	clear: both;
}*/
html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
}

/* The below restores some sensible defaults */
strong, b { font-weight:bold }
cite, em, i { font-style: italic; }
u { text-decoration: underline; }

section, header, nav, footer, article, aside, div, ul, li { position:relative } 

img {
	border: 0;
	-ms-interpolation-mode: bicubic; /* IE7 */
}

::-moz-focus-inner { border:0; }

/* use border box model - section div instead of div because of jquery bug on toggle fx */
section, header, footer, article, aside, nav, div, #wrapper div, span, ul, ol, textarea, label, input, select, table, thead, tr, th, td, li, a {
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}

/* undo for wordpress audio auto embed */
#wrapper .mejs-container div {
	box-sizing:content-box;
	-moz-box-sizing:content-box;
	-webkit-box-sizing:content-box;
}
.mejs-container div {
	position: static;
}


/********** float clear class **********/
.clear { 
	clear: both !important; 
}

/********** images **********/

.content img,
.comment-content img,
.widget img {
	max-width: 100%;
	height: auto;
}

/* Make sure videos and embeds fit their containers */
embed,
iframe,
object,
video {
	max-width: 100%;
}
.content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}

/* to fix wp-caption issue, img by default is padded 5px on either side, then align classes conpensates for that. */
img {
	display: inline;
	margin: 0;
	padding: 0;
	max-width: 100%;
	height: auto;
}
.alignnone {
	display: block;
	margin-bottom: 30px;
	margin_bottom: 3reml
}
.alignleft {
	display: block;
	float: left;
	margin: 3px 20px 15px 0;
	margin: 0.3rem 2rem 1.5rem 0;
}
.alignright {
	display: block;
	float: right;
	margin: 3px 0 15px 20px;
	margin: 0.3rem 0 1.5rem 2rem;
}
.aligncenter {
	display: block;
	margin: 3px auto 30px;
	margin: 0.3rem auto 3rem;
}

.content img.alignleft,
.content img.alignright {
	max-width: 45%;
}


.wp-caption {
	padding: 0 5px;
	text-align: center;
	background-color: transparent;
	border: none;
	border-radius: 0;
	max-width: 100%;
}
.wp-caption img {
	display: block;
	margin: 0;
}
.wp-caption.alignleft {
	margin-left: -5px;
}
.wp-caption.alignright {
	margin-right: -5px;
}
.wp-caption.alignnone {
	display: inline-block;
}



.gallery-caption,
.entry-caption,
.wp-caption-text,
.wp-caption-dd {
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.2;
	color: #808080; 
	padding: 8px 4px 0;
	padding: 0.8rem 0.4rem 0; 
	margin: 0;
}
.entry-caption {
	text-align: center;
}
.entry-caption p {
	margin: 0;
}

/* gallery style */
.gallery {
	margin-bottom: 30px;
	margin-bottom: 3rem;
}
.content dl.gallery-item {
	margin: 0;
}
.gallery-item a,
.gallery-caption {
	width: 90%;
}
.gallery-icon {
	line-height: 0;
}
.gallery-item a {
	display: block;
	margin: 0 auto;
}
.gallery-caption a {
	display: inline;
}
.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}
.gallery .gallery-icon img {
	height: auto;
	max-width: 90%;
	padding: 5px;
	margin: 0;
}

/* smiley */
.wp-smiley {
	margin: 0;
	border: 0;
	vertical-align: middle;
	display: inline !important;
	box-shadow: none !important;
}


/** 
 *
 * BASIC TYPOGRAPHY AND IMAGE DEFAULTS: This is shared with Editor Style Sheet.
 * this works since visual editor body has .content class.
 * Use rem unit. 1rem=10px.
 *
 */

/* Use rem unit. 1rem = 10px. */
html { font-size: 62.5%; } 

@media (max-width: 1023px) {
	/* 1rem = 9px */
	html { font-size: 56.25%; } 
}
@media (max-width: 759px) {
	/* 1rem = 8px */
	html { font-size: 50%; } 
}

body {
	font-family: 'Merriweather', Georgia, serif;
	font-size: 17px;
	font-size: 1.7rem;
	font-weight: normal;
	line-height: 1.5;
	color: #3d3d3d;
	text-rendering: optimizeLegibility;
}
/* normal link has no style by default */
a {
	text-decoration: none;
	color: #3d3d3d;
	-webkit-transition: color .1s ease-in-out;
	-moz-transition: color .1s ease-in-out;
	-o-transition: color .1s ease-in-out;
	transition: color .1s ease-in-out;
}
/* set the link style for the page/post content */
.content a {
	color: #40a4d5;
	text-decoration: underline;
}
/* force hover colors throughout the site */
a:hover {
	color: #ea8236 !important;
}
a:focus, a:active {
	color: #8bbd44 !important;
}

/* defaults */

p, address, pre, code,
h1, h2, h3, h4, h5, h6 {
	margin-bottom: 25px;
	margin-bottom: 2.5rem;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Noto Serif', 'Merriweather', Georgia, serif;
	font-weight: bold;
}
h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
	color: #0758a5;
}
* + h1, * + h2, * + h3, * + h4, * + h5, * + h6  {
	margin-top: 40px;
	margin-top: 4rem;
}

/* headings */

h1 {
	font-size: 36px;
	font-size: 3.6rem;
	line-height: 1.1;
}

h2 {
	font-size: 30px;
	font-size: 3rem;
	line-height: 1.18;
}

h3 {
	font-size: 26px;
	font-size: 2.6rem;
	line-height: 1.22;
}

h4 {
	font-size: 22px;
	font-size: 2.2rem;
	line-height: 1.25;
}

h5 {
	font-size: 20px;
	font-size: 2rem;
	line-height: 1.25;
}
h6 {
	font-size: 18px;
	font-size: 1.8rem;
	line-height: 1.4;
}


/* list defaults */

ul, ol {
	list-style: none;
	margin: 0;
	padding: 0;
}
li {
	margin: 0;
	padding: 0;
}
dl	{
    margin: 0 0 20px 20px;
    margin: 0 0 2rem 2rem;
}
dt {
    font-weight: bold;
}
dd {
	margin: 0 0 10px 0;
	margin: 0 0 1rem 0;
}


.content ul,
.wp-editor ul {
	margin: 0 0 35px 25px;
	margin: 0 0 3.5rem 2.5rem;
	list-style: disc;
}
.content ol,
.wp-editor ol {
	margin: 0 0 35px 25px;
	margin: 0 0 3.5rem 2.5rem;
	list-style-type: decimal;
}
.content li,
.wp-editor li {
	margin: 0 0 10px 0;
	margin: 0 0 1rem 0;
}
li h1, li h2, li h3, li h4, li h5, li h6 {
	margin: 20px 0 10px 0;
	margin: 1rem 0 1rem 0;
}
.content ol ol,
.wp-editor ol ol {
	list-style: upper-alpha;
}
.content ol ol ol,
.wp-editor ol ol ol {
	list-style: lower-roman;
}
.content ol ol ol ol,
.wp-editor ol ol ol ol {
	list-style: lower-alpha;
}
.content ul ul, 
.content ol ol, 
.content ul ol, 
.content ol ul,
.wp-editor ul ul,
.wp-editor ol ol,
.wp-editor ul ol,
.wp-editor ol ul {
	margin: 10px 0 0 25px;
	margin: 1rem 0 0 2.5rem;
}

/* blockquote */
blockquote {
	display: block;
	position: relative;
	margin: 30px auto;
	margin: 3rem auto;
	padding: 50px;
	padding: 5rem;
	background: #e3eff4;
	border-radius: 8px;
	font-size: 24px;
	font-size: 2.4rem;
	line-height: 1.3;
	color: #3d3d3d;
}
blockquote p {
	margin: 0;
}
blockquote:before,
blockquote:after {
	display: block;
	position: absolute;
	font-family: 'Noto Serif', 'Merriweather', Georgia, serif;
	font-weight: bold;
	font-size: 76px;
	font-size: 7.6rem;
}
blockquote:before {
	content: "\201c";
	top: -5px;
	top: -0.5rem;
	left: 10px;
	left: 1rem;
}
blockquote:after {
	content: "\201d";
	bottom: -30px;
	bottom: -3rem;
	right: 10px;
	right: 1rem;
}
blockquote em, blockquote i {
	font-style: normal;
}
blockquote footer,
blockquote cite {
	display: block;
	font-size: 60%;
	font-style: normal;
	font-weight: bold;
	text-align: right;
	margin-top: 15px;
	margin-top: 1.5rem;
}
@media ( min-width:760px ) {
	blockquote {
		float: left;
		width: 40%;
		margin: 0 20px 20px 0;
	}
}


/* table */
table {
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	font-family: 'Open Sans', Verdana, sans-serif;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.8;
	margin: 0 0 22px 0;
	margin: 0 0 2.2rem 0;
	text-align:left;
}
caption {
	font-weight: bold;
	text-align: left;
	margin-bottom: 8px;
	margin-bottom: 0.8rem;
}
th, td {
	padding: 6px 10px;
	padding: .6rem 1rem;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
th { 
	font-weight: bold;
	text-transform: uppercase;
}

/* other typography defaults */
address {
	font-style: normal;
}
abbr, acronym {
	border-bottom: solid 1px #cccccc;
	cursor: help;
}
sup,
sub {
	font-size: 75%;
	line-height: 0;
	vertical-align: baseline;
	position: relative;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
kbd, pre, code {
	display: block;
	font-family: Monaco, monospace;
	font-size: 85%;
	line-height: 1.27;
}
pre {
	margin-left: 20px;
	margin-left: 2rem;
	white-space: pre-wrap;       /* css-3 */
 	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 	white-space: -pre-wrap;      /* Opera 4-6 */
 	white-space: -o-pre-wrap;    /* Opera 7 */
 	word-wrap: break-word;       /* Internet Explorer 5.5+ */
}
small {
	font-size: smaller;
}
big {
	font-size: 120%;
}
ins {
	text-decoration:none;
	background: #eeeeee;
	border: none;
	color: #333;
}
del {
	text-decoration: line-through;
	color: #666666;
}
q {
	font-style: italic;
}
hr {
    background-color:#ccc;
    border:0;
    color:#ccc;
    height:1px;
    margin-top: 0;
    margin-bottom: 25px;
    margin-bottom: 2.5rem;
}


/* Assistive text -hidden */
.assistive-text,
.screen-reader-text {
	position: absolute !important;
	left: -10000px;
	top: 0;
}

/* basic text alignment classes */
.text-center {
	text-align: center;
}
.text-left {
	text-align: left;
}
.text-right {
	text-align: right;
}

/* text transform classes */
.uppercase {
	text-transform: uppercase;
}
.lowercase {
	text-transform: lowercase;
}
