/************ Wikifarmen main CSS **********/ 


/***** GENERAL *****/ 

/* Main area. Margin from sidebar */
div#column-content {
	/*border: 1px solid green; */
	width: 100%;
	float: right;
	margin: 0 0 1.6em -22em; /* default: 0 0 0 -12.2em */
	padding: 0;
	padding-top: 100px;
}

#wikiheader {
	/*float: right;*/
	width: 100%;
	/*max-width: 1110px;*/
	height: 250px;
}

/* main content area. */
div#content {
	border-top: 1px solid rgb(102,102,102); 
	margin: 0 0 0 22em; /* default: 2.8em 0 0 12.2em */ 
	padding: 30px 0 0 0; /* default: 0 1em 1em 1em */ 
	position: relative;
	z-index: 2;
}

div#content {
	background: white;
	z-index: 2;
	color: black;
	border-top: 1px solid #aaa;
	/*border-bottom: 1px solid #aaa;*/
	padding-bottom: 30px;
	margin-right: 30px;
	line-height: 1.5em;
}

/* sidebar and portlet*/
div#column-one {
	position: relative;
	/*padding-top: 350px;*/
	margin-left: 30px;
	padding-top: 100px; /* Add space aboce */
	padding-bottom: 1.6em;
}

.generated-sidebar {
	width: 16em;
}

body {
	font-family: 'Roboto', sans-serif;
	color: black;
	font-size: 12px;
	font-weight: 300;
	font-height: 120%;
	background: #fff;
	margin: 0;
	padding: 0;
	direction: ltr; /* Needed for RTL flipping */
	unicode-bidi: embed;
}

/* scale back up to a sane default */
div#globalWrapper {
	position: relative;
	margin: 0;
	margin-left: auto;
	margin-right: auto;
	font-size: 14px;
	max-width: 960px; /* site content witdh */
	min-width: 800px;
	padding: 0;
}

#wikiwrapper {
	background-color: #FFF;
	position: relative;
	margin: 0;
	padding: 0;
}

/***** Basic styling *****/

p {
	line-height: 23px;
}

a {
	color: rgb(248,118,19);
	text-decoration: none;
}

a:visited {
	color: #EB9100;
	text-decoration: none;
}

a img {
	border: none;
}

a.new, a:visited.new {
	color: #F00 !important;
}

/* Use special bullet asci character >> */ 
ul {
	list-style: none;
	padding: 0;
	/*text-indent: -10px;*/
}

ul a:link, a:visited {
	color: #000;
	text-decoration: none;
}

li {
	padding-left: 20px;
	text-indent: -20px;
	/*padding-left: 1em;*/
}

ul li:before {
	content: "\00BB \0020";
	color: rgb(248,118,19);
	position: relative; 
	/*left: -10px;*/
	padding-right: 10px;
}

ol li {
	text-indent: 0;
	padding-left: 0;
}

/* More ul / ol in content section */



input {
	-moz-border-radius: 13px;
  	-webkit-border-radius: 13px;
  	border-radius: 13px;
  	outline: 0;

  	padding: 7px 8px;
	border: 1px solid rgb(102,102,102);
	margin-top: 0.5em;

	# iOS rendering
	-webkit-appearance: none;
}

button, input[type="button"], input[type="submit"], input#wpSave {
	-moz-border-radius: 13px;
  	-webkit-border-radius: 13px;
	border-radius: 13px;
	background-color: rgb(230,230,230);
	border: none;
	padding: 1em 2em;
	/*height: 30px;*/
}

table.rimage {
	float: right;
	position: relative;
	margin-left: 1em;
	margin-bottom: 1em;
	text-align: center;
}

/***** Text *****/

p {
	font-weight: 300;
}

/* headings */
h1, h2, h3, h4, h5 {
	font-weight: 300;
	border: none;
	line-heigth: 180%;
}

h1#firstHeading {
	margin-top: -5em;
	margin-bottom: 4em;
	font-weight: 300;
}

h2 {
	margin-top: 2em;
}

h2 span.mw-headline {
	line-height: 150%;
	margin-top: 2em;
}

