/**
 * WP.com stylesheet for Twenty Thirteen.
 */

/* Audio Shortcode */
.audio-content span[style] > p {
	margin: 20px 0;
}

/* Highlander Comments */
.highlander-comment {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.highlander-enabled #respond {
	background: #f7f5e7;
	margin: 0;
	padding: 30px 0;
}

.highlander-enabled .comment-reply-title,
.highlander-enabled #respond .comment-form {
	margin-left: auto;
	margin-right: auto;
	max-width: 544px;
}

.sidebar.highlander-enabled .comment-reply-title,
.sidebar.highlander-enabled #respond .comment-form {
	max-width: 1040px;
	padding-left: 60px;
	padding-right: 376px;
}

.sidebar.highlander-enabled .comment-list .comment-reply-title,
.sidebar.highlander-enabled .comment-list #respond .comment-form {
	max-width: 544px;
	padding: 0;
}

.highlander-enabled .comment + #respond {
	margin-bottom: 30px;
	padding: 20px;
}

.highlander-enabled #respond form {
	background: none;
}

.highlander-enabled #respond h3 {
	margin-bottom: 20px;
	margin-top: 0;
}

.highlander-enabled #reply-title small a {
	width: 16px;
}

.highlander-enabled #reply-title small a:before {
	vertical-align: -webkit-calc(4px);
	vertical-align:         calc(4px);
}

/* Widgets */
.widget_blog_subscription input[name="email"] {
	padding: 5px !important;
	width: 100% !important;
}

.widget_recent_comments table,
.widget_recent_comments td {
	border: none;
}

.widget_flickr #flickr_badge_wrapper {
	background-color: transparent;
	border: none;
}

#flickr_badge_uber_wrapper {
	border-bottom: none;
	width: auto;
}

.widget_flickr table td {
	border: none;
}

/* Tag Cloud widget */
.wp_widget_tag_cloud ul {
	list-style-type: none;
}

.wp_widget_tag_cloud ul li {
	display: inline-block;
	padding: 0;
}

/**
 * Gallery post format index larger first image.
 * Dropped by core but still in effect on WP.com.
 */
.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 48%;
	max-width: -webkit-calc(50% - 4px);
	max-width:         calc(50% - 4px);
	text-align: center;
}

.gallery-columns-3 .gallery-item {
	max-width: 31%;
	max-width: -webkit-calc(33.3% - 4px);
	max-width:         calc(33.3% - 4px);
	text-align: center;
}

/* Blog gallery */
.blog .format-gallery .gallery,
.archive .format-gallery .gallery,
.search .format-gallery .gallery {
	margin-bottom: 20px;
	margin-left: -4px;
	max-width: 608px;
}

.blog .format-gallery .gallery-item,
.archive .format-gallery .gallery-item,
.search .format-gallery .gallery-item {
	display: block;
	height: 148px;
	margin-right: 4px;
	max-height: 100%;
	max-width: 100%;
	overflow: hidden;
	width: 148px;
}

.blog .format-gallery .gallery-item img,
.archive .format-gallery .gallery-item img,
.search .format-gallery .gallery-item img {
	height: 100%;
	max-height: 148px;
	max-width: none;
	width: auto;
}

.blog .format-gallery .gallery-item .portrait img,
.archive .format-gallery .gallery-item .portrait img,
.search .format-gallery .gallery-item .portrait img {
	height: auto;
	max-height: none;
	max-width: 148px;
	width: 100%;
}

.blog .format-gallery .gallery-item:first-child,
.archive .format-gallery .gallery-item:first-child,
.search .format-gallery .gallery-item:first-child {
	height: 300px;
	width: 300px;
}

.blog .format-gallery .gallery-item:first-child img,
.archive .format-gallery .gallery-item:first-child img,
.search .format-gallery .gallery-item:first-child img {
	max-height: 300px;
}

.blog .format-gallery .gallery-item:first-child .portrait img,
.archive .format-gallery .gallery-item:first-child .portrait img,
.search .format-gallery .gallery-item:first-child .portrait img {
	max-height: none;
	max-width: 300px;
}

.blog .format-gallery .gallery-item .gallery-icon,
.archive .format-gallery .gallery-item .gallery-icon,
.search .format-gallery .gallery-item .gallery-icon {
	height: 100%;
	-webkit-transform: translate(50%, 50%);
	-ms-transform:     translate(50%, 50%);
	transform:         translate(50%, 50%);
	width: 100%;
}

.blog .format-gallery .gallery-item .gallery-icon img,
.archive .format-gallery .gallery-item .gallery-icon img,
.search .format-gallery .gallery-item .gallery-icon img {
	-webkit-transform: translate(-50%, -50%);
	-ms-transform:     translate(-50%, -50%);
	transform:         translate(-50%, -50%);
}

.blog .format-gallery .gallery br,
.archive .format-gallery .gallery br,
.search .format-gallery .gallery br {
	display: none;
}

/* Social Icons Widget */
.jetpack_widget_social_icons a:focus,
.jetpack_widget_social_icons a:hover {
	color: inherit;
}

@media (max-width: 359px) {
	.gallery .gallery-item,
	.single .gallery-columns-2.gallery-size-thumbnail .gallery-item,
	.blog .format-gallery .gallery-item,
	.archive .format-gallery .gallery-item,
	.search .format-gallery .gallery-item {
		max-width: none;
		width: 49%;
		width: -webkit-calc(50% - 4px);
		width:         calc(50% - 4px);
	}

	.single .gallery-columns-1.gallery-size-medium,
	.single .gallery-columns-1.gallery-size-thumbnail,
	.single .gallery-columns-2.gallery-size-thumbnail,
	.single .gallery-columns-3.gallery-size-thumbnail {
		display: block;
	}

	.single .gallery-columns-1.gallery-size-medium .gallery-item,
	.single .gallery-columns-1.gallery-size-thumbnail .gallery-item,
	.blog .format-gallery .gallery-item:first-child,
	.archive .format-gallery .gallery-item:first-child,
	.search .format-gallery .gallery-item:first-child {
		text-align: center;
		width: 98%;
		width: -webkit-calc(100% - 4px);
		width:         calc(100% - 4px);
	}

	.blog .format-gallery .gallery-item:nth-of-type(odd),
	.archive .format-gallery .gallery-item:nth-of-type(odd),
	.search .format-gallery .gallery-item:nth-of-type(odd),
	.single .gallery .gallery-item:nth-of-type(even) {
		margin-right: 0;
	}
}

@media print {
	/* Hide Follow Box */
	#bit {
		display: none;
	}
}
