/***********************************
      calculator.css
************************************/ 

/* the background image is set in the html itself */
#calculator{
  position:relative;
  color:#515151;
  margin:20px 60px;
  padding:20px;
  width:654px;
  height:400px;
  background: no-repeat 0 0; 
}

#calculator label{
  width:350px;
  margin:5px 0 0 0;
}

#calculator input,
#calculator select {  
  width:140px;
}

#calculator p {
  width:350px;
}

#calculator div.btn {
  width:330px;
  margin-top:20px;
}

#calculator #calc-footer{
  position:absolute;
  bottom:2px;
  right:8px;
  margin:0 40px 10px 0;
}

#calculator #calc-footer span {
  position:relative;
  top:-17px;
}

#calculator h4 {
  margin:20px 0 0px 30px;
  padding:0;
  color:black;
}

#calculator #result{
  border-collapse:collapse;
  width:330px;
  margin:5px 0 0px 20px;
  padding:10px;
  background:url(../media/bg-result.png) no-repeat 0 0;
}

#calculator div#result{
  height:80px;
}

#calculator div#result strong{
  display:block;
  font-size:20px;
  text-align:right;
  padding-right:10px;
}

#calculator table#result tr{
  height:20px;
}

#calculator table#result td{
  border:none;
  padding:0px 10px;
}

#calculator #result td.result{
  font-weight:bold;
  text-align:right;
}

#calculator #result #economy {
  height:auto;
}

#calculator #result #economy .result{
  text-decoration:overline;
}

/************* the frais calculator ****************/


#calculator.frais{
  background: no-repeat 0 0;
  width: 680px;
  margin: 30px 30px 0 30px;
  height: 272px;
  padding-bottom: 0;
}

#calculator.frais .val-error{
  padding-left: 100px;
}

#calculator.frais div.btn{
  margin-top: 3px;
  width: 380px;
}

div#frais-result {
  background: #fff;
  width: 720px;
  margin: 0 30px;
  position: relative;
  top: -10px;
  padding-bottom: 10px;
}

#calculator.frais p {
  width: 420px;
}

#calculator.frais label {
  width: 400px;
}

#frais-result h4 {
  margin: 0 10px 5px 10px;  
  font-size: 16px;
}

#frais-result em.note {
  display: block;
  text-align: right;
  padding: 3px 10px 0 0;
}

#frais-result table{
  margin-bottom: 20px;
}

#frais-result thead{
  background: #F5F8E5;
}

#frais-result th{
  color: #333;
  font-weight: normal;
  font-size: 11px;
  white-space: nowrap;
  text-align: center;
  border: 1px #ddd solid;
  background-color: #F5F8E5;
}

#frais-result .right {
  text-align: right;
}

#frais-result .left {
  width: 90px;
  white-space: normal ;
  text-align: left;
}

#frais-result td {
  width: 75px;
  padding:4px 2px;
  text-align: right;
  border: 1px #ddd solid;
  white-space: nowrap;
}

#frais-result .cost-days {
  background-color: #fff6f6;
}

#frais-result .cost-1day {
  background-color: #FFCAC6;
}

#frais-result .cost-1month {
  background-color: #FFB9B3;
}

#frais-result .cost-1year {
  background-color: #FFA7A0;
}

#frais-result .cost-2day {
  background-color: #FF968D;
}

#frais-result .cost-2month {
  background-color: #FF847B;
}

#frais-result .cost-2year {
  background-color: #FF7368;
}

#frais-result .cost-3day {
  background-color: #FF6155;
  color: #F5F8E5;
}

#frais-result .cost-3month {
  background-color: #FF5042;
  color: #F5F8E5;
}

#frais-result .cost-3year {
  background-color: #FF2D1C;
  color: #F5F8E5;
}


#frais-result .frais-days {
  background-color: #F5F8E5;
}

#frais-result .frais-1day {
  background-color: #E2EBB5;
}

#frais-result .frais-1month {
  background-color: #D0DE89;
}

#frais-result .frais-1year {
  background-color: #BED161;
}

#frais-result .frais-2day {
  background-color: #ADC43D;
}

#frais-result .frais-2month {
  background-color: #9DB71D;
}

#frais-result .frais-2year {
  background-color: #8DAA01;
}

#frais-result .frais-3day {
  background-color: #779001;
  color: #F5F8E5;
}

#frais-result .frais-3month {
  background-color: #627601;
  color: #F5F8E5;
}

#frais-result .frais-3year {
  background-color: #4C5C01;
  color: #F5F8E5;
}

/************** petrol prices ***********************/

#calculator.petrol {
  padding-left: 0;
  height: 100%;
}

#calculator.petrol p,
#calculator.petrol em,
#calculator.petrol table,
#calculator.petrol h3 {
  margin-left: 30px;
}

div#petrol-europe-wrap{
  background: #fff;
}

#petrol-europe-wrap em {
  display: block;
  text-align: right;
  padding: 5px 25px 20px 0;
}

table#petrol-region {
  width: 400px;
}

table#petrol-region .petrol-price {
  padding-left: 8px;
}

table#petrol-europe {
  width: 600px;
}

table#petrol-europe td,
table#petrol-europe th {
  text-align: center;
}

table#petrol-europe td.country,
table#petrol-europe th.country {
  text-align: left;
}

img.trend-up,
img.trend-down,
img.trend-same {
  background: url(../media/trend-arrows.png) no-repeat 0px 5px;
  width: 27px;
  height: 27px;
}

img.trend-up {
  background-position: 0px -95px;
}

img.trend-down {
  background-position: 0px -195px;
}

#calculator.petrol .carbu-desc {
  width: 590px;
}
#calculator.petrol .carbu-list {
  margin-left: 30px;
}
#calculator.petrol .carbu-list li {
  margin-bottom: 5px;
}