
body { background: #fff; color: #333; padding: 0; margin: 0; font: 14px Georgia, serif; overflow-x: auto; }

* { padding: 0; margin: 0; }

a { color: #0060ff; text-decoration: underline; }
a:visited { color: #222; text-decoration: underline; }
a:hover { color: #b83480; }
a img { border: none; }

span.word, a.word { text-decoration: none; color: #208f8f; }
a.word:hover, span.word:hover { cursor: help; color: #32C0C2 }

img { -ms-interpolation-mode: bicubic; }
	
blockquote { font-family: Georgia, serif; color: #666; margin: 1.5em 0em 1.5em 1.5em; padding: 0 0 0 10px; border-left: 1px solid #aaa; }
abbr, acronym { border-bottom: 1px dotted #aaa; text-transform: uppercase; cursor: help; }
code { color: #077; font-family: "lucida sans unicode", "lucida grande", "doulos sil", sans-serif; }
pre { margin: 0 0 1.5em 0; overflow: auto; font-size: 90%; clear: both; }
p.center { text-align: center !important; }
p.bottom { margin: 0 !important; }
p.unstyled { font-size: 14px; }

h1, h2, h3 { font-weight: 700; font-family: "Raleway", sans-serif; color: #000; }
h1 { font-size: 24px; }
	h1 a { color: #000; text-decoration: none; }
		h1 a:visited { color: #555; text-decoration: none; }
		h1 a:hover { color: #077; text-decoration: none; }
	
h2 { font-size: 22px }
	h2 a { color: #000; text-decoration: none; }
		h2 a:visited { color: #555; text-decoration: none; }
		h2 a:hover { color: #077; text-decoration: none; }
	.posts h2 { margin: 0 0 0.1em 0; line-height: 1.2em; }
	.pages h2, h2.page_header { margin: 0 0 0.75em 0; padding: 0 0 0.6em 0;
		background-image: linear-gradient(to right, #888 100px, white 101px, white 100%);
		background-position: left bottom; background-size: 100% 1px; background-repeat: no-repeat;
	}
	h2.archive_head { font-weight: bold; font-size: 15px; text-transform: uppercase;
		letter-spacing: normal; margin: 0 0 1.8em 0; padding: 0.4em 2px; border-top: 3px solid #000;
		background-image: linear-gradient(to right, black 34%, #fff 0%);
		background-position: center bottom; background-size: 3px 1px; background-repeat: repeat-x;
	}
	
h3 { font-size: 19px; text-transform: uppercase; }
.entry h3 { margin: 2.5em 0 0.5em 0; clear: both; }
.entry h3:first-child { margin-top: 1.5em }
h3.comments_headers { font-size: 16px; margin: 0.25em 0em; }

/*---:[ core layout elements ]:---*/

#container { max-width: 930px; min-width: 320px; margin: 15px auto 0 auto; padding: 0px 1.5%; }
#content_box { width: 100%; text-align: left; display: table; table-layout: fixed; border-collapse: collapse;
}
#content { display: table-cell;	vertical-align: top; padding-right: 63px; }
#sidebar { display: table-cell;	vertical-align: top; width: 250px; hyphens: auto; -moz-hyphens: auto; }
#footer { width: 100%; margin-top: 15px; padding: 1.2em 0 0 0; border-top: 2px solid #ccc; }

@media only screen and (max-width: 900px) {
	#container { max-width: 600px }
	#content_box { margin: 0 auto; }
	#content { padding-right: 0px; } 
	#sidebar { display: none }
}

/*---:[ header styles ]:---*/

#masthead { width: 100%; padding: 26px 0 18px 0; border-top: 1px solid #ccc; text-align: center; clear: both; }
#blog-logo { display: block; margin: 0px auto 0px auto; font-family: Raleway, sans-serif;
	font-weight: 800; font-size: 37px; text-decoration: none; color: #333 }
#blog-logo .purple { color: #820082 }
#blog-tagline { margin: 1px 0 0 0; font-weight: normal; font-size: 15px; font-style: italic; text-transform: none;
	font-family: Georgia, serif; color: #999; text-align: center; line-height: 1.2em;
}

ul#nav { list-style: none; box-sizing: border-box; overflow: hidden; /* trick - #nav contains only floated elements */
	width: 100%; padding: 0 0 6px 10px;
	background-image: linear-gradient(to right, black 34%, #fff 0%);
	background-position: left top; background-size: 3px 1px; background-repeat: repeat-x;		
	border-bottom: 3px solid #000; clear: both;
	font-size: 15px;
}
/* 0.7em */
ul#nav > li { padding: 0.85em 28px 0.3em 0; font-family: "Raleway", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; float: left; }
	ul#nav > li a, ul#nav li a:visited { color: #000; text-decoration: none; }
	ul#nav > li a:hover { color: #000; text-decoration: underline; }
	ul#nav > li.current_page_item a, ul#nav li.current_page_item a:visited, ul#nav li.current_page_item a:hover {
		color: #077;
	}
	ul#nav > li.rss a.rss { padding: 0 18px 0 0; background: url('images/icon_rss.gif') 100% 50% no-repeat; }

ul#nav > li#site-search { float: right; padding: 8px 0px 0px; }
ul#nav #site-search form { display: inline-block; vertical-align: middle }
ul#nav #site-search-box { width: 120px; height: 17px; font-family: Helvetica, Arial, sans-serif; font-size: 12px;
	border: solid 1px #888 !important; border-radius: 0px; margin: 0; padding: 2px;
}

#site-search-box-container { position: relative; }
#site-search-box-container:after { display: inline-block; position: absolute; content: ''; right: 1px; top: 2px; width: 13px; height: 15px;
    border: solid 2px white; border-left-width: 4px;
    background: #fff url('/images/search-lightbg.png') no-repeat; background-size: 13px 15px; } 
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min-resolution: 1.3dppx), only screen and (min-resolution: 120dpi) {
    #site-search-box-container:after { background-image: url('/images/search-lightbg-2x.png'); }
}			
			
#header_img { margin: 0 0 26px 0; border-bottom: 1px solid #000; clear: both; }
#header_img img { display: block; width: 850px; height: 145px; width: 100%; height: 90%; }

/*---:[ content styles ]:---*/

.post { margin: 0px 0 43px 0; }
.post-info { margin: 0em 0 1.25em 0; padding: 0.1em 0 1.0em 0;
	font-family: Raleway, sans-serif; font-size: 13px; color: #888;
	background-image: linear-gradient(to right, #888 100px, white 101px, white 100%);
	background-position: center bottom; background-size: 100% 1px; background-repeat: no-repeat;
}
	.post-info a, .post-info a:visited { color: #888; text-decoration: none; }
	.post-info a:hover { color: #888; text-decoration: underline; }

.entry { font-size: 17px; line-height: 1.5; }
	.entry p { margin: 0.75em 0 0.75em 0; }
	.entry ul, .entry ol { margin: 0 0 1.5em 2em; }
	.entry ul { list-style-type: square; }
		.entry li { margin: 0 0 0.5em 0; }
			.entry ul li ul, .entry ul li ol, .entry ol li ul, .entry ol li ol { margin: 0.5em 0 0.5em 30px; }
	.entry dl { margin: 0 0 1.5em 0; }
		.entry dt { font-weight: bold; margin: 0 0 0.5em 0; }
		.entry dd { margin: 0 0 1.5em 20px; }

/*---:[ image styles ]:---*/

		.entry img { max-width: calc(100% - 6px); }
		.entry img, .entry .gallery img { border: 3px double #bbb; }
		.entry img.left, .entry img.alignleft { padding: 3px; margin: 0.5em 15px 0.5em 0; float: left; clear: left; }		
		.entry img.right, .entry img.alignright { padding: 3px; margin: 0.5em 0 0.5em 15px; float: right; clear: right; }
		.entry img.center, .entry img.aligncenter { display: block; padding: 3px; margin: 0 auto 1.5em auto; float: none; clear: both; }
		.entry img.off { padding: 0 !important; border: none !important; }
		.entry img.stack { clear: none !important; }
    
	.entry div.aligncenter { text-align: center; margin: 0 auto; }
	.entry div.wp-caption { margin-bottom: 1.5em; max-width: 100% }
		.entry .wp-caption img { display: block; margin: 5px auto; border: none;  border: 3px double #bbb; }	
		.entry .wp-caption-text { margin: 0 5px; font-size: 14px; line-height: 1.3em; text-align: center }
	
div.alignleft { text-align: left; float: left; margin-right: 15px; }	
div.alignright { text-align: right; float: right; margin-left: 1.5em; }

@media (max-width: 500px) {
	.entry div.alignright, .entry img.alignright { float: none; margin-left: 0; display: block; }
	.entry div.alignleft, .entry img.alignleft { float: none; margin-left: 0; display: block; }
}
		
.tagged { padding: 0.4em 0 0 0; font-size: 14px;
		background-image: linear-gradient(to right, #ccc 100px, white 101px, white 100%);
		background-position: left top; background-size: 100% 1px; background-repeat: no-repeat;		
		line-height: 1.6em; color: #888; clear: both;
	}
	.tagged a, .tagged a:visited { padding: 0.25em; color: #222; text-decoration: none; }
		.tagged a:hover { color: #fff; background: #222; text-decoration: none; }
	.add_comment { display: block; padding: 0 0 0 20px; font-weight: bold; float: right; }
.navigation { width: 100%; margin-bottom: 34px; font-size: 14px; line-height: 19px; overflow: hidden }
	.previous { padding: 0 20px 0 0; float: left; }
	.next { float: right; }

	
.clear { width: 500px; height: 1px; margin: 0 0 5.0em 0; clear: both; }
.rule { background-image: linear-gradient(to right, #ccc 100px, white 101px, white 100%);
		background-position: left top; background-size: 100% 1px; background-repeat: no-repeat;		
}
.flat { margin: 0 0 2.0em 0 !important; }
.whitespace { margin: 0 0 3.5em 0 !important; }

/*---:[ sidebar styles ]:---*/

ul.sidebar_list { list-style: none; }
	ul.sidebar_list li.widget, ul.sidebar_list li.linkcat { width: 100%; margin: 0 0 2.5em 0; font-size: 14px; line-height: 1.4em; }
		li.widget h2, li.linkcat h2 { font-weight: bold; font-size: 15px; text-transform: uppercase; letter-spacing: normal;
			margin: 0 0 0.8em 0; padding: 0.4em 2px; border-top: 3px solid #000;
			background-image: linear-gradient(to right, black 34%, #fff 0%);
			background-position: center bottom; background-size: 3px 1px;	background-repeat: repeat-x;		
		}
		li.widget > p, li.widget > div { margin: 0 0 0.75em 0; padding: 0 10px; }
		li.widget ul, li.linkcat ul { list-style: square; margin: 0 0 0.5em 20px; }
		li.widget ol, li.linkcat ol { margin: 0 0 0.5em 20px; }
			li.widget li, li.linkcat li { margin: 0 0 0.7em 0; }
				li.widget li a, li.widget li a:visited, li.linkcat li a, li.linkcat li a:visited { text-decoration: none; }
					li.widget li a:hover, li.linkcat li a:hover { text-decoration: underline; }
				li.widget li .recent_date { padding: 0 0 0 8px; font-weight: bold; color: #9f9f9f; font-size: 14px; }
		li.widget ul.flickr_stream { list-style: none; margin: 0; padding: 0 10px; }
			li.widget ul.flickr_stream li { margin: 0; padding: 0 5px 5px 0; display: inline; }
				li.widget ul.flickr_stream li a img { padding: 3px; }
				li.widget ul.flickr_stream li a:hover img { background: #ff2a96; }
		li.widget div.yearlist { margin: 0px }
		li.widget .yearlist a { margin-right: 4px; display: inline-block; width: 35px; }
				
/*---:[ footer styles ]:---*/

#footer p { margin: 0 0 0.923em 0; font-size: 12px; color: #888; text-align: right; }
	#footer a, #footer a:visited { color: #888; text-decoration: none; }
		#footer a:hover { color: #888; text-decoration: underline; }

/*---:[ comment styles ]:---*/

#comments { clear: both; margin-top: 43px; }
	ul#comment_list { list-style: none; margin: 1.2em 0; border-top: 1px solid #bbb; }
		/* ul#comment_list li { overflow: hidden; } */
		ul#comment_list li.comment { padding: 2em 0; border-bottom: 1px dotted #bbb; }
			ul#comment_list li.comment ul.children { padding: 0 0 0 2.5em; }
			ul#comment_list li.comment ul.children li { list-style: none; border-top: 1px dotted #bbb; border-bottom: none; width: 100%; padding-bottom: 0; margin-top: 1.2em; }
			.comment_meta { margin: 0 0 1.2em 0; }
				.comment_avatar .avatar { padding: 0 15px 0 20px; float: right; }
				.comment_meta strong { font-size: 15px; }
				.comment_time { margin-left: 0.5em; font: 12px Raleway, sans-serif; }
					.comment_time, .comment_time a { color: #888; text-decoration: none; }
					.comment_time a:hover { text-decoration: underline; }
			.comment .entry, .comment .reply { padding: 0; font-size: 15px; overflow-wrap: break-word }
				.comment .entry p { margin: 0 0 1.0em 0; }
	#comments .navigation { margin: 2em 0; font-size: 15px; }
/*---:[ comment form styles ]:---*/

#respond { padding: 2.4em 0 0; clear: both; /* overflow: hidden; */ }

#comment_form { width: 100%; padding: 1.0em 0 0 0; }
	#comment_form div { padding: 0.6em 0; }
		#comment_form label { padding: 0 0 0 10px; font-size: 12px }
		#comment_form .text_input { box-sizing: border-box; width: 190px;
			padding: 3px; color: #444; font: normal 15px Georgia, serif;
			border-style: solid; border-width: 2px 1px 1px 2px; border-color: #999 #ddd #ddd #999;
		}
		#comment_form .text_area { width: 99%; }
			#comment_form .text_input:focus { border-top: 2px solid #666; border-left: 2px solid #666; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd; }
		#comment_form .form_submit { padding: 0.5em 1em; border: 3px double #999; border-top-color: #ccc; border-left-color: #ccc;
			font: bold 13px Georgia, serif; background-color: #eee }
		#comment_form p.subscribe-to-comments { font-size: 13px; }
			#comment_form p.subscribe-to-comments label { font-size: 11px; }
			
/*---:[ search form styles ]:---*/


/* My extra styles */

iframe.wp-embedded-content { max-width: 100% }
li.widget h2, li.linkcat h2 { font-size: 15px }
ul.archive-list span.date { margin-left: 3px; font-family: Raleway, sans-serif; font-size: 13px; color: #888; }
div.sharing { font-size: 14px; }
a.viewfromyear { margin-left: 1em; font-size: 70% }

/* Cookie message */
#cookie-message { position: relative; z-index: 2;
    font-family: "Trebuchet MS", "Tahoma", sans-serif;
    font-size: 11px; line-height: 18px; background-color: #5a5a5a; background-color: #57433E;
    padding: 8px 120px 8px 12px; background-color: #77554c; background-color: rgb(117, 75, 64) }
#cookie-message a { background-color: #303030; white-space: nowrap;
    background-color: #51352D; border-radius: 3px; text-decoration: none; padding: 4px 10px; cursor: pointer; }
#cookie-message, #cookie-message a { color: #ff7553; color: #FF7A59; color: rgb(255, 154, 129); color: #FFBDAC; }

/* Share links */
div.share-links { margin: 3em 0 1.5em 0; min-height: 20px; line-height: 1.25; zoom: 1; }
div.share-links-label { float: left; font-size: 14px; margin-right: 15px; color: #888; font-weight: bold;
} /* matches wiki ul#f-links */

div.share-links > button { display: inline-block; vertical-align: top; margin-right: 4px; border: none; }
div.share-links > button:hover { opacity: 0.8 }
div.share-links > button#share-fb {
    background: url('/images/share-buttons-sprite.png') no-repeat 0px 0px; width: 57px; height: 20px;
}
div.share-links > button#share-twitter {
    background: url('/images/share-buttons-sprite.png') no-repeat -58px 0px; width: 58px; height: 20px;
}

/* Tooltip balloon */
div.tooltip-balloon {
    box-sizing: border-box; width: 275px; z-index: 100;
    padding: 1em; border-radius: 3px; box-shadow: 2px 2px 2px silver; box-shadow: 2px 2px 2px rgba(99,99,99,0.4);    
    font-family: Georgia, serif; font-size: 13px; line-height: 1.3em;    
    color: #000; text-shadow: 0px 1px 0px rgba(255,255,255,0.3); background-color: #79c0c0; /* change from common.css */
    hyphens: auto; -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto;
}
div.tooltip-balloon > div.balloon-tail {
    position: absolute; display: block; content: ''; width: 17px; height: 17px; border-radius: 3px;
    border-style: none; background-color: #79c0c0; /*change*/
    transform: rotate(45deg); -webkit-transform: rotate(45deg);
}
div.tooltip-balloon > div.balloon-tail.above {
    top: -17px; left: 2px; transform-origin: left bottom; -webkit-transform-origin: left bottom;
}
div.tooltip-balloon > div.balloon-tail.below {
    top: auto; bottom: 0px;
    box-shadow: 4px 1px 2px -2px rgba(99, 99, 99, 0.4);
    transform-origin: left bottom; -webkit-transform-origin: left bottom;
}
div.tooltip-balloon > div.balloon-tail.right-side {
    top: 2px; right: -17px;
    box-shadow: 4px -1px 2px -2px rgba(99, 99, 99, 0.4); /*trial and error*/
    transform-origin: left top; -webkit-transform-origin: left top;
}
div.tooltip-balloon > div.balloon-text { margin-bottom: 0.5em }
div.tooltip-balloon > div.balloon-actions {
    font-size: 12px; line-height: 1.4em; margin-left: 18px; }
div.tooltip-balloon > div.balloon-actions > span.lead {
    display: inline-block; vertical-align: middle; margin-left: -18px; 
    background-image: url('/images/search-darkbg.png'); background-repeat: no-repeat; background-size: 13px 15px; width: 18px; height: 15px;
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min-resolution: 1.3dppx), only screen and (min-resolution: 120dpi) {
    div.tooltip-balloon > div.balloon-actions > span.lead { background-image: url('/images/search-darkbg-2x.png') }
}

div.tooltip-balloon > div.balloon-message {
    margin-top: 0.5em; margin-bottom: -0.25em; text-align: center; font-size: 12px; font-style: italic;
    font-family: "Trebuchet MS", sans-serif; color: #146B44
}
div.tooltip-balloon a { display: inline-block; margin-right: 1px; padding: 1px 3px;
    font-family: "Trebuchet MS", "Tahoma", sans-serif; white-space: nowrap;
    hyphens: manual; -webkit-hyphens: manual; -moz-hyphens: manual; -ms-hyphens: manual;
    color: #E4FFFF; /* change */ text-shadow: 0px 1px 0px rgba(0,0,0,0.1);
}
div.tooltip-balloon code { font-size: inherit; color: inherit; }
