/* ---------------
 * Slidebars Theme
 *
 * ---------
 * CSS Index
 *
 * 001 - Box Model
 * 002 - Site
 * 003 - Slidebars
 * 004 - Slidebar Menus
 * 005 - Slidebar Widgets
 * 006 - Top Navigation Bar
 * 007 - Slidebar Controls
 *
 * ---------------
 * 001 - Box Model
 */

* {
	/* Highly recommended to avoid any width alterations in the Slidebars or Site, which may cause horizontal scrolling. */
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* ----------
 * 002 - Site
 */
 
body {
	font-weight: 400;
	font-size: 14px/1.85em;
	font-family: Raleway,Arial,Helvetice Neue,sans-serif;
}
h1,h2,h3,h4,h5,h6 {
	color: #38A9E3;
	text-transform: uppercase;
	font-family: Raleway,sans-serif;
	font-weight: 300;
}
h2 {
	font-size: 2em;
}
.divider {
	height: 30px;
}
#sb-site {
	padding: 0;
	/* box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.3); /* Casts a shadow onto the Slidebars from site. */
}
header {
	position: relative;
}
#section1 {
	height: 50px;
}
#sb-site header {
	margin: 0;
	padding: 0;
}
#sb-site header ul {
	list-style:none;
	margin: 0;
	padding: 0;
}
#sb-site header .rslides li img {
	width: 100%;
	max-width: 100%;
	height: auto;
}
header .caption {
  position: absolute;
  top:40px;
  left: 40px;
  padding: 30px;
  /* background: url(../grafikk/grey-transparent.png); */
  color: #fff;
  font-size: large;
  text-align: center;
  text-transform: uppercase;
}
a.rslides1_nav {
    position: absolute;
    top: 50%;
    left: 0px;
    z-index: 99;
    opacity: 0.3;
    text-indent: -9999px;
    overflow: hidden;
    text-decoration: none;
    height: 61px;
    width: 38px;
    background: url('themes.gif') no-repeat scroll left top transparent;
    margin-top: -45px;
}
a.rslides1_nav.next {
    left: auto;
    background-position: right top;
    right: 0px;
}
a.rslides1_nav:hover,a.rslides1_nav.next:hover {
    opacity: 0.6;
}
.cycle-paused:after {
    content: 'Paused'; color: white; background: black; padding: 10px;
    z-index: 500; position: absolute; top: 10px; right: 10px;
    border-radius: 10px;
    opacity: .5; filter: alpha(opacity=50);
}
#sb-site article {
	padding: 0px 20px 30px 20px;
	overflow: hidden;
}
img.fullwidth {
	width: 100%;
	max-width: 100%;
	height: auto;
}
.article-image-floatLeft {
	max-width: 100%;
	float: left;
	margin: 10px 30px 30px 0;
}
.article-image-floatRight {
	max-width: 100%;
	float: right;
	margin: 10px 0px 30px 30px;
}
.section-top {
	border-top: 8px solid #333;
}
.section-top  > div {
	display: inline-block;
	margin: 0;
	padding-top:0;
	border-bottom: 5px solid #d00000;
}
.section-top  h1 {
	margin:0;
	padding: 9px 30px 10px 30px;
	background: #090;
	border-bottom: 10px solid #fff;
	color:#fff;
	font-size: x-large;
}
.section-top .underborder {
	height: 10px;
	border-bottom: 10px solid #d70;
}
#sb-site article p {
	font-size: larger;
	line-height: 1.7em;
	margin: 1.2em 0;
} 
#typer td,#typer th{
	border: 1px solid #f0f0f0;
	padding: 20px;
}
#sb-site #underskrift {
	clear: both;
	width: 100%;
	margin: 0 auto 100px auto;
	padding: 15px;
	text-align: center;
}
#sb-site #underskrift img {
	max-width: 100%;
	height: auto;
}
/* Kontaktskjemaet */
.form-left-side {
	font-size: larger;
	padding-top: 30px;
}
.form-left-side {
	float:left;
	width: 64%;
}
.form-right-side {
	float:right;
	width: 30%;
}
.form-left-side input,.form-left-side textarea {
	width: 100%;
	margin: 3px 0 10px 0;
	padding: 7px 10px;
	border: 1px solid #D5DBE0;
}
.form-left-side label {
	color: #666;
}
.form-left-side label.required:after {
    content: "*";
    color: #F00;
    margin-left: 5px;
}
.form-left-side input[type=submit], a.submit {
	display: inline-block;
	padding: 12px 20px 10px 20px;
	background: #d08c09;
	border: 0;
	border-bottom: 4px solid #c07908;
	font-size: 1.2em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
}
.form-left-side input[type=submit]:hover, a.submit:hover {
	background: #c07908;
}
#kart {
	margin: 50px 0 0px -30px;
	overflow: hidden;
}
#kart .kart-blokk {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	margin-bottom: 25px;
	overflow: hidden;
}
#kart .kart-img {
	float: left;
	width: 50%;
	padding-left: 30px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
