/*
 Theme Name:     Fotboll Sthlm
 Description:    Fotboll Sthlm child theme
 Author:         Profet Webb & Kommunikation AB
 Author URI:     https://www.profet.se
 Template:       Read
 Version:        1.0.0
*/

/* General */

@import url('https://fonts.googleapis.com/css?family=Roboto:900');

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 900;
}

.middle {
	padding-bottom: 1em;
}

/* News feed */

.entry-content a.more-link {
	display: none;
}

.single-post .hentry {
	padding-bottom: 0px;
}

.single-post .entry-meta.post-tags {
	padding-bottom: 0px;
}
@media (max-width: 767px) {
	.single-post .entry-meta.post-tags {
		display: none;
	}
}

.profet-navigation {
	text-align: center;
}

.load-more-related {
	min-width: 167px;
	text-align: center;
	padding-bottom: 20px;
}

/* Some utility classes */
.mb-0 {
	margin-bottom: 0;
}
.mt-0 {
	margin-top: 0;
}
.mt-2 {
	margin-top: 2rem;
}
.mb-2 {
	margin-bottom: 2rem;
}


/* Button */
.btn {
	padding: 1em 2em;
	border-radius: 100px;
	display: inline-block;
	font-family: 'Roboto', Georgia, serif;
	font-weight: 500;
	font-size: 18px;
}
.btn-black {
	transition: 0.25s;
	background: #000;
	color: #fff !important;
}
.btn-black:hover,
.btn-black:active {
	background: #303030;
}

#load-more-posts,
.load-more-related-btn {
	min-width: 167px;
}

#load-more-posts img,
.load-more-related img {
	height: 18px;
}

.load-more-posts-loading-icon {
	display: none;
}

/* Icon */
.profet-icon {
	height: 1em;
	width: auto;
}

p .profet-icon {
	position: relative;
	top: 0.15em;
	display: inline-block;
	margin-right: 0.7em;
}

/* Tags */
.term-logo {
	display: block;
	margin: 0 auto;
	max-width: 120px;
}

/* Footer */
.footer-social-media {
	padding: 1em;
	padding-top: 0px;
	text-align: center;
}

.social-media-boxes {
	display: flex;
	flex-wrap: wrap;
	width: auto;
	max-width: 580px;
	align-items: center;
	justify-content: space-between;
	margin: 2em auto 1em auto;
}

.social-media-box {
	flex-grow: 1;
	padding: 1em;
}

.social-media-box a:hover .profet-icon {
	top: -0.3em;
}

.social-media-box .profet-icon {
	position: relative;
	top: 0em;
	transition: 0.2s;
	height: 1.5em;
}

.social-media-box p {
	margin: 0.5em auto;
}

.site-header .site-title img {
	display: block;
	margin: 0 auto;
	max-height: none;
	max-width: 180px;
}

/* Footer links */
.footer-links {
	border-top: 1px solid #000;
	padding-top: 1rem;
	margin: 0 auto;
}
.footer-links-left {
	padding-bottom: 10px;
}
@media (min-width: 768px) {
	.footer-links {
		display: flex;
		max-width: calc(80% - 26px);
	}
	.footer-links-left {
		padding-right: 50px;
	}
	body.single .footer-links {
		max-width: 780px;
	}
}
.footer-links p {
	margin-top: 0;
	text-align: left;
}
.footer-links p:last-child {
	margin-bottom: 0;
}

/* Responsive stuff */

.single-post div[id^='attachment'] {
	max-width: 100% !important;
}

@media (min-width: 920px) {
	.site-header hgroup {
		padding: 0px;
	}
	.site-header .site-title img {
		display: block;
		margin: 0 auto;
		max-height: none;
		max-width: 170px;
	}
	h1.site-title {
		margin-bottom: 0px;
	}

	.social-media-box {
		padding: 1em 2em;
	}
}

.fotbollsthlm-image-container {
	display: none;
	border: 1px dotted #ddd;
	border-left: 0;
	border-right: 0;
	padding: 1em 0;
	margin: 1em 0;
}

