/*
 Theme Name:   Hueman Tagcentralen child
 Theme URI:    http://tagcentralen.se/hueman-tagcentral/
 Description:  Hueman Tagcentralen child theme
 Author:       Johan Malm
 Author URI:   http://www.consid.se
 Template:     hueman
 Version:      1.0.1 
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  hueman-tagcentral
*/

.s1 .alx-tab .tab-item-category a,
.s1 .alx-posts .post-item-category a,
.s1 .alx-tab li:hover .tab-item-title a,
.s1 .alx-tab li:hover .tab-item-comment a,
.s1 .alx-posts li:hover .post-item-title a,
#footer .alx-tab .tab-item-category a,
#footer .alx-posts .post-item-category a,
#footer .alx-tab li:hover .tab-item-title a,
#footer .alx-tab li:hover .tab-item-comment a,
#footer .alx-posts li:hover .post-item-title a {
	color: #6c860f;
}

#flexslider-featured .flex-control-nav li a.flex-active {
	background: #6c860f;
}

.facts {
	padding: 6px 10px 2px;
}
.facts-image{
	width:40%;
	font-size:80%;
	display: inline-block;
}

.facts-image p{
	padding:0px;
	font-size:80%;
}

.facts-text{
	position: relative;
	display: inline-block;
	float:right;
	padding: 0px 10px 0px;
	width:55%;
	top:-20px;
}
.sp-otherposts{
	display:inline-block;
	float:left;
	width:40%;
	min-height: 250px;
	margin: 10px;
	padding:20px;
	background-color: #F5F5F5;
}
.sp-otherposts:nth-child(even){
	margin-left: 0;
}
.sp-otherposts:nth-child(odd){
	margin-right: 0;
}
.sp-otherposts a{
	color:#666;
}
.child-navi-subheader{
	font-size: 100%;
}


/* ------------------------------------------------------------------------- *
 *  Base Structure
/* ------------------------------------------------------------------------- */

body {
	background: url('assets/img/bg-pattern.png');
}

.grey-border {
	border: 2px solid #ccc;
}

/*  base : layout
/* ------------------------------------ */
#header {
	background: transparent;
}

#header .pad {
	overflow: hidden;
	padding-bottom: 0;
	padding-top: 15px;
}

@media(max-width: 719px) {
	#header .pad {
		padding: 15px !important;
	}
}

.header-logo {

}

.header-vignette {
	width: calc(100% + 61px);
	max-width: 1200px;
	margin-right: -30px;
	margin-left: -30px;
	margin-top: -50px;
}

@media(max-width: 1024px) {
	.header-vignette {
		margin-top: -30px;
	}
}

@media(max-width: 719px) {
	.header-vignette {
		/*display: none;*/
		width: calc(100% + 30px);
		max-width: initial;
		margin: 10px -15px 0 -15px;
	}
}

.lang-switch {
	position: absolute;
	right: 0;
	top: 15px;
}

@media(max-width: 1024px) {
	.lang-switch {
		right: 30px;
	}
}

@media(max-width: 719px) {
	.lang-switch {
		position: relative;
		right: 0;
	}
}

.lang-switch li {
	display: inline-block;
	margin-left: 5px;
}

@media(max-width: 719px) {
	#flexslider-featured .flex-direction-nav {
		top: -36px;
	}
}

#nav-header .container {
	padding: 0;
}

#nav-header.nav-container {
	/*background: #6c860f;*/
	background: #6c872b;
	margin-top: -40px;
	box-shadow: initial;
}

@media(max-width: 1024px) {
	#nav-header.nav-container {
		margin-top: -36px;
	}
}

@media(max-width: 768px) {
	#nav-header.nav-container {
		margin-top: -30px;
	}
}

@media(max-width: 425px) {
	#nav-header.nav-container {
		margin-top: -34px;
	}
}

@media(max-width: 320px) {
	#nav-header.nav-container {
		margin-top: -31px;
	}
}

.nav > li > a {
	padding: 15px 22px;
}

@media(max-width: 768px) {
	#nav-header .nav li a {
		font-size: 0.9em;
	}
}

#nav-header .nav li a {
	font-weight: bold;
	text-transform: uppercase;
	color: #fff;
}

#nav-header .nav li ul li a {
	text-transform: none;
}

#nav-header .nav li.current_page_item > a,
#nav-header .nav li.current-menu-item > a,
#nav-header .nav li.current-menu-ancestor > a,
#nav-header .nav li.current-post-parent > a {
	background: #546b04;
}

