/*
Theme Name: Wittgenstein
*/



html, body {
	height:100%;
	width:100%;
	padding:0;
	margin:0;
	font-family: 'Roboto', sans-serif;
	font-size:18px;
	line-height:26px;
	font-weight:300;
}

body {
	background:#95b757
}


h1, h2, h3, h4, h5, h6 {
	font-weight:700
}

strong {
	font-weight:400
}


.inside_left {
	margin-left:0;
	padding-left:0
}

/* HEADER; LOGO */

#logo {
	width:10%;
	background:white;
	border:20px solid white;
	position:fixed;
	background-size:contain;
	top:20px;
	left:20px
}

body > header > nav,
body > section > nav {
	position:fixed;
	z-index:1000;
}

body > header > nav ul,
body > section > nav ul {
	list-style:none;
	padding:0 0 0 20px;
	margin:0
}

body > header > nav ul li,
body > section > nav ul li {
	list-style:none;
	width:100%;
	background:white;
	padding:10px;
	margin:10px 0px
}

body > header > nav ul li a,
body > section > nav ul li a {
	color:#95b757;
	font-weight:400
}


/* FRONTPAGE */

.frontpage {
	display:block;
	position:absolute;
	top:0px;
	left:0px;
	right:0px;
}

.frontpage > .row {
	display:block;
	padding:0;
	margin:0;
	position:relative;
}

.frontpage > .row > div {
	display:block;
	position:absolute;
	padding:0;
}


#from, #to {
	//display:block;
	height:50px;
	width:50px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	background:#95b757;
	position:absolute;
	margin-top:-25px;
	margin-left:-25px;
	border:2px solid white;
	cursor:pointer;
	-webkit-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.79);
	-moz-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.79);
	box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.79);
	display:-webkit-flex;
	display:flex;
	-webkit-flex-direction:column;
	flex-direction:column;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content:center;
	justify-content:center;
	color:white;
	font-size:32px;

}

.row.sponsors {
	width:100%;
}


#scroller {
	height:40px;
	width:100%;
	background:url(images/bar-arrow-large.png) center center no-repeat ;
	background-size:cover;
	bottom:-1px;
	cursor:pointer;
}

.topleft {
	background:url(images/topleft.jpg) center center no-repeat;
}

.topcenter {
	margin-left:-1px;
	background:url(images/topcenter.jpg) bottom center no-repeat;
}

.topright {
	margin-left:-2px;
	background:url(images/topright.jpg) bottom left no-repeat;
}

.left {
	margin-top:-1px;
	background:url(images/left.jpg) center right no-repeat;
}

.center {
	margin-left:-1px;
	margin-top:-1px;
	background:url(images/center.jpg) center center no-repeat;
}

.right {
	margin-left:-2px;
	margin-top:-1px;
	background:url(images/right.jpg) center left no-repeat;
}

.bottomleft {
	margin-top:-2px;
	background:url(images/bottomleft.jpg) top right no-repeat;
}

.bottomcenter {
	margin-left:-1px;
	margin-top:-2px;
	background:url(images/bottomcenter.jpg) top center no-repeat;
}

.bottomright {
	margin-left:-2px;
	margin-top:-2px;
	background:url(images/bottomright.jpg) top left no-repeat;
}

.tip {
	display:none;
	opacity:0;
	transition: opacity 1s ease-in-out;
  	-moz-transition: opacity 1s ease-in-out;
  	-webkit-transition: opacity 1s ease-in-out;
  	z-index: -1;
}

.tip.active {
	display:block;
	opacity:1;	
	width:500px;
	margin:0 auto;
	z-index:1200;
	position:absolute;
	background:transparent;
	padding:20px
}

.tip .holder {
	
	background:#95b757;
	padding:20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	
}

.tip .arrow {
	height:20px;
	width:20px;
	width: 0; 
	height: 0; 
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid #95b757;
	display:block;
	position:absolute;
	bottom:10px;
	left:calc(50% - 10px);
	content:' '	
}

.tip h3 {
	color:white;
	padding:0px;
	margin:0px 0px 10px 0;
	font-size:24px
}


