/*
Theme Name: Sven Melander/Tackförkaffet AB
Version: 1.1
Description: Custom childtheme, based on Function, for Sven Melander/Tackförkaffet AB
Author: Christer Olsson
Author URI: http://www.ljusaideer.se
Template: function
*/

/* Custom fonts from Woothemes */

body { font:300 18px/1.618em 'Arapey', arial, sans-serif;color:#372E2E; }
#navigation ul.nav > li a { font:bold 14px/1.618em 'Bitter', arial, sans-serif;color:#fff; }
.page header h1 { font:bold 24px/1.387em 'Bitter', arial, sans-serif;color:#00000; }
.post header h1 { font:bold 28px/1.387em 'Bitter', arial, sans-serif;color:#222222; }
.post .post-meta li, .post .post-meta li a, .post .post-meta li.post-date { font:300 12px/1.7em "Bitter", Arial, sans-serif;color:#999999; }
.entry, .entry p { font:300 1em/1.5em 'Bitter', arial, sans-serif;color:#372E2E; }
h1, h2, h3, h4, h5, h6 { font-family: 'Bitter', arial, sans-serif; }
.widget h3 { font:bold 1.387em/1.387em 'Bitter', arial, sans-serif;color:#000000; } 

/* Custom CSS */

html {
    height: 100%;
}

body {
    x-background: top left no-repeat url("images/bg-256.png");
}

body {
    x-background: #fff !important;
}

#wrapper {
    x-background: transparent;
}

#header #logo {
	margin-bottom: 1em;
}

#header .disclaimer {
	clear: both;
	text-transform: uppercase;
	font-size: 1em;
}

.home #featured-slider .slide-content h1 {
	background: none;
	color: #fff;
	text-align: center;
}

.home .widget widget_woothemes_features h3{

}

b, strong {
	font-weight: 700;
}

ol {
	list-style-position: outside !important;
	margin-left: 1.3em;
}

#navigation.mobile-menu ul.nav li a {
	color: #000;
}

#toning {
    x-background: url("images/bg-toning.png") repeat-x scroll center top transparent;
    width: 100%;
    overflow: visible;
    position: relative;
}

#wrapper {
	position: relative;
	background: transparent;
	padding: 0 !important;
}

#footer-wrapper {
	position: relative;
	x-box-shadow: 0 0 35px #000000;
	z-index: 9;
}

.x-home #featured-slider .slide-content {
	display: none;
}

.home #featured-slider {
	position: relative;
}


.home #featured-slider .post-more {
	display: none;
}

#featured-slider .slide-content {
	width: 100%;
	position: absolute;
    bottom: 0;
    margin: 0;
    padding: 0;
}

#featured-slider .slide-content .slide-content-inner {
	width: 100%;
    border: 0 none;
    padding: 0;
    margin: 0;
}

.home #featured-slider .slide-media {
	border: none;
	padding: 0;
}

.home #featured-slider .slide-content header {
	margin: 0;
}

.home #featured-slider .slide-content header a {
    text-decoration: none;
}


#wrapperbg {
	position: relative;
	margin: 0 auto;
	x-padding: 0 3.631em;
    max-width: 960px;
	background: #fff;
	x-box-shadow: 0 0 35px #000000;
	z-index: 10;
}

#logofloat {
	position: absolute;
	opacity: 0.5;
	right: -1.8em;
	top: 0;
	background: top right no-repeat url("images/bg-800x300.png");
	background-size:80%;
	width: 100%;
	height: 300px;
	z-index: -10;
	pointer-events: none;
	overflow: hidden;
}

img.bg {
	display: none;
}

.home #intro-message {
    border-bottom: none;
    margin: 0;
    padding: 0;
}

.home #intro-message h1, .home-section .btn {
    font-family: 'Bitter', arial, sans-serif;
}

.home #intro-message h1 {
	font-size: 1.318em;
}

.home .quote {
	float: left;
	margin: 0 !important;
}

.home .quote .author {
	width: 100%;
	margin: 0;
}

#main .widget_woothemes_features .feature {
	position: relative;
	background: #eee;
    margin: 0 3% 2.244em 0;
    padding: 2%;
    width: 18.1% !important;
    -webkit-border-radius: 16px;
	border-radius: 16px;
	border-color: yellow;
}

.widget_woothemes_features .features h3, .widget_woothemes_features .features h3 a, .widget_woothemes_features .features .feature-content {
    color: #fff;
    text-align: center;
}

