/*
Theme Name: Skogservice
Author: Mattis Hovden Aas
Author URI: https://dovremedia.no
Description: Design for Skogservice AS.
Version: 1.0
*/


/* FONTS */

@import url('https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700');

/* WORDPRESS IMG  */

#page-content-wrapper img {
	max-width:100%;
	height:auto;
}

img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}


/* PAGE */

body {
	background:#434343;
	-webkit-font-smoothing:antialiased;
}

.mob-info {
	display:none;
}

#wrapper {
	padding-left:340px;
	transition:all 0.4s ease 0s;
	-webkit-transition:all 0.4s ease 0.4s;
	-moz-transition:all 0.4s ease 0.4s;
	font-family:"Ubuntu", Helvetica, Arial, sans-serif;
}

#page-content-wrapper a, .mob-info a {
	color:#39462a;
	transition:all 300ms ease;
	-webkit-transition:all 300ms ease;
	-moz-transition:all 300ms ease;
}

#page-content-wrapper a:hover, .mob-info a:hover {
	text-decoration:none;
	color:#707070;
	transition:all 100ms ease;
	-webkit-transition:all 100ms ease;
	-moz-transition:all 100ms ease;
}

#sidebar-wrapper {
	margin-left:-340px;
	left:340px;
	width:340px;
	background:#272727;
	position:fixed;
	height:100%;
	overflow-y:auto;
	z-index:1000;
	transition:all 0.4s ease 0s;
	-webkit-transition:all 0.4s ease 0s;
	-moz-transition:all 0.4s ease 0s;
	border-bottom:solid 5px #39462a;
}

#sidebar-footer {
	float:left;
	width:100%;
	height:210px;
	background:#39462a;
	position:absolute;
	bottom:0;
	overflow-y:auto;
}

#sidebar-footer ul {
	padding:20px 50px;
}

#sidebar-footer ul li {
	list-style:none;
	color:#fff;
	line-height:2em;
	font-size:1.4em;
	font-weight:100;
}

#sidebar-footer a {
	color:#fff;
	font-weight:700;
	transition:all 300ms ease;
	-webkit-transition:all 300ms ease;
	-moz-transition:all 300ms ease;
}

#sidebar-footer a:hover {
	text-decoration:none;
	color:#707070;
	transition:all 100ms ease;
	-webkit-transition:all 100ms ease;
	-moz-transition:all 100ms ease;
	position:relative;
	left:3px;
}

#page-content-wrapper {
	width:100%;
	color:#707070;
	font-size:1.15em;
	line-height:1.85em;
}

#page-content-wrapper p {
	margin-top:15px;
}

.sidebar-nav {
	position:absolute;
	top:0;
	width:340px;
	list-style:none;
	margin:0;
	padding:0;
}

.sidebar-nav li {
	line-height:40px;
}

.sidebar-nav li a {
	display: block;
	text-decoration: none;
	color:#707070;
	font-size:1.6em;
	text-transform:uppercase;
	font-weight:500;
	transition:all 300ms ease;
	-webkit-transition:all 300ms ease;
	-moz-transition:all 300ms ease;
	padding:5px 50px 5px 50px;
}

.sidebar-nav li a:hover {
	color:#fff;
	text-decoration: none;
	transition:all 100ms ease;
	-webkit-transition:all 100ms ease;
	-moz-transition:all 100ms ease;
}

.sidebar-nav li.current-menu-item a {
	color:#fff;
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
  text-decoration: none;
}

.sidebar-nav li:nth-child(4) a,
.sidebar-nav li:nth-child(5) a {
	line-height:30px;
}

.sidebar-nav > .sidebar-brand {
	line-height:30px;
	background:#313131;
	padding:30px 0px 20px 0px;
	margin-bottom:20px;
}

#leaf {
	background:url('https://skogservice.no/no/wp-content/themes/skogservice/images/leaf.png') no-repeat center;
	width:100%;
	height:64px;
	text-align:center;
	margin-bottom:10px;
}

.sidebar-nav > .sidebar-brand a {
	line-height:30px;
	font-size:1.9em;
	color:#fff;
	font-weight:300;
	transition:all 1s ease;
	-webkit-transition:all 1s ease;
	-moz-transition:all 1s ease;
}

.sidebar-nav > .sidebar-brand a:hover {
  color: #39462a;
  background: none;
  position:inherit;
  transition:all 1s ease;
  -webkit-transition:all 1s ease;
  -moz-transition:all 1s ease;
}