@media only screen and (min-width: 720px) {
	#nav-header .nav > li > a:hover,
	#nav-header .nav > li:hover > a,
	#nav-header .nav li > a:hover,
	#nav-header .nav li:hover > a {
		background: #546b04;
		color: #fff;
	}
}

@media only screen and (max-width: 719px) {
	#nav-header .nav > li > a:hover,
	#nav-header .nav > li:hover > a,
	#nav-header .nav li > a:hover,
	#nav-header .nav li:hover > a {
		background: initial;
	}
}

#nav-header .nav ul {
	background: #6c872b;
}

#footer {
	background: transparent;
}

#footer a {
	color: #fff !important;
}

.footer-vignette {
	width: calc(100% + 61px);
	max-width: 1120px;
	margin-bottom: -40px;
}

@media(max-width: 1024px) {
	.footer-vignette {
		max-width: 100%;
		width: 100%;
		margin-bottom: -37px;
	}
}

@media(max-width: 768px) {
	.footer-vignette {
		margin-bottom: -30px;
	}
}

@media(max-width: 425px) {
	.footer-vignette {
		margin-bottom: -19px;
	}
}

@media(max-width: 320px) {
	.footer-vignette {
		margin-bottom: -17px;
	}
}

.footer-logo {
	display: inline-block;
}

.footer-information {
	display: inline-block;
	vertical-align: top;
	margin-left: 60px;
	color: #fff;
}

.footer-social {
	display: inline-block;
	vertical-align: middle;
	margin-left: 60px;
}

.footer-social ul li {
	display: inline-block;
}

@media(max-width: 719px) {
	.footer-information, .footer-social{
		display: block;
		margin-left: 0;
		margin-top: 30px;
		width: 100%;
	}
}

@media(max-width: 320px) {
	#wrapper, .container-inner {
		width: auto;
		min-width: initial !important;
	}
}

#footer-bottom {
	background: #a81916;
	padding: 40px 0;
}

@media(max-width: 1024px) {
	#footer-bottom {
		padding: 20px;
	}
}

#footer-bottom #back-to-top {
	background: #6c872b;
	color: #fff;
	display: none;
}

#nav-footer {
	background: none !important;
	border: none !important;
}

#nav-footer .nav > li > a {
	color: rgba(255,255,255,0.5);;
}

#wrapper { min-width: 1120px; height: 100%; }

