body { margin: 0; padding: 0.3em; color: #333333; }

a:link, a:active, a:visited { color: #114499; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; width: auto; height: auto; }

div#mainwrap { max-width: 1060px; margin-left: auto; margin-right: auto; }
div#logowrap img#narrowimage { display: none; }
div#contentwrap img { max-width: 550px; }
div#sidebarwrap { float: right; margin-left: 1.5em; overflow: hidden; }
div.ad_mobile { display: none; }

div#contentwrap div.alignright { float: right; margin-left: 0.7em; }
div#contentwrap div.tni_photo_with_caption { background-color: #111111; padding: 3px; text-align: center; }
div#contentwrap div.tni_photo_with_caption p.wp-caption-text { margin: 0; color: #FAFAFA; font-size: 0.8em; text-align: left; padding: 0.3em 0.3em 0 0.3em; }

div#contentwrap div.datelistwrap { margin-top: 1.5em; }
div#contentwrap div.datelistwrap div.datestart { font-weight: bold; font-size: 1.4em; padding-bottom: 0.1em; border-bottom: 1px solid #CCCCCC; }
div#contentwrap div.datelistwrap div.permalink { margin: 0.2em 0.3em 0; }

div#contentwrap div.pagenav { margin-top: 2.0em; border-top: 1px dashed #CCCCCC; padding-top: 0.5em; }

@media (max-width: 900px) {
	div#logowrap img { max-width: 400px; }

	div#contentwrap img { max-width: 400px; }
	div#contentwrap div.videowrapper object { width: 400px !important; height: 320px !important; }
	div#contentwrap div.videowrapper object embed { width: 400px !important; height: 320px !important; }

	div#contentwrap div.datelistwrap div.permalink { margin-top: 0.5em; }
}

@media (max-width: 755px) {
	div#logowrap img { max-width: 100%; }

	div#contentwrap img { max-width: 100%; }
	div#contentwrap div.videowrapper object { width: 100% !important; height: 320px !important; }
	div#contentwrap div.videowrapper object embed { width: 100% !important; height: 320px !important; }

	div.ad_leaderboard { display: none; }
	div.ad_mobile { display: block; }
	div#sidebarwrap { display: none; }
}

@media (max-width: 530px) {
	div#contentwrap div.alignright { float: none; margin-left: 0; }

	div#contentwrap div.datelistwrap div.permalink { margin-top: 0.7em; }
}

@media (max-width: 350px) {
	div#logowrap img#narrowimage { display: block; }
	div#logowrap img#wideimage { display: none; }

	div#contentwrap div.videowrapper object { height: 200px !important; }
	div#contentwrap div.videowrapper object embed { height: 200px !important; }
}

div#contentwrap { overflow: hidden; }
div.adwrap { margin: 0.5em 0; }

div.postheaderwrap h1 { margin-bottom: 0.2em; }
div.postheaderwrap div.sharing_button_wrap { float: left; margin-right: 0.5em; }
div.postheaderwrap p.byline { margin-top: 0; }

div.widgetwrap { margin-top: 2.5em; }
div.widgetwrap div.widget { margin-top: 1.0em; border: 1px solid #CCCCCC; background-color: #FAFAFA; padding: 0.5em 0.7em; }
div.widgetwrap div.widget p { margin: 1.0em 0 0 0; }
div.widgetwrap div.widget p.widgettitle { margin-top: 0; font-weight: bold; font-size: 1.2em; }

div.tni_poll { margin-top: 1.0em; margin-bottom: 1.0em; border: 1px solid #CCCCCC; background-color: #FAFAFA; padding: 0.5em 0.7em; }
div.tni_poll div.tni_poll_title { font-size: 1.2em; font-weight: bold; }
div.tni_poll div.tni_poll_result { margin-top: 0.7em; }
div.tni_poll div.wp-caption-text { margin: 0; }

div.tni_slideshow a { color: #F7DBAF; }

div#footerwrap { margin-top: 1.0em; border-top: 1px dashed #CCCCCC; padding-top: 0.5em; }