section#facts {
	position:relative;
	padding:20px 20px 0px 20px;
	margin:20px;
	background:none !important
}

section#facts > div {
	display:inline-block;
	vertical-align:top;
	text-align:center;
	font-size:26px;
	line-height:30px;
	color:white;
	padding:0px 40px
}


#facts strong {
	font-weight:300
}


section#styret {
	position:relative;
	padding:20px;
	margin:20px;
	background: white;
	text-align:center;
}
section#styret > div > h2,
section#samarbeidspartar > div > h2 {
	border:none !important
}

section#styret > div {
	float:none !important;
	margin:0 auto;
	text-align:center;
	background: white
}

section#styret .thumb {
	display:inline-block;
	width:auto;
	margin:0 auto
}

section#samarbeidspartar {
	position:relative;
	padding:20px;
	margin:20px;
	background: white;
	text-align:center;
}

section#samarbeidspartar .thumb {
	display:inline-block;
	width:auto;
	margin:0 auto
}


section#samarbeidspartar > div {
	float:none !important;
	margin:0 auto;
	text-align:center
}


.home section.content_holder > div > article[class*="col"] {
	height:350px
}



.home section > div > article[class*="col"] .text {
	width:80%;
	margin:0 auto;
}

.home section > div > article[class*="col"] p {
	display:inline !important
}


.home section > div > article[class*="col"] .thumb {
	width:auto;
	text-align:center;
	display:inline-block;
	border:1px solid #efefef
}



/* CATEGORY */

body.category .row article img {
	border:1px solid #95b757
}

section.content_holder {
	background:white;
	margin-top:20px;
	margin-right:20px;
	padding:20px;
	float:left;
	clear:both;
	position:relative;
	width:80%;
	max-width:1200px
}

section.content_holder h2 {
	padding:10px 0px;
	margin:10px 0px 30px 0;
	border-bottom:1px solid #95B757
}

section.content_holder article h3 {
	padding:0px;
	margin:0px 0px 10px 0px;
	font-size: 20px
}

section.content_holder article {
	padding-bottom:20px
}


.category-tidslinje  article {
	border-left:1px solid rgb(149, 183, 87);
	padding-left:0px !important;
	margin-left:15px !important
}

.category-tidslinje  article:last-of-type {
	border-left:0px;
	
}

body.category-tidslinje > section > .row >  article > div >  img {
	border-left:0px 
}

body.category-tidslinje > section > .row >  article:last-of-type > div >  img {
	border-left:1px solid rgb(149, 183, 87) !important;
	
}


/* FOOTER */

footer {
	margin-top:20px;
	padding-top:20px;
	border-top:1px solid white;
	color:white;
	font-weight:400;
	width:80%;
	max-width:1200px;
	float:none;
	clear:both
	
}


footer a {
	color:white
	
}


footer > div.column {
	width:32%;
	display:inline-block;
	vertical-align:top;
	text-align:center;
	font-size:16px;
	line-height:26px;
	color:white;
	padding:20px
}

footer > div.full {
	width:100%;
	display:inline-block;
	vertical-align:top;
	text-align:center;
	font-size:16px;
	line-height:24px;
	color:white;
	padding:20px
}

footer .column a,
footer .column p {
	font-size:16px;
	line-height:26px;
	font-weight:300
}


.sponsor {
	padding:4rem 1rem;
	border:1px solid #efefef;
	margin-bottom:2rem;
	text-align:center
}


@media (max-width:1560px) {

	#logo {
		width:12%;
	}
	
	#from, #to {
		height:40px;
		width:40px;
	}
	
	#scroller {
		height:35px;
	}

	section#facts > div[class*="col"] {
		font-size:22px;
		line-height:24px;
		padding:0px 30px
	}

}

@media (max-width:1480px) {

	#logo {
		width:14%;
	}
	
	#from, #to {
		height:32px;
		width:32px;
	}
	
	#scroller {
		height:30px;
	}
	
	section#facts > div[class*="col"] {
		font-size:18px;
		line-height:22px;
		padding:0px 30px
	}
	
	footer,
	section.content_holder {
		max-width:800px;
	}	

}