#kart img {
	max-width: 100%;
	height: auto;
}
footer {
	width: 100%;
	margin-top: 100px;
	clear:both;
	overflow: hidden;
	background: #282829;
}
footer #footer-inner {
	background: #39393A;
}
footer #footer-inner > div {
	width: 100%;
	padding: 30px 0 30px 0;
	color: #fff;
	overflow: hidden;
}
footer address, footer section {
	float:left;
	margin-left: 0px;
	padding-left: 15px;
}
footer section {
	text-align: center;
	clear:right;
}
footer section:last-child {
	float:right;
	padding-right: 15px;
}
footer a.fb, footer a.gp,footer a.email {
	float:right;
	width: 32px;
	height: 32px;
	margin: 0 0 10px 10px;
}
footer a.fb { 
	background: url(../grafikk/social-network-icons.png) 0px -32px no-repeat;
}
footer a.gp { 
	background: url(../grafikk/social-network-icons.png) 0px -64px  no-repeat;
}
footer a.email { 
	background: url(../grafikk/social-network-icons.png) 0 0 no-repeat;
}
footer #footer-bottom {
	padding: 30px 15px 30px 15px;
	color: #777;
}
footer #footer-bottom a {
	color: #999;
	text-decoration: none;
}

/* ---------------
 * Slidebars, over 992px
 */

@media(max-width:480px){
	.section-top  h1 {
		display: block;
	}
	/* img.fullwidth {
		width: auto;
	}	
	#sb-site article img {
		margin: 0 -20px 0 -20px;
	} */
	article a.submit {
		display: block;
		width: 100%;
	}
	#kart,#kart .kart-blokk {
		width: 100%;
		margin: 0px auto;
	}
	#kart .kart-img {
		width: 100%;
		margin-bottom:30px;
		padding:0;
		float: none;
	}
	#kart img {
		width:100%;
	}
	#typer tr {
		border-bottom: 1px solid #E09D1A;
	}
	#typer td,#typer th {
		display: block;
		border: 1px solid #f0f0f0;
		border-top: none;
		padding: 20px;
	}
	#typer th:first-child {
		border: 1px solid #f0f0f0;
	}
}
@media(max-width:640px){
	header .caption {
		display: none;
	}
	.form-left-side,.form-right-side {
		float:none;
		width: 100%;
	}
}
@media (max-width: 992px) {
	.section-top {
		margin: 0px -20px 0 -20px;
		padding-top: 42px;
		border: none;
	}
	.section-top  > div {
		display: block;
		margin: 0 0 20px 0;
		border-top: 8px solid #333;
	}
	.section-top  h1 {
		padding: 9px 15px 10px 15px;
	}
}
 
@media(max-width:991px){
	.sidebarleft { 
		display: none; 
	}
	.sb-menu li a {
		width: 100%; /* Makes links full width. */
		display: inline-block;
		padding: 0.8em 0.8em 0.8em 30px; /* Creates an even padding the same size as your font. */
	}
}

