/*
Theme Name: Eneas
Author: Semway
Author URI: http://www.semway.no
Version: 1.0
*/

@import url('reset.css');
@import url('fonts/eneas/styles.css');

/* =Layout
-------------------------------------------------------------- */
html {
	margin:0;
	padding:0;
	height: 100%;
	min-height: 100%;
}
body {
	font-family: "Helvetica", sans-serif;
	font-weight: 300;
	background: #f5f5f5;
	line-height: 1.5;
	font-size: 1.4em;
	height: 100%;
}
h1, h2, h3, h4, h5 {
	font-family: 'Raleway', sans-serif;
}
h1 {font-size: 2.2em; font-weight: 600; padding-bottom: 10px; }
h2 {font-size: 1.3em; font-weight: 500; padding-bottom: 7px;}
h3 {font-size: 1.2em; font-weight: 400; padding-bottom: 5px;}
h4 {font-size: 1em; font-weight: 400; padding-bottom: 3px;}
h4 {font-size: 1em; font-weight: 400; font-style: italic; padding-bottom: 3px;}

.inner {
	margin: 0 auto; 
	width: 960px;
	clear: both;
	position: relative;
}
#wrapper {
	height: 100%;
	position: relative;
	margin-bottom: -50px;
	z-index: 0;
}
#header {
	font-family: 'Armata', sans-serif;
	background: #fff; 
	width: 100%;
	position: relative;
}
#header .inner {
	padding: 5px;
}
#header .inner:after {
	content:'';
	display:block;
	clear: both;
}
#header #flags {
	margin: -3px 0 -22px 0px;
}
#header #flags img {
	height: 20px;
	width: 20px;
}
#header #flags a:hover {
	opacity: 0.6;
	filter: alpha(opacity=60); /* For IE8 and earlier */
}
#header #flags a {
	opacity: 1;
	filter: alpha(opacity=100); /* For IE8 and earlier */
}
#header #logo {
	float: right;
	width: auto;
}
#header #logo a {
	margin: 11px 20px 10px 0;
	width: 175px;
	height: 38px;
	background: url(images/eneas-logo-blue.png) no-repeat;
	display: block;
	color: #fff;
}
#content {
	width: 100%;
	position: relative;
	border-top: 2px solid #dcdcdc; /* #RPT */
}
#content .inner {
	position: relative;
}
#page-content a:visited {
	color: royalblue;
}
#page-content a:hover {
	color: #000;
}