.fotbollsthlm-image-container img {
	display: block;
	width: auto;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.fotbollsthlm-image-container .text {
	text-align: center;
	color: #bbb;
	margin: 0 auto 0.9em auto;
}

.facebook-share-module {
	margin-top: 1em;
	border-top: 1px dotted #ddd;
	border-bottom: 1px dotted #ddd;
	padding-bottom: 2em;
}
.facebook-share-module p {
	margin-bottom: 0px;
	margin-top: 2em;
	text-align: center;
}

.facebook-share-module a {
	display: inline-block;
	font-family: 'Marcellus', Georgia, serif;
	padding: 14px 25px;
	background: #3b5998;
	color: #fff;
	font-weight: 500;
	font-size: 1.1em;
	transition: 0.25s;
	border-radius: 3px;
	box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15);
}

.facebook-share-module a:hover {
	color: #fff;
	background: #234895;
	box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.25);
}

.facebook-share-module svg {
	transition: 0.25s;
	position: relative;
	top: 2px;
	right: 0px;
	fill: #fff;
	margin-left: 10px;
	height: 18px;
	width: auto;
	transform: rotate(0deg);
}

.facebook-share-module a:hover svg {
	/*
    top: -2px;
    right: -4px;
    transform: rotate(25deg);
    */
}

.fotbollsthlm-image-container iframe {
	margin: 0 auto;
}

@media (min-width: 550px) {
	.fotbollsthlm-image-container img {
		max-width: 100%;
	}
}

@media (max-width: 768px) {
	.fotbollsthlm-image-container .image-desktop,
	.fotbollsthlm-image-container .script-desktop {
		display: none;
	}
}

@media (min-width: 768px) {
	.fotbollsthlm-image-container .image-mobile,
	.fotbollsthlm-image-container .script-mobile {
		display: none;
	}
}

/* Navigation */

@media (max-width: 767px) {
	#top_menu_mobile,
	#secondary_menu_mobile {
		display: block !important;
	}
	#site-navigation .selector {
		display: none;
	}
}
@media (min-width: 768px) {
	#top_menu_mobile,
	#secondary_menu_mobile {
		display: none;
	}
}
#top_menu_mobile li {
	font-size: 12px;
	margin: 0 0.6em;
}

.site-description {
	display: none;
}

/* Author byline */
.author-bio {
	display: flex;
}

.author-bio.extra-byline {
	border-top: none;
}
.author-bio.extra-byline:last-child {
}
.author-bio .author-img {
	max-width: 75px;
	margin-right: 15px;
}
.about-author {
	padding-top: 0px;
	text-align: left;
}
.about-author p {
	line-height: 1.4em;
}

/* Front page ad */
.front-page-img-wrapper {
	margin-bottom: 1rem;
}

/* Single post page */

/* Widen the content area so we can fit a 980 px ad */
@media (min-width: 1000px) {
	body.single-post #content .readable-content {
		max-width: 980px;
	}
	body.single-post #main > .row {
		min-width: 980px;
    }
    body.archive #main > .row,
	body.home #main > .row {
		min-width: 980px;
	}
}

/* Mobile Leeads ads in loop */
.loop-mobile-leeads {
	padding-bottom: 26px !important;
	border-bottom: 2px solid #444;
	min-height: 320px;
}
@media (max-width: 720px) {
	.loop-mobile-leeads {
		width: 100% !important;
	}
}
.loop-mobile-leeads-inner {
	text-align: center;
	min-height: 320px;
	overflow: hidden;
}
.leeads-desktop-panorama {
	display: none;
}

/* Center panorama ads on desktop */
.leeads-desktop-panorama.leeads-desktop-panorama-centered {
	text-align: center;
}
.leeads-desktop-panorama.leeads-desktop-panorama-centered > div {
	text-align: center;
}

@media (min-width: 920px) {
	.loop-mobile-leeads {
		display: none;
		float: none;
		min-height: 0px;
		margin: 0 !important;
		height: 0px !important;
		width: 0px !important;
		padding: 0 !important;
	}
}
@media (min-width: 1000px) {
	.leeads-desktop-panorama {
		display: block;
	}
}
