.shadow:focus,
:focus {
    outline: none;
    -webkit-box-shadow: 0 0 0 2px #1c94c4;
    box-shadow: 0 0 0 2px #1c94c4;
}

.tooltip, .tooltipRight, .tooltipLeft, .tooltipBottom, .tooltipError, .tooltipInfo {
    position: absolute;
    padding: 10px;
    width: 100px;
    height: 100px;
    background-color: #FFE45C;
    border: 3px solid #F1CB00;
    font-size: 1em;
    color: #333333;
    box-shadow: 1px 1px 2px 1px #666666; 
    -moz-box-shadow: 1px 1px 2px 1px #666666; 
    -webkit-box-shadow: 1px 1px 2px 1px #666666; 
    z-index: 10;
}

.tooltipError, .tooltipInfo {
    width: 330px;
    height: 25px;
    left: -160px;
    top: 40px;
}

.tooltipInfo:after, .tooltipInfo:before, .tooltipError:after, .tooltipError:before, .tooltipBottom:after, .tooltipBottom:before, .tooltipBottom:after, .tooltipBottom:before, .tooltipLeft:after, .tooltipLeft:before, .tooltipRight:after, .tooltipRight:before {
    border: solid transparent;
    content: ' ';
    position: absolute;
    height: 0;
    width: 0;
}

.tooltipInfo:after, .tooltipError:after {
    border-width: 9px;
    left: 185px;
    top: -18px;
}

.tooltipInfo:before, .tooltipError:before {
    border-width: 14px;
    left: 180px;
    top: -30px;
}

.tooltipInfo:after { border-bottom-color: white; }
.tooltipError:after { border-bottom-color: #CD0A0A; }
.tooltipInfo:before { border-bottom-color: orange; }
.tooltipError:before { border-bottom-color: #CD0A0A; }

.tooltipBottom:after {
    border-width: 9px;
    left: 165px;
    top: 100%;
    border-top-color: #FFE45C;
}

.tooltipBottom:before {
    border-width: 14px;
    left: 160px;
    top: 100%;
    border-top-color: #F1CB00;
}

.tooltipLeft:after {
    border-width: 9px;
    left: -18px;
    top: 45px;
    border-right-color: #FFE45C;
}

.tooltipLeft:before {
    border-width: 14px;
    left: -28px;
    top: 40px;
    border-right-color: #F1CB00;
}

.tooltipRight:after {
    border-width: 9px;
    border-left-color: #FFE45C;
    top: 15px;
    left: 100%;
}

.tooltipRight:before {
    border-width: 14px;
    border-left-color: #F1CB00;
    top: 10px;
    left: 100%;
}

#backgroundPopup {
    display: none;
    z-index: 4;
}

#introText {
    width: 410px;
    height: 50px;
    left: 10px;
    top: 30px;
}

#forsideProcent {
    width: 200px;
    height: 70px;
    right: -30px;
    top: 200px;
}

#forsideTimeline {
    width: 200px;
    height: 30px;
    bottom: -40px;
    right: -10px;
}

#forsideMenu {
    width: 200px;
    height: 70px;
    left: -30px;
    top: 200px;
}

#forsideProperty {
    width: 200px;
    height: 50px;
    left: -30px;
    bottom: -40px;
}

button#forsideStart {
    background: #eee;
    position: absolute;
    left: 140px;
    top: 115px;
    z-index: 10;
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 100%;
    background: #888;
    margin: 0;
    padding: 0;
    font-size: .8em;
    font-family: verdana, arial, sans-serif;
}

input[type=text] {
    width: 100%;
    height: 15px;
    line-height: 15px;
    margin-top: 0px;
    text-align: right;
    background: #FCFDFD;
    padding: 0;
    border: 1px inset #a6c9e2;
    font-weight: 100;
    font-family: verdana, arial, sans-serif;
    font-size: 1em;
}

input#kravEgenkapitalProsentV {
    width: 50px;
    height: 18px;
    background: none;
    border: 0;
}

fieldset {
    margin-top: 2px;
    padding-bottom: 2px;
}

legend {
    font-size: .85em;
    font-weight: 700;
}

label {
    font-size: .8em;
}

button {
    margin-top: 10px;
    font-weight: 700;
    font-size: 1em;
    width: 200px;
    height: 50px;
}

hr {
    size: 1px;
    margin-top: 5px;
    margin-bottom: 0px;
}

.bgLonn {
    background-color: #5c5c5c;
}

.bgSkatt {
    background-color: #52be32;
}

.bgForbruk {
    background-color: #259acb;
}

.bgBoutgifter {
    background-color: #0062a3;
}

.bgBilutgifter {
    background-color: #27298a;
}

.bgStudieLoen {
    background-color: #7c2151;
}

.bgForbrukLoen {
    background-color: #b31f0d;
}

.bgSparing {
    background-color: #df5900;
}

.bgPengerOvers {
    background-color: #d1b000;

}

.bgDisponibelt {
    background-color: #267d11;
}

.lys {
    opacity: .5;
    -moz-opacity: .5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=50)";
    filter: alpha(opacity=50);
}