/* front page banner */
#content #masthead {
	z-index: 1;
    overflow: hidden;
    padding: 0;
    width: inherit;
    margin: -1px auto;
    position: relative;
	display:block;
	height: 430px;
}
#content #masthead .flexslider {
    border: 0!important;
	margin-bottom:0px;
}
#content #masthead .flexslider .img:not(:first-child) {
	display:none;
}
/* backup img if banner slider fails*/
#content #masthead #header-img {
	background: url(images/Eneas-Energy-Oslo.jpg) no-repeat;
	background-size: cover;
	background-position: center;
	height: 45vw;
	max-height: 430px;
	display: block;
}
/* end front page banner */
#content #primary {
	font-family: 'Armata', sans-serif;
	position: relative;
	width: inherit;
	margin: 0 auto;
	background-color: #ccc;
}
#content #primary-singlesitemadness {
	font-family: 'Armata', sans-serif;
	position: relative;
	width: inherit;
	margin: 0 auto;
	background-color: #ccc;
	position: relative; 
	width: 800px; 
	margin: 5px auto; 
	padding: 20px; 
	background-color: #FFF; 
	border: 1px dotted #ccc;
	display: block;
}
#content #primary-singlesitemadness .wp-caption-text {
	font-size: 0.8em;
}
#content #selling-point {
	font-weight: 400;
	font-size: 1.3em;
	line-height: 160%;
	color: rgba(29, 44, 74, 0.75);
	padding: 30px 30px 40px 50px;
	background-color: #fff;
	border-bottom: 2px solid #eee;
}
#content #social-icons {
	display:inline-block;
	/*float: right;
	margin-top: -45px;
	margin-right: 10px;*/
	position: absolute;
	right: 5px;
	bottom: 10px;
}
#content #social-icons2 {
	display:none;
	position: relative;
	margin: 4% auto;
	width: 170px;
	z-index: 15;
}
#content #social-icons div, #content #social-icons2 div {
	opacity: 0.6;
	filter: alpha(opacity=60); /* For IE8 and earlier */
}
#content #social-icons div:hover, #content #social-icons2 div:hover {
	opacity: 1;
	filter: alpha(opacity=100); /* For IE8 and earlier */
}
#content #icons  {
	height:40px;
	width:40px;
	background-size: cover;
	background-position: center;
	float:left;
}
#content #social-icons2 #icons {
	height:30px;
	width:30px;
	margin-left: 10px;
}
.facebook {
	background: url(images/facebook-icon.png);
}
.g-plus {
	background: url(images/gplus-icon.png);
}
.linked-in {
	background: url(images/linkedin-icon.png);
}
.twitter {
	background: url(images/twitter-icon.png);
}
#content #front-footer-menu, #content .front-footer-menu {
	font-family: 'Armata', sans-serif;
	width: 100%;
	position: relative;
	background: #ffffff; /* #fbfbfb */
	display: inline-block;
	margin-bottom: 0;
	padding-bottom: 2%;
}
.front-footer-menu .center-content {
	width: 50%;
	margin: 0 auto;
}
.front-footer-menu.sw-col-4 section {
	width: 50%;
	margin-left: 0 !important;
	margin-right: 0;
	margin-bottom: 30px;
	text-align: center;
}
@media (min-width: 601px) {
	.front-footer-menu.sw-col-4 section {
		width: 25%;
		margin-bottom: 0;
	}
}
.front-footer-menu.sw-col-4 section header {
	font-size: 1.7em !important;
}
@media (min-width: 601px) {
	.front-footer-menu.sw-col-4 section header {
		font-size: 1.3em !important;
	}
}
.front-footer-menu.sw-col-4 section content {
	margin-right: 0;
	margin-left: 0 !important;
}
.front-footer-menu.sw-col-4 section content .fa-lg {
	font-size: .5em !important;
}
.front-footer-menu.sw-col-4 section content .fa-bold.sw-relative {
	background-color: #fff;
	position: relative;
	z-index: 1;
}
.front-footer-menu.sw-col-4 section content .fa-rss.sw-absolute {
	font-size: .6em;
	position: absolute;
	top: .45em;
	left: .35em;
}
    #content #front-footer-menu .fa-lg, #content .front-footer-menu .fa-lg {
	    font-size: .9em;
    }
    #content #front-footer-menu .fa-cogs, #content .front-footer-menu .fa-cogs, #content #front-footer-menu .fa-cogs, #content .front-footer-menu .icon {
	    font-size: .7em;
    }
    #content #front-footer-menu .fa-cogs, #content .front-footer-menu .icon {
		position: relative;
		top: .4em;
    }
.rotated {
    -moz-transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}
#content #front-footer-menu a, #content .front-footer-menu a {
	text-decoration: none;
	color: #1d2c4a;
	display: block;
	transition-property: color;
	transition: all 0.25s ease-in-out;
	-webkit-transition-property: color;
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition-property: color;
	-moz-transition: all 0.25s ease-in-out;
	-o-transition-property: color;
	-o-transition: all 0.25s ease-in-out;
}
#content #front-footer-menu a:hover, #content .front-footer-menu a:hover {
	text-decoration: none;
	color: #cfb333;
}
#content #front-footer-menu section, #content .front-footer-menu section {
	margin-top: 1%;
	position: relative;
	float:left;
}
#content #front-footer-menu header, #content .front-footer-menu header {
	position: relative;
	font-size: 1.8em;
	font-weight: 400;
}
#content #front-footer-menu content, #content .front-footer-menu content {
	position: relative;
	font-weight: 400;
}
/* #### */
#content #front-footer-menu #strom, #content .front-footer-menu #strom {
	margin-left: 10%;
}
#content #front-footer-menu #strom.strom-content-fi, #content .front-footer-menu #strom.strom-content-fi {
	margin-left: 12%;
}
#content #front-footer-menu #strom-header, #content .front-footer-menu #strom-header {
	margin-bottom: -3px;
	text-align: center;
}
#content #front-footer-menu #strom-content, #content .front-footer-menu #strom-content {
	margin-left: 26%;
	font-size: 5em;
}
/* #### */
#content #front-footer-menu #energieffektivisering, #content .front-footer-menu #energieffektivisering {
    margin-top: 1.9%;
	margin-left: 14%;
}
#content #front-footer-menu #energieffektivisering-header, #content .front-footer-menu #energieffektivisering-header {
	margin-bottom: 5px;
	text-align: center;
}
#content #front-footer-menu #energieffektivisering-content, #content .front-footer-menu #energieffektivisering-content {
	margin-left: 35%;
	font-size: 4.6em;
    bottom: 4px;
}
/* #### */
#content #front-footer-menu #andre-tjenester, #content .front-footer-menu #andre-tjenester {
	margin-left: 9%;
}
#content #front-footer-menu #andre-tjenester-header, #content .front-footer-menu #andre-tjenester-header {
	text-align: center;
}
#content #front-footer-menu #andre-tjenester-content, #content .front-footer-menu #andre-tjenester-content {
	margin-left: 32%;
	font-size: 5em;
}

