/*
Theme Name: Cannon
Description: Base theme for projects, based on HTML5 Boilerplate for WordPress
Version: 1.0
Author: Nicklas Sundberg
Author URI: http://nsundberg.se
*/
html,
button,
input,
select,
textarea {
    color: #222;
}
body {
	background: #f3f3f3 url(assets/images/bg.png);
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

a, a:visited {
	text-decoration: none;
    color: #e9068b;
}

a:hover {
    color: #FF28A6;
}

h1,h2,h3,h4 {
	font-family: georgia, serif;
}
h3, h4 {
	text-transform: uppercase;
}
h1 {
	font-size: 2.2em;
}
h2 {
	font-size: 1.8em;
}
h3 {
	font-size: 1.5em; /* 18 / 16 */
}

#container {
	background: #fff;
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
	border-top: 2px solid #e9068b;
	border-bottom: 3px solid #e9068b;
	padding: 0 .9em;
}

.sep-line {
	clear: both;
	height: 1px;
	border-bottom: 2px solid #231f20;
	margin: 0 1.5em;
}

.button {
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	background-color: #e9068b;
	border-bottom: 3px solid #98075c;
	padding: .4em .8em .3em;
	display: inline-block;
	transition: all 50ms ease-in-out;
}
.button:hover {
	color: #fff;
	background-color: #ff0095;
	border-color: #b00b6c;
}
.button:active {
	background-color: #e9068b;
	margin-top: 2px;
	border-bottom-width: 1px
}
.button:visited {
	color: #fff;
}

.styled-list {
	padding: 0;
	list-style: none;
}
.styled-list li {
	border-bottom: 1px dotted #D7D7D7;
	padding: 3px 0;
}
.styled-list li:last-child {
	border-bottom: 0;
}
.styled-list li span {
	display: inline-block;
}
.styled-list li span.right {
	float: right;
}

/* ==========================================================================
	 Header
	 ========================================================================== */
#main-head {
	position: relative;
}

#main-head .grid {
	padding-top: 15px;
	padding-bottom: 15px;
}

#logotype {
	min-width: 350px;
}

#main-head img {
	max-width: 100%;
	height: auto;
}

#main-nav.open {
	display: block;
}
#main-nav ul {
	float: right;
	margin-top: 44px;
}
#main-nav ul li {
	display: inline-block;
}
#main-nav ul li a {
	color: #222;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 1.071em;
	padding: 22px 9px;
}
#main-nav ul li.current-menu-item a {
	border-bottom: 2px solid #e9068b;
}

#nav-toggle {
	background: url(assets/images/nav-toggle.svg) no-repeat 50% 50%;
	text-indent: -9999px;
	float: right;
	width: 35px;
	height: 35px;
	margin: 43px 1.5em 1.5em;
	display: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}
#nav-toggle:active {
	opacity: 0.7;
}


/* ==========================================================================
	 Sidebar
	 ========================================================================== */
.widget {
	margin-top: 35px;
}
.widget:first-child {
	margin-top: 0;
}

.widgettitle {
/*	background: url(assets/images/widgettitle-border.gif) left bottom no-repeat;*/
	padding-bottom: 7px;
	margin-bottom: .6em;
	font-size: 1.125em;
	position: relative;
}

.widgettitle:after{
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-image: -webkit-gradient(
		linear,
		left bottom,
		right bottom,
		color-stop(0.6, #E9068B),
		color-stop(0.6, #231F20)
	);
	background-image: -o-linear-gradient(right, #E9068B 60%, #231F20 60%);
	background-image: -moz-linear-gradient(right, #E9068B 60%, #231F20 60%);
	background-image: -webkit-linear-gradient(right, #E9068B 60%, #231F20 60%);
	background-image: -ms-linear-gradient(right, #E9068B 60%, #231F20 60%);
	background-image: linear-gradient(to right, #E9068B 60%, #231F20 60%);
}


/* ==========================================================================
	 Slider
	 ========================================================================== */
.slider-image {
	width: 100%;
	max-height: 265px;
	overflow: hidden;
}
.slider-image img {
	width: auto;
	max-width: 100%;
	/*min-height: 210px;*/
}
.slider-caption {
	padding: .4em .8em;
	width: 33.3333%;
	background: rgba(236, 0, 136, 0.8);
	position: absolute;
	bottom: 3em;
	left: 3em;
	color: white;
}
.slider-caption h2 {
	font-size: 1.6em;
	margin-bottom: .2em;
}
.slider-caption p {
	color: #e5e2e3;
	margin: 0;
}

/* ==========================================================================
	 Content
	 ========================================================================== */
.fts-jal-fb-header {
	display: none;
}

#boka-tid {
	width: 100%;
	height: 100%;
	min-height: 790px;
}
#boka-tid .pageExtended {
	width: auto;
}
.pageExtended {
	width: auto !important;
}
/* ==========================================================================
	 Footer
	 ========================================================================== */

#main-footer h3 {
	margin-bottom: .6em;
	font-size: 1.125em;
}

#main-footer .phone {
	line-height: 2.5em;
}
#main-footer .map {
	border: 2px solid #9b9b9b;
}

#fb-root {
    display: none;
}

/* To fill the container and nothing else */
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
    width: 100% !important;
}

@media screen and (max-width: 979px) {
	#main-nav {
		display: none;
		width: 100%;
		background: #e9068b;
	}

	#main-nav.grid {
		padding-top: 0;
		padding-bottom: 0;
		margin-bottom: 15px;
	}

	#main-nav ul {
		float: none;
		margin-top: 0;
	}
	#main-nav ul li {
		width: 100%;
		display: block;
		border-top: 1px solid #fff;
	}
	#main-nav ul li:hover,
	#main-nav ul li:active {
		background: #F31F9C;
	}
	#main-nav ul li a {
		color: #fff;
		padding-top: 10px;
		padding-bottom: 10px;
		display: block;
	}
	#main-nav ul li.current-menu-item a {
		border: 0;
		font-weight: bold;
	}
	#main-nav ul li:first-child {
		border-top: 0;
	}

	#nav-toggle {
		display: block;
	}
}

@media screen and (max-width: 920px) {
	#container {
		padding: 0 .6%;
	}
}

@media screen and (max-width: 800px) {
	#container {
		padding: 0;
	}

	.slider-caption {
		padding: .4em .8em;
		width: 50%;
	}
}


@media screen and (max-width: 600px) {
	.slider-caption {
		position: relative;
		width: auto;
		bottom: 0;
		left: 0;
	}
}

@media screen and (max-width: 520px) {
	#container {
		width: 95%;
	}

	#logotype {
		min-width: 70%;
	}

	#nav-toggle {
		margin-top: 9%;
	}
}

@media screen and (max-width: 420px) {
	#container {
		width: 100%;
	}
}


/* WordPress styles
======================================= */
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

.post img {
	max-width: 100%;
	height: auto;
}

.sticky {
	background: #f7f7f7;
	padding: 0 10px 10px;
}
	
.sticky h2 {
	padding-top: 10px;
}