span.editsection, span.editsection a {
	font-size: 12px;
	color: rgb(102,102,102);
}

/***** header *****/


/*** logo ***/

/*#p-logo {
	top: 3em;
	left: 3em;
	position: absolute;
	z-index: 3;
	height: 10em;
	width: 25em;
	overflow: visible;
}
*/

#p-logo {
	position: absolute;
	top: 70px;
	left: 30px;
	height: 140px;
	width: 500px;
	z-index: 3;
}


#p-logo h3 {
	display: none;
}

#p-logo a,
#p-logo a:hover {
	display: block;
	height: 140px;
	width: 500px;
	background-repeat: no-repeat;
	/*background-position: 35% 50% !important;*/
	text-decoration: none;
}

/* Fbnet logo */

#fb-logo {
	position: absolute;
	top: 15px;
	right: 30px;
	z-index: 3;
	margin: 0;
}



/*** search ***/

#p-search {
	position: absolute;
	top: 115px;
	right: 30px;
	z-index: 3;
	/*width: 26em;*/
	/*height: 5em;*/
	margin: 0;
	overflow: visible;
}

input, textarea, select {
	font-family:inherit;
	font-weight: 300;
}

#p-search input#searchInput {
	/* rounded corners */
	-moz-border-radius: 13px;
  	-webkit-border-radius: 13px;
  	border-radius: 13px;
  	outline: 0;

  	width: 300px;
  	/*height: 46px;*/
  	padding: 10px 8px 9px 8px;
	border: 1px solid rgb(102,102,102);
	margin-top: 0.5em;

	/* text */
  	font-weight: 200;
  	font-size: 135%;
  	line-height: 135%;

	# iOS rendering
	-webkit-appearance: none;
}

#p-search button {
	background-color: transparent;
	-moz-border-radius: 0;
  	-webkit-border-radius: 0;
	border-radius: 0;
	border: none;
	position: absolute;
	top: 0px;
	right: 20px;
	padding: 0;
}


.suggestions-result.suggestions-result-current,
.suggestions-special.suggestions-result-current {
	background-color: rgb(248,118,19);
}

/***** portlet *****/ 

/*** general ***/
.portlet {
	border: none;
	/*border: 1px solid red; /* debug */ */
	margin: 0 0 0 4em;
	padding: 0;
	float: none;
	/*width: 15em;*/
	overflow: hidden;
}

.portlet ul {
	line-height: 1.5em;
	/*font-size: 95%;*/
}

.portlet li {
	/*padding: 0;*/
	/*margin: 0;*/
}

/* Remove special bullet horizontal lists */
/* #p-personal .pBody ul li:before, */ 
#p-cactions.portlet ul li:before,
#footer ul#f-list li:before,
#mw-normal-catlinks ul li:before,
div.mw-search-formheader ul li:before {
	content: none;
}

/************************* user actions (tabs) *************************/

#p-cactions {
	position: absolute;
	top: 60px;
	right: 30px;
	margin: 0;
	white-space: nowrap;
	/*width: 75%;*/
	/*line-height: 1.1em;*/
	overflow: visible;
	background: none;
	/*border-collapse: collapse;*/
	/*padding-left: 1em;*/
	/*font-size: 95%;*/
}

#p-cactions ul {
	list-style-type: none;
	list-style-image: none;
}

#p-cactions li {
	display: inline;
	border: none;
	padding: 0 0 0 1em;
	margin: 0;
	overflow: visible;
	/*background: white;*/
}

#p-cactions a {
	color: rgb(102,102,102);
	text-decoration: none;
}

#p-cactions li.selected a {
	/*z-index: 3;*/
	color: #000;
}



/* pbody (login etc) */

/*#p-personal {
	font-size: 80%;
	padding: 0;
	position: absolute;
	top: 0;
	left: 0;
}*/

/*#p-personal ul li {
	display: inline;
	list-style-type: none;
	padding-right: 20px;
}*/


/*** sidebar ***/ 

#sidebartop {
	border-top: 1px solid rgb(102,102,102);
}