@media(min-width:992px){
	.sb-navbar {
		display: none;
	}
	.sidebarleft { 
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 10000;
		width: 274px;
		height: 100%;
		min-height: auto;
	}
	.sb-slidebar,.sidebarleft {
		background: #39393A url(../grafikk/ulf-logo-copy.png) -85px -15px no-repeat; /* Background colour. */
		color: #999; /* Text colour. */
		padding-top: 117px;
	}
	.sb-menu li a {
		width: 100%; /* Makes links full width. */
		display: inline-block;
		padding: 0.5em 15px 0.5em 30px; /* Creates an even padding the same size as your font. */
	}
	#sb-site {
		margin: -50px 0 0 274px; 
		width: auto;
	}
	#sb-site article {
		margin: 0 auto 100px auto;
		max-width: 1350px;
		padding: 0px 50px 0px 50px;
	}

	/* Tabell over 992px */
	
	#typer {
		border: 1px solid #f00;
		padding: 20px;
	}
	
	/* ----------------- */
	.form-left-side input,.form-left-side textarea {
		width: 100%;
		margin: 5px 0 30px 0;
		padding: 10px 15px;
		border: 1px solid #D5DBE0;
	}
	footer {
		margin-top:0; 
		border-left: 4px solid #282829;
	}
	footer #footer-inner > div {
		margin: 0 auto;
		max-width: 1350px;
		padding: 30px 0px 30px 0;
	}
	footer address,footer section {
		padding-left: 50px;
	}
	footer section:last-child {
		padding-right: 50px;
	}
	footer #footer-bottom {
		margin: 0 auto;
		max-width: 1350px;
		padding: 30px 50px 30px 46px;
		padding: 25px 50px 25px 46px;
		color: #777;
	}
}
@media(min-width:1200px){
	.sidebarleft { 
		width: 335px;
	}
	.sb-slidebar,.sidebarleft {
		background-position: -55px 0px; /* Background colour. */
		padding-top: 132px;
	}
	.sb-menu li a {
		width: 100%; /* Makes links full width. */
		display: inline-block;
		padding: 0.8em 30px 0.8em 30px; /* Creates an even padding the same size as your font. */
	}	
	#sb-site {
		margin-left: 335px;
	}
	#kart .kart-blokk {
		float: left;
		width: 50%;
		margin-bottom: 0;
	}
}
@media(min-width:1900px){
	.sidebarleft { 
		width: 400px;
	}
	
	#sb-site {
		margin-left: 400px;
	}
}

/* ---------------
 * 003 - Slidebars
 */

.sb-slidebar a,.sidebarleft a {
	color: #fff; /* Link colour. */
	text-decoration: none;
	font-size: larger;
	/* text-transform: uppercase; */
}

.sb-slidebar a:hover,.sidebarleft a:hover{
	color: #49AEF2; /* Link hover colour. */
	text-decoration: underline;
}

/* --------------------
 * 004 - Slidebar Menus
 */
 
/* Main Menu */
.sb-menu { /* Apply to <ul> or <ol>. */
	padding: 0;
	margin: 0;
	list-style-type: none;
	background: url(../grafikk/left-menu-bkgr4.jpg) no-repeat; /* Background colour. */
}

.sb-menu li {
	width: 100%;
	padding: 0;
	margin: 0;
	opacity: 0.85;
	background-color: #222;
	text-align: right;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Will lighten any background colour you set. */
	/* border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Will darken any background colour you set. */
}

.sb-menu > li:last-child {
	border-bottom: none; /* Removes top border from first list item.. */
}
.sb-menu li a:hover,.sidebarleft .sb-menu .current {
	text-decoration: none;
	background-color: rgba(0, 0, 0, 0.2); /* Will lighten any background colour you set. */
}
/* .sb-menu li a,.sb-menu li a:hoover,.sb-menu li a:focus {
	transition: all 150ms ease-in 0s;
} */
/* Borders */
.sb-left .sb-menu li a,.sidebarleft .sb-menu li a  {
	border-left: 5px solid transparent;
}

.sb-left .sb-menu li a:hover,.sidebarleft .sb-menu li a:hover,.sidebarleft .sb-menu .current {
	border-left: 5px solid #51B1F2; /* Removes transparent colour, so border colour will be the same as link hover colour. */
}

.sb-right .sb-menu li a {
	border-right: 5px solid transparent;
}

.sb-right .sb-menu li a:hover {
	border-right: 5px solid; /* Removes transparent colour, so border colour will be the same as link hover colour. */
}
.sb-toggle-submenu {
	cursor: pointer;
}

/* Submenus */
.sb-submenu {
	display: none;
	padding: 0;
	margin: 0;
	list-style-type: none;
}
.sb-submenu li {
	background-color: rgba(255, 255, 255, 0.1); /* Submenu background colour. */
}

/* Caret */
span.sb-caret {
	width: 0;
	height: 0;
	display: inline-block;
	margin: 0 5px;
	border: 5px solid transparent;
}

span.sb-caret { /* Caret Down */
	border-top: 5px solid;
	border-bottom: 0px solid transparent;
}

.sb-submenu-active > span.sb-caret { /* Caret Up */
	border-top: 0px solid transparent;
	border-bottom: 5px solid;
}

/* ----------------------
 * 005 - Slidebar Widgets
 */

.sb-widget {
	border-radius: 3px;
	border: 1px solid rgba(255, 255, 255, 0.1); /* Will lighten any background colour you set. */
	margin: 0px;
	padding: 20px;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25); /* Slight shadow. */
	color: #fff;
}

