/*
 *   Theme Name: The Ring Finders
 *   Theme URI: https://theringfinders.com/blog/
 *   Description: The theme for https://theringfinders.com/blog/
 *   Author: Jason Bedard
 *   Author URI: https://jbedard.ca
 */

/* give the MCE editor a background color */
.mceIframeContainer {
	background-color: #FFF;
}

.sticky {
	background: #f7f7f7;
	padding: 0 10px 10px;
}
.sticky h2 {
	padding-top: 10px;
}

img.wp-smiley {
	border: none;
	display: inline;
}

/* BEGIN COMMENTS */
/* titles: wordpress makes one h2, other h3 - override the global css and make them the same */
.comments-title,
.comment-reply-title {
	text-align: left;
	font-size: 1.3em;
	color: #b3000b;
	margin-bottom: 0.5em;
}

.comment-list,
.comment-list .children {
	list-style: none;
	margin: 0;
	padding: 0;

	text-align: justify;
}


.comment-author {
	font-size: 16px;
	font-size: 1rem;
	margin-bottom: 0.4em;
	position: relative;
	z-index: 2;
}

.comment-author .avatar {
	/* 32 =~ author-name + date height */
	height: 32px;
	width: 32px;

	/* float left of author-name + date */
	float: left;
	margin-right: .7em;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
}

.comment-meta {
	margin-bottom: 1.5em;
	font-weight: normal;
}

.comment-metadata {
	color: #767676;
	font-size: 10px;
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.1818em;
	text-transform: uppercase;
}

.comment-metadata a {
	color: #767676;
}

.comment-metadata a.comment-edit-link {
	color: #222;
	margin-left: 1em;
}

.comment-body {
	color: #333;
	font-size: 14px;
	font-size: 0.875rem;
}

.comment-reply-link {
	font-weight: 800;
	position: relative;
}

.comment-reply-link .icon {
	color: #222;
	left: -2em;
	height: 1em;
	position: absolute;
	top: 0;
	width: 1em;
}

.children .comment-author .avatar {
	height: 30px;
	left: -45px;
	width: 30px;
}

.bypostauthor > .comment-body > .comment-meta > .comment-author .avatar {
	border: 1px solid #333;
	padding: 2px;
}


.no-comments,
.comment-awaiting-moderation {
	color: #767676;
	font-size: 14px;
	font-size: 0.875rem;
	font-style: italic;
}

.comments-pagination {
	margin: 2em 0 3em;
}

.comment-list li {
	margin: 15px 0;
	padding: 10px 0 10px 10px;

	border: 1px solid #ddd;
	font-weight: bold;
}
/* root comment */
.comment-list li.parent {
	padding-bottom: 0;
}
/* remove right/bottom margin/border on inner comments to avoid stacking */
.comment-list li li:last-child {
	margin-bottom: 0;
	border-bottom: 0;
	border-right: 0;
}
/* indent inner comments */
.comment-list li li {
	border-right: 0;
}

.comment-list p {
	margin: 10px 0;
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
}

.comment-author,
.comment-meta {
	margin: 2px 0;
}

.comment-list cite,
.comment-list cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
}
.comment-list .says {
	font-weight: normal;
}
.comment-list cite:after {
	content: " (visitor)";
	font-weight: normal;
}
.comment-list .byuser > .comment-body > .comment-author > cite:after {
	content: " (member)";
}
.comment-list .bypostauthor > .comment-body > .comment-author > cite:after {
	content: " (author)";
}
/* END COMMENTS */


/* COMMENT SUBMIT form */
#commentform > p {
	margin: 0.5em 0;
}
#commentform textarea,
#commentform label,
#commentform input {
	vertical-align: top;
}
#commentform textarea {
	width: 30rem;
	max-width: 60%;
}
#commentform label:first-child {
	display: inline-block;
	width: 6em;
}
#commentform label + input {
	width: 12em;
	padding: 2px;
}
#commentform input[type="checkbox"]:first-child {
	margin-right: 0.1em;
	height: 1.2em;
}
/* END SUBMIT form */