@media (max-width:1280px) {

	html, body {
		font-size:16px;
		line-height:20px;
	}
	
	#logo {
		width:16%;
	}
	
	#from, #to {
		height:25px;
		width:25px;
	}

	#scroller {
		height:28px;
	}
	
	section#styret > div > article[class*="col"],
	section#samarbeidspartar > div > article[class*="col"] {
		padding-top:30px;
	}

	section#facts > div[class*="col"] {
		padding:0px 25px
	}
	
	section.content_holder article h3 {
		font-size: 19px
	}
	
	footer {
		font-size: 14px
		
	}
	
		



}


@media (max-width:1024px) {
	
	html, body {
		font-size:14px;
		line-height:17px;
	}

	#logo {
		width:18%;
	}
	
	#from, #to {
		height:20px;
		width:20px;
	}

	#scroller {
		height:25px;
	}
	
	.tip h3 {
		font-size:20px
	}
	
	section#styret > div > article[class*="col"],
	section#samarbeidspartar > div > article[class*="col"] {
		padding-top:30px;
	}

	section#facts > div[class*="col"] {
		padding:0px 15px
	}

	footer > div.column {
		width:100% !important;
	}
	
	section#facts > div[class*="col"]:first-of-type {
		padding-bottom:40px
	}
	
	section.content_holder article h3 {
		font-size: 18px
	}
	
	footer,
	section.content_holder {
		max-width:800px;
		width:70%;
	}	
		
	
}



@media (max-width:768px) {
	
	footer,
	section.content_holder {
		width:100%	!important
	}
	
	html, body {
		font-size:14px;
		line-height:16px;
	}

	
	
	nav.visible-xs {
		background:white;
		width:100%;
		position:relative
	}
	
	.mobilemenu {
		display:none
	}
	
	.mobilemenu.open {
		display:block
	}
	
	.frontpage {
		top:70px
	}

	#mobile-logo {
		width:80px;
		padding:10px
	}

	#from, #to {
		height:16px;
		width:16px;
	}
	
	#scroller {
		height:20px;
	}
	
	.tip.active {
		width:100%;
		margin:10px auto;
	}
	
	.tip h3 {
		font-size:18px
	}
	
	.content_holder {
		width:100%
	}
	
	.content_holder .img-responsive {
		width:100%
	}
	
	section#samarbeidspartar,
	section#styret, 
	section#facts {
		margin:40px 20px 20px 20px;
	}
	
	section#styret > div > article[class*="col"],
	section#samarbeidspartar > div > article[class*="col"] {
		padding-top:30px
	}
	
	.mobile-menu {
		position:absolute;
	    right:20px;
	    top:20px;
	    cursor:pointer;
	    height:30px;
	    width:30px
	}
	
	.hamburger-menu
	{
	    width:30px;
	    height:5px;
	    background-color:#95b757;
	    border-radius:5px;
	}
	
	.hamburger-menu:after, .hamburger-menu:before
	{
	    content: '';
	    width: 100%;
	    height:5px;
	    background-color:#95b757;
	    position:absolute;
	    border-radius:5px;
	}
	
	.hamburger-menu:after
	{
	    top:10px;
	}
	
	.hamburger-menu:before
	{
	    top:20px;
	}
	
	.mobilemenu.open {
		position:absolute;
		z-index:30000;
		width:100%;
		background:#95b757;
		top:70px
	}
	
	.mobilemenu.open > div ul {
		list-style:none;
		padding:0 0 0 0px;
		margin:0;
		width:100%
	}

	.mobilemenu.open > div ul li {
		list-style:none;
		width:100%;
		background:white;
		padding:10px;
		margin:10px 0px
	}

	.mobilemenu.open div ul li a {
		color:#95b757;
		font-weight:400
	}
	
	
	section.content_holder article h3 {
		font-size: 16px
	}


	
}

@media (max-width:768px) and (orientation:landscape){

	section#styret > div > article[class*="col"],
	section#samarbeidspartar > div > article[class*="col"] {
		padding-top:30px
	}

}

#quote {
	margin-top:50px;
	margin-bottom:70px;
}