#navigation-info {
	font-family: 'Armata', sans-serif;
	position: relative;
	display: block;
	height: 25px;
	font-size: 0.8em;
	margin-left: 23%;
	padding-top: 18px;
	padding-left: 5px;
	color: #d2d2d2;
}

/* left menu start */
.left-sub-menu {
	font-family: 'Armata', sans-serif;
	position: relative;
	display: block;
	width: 23%;
	height: 100%;
	float: left;
	font-size: 1.3em;
	padding: 5px;
}
.left-sub-menu ul {
	list-style: none;
	margin: 0px;
}
.left-sub-menu ul .current_page_item > a {
	color: #cfb333;
}
.left-sub-menu li {
	margin: 0px;
}
.left-sub-menu ul li a {
	width: 100%;
	height: 100%;
	position: relative;
	display: inline-block;
	text-decoration: none;
	white-space: nowrap;
	margin: 0px;
	color: #000;
	font-size: 1em;
}
.left-sub-menu ul li:hover > a, .left-sub-menu ul li .current_page_item a {
	color: #cfb333;
}
.left-sub-menu ul ul {
	margin-bottom: 10px;
}
.left-sub-menu ul ul li {
	
}
.left-sub-menu ul ul li a {
	font-size: 0.6em;
	margin-top: 7px;
}

/* left menu end */