.container { padding: 0 20px; }
.container-inner { max-width: 1120px; min-width: 1120px; width: 100%; margin: 0 auto; }
.main { background-color: #fff!important; position: relative; }
.main-inner { position: relative; min-height: 600px; }
.content { width: 100%; position: relative; }
.pad { padding: 30px 30px 20px; }

.post-title a:hover, .post-hover:hover .post-title a {
	color: #50630b;
}

.post-list .news {
	width: 50%;
	float: left;
}

.post-row {
	padding-bottom: 20px;
}

.flexslider {
	margin-top: 30px;
}

.post-thumb img {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 30px;
}


/* boxed */
/*.boxed #wrapper { max-width: 1024px; margin: 0 auto;
-webkit-box-shadow: 6px 0 0 rgba(0,0,0,0.04), -6px 0 0 rgba(0,0,0,0.04);
box-shadow: 6px 0 0 rgba(0,0,0,0.04), -6px 0 0 rgba(0,0,0,0.04); }
.boxed .container { padding: 0; }
.boxed #page { background: #eaeaea; padding-bottom: 1px; }*/

.page {
	margin-bottom: 0;
}

.related-posts .page {
	border-right: 1px solid transparent;
	margin-bottom: 0;
	padding-bottom: 10px;
}

@media only screen and (max-width: 719px) {
	.post-list .post, .post-list .page {
		padding-bottom: 20px;
	}

	.post-list .post-row {
		padding-bottom: 0;
	}
}



/* ------------------------------------------------------------------------- *
 *  Typography
/* ------------------------------------------------------------------------- */
.entry.excerpt {
    color: #444;
}



/* ------------------------------------------------------------------------- *
 *  Sidebar
/* ------------------------------------------------------------------------- */
.widget_display_cpts li {
	margin: 0 0 30px 0;
}

.child-menu.custom .children {
	background: transparent;
	border: none;
}



/* ------------------------------------------------------------------------- *
 *  Flickity Carousel
/* ------------------------------------------------------------------------- */
.main-carousel {
	margin-bottom: 3rem;
}
.main-carousel img {
	display: block;
	max-width: 100%;
	object-fit: cover;
}
.main-carousel .carousel-cell {
	width: 100%;
	height: 340px;
}

.start-carousel .carousel-cell{
	height: 500px;
}

@media(max-width: 450px) {
	.main-carousel .carousel-cell {
		height: 180px;
	}
	.start-carousel .carousel-cell{
		height: fit-content;
	}
}



/* ------------------------------------------------------------------------- *
 *  Spinner
/* ------------------------------------------------------------------------- */
#spinner { display: none; position: relative; }
.sk-circle {
	width: 100px;
	height: 100px;
	position: absolute;
	top: 50px;
	left: 45%;
	z-index: 100;
}
	.sk-circle .sk-child {
		width: 100%;
		height: 100%;
		position: absolute;
		left: 0;
		top: 0; }
	.sk-circle .sk-child:before {
		content: '';
		display: block;
		margin: 0 auto;
		width: 15%;
		height: 15%;
		background-color: #333;
		border-radius: 100%;
		-webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
						animation: sk-circleBounceDelay 1.2s infinite ease-in-out both; }
	.sk-circle .sk-circle2 {
		-webkit-transform: rotate(30deg);
				-ms-transform: rotate(30deg);
						transform: rotate(30deg); }
	.sk-circle .sk-circle3 {
		-webkit-transform: rotate(60deg);
				-ms-transform: rotate(60deg);
						transform: rotate(60deg); }
	.sk-circle .sk-circle4 {
		-webkit-transform: rotate(90deg);
				-ms-transform: rotate(90deg);
						transform: rotate(90deg); }
	.sk-circle .sk-circle5 {
		-webkit-transform: rotate(120deg);
				-ms-transform: rotate(120deg);
						transform: rotate(120deg); }
	.sk-circle .sk-circle6 {
		-webkit-transform: rotate(150deg);
				-ms-transform: rotate(150deg);
						transform: rotate(150deg); }
	.sk-circle .sk-circle7 {
		-webkit-transform: rotate(180deg);
				-ms-transform: rotate(180deg);
						transform: rotate(180deg); }
	.sk-circle .sk-circle8 {
		-webkit-transform: rotate(210deg);
				-ms-transform: rotate(210deg);
						transform: rotate(210deg); }
	.sk-circle .sk-circle9 {
		-webkit-transform: rotate(240deg);
				-ms-transform: rotate(240deg);
						transform: rotate(240deg); }
	.sk-circle .sk-circle10 {
		-webkit-transform: rotate(270deg);
				-ms-transform: rotate(270deg);
						transform: rotate(270deg); }
	.sk-circle .sk-circle11 {
		-webkit-transform: rotate(300deg);
				-ms-transform: rotate(300deg);
						transform: rotate(300deg); }
	.sk-circle .sk-circle12 {
		-webkit-transform: rotate(330deg);
				-ms-transform: rotate(330deg);
						transform: rotate(330deg); }
	.sk-circle .sk-circle2:before {
		-webkit-animation-delay: -1.1s;
						animation-delay: -1.1s; }
	.sk-circle .sk-circle3:before {
		-webkit-animation-delay: -1s;
						animation-delay: -1s; }
	.sk-circle .sk-circle4:before {
		-webkit-animation-delay: -0.9s;
						animation-delay: -0.9s; }
	.sk-circle .sk-circle5:before {
		-webkit-animation-delay: -0.8s;
						animation-delay: -0.8s; }
	.sk-circle .sk-circle6:before {
		-webkit-animation-delay: -0.7s;
						animation-delay: -0.7s; }
	.sk-circle .sk-circle7:before {
		-webkit-animation-delay: -0.6s;
						animation-delay: -0.6s; }
	.sk-circle .sk-circle8:before {
		-webkit-animation-delay: -0.5s;
						animation-delay: -0.5s; }
	.sk-circle .sk-circle9:before {
		-webkit-animation-delay: -0.4s;
						animation-delay: -0.4s; }
	.sk-circle .sk-circle10:before {
		-webkit-animation-delay: -0.3s;
						animation-delay: -0.3s; }
	.sk-circle .sk-circle11:before {
		-webkit-animation-delay: -0.2s;
						animation-delay: -0.2s; }
	.sk-circle .sk-circle12:before {
		-webkit-animation-delay: -0.1s;
						animation-delay: -0.1s; }
@-webkit-keyframes sk-circleBounceDelay {
	0%, 80%, 100% {
		-webkit-transform: scale(0);
						transform: scale(0); }
	40% {
		-webkit-transform: scale(1);
						transform: scale(1); } }
@keyframes sk-circleBounceDelay {
	0%, 80%, 100% {
		-webkit-transform: scale(0);
						transform: scale(0); }
	40% {
		-webkit-transform: scale(1);
						transform: scale(1); } }
