/*
Theme Name: Hardnor
Theme URI: http://underscores.me/
Author: Espen M. Kvalheim
Author URI: http://www.zpirit.no
Description: Theme made for Hardnor.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hardnor
Tags:

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.

 Hardnor is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Reset
2.0 Typography
3.0 Elements
4.0 Forms
5.0 Navigation
	5.1 Links
	5.2 Menus
6.0 Accessibility
7.0 Alignments
8.0 Clearings
9.0 Widgets
10.0 Content
	10.1 Posts and pages
	10.2 Asides
	10.3 Comments
11.0 Infinite scroll
12.0 Media
	12.1 Captions
	12.2 Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Reset
--------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}

ol,
ul {
	list-style: none;
}

table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

a img {
	border: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/

@font-face {
  font-family: "FontAwesome";
  src: url('inc/font-awesome/fonts/fontawesome-webfont.eot');
  src: url('inc/font-awesome/fonts/fontawesome-webfont.eot?#iefix') format('eot'), url('inc/font-awesome/fonts/fontawesome-webfont.woff') format('woff'), url('inc/font-awesome/fonts/fontawesome-webfont.ttf') format('truetype'), url('inc/font-awesome/fonts/fontawesome-webfont.svg#FontAwesome')    format('svg');
  font-weight: normal;
  font-style: normal;
}

body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.5;
}
.home article .entry-header h1,
.page-template-page-aktuelt-php .aktuelt-wrapper h1,
.page-template-page-ansatte-php .kontakt-wrapper h2,
.search-results h1.entry-title {
	text-transform: uppercase;
	font-weight: bold;
	margin-top: 0.5em;
	font-size: 22px;
	font-size: 2.2rem;
	line-height: 1.2;
}
p.ansatt-telefon:before {
    font-family: "FontAwesome";
    content: "\f095";
    margin-right: 12px;
}
p.ansatt-epost:before {
    font-family: "FontAwesome";
    content: "\f003";
    margin-right: 10px;
}
p.ansatt-telefon,
p.ansatt-epost {
    margin-bottom: 0;
}
p.ansatt-tittel {
    margin-bottom: 0;
}
.home article.sticky .entry-header h1 {
	text-transform: uppercase;
	font-weight: bold;
	margin-top: 0.5em;
	font-size: 32px;
	font-size: 3.2rem;
	line-height: 1.2;
}
@media screen and (max-width: 750px) {
	.home article.sticky .entry-header h1 {
		text-transform: uppercase;
		font-weight: bold;
		margin-top: 0.5em;
		font-size: 22px;
		font-size: 2.2rem;
		line-height: 1.2;
	}
}

h1.entry-title,
h1.post-title,
h1.page-title {
	font-size: 32px;
	font-size: 3.2rem;
}
h2 {
	font-size: 22px;
	font-size: 2em;
}
#primary .small-info h3 {
	font-size: 1.1em;
	font-weight: bold;
	line-height: 1.3em;
}
#primary .small-info h4 {
	margin-top: 1em;
	line-height: 1em;
}
p {
	margin-bottom: 1.5em;
}
#primary .small-info p {
	margin-bottom: 0.2em;
	}
b,
strong {
	font-weight: bold;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

small {
	font-size: 75%;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
	border-top: 1px solid #cccccc;
	border-left: 1px solid #cccccc;
}

table td {
	border-right: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	padding: 3px 6px;
}

th {
	font-weight: bold;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}

input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}

textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 100%;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a,
a:visited {
	color: #333333;
	text-decoration: underline;
	transition: all 0.1s ease-in-out;
}

a:hover,
a:focus,
a:active,
#product-range-wrapper ul li a:hover {
	transition: all 0.1s ease-in-out;
	color: #fdb813;
}
.home article .entry-header h1 a,
.page-template-page-aktuelt-php .aktuelt-wrapper h1 a {
	text-decoration: none;
}
.home article.sticky .entry-header h1 a {
	text-decoration: none;
	color: #ffffff;
}

a.more-link {
	color: #333333;
	background-color: #fdb813;
	padding: 15px 20px 13px;
	text-decoration: none;
	border-radius: 3px;
	top: 2px;
	position: relative;
	border-bottom: 0px solid rgba(0,0,0,0.1);
}
.home .salg-content a.more-link {
	font-size: 1.2em;
}
a:hover.more-link,
.hardnor-slider li.ms-layer .msHtmlOverlay .layer .ms_content_wrap .content a:hover,
a:active.more-link,
.hardnor-slider li.ms-layer .msHtmlOverlay .layer .ms_content_wrap .content a:active {
	background-color: #ffc847;
	box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
	top: 0;
	border-bottom: 2px solid rgba(0,0,0,0.1);

}
.ms_content_wrap {
	background-color: transparent!important;
}
.hardnor-slider li.ms-layer .msHtmlOverlay .layer .ms_content_wrap .content a {
	color: #333333;
	background-color: #fdb813;
	padding: 8px 15px 6px;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 3px;
	text-shadow: none;
	box-shadow: 0px 0px 10px black;
	display: inline-block;
}
.edit-link {
	display: none;
}
nav.navigation {
	float: left;
	clear: both;
	width: 100%;
	margin-bottom: 20px;
}
nav.navigation a {
    text-decoration: none;
}
nav.navigation .nav-previous,
nav.navigation .nav-next {
    padding: 15px 0;
}
nav.navigation .nav-previous a:before {
    content: "\f104";
    font-family: "FontAwesome";
    margin-right: 10px;
}
nav.navigation .nav-next a:after {
    content: "\f105";
    font-family: "FontAwesome";
    margin-left: 10px;
}
.offer-link {
	margin: 15px 0;
}
footer#colophon a,
.offer-link a {
	color: #ffffff;	
}
footer#colophon a:hover,
.offer-link a:hover {
	color: #fdb813;	
}
#colophon nav.footer-navigation li a {
	padding: 5px 0;
	display: block;
	text-decoration: none;
}


/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/


.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	float: right;
}

.main-navigation li {
	float: left;
	text-transform: uppercase;
	position: relative;
}

.main-navigation li a {
	color: #ffffff;
	display: block;
	padding: 40px 10px 40px;
	text-decoration: none;
}
.main-navigation li.page_item_has_children:after {
    position:absolute;
	color: #888888;
    font-family: "FontAwesome";
    top: 37px;
    right: 5px;
    content: "\f0dd";
    font-size: 0.8em;
}

.main-navigation ul ul {
	background-color: #eaeaea;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 80px;
	left: -999em;
	z-index: 99999;
}
.main-navigation ul li:last-child ul {
	display:none;
}
.main-navigation ul li:last-child:hover ul {
	right: 0;
display: inline;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li a {
	color: #333333;
	padding: 6px 10px;
	width: 200px;
}
.main-navigation ul li.current_page_item ul li a,
.main-navigation ul li ul li.current_page_item a,
.main-navigation ul li ul.children li.current_page_item a {
	border-bottom: none;
	padding-bottom: 6px;
}


.main-navigation ul ul li {
	border-bottom: 1px solid #fdb813;
}

.main-navigation li:hover > a {
	background-color: #333333;
}

.main-navigation ul ul :hover > a {
	background-color: #bebebe;
}

.main-navigation ul ul a:hover {
}

.main-navigation ul li:hover > ul {
	left: auto;
}
.main-navigation ul ul li:hover > ul {
	left: 100%;
}
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
	border-bottom: 5px solid #fdb813;
	padding-bottom: 36px;
}
.sidebar-menu {
	margin-bottom: 30px;
}
.sidebar-menu h1.menu-title {
	font-size: 22px;
	font-size: 2.2rem;
}
.sidebar-menu ul {
	list-style: none;
	margin: 0;
}
.sidebar-menu ul li.menu-parent a {
}
.sidebar-menu ul li a {
	display: block;
	padding: 10px 0;
	border-bottom: none!important;
	text-decoration: none;
}
.sidebar-menu ul li.current_page_item a {
	padding-left: 15px;
	border-left: 5px solid #fdb813;
}

#colophon nav.footer-navigation ul {
    -moz-column-count: 2;
    -moz-column-gap: 20px;
    -webkit-column-count: 2;
    -webkit-column-gap: 20px;
    column-count: 2;
    column-gap: 20px;
    list-style: none;
    margin: 20px 0 0 0;
}
#colophon nav.footer-navigation li {
	border-bottom: 1px solid #444444;
}
/* Small menu */
.menu-toggle {
	display: none;
}


