@charset "utf-8";
/* CSS Document */

@import url(https://fonts.googleapis.com/css?family=Roboto:400,900);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);


/* make the footer stick to bottom */
html, body {height: 100%;}
#wrap {min-height: 77%;}
#main {overflow:auto;
	margin-bottom: 10px; clear:both;}  /* must be same height as the footer */
#footer {background-color:#3F3F3F;
	display:block;
	width:100%;
	color:#fff;
	height:auto;
	padding:20px 0;
	position: relative;
	clear:both;} 
	
#bread {margin-bottom:25px; font-size:12px;}
#bread a:link, #bread a:visited {text-decoration:underline; color:#03C !important;}
#bread a:hover {text-decoration:underline; color:#333;}
#bread ol {padding-left:0;}
#bread ol li {display:inline-block; list-style-type:none; text-transform: capitalize; float:none;
padding:0 2px; font-family: Arial,Helvetica,sans-serif; font-size: 12px;}

.textblock {float:left;}
.textblock img {margin: 0 10px 5px 0;}
.textblock blockquote {border:1px solid black; padding:10px;}
/*Opera Fix*/
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;/
}
/* end of footer stick */

body {margin:0; padding: 0; font-family: 'Open Sans', sans-serif; font-size: 0.8em; background-color:#F3F3F3;}
a:link {color:#0000CC;}
a:visited {color:#990033;}
a:active {color:#990099;}
a:hover {text-decoration: underline; color:#000099;}
.text {font-weight:bold;}

#header {background-color:#fff; display:block; width:100%; height:75px; padding-top:15px;}
#header-menu {margin:auto; width:850px;}
#header-menu ul {list-style: none; padding: 0; margin: 0; background: white; float: left; width: 100%;}
#header-menu li {float: left; margin: 0 1em 0 0;}
#header-menu a {text-decoration: none; display: block; width: 6em; padding: 0 0.5em; font-weight: bold; border-bottom: 0.5em solid #f1bfd4; color: #F1C11D !important;}
#header-menu a:hover {border-bottom: 0.5em solid black; color: black;}
#header-menu a:active {border-bottom: 0.5em solid black; color: black;}
	
#content {background-color:#F3F3F3; display:block; min-height: 500px; width:100%;}
#article {width:980px; min-height:460px; margin:0 auto; padding: 40px 0 20px 0;}
#highcost {
	width: 980px;
	margin: 0 auto;
	padding: 0;
	text-align: left;
}
#article h1, #portrait h1{
		width:100%;
		/* font-family: Arial, 'Helvetica', sans-serif; */
		font-family: 'Roboto', sans-serif;
		font-size: 62px;
		letter-spacing: -0.05em;
		color: #333;
		line-height: 56px;
		margin: 0 0 50px 0;}
		}
#article p{font-family: Arial, 'Helvetica', sans-serif; font-size: 16px; display:block; width:250px; padding:25px 0 0 0;}
#highcost p{font-family: Arial, 'Helvetica', sans-serif; font-size: 14px; font-style:italic;}
#article p a, #related li a, #highcost p a{color:#03C !important; text-decoration:underline !important;}

.normal ol li {left:0 !important; text-transform:none !important; display:list-item !important; float: none !important; text-align: left !important}

.menurow {display: block;
padding: 0 15px;
height: 40px;
line-height: 40px;
background: #3799CD;
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;
text-align:center;
color:white;
}
.menurow:hover {background:#A6A6A6;}

#footer .block {width:750px; margin:auto;}
#footer .block h3 {font-weight:bold; color:#fff; font-size: 22px; font-family: Arial, 'Helvetica', sans-serif;}
#footer a:link, #footer a:visited {color:#fff !important; text-decoration:underline !important;}


.greytext {color:grey;}

#column-left {width:49%; float:left;}
#column-right {width:49%; float:right;}

#comments {clear:both; width:98%; padding-top:25px; background-color: white; padding: 25px 17px 0 17px; border-radius: 10px; border: 1px dashed green;}

#follow {
	padding: 15px 0 0 0;
	margin: 0 auto;
	width: 680px;
	height: 30px;
}
#follow img {vertical-align:middle;}

.floatLeft {float:left; display:block;}
.table {float:left; display:block; text-align:center; margin-right:25px;}
.table table{border:1px solid black;}
.table caption{font-weight:bold; width:100%; background:#3799CD; font-size:16px; line-height:35px; color:#FFFFFF;}
.table tr:nth-child(even) {background: #CCC;}
.table tr:nth-child(odd) {background: #FFF;}

blockquote {font-style: italic;
font-size: 18px;}
.break-wide {clear:both;}

/* Responsive menu */
/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Responsive table */
/* Generic Styling, for Desktops/Laptops */
table { 
  width: 100%; 
  border-collapse: collapse; 
}
/* Zebra striping */
tr:nth-of-type(odd) { 
  background: #e4e1e1; 
}
th { 
  background: #086793; 
  color: white; 
  font-weight: bold; 
}
td, th { 
  padding: 6px; 
  border: 1px solid #ccc; 
  text-align: left; 
}

/* Header logo */
#logo {padding: 0;
		margin: 0 auto;
		width: 950px;
		height: 75px;
		clear:both;
}

/* Basic Nav Styles */
#site-name {color: #F1C11D; font-size:48px;}
nav {
	height: 32px;
	width: 100%;
	font-weight: bold;
	position: relative;
	color:#fff;
	clear:both;
	background-color:#086793;
}
nav ul {
	padding: 0;
	margin: 0 auto;
	width: 950px;
	height: 35px;
}
nav li {
	display: inline;
	float: left;
	margin: 6px;
}
nav a {
	color: #fff;
	display: inline-block;
	width: 60px;
	text-align: center;
	text-decoration: none;
	line-height: 15px;
	font-weight: bold;
	font-family: 'Open Sans', sans-serif;
}
nav a:link, nav a:visited {color: #ddd !important; text-decoration:none !important;}
nav a:hover {color:#fff;}
nav li a {
}
nav li:last-child a {
	border-right: 0;
}

nav a#pull {
	display: none;
}

/* Button */
.btn {
  background: #e46c14;
  -webkit-border-radius: 20;
  -moz-border-radius: 20;
  border-radius: 20px;
  text-shadow: 0px 3px 8px #000000;
  font-family: Arial;
  color: #ffffff;
  font-size: 14px;
  padding: 7px 15px 7px 15px;
  text-decoration: none;
  min-height: 12px;
  max-width: 65px;
  text-align: center;
}

.btn a:link, .btn a:visited {text-decoration:none; color:#fff;}

.btn:hover {
  background: #db5d00;
  text-decoration: none;
}


.fillers {display: block;
height: 100px;}


@media only screen and (max-width: 780px),
(min-device-width: 780px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 35%; 
	}
	td img {max-width:145px;}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/*
	Label the data for subpages
	*/
	td:nth-of-type(1):before { content: "Långivare"; font-weight:bold; }
	td:nth-of-type(2):before { content: "Lånebelopp"; font-weight:bold; }
	td:nth-of-type(3):before { content: "Löptid"; font-weight:bold; }
	td:nth-of-type(4):before { content: "Ränta"; font-weight:bold; }
	td:nth-of-type(5):before { content: "Avgift"; font-weight:bold; }
	td:nth-of-type(6):before { content: "Anmärkning"; font-weight:bold; }
	td:nth-of-type(7):before { content: ""; font-weight:bold; }
	
	/*
	Label the data for index page
	*/
	
	#loantable-index td:nth-of-type(1):before { content: "Långivare"; font-weight:bold; }
	#loantable-index td:nth-of-type(2):before { content: "Lånebelopp"; font-weight:bold; }
	#loantable-index td:nth-of-type(3):before { content: "Avgift"; font-weight:bold; }
	#loantable-index td:nth-of-type(4):before { content: "Anmärkning"; font-weight:bold; }
	#loantable-index td:nth-of-type(5):before { content: ""; font-weight:bold; }
	
	/*
	Label the data for weekend page
	*/
	
	#loantable-weekend td:nth-of-type(1):before { content: "Långivare"; font-weight:bold; }
	#loantable-weekend td:nth-of-type(2):before { content: "Utbetalning"; font-weight:bold; }
	#loantable-weekend td:nth-of-type(3):before { content: "Bank"; font-weight:bold; }
	#loantable-weekend td:nth-of-type(4):before { content: ""; font-weight:bold; }
	
}



/*Styles for screen 768px and lower*/
@media screen and (max-width: 768px) {
	#content {padding-left:15px; padding-right:15px; width:90%; margin-top: 50px;}
	#logo img{max-width:90%; height:auto;}
	#carte, #article, #portrait, #logo{width:95%;}
		#portrait .photo {float:none; margin: 0 auto; max-width: 350px; height: auto;}
			#portrait img {max-width:275px;}
		#portrait .text {float: none;}
	#carte h1, #article h1, #portrait h1{font-size:26px; line-height:34px; width:95%; margin-bottom:25px;}
	#carte ul, #article ul{width:100%; margin: 15px auto; left: -25px;}
	body {font-size:14px;}
	#footer .block {width:95%;}
	
	#carte form, #article form {width:95%; margin-bottom: 20px;}
	#carte p {font-size:14px;}
	
	#related li{font-size:18px; padding:3px;}
	
	.break-wide {clear:none;}
	
	#print-all {margin-top:15px;}
	
	nav a:hover {border:none;}
	
	nav { 
  		height: auto;
		border-bottom: 0;
		background-color: #086793;
		color:#fff;
  	}
  	nav ul {
  		width: 100%;
  		display: none;
  		height: auto;
		background-image:none; padding-left:0px;
  	}
  	nav li {
  		width: 50%;
  		float: left;
  		position: relative;
  	}
  	nav li a {
		border:none;
		color:#fff;
	}
  	nav a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
  	}
	nav a:link, nav a:visited {color: #fff !important;}
	nav a#pull {
		display: block;
		background-color: #086793;
		color:#fff;
		width: 100%;
		position: relative;
		min-height:35px;
		padding: 10px 0 0 0;
	}
	nav a#pull:after {
		content:"";
		background: url('/imgs/nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 10px;
	}
}

/*Styles for screen 515px and lower*/
@media only screen and (max-width : 480px) {
	.productfeed .productname {height:46px;}
	.productfeed .productname h2 {font-size:12px;}
	#recipes, #shoppinglist {width:100%; padding:10px; float:left;}
	#column-left, #column-right {width:100%; padding:0; clear:both;}
	nav {}
	nav a:link, nav a:visited {color: #fff !important;}
	#highcost {padding:40px 10px 0 10px; width:90%;}
	nav ul {background-image:none; padding-left:0px;}
	#content {width:90%; padding:0 10px; }
	#article {width:90%; padding:0 10px;}
	#comments {width:90%;}
	#print-all {display:none;}
}

/*Smartphone*/
@media only screen and (max-width : 320px) {
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	nav li a {
		border-bottom: 1px solid #576979;
	}
}
