/* =Tiled Gallery Default Styles
-------------------------------------------------------------- */

.tiled-gallery {
	clear: both;
	margin: 0 0 20px;
	overflow: hidden;
}
.tiled-gallery img {
	margin: 2px !important; /* Ensure that this value isn't overridden by themes that give content images blanket margins */
}
.tiled-gallery .gallery-group {
	float: left;
	position: relative;
}
.tiled-gallery .tiled-gallery-item {
	float: left;
	margin: 0;
	position: relative;
	width: inherit; /* prevents ie8 bug with inline width styles */
}
.tiled-gallery .gallery-row {
	 overflow: hidden;
}
.tiled-gallery .tiled-gallery-item a { /* Needs to reset some properties for theme compatibility */
	background: transparent;
	border: none;
	color: inherit;
	margin: 0;
	padding: 0;
	text-decoration: none;
	width: auto;
}
.tiled-gallery .tiled-gallery-item img,
.tiled-gallery .tiled-gallery-item img:hover { /* Needs to reset some properties for theme compatibility */
	background: none;
	border: none;
	box-shadow: none;
	max-width: 100%;
	padding: 0;
	vertical-align: middle;
}
.tiled-gallery-caption { /* Captions */
	background: #eee;
	background: rgba( 255,255,255,0.8 );
	color: #333;
	font-size: 13px;
	font-weight: 400;
	overflow: hidden;
	padding: 10px 0;
	position: absolute;
		bottom: 0;
	text-indent: 10px;
	text-overflow: ellipsis;
	width: 100%;
	white-space: nowrap;
}
.tiled-gallery .tiled-gallery-item-small .tiled-gallery-caption { /* Smaller captions */
	font-size: 11px;
}

/* Hide galleries in widgets until they've been resized to fit.
   Gallery widgets are almost guaranteed to need resizing, and
   the jump is a little more obvious than galleries in content. */
.widget-gallery .tiled-gallery-unresized {
	visibility: hidden;
	height: 0px;
	overflow: hidden;
}

/* =Greyscale
-------------------------------------------------------------- */

.tiled-gallery .tiled-gallery-item img.grayscale {
	position: absolute;
		left: 0;
		top: 0;
}
.tiled-gallery .tiled-gallery-item img.grayscale:hover {
	opacity: 0;
}


/* =Circles Layout
-------------------------------------------------------------- */

.tiled-gallery.type-circle .tiled-gallery-item img {
	border-radius: 50% !important; /* Ensure that circles are displayed in themes that add border-radius to all images as a default */
}
.tiled-gallery.type-circle .tiled-gallery-caption {
	display: none;
	opacity: 0;
}

#sidebar ul.follow-recommendations-wrapper {
	min-height: 190px;
	padding-bottom: 8px;
}
#sidebar ul.follow-recommendations-wrapper li.follow-recommendations-item {
	min-height: 48px;
	margin: 16px 0 0 0;
	padding: 0px 0px 16px 31px;
	box-sizing: border-box;
	border-bottom: 1px solid #DAE6ED;
}
#sidebar ul.follow-recommendations-wrapper li.follow-recommendations-item:empty {
	min-height: 0px;
}
#sidebar ul.follow-recommendations-wrapper li img.gravatar {
	height: 24px;
	width: 24px;
	position: absolute;
	top: 0;
	left: 0;
}
#sidebar ul.follow-recommendations-wrapper li.follow-recommendations-item a {
	display: inline;
	padding: 0;
}
#sidebar ul.follow-recommendations-wrapper li.follow-recommendations-item a:hover {
	background: transparent;
}
#sidebar ul.follow-recommendations-wrapper li.follow-recommendations-item a.rec-title {
	line-height: 130%;
	word-break: break-word;
}
/* Fixing a bug with IE and display: table-cell; */
.ie #sidebar ul.follow-recommendations-wrapper li.follow-recommendations-item a.rec-title {
	display: block;
}
#sidebar ul.follow-recommendations-wrapper li.follow-recommendations-item b {
	font-size: 14px;
	font-weight: bold;
	display: block;
	margin: 0 24px 4px 0;
}
#sidebar ul.follow-recommendations-wrapper li.follow-recommendations-item small {
	display: block;
	font-size: 11px;
	line-height: 130%;
	color: #999;
	margin-bottom: 6px;
}

#sidebar ul.follow-recommendations-wrapper li a.btn-follow,
#sidebar ul.follow-recommendations-wrapper li .blog-following {
	color: #2ba1cb;
}
#sidebar ul.follow-recommendations-wrapper li a.btn-follow:hover {
	color: #78c8e6;
}
#sidebar ul.follow-recommendations-wrapper li a.btn-follow:before {
	display: inline-block;
	font: normal 16px/1 'Noticons';
	-webkit-font-smoothing: antialiased;
	content: '\f801';
	position: relative;
	top: 3px;
	margin-right: 2px;
}
#sidebar ul.follow-recommendations-wrapper li .blog-following {
	color: #4cb420;
}
#sidebar ul.follow-recommendations-wrapper li .blog-following:before {
	display: inline-block;
	font: normal 16px/1 'Noticons';
	-webkit-font-smoothing: antialiased;
	content: '\f803';
	position: relative;
	top: 3px;
}

#sidebar ul.follow-recommendations-wrapper li .btn-close {
	position: absolute;
	top: -1px;
	right: 0px;
	color: #87a6bc;
	padding: 4px;
	font-size: 12px;
	cursor: pointer;
}
#sidebar ul.follow-recommendations-wrapper li .btn-close:hover {
	color: #d94f4f;
}
/*
	Global styles for WordPress.com
*/
img.latex {
	border: none;
	vertical-align: middle;
}
.video-player {
	border: 0;
	margin: auto;
	padding: 5px;
	text-align: center;
	max-width: 100%;
}
.hidden {
	display: none;
}
.screen-reader-text {
	position: absolute;
	left: -1000em;
}
.comment object,
.comment embed,
.embed-vimeo iframe,
.embed-youtube iframe {
	max-width: 100%; /* avoid videos being too wide */
}


/**
 * Layout
 */

.simple-homepage {
	display: none;
}