.main-navigation li.menu-item-863 a {
	color: #000;
	background-color: #fdb813;
	padding-left: 15px;
	padding-right: 15px;
	border-bottom: 1px solid #fdb813;
}
.main-navigation li.menu-item-863 a:hover {
	background-color: #FFF;
	border-bottom: 1px solid #FFF;
}
.main-navigation li.menu-item-863.current_page_item a {
	border-bottom-width: 5px;
} 

@media screen and (max-width: 1150px) {
	.main-navigation li a {
		padding: 40px 10px 40px;
	}
	.main-navigation li.page_item_has_children:after {
	    right: 0;
	}
	.main-navigation li {
		float: left;
		text-transform: uppercase;
		position: relative;
	}
}

@media screen and (max-width: 1000px) {
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}
	.main-navigation ul {
		display: none;
		float: left;
	}
	.main-navigation ul {
		width: 100%;
		background: #444444;
	}
	.main-navigation li a {
		padding: 10px 12px;
	}
	.main-navigation ul ul {
		top: 40px;
		display: block;
		width: 200px;
	}
	.main-navigation li.page_item_has_children:after {
	    top: 10px;
	    right: 1px;
	}
	.main-navigation .current_page_item > a,
	.main-navigation .current-menu-item > a,
	.main-navigation .current_page_ancestor > a {
		padding-bottom: 5px;
	}
	button.menu-toggle {
		position: absolute;
		right: 10px;
		top: 30px;
		border: none;
		border-radius: none;
		background: transparent;
		box-shadow: none;
		color: white;
		-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
		font-size: 15px;
		font-size: 1.5rem;
		line-height: 1;
		padding: .6em;
		text-shadow: none;
		text-transform: uppercase;
	}
	button.menu-toggle:before {
	    font-family: "FontAwesome";
	    content: "\f0c9";
	    margin-right: 10px;
	}
	.main-navigation.toggled button.menu-toggle:before {
	    content: "\f00d";
	}
	
	
	button.menu-toggle:hover,
	button.menu-toggle:focus {
		border-color: none;
		background: none;
	}

}
@media screen and (max-width: 600px) {
	button.menu-toggle {
		top: 15px;
	}
	.main-navigation li {
		float: left;
		width: 50%;
		text-align: center;
		border-left: 1px solid #333333;
		border-top: 1px solid #333333;
	}

	.main-navigation li a {
		padding: 10px 10px;
		display: block;
	}
	.main-navigation ul ul {
		top: 40px;
		display: block;
		width: 100%;
	}
	.main-navigation ul ul li {
		text-align: left;
		float: left;
		width: 100%;
		border-left: none;
		border-top: none;
	}

	.main-navigation ul ul li a {
		width: 100%;
	}
	.main-navigation li.page_item_has_children:after {
	    top: 10px;
	    right: 5px;
	}
	.main-navigation .current_page_item > a,
	.main-navigation .current-menu-item > a,
	.main-navigation .current_page_ancestor > a {
			border-bottom: none;
			border-left: 5px solid #fdb813;
			padding-bottom: 10px;
			padding-left: 5px;
	}
	.sidebar-menu {
		display: none;
	}
}
.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* METASLIDER*/
.hardnor-slider .flex-control-nav {
	position: absolute;
	z-index: 2;
	bottom: 30px!important;
}
.hardnor-slider .flex-control-paging li a {
	background-color: rgba(255, 255, 255, 0.6);
}
.hardnor-slider .flex-control-paging li a.flex-active {
	background-color: #f1ac1c;
}
.hardnor-slider {
	text-shadow: 0px 0px 5px black
}
.hardnor-slider li.ms-layer .msHtmlOverlay {
	background: url('images/shadow-bottom.png') repeat-x bottom center transparent;
	background-size: 50% 50%;
}
@media screen and (max-width: 900px) {
	.hardnor-slider li.ms-layer .msHtmlOverlay .layer .ms_content_wrap .content span a {
		display: none;
	}
	.hardnor-slider li.ms-layer .msHtmlOverlay {
		font-size: 1.1em;
	}
}
@media screen and (max-width: 600px) {
	.hardnor-slider .flex-control-nav {
		display: none;
	}
	.hardnor-slider li.ms-layer .msHtmlOverlay .layer .ms_content_wrap .content span {
		display: none;
	}
	.hardnor-slider li.ms-layer .msHtmlOverlay {
		background: none;
	}
}



