﻿img
{
	border:0;
}

label
{
	padding-left: 5px;
}

table.faktura {
		width: 210mm;
	    height:297mm;
		border: 1px solid black;
		border-collapse: separate;
		background-color: white;
}

td.rad {
	vertical-align: top;
}
h2.InvoiceHead { background-color: white; color: black; }
table.grunndata {   width: 100%;
                    vertical-align: top;
}
img.logo { float: left; margin-right: 1em; }
table.fakturadata th {
	text-align: right;
	font-weight: normal;
}
table.fakturadata td {
	text-align: left;
}
td.fakturaadresse {	
	padding: 1em;
	background: rgb(204,204,204);
	vertical-align: top;
	padding-bottom: 0em;
}
td.leveringsadresse { 
    padding-left: 2em;
	background: rgb(204,204,204);
	padding-bottom: 1em;
}
table.fakturalinjer {
	border: 1px solid black;
	background-color: #E2E2E2;
}
table.fakturalinjer tr { 
	
}
table.fakturalinjer td { 
	text-align: center;
}
table.fakturalinjer input {
	font-size: x-small;
}
td.tall {
	padding-right: 1px;
}
input.itemProdCode { }
input.itemTotal { 
	border-style: none;
	background-color: transparent;
}
table.summeringer {
	width: 100%;
}
EM.etikett { 
	display: block;
	font-family: sans-serif;
	font-weight: bold;
}
div.fellesblankett { 
	padding: 0;
    margin: 0;
    position: relative;
	bottom: 0;
	border: thin dotted yellow; 
    width: 210mm;
	height: 95mm;
}
div.klammeboks { border: 1px dashed black }
div.betalingsinformasjonsBox {
	position: absolute;
	top: 4mm;
	left: 14mm;
	height: 23mm; 
    width: 86mm;
}
div.Betalingsfrist {
	position: absolute;
	top: 2mm;
	left: 151mm;
}
div.BetalingsfristBox {
	position: absolute;
	top: 2mm;
	left: 167mm;
	width: 30mm;
	height: 6mm;
	text-align: center;
	font-size: 1.2em;
}
div.Underskrift { position: absolute; top: 0.9cm; left: 11.4cm; }
div.UnderskriftBox {
	position: absolute;
	top: 1.2cm;
	left: 11.1cm;
	width: 8.6cm;
	height: 1.9cm;
	vertical-align: middle;
}
div.BetaltTil { position: absolute; top: 3.2cm; left: 11.4cm; }
div.BetaltTilBox { 
	position: absolute;
	top: 3.5cm;
	left: 11.1cm;
	width: 8.6cm;
	height: 1.9cm;
	padding-left: 1em;
}
div.BetaltAv {
	position: absolute;
	top: 3.2cm;
	left: 1.6cm;
}
div.BetaltAvBox {
	position: absolute;
	top: 3.5cm;
	left: 1.3cm;
	width: 8.6cm;
	height: 1.9cm;
    padding-left: 1em;
}
div.gulstripe { 
	position: absolute;
	top: 5.9cm;
	left: 0cm;
	width: 20.9cm;
	height: 8mm;
	background: yellow;
}
div.belastkonto { position: absolute; top: 6.0cm; left: 3.15cm; }
div.belastkontonummer { position: absolute; top: 6.0cm; left: 4.2cm;}
TD.hvitrute {
	background: white;
	width: 5mm;
	height: 5mm;
}
div.KvitteringTilbake { position: absolute; top: 6.0cm; left: 17.3cm; height: 6mm;}
div.KvitteringTilbakeBox { position: absolute; top: 6.0cm; left: 19.2cm; width: 5mm; height: 6mm; background: white}
div.KIDlinje { position: absolute; top: 7cm; }
div.KID { position: absolute; left: 1cm; white-space: nowrap;}
div.kroner { position: absolute; left: 8.1cm; width: 23mm; }
div.ore { position: absolute; left: 10.6cm; width:30px }
div.tilkonto { position: absolute; left: 131mm; width:80px}
div.blankettnummer { position: absolute; left: 17.2cm; width:120px}
div.printlinje { position: absolute; top: 7.75cm;}
div.printlinje div.H {  position: absolute; left: 0.2cm; }
div.printlinje div.kontrsiffer { position: absolute; left: 11.4cm; width:35px }
div.gulstripeNederst {
	position: absolute;
	top: 84mm;
	left: 0cm;
	width: 209mm;
	height: 2mm;
	background: yellow;
}
div.hbars {
	position: absolute;
	top: 7cm;
	height: 14mm;
}
div.hbar {
	position: absolute;
	height: 14mm;
	border-left: 1px solid black;
	border-width: 1px;
}
div.hbar1 { 
	left: 0.8cm;
}
div.hbar2 {
	left: 7.91cm
}
div.hbar3 {
	left: 10.5cm;
	border-color: yellow
}
font.kreditNotaWarning {
	font-size: 2em;
	font-weight: bold;
	color: red;
}
p.giro_address {margin-top: 1mm;}
table.invoiceRecipient {
	background-color: #E2E2E2;
	border-style: groove;
	border-width: 2px;
	margin-bottom: 1em;
	border-color: #fbeeac;
	padding: 1em 1em 0em 1em;
}
button.deleteRowButton, button.addRowButton, button.productLookUpButton {
	font-size: smaller;
	padding: 0;
}
tr.invoiceItem, tr.invoiceItem td {
	padding: 0;
	vertical-align: middle;
}
@page { margin: 0cm;
		size: 21cm 297mm;
		}
