/* =Widgets
----------------------------------------------- */

/* About.me */
.aboutme_widget #am_thumbnail a {
	display: block;
	line-height: 1;
	text-align: center;
}
.aboutme_widget #am_thumbnail img {
	display: block;
	margin: 0 auto;
	border: none;
	-webkit-border-radius: 16px;
	-moz-border-radius:    16px;
	border-radius:         16px;
}
.aboutme_widget #am_thumbnail a,
.aboutme_widget #am_name,
.aboutme_widget #am_headline {
	margin: 0 0 20px;
}
.aboutme_widget #am_name a {
	font-size: inherit !important;
}
.aboutme_widget #am_headline {
	font-style: italic;
}

/* Akismet */
.widget_akismet_widget a,
.widget_akismet_widget a:visited,
.widget_akismet_widget a:hover,
.widget_akismet_widget a:focus,
.widget_akismet_widget a:active {
	color: #fff;
}

/* Authors */
.widget_authors img {
	vertical-align: middle;
}

/* Blogs I follow */
.wpcom-follow-bubble {
	margin-top: -25px;
}

/* Blog Stats */
.widget_blog-stats li {
	display: inline;
	padding: 5px 20px;
	list-style: none;
	background: #54616f;
	font-weight: bold;
	text-transform: uppercase;
}

/* Category cloud */
.widget_tag_cloud a {
	margin: 0 2px 5px 0 !important;
	padding: 7px 10px !important;
}
.rtl .widget_tag_cloud a {
	margin: 0 0 5px 2px !important;
}

/* Contact info */
#contact-map {
	padding: 10px;
	border: 1px dashed #fff;
	border-color: rgba(255, 255, 255, 0.25);
}
.widget_contact_info div {
	margin-bottom: 20px;
}

/* Flickr */
.widget_flickr table,
.widget_flickr td {
	padding: 0;
	margin: 0;
	border: none;
}
.widget_flickr #flickr_badge_wrapper {
	background: transparent;
	border: none;
}
.widget_flickr a,
.widget_flickr img {
	display: block;
	margin: 0 auto;
}
.widget_flickr a {
	float: left;
}
.rtl .widget_flickr a {
	float: right;
}
.widget_flickr a:last-of-type {
	float: none;
	clear: both;
	border-top: 20px solid transparent;
	color: #fff !important;
}
.flickr-size-small a {
	width: 100%;
	text-align: center;
}

/* Internet Defense League */
.widget_internet_defense_league_widget img {
	display: block;
}

/* Milestone */
.milestone-widget div {
	border: none;
	color: #414a53;
}

/* Recent comments */
.widget_recent_comments table {
	border: none;
}
.widget_recent_comments td {
	padding: 10px 0 !important;
	vertical-align: middle;
	border: none;
	border-bottom: 1px dashed #fff;
	border-bottom-color: rgba(255, 255, 255, 0.25);
}
.widget_recent_comments .recentcommentstexttop,
.widget_recent_comments .recentcommentstextend {
	padding-left: 20px !important;
	border-bottom: 1px dashed #fff !important;
	border-bottom-color: rgba(255, 255, 255, 0.25) !important;
}
.rtl .widget_recent_comments .recentcommentstexttop,
.rtl .widget_recent_comments .recentcommentstextend {
	padding-left: 0 !important;
	padding-right: 20px !important;
}
.widget_recent_comments tr:last-of-type td {
	padding-bottom: 0 !important;
	border: none !important;
}
.widget_recent_comments img {
	display: block;
}

/* Tag cloud */
.wp_widget_tag_cloud a {
	display: inline-block;
	margin: 0 2px 5px 0;
	padding: 7px 10px;
	background: #54616f;
	color: #fff;
	font-size: 12px !important;
	font-size: 1.2rem !important;
	line-height: 1.5;
	font-weight: bold;
	text-decoration: none;
}
.rtl .wp_widget_tag_cloud a {
	margin: 0 0 5px 2px;
}
.wp_widget_tag_cloud a:hover {
	background: #fff;
	color: #49bcb5;
}

/* Top rated */
.top_rated p {
	padding: 10px 20px;
	margin: 0;
	border-bottom: 1px dashed #fff;
	border-bottom-color: rgba(255, 255, 255, 0.25);
	text-align: center;
}
.top_rated p a {
	text-decoration: none;
}
.top_rated p:first-of-type {
	background: transparent url('../images/pattern-stripes.png') 50% 50% repeat;
}
#pd_top_rated_holder {
	border: 1px dashed #fff;
	border-color: rgba(255, 255, 255, 0.25);
}
#top_posts {
	padding: 20px;
	margin: 0;
}