#zmain .widget_woothemes_features .feature:after {
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -50%;
    content: '';
    width: 0;
    height: 0;
    border-top: solid 150px red;
	border-top-color: inherit;
    border-left: solid 100px transparent;
    border-right: solid 100px transparent;
}

#main .widget_woothemes_features .feature:after {
	position: absolute;
	display: inline-block;
	border: 16px solid transparent;
	border-top: 16px solid;
	border-top-color: inherit;
	left: 18px;
	bottom: -26px;
	content: '';
}

#main .widget_woothemes_features .feature h3:before {
		font-family: 'FontAwesome';
		display: block;
		font-size: 3em;
		margin-left: 0;
		font-weight: normal;
		width: 1.2em;
		color: #fff;
		height: 100%;
		width: 1.5em;
		text-align: center;
		line-height: 0.8em;
		margin: 0 auto;
}

#main .widget_woothemes_features .feature h3 {
	line-height: 1.16946em;
}

#main .widget_woothemes_features .feature.journalist {
	background: #fca300;
}

#main .widget_woothemes_features .feature.journalist h3:before {
	content: "\f044";
}

#main .widget_woothemes_features .feature.skadespelare {
	background: #cd210f;
}

#main .widget_woothemes_features .feature.skadespelare h3:before {
	content: "\f005";
}

#main .widget_woothemes_features .feature.reklam {
	background: #204f9b;
}

#main .widget_woothemes_features .feature.reklam h3:before {
	content: "\f07a";
}

#main .widget_woothemes_features .feature.moderator {
	background: #048550;
}

#main .widget_woothemes_features .feature.moderator h3:before {
	content: "\f0a1";
}

#main .widget_woothemes_features img {
    -moz-box-sizing: border-box;
    border: none;
    height: auto;
    margin: 0;
    padding: 0;
}

.home #blog-posts  {
    border: none;
    margin: 0;
}

.home #blog-posts .block  {
    display: none;
}

h1, h2, h3  {
    background: 10px 0 no-repeat url("images/bg-flack-05.png");
    background-size: auto 100%;
    clear: both;
}

h3.feature-title {
	background: none;
}

.home .widget_woothemes_features img {
	border: 1px solid #fff !important;
	margin-bottom: 0.53em !important;
}

.widget_woothemes_testimonials .quote {
	background: url('images/citat.png') no-repeat top left;
	display: block;
	padding-left: 3%;
}

.home #woothemes_testimonials-2 {
	border: none;
	padding: 0;
}

.home #woothemes_testimonials-2 .quote {
	width: 44% !important;
}

.home #woothemes_testimonials-2 .quote.first {
	padding-right: 2%;
}

#footer-widgets {
	max-width: 960px;
	line-height: 1.2em
}

#footer-widgets .tweet-text {
	margin: 0;
}

.tp_gallery_slider img {
	padding: 0;
	border: none;

}

.tp_gallery_slider #description {
	width: 100%;
}

.tp_gallery_slider #tp_thumbs {
	width: auto;
	text-align: center;
}

.tp_gallery_slider .wrap_thumb {
	width: 100px;
	height: 80px;
	margin-right: 1%;
	float: left;
	overflow: hidden;
}

.tp_gallery_slider .wrap_thumb:last-child {
	margin-right: 0;
}

.x-tp_gallery_slider .wrap_thumb img{
	height: auto !important;
	width: 204px !important;
	max-width: 204px !important;
	margin-left: -51px;
}

.tp_gallery_slider .wrap_thumb img{
	max-width: 960px !important;
}

.tp_gallery_slider .wrap_thumb img:hover{
	cursor: pointer;
}

.et_lb_module { 
	min-height: 1px;
	margin-bottom: 0;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box; 
}

.et_lb_module_content_inner, .et_lb_image_content {
	background: none !important;
	width: 100% !important;
	padding: 0 !important;
}

.et_lb_image {
 	margin-bottom: 1.618em !important;
}

.et_lb_image_box {
	padding: 0;
	margin: 0;
}

img {
	border: none !important;
	max-width: 100% !important;
	padding: 0 !important;
}

.et_lb_new-testimonial .et_lb_module_content, .et_lb_toggle .et_lb_module_content, .et_lb_tabs .et_lb_module_content, .et_lb_simple_slider .et_lb_module_content, .et_lb_pricing_table .et_lb_module_content, .et_lb_image .et_lb_module_content { 
	border: none !important;
	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

.et_lb_image_content {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background: #000;
	padding: 0.7em !important;
	font-size: 0.7em !important;
}

.et_lb_image_content p {
	color: #fff !important;
	padding: 0 !important;
	margin: 0 !important;
}

.et_lb_slogan, .et_lb_slogan span.right-quote {
	background-image: url("images/citat.png");
}

.et_lb_slogan p {
	x-background: no-repeat url("images/kaffe.png");
    background-size: contain;
}

.et_lb_slogan:before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: no-repeat url('images/kaffe.png');
  background-size: contain;
  opacity: 0.5;
}