#page-content {
	position: relative;
	display: block;
	width: 77%;
	min-height: 500px;
	float: right;
	background: #fff;
	border-left: 1px dotted #dcdcdc;
	border-top: 1px solid #dcdcdc;
	border-right: 1px solid #dcdcdc;
	border-bottom: 1px solid #dcdcdc;
}
#page-content #article, .nyhetsbrev-class {
	font-size: 0.9em;
	position: relative;
	display: block;
	width: 100%;
	float: none;
	padding-left: 2%;
	padding-top: 1%;
	padding-right:2%;
	padding-bottom: 1%;
}
.nyhetsbrev-class .category-nyhetsbrev {
	margin: -5px;
	padding: 5px;
	margin-bottom: 20px;
}
#page-content #article .entry-content {
	font-size: 1.1em;
}
#page-content #article .entry-header h1 {
	margin-bottom: -20px;
	font-family: 'Armata', 'sans-serif';
	font-weight: 400;
}
.nyhetsbrev-class h1 a {
	margin-bottom: -10px;
	text-decoration: none;
	color: #1d2c4a;
	font-size: 0.8em;
	font-family: 'Armata', 'sans-serif';
	font-weight: 400;
	background: #fbfbfb;
}
.nyhetsbrev-class h1 a:hover {
	margin-bottom: -10px;
	text-decoration: none;
	color: #435d87;
	font-size: 0.8em;
	font-family: 'Armata', 'sans-serif';
	font-weight: 400;
}
#page-content #kontakt a {
	z-index: 50;
	position: relative;
	display: inline-block;
	margin-top: 12px;
	margin-bottom: -30px;
	padding: 5px;
	padding-left: 10px;
	width: 25%;
	float: right;
	border-left: 1px solid #dcdcdc;
	border-top: 1px solid #dcdcdc;
	border-bottom: 1px solid #dcdcdc;
	font-size: 1.1em;
	font-weight: bold;
	color: #435d87;
	text-decoration: none;
	/* blue gradient background */
	background: -webkit-linear-gradient(#f6f6f6,#eaf1f6); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#f6f6f6,#eaf1f6); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#f6f6f6,#eaf1f6); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#f6f6f6,#eaf1f6); /* Standard syntax */
}
#page-content #kontakt a:hover{
	text-decoration: none;
	color: #1d2c4a;
	/* yellow gradient background */
	background: -webkit-linear-gradient(#f8f0c8,#faeaa0); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#f8f0c8,#faeaa0); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#f8f0c8,#faeaa0); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#f8f0c8,#faeaa0); /* Standard syntax */
	cursor: pointer;
	border-left: 1px solid #cccccc;
	border-top: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
}
#page-content #referanser {
	width: 700px;
	margin: 0 auto;
	display: block;
}
#page-content #referanser #referanse-bilde {
	width: 110px;
	height: 70px;
	overflow: hidden;
	float: left;
	margin: 15px;
	margin-bottom: 25px;
	padding: 5px;
	border: 1px solid #ccc;
	border-radius: 5px;
}
.bilderef-wrap {
	width: 100%;
	overflow: hidden;
}
.bilderef-wrap a:link {
	color: black!important;
}
.bilderef-wrap a:visited{
	color: black!important;
}
#bilderef2, #bilderef3, #bilderef2b {
	position: relative;
	display: block;
	width: 200px;
	height: 275px;
	margin-top: 50px;
	margin-left: 100px;
	margin-bottom: 30px;
	padding: 5px;
	float: left;
	text-align: center;
}
#bilderef2 a, #bilderef3 a, #bilderef2b a {
	text-decoration: none;
	color: #1d2c4a;
	filter: sepia(0%);
	-webkit-filter: sepia(0%);
	-moz-filter: sepia(0%);
	transition-property: color, filter;
	transition: all 0.2s ease-in-out;
	-webkit-transition-property: color;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition-property: color;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition-property: color;
	-o-transition: all 0.2s ease-in-out;
}
#bilderef2 a:hover, #bilderef3 a:hover, #bilderef2b a:hover {
	text-decoration: none;
	color: #8b7342!important;
	filter: sepia(100%);
	-webkit-filter: sepia(100%);
	-moz-filter: sepia(100%);
}
#bilderef3 {
	margin-left: 30px;
}
#bilderef2b { 
	margin-top: -60px;
	margin-bottom: 65px;
}
#footer {
	background: #fff;
	width: 100%;
	text-align: center;
	font-family: 'Armata', sans-serif;
	padding-top: 5px;
	padding-bottom: 5px;
	font-size: 0.8em;
	border-top: 2px solid #eee;
	border-bottom: 2px solid #eee;
	margin-top: 20px;
	display: inline-block;
	z-index: 100;
	position: relative;
}
#footer a {
	text-decoration: none;
	color: #1d2c4a;
}
#footer a:hover {
	text-decoration: none;
	color: #435d87;
}

/* change of style on translator plugin */
.ui-dialog {
	background: rgba(255,255,255,1);
	border: 3px solid #000;
	padding: 10px 10px 80px 10px;
}

.main-navigation {
	font-family: 'Armata', sans-serif;
}

.menu-menu-container {
	position: relative;
}
#site-navigation {
	position: relative;
}
ul { padding: 0px; }
li { padding: 0px; }