/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/

.sticky {
  position: fixed;
  z-index: 2;
  top: 0;
  width: 100%;
  transition: all 2s;
  box-shadow: 0 0 40px rgba(0,0,0,0.25);
  transition: all 0.2s ease-in-out;
}
.sticky .main-navigation .current_page_item > a{
	padding-bottom: 21px!important;
}
@media screen and (min-width: 601px) {
	.sticky .site-branding {	
		padding: 25px 0 5px 10px!important;
		transition: all 0.2s ease-in-out;
	}
	.sticky .site-branding img {	
		width: 200px;
		transition: all 0.2s ease-in-out;
	}
	.sticky .main-navigation ul li a {
	    padding: 30px 10px 25px;
	    transition: all 0.2s ease-in-out;
	}
}
.sticky + .site-content {
  padding-top: 154px!important;
}
.sticky + .hardnor-slider {
  padding-top: 104px;
}
@media screen and (max-width: 600px) {
	.sticky + .site-content {
	  padding-top: 94px!important;
	}
	.sticky + .hardnor-slider {
	  padding-top: 64px;
	}
}


header#masthead {
	background-color: #191919;
	width: 100%;
	  transition: all 2s;

}
.site-branding {
	padding: 30px 0 20px 10px;
	float: left;
	transition: all 0.2s ease-in-out;
}
.site-branding .site-title {
	width: 283px;
	transition: all 0.2s ease-in-out;
}
.site-branding .site-description {
	display: none;
}
.wrapper-full-width,
.site-content {
	margin: 0 auto;
	width: 1200px;
}
#content.site-content {
	padding: 50px 10px 0 10px;
}
.home #content.site-content {
	padding: 0;
}
#product-range-wrapper:after {
	content: "";
	display: block;
	clear: both;
	margin-bottom: 20px;
}
#product-range-wrapper ul {
	list-style: none;
	margin: 0;
}
.home #product-range-wrapper ul {
	margin: 10px;
}
#product-range-wrapper ul li {
	width: 100%;
	float: left;
	margin-right: 2%;
	border: 1px solid #dadada;
	border-bottom: none;
	font-size: 22px;
	font-size: 2.2rem;
	margin-bottom: 10px;
}

