/*	Less Framework 4 with 18/24 type presets
	http://lessframework.com
	by Joni Korpi
	License: http://opensource.org/licenses/mit-license.php	*/



/*	Resets
	------	*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, 
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, 
dl, dt, dd, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup, 
menu, footer, header, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
	display: block;
}

a img {border: 0;}



/*	Typography presets
	------------------	*/

.gigantic {
	font-size: 123px;
	line-height: 132px;
	letter-spacing: -2px;
}

.huge, h1 {
	font-size: 76px;
	line-height: 84px;
	letter-spacing: -1px;
}

.large, h2 {
	font-size: 47px;
	line-height: 48px;
}

.bigger, h3 {
	font-size: 24px;
	line-height: 28px;
	margin-bottom: 16px;
}

.big, h4 {
	font-size: 18px;
	line-height: 22px;
}

body {
	font: 14px/20px Arial, Times, serif;
}

.small, small {
	font-size: 13px;
	line-height: 18px;
}

/* Selection colours (easy to forget) */

::selection 	 	{background: rgb(255,255,158);}
::-moz-selection 	{background: rgb(255,255,158);}
img::selection 		{background: transparent;}
img::-moz-selection	{background: transparent;}
body {-webkit-tap-highlight-color: rgb(255,255,158);}

a, a:active, a:visited {
color: #79085E;
}
a:hover {
color: #171717;
}

/* form */


#loginform{
width: 220px;
margin: 10px 0px;
}

input {
font-size: 16px;
height: 25px;
width: 220px;
margin-bottom: 10px;
}

input[type=checkbox] {
    width: auto;
    height: auto;
}

input[type=submit] {
   background: #4F0433;
   border: 0;
   padding: 10px 0px;
   height: 38px;
   margin-bottom: 10px;
   -webkit-border-radius: 8px;
   -moz-border-radius: 8px;
   border-radius: 8px;
   color: #fff;
   font-size: 14px;
   font-family: Arial, Sans-Serif;
   text-decoration: none;
   vertical-align: middle;
   text-align: center;
   }

.button {
   background: #E5E5E5;
   background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#E5E5E5), to(#B8B8B8), color-stop(.6,#E5E5E5));
   padding: 10px 10px;
   display: block;
   margin-bottom: 10px;
   -webkit-border-radius: 8px;
   -moz-border-radius: 8px;
   border-radius: 8px;
   color: #D40963;
   font-size: 14px;
   font-family: Arial, Sans-Serif;
   text-decoration: none;
   vertical-align: middle;
   text-align: center;
   }   
   
.button:hover {
   background: #D40963;
   color: #fff;
   }
.button:active {
   color: #fff;
   background: #D40963;
   }

/*		Default Layout: 992px. 
		Gutters: 24px.
		Outer margins: 48px.
		Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

body {
	width: 896px;
	padding: 72px 48px 84px;
	background: #fff;
	color: rgb(60,60,60);
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
}


#top-bar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  min-height: 60px;
  background-color: #4F0433;
  color: #fff;
}

#top-bar-inner {
  width: 896px;
  margin: auto;
  height: 100px;
  background-image: url(../images/logo100.png);
  background-repeat: no-repeat;
  background-position: left center;
}

#top-bar-inner h4 {
  padding-left: 200px;
  top: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  position: absolute;
}

#content {
  width: 100%;
  position: absolute; 
  top: 120px;
  left: 0px;
}

#wrapper {
  width: 896px;
  margin: auto;
}

#login {
  width: 528px;
  float: left;
  margin-bottom: 30px;
}

#meny {
  width: 344px;
  float: right;
  margin-bottom: 20px;
  margin-top: 40px;
}

.postform { display: none; }

#footer {
clear: both;
color: #666;
font-size: 12px;
padding-top: 10px;
border-top: 1px solid #B8B8B8;
text-align: center;
min-height: 70px;
}



/*		Tablet Layout: 768px.
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {
	
	body {
		width: 712px;
		padding: 48px 28px 60px;
	}

#top-bar-inner {
  width: 712px;
  height: 60px
  background-image: url(../images/logo100.png);
  background-repeat: no-repeat;
  background-position: left center;
}

#top-bar-inner h4 {
  padding-left: 200px;
  top: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  position: absolute;
}

#wrapper {
  width: 712px;
  margin: auto;
}

#login {
  width: 436px;
  float: left;
}

#meny {
  width: 252px;
  float: right;
}

}





/*		Mobile Layout: 320px.
		Gutters: 24px.
		Outer margins: 34px.
		Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 767px) {
	
	body {
		width: 252px;
		padding: 48px 34px 60px;
	}

#top-bar-inner {
  width: 252px;
  margin: auto;
  height: 80px;
  background-image: url(../images/logo2.png);
  background-repeat: no-repeat;
  background-position: left center;
}

#top-bar-inner h4 {
  padding-left: 70px;
  top: 8px;
  padding-top: 10px;
  padding-bottom: 10px;
  position: absolute;
}

#wrapper {
  width: 252px;
  margin: auto;
}

#login {
  width: 252px;
  float: left;
}

#meny {
  width: 252px;
  float: right;
  margin-top: 0px;
}

.preform { display: none; }
.postform { display: inline; }

#content {
top: 90px;
}

input { width: 100%; }

}



/*		Wide Mobile Layout: 480px.
		Gutters: 24px.
		Outer margins: 22px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 480px) and (max-width: 767px) {
	
	body {
		width: 436px;
		padding: 36px 22px 48px;
	}

#top-bar-inner {
  width: 436px;
  margin: auto;
  height: 80px;
  background-image: url(../images/logo2.png);
  background-repeat: no-repeat;
  background-position: left center;
}

#top-bar-inner h4 {
  padding-left: 80px;
  top: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  position: absolute;
}

#wrapper {
  width: 436px;
  margin: auto;
}

#login {
  width: 252px;
  float: left;
}

#meny {
  width: 160px;
  float: right;
  margin-top: 60px;
}

input { width: 100%; }

}


/*	Retina media query.
	Overrides styles for devices with a 
	device-pixel-ratio of 2+, such as iPhone 4.
-----------------------------------------------    */

@media 
	only screen and (-webkit-min-device-pixel-ratio: 2),
	only screen and (min-device-pixel-ratio: 2) {
	
	body {
	
	}
	
}

#footer a {
    text-decoration: none;
    color: #666;
}
#tou-content {
    padding: 10px;
    overflow: hidden;
}
#tou-content p, .content p {
    padding: 0 0 1em 0;
}
