﻿/* calculator
---------------------------------------------------- */
.calculator
{
    float: left;
    width: 585px;
    background: #CCE2F1;
    padding: 0 20px;
    font: normal 13px/1.4 Arial,sans-serif;
    -webkit-user-select: none;
}

.calculator .header
{
    background: url(images/calc-header-bg.png) 0 0 repeat-x #0070B8;
    height: 50px;
    color: #fff;
    font: normal 26px/2 "Myriad Pro" , "Tahoma" , Trebuchet MS, sans-serif;
    width: 585px;
    margin-left: -20px;
    padding: 0 20px;
}

.calculator .first-col, .calculator .second-col
{
    margin: 15px 0;
    color: #333;
}
.calculator .first-col
{
    width: 370px;
    float: left;
}
.calculator .second-col
{
    width: 196px;
    float: right;
    background: #eef5fa;
    padding: 10px 7px 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.calculator .first-col div, .calculator .second-col div
{
    margin-bottom: 15px;
    display: block;
    overflow: hidden;
}
.calculator .desc.blue
{
    color: #0070b8;
    font-size: 11px;
    margin-bottom: 0;
}
.calculator .second-col .desc
{
    background: #fff;
    border: 1px solid #cce2f1;
    padding: 10px;
    display: block;
    margin-bottom: 5px;
}

.calculator .heading
{
    display: block;
    font-weight: normal;
}
.calculator .second-col .heading
{
    font-size: 12px;
    line-height: 2em;
    letter-spacing: -0.07em;
    padding-left: 10px;
}
.calculator div.inputs span
{
    margin-bottom: 5px;
    display: block;
}
.calculator hr
{
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cce2f1;
    padding: 0;
    width: 190px;
    margin: 10px 0 4px -7px;
}

.calculator em
{
    font-style: normal;
    font-size: 11px;
}
.calculator sup
{
    vertical-align: top;
}
.calculator b
{
    font-weight: bold;
    font-size: 16px;
    display: block;
}

/* COUNTER */
.calculator .sum
{
    background-image: url(images/snabb-kalkyl-counter-bg.jpg);
    float: left;
    padding: 8px 6px 9px;
    height: 50px;
    width: 182px;
}
.calculator .sum b
{
    font-weight: normal;
    font-size: 32px;
    display: block;
    color: #ffffff;
}

#calculatorTotalSum
{
    float: left;
    line-height: 1.5em;
    overflow: hidden;
    position: relative;
    height: 50px;
    width: 182px;
}
#calculatorTotalSum ul
{
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    float: left;
    width: 23px;
    text-align: center;
}
#calculatorTotalSum ul:first-child
{
    margin-left: 1px;
    margin-right: 8px;
}
#calculatorTotalSum ul:first-child + ul, #calculatorTotalSum ul:first-child + ul + ul
{
    margin-right: 1px;
}

#calculatorTotalSum ul:first-child + ul + ul + ul + ul
{
    margin-left: 8px;
    margin-right: 1px;
}

#calculatorTotalSum ul li
{
    text-shadow: #000 1px 1px 1px;
    color: #fff;
    font-family: Arial;
    display: inline;
    float: left;
    width: 23px;
    text-align: center;
}

/* forms */
.calculator label
{
    font-family: arial,sans-serif;
    font-size: 11px;
    margin-right: 10px;
}


.calculator div.inputs label
{
    width: 20px;
    float: left;
}
.calculator input[type="radio"]
{
    margin: 0 5px 0px 0;
}
.calculator input[type="text"]
{
    width: 50px;
    margin: 0 5px 0px 0;
    border: none;
    font: 11px/1.2 arial,sans-serif;
    text-align: center;
}

.calculator .calculator-currency-unit, .calculator .calculator-currency-subunit
{
    display: inline !important;
}
/* Slider
---------------------------------------------------- */
.calculator .calculator-slider
{
    position: relative;
    height: 55px;
}
#calculator-number
{
    position: absolute;
    height: 22px;
    width: 272px;
    bottom: 0;
    left: 15px;
    overflow: hidden;
}
.calculator .number
{
    position: absolute;
    left:20px;
}


#calculator-slider-wrapper
{
    position: absolute;
    overflow: hidden;
    height: 15px;
    width: 250px;
    border: 0;
    background: url(images/calc-slider-bg.png) no-repeat 0 0;
    margin-bottom: 0 !important;
    bottom: 0;
    left: 25px;
}
#calculator-slider
{
    position: absolute;
    overflow: visible;
    height: 15px;
    width: 221px;
    border: 0;
    margin-bottom: 0 !important;
    bottom: 0;
    left: 15px;
    background: none;
}
#calculator-slider a
{
    background: url(images/calc-slider-a.png) no-repeat 0 0;
    width: 30px;
    height: 15px;
    border: 0;
    top: 0px;
    cursor: pointer;
    margin-left: -15px;
}



/* SLIDER */
.calculator-slider .calcbtn
{
    position: absolute;
    bottom: 0;
    margin: 0;
    background: url(images/calc-slider-btn.png) no-repeat 0 0;
    width: 14px;
    height: 14px;
    border: none;
    text-indent: -99999px;
    cursor: pointer;
}
.calculator-slider .calcbtn.btn-minus
{
    left: 0;
    background-position: 100% 100%;
}
.calculator-slider .calcbtn.btn-plus
{
    right: 70px;
    background-position: 0 0;
}


#current-usage-input, #current-usage
{
    display: none;
}

#current-usage-input input
{
    width: 40px;
    text-align: center;
}

#current-usage-input input
{
 background-color: #eef5fa;
 border: 0;
 border-radius: 5px;
}

#current-usage-input.active input
{
    background-color: #ffffff;  
    position:absolute;
}

#current-usage-input.active
{
    position:absolute;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