@media print {
	BODY { margin-left: -1cm;
		margin-top: -5cm }
	}
/*AutoComplete flyout */

.autocomplete_completionListElement 
{  
	visibility : hidden;
	margin : 0px!important;
	background-color : #ffffff;
	color : #000000;
	border : buttonshadow;
	border-width : 1px;
	border-style : solid;
	overflow : auto;
	height : 200px;
    text-align : left; 
    list-style-type : none;
    z-index:100;
}

/* AutoComplete highlighted item */

.autocomplete_highlightedListItem
{
	background-color: #ffff99;
	color: #ff0000;
	padding: 1px;
}

/* AutoComplete item */

.autocomplete_listItem 
{
	background-color : #ffffff;
	color : #000000;
	padding : 1px;
}

/* BUTTONS */

.buttons a, .buttons button{
    display:block;
    float:left;
    margin:0 7px 0 0;
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;

    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size:100%;
    line-height:130%;
    text-decoration:none;
    font-weight:bold;
    color:#565656;
    cursor:pointer;
    padding:5px 10px 6px 7px; /* Links */
}
.buttons button{
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}
.buttons button[type]{
    padding:5px 10px 5px 7px; /* Firefox */
    line-height:17px; /* Safari */
}
*:first-child+html button[type]{
    padding:4px 10px 3px 7px; /* IE7 */
}
.buttons button img, .buttons a img{
    margin:0 3px -3px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}

/* STANDARD */

button:hover, .buttons a:hover{
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#336699;
}
.buttons a:active{
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}

/* POSITIVE */

button.positive, .buttons a.positive{
    color:#529214;
}
.buttons a.positive:hover, button.positive:hover{
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#529214;
}
.buttons a.positive:active{
    background-color:#529214;
    border:1px solid #529214;
    color:#fff;
}

/* NEGATIVE */

.buttons a.negative, button.negative{
    color:#d12f19;
}
.buttons a.negative:hover, button.negative:hover{
    background:#fbe3e4;
    border:1px solid #fbc2c4;
    color:#d12f19;
}
.buttons a.negative:active{
    background-color:#d12f19;
    border:1px solid #d12f19;
    color:#fff;
}
.mytable
{
	padding: 2px;
}

.discountpercent, .count
{
	width: 50px;
}

.unitprice
{
	width: 100px;
}


.linetext
{
	width: 200px;
}

#invoice-totals
{
	float:right;
	width: 250px;
	padding-top:10px;
}

.amount
{
	float:right;
	padding-right:10px;
	font-size: 14px;
}

.description
{
	float:left;
	font-size: 14px;
}

.grossamount, .netprice
{
	float: right;
}

#c_lines th
{
	text-align:left;
}

#c_rightcolumn a, #c_rightcolumn a:visited
{
	color: #ffffff;
}

.line
{
	border-bottom: solid 1px #000;
	height: 1%;
}

.topay
{
	font-weight: bold;
}

.suminvoice
{
	padding-right:10px;
	text-align: right;
	font-weight: bold;
}

.userinfo
{
	float: left;
	width: 250px;
}

.logo
{
	float: left; 
	width: 250px;
}

.pagelinks
{
	width:350px;
	float: right;
	text-align: right;
}

.email
{
	width: 250px;
}

.required
{
	color: #ff0000;
}

.buttons
{
	clear: both;
}

.buttonline
{
	float: right; margin-top: 20px; clear: both;
}

.floatleft
{
	float: left;
}

.floatright
{
	float: right;
}

.c_contact
{
	width: 350px;
}

.c_contact input, .c_contact select
{
	width: 200px;
}

.c_error
{
	border: solid 1px #ff0000;
	margin: 10px 0;
}
.blueinfobox
{
	float: right;
	width: 500px;
	background-color:#D5E1F0;
	border:1px solid #89AAD6;
	padding: 10px;
	margin-bottom: 10px;
	font-family: Trebuchet MS;
	font-size: 10px;
}

.errorlist
{
	color: #ff0000;
	font-weight: bold;
}

.redborder
{
	border: solid 1px #ff0000;
}

#fakturalinjer em
{
	color: #ff0000;
}

.fakturaoversiktpager
{
	float:right;
	clear: both;
	padding: 10px 0;
}

.pagecontrol
{
	font-size: 120%;
}

.pagecontrol a
{
	border: solid 1px #000;
	margin: 2px;
	padding: 2px;
}

a.selected, a.selected:visited 
{
	border: solid 1px #ff0000;
	color: #ff0000;
}

a.selected {
  background-color:#1F75CC;
  color:white;
  z-index:100;
}

.messagepop {
  background-color:#FFFFFF;
  border:1px solid #999999;
  cursor:default;
  display:none;
  margin-top: 2px;
  position:absolute;
  text-align:left;
  width:394px;
  z-index:50;
  padding: 10px 25px 20px;
}

.messagepop p, .messagepop.div {
  border-bottom: 1px solid #EFEFEF;
  margin: 8px 0;
  padding-bottom: 8px;
}