/* =Menu
----------------------------------------------- */
@media screen and (min-width: 960px) {

	.main-navigation {
		margin: 25px 0 0 0;
		width: 100%;
		padding: 0px;
	}
	.main-navigation ul {
		z-index: 1000;
		list-style: none;
		margin: 0;
		position: relative;
	}
	.main-navigation li {
		z-index: 50;
		float: left;
		margin: 0;
		position: relative;
	}
	.main-navigation ul li a {
		width: 100%;
		height: 100%;
		position: relative;
		z-index: 50;
		display: inline-block;
		padding: 5px 7px 15px;
		margin-bottom: -7px;
		color: #1d2c4a;
		font-size: 1.1em; 
		font-weight: 400;
		text-decoration: none;
		white-space: nowrap;
	}
	.main-navigation ul li a .fa {
		margin-left: 6px;
		margin-top: 5px;
	}
	.main-navigation ul li:hover > a {
		color: #cfb333;
	}
	.main-navigation ul ul {
		position: absolute;
		width: 960px;
		margin-top: 5px;
		(-bracket-:hack; /* target safari */
			margin-top: 7px;
			width: 960px;
		);
		margin-left: -43px;
		background: rgba(255,255,255,0.95);
		border: 1px solid #dcdcdc;
		height: 0px;
		display: block;
		overflow: hidden;
		transition-property: height, display;
    	transition: all 0.5s ease-in-out;
		-webkit-transition-property: height, display;
    	-webkit-transition: all 0.5s ease-in-out;
		-moz-transition-property: height, display;
    	-moz-transition: all 0.5s ease-in-out;
	}
	@media screen and (-webkit-min-device-pixel-ratio:0) {
		.main-navigation ul ul {
			margin-left: -45px;
			margin-top: 6px;
			width: 961px;
		}
	}
	@-moz-document url-prefix() { /* target mozilla firefox */
		.main-navigation ul ul {
			margin-left: -44px;
			margin-top: 5px;
			width: 960px;
		}
	}
	.main-navigation ul li#menu-item-137:hover > ul, .main-navigation ul li#menu-item-158:hover > ul, .main-navigation ul li#menu-item-120:hover > ul, .main-navigation ul li#menu-item-3519:hover > ul {
		height: 310px;
	}
	.home .main-navigation ul li#menu-item-137:hover > ul, .home .main-navigation ul li#menu-item-158:hover > ul, .home .main-navigation ul li#menu-item-120:hover > ul, .home .main-navigation ul li#menu-item-3519:hover > ul {
		height: 351px;
	}
	.main-navigation ul ul li {
		font-size: 1.6em;
		text-align: left;
		width: 310px;
		padding: 0px 0px 0px 10px;
		margin: 10px 0px 0px 2px;
		background: 0;
	}
	.main-navigation ul ul li:first-child {
		margin-left: 50px;
		width: 200px;
	}
	.main-navigation ul ul li a {
		color: #333; 
		margin-left: 5px;
		margin-top: 3px;
	}	
	.main-navigation ul ul li a:hover {
		background: 0;
	}
	.main-navigation ul ul ul {
		border-top: 0;
		display: block;
		font-size: 0.3em;
		width: inherit;
		margin: 0;
		margin-top: 1px;
		border: 0;
		margin-left: 0px;
		background: 0;
		height: 310px;
	}
	.home .main-navigation ul ul ul {
		height: 370px;
		background: 0;
	}
	.main-navigation ul ul ul li {
		margin: 0px;
		margin-top: -5px;
		width: inherit;
		background: none;
		padding-left: 10px;
	}
	.main-navigation ul ul ul li:first-child {
		margin: 0px;
		margin-top: 0px;
		width: 200px;
		padding-left: 10px;
	}
	

}
/* = Responsive menu
-------------------------------------------------------------- */
#right-nav, #overlay, .menu-toggle {display: none;}