#sidebartop.generated-sidebar h3#sitesub {
	position: static;
	top: 0;
	display: block;
	margin-top: -1.85em;
	/*font-size: 85%;*/
	color: rgb(102,102,102);
	/*font-weight: 200;*/
}

.generated-sidebar, 
.generated-sidebar a,
#p-personal.portlet,
#p-personal.portlet a {
	text-decoration: none;
}

.generated-sidebar ul,
#p-tb ul,
#p-personal ul {
	/*padding: 0;*/
	/*margin: 0;*/
}

.generated-sidebar li:before,
#p-tb li:before,
#p-personal li:before {
	/*padding-right: 10px;*/
	/*left: 0;*/
}

/* 
column-one h3 {

}*/




/*** Footer ***/
#footer {
	border-top: 1px solid rgb(102,102,102);
	margin: 0;
	margin-left: 22em;
	/*text-align: center;*/
	/*font-size: 80%;*/
}

#footer li {
	/*display: inline;*/
	margin-top: 0.5em
}

#mw-normal-catlinks {
	margin-bottom: 3em;
	margin-top: 5em;
}


#footer ul#fbnet {
	float: left;
	padding-left: 0;
}

#footer ul#f-list {
	float: right;
	text-align: right;
}

/*** Content ***/

/* Search types*/
.mw-search-formheader {
	border: none;
	background: inherit;
}

.search-types ul li a {
	color: rgb(102,102,102);
	margin-right: 20px;
}

/* search result */

div.mw-search-result-heading {
	display: inline;
}

/* Tables etc */

table {
	border-collapse: collapse;
}

table > tr > th, 
table > tr > td, 
table > * > tr > th, 
table > * > tr > td,
table.wikitable > tr > th, 
table.wikitable > tr > td, 
table.wikitable > * > tr > th, 
table.wikitable > * > tr > td {
	/*border: none;*/
	background-color: #fff;
	/*padding: 1em;*/
    border: 1px solid #eee;
    padding: 10px;
    padding-right: 30px;
}

thead {
    /*font-weight: bold;*/
    font-family: @boldFont;
}

table caption {
	margin-bottom: 0.5em;
}

table label {
	font-weight: 500;
}


fieldset {
	border: none;
}

/*table.wikitable {
	background-color: inherit;
	border: none;
	margin: 2em 0;
}*/

/*table.wikitable > tr > th, 
table.wikitable > tr > td, 
table.wikitable > * > tr > th, 
table.wikitable > * > tr > td {
	border: none;
	background-color: inherit;
	padding: 1em;
}*/

/*table.wikitable tbody {
	display: table-row-group;
	vertical-align: middle;
}*/

/*table.wikitable tbody tr th {
	border-bottom: 1px solid rgb(102,102,102);
}*/


/*table.wikitable td {
	padding: 0.3em;
}*/





/* TOC */ 

#toc table,
#toc td {
	border: none;
	padding: 0;
}

#toc {
	width: 100%;
	/*font-size: 80%;*/
}

#toc a span.toctext {
	color: #EB9100;
}

#toc span.toctoggle {
	display: none;
}

#toc ul li:before {
	content:none;
	position: static;
	left: 0;
}

#toc li {
	margin-bottom: 0.2em;
	/*margin-left: 1em;*/
}

#toc span.toctext {
	margin-left: 1em;
}

/* mw content lists */


.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul {
	margin: 0;
}

.mw-content-ltr ol, 
.mw-content-rtl .mw-content-ltr ol {
	margin: 0;
	margin-left: 1.4em;
}

#mw-content-text ul li {
	margin-bottom: 0.5em;
}

#mw-content-text ul li.toclevel-2 {
	margin-left: -2em;
	margin-top: 0.5em;
}


/* pre */

pre, .mw-code {
	line-height: 1.1em;
	padding: 1em 0;
	margin: 3em 0;
	border: 0 solid rgb(102,102,102);
	border-bottom-width: 1px;
	border-top-width: 1px;
	font-size: 0.9em;
	color: #666;
}




/* Category links */

.catlinks li {
	margin-left: 1em;
	border: none!important;
}

.catlinks li:first-child {
	padding-left: 1em;
}