/*
Theme Name: Simostranda Stav & Laft
Author: Alexander Prestmo
Author URI: http://alexanderprestmo.no/
Description: Spesialtiplasset tema for Simostranda Stav & Laft.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags: light, white, one-column, two-columns, left-sidebar, right-sidebar, flexible-width, custom-backgroud, custom-header, custom-menu, featured-images, flexible-header, microformats, post-formats, rtl-language-support, threaded-comments, translation-ready
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* Reset default browser styles */
@import url('css/normalize.css');

/* Basic WordPress Styles */
@import url('css/wp-standard.css');

/* Navigation */
@import url('css/navigation.css');

/* Framework for responsive layout */
@import url('css/lemonade.css');

/* Component for mobile navigation */
@import url('css/component.css');

/* =Begin bidirectionality settings (do not change)
-------------------------------------------------------------- */
BDO[DIR="ltr"] {
	direction: ltr;
	unicode-bidi: bidi-override;
}

BDO[DIR="rtl"] {
	direction: rtl;
	unicode-bidi: bidi-override;
}

[DIR="ltr"] {
   direction: ltr;
   unicode-bidi: embed;
}

[DIR="rtl"] {
   direction: rtl;
   unicode-bidi: embed;
}

/* =Media Print
    If you're working on a Child Theme, make sure that all
	media queries are included in your style.css
-------------------------------------------------------------- */
@media print {

    h1 {
	    page-break-before: always;
    }

    h1,  h2,  h3,  h4,  h5,  h6 {
	    page-break-after: avoid;
    }

    ul,  ol,  dl {
	    page-break-before: avoid;
    }
}

/* =Responsive (Mobile) Design
-------------------------------------------------------------- */

body {
	background: #eeeeee;
	color: #000;
	margin: 0 .3em;
	}

a {
	color: #5c5c5c;
	text-decoration: none;
	}

address { font-style: normal; }

h1 { margin: 0; }
h2 {
	font-size: 1.3em;
	line-height: 1.3;
	margin-bottom: .4em;
	}
	
li { list-style-type: none; }

p {
	font-size: .9em;
	line-height: 1.3;
	margin-bottom: .6em;
	}

section,
aside {
	float: left;
	position: relative;
	width: 100%;
	}

/* --- Layout --- */
#page {
	margin: 0 auto;
	max-width: 60em; /* 960px */
	}

.site-header,
.site-content,
.site-footer {
	clear: left;
	float: left;
	position: relative;
	width: 100%;
	}

.primary,
.secondary,
.tertiary {
	padding: 1.6em .8em;
	width: 100%;
	}

.site-header {
	border-top: .5em solid #cc2707;
	margin: 0;
	}
.site-header a { display: block; }
.site-header .logo { width: 13em; }

.references {
	background: #cc2707; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2UwMDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNiMTBlMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #cc2707 0%, #b10e00 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cc2707), color-stop(100%,#b10e00)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #cc2707 0%,#b10e00 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #cc2707 0%,#b10e00 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #cc2707 0%,#b10e00 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #cc2707 0%,#b10e00 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc2707', endColorstr='#b10e00',GradientType=0 ); /* IE6-8 */
	}

p img { margin-bottom: 1em; }

.collapse { padding: 1.6em .8em .3em .8em; }
.banner .collapse { padding: 0 }

.entry-content { padding-bottom: 1em; }

.attachment-post-thumbnail { margin-bottom: .2em }

.entry-content p a:hover { text-decoration: underline; }
.breadcrumbs a:hover {
	border-bottom: 2px solid #cc2707;
	color: #000;
	padding-bottom: .1em;
	}

/* --- Specific modules/pages --- */
.meta {
	background: #cc2707;
	padding: .8em .8em .5em .8em;
	text-align: right;
	}
.meta li {
	display: inline-block;
	margin-left: .5em;
	}
.meta .icon { width: 2.4em; }

/* --- Slider --- */
.banner {
	overflow: auto;
	position: relative;
	}
.banner li {
	display: table;
	height: 230px;
	list-style: none;
	}
.banner ul li {
	background-size: cover !important;
	background-position: left center !important;
	float: left;
	min-height: 230px;
	width: 100%;
	}
.banner li h2 {
	display: table-cell;
	padding: 0 2em;
	vertical-align: middle;
	}

.banner .dots {
	position: absolute;
		right: 1em;
		top: 1em;
	}
.banner .dots li {
	background: #fff;
	border-radius: .5em;
	cursor: pointer;
	display: inline-block;
	height: 1em;
	margin: 0 .3em;
	text-indent: -999em;
	width: 1em;
	}