.et_note_video_container {
	margin-bottom: 1em;
}

.et_lb_note-video:after {
	content: " ";
}

.et_lb_note-video-container p {
	padding-bottom: 0;
	margin-bottom: 0;
}

.widget_archive li:first-letter {
    text-transform: uppercase;
}

#credit a {
	color: #454545;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	x-width: 24% !important;
	margin-right: 0.8% !important;
}

.gallery-caption {
	background:rgba(0,0,0,0.5);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	pointer-events: none;
}

.gallery-caption:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em; /* Adjusts for spacing */
}

.gallery-caption span {
	color: #fff;
	padding: 1em;
	text-align: left;
	display: inline-block;
	vertical-align: middle;
}

input#engrave-text {
	width: 100% !important;
}

body.single-post article.post.category-video a.video-thumb{
	display: none;
}

/* Desktop only */

@media only screen and (min-width: 1025px) {

	body {
		background: #FFF url("images/bg-test4.jpg") no-repeat fixed; 
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
		filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/bg-test4.jpg", sizingMethod="scale");
		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/bg-test4.jpg", sizingMethod="scale")";
	}
	
	#wrapperbg, #footer-wrapper {
		box-shadow: 0 0 35px #000000;
	}
	
	#wrapperbg {
		padding: 0 65px !important;
	}
	
	#footer-wrapper {
		padding: 0 55px !important;
	}
	
	#featured-slider .slide-content-inner, #featured-slider .slide-content-inner header {
    	background:none;
	}
	
	#featured-slider .slide-content {
    	background-color:rgba(0,0,0,0.5);
	}
	
	.home .quote {
		width:25%;
	}
	
	.home #woothemes_testimonials-3 .quote {
		width:100%;
	}
	
}

/* Mobile devices*/

@media only screen and (max-device-width: 1024px) {

	body, html {
		overflow:hidden;
	}
	
	#logofloat {
		right: 0;
	}
}

/* Tablets*/

@media only screen and (max-width: 1024px) {

	#wrapperbg, #wrapper, #footer-wrapper {
		padding: 0 35px;
	}
	
	.home #featured-slider .slide-content header {
    	padding: 0.618em 0.857em;
	}

}

/* Small devices */

@media only screen and (max-width: 480px) {

	
	#wrapperbg, #wrapper, #footer-wrapper {
		padding: 0 15px;
	}
	
		#header .disclaimer {
		font-size: 0.85em;
		text-align: center;
		line-height: 1em;
		margin-top: 1em;
		margin-bottom: -1.75em;
	}
	
	#featured-slider .slide-content {
    	bottom: -2.6em;
	}
	
	.home #intro-message {
    	padding: 0.8em 0 0.8em;
	}
	
	.home #intro-message h1 {
		font-size: 0.8em;
	}
	
	#main .widget_woothemes_features .feature {
    	margin: 0 4% 2.244em 0 !important;
    	padding: 4% !important;
    	width: 92% !important;
    	float: left !important;
	}
	
	#main .widget_woothemes_features .feature h3:before {
    	display; block;
    	text-align: left;
    	position: absolute;
    	top: 16%;
    	left: 4%;
	}
	
	/*
	#main .widget_woothemes_features .feature .feature-title, #main .widget_woothemes_features .feature .feature-content {
    	display; block;
    	text-align: left;
    	float: left;
    	margin-left: 28%;
	}
	*/
	
	.et_lb_1_2, .et_lb_1_4 {
		width: 100%;
	}
	
	/*
	
	#main .widget_woothemes_features .feature {
    margin: 0 4% 2.244em 0;
    padding: 4%;
    width: 40%;
    float: left;
	}
	
	#main .widget_woothemes_features .item-2, #main .widget_woothemes_features .item-4 {
    margin: 0 0 2.244em 0;
	}
	
	#main .widget_woothemes_features .feature h3 {
    margin: 0 4% 2.244em 0;
    padding: 4%;
    width: 40%;
    float: left;
	}
	
	#main .widget_woothemes_features .feature h3:before {
    font-size: 2em;
	}
	
	*/
	
}