/*
 * Grid layout — based on Jetpack Top Posts widget
 * https://github.com/Automattic/jetpack/blob/trunk/projects/plugins/jetpack/modules/widgets/top-posts/style.css
 */

.widgets-grid-layout {
	width: 100%;
}

.widgets-grid-layout::before,
.widgets-grid-layout::after {
	content: " ";
	display: table;
}

.widgets-grid-layout::after {
	clear: both;
}

.widget-grid-view-image {
	float: left;
	max-width: 50%;
}

.widget-grid-view-image a {
	display: block;
	margin: 0 2px 4px 0;
}

.widget-grid-view-image:nth-child(even) {
	float: right;
}

.widget-grid-view-image:nth-child(even) a {
	margin: 0 0 4px 2px;
}

.widgets-grid-layout .widget-grid-view-image img {
	max-width: 100%;
	height: auto;
}

.jetpack_top_posts_widget .widgettitle {
	margin: 0 0 12px;
}

.trocador-popular-fallback {
	display: block;
	font-size: 12px;
	line-height: 1.3;
	padding: 8px;
	background: #f0f0f0;
	min-height: 80px;
}