.slogan {
	color:#707070;
	padding:0px 50px;
	font-size:1.15em;
	text-transform:uppercase;
	font-weight:300;
	margin:0px;
}

.content-header {
	height:65px;
	line-height:65px;
}

#page-content-wrapper h1 {
	margin:75px 0px 40px 0px;
	line-height: 60px;
	display: inline-block;
	font-size:2.75em;
	font-weight:700;
	color:#272727;
}

#page-content-wrapper h2 {
	margin:0px 0px 20px 0px;
	line-height: 40px;
	font-size:1.8em;
	font-weight:700;	
}

input, textarea {
	max-width:450px;
	padding:8px;
	background:#e8e8e8;
	border:none;
	color:#272727 !important;
}

input:focus, textarea:focus {
	background:#fff;
}


/* MISC */

video#bg {
	position:absolute;
	left:0px;
	top:0px;
	right:0px;
	bottom:0px;
	width:auto;
	height:auto;
	min-width:100%;
	min-height:100%;
	overflow:hidden;
}

.home-message2 {
	position:absolute;
	right:0px;
	bottom:0px;
	margin:75px;
	padding:20px 25px;
	font-size:40px;
	font-weight:bold;
	color:#f21e1e;
	background:rgba(255,255,255,0.8);
	border-radius:5px;
}

.home-message {
	position:absolute;
	right:0px;
	bottom:0px;
	padding:75px;
	font-size:40px;
	font-weight:bold;
}

.home-message a {
	color:#fff;
}

.home-message a:hover {
	color:#fff;
	text-decoration:underline;
}

.event-message {
	position:absolute;
	left:0px;
	right:0px;
	top:0px;
	bottom:0px;
	min-width:100%;
	min-height:100%;
	display:table;
	background:url("https://skogservice.no/no/wp-content/uploads/2016/08/LOGSET_12H-GTE-HYBRID_3.jpg") center center;
	background-size:cover;
}

.event-message .inner1 {
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.5);
	padding:25px;
}

.event-message .inner2 {
	width:100%;
	height:100%;
	display:table-cell;
	text-align:center;
	vertical-align:middle;
	color:#fff;
	padding:0px 100px 0px 400px;
}

@media only screen and (max-width:768px) {
	
	.event-message .inner2 {
		padding:20px;
	}
	
	/*.event-message {
		z-index:-1;
	}
	
	.event-message .inner {
		display:none;
	}*/
}

.entry {
	margin-bottom:50px;
}

#menu-toggle {
	display: none;
}

#lang-switch {
	background:url('https://skogservice.no/no/wp-content/themes/skogservice/images/flag-en.png') no-repeat center;
	width:32px;
	height:24px;
	display:inline-block;
	position:absolute;
	top:10px;
	right:10px;
	opacity:0.7;
	z-index:10;
	transition:all 300ms ease;
	-webkit-transition:all 300ms ease;
	-moz-transition:all 300ms ease;
}

#lang-switch:hover {
	opacity:1;
	transition:all 100ms ease;
	-webkit-transition:all 100ms ease;
	-moz-transition:all 100ms ease;
}

.inset {
	padding:40px;
}

#nav-arrows {
	display:none;
}

.grey-box {
	float:left;
	padding:25px;
	margin:0px 20px 20px 0px;
	background:#e8e8e8;
}

.grey-box h2 {
	margin:0px !important;
}

.grey-box img {
	margin-bottom:15px;
}

.ad-list ul {
	list-style:none;
	padding:25px;
	margin-bottom:20px;
	background:#e8e8e8;
}

.ad-list ul li {
	margin-bottom:15px;
}

p strong, .ad-list ul strong {
	color:#272727;
}

.fat {
	font-weight:700;
}

.sold {
	color:#bf0000;
	font-weight:700;
	font-style:italic;
}

hr {
	margin:40px 0px !important;
	border-top:solid 1px rgba(255,255,255,0.25) !important;
}

.wpcf7 {
	color:#272727;
}

.wpcf7-submit {
	color:#fff !important;
	background:#313131;
	border:none;
	font-weight:700;
	border-radius:2px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	font-size:1em;
	padding:15px 35px;
}

.wpcf7-submit:hover, .wpcf7-submit:active {
	background:#272727;
}


/* TABLES */

table {
	margin:10px 0px 40px 0px;
	background:#e8e8e8 !important;
}