.sb-widget-#sb-site header {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Will darken any background colour you set. */
	background-color: #292929; /* Widget title background colour. */
}

.sb-widget-title {
	margin: 0; /* Removes browser default margins for heading tags. */ 
}

.sb-widget-content {
	border-top: 1px solid rgba(255, 255, 255, 0.1); /* Will lighten any background colour you set. */
	padding: 14px;
	background-color: #262626; /* Widget content background colour. */
}
.sb-widget img {
	max-width: 100%;
}
.sb-widget a.submit {
	display: inline-block;
	width: 100%;
}.
.sb-widget a.submit:hover {	
	text-decoration: none;
	color: #fff;
}

/* ------------------------
 * 006 - Top Navigation Bar
 */

.sb-navbar {
	width: 100%;
	height: 50px;
	position: fixed;
	top: 0;
	left: auto;
	right: auto;
	z-index: 1000;
	background-color: #262626; /* 0056a7 219AEB Bar colour. */
	
	box-shadow:
		/* Layered single pixel shadows to create a one sided shadow effect. */
		0 5px 0 0 rgba(0, 0, 0, 0.01),
		0 4px 0 0 rgba(0, 0, 0, 0.02),
		0 3px 0 0 rgba(0, 0, 0, 0.04),
		0 2px 0 0 rgba(0, 0, 0, 0.06),
		0 1px 0 0 rgba(0, 0, 0, 0.08),
		/* Top highlight */
		0 1px 0 0 rgba(255, 255, 255, 0.1) inset,
		/* Left highlight */
		1px 0 0 0 rgba(255, 255, 255, 0.1) inset,
		/* Right highlight */
		-1px 0 0 0 rgba(255, 255, 255, 0.1) inset,
		/* Bottom lowlight */
		0 -1px 0 0 rgba(0, 0, 0, 0.1) inset;
		
	/* Glass gradient overlay, works with any colour background. */
	background-image: -webkit-linear-gradient(top, rgba(255,255,255, 0.05) 50%, rgba(0,0,0, 0.02) 51%); /*  Webkit syntax. */
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 50%, rgba(0, 0, 0, 0.02) 51%); /* Final syntax. */
	background-size: 100%;
	background-repeat: no-repeat;
}

html.sb-android .sb-navbar {
	position: absolute; /* Fix navbar to top for old versions of Android Browser. */
}

/* Navbar Menu Items */
.sb-navbar-menu {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.sb-navbar-menu-left {
	float: left;
}

.sb-navbar-menu-right{
	float: right;
}

.sb-navbar-menu li {
	padding: 0;
	margin: 0;
	display: block;
	float: left;
}

.sb-navbar-menu li a {
	display: inline-block;
	color: #f2f2f2; /* Navbar link colour */
	padding: 14px;
	text-decoration: none;
}

.sb-navbar-menu li a:hover {
	color: #f2f2f2; /* Navbar link hover colour */
	background-color: rgba(0, 0, 0, 0.05); /* Will lighten any background colour you set. */
}

/* -----------------------
 * 007 - Slidebar Controls
 */
 
.sb-toggle-left, .sb-toggle-right, .sb-open-left, .sb-open-right, .sb-close {
	cursor: pointer; /* Help desktop users with Slidebar controls. */
}

/* Navicons */
/* These are prefixed with .sb-navbar to avoid styling other Slidebar toggles you may be using. */
.sb-navbar .sb-toggle-left {
	width: 52px;
	float: left;
	padding: 14px;
}

.sb-navbar .sb-toggle-right {
	width: 52px;
	float: right;
	padding: 14px;
}

.navicon-line {
	width: 24px;
	height: 4px;
	border-radius: 1px;
	margin-bottom: 3px;
	background-color: #fff; /* Colour of navicon lines. */
}

/* Hover states to match navbar menu item hover. */
.sb-navbar .sb-toggle-left:hover {
	background-color: rgba(0, 0, 0, 0.05); /* Will lighten any background colour you set. */
}

.sb-navbar .sb-toggle-right:hover {
	background-color: rgba(0, 0, 0, 0.05); /* Will lighten any background colour you set. */
}

/* -------------------
 * 006 - Media Queries
 */

@media (max-width: 767px) {
	/* This is entirely optional, it hides the navbar menu items when device width is under 768px. */
	.sb-navbar-menu {
		display: none;
	}
}