/*
Theme Name: OS Blog 2015 v1.0
Theme URI: http://blog.opensubtitles.org
Author: Open Subtitles
Author URI: http://opensubtitles.org
Description: 
Version: 1.0.1
Text Domain: osblog

*/


/* adjusting OS CSS for WP */

/* make left padding on search input smaller */
#form-search-input.no-lang {
	padding-left: 10px;
}

/* Yoast breadcrumbs */
strong.breadcrumb_last {
	font-weight: 400;
	color: #777;
}


/* featured image in article detail */
.article-featured-image {
	float: none;
	margin: 20px 0;
}
	.article-featured-image .wp-post-image {
		width: 100%;
		height: auto;
	}

/* post thumb in article lists */
.box-sub-cover .wp-post-image {
	max-width: 200px;
	height: auto;
}
@media (max-width: 768px) {
	.box-sub-cover .wp-post-image {
		width: 100%;
		height: auto;
		max-width: none;
	}
	/* category description */
	.archive-meta {
		text-align: center;
		margin: -10px 0 20px 0;
	}
	/* make sure the image inside blog post text are not overflowing */
	.article-content img {
		max-width: 100%;
	}
}




/* widgets */

.widget {
	padding: 10px 20px;
}
	.widget-title {
		font-size: 18px;
	}

/* recent posts widget, categories widget */
.widget_recent_entries ul,
.widget_categories ul,
.widget_recent_comments ul {
	margin: 0;
	padding: 0;
	font-size: 15px;
}
	.widget_recent_entries ul li,
	.widget_categories ul li,
	.widget_recent_comments ul li {
		list-style-type: none;
	}
		.widget_recent_entries ul li a,
		.widget_categories ul li a,
		.widget_recent_comments ul li {
			display: block;
			padding: 20px;
			border-bottom: 1px solid #fafafa;
			background-color: #f5f5f5;
		}	.widget_recent_entries ul li:nth-child(2n) a,
			.widget_categories ul li:nth-child(2n) a,
			.widget_recent_comments ul li:nth-child(2n) {
				background-color: #ececec;
			}





/* search form */
#search-form-text .screen-reader-text {
	display: none;
}
#search-form-text #s {
	border: 0;
	border-radius: 5px;
    line-height: 20px;
    transition: none 0s ease 0s ;
    width: 100%;
	padding-left: 10px;
	background-color: #fafafa;
	color: #555555;
	font-size: 13px;
    height: 36px;
}
	#search-form-text #s:focus {
		background-color: #fff;
	}
#search-form-text #searchsubmit {
	border: 0;
	border-radius: 0 3px 3px 0;
    bottom: 0;
    box-shadow: none;
    height: 36px;
    line-height: 20px;
    padding: 8px 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 24.2%;
    z-index: 3;
	text-transform: uppercase;
	background-color: #8bc97c;
    border-color: #7bc26a;
    color: white;
	vertical-align: middle;
}
	#search-form-text #searchsubmit:hover,
	#search-form-text #searchsubmit:focus {
		background-color: #65b751;
	}

@media screen and (-webkit-min-device-pixel-ratio:0) {
	#search-form-text #searchsubmit {
		padding: 9px 0 4px 0;
	}
}





/* default Wordpress comments */
#article-comments {
	padding-top: 0;
}
#subtitle-discussion {
	padding-top: 0;
}



#comment-list {
}
	.comment-reply {
		padding: 20px;
		background-color: #f1f1f1;
	}
		#reply-title {
			margin-top: 0;
		}
		.comment-reply .comment-form-comment label {
			display: none;
		}
		


/* hide allowed text notification */
#form-allowed-tags {
	display: none;
}




/* Disqus comments */
#disqus_thread {
	padding: 20px;
	background-color: #f1f1f1;
}



/* recent disqus comments via Disqus Recent Comments Widget plugin */
.disqus_recent_comments_widget_wrapper {
}
	.disqus_rcw_single_comment_wrapper {
		padding: 20px;
		margin: 0;
		min-height: 91px;
		border-bottom: 1px solid #fafafa;
		background-color: #f5f5f5;
	}	.disqus_rcw_single_comment_wrapper:nth-child(2n) {
		background-color: #ececec;
	}
		.disqus_rcw_avatar {
			width: 50px;
			height: 50px;
			margin-right: 20px;
		}
		.disqus_rcw_author_name  {
			top: -12px;
		}
		.disqus_rcw_thread_title {
			display: none;
		}
		.disqus_rcw_comment_actual_wrapper {
			margin: -22px 0 0 73px;
		}
	

/* Plugin: Simple Google Adsense */

/* ad inside the post content */
.adsbygoogle {
	margin: 0 20px 20px 0;
	width: 336px;
	float: left;
}