table td {
	padding:25px;
	border:none;
}

table img {
	border-radius:2px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
}


/* RESPONSIVE */

@media (max-width:1100px) {
	#wrapper {
	  padding-left:250px;
	}
	
	#sidebar-wrapper {
	  margin-left:-250px;
	  left:250px;
	  width:250px;
	}
	
	.sidebar-nav {
	  width:250px;
	}
	
	.sidebar-nav li a {
		font-size:1.4em;
		padding:2px 35px;
	}
	
	#sidebar-footer {
		height:175px;
	}
	
	#sidebar-footer ul {
		padding:20px 35px;
	}
	
	#sidebar-footer ul li {
		line-height:1.8em;
		font-size:1.2em;
	}

	#leaf {
		background:url('https://skogservice.no/no/wp-content/themes/skogservice/images/leaf.png') no-repeat center;
		margin-bottom:5px;
	}

	.sidebar-nav > .sidebar-brand {
		line-height:40px;
		background:#313131;
		padding:20px 0px 15px 0px;
		margin-bottom:15px;
	}

	.sidebar-nav > .sidebar-brand a {
		font-size:1.5em;
	}

	.slogan {
		padding:0px 35px;
		font-size:0.85em;
		line-height:15px;
	}
	
		
	input, textarea {
		max-width:75%;
	}
	
	#page-content-wrapper h1 {
		margin:65px 0px 30px 0px;
		line-height:50px;
		font-size:2.4em;
	}
	
	#page-content-wrapper h2 {
		margin:0px 0px 20px 0px;
		line-height: 35px;
		font-size:1.8em;
	}
	
	#page-content-wrapper {
		font-size:1.2em;
		line-height:1.7em;
	}
}

@media only screen and (max-height:880px) and (min-width:1100px) {
	#sidebar-footer {
		display:none;
	}
}

@media only screen and (max-height:745px) and (max-width:1100px) {
	#sidebar-footer {
		display:none;
	}
}

@media only screen and (max-width:767px) {
	video#bg {
		display:none;
	}

	.home-message {
		display:none;
	}

	.mob-info {
		display:inline-block;
		width:100%;
		text-align:right;
		position:fixed;
		right:35px;
		bottom:15px;
	}
	
	.mob-info ul {
		list-style:none;
		color:#fff;
		line-height:2em;
	}

	.mob-info ul li {
		font-size:1.2em;
	}

	.mob-info ul li.name {
		font-size:1.7em;
	}

	#wrapper {
	  padding-left: 0;
	}
	
	#sidebar-wrapper {
	  left: 0;
	}
	
	#wrapper.active {
	  position: absolute;
	  left: 250px;
	}
	
	#wrapper.active #sidebar-wrapper {
	  left: 250px;
	  width: 250px;
	}
	
	#menu-toggle {
		display:inline-block;
		position:relative;
		top:10px;
		left:10px;
		color:#fff;
		background:#313131;
		border:none;
		font-weight:700;
		border-radius:2px;
		-moz-border-radius:2px;
		-webkit-border-radius:2px;
	}
	
	#menu-toggle:hover, #menu-toggle:active {
		background:#272727;
	}
	
	.inset {
	  padding:15px 25px;
	}
	
	#sidebar-footer {
		display:none;
	}
	
	#page-content-wrapper h1 {
		margin:50px 0px 25px 0px;
		line-height:45px;
		font-size:2.2em;
	}
	
	#page-content-wrapper h2 {
		margin:0px 0px 25px 0px;
		line-height: 25px;
		font-size:1.75em;
	}
	
	#page-content-wrapper {
		font-size:1.1em;
		line-height:1.75em;
	}	
}

@media only screen and (max-width:550px) {
	#page-content-wrapper h1 {
		margin:40px 0px 20px 0px;
		line-height:40px;
		font-size:2em;
	}
	
	#page-content-wrapper h2 {
		margin:0px 0px 20px 0px;
		line-height: 20px;
		font-size:1.5em;
	}
	
	#page-content-wrapper {
		font-size:1em;
		line-height:1.7em;
	}
}

@media only screen and (max-height:500px) {
	.sidebar-nav li a {
		font-size:1.2em;
		padding:0px 35px;
	}
	
	#sidebar-footer {
		height:175px;
	}
	
	#sidebar-footer ul {
		padding:10px 35px;
	}
	
	#sidebar-footer ul li {
		line-height:1.8em;
		font-size:1.2em;
	}
}