#product-range-wrapper ul li {
	width: 100%;
	float: left;
	margin-right: 2%;
	border: 1px solid #dadada;
	border-bottom: none;
	font-size: 24px;
	font-size: 2.4rem;
}
#product-range-wrapper ul li a {
	padding: 50px 0 50px 20px;
	color: #333333;
	text-transform: uppercase;
	display: block;
	border-bottom: 5px solid #f1ac1c;
	text-decoration: none;
	text-shadow:  0px 0px 5px rgba(255, 255, 255, 0.9);
}
#product-range-wrapper ul li.product-maskiner {
	background: url('images/Maskiner.jpg') no-repeat center right transparent;
}
#product-range-wrapper ul li.product-utstyr {
	background: url('images/Utstyr.jpg') no-repeat center right transparent;
}
#product-range-wrapper ul li.product-service {
	background: url('images/Service.jpg') no-repeat center right transparent;
}
#product-range-wrapper ul li.product-maskiner,
#product-range-wrapper ul li.product-utstyr,
#product-range-wrapper ul li.product-service {
	background-size: 40%;
}

.home .content-area {
	margin: 10px;
}
.home .content-area:after,
.home label.column-title:after {
	content: "";
	display: block;
	clear: both;
}
.home article {
	width: 32%;
	float: left;
	margin-right: 2%;
	color: #333333;
}
.home article:last-child {
	margin-right: 0px;
}
.home article img {
	border-bottom: 5px solid #f1ac1c;
}
.home article.sticky {
	background-color: #333333;
	color: white;
	border-bottom: 5px solid #f1ac1c;
	clear: both;
	width: 100%;
}
.home article.sticky img {
	float: right;
	width: 66%;
	border-bottom: none;
}
.home article.sticky .main-content {
	float: left;
	width: 33%;
	padding: 2%;
}
.home label.column-title {
	text-transform: uppercase;
	font-size: 22px;
	font-size: 2.2rem;
}
.home article.sticky label.offer {
	color: #f1ac1c;
}
.home article .entry-content,
.page-template-page-aktuelt-php .aktuelt-wrapper .entry-content {
	margin-top: 0.5em;
}
.single .entry-content {
	border-bottom: 1px solid #cccccc;
}
.page-template-page-aktuelt-php .aktuelt-wrapper,
.search-results article {
	clear: both;
	margin-bottom: 20px;
	padding-bottom: 30px;
	float: left; 
	border-bottom: 1px solid #cccccc;  
}
article.aktuelt-wrapper img {
	margin-top: 12px;
	width: 33%;
	float: left;
}
article.aktuelt-wrapper .content-wrapper {
	width: 63%;
	float: right;
}
.page-template-page-ansatte-php .kontakt-wrapper {
	clear: both;
	margin-bottom: 20px;
	padding-bottom: 30px;
}
.page-template-page-ansatte-php .kontakt-wrapper img {
	margin-top: 12px;
	width: 20%;
	float: left;
}
.page-template-page-ansatte-php .person-content {
	width: 75%;
	float: right;
}
article .entry-meta,
.ansatt-tittel {
	color: #AAAAAA;
	padding-bottom: 10px;
}
article .entry-meta a {
	color: #AAAAAA;
}
article .entry-meta a:hover {
	color: #333333;
}

