* {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust:none;  
}

body {      
  font: 16px Helvetica Neue, Helvetica, Arial, sans-serif; 
  background: #0066AA url(../Image/bg.gif) repeat-x top left;    
  min-height: 422px;
  padding: 0;
  width: 320px;
}


.button {
    -webkit-border-image: url(../Image/iPhoneButton.png) 0 5 0 5;
    -webkit-border-radius: 0;
    border-width: 0 5px 0 5px;
    padding: 0;
    height: 28px;
    line-height: 28px;
    font-size: 12px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
    text-decoration: none;
    background: none;
    display:block;
}

.homeButton {
    -webkit-border-image: url(../Image/iPhoneBackButton.png) 0 8 0 14;
    border-width: 0 8px 0 14px;
}

.goButton {
    -webkit-border-image: url(../Image/iPhoneGoButton.png) 0 5 0 5;
    border-width: 0 5px;
}

/*
 * BLUE BOX 
 */ 
.box {
  margin: 67px 0 0 0;
  width: 100%;
  padding: 0;
}

.listbox {
  margin: 27px 0 0 0;
  width: 100%;
  padding: 0;
}

.box span p {   
  display: block;
  font-size: 0.9em;
  width: 300px;
  color: #E6F6FF;
  padding: 10px;
}

span.indent {margin: 10px 0 0 0; padding: 0 0 0 20px; background: url(../Image/under_a.png) no-repeat 0px 5px;}

.cut {               
  border-bottom: 0;
}

.box p {
  color: #FFF;
  font-size: 1em;
  margin-bottom: 5px;
  text-align: center;
  margin-top: 10px;
  text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
}

.box a {
  color: #FFF;
}

.center {
text-align: center;
}

/*
 * SEGMENT
 */
.box  {  
 width: 100%;
 padding: 0;
} 

.box li {   
 float: left;  
 list-style-type: none;
 width: 135px;
}    

.box li:first-child {
 margin-left: 15px;
 margin-right: 15px;
}

.box li.active a {
 background-color: #FFF; 
 border: 1px solid #FFF;
 color: #0066AA; 
}

.box li a {    
 font-size: 0.9em;
 font-weight: bold;
 background-color: #0E7DC0;  
 border: 1px solid #9EC7E0; 
 border-bottom: 0;
 color: #FFF;
 display: block;     
 padding: 5px 0;         
 text-align: center;
 text-decoration: none;
 width: 100%;   
 -webkit-border-top-left-radius: 10px;
 -webkit-border-top-right-radius: 10px;
} 

.box li a em {
 font-size: 0.9em;
 color: #FFF;
 font-weight: normal;
 font-style: normal;
}

.box li.active a em {
 color: #888;
}

.box:after,
.box ul:after {     
 clear: both;
 content: ".";  
 display: block;    
 height: 0;
 visibility: hidden;
} 

.box h2, #page_wrapper h2 {
 font-size: 1.2em;
 color: #FFF;
 margin: 0 0 2px 15px;
 font-weight: normal;
 text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
}

.listbox h2 {
 font-size: 1em;
 color: #FFF;
 margin: 0 0 2px 15px;
 font-weight: normal;
 text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
}

.box h3 {
 font-size: 1.2em;
 color: #FFF;
 font-weight: normal;
 text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
/*
 background: url(../Image/check.png) 50px 0 no-repeat;
 padding-left: 20px;
*/
 margin-top: 20px;
}

.box h3 img {
  margin-right: 10px;
}

/*
 * HEADER
 */
h1 a {    
  background: url(../Image/1881-logo.png) no-repeat top center;      
  display: block;
  height: 79px;             
  margin: -107px 0 5px 0;
  text-indent: -9999px;
}

h1.front a {    
  background: url(../Image/1881-logo.png) no-repeat top center;      
  display: block;
  height: 79px;             
  margin: -47px 0 5px 0;
  text-indent: -9999px;
} 

/*
 * INPUT
 */ 
input[name="q"] { 
width: 244px;
height: 26px;
border: 0;
padding: 5px 0 5px 10px;
margin-left: 10px;
line-height: 26px;
font-size:1.2em;
float: left;
color: #003366;
background: url(../Image/input-bg.png) no-repeat;
}