#sidebar ul ul li,
#sidebar ul ol li,
blockquote {
	color: #777;
}


#wp-calendar #prev a,
#wp-calendar #next a {
	font-size: 9pt;
}

#wp-calendar a {
	text-decoration: none;
}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
}
/* End Typography & Colors */



/* Begin Structure */
.wp-widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 150px;
}

.post {
	margin-bottom: 40px;
}

.wp-widecolumn .post {
	margin: 0;
}

.wp-widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.wp-widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

/* End Structure */


/* METADATA (tags, categories, edit, comment link) */
.wp-entry .shareinpost {
	margin-top: 20px;
}
.post-multi .wp-postmetadata .post-tags {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wp-postmetadata ul.post-tags,
.wp-postmetadata ul.post-categories {
	display: inline-block;
	list-style: none;
	margin: 1ex 0 0 0;
	padding: 0;
}
.wp-postmetadata ul.post-tags li,
.wp-postmetadata ul.post-categories li {
	display: inline-block;
	margin-left: 1ex;
}
.wp-postmetadata ul.post-tags li:not(:last-child):after,
.wp-postmetadata ul.post-categories li:not(:last-child):after {
	content: ", ";
}



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */
html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
}
html>body .entry li {
	margin: 7px 0 8px 10px;
}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
}

.entry ol li {
	margin: 0;
	padding: 0;
}

#sidebar {
	float: right;

	padding: 20px 0 10px 0;
	width: 190px;
	height: 100%;
}

#sidebar ul {
}
#sidebar ul li {
	margin-bottom: 15px;
}

#sidebar ul p,
#sidebar ul select {
	margin: 5px 0 8px;
}

#sidebar ul ul,
#sidebar ul ol {
	margin: 5px 0 0 10px;
}
#sidebar ul ul ul,
#sidebar ul ol {
	margin: 0 0 0 10px;
}
#sidebar ul ol li {
	list-style: decimal outside;
}
#sidebar ul ul li,
#sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
}

#sidebar h3 {
	margin: 5px 0 0;
	padding: 0;
	font-size: 1.2em;
}

/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
}

#sidebar #searchsubmit {
	padding: 1px;
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
}

#respond {
	clear: both;
}
#respond:after {
		content: ".";
	    display: block;
	    height: 0;
	    clear: both;
	    visibility: hidden;
}
/* End Form Elements */







/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
}

#wp-calendar a {
	display: block;
}

#wp-calendar caption {
	text-align: center;
	width: 100%;
}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */

.center {
	text-align: center;
}

.hidden {
	display: none;
}

.screen-reader-text {
     position: absolute;
     left: -1000em;
}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
}
/* End Various Tags & Classes*/





/* Begin Images */
.alignnone {
}

.centered,
.aligncenter {
/*	display: block; FIXES blog post img/profile box overlap*/
	margin-left: auto;
	margin-right: auto;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

img.alignnone {
	margin: 5px;
}

img.centered {
	margin: 5px;
}

img.alignright {
	margin: 5px 0 5px 7px;
}

img.alignleft {
	margin: 5px 7px 5px 0;
}

/* ensure images don't exceede parent size */
.wp-entry img {
	max-width: 100%;
	height: auto;
}
/* End Images */


/* ensure iframe (youtube) don't exceede parent size */
.wp-entry iframe {
	max-width: 100%;
}


/* Images/Captions */
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 0.6em 5px;	/*NOTE: same as <p> in main css file*/
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0 auto;
	padding: 0;
	border: 0 none;
	display: block;
}

.wp-caption .wp-caption-text {
	font-size: 80%;
	line-height: 1.4em;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */






/* HTML5 video - hack to get pages such as http://theringfinders.com/blog/Mac.Mcminn/2014/10/lost-wedding-ring-mokapu-beach-andaz-resort-maui/ rendering */
.wp-video {
	position: relative;
}
.wp-video > video {
	position: absolute;
	top: 0;
	left: 0;

	/* WP sets the width/height attributes - but the sizing seems weird without this? */
	width: auto;
	height: auto;
}