/* IMAGES */
.featured-image img {
	width: 100%;
}

#primary {
	width: 66.67%;
	float: right;
}
.page-template-page-maskin-info-php #primary .entry-content {
	float: left;
	width: 75%;
	}
#secondary {
	width: 25%;
	float: left;
}
#primary .small-info {
	margin-top: 1.5em;
	float: right;
	width: 20%;
	background: #dadada;
	padding: 15px;
	}
#primary .small-info.last-ned p a.maskiner-pdf:before {
	color: #990000;
    font-family: "FontAwesome";
    content: "\f1c1";
    padding-right: 10px;
    font-size: 0.8em;
}
#primary .small-info.last-ned p a:hover {
	color: #666;
}
#primary .small-info.last-ned {
	background: #dadada;
}
.error404 #primary {
	width: 100%;
	float: none;
}
.error404 #secondary {
	display: none;
}
.error-404 {
	padding: 5% 0 15% 0; 
	text-align: center;
}
#secondary {
	width: 25%;
	float: left;
}
.ansatt-wrapper:before,
.ansatt-wrapper:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.ansatt-wrapper:after {
    clear: both;
    margin-bottom: 30px;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.ansatt-wrapper {
    *zoom: 1;
}

.maxwidth {
	max-width: 1180px;
	padding: 0 10px;
	margin: 40px auto;
}

/* LOGO-WRAPPER */

#logoer-wrapper ul {
	list-style: none;
	padding: 0;
	max-width: 1200px;
}
#logoer-wrapper ul li {
	margin-left: 10px;
	margin-right: 10px;
	border: 1px solid #ddd;
	box-shadow: 0 0 50px rgba(0,0,0,0.15);
	text-align: center;
	transition: all 0.2s ease-in-out;
}
#logoer-wrapper ul li:hover {
	box-shadow: 0 0 40px rgba(0,0,0,0.25);
	transition: all 0.2s ease-in-out;
}
#logoer-wrapper ul li a {
	background: no-repeat center center white;
	background-size:50% auto;
	display: block;
	padding: 2.5em 2em;
	text-indent: -5000px;
	overflow: hidden;
	transition: all 0.2s ease-in-out;
}
#logoer-wrapper ul li a:hover {
	background-size:55% auto;
	transition: all 0.2s ease-in-out;
}
@media screen and (max-width: 550px) {
	#logoer-wrapper ul {
		clear:both;
	}
	#logoer-wrapper ul li {
		margin: 1%;
		width: 48%;
		float: left;
	}
	#logoer-wrapper ul li a {
		background: no-repeat center center white;
		background-size:30% auto;
	}
}

@media screen and (min-width: 550px) {
	#logoer-wrapper:before {
		content: ' ';
		background-color: #fdb813;
		height: 30px;
		position: absolute;
		width: 100%;
		z-index: -1;
		margin-top: 32px;
	}

	#logoer-wrapper ul {
		display: flex; /* or inline-flex */
		align-items: stretch;
		align-content: center;
	}
	#logoer-wrapper ul li {
		flex-grow: 1;
		max-width: 25%;
	}
}