.banner .dots li.active {
	background: #797a7d;
	}
.banner .dots li:only-child { display: none; /* Hides dot if there is only one slide */ }

.cottage { margin-bottom: .8em; }

.ads { padding: .8em .8em .6em .8em; }
.ads:last-of-type { margin-bottom: 0; }
.ads p {
	font-size: 1em;
	line-height: 1.4;
	margin: 0;
	}
.cottage a {
	color: #000;
	display: block;
	font-weight: bold;
	}

/* -- Typography --- */
.tk-museo-slab { font-weight: normal; }

article h1 {
	font-size: 1.4em;
	margin-bottom: .4em;
	}

.contact-section .email,
.contact-section .tel { font-weight: bold; }
.contact-section .tel { margin-top: 1.2em; }

.statement {
	font-size: 1.4em;
	line-height: 1.3;
	margin: .4em 0 .8em 0;
	}

.breadcrumbs {
	color: #5c5c5c;
	font-size: .8em;
	margin-bottom: 3em;
	text-transform: uppercase;
	}
	.breadcrumbs .current-item {
		border-bottom: 2px solid #cc2707;
		color: #000;
		padding-bottom: .1em;
		}

.text-center { text-align: center; }
.text-right {
	padding-left: 10%;
	text-align: right;
	}

/* --- Colors --- */
.primary { background: #cc2707; }

.primary,
.primary a { color: #fff; }

.secondary { background: #fff; }

.white-text { color: #fff; }

.site-footer {	border-bottom: .5em solid #cc2707; }
.site-footer b a { color: #cc2707; }

.light-grey { background: #eeeeee; }

/* --- Generic classes --- */
.allcaps {
	font-size: 1em;
	font-weight: normal;
	letter-spacing: .05em;
	text-transform: uppercase;
	}

.border-full { border: 1px solid #999; }
.border-top { border-top: 1px solid #999; }
.border-bottom { border-bottom: 1px solid #999; }
.border-bottom:last-child { border: 0 none; }
.border-sides {
	border-right: 1px solid #999;
	border-left: 1px solid #999;
	}
.border-sides-top {
	border-top: 1px solid #999;
	border-right: 1px solid #999;
	border-left: 1px solid #999;
	}
.border-sides-bottom {
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	border-left: 1px solid #999;
	}

.brandlogo {
	float: right;
	width: 5em !important;
	}

.breathe { padding: 1.6em .8em; }
.breathe:first-child { padding-top: 0; }
.breathe:last-child { padding-bottom: 0; }

.group:after {
  content: "";
  display: table;
  clear: both;
}

.hide { display: none; }

.icon { display: block; }
.icon-bottom-margin { margin-bottom: .8em; }

.margin-bottom,
.margin-bottom:nth-child(1) {
	margin-bottom: 2.4em;
	}
	.rehabilitation .margin-bottom { margin-bottom: 0; }
.margin-bottom:last-child { margin: 0; }

.org {
	font-weight: bold;
	margin-bottom: .2em;
	}

.position { margin-bottom: .4em; }

.productphoto { margin-bottom: .4em; }

img.quotemark {
	margin-bottom: .6em;
	width: 4.5em;
	}
.read-more {
	clear: left;
	font-weight: bold;
	}

.social-media { margin-left: 0; }

.text-shadow { text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75); }

.vcard { line-heigh: 1.4; }

@media (min-width: 35em) {
.site-header .logo {
	margin-bottom: 2em;
	width: 13em;
	}
.home .services .bit-2 { margin: 0; }

article h1 { font-size: 1.6em; }

.primary, .secondary, .tertiary { padding: 3.6em 4.2em; }
.site-header { padding: 2.5em 4.2em; }
.site-footer {
	border-top: .5em solid #cc2707;
	border-bottom: 1px solid #999;
	padding: 1.5em 4.2em;
	}
.site-footer p { margin: 0; }
.site-footer .contact { float: right; }

.collapse { padding: 1.6em 4.2em .3em 4.2em; }

.banner-text {
	font-size: 2em;
	}

.cottages .bit-2:nth-of-type(odd) { padding-right: .3em; }
.cottages .bit-2:nth-of-type(even) { padding-left: .3em; }

.banner .dots {
	position: absolute;
		right: 4.2em;
		top: 1em;
	}

}

@media (min-width: 56.25em) {
.site-header .logo {
	margin-bottom: 0;
	}

.social-media { margin-left: 10%; }

.meta {
	padding: .5em;
	position: fixed;
		right: 0;
		bottom: 35%;
	width: 3.8em;
	z-index: 1;
	}
	.meta li { margin: .2em 0; }
}