/*
input[name="q"]:focus {
  border-color: #000;   
  outline: none;
}
*/

input[type="submit"] {
  background: url(../Image/search.png) no-repeat right; 
  border: 0;    
  clear: both; 
  height: 36px;   
  text-indent: -9999px;   
  width: 46px;
} 

input.emailinput { 
width: 244px;
height: 26px;
border: 0;
padding: 5px 0 5px 10px;
margin-left: 10px;
line-height: 26px;
font-size:1.2em;
float: left;
color: #003366;
background: url(../Image/input-bg.png) no-repeat;
}

input.emailsubmit {
  background: url(../Image/email_file.png) no-repeat right; 
  border: 0;    
  clear: both; 
  height: 36px;   
  text-indent: -9999px;   
  width: 46px;
}

input.tbminput { 
width: 295px;
height: 26px;
border: 0;
padding: 5px 0 5px 10px;
margin: 0 0 5px 0;
line-height: 26px;
font-size:1em;
color: #003366;
background: url(../Image/input-bg.png) no-repeat;
}

select.tbmselect { 
margin: 10px 0;
font-size:1em;
color: #003366;
width: 280px;
}

div.tbmarea textarea {
padding: 5px;
width: 280px;
height: 80px;
font-size: 1em;
}

div.tbmarea {
padding-top: 8px;
width: 320px;
background: #003366;
}

input.tbmsubmit {
  background: url(../Image/tbm_send.png) no-repeat; 
  border: 0;    
  height: 42px;   
  text-indent: -9999px;   
  width: 270px;
  margin: 10px 0;
} 


/*
 * RESULT LIST
 */
.result, .roles, .weather {
  background-color: #FFF;       
  list-style-type: none;
  width: 100%;
  z-index: 1;
}

.result li, .roles li, .weather li {   
  border-bottom: 1px solid #CCC;
  width: 290px;
  position: relative;
  padding: 15px 15px 15px 15px;
  }

.roles li.even {   
  background: #E6F6FF;
}

.roles li.odd {   
  background: #FFF;
}

.weather li.odd, .weather li.even {
background: #FFF;
}


.result li.even {   
  background: #E6F6FF url(../Image/a.png) no-repeat 285px 50%;
}

.result li.odd {   
  background: #FFF url(../Image/a.png) no-repeat 285px 50%;
}

.result li.sponsored {   
  background: #FFFFCF url(../Image/a.png) no-repeat 285px 50%;
}

.result li.call {   
  background: url(../Image/call.png) transparent no-repeat 235px 50%;
}

.result li.map {   
  background: url(../Image/map.png) no-repeat 235px 50%;
}

.result li.web {   
  background: url(../Image/web.png) no-repeat 235px 50%;
}

.result li.email {  
  background: url(../Image/email.png) no-repeat 235px 50%;
}

.result li.numbers {   
  background: url(../Image/numbers.png) no-repeat 235px 50%;
}

.result li.roles {   
  background: url(../Image/roles.png) no-repeat 235px 50%;
}

.result li.tax {   
  background: url(../Image/tax.png) no-repeat 235px 50%;
}

.result li.vcard {   
  background: url(../Image/vcard.png) no-repeat 235px 50%;
}

.result img.sms {  
  border: 0;
  margin: 0;
}

.result img {  
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}


.result a, .roles a {    
  color: #000;
  display: block;  
  font-weight: bold;  
  position: relative;
  text-decoration: none; 
  word-wrap: break-word;
  width: 290px;
  padding: 15px 15px 15px 15px;
  margin: -15px -15px -15px -15px;
}

.result a.smslink {    
  padding: 0;
  width: 79px;
  position: absolute;
  top: 50%;
  left: 150px; 
  margin-top: -18px;
}

.result span {   
  display: block;
  font-size: 14px;
  width: 265px;
}

.roles span {   
  position: absolute;
  right: 15px;

}


/*
.result span.description {   
  display: block;
  width: 305px;
  background-color: #E6F6FF;
  margin: 15px 0 -15px -15px;
  padding: 2px 0 2px 15px;

}

.result span.description em{
  font-size: 12px;
  color: #666;
  font-style: italic;
}
*/