@media screen and (max-width: 960px) {
	#overlay {
		position: fixed;
		top: 0;
		left: 0;
		display: none;
		height: 100%;
		min-height: 100%;
		width: 100%;
		z-index: 999;
		background: url(images/loading.gif) no-repeat center center rgba(0,0,0,0.7);
	}
	#right-nav {
		-webkit-transform: translateX(0px);
		-moz-transform: translateX(0px);
		transform: translateX(0px);
		-webkit-overflow-scrolling: touch;
		-moz-overflow-scrolling: touch;
		overflow-scrolling: touch;
		-webkit-backface-visibility: hidden;
		-ms-backface-visibility: hidden;
		backface-visibility: hidden;	
		overflow: scroll;
		width: 250px;
		height: 100%;
		min-height: 100%;
		position: fixed;
		right: -250px;
		top: 0;
		display: block;
		z-index: 99999999;
		background: #f7f7f7;
		-webkit-box-shadow: inset 2px 1px 2px rgba(0,0,0,0.2);
	}
	.menu-toggle, .main-navigation.toggled .nav-menu {display: block;}
	.main-navigation ul {display: none;}
	
	.main-navi {display: none;}
	
	.menu-toggle {
		cursor: pointer;
		line-height: 1;
		color: #000;
		position: absolute;
		top: 11px;
		right: 30px;
		height: 50px;
		width: 50px;
		margin-right: -15px;
	}
	.menu-toggle .fa {
		font-size: 32px;
		line-height: 50px;
		width: 50px;
		text-align: center;
	}
	#right-nav ul {
		margin: 0;
		padding: 0;
		list-style: none;	
		clear: both;
	}
	#right-nav ul li {
		line-height: 50px;
		min-height: 50px;
		text-transform: uppercase;
		width: 100%;
		float: left;
	}
	#right-nav ul li .fa {
		display: block;
		height: 100%;
		position: relative;
		z-index: 99;
		line-height: 50px;
		font-size: 16px;
		width: 50px;
		color: #000;
		float: right;
		text-align: center;
		cursor: pointer;
	}
	#right-nav ul li a {
		text-decoration: none;
		color: #000;
		float: left;
		padding: 0 25px;
		display: block;
		width: 100%;
	}
	/*#right-nav ul li:hover > ul {
		display: block;
	}*/
	/*#right-nav ul li.menu-item-137:hover > ul {
		display: block;
	}*/
	#right-nav ul li.page_item_has_children > a {
		width: auto;
	}
	
	#right-nav ul li.menu-item-has-children > a {
		font-weight: bold;
	}
	
	#right-nav ul ul {
		display: none;
		clear: both;
	}
	#right-nav ul ul li:last-child {
		border-bottom: 0;
	}
	#right-nav ul ul li a {
		padding-left: 35px;
		display: block;
		width: 100%;
		font-size: 0.8em;
	}
	#right-nav ul ul ul {
		display: none;
		clear: both;
	}
	#right-nav ul ul ul li a {
		padding-left: 55px;
		display: block;
		width: 100%;
		font-size: 0.65em;
	}
	.right-nav-active {
		-webkit-transform: translateX(-250px)!important;
		-moz-transform: translateX(-250px)!important;
		transform: translateX(-250px)!important;
	}
} 
/* = 600px and below
----------------------------------------------- */
@media screen and (max-width: 600px) {
	.menu-toggle {
		top: 20px;
	}
	.inner {
		width: 100%;
	}	
	#header .inner {
		width: 96%;
	}
	#header #logo {
		width: 200px;
		float: none;
		margin: 0 auto;
	}
	#header #logo a {
		margin: 0px 20px 20px 0;
	}
	#header #site-navigation {
		display: none;
	}
	#header #flags {
		margin: -7px 0px -57px -5px;
		width: 20px;
	}
	#header #flags img {
		height: 20px;
		width: 20px;
		margin-bottom: -10px;
	}
	#content {
		width: inherit; 
		margin: 0 auto;
	}
	#content #primary-singlesitemadness {
		font-family: 'Armata', sans-serif;
		position: relative;
		width: inherit;
		margin: 0 auto;
		background-color: #ccc;
		position: relative; 
		width: 100vw; 
		margin: 5px auto; 
		padding: 3vw; 
		background-color: #FFF; 
		border: 1px dotted #ccc;
	}
	#content #primary-singlesitemadness img {
		width: 90%;
		width: 90vw;
	}
	#content #primary-singlesitemadness .entry-title {
		font-size: 3em;
		font-size: 5vw;
	}
	#content #primary-singlesitemadness .entry-meta {
		font-size: 0.8em;
	}
	#content #primary-singlesitemadness .entry-summary {
		font-size: 1em;
	}
	/* front page banner */
	#content #masthead {
		height: 100%;
	}
	/* end front page banner */
	#content #selling-point {
		font-size: 1em;
		padding: 4% 5% 0% 5%;
	}
	#content #social-icons {
		margin-top: -35px;
		display: none;
	}
	#content #social-icons2 {
		display: block;
	}
	/* #### */
	#content #front-footer-menu, #content .front-footer-menu {
		font-size: 0.3em;
		font-size: 1.4vw;
	}
	#page-content #kontakt {
		font-size: 0.6em;
		font-weight: normal;
		padding: 2px;
		padding-left: 3px;
		display: none;
	}
	/* subsite */
	#navigation-info {
		position: relative;
		display: block;
		height: 25px;
		margin-top: -20px;
		margin-left: 23%;
	}
	.left-sub-menu {
		padding: 5px;
		font-size: 1.1em;
		width: 23%;
		display: none;
	}
	#page-content {
		width: 100%;
		min-height: 300px;
		float: left;
		border: 0;
		border-top: 1px solid #dcdcdc;
		padding-left: 2px;
		padding-top: 2px;
		border-bottom: 1px solid #dcdcdc;
	}
	#page-content #kontakt a, #page-content #kontakt a:hover {
		margin-top: 6px;
		width: 20%;
	}
	#page-content #referanser {
		width: 95%;
		width: 95vw;
		margin: 0 auto;
		display: block;
		font-size: 0.8em;
		font-size: 2.5vw;
		margin-top: 1%;
		margin-top: 2vw;
	}
	#page-content #referanser #referanse-bilde {
		width: 22%;
		width: 17vw;
		height: auto;
		overflow: hidden;
		float: left;
		margin: 1%;
		margin-bottom: 3%;
		margin: 1vw;
		margin-bottom: 3vw;
		padding: 2%;
		padding: 1vw;
		border: 1px solid #ccc;
		border-radius: 5px;
	}
	.bilderef-wrap {
		width: 100%;
		overflow: hidden;
	}
	#bilderef2, #bilderef3, #bilderef2b {
		font-size: 0.5em;
		font-size: 1.9vw;
		position: relative;
		display: block;
		width: 27%;
		width: 26vw;
		height: auto;
		margin-top: 7%;
		margin-left: 15%;
		margin-bottom: 4%;
		margin-top: 5vw;
		margin-left: 13vw;
		margin-bottom: 3vw;
		padding: 2%;
		padding: 2vw;
		float: left;
		text-align: center;
	}
	#bilderef2 a, #bilderef3 a, #bilderef2b a {
		text-decoration: none;
		color: #1d2c4a;
		filter: sepia(0%);
		-webkit-filter: sepia(0%);
		-moz-filter: sepia(0%);
		transition-property: color, filter;
		transition: all 0.2s ease-in-out;
		-webkit-transition-property: color;
		-webkit-transition: all 0.2s ease-in-out;
		-moz-transition-property: color;
		-moz-transition: all 0.2s ease-in-out;
		-o-transition-property: color;
		-o-transition: all 0.2s ease-in-out;
	}
	#bilderef2 a:hover, #bilderef3 a:hover, #bilderef2b a:hover {
		text-decoration: none;
		color: #8b7342;
		filter: sepia(100%);
		-webkit-filter: sepia(100%);
		-moz-filter: sepia(100%);
	}
	#bilderef3 {
		margin-left: 5%;
		margin-left: 4vw;
	}
	#bilderef2b { 
		margin-top: -8%; 
		margin-top: -8vw;
	}
	#footer {
		margin-top: 5px;
		border-top: 2px solid #dcdcdc;
		border-bottom: 0px solid #dcdcdc;
	}
	#wrapper {
		margin-bottom: -28px;
	}
}
/* = 960px and below
----------------------------------------------- */
@media screen and (min-width:601px) and (max-width: 960px) {
	.inner {
		width: 100%;
	}	
	#header .inner {
		width: 96%;
	}
	#header #logo {
		width: 200px;
		float: none;
		margin: 0 auto;
	}
	#header #site-navigation {
		display: none;
	}
	#header #flags {
		margin-left: -10px;
	}
	#header #flags img {
		height: 20px;
		width: 20px;
	}
	#content {
		width: inherit; 
		margin: 0 auto;
	}
	#content #primary-singlesitemadness {
		font-family: 'Armata', sans-serif;
		position: relative;
		width: inherit;
		margin: 0 auto;
		background-color: #ccc;
		position: relative; 
		width: 100vw; 
		margin: 5px auto; 
		padding: 3vw; 
		background-color: #FFF; 
		border: 1px dotted #ccc;
	}
	#content #primary-singlesitemadness img {
		width: 90%;
		width: 90vw;
	}
	#content #primary-singlesitemadness .entry-title {
		font-size: 1.4em;
		font-size: 3.5vw;
	}
	/* front page banner */
	#content #masthead {
		height: 100%;
	}
	#content #selling-point {
		font-size: 1.25em;
		color: rgba(29,44,74,0.75);
		padding: 5% 5% 25px 5%;
		height: 100%;
	}
	#content #social-icons {
		margin-top: -40px;
	}
	#content #social-icons #icons {
		height: 35px;
		width: 35px;
	}
	/* #### */
	#content #front-footer-menu, #content .front-footer-menu {
		font-size: 0.65em;
		font-size: 1.4vw;
	}
	#page-content #kontakt {
		font-size: 0.8em;
		font-size: 1.5vw;
		padding: 5px;
		padding-left: 7px;
	}
	/* subsite */
	.left-sub-menu {
		padding: 5px;
		font-size: 1.1em;
	}
	#page-content {
		min-height: 400px;
	}
	#page-content #referanser {
		width: 75%;
		width: 75vw;
		margin: 0 auto;
		display: block;
		font-size: 0.8em;
		font-size: 2.5vw;
		margin-top: 1%;
		margin-top: 2vw;
	}
	#page-content #referanser #referanse-bilde {
		width: 13%;
		width: 13vw;
		height: auto;
		overflow: hidden;
		float: left;
		margin: 1%;
		margin-bottom: 3%;
		margin: 1vw;
		margin-bottom: 3vw;
		padding: 2%;
		padding: 1vw;
		border: 1px solid #ccc;
		border-radius: 5px;
	}
	.bilderef-wrap {
		width: 100%;
		overflow: hidden;
	}
	#bilderef2, #bilderef3, #bilderef2b {
		font-size: 0.5em;
		font-size: 1.4vw;
		position: relative;
		display: block;
		width: 26%;
		width: 20vw;
		height: auto;
		margin-top: 7%;
		margin-left: 15%;
		margin-bottom: 4%;
		margin-top: 5vw;
		margin-left: 13vw;
		margin-bottom: 3vw;
		padding: 2%;
		padding: 2vw;
		float: left;
		text-align: center;
	}
	#bilderef2 a, #bilderef3 a, #bilderef2b a {
		text-decoration: none;
		color: #1d2c4a;
		filter: sepia(0%);
		-webkit-filter: sepia(0%);
		-moz-filter: sepia(0%);
		transition-property: color, filter;
		transition: all 0.2s ease-in-out;
		-webkit-transition-property: color;
		-webkit-transition: all 0.2s ease-in-out;
		-moz-transition-property: color;
		-moz-transition: all 0.2s ease-in-out;
		-o-transition-property: color;
		-o-transition: all 0.2s ease-in-out;
	}
	#bilderef2 a:hover, #bilderef3 a:hover, #bilderef2b a:hover {
		text-decoration: none;
		color: #8b7342;
		filter: sepia(100%);
		-webkit-filter: sepia(100%);
		-moz-filter: sepia(100%);
	}
	#bilderef3 {
		margin-left: 5%;
		margin-left: 4vw;
	}
	#bilderef2b { 
		margin-top: -8%; 
		margin-top: -7vw;
	}
}
/* =Transitions
----------------------------------------------- */
#right-nav,
#wrapper, 
#overlay {
	-webkit-transition-duration: 0.3s;
	-webkit-transition-property: all;
}
/* = Fixes made to "kontakt oss" on NO and SE, 29.06.2015
----------------------------------------------- */
@media (min-width: 700px) {
    .fw-col-md-1-of-2 {
        width: 50%;
        float: left;
        padding-right: 30px;
    }
    .fw-col-md-1-of-2:nth-of-type(odd) {
        clear: both;
    }
}
@media (min-width: 1000px) {
    .fw-col-md-1-of-2 {
        padding-right: 60px;
    }
}
/* = Changes made to image slider height on front page
----------------------------------------------- */
#masthead, .soliloquy-container, .soliloquy-wrapper, .soliloquy-viewport {
    max-height: 350px !important;
}
/* Center the images vertically */
.soliloquy-container .soliloquy-image {
    /*position: relative;
    bottom: 40px;*/
    margin-top: -4% !important;
}