div.sliderComp {
    position: relative;
    width: 100%;
    height: 35px;
    line-height: 35px;
    border: 0;
    padding: 0;
    margin-top: 2px;
}

div.nameBox {
    position: relative;
    width: 100%;
    height: 13px;
    line-height: 13px;
    font-size: .8em;
}

div.sliderWrapper {
    position: relative;
    width: 100%;
    height: 22px;
    margin: 0;
}

div.sliderBox {
    position: relative;
    float: left;
    width: 65%;
    height: 22px;
    line-height: 22px;
    font-size: .8em;
}

.descBox {
    position: relative;
    float: left;
    width: 65%;
    height: 18px;
    line-height: 18px;
    font-size: .8em;
}


div.valueBox {
    position: relative;
    float: right;
    width: 35%;
    height: 22px;
    line-height: 22px;
}

span.value {
    position: relative;
    width: 56%;
    float: left;
    padding-right: 5px;
    text-align: right;
    font-size: .8em;
}

span.ma {
    position: relative;
    float: left;
    margin-left: 66px;
    width: 44%;
}

span.unit {
    position: relative;
    float: left;
    text-align: left;
    font-size: .8em;
}

div.inputBox {
    position: relative;
    width: 100%;
    height: 18px;
    line-height: 18px;
    border: 0;
    padding: 0;
    margin-top: 0px;
}

div.showBox {
    position: relative;
    float: right;
    width: 35%;
    height: 18px;
    line-height: 18px;
}

.etiketValue {
     position: relative;
     float: left;
     padding-right: 5px;
}

div.link {
    position: absolute;
    bottom: 10px;
    font-size: .8em;
    width: 430px;
}

#popupContact h1 {
    text-align: left;
    color: #6FA5FD;
    font-size: 22px;
    font-weight: 700;
    border-bottom: 1px dotted #D3D3D3;
    padding-bottom: 2px;
    margin-bottom: 20px;
}
#popupContactClose {
    font-size: 14px;
    line-height: 14px;
    right: 6px;
    top: 4px;
    position: absolute;
    color: #6fa5fd;
    font-weight: 700;
    display: block;
}

#menuBox {
    margin: 2px;
    margin-top: 10px;
    width: 242px;
    zoom: 1;
    background-color: #F2F2F2;
}

.menuBtn {
    position: relative;
    margin: 0 0 2px 0;
    padding: 0;
    border: 1px solid #E2E2E2;
    width: 240px;
    height: 30px;
    background-color: #F2F2F2;
    zoom: 1;
    cursor: pointer;
    z-index: 2;
}

div.menuBar {
    position: absolute;
    width: 8px;
    height: 30px;
    float: left;
    z-index: 2;
}
div.sepBar {
    position: absolute;
    left: 0px;    
    width: 29px;
    height: 30px;
    z-index: 2;
}
div.labelBar {
    position: absolute;
    left: 30px;
    width: 130px;
    height: 30px;
    line-height: 30px;
    text-align: left;
    z-index: 3;
}
div.valueBar {
    position: absolute;
    left: 160px;
    width: 55px;
    height: 30px;
    line-height: 30px;
    text-align: right;
    font-size: .8em;
    font-weight: normal;
    z-index: 2;
}
div.unitBar {
    position: absolute;
    left: 215px;
    width: 20px;
    height: 30px;
    line-height: 30px;
    text-align: left;
    padding-left: 5px;
    font-size: .8em;
    font-weight: normal;
    z-index: 2;
}

#legendMessage {
    margin : 2px;
    margin-left : 15px;
    height : 27px;
    width : 130px;
    padding: 5px;
    line-height: 1.2em;
}

.error {
    border: 3px solid #CD0A0A;
    color: white;
    font-weight: 700;
    text-align: center;
    padding: 0;
    line-height: 12px;
}

.info {
    border: 3px solid orange;
    background-color: white;
    color: black;
    font-weight: 700;
    text-align: center;
    padding: 0;
    line-height: 12px;
}

#legendDesc {
    margin : 5px;
    margin-left : 15px;
    height : 52px;
    padding-top: 30px;
    font-size : 1em;
    font-weight: 700;
    text-align : left;
    color: #5C5C5C;
}
            
.legendValue {
    float : left;
    margin : 0px 5px 0px 0px;
    padding-top : 1px;
    height : 30px;
    width : 60px;
    font-size : .8em;
    line-height : 30px;
    text-align : right;
}

.legendBar {
    float : left;
    margin : 1px 0px 1px 0px;
    height : 30px;
    width : 8px;
}

.legendLabel {
    float : left;
    margin : 0px 0px 0px 7px;
    padding-top : 1px;
    height : 30px;
    font-size : .8em;
    text-align : left;
    line-height : 30px;
}