/* INTRO-WRAPPER */

#intro-wrapper {
	background-color: #F4F4F4;
	clear:both;
}
.intro-text.maxwidth {
	margin-bottom: 0;
}
#intro-wrapper .intro-text{
	font-size: 28px;
	text-align: center;
	padding-top: 30px;
	padding-bottom: 30px;
}
@media screen and (max-width: 550px) {
	#intro-wrapper {
		margin-top: 1em;
	}
}
@media screen and (max-width: 900px) {
	#intro-wrapper .intro-text{
		font-size: 20px;
		padding-top: 15px;
		padding-bottom: 15px;
	}
}

/* SIDEMENY */
#nav_menu-2 ul {
    list-style: none;
    padding: 0;
    margin: 1em 0 0 0;
}
#nav_menu-2 ul li {
    margin: 1px 0;
}
#nav_menu-2 ul li a {
	padding: 1.5em;
	color: white;
	font-size: 1.2em;
	display: block;
	background-image: linear-gradient(to right, #434343 0%, black 100%);
	text-decoration: none;
	border-left: 5px solid #fdb813;
	transition: all 0.2s ease-in-out;
}
#nav_menu-2 ul li a:after {
	font-family: 'FontAwesome';
	content: '\f054';
	display: 'table';
	font-size: 0.75em;
	position: relative;
	right: 0;
	opacity: 0;
	transition: all 0.2s ease-in-out;
}
#nav_menu-2 ul li a:hover {
	color: #fdb813;
	transition: all 0.2s ease-in-out;
}
#nav_menu-2 ul li a:hover:after {
	font-family: 'FontAwesome';
	content: '\f054';
	display: 'table';
	font-size: 0.75em;
	position: relative;
	right: -1em;
	opacity: 1;
	transition: all 0.2s ease-in-out;
}

/* PRODUKT-Wrapper */
#produkt-wrapper ul {
}
#produkt-wrapper ul li {
	padding: 0;
	color: #333333;
	display: block;
	border: 1px solid #ddd;
	border-bottom: 5px solid #fdb813;
	text-decoration: none;
	text-shadow:  0px 0px 5px rgba(255, 255, 255, 0.9);
	margin: 0;
	padding: 0;
}
@media screen and (min-width: 900px) {
	#produkt-wrapper ul li:nth-child(3n+3) {
		margin-right: 0;
	}
}

#produkt-wrapper ul li {
	width: 32.5%;
	float: left;
	margin-bottom: 15px;
	margin-right: 1%;
	transition: all 0.2s ease-in-out;
	text-align: center;
}
#produkt-wrapper ul li a {
	text-decoration: none;
	transition: all 0.2s ease-in-out;
}
#produkt-wrapper ul li a.svart {
	background-color: #333;
	color: white;
	display: block;
	text-shadow: none;
	transition: all 0.2s ease-in-out;
}
#produkt-wrapper ul li a.svart:hover {
	background-color: #000;
	color: #fdb813;
	display: block;
	text-shadow: none;
	transition: all 0.2s ease-in-out;
}
#produkt-wrapper ul li:hover {
	box-shadow: 0 0 40px rgba(0,0,0,0.15);
	transition: all 0.2s ease-in-out;
}
@media screen and (max-width: 900px) {
	#produkt-wrapper ul li:nth-of-type(even) {
		margin-right: 0;
	}
	#produkt-wrapper ul li {
		width: 49.25%;
	}
	#produkt-wrapper ul li h3 {
		font-size: 1.25em!important;
	}

}
@media screen and (max-width: 550px) {
	#produkt-wrapper ul li {
		width: 100%;
		float: left;
		display: block;
	}
}

#produkt-wrapper ul li h3,
#produkt-wrapper ul li .produkt-illustrasjon {
}
#produkt-wrapper ul li h3 {
	font-size: 1.5em;
	font-weight: bold;
	padding: 20px;
}
#produkt-wrapper ul li .produkt-illustrasjon {
	box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
	min-height: 130px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}