/* Upcoming events */
.widget_upcoming_events_widget .upcoming-events li {
	margin: 0;
}

/* Lists */
.widget_authors li,
.widget_jp_blogs_i_follow li,
.widget_delicious li,
.widget_top-clicks li,
#top_posts li,
.widget_upcoming_events_widget li {
	list-style: none;
	border-bottom: 1px dashed #fff;
	border-bottom-color: rgba(255, 255, 255, 0.25);
	padding: 10px 0;
	display: block;
}
.widget_authors li:first-child,
.widget_jp_blogs_i_follow li:first-child,
.widget_delicious li:first-child,
.widget_top-clicks li:first-child,
#top_posts li:first-child,
.widget_upcoming_events_widget li:first-child {
	padding-top: 0;
}
.widget_authors li:last-child,
.widget_jp_blogs_i_follow li:last-child,
.widget_delicious li:last-child,
.widget_top-clicks li:last-child,
#top_posts li:last-child,
.widget_upcoming_events_widget li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}
.widget_authors li ul {
	padding-top: 10px;
}
.widget_authors li ul li:first-child {
	border-top: 1px dashed #fff;
	border-top-color: rgba(255, 255, 255, 0.25);
	padding-top: 10px;
}

/* Multi column grid */
.widgets-multi-column-grid ul {
	margin-bottom: -20px !important;
}
.widgets-multi-column-grid li {
	display: block;
	margin: 0 10px 20px 10px !important;
	padding: 0 !important;
	width: 60px;
}
.widgets-multi-column-grid li:nth-child(4n + 1) {
	margin-left: 0 !important;
}
.rtl .widgets-multi-column-grid li:nth-child(4n + 1) {
	margin-left: 10px !important;
	margin-right: 0 !important;
}
.widgets-multi-column-grid li:nth-child(4n + 4) {
	margin-right: 0 !important;
}
.rtl .widgets-multi-column-grid li:nth-child(4n + 4) {
	margin-right: 10px !important;
	margin-left: 0 !important;
}
.widgets-multi-column-grid img {
	display: block;
	height: 60px;
	width: 60px;
}


/* =Retina
----------------------------------------------- */

@media (min--moz-device-pixel-ratio: 1.5),
(-o-min-device-pixel-ratio: 3/2),
(-webkit-min-device-pixel-ratio: 1.5),
(min-device-pixel-ratio: 1.5),
(min-resolution: 1.5dppx) {

	.top_rated p:first-of-type {
		background-size: 60px;
		background-image: url('../images/pattern-stripes-2x.png');
	}

}


/* =Responsive
----------------------------------------------- */

/* 767px < x < 960px */
@media only screen and (min-width: 768px) and (max-width: 959px) {

	/* Widget - Multi column grid */
	.widgets-multi-column-grid li {
		width: 40px;
	}
	.widgets-multi-column-grid img {
		height: 40px;
		width: 40px;
	}

}

/* 768px > x */
@media only screen and (max-width: 767px) {

	/* Widget - Multi column grid */
	.widgets-multi-column-grid li:nth-child(4n + 1) {
		margin-left: 10px !important;
	}
	.rtl .widgets-multi-column-grid li:nth-child(4n + 1) {
		margin-left: 10px !important;
		margin-right: 10px !important;
	}
	.widgets-multi-column-grid li:nth-child(4n + 4) {
		margin-right: 10px !important;
	}
	.rtl .widgets-multi-column-grid li:nth-child(4n + 4) {
		margin-left: 10px !important;
		margin-right: 10px !important;
	}

}


/* =Border radius
----------------------------------------------- */

.widget_blog-stats li,
.wp_widget_tag_cloud a,
#pd_top_rated_holder {
	-webkit-border-radius: 16px;
	-moz-border-radius:    16px;
	border-radius:         16px;
}
.widget_author_grid img,
.widget_authors img,
.widgets-multi-column-grid img {
	-webkit-border-radius: 50%;
	-moz-border-radius:    50%;
	border-radius:         50%;
}
.top_rated p:first-of-type {
	-webkit-border-radius: 15px 15px 0 0;
	-moz-border-radius:    15px 15px 0 0;
	border-radius:         15px 15px 0 0;
}


/* =Transition
----------------------------------------------- */

.wp_widget_tag_cloud a {
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition:    all 0.25s ease-in-out;
	-ms-transition:     all 0.25s ease-in-out;
	-o-transition:      all 0.25s ease-in-out;
	transition:         all 0.25s ease-in-out;
}