.result i, .roles i, .weather i {
  color: #0066AA;  
  font-style: normal;
  font-weight: bold;
}

.result li.web i,
.result li.email i {
  font-weight: normal;
}

.result em, .roles em, .weather em {
  color: #333;  
  font-size: 0.9em;   
  font-style: normal;
  font-weight: normal;
}

.result p b {
	padding: 10px 0 10px 15px;
	color: #808080;  
  	font-size: 12px;
  	line-height: 20px;
  	display: block;
}

.grey {
  color: #808080;
} 

/*
div#yearmenu {
  background: #0066AA url(../Image/bg.gif) repeat-x top left;
  border-top: 1px solid #369;
  height: 50px;
  line-height: 50px;                      
  margin: 0;   
  width: 100%;
}

div#yearmenu ul {
list-style-type: none;
margin: 0 0 0 15px;
}

div#yearmenu li {
display: inline;
margin-right: 80px;
}

div#yearmenu li:last-child {
margin-right: 0;
}

div#yearmenu li a {
color: #FFF;
text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
font-size: 1.1em;
}
*/



div#yearmenu {                    
  margin: 5px 0 0 0;   
  width: 100%;
  border-bottom: 1px solid #FFF;
  display: block;
  height: 38px;
}

div#yearmenu ul {
list-style-type: none;
margin: 20px 0 0 15px;
}

div#yearmenu li {
display: inline;
float: left;
margin-right: 10px;
}

div#yearmenu li:last-child {
margin-right: 0;
}

div#yearmenu li a { 
 width: 80px;
 font-size: 0.9em;
 font-weight: bold;
 background-color: #0E7DC0;  
 border: 1px solid #9EC7E0; 
 border-bottom: 0;
 color: #FFF;
 display: block;     
 padding: 10px 5px;         
 text-align: center;
 text-decoration: none;
 -webkit-border-top-left-radius: 10px;
 -webkit-border-top-right-radius: 10px;
}

div#yearmenu li.active a {
 background-color: #FFF; 
 border: 1px solid #FFF;
 color: #0066AA; 
}


div#tbmmenu {                    
  margin: 3px 0 0 0;   
  border-bottom: 1px solid #FFF;
  height: 30px;
  width: 100%
}

div#tbmmenu ul {
list-style-type: none;
margin: 0 auto;
width: 280px;
}

div#tbmmenu li {
display: inline;
float: left;
margin-right: 0;
width: 80px;
}

div#tbmmenu li:last-child {
margin-right: 0;
}

div#tbmmenu li a { 
 width: 70px;
 font-size: 0.9em;
 font-weight: bold;
 background-color: #0E7DC0;  
 border: 1px solid #9EC7E0; 
 border-bottom: 0;
 color: #fff;
 display: block;     
 padding: 6px 2px;         
 text-align: center;
 text-decoration: none;
 -webkit-border-top-left-radius: 10px;
 -webkit-border-top-right-radius: 10px;
}

div#tbmmenu li.active a {
 background-color: #003366; 
 border: 1px solid #FFF;
 border-bottom: 1px solid #003366;
 color: #FFF; 
}

#vaermenu {
color: #FFF;
font-size: 0.8em;
width: 150px;
position: absolute;
left: 205px;
top: 50px;
}

#vaermenu img {
vertical-align: middle;
float: left;
text-decoration: none;}

#vaermenu a {
color: #FFF;
}

#vaermenu a b {
text-decoration: none;
}

.weather li img {
vertical-align: middle;
text-decoration: none;
margin: 0 10px 0 0;
}

.weather li b {
float: right;
text-align: right;
font-size: 1.2em;
margin-top: 3px;
}


#emailmenu {
color: #FFF;
font-size: 0.8em;
background: url(../Image/xl.png) no-repeat top left;
padding-left: 22px;
height: 22px;
line-height: 22px;
margin: 10px 0 10px 15px;
}

#emailmenu a {
color: #FFF;
}