/* SALGS-WRAPPER */
#salg-wrapper {
	background: url('images/parts.png') no-repeat top center #F4F4F4;
	padding-top: 20px;
	padding-bottom: 30px; 
	margin-top: 60px;
}
#salg-wrapper h2 {
	font-size: 44px;
}
#salg-wrapper p {
	font-size: 18px;
}
#intro-wrapper:after {
  content: "";
  display: table;
  clear: both;
}
.salg-content.maxwidth.aligncenter {
	margin: 0 auto 40px auto!important;
}



.aligncenter {
	text-align: center;
}

footer#colophon {
	margin-top: 50px;
	background-color: #333333;
	padding: 30px 0;
	color: #ffffff;	
}
.home footer#colophon {
	margin-top: 0;
}
#colophon .site-info,
#colophon nav.footer-navigation {
	width: 50%;
	float: left;
}
#colophon nav.footer-navigation {
	text-transform: uppercase;
}
footer#colophon .wrapper-full-width {
	padding: 10px;
}

@media screen and (max-width: 1201px) {
	.wrapper-full-width,
	.site-content {
		width: 100%;
	}
}
@media screen and (max-width: 900px) {
	#product-range-wrapper ul li.product-maskiner,
	#product-range-wrapper ul li.product-utstyr,
	#product-range-wrapper ul li.product-service {
		background-size: 50%;
	}
	.home #product-range-wrapper ul li {
		font-size: 18px;
		font-size: 1.8rem;
	}	
	.home #product-range-wrapper ul li a {
		padding: 50px 0 50px 20px;
	}
	.site-branding .site-title img {
		width: 200px;
		transition: all 0.2s ease-in-out;
	}
	#secondary {
		width: 30%;
		float: left;
	}
}
@media screen and (max-width: 750px) {
	.home article {
		width: 48%;
	}
	.home article:last-child {
		display: none;
	}
	#colophon .site-info,
	#colophon nav.footer-navigation {
		width: 100%;
		float: none;
	}
	#colophon nav.footer-navigation {
		border-top: 1px solid #666666;
		padding-top: 20px;
	}
	#content.site-content {
		padding: 30px 10px 0 10px;
	}

}
@media screen and (max-width: 600px) {
	.site-branding {
		padding: 20px 0 15px 10px;
		float: left;
	}
	.site-branding .site-title img {
		width: 150px;
	}
	.home #product-range-wrapper ul li {
		width: 100%;
		clear: both;
		float: none;
		margin: 0 0 10px 0;
		font-size: 24px;
		font-size: 2.4rem;
	}
	.home #product-range-wrapper ul li.product-maskiner,
	.home #product-range-wrapper ul li.product-utstyr,
	.home #product-range-wrapper ul li.product-service {
		background-size: 20%;
	}
	.home #product-range-wrapper ul li a {
		padding: 20px 0 18px 20px;
	}
	#secondary, #primary {
		float: none;
		width: 100%;
	}
}
@media screen and (max-width: 500px) {
	.home article {
		width: 100%;
		clear: both;
		margin: 0 0 30px 0;
	}
	.home article:last-child {
		display: block;
	}
	.home article.sticky img,
	.page-template-page-maskin-info-php #primary .entry-content {
		float: none;
		width: 100%;
	}
	.home article.sticky .main-content {
		float: none;
		width: 100%;
		padding: 2% 4%;
	}
	article.aktuelt-wrapper .entry-content p {
		display: none;
	}
	#primary .small-info {
		margin-top: 1.5em;
		float: none;
		width: 100%;
	}

}

/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}
#comments,
#respond {
	clear: both;
	padding-top: 20px;
	margin-top: 30px;
	border-top: 1px solid #cccccc;
}
#respond h3{
	font-size: 22px;
	font-size: 2.2rem;
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*
	Zpirit
*/

footer#colophon .zpirit-tag {
	clear: both;
	padding: 40px 0 0 0;
	margin: 20px auto;
	width: 50px;
	height: 11px;
}
footer#colophon .zpirit-tag a {
	text-indent: -500px;
	display: block;
	background: url('images/zpirit_no_tag.png') no-repeat center center transparent;
	background-size: 100%;
	width: 50px;
	height: 11px;
	overflow: hidden;
    opacity: 0.5;
    filter: alpha(opacity=50); /* For IE8 and earlier */
}
footer#colophon .zpirit-tag a:hover {
	opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */
}