#centered {
    position: relative;
    width: 960px;
    height: 100%;
    min-height: 100%;
    text-align: left; 
    border: 0px;
    padding: 0;
    margin: 0px auto;
    background: #E2E2E2;
    background-image: linear-gradient(bottom, #949494 30%, #E2E2E2 70%);
    background-image: -o-linear-gradient(bottom, #949494 30%, #E2E2E2 70%);
    background-image: -moz-linear-gradient(bottom, #949494 30%, #E2E2E2 70%);
    background-image: -webkit-linear-gradient(bottom, #949494 30%, #E2E2E2 70%);
    background-image: -ms-linear-gradient(bottom, #949494 30%, #E2E2E2 70%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#E2E2E2', endColorstr='#949494');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#E2E2E2', endColorstr='#949494')";
}

#header {
    position: relative;
    padding-left: 200px;
    width: 760px;
    height: 30px;
    font-size: 1.4em;
    font-weight: 700;
    color: #5C5C5C;
    line-height: 30px;
    z-index: 1200;
}

div#contentWrapper {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    width: 960px;
    height: 410px;
}

div#menu {
    position: absolute;
    left: 0px;
    width: 250px;
    height: 410px;
}

div#content {
    position: absolute;
    left: 250px;
    width: 470px;
    height: 410px;
}

div#contentBorder {
    position: relative;
    margin: 5px;
    padding: 0;
    border: 0;
    width: 460px;
    height: 400px;
    background-color: #F2F2F2;
    box-shadow: 1px 1px 2px 1px #666666; 
    -moz-box-shadow: 1px 1px 2px 1px #666666; 
    -webkit-box-shadow: 1px 1px 2px 1px #666666; 
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#666666')";
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#666666');
    zoom: 1;
}

div#pageContent {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    width: 460px;
    height: 400px; 
    background-color: #F2F2F2;
    z-index: 5;
}

div.page {
    position: relative;
    display: none;
    width: 460px;
    height: 400px;
}

div.pageHeader {
    position: relative;
    width: inherit;
    width: 460px;
    height: 30px;
}

div.headerText {
    position: relative;
    float: left;
    padding-left: 20px;
    width: 196px;
    height: 30px;
    font-size: 1em;
    font-weight: 700;
    color: white;
    line-height: 30px;
    text-align: left;
}

div.pageText {
    position: relative;
    float: left;
    padding-top: 5px;
    padding-left: 20px;
    padding-right: 10px;
    width: 430px;
    height: 370px;
}

div#percent {
    position: absolute;
    left: 720px;
    width: 240px;
    height: 410px;
}

div#percentBorder {
    position: relative;
    margin: 5px;
    margin-right: 0px;
    padding: 0;
    border: 0;
    width: 230px;
    height: 400px;
    background-color: #F2F2F2;
    box-shadow: 1px 1px 2px 1px #666666;
    -moz-box-shadow: 1px 1px 2px 1px #666666; 
    -webkit-box-shadow: 1px 1px 2px 1px #666666; 
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#666666')";
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#666666');
    zoom: 1;
}

div#percentBar {
    position: relative;
    margin-left: 2px;
    padding: 5px;
    width: 230px;
    height: 400px;
}

div#houseWrapper {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    width: 960px;
    height: 150px;
}

div#property {
    position: absolute;
    top: -6px;
    left: 0px;
    width: 230px;
    height: 136px;
    margin: 2px;
    padding: 5px;
    border: 1px solid #E2E2E2;
    background-color: #F2F2F2;
}

div#house {
    position: absolute;
    left: 245px;
    margin-top: 4px;
    width: 709px;
    height: 140px;
    background-image: url( './../images/timeline.png' );
    background-repeat: no-repeat;
    z-index: 3;
}

div#timeline {
    position: relative;
    top: 49px;
    left: 0px;
    margin: 0px auto;
    width: 85%;
    height: 32px;
}

div#movingHouse {
    background-image: url( './../images/house.png' );
    height: 60px;
    position: relative;
    top: 5px;
    width: 69px;
    overflow: visible;
}

div#movingHouseLabel {
    position: absolute;
    top: -40px;
    right: -40px;
    font-family: Tahoma, Geneva;
    font-size: .8em;
    font-weight: bold;
    color: black;
    text-align: center;
    width: 120px;
    height: 30px;
}

div#footer {
    position: relative;
    padding: 1px 0px 1px 0px;
    width: 960px;
    height: 48px;
    font-size: 1em;
}

#footer a {
    float: left;
}

img.logo {
    position: relative;
    float: left;
    margin-top: 9px;
    padding-left: 20px;
    height: 30px;
    border: none;
}

.tekst1, .tekst2 {
    position: relative;
    float: left;
    margin-left: 10px;
    padding-top: 6px;
    width: 170px;
    font-size: .7em;
}

.tekst2 {
    padding-top: 6px;
    float: right;
    /*margin-left: 60px;*/
    width: 260px;
}

#spareKalkulatorDialog, #forbruksKalkDialog {
    background-color: #F2F2F2;
}

.shadow {
     box-shadow: 1px 1px 2px 1px #666666; 
    -moz-box-shadow: 1px 1px 2px 1px #666666; 
    -webkit-box-shadow: 1px 1px 2px 1px #666666; 
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#666666')";
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#666666');
}