#emailform {
position: absolute;
z-index: 20px;
background-color: #000;
opacity: .9;
color: white;
top:50px;
left: 45px;
height: 70px;
padding: 10px;
-webkit-border-radius: 10px;

}

#emailform h2 {
 font-size: 1.2em;
 color: #FFF;
 font-weight: normal;
 text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
}

#emailform input {
 font-size: 1.2em;
 color: #0033AA;
 font-weight: normal;
 padding: 2px;
 margin-top: 5px;
}


/*
 * NAV
 */
 
  
.nav {
  margin-top: 20px;
}                  

.nav li {   
  list-style-type: none;
  margin-top: 10px;
}                

.nav li a {   
  background: url(../Image/nav.png);   
  border: 2px solid #8D8D8D;    
  color: #FFF;
  display: block;
  height: 30px;      
  padding-top: 9px;  
  text-align: center;
  text-decoration: none;
  -webkit-border-radius: 7px;
}

/*
 * SEARCHBAR
 */
.searchbar {   
  background: url(../Image/iPhoneToolbar.png) repeat-x;  
  border-bottom: 1px solid #369;
  height: 27px;                      
  list-style-type: none;
  margin: 0 0 0 0;   
  padding: 8px 6px;    
  width: 308px;
}     

.searchbar li:first-child a { 
  display: block;          
  float: left;
}

.searchbar li a {
  display: block;    
  float: right;
}

.searchbar li span {
color: #FFF;
font-weight: bold;
font-size: 0.9em;
height: 28px;
line-height: 28px;
display: block;
float: right;
text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
}

/*
 * NEXT/PREV
 */
 
.next-prev {   
  background: #0066AA url(../Image/bg.gif) repeat-x top left;
  border-top: 1px solid #369;
  height: 50px;                      
  margin: 0;   
  width: 100%;
}


.next {               
  float: right;  
}

.prev, .next {   
  font-size: 0.8em;
  color: #FFF;
  display: block; 
  font-weight: bold;  
  line-height: 50px;
  padding: 0 15px 0 15px;    
  text-decoration: underline;
  width: 110px;
}

/*
 * ADVERTISING
 */
 
.ads {   
  background: #FFF;
  color: #808080;
  border-top: 1px solid #369;
  margin: 0;   
  width: 300px;
  padding: 10px;
  text-align: center;
}

.ads-frontpage {   
  background: #FFF;
  color: #808080;
  border-top: 1px solid #369;
  margin: 150px 0 0 0;   
  width: 300px;
  padding: 10px;
  text-align: center;
}


/*
 * TBM - TILBAKEMELDING
 */

#tbm-button{
  width: 100%;
  text-align: center;
  background: url(../Image/tbm_bg.png) repeat-x;
  color: #FFF;
  margin: 10px 0 0 0;
  height: 44px;
  line-height: 44px;
  position: absolute bottom;
}

#tbm-button a {
  color: #FFF;
  background: url(../Image/tbm_icon.png) 20px 14px no-repeat;
  padding-left: 15px;
  font-size: 0.8em;
  text-decoration: none;
  text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
  width: 100%;
  height: 44px;
  display: block;
}

.imgleft {
margin-right: 50px;
}

.imgright {
margin-left: 50px;
}


table.weatherForecast {
width: 100%;
border: 0;
background-color: #FFF;
font-size: 0.9em;

}

table.weatherForecast td {
border-left: 1px solid #CCC;
padding: 10px 5px 10px 5px;
text-align: center;
}


table.weatherForecast th {
padding: 10px 15px 10px 15px;
background-color: #06A;
text-align: left;
font-size: 1.2em;
color: #FFF;
font-weight: normal;
text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
}

/*
 * ORIENTATION CLEVERNESS 
 */ 
 
#page_wrapper{  
    overflow:auto;  
    } 
  
#content_left,  
#content_right,  
#content_normal,  
#content_flipped{  
    display:none;  
}

.show_normal,  
.show_flipped{  
    width:320px;  
}  
.show_left,  
.show_right{  
    width:480px;
    background-color: #06A;
    padding-top: 15px;
}
    
.show_left #content_left,  
.show_right #content_right,  
.show_normal #content_normal,  
.show_flipped #content_flipped{  
    display:block;
}