/* add on page with contact form eneasenergy.se */
.page-id-3343 #primary-singlesitemadness {
	width: 100%!important;
}
.page-id-3343 .wpcf7 {
	width: 35%;
	float: left;
	background: #f5f5f5;
	padding: 20px;
	margin-left: 10px;
}
.page-id-3343 .wpcf7 input {
	width: 100%;
}
.page-id-3343 .wpcf7 p.submit {
	margin-bottom: -1em;
}
.page-id-3343 .right {
	width: 60%;
	float: right;
	margin-right: 5px;
	padding-left: 5px;
}
.page-id-3343 footer {
	display: none;
}
.page-id-3343 header.entry-header {
	text-align: center;
	margin-bottom: inherit!important;
}
.page-id-3343 article.hentry {
	margin: 0;
}

/* = Making side menu work on touch devices
----------------------------------------------- */
/*html.no-touchevents*/ #right-nav ul li.menu-item-has-children {
	position: relative;
}
/*html.no-touchevents */#right-nav ul li.menu-item-has-children .toggle_children {
	font-size: 2rem;
	line-height: .9;
	padding: 15px;
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
}
.menu_visible {
	display: block !important;
}
/* Small change from TC */
@media (min-width: 750px) {
	#selling-point .p1 {
		margin-bottom: -10px;
	}
}
