body, html {
  width: 100%;
  overflow-x: hidden;
}
body {
  font: 75% Helvetica,Arial,sans-serif;
  margin: 0;
  padding: 0;
  background: #529ac9;
}
h2{
  margin-top:40px;
}
#webc{
  background: white;
  float: left;
  width: 100%;
  border-bottom: 3px solid #1475b4;
  padding-bottom: 50px;
}
#web{
  width: 960px;
  margin: 0 auto;
  padding: 10px 0 0 0;
}
a img{
  border: 0;
}
a{
  color: #0376af;
}
#home h1{
  color: #1475b4;
  font-size: 120%;
  text-transform: uppercase;
  margin: 60px 0 10px 0;
  padding: 0;
}
#home p{
  margin: 5px 0;
}
#header img{
  margin: 7px 0;
}
p, li{
  line-height: 180%;
}
form{
  margin: 50px 0 0 0px;
}
form#contactform{
  margin: 0;
}
label{
  display: block;
  margin-bottom: 10px;
}
#footer, #header, #prefooter{
  text-align: left;
  width: 960px;
  margin: 0 auto;
  padding: 0;
}
#breadcrumbs{
  width: 960px;
  margin: 0 auto;
}
#breadcrumbs p{
  width: 750px;
  float: left;
  text-align: left;
  margin: 0;
  padding: 0;
}
#footer{
  padding: 20px 0;
  margin-bottom: 30px;
  color: white;
  text-align: center;
}
#footer > p:first-child{
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
#footer a{
  text-decoration: none;
  color: white;
  padding-right: 10px;
}
#footer a:hover{
  color: #0376af;
}
#breadcrumbs{
  background: #fee6c5;
  border-top: 2px solid #f9a22f;
  padding: 5px;
}
#breadcrumbs a{
  padding: 0 5px;
  text-decoration:none;
}
#breadcrumbs span{
  padding: 0 5px;
}
#breadcrumbs span.origenName, #breadcrumbs span.destinoName{
  padding: 0;
}
ul.places{
  margin: 0 0 30px 0;
  padding: 0;
  float: left;
  width: 100%;
}
ul.places li{
  width: 182px; margin-right: 10px; text-align: left; float: left; list-style: none;
}
ul.states li{
  width: 132px; margin-right: 5px; text-align: left; float: left; list-style: none;
  font-size: 85%;
}
ul.placeslong{
  margin: 0 0 30px 0;
  padding: 0;
  float: left;
  width: 100%;
}
ul.placeslong li{
  width: 300px; margin-right: 10px; text-align: left; float: left; list-style: none;
}

ul.distances{
  margin: 0 0 30px 0;
  padding: 0;
  float: left;
  width: 100%;
}
ul.distances li{
  width: 182px; width: 230px; margin-right: 10px; text-align: left; float: left; list-style: none;
  margin-bottom: 8px;
}
ul.distances a {
  text-decoration:none; color: #b8c2c8;
}
ul.distances span{
  font-size: 80%; display:block; line-height: 110%;
}
ul.distances strong{
  color: #0376af; font-size: 105%; font-weight: normal;
}

ul.random{
  margin: 0 0 30px 0;
  padding: 0;
  float: left;
  width: 100%;
}
ul.random li{
  width: 310px; margin-right: 10px; text-align: left; float: left; list-style: none;
  font-size: 95%;
}

#straightbox strong{
  color:#e14ed5;
}
#straightbox, #drivingbox, #timebox{
  display: block;
  float: left;
  width: 33%;
  text-align: center;
}
#straightbox strong, #drivingbox strong, #timebox strong{
  font-size: 200%;
  display: block;
  margin-bottom: 4px;
}
#drivingbox{
  border-left: 1px dotted #ccc;
  border-right: 1px dotted #ccc;
}
#drivingbox strong{
  color: #5b5ebd;
}
#timebox strong{
  color: #8bd708;
}

form #from, form #to{
  padding: 2px;
}

#pagination {
  display:block;
  height:25px;
  line-height:21px;
  clear:both;
  padding-top:3px;
  font-family:Arial, Helvetica, sans-serif;
  font-size:14px;
  font-weight:normal;
  text-align: center;
  margin-left: -10px;
  margin-bottom: 20px;
}

#pagination a {
  padding:3px 6px;
  border:1px solid #EBEBEB;
  margin-left:8px;
  text-decoration:none;
  background-color:#F5F5F5;
  color:#0376af;
  width:18px;
  font-weight:normal;
}

#pagination a:hover {
  background-color:#DDEEFF;
  border:1px solid #BBDDFF;
  color:#0376af;  
}

#pagination .active {
  border:1px solid #BBDDFF;
  background-color:#DDEEFF;
  cursor:default;
}

#pagination .disabled {
  padding:7px;
  padding-top:2px;
  padding-bottom:2px;
  border:1px solid #EBEBEB;
  margin-left:10px;
  text-decoration:none;
  background-color:#F5F5F5;
  color:#D7D7D7;
  cursor:default;
}

#fromInfo{
  float: left;
}
#toInfo{
  float: right;
}
.info{
  width: 440px;
}
.info img{
  padding: 1px;
  border: 1px solid #ccc;
  margin: 4px;
}

form#searchcities{
  background: #529ac9;
  width: 680px;
  -moz-border-radius: 9px;
  border-radius: 9px;
  padding: 3px;
  margin: 0;
  margin: 30px auto 8px;
}
form#searchcities div{
  background: #c3e1f4;
  width: 660px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  padding: 20px 10px;
  text-align: center;
}
#searchcities input{
  font-size: 150%;
  padding: 4px;
  vertical-align:middle;
}
#searchcities input.text{
  width: 200px;
}

#home h2{
  border-bottom: 1px solid #ddd;
}
#home #footer h2{
  border:0;
}
#home h2 a{
  text-decoration: none;
  color: black;
  padding-left: 0;
  background-repeat: no-repeat;
  background-position: 3px 3px;
  margin-right: 3px;
}
#country{
  background: #fee6c5;
  -moz-border-radius: 5px;
  border-radius: 5px;
  float:left;
  margin-top: 14px;
  padding: 2px 10px 0;
  width: 38px;
  position: relative;
}
#country ul{
  display:none;
  margin: 0;
  padding: 10px 10px 5px 10px;
  background: #fee6c5;
  -moz-border-radius: 5px;
  border-radius: 5px;
  float: left;
  width: 100px;
  position: absolute;
  top: 20px;
  left: 0px;
}
#country li{
  list-style: none;
  margin: 0 -10px;
}
#country li a{
  background-position: 10px 6px;
  background-repeat: no-repeat;
  color: black;
  display: block;
  padding: 1px 0 1px 32px;
  text-decoration: none;
}
#country li.active{
  background-color:#fef2e2;
}
#country li:hover{
  background-color:#f9c581;
}

#footer #countries{
  padding: 0;
  margin: 0;
  text-align: center;
}
#footer #countries li{
  list-style: none;
  display: inline-block;
  margin: 0 4px 0;
}
#footer #countries img{
  border:1px solid white;
}

#socialhome{
  text-align: center;
  position: relative;
  width: 371px;
  margin: 0 auto;
  height: 157px;
  padding: 0;
  float: none;
  background: url('/circulo.jpg') no-repeat center;
}
#socialhome div{
  position: absolute;
  top: 30px;
}
#socialhome div:first-of-type {
  left: 55px;
}
#socialhome div:nth-of-type(2) {
  left: 120px;
}
#searchform input[type="text"]{
  width: 130px;
}
#searchform {
  float: right;
  margin: 8px 0;
}
#header > a > img {
  margin-top: 8px;
}
#mobile-menu {
  display: none;
}
#map_canvas {
  height: 280px; width: 623px;
}
#straightbox strong, #straightbox span{
  color:#e14ed5;
}
#straightbox, #drivingbox, #timebox{
  display: block;
  float: left;
  width: 318px;
  text-align: center;
  padding: 17px 0 8px 0;
  min-height: 46px;
}
#straightbox strong, #drivingbox strong, #timebox strong{
  font-size: 200%;
  display: block;
  margin-bottom: 4px;
}
#straightbox{
  background-color: #fdf0fc; 
}
#drivingbox{
  border-left: 1px dotted #ccc;
  border-right: 1px dotted #ccc;
  background-color: #f2f2fe;
}
#timebox{
  background-color: #f8ffed;
  width: 320px;
}
#drivingbox strong, #drivingbox span{
  color: #5b5ebd;
}
#timebox strong{
  color: #8bd708;
}
#main-column {
  float: left;width:620px;
}
.adp, .adp table {
  width: 100%;
}
#contactform {
  width: 450px;
}
#contact-name {
  float:left; width: 215px; margin-right: 18px
}
#contact-email {
  float:left; width: 215px;
}
#contactform textarea {
  width: 445px; height: 190px
}
.adp-step, .adp-substep {
  word-break: break-all;
}
@media screen and (max-width: 960px) {
  #web, #footer, #header, #prefooter {
    width: 95%;
  }
  ul.places li {
    width: calc(100%/3 - 10px);
  }
  #countries li {
    margin-bottom: 5px;
  }
  #breadcrumbs {
    width: 100%;
  }
  #breadcrumbs p {
    width: 100%;
  }
  #drivingbox, #straightbox, #timebox {
    width: calc(100%/3 - 1px);
  }
  #map_canvas {
    width: 100%;
  }
  .info {
    width: 100%;
  }
  #main-column {
    width: 100%;
  }
}
@media screen and (max-width: 715px) {
  #header {
    text-align: center;
  }
  #header #logo {
    text-align: center;
    float: none;
  }
  ul.places li {
    width: calc(100%/2 - 10px);
  }
  form#searchcities {
    width: 95%;
    margin: 10px auto;
  }
  form#searchcities div {
    width: auto;
  }
  #searchcities input.text, #searchform input[type="text"] {
    width: calc(100% - 8px);
  }
  #searchcities input[type="submit"], #searchform input[type="submit"] {
    width: 100%;
  }
  input[type="submit"] {
    margin-top: 10px;
    width: 255px;
    padding: 10px 0 !important;
    background: #1475B4;
    box-shadow: 0px 2px 0px #004775;
    color: #fff;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    -webkit-appearance: none;
  }
  #searchform input[type="text"] {
    font-size: 150%;
    padding: 4px;
    vertical-align: middle;
  }
  #searchcities span {
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    display: block;
  }
  #breadcrumbs {
    display: none;
  }
  #searchform {
    width: 100%;
    display: none;
  }
  #mobile-menu {
    cursor: pointer;
    float: right;
    display: block;
    margin-top: 15px;
    width: 30px; height: 30px;
    background: url('/images/mobile-search.svg') no-repeat top 3px right 1px;
    background-size: 27px 27px;
  }
  #mobile-menu.on {
    background: url('/images/mobile-searchx.svg') no-repeat top 0 right 0;
    background-size: 30px 30px;
  }
  #drivingbox, #straightbox, #timebox {
    width: 100%;
    margin: 5px 0;
    border: none;
  }
  #country {
    float: right;
  }
  #pagination a {
    margin-left: 10px;
    margin-bottom: 10px;
    display: block;
    float: left;
    padding: 10px 0;
    text-align: center;
    width: calc(100%/8 - 12px);
  }
}
@media screen and (max-width: 580px) {
  #pagination a {
    width: calc(100%/6 - 12px);
  }
  #header > a > img {
    width: calc(100% - 98px);
    margin-top: 10px;
  }
  #webc {
    padding-bottom: 25px;
  }
  h1, h2, h3, h4, li, li a, p, li, ul.random {
    text-align: center;
  }
  ul.random {
    width: 100%;
    margin: 0; padding: 0;
  }
  li, ul.random li {
    line-height: 1.5;
    font-size: 16px;
    text-align: center;
    margin: 0;
    padding: 0;
    margin-bottom: 15px;
    width: 100%;
  }
  ul.places li {
    text-align: center;
    width: calc(100% - 10px);
  }
  #mobile-menu {
    margin-left: 10px;
  }
  #home h1 {
    font-size: 21px;
    margin: 10px 0;
  }
  #home h2 {
    padding-bottom: 10px;
  }
  #home h2 a {
    font-size: 18px;
  }
  ul.places:last-of-type {
    margin: 0;
  }
  #countries {
    margin: 0;
  }
  #header #countries {
    padding: 0;
  }
  #header #country li {
    width: auto;
    display: block;
    margin: 10px 0;
  }
  #countries li {
    margin-bottom: 10px;
    float: none;
    display: inline-block;
    width: calc(100%/3 - 8px);
  }
  #countries li a {
    line-height: 1.5;
  }
  #langs {
    font-size: 0;
  }
  #langs a {
    display: block;
  }
  #footer > p > a, #footer p:first-of-type {
    font-size: 16px;
    line-height: 300%;
  }
  #country-bg {
    background-position: center top 250px !important;
    background-size: 100% !important;
    height: 230px !important;
    margin-top: -270px !important;
    padding-top: 330px !important;
  }
  #contactform {
    width: 95%;
  }
  #contactform input {
    font-size: 150%;
    padding: 4px;
    vertical-align: middle;
    width: 100%;
  }
  #contact-name, #contact-email, #contactform textarea {
    width: 100%; margin: 10px 0;
  }
  #lightbox-container-image-box, #lightbox-container-image {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    padding: 0;
  }
  #lightbox-image {
    max-width: calc(100% - 20px);
    padding: 10px !important;
  }
  #lightbox-container-image-data-box {
    width: calc(100% - 20px) !important;
  }
  .panofotos {
    text-align: center;
  }
  ul {
    padding: 0;
  }
  #header #countries {
    left: auto;
    right: 0;
    width: 170px;
  }
  #header #country li {
    width: 100%;
    display: block;
  }
  #header #country li a {
    text-align: left;
  }
  p {
    font-size: 16px;
  }
  #footer #social {
    margin-top: 20px;
  }
  #footer #countries img {
    border: none;
    width: 25px;
    margin: 10px 0;
  }
  form#searchcities {
    margin: 10px auto 30px;
  }
  #lightbox-nav-btnNext, #lightbox-nav-btnPrev {
    height: 200px !important;
  }
}

/* Avståndstabell */
#tabell-fullwidth{
  width:100%;
  padding:0 15px;
  box-sizing:border-box;
}
.faq-routes{
  list-style:none;
  padding:0;
  margin:0 0 25px;
}
.faq-routes li{
  padding:6px 0;
  border-bottom:1px solid #eee;
  line-height:1.6;
  text-align:left;
  float:none;
  width:100%;
}
.faq-routes li:last-child{
  border-bottom:none;
}
.faq-routes a{
  text-decoration:none;
}
.faq-routes a:hover{
  text-decoration:underline;
}
#tabell-controls{
  margin:15px 0;
}
#tabell-controls-row{
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:center;
}
#search-wrapper{
  position:relative;
}
#add-city-input{
  padding:6px 10px;
  font-size:14px;
  width:220px;
  border:1px solid #ccc;
  border-radius:4px;
}
#autocomplete-list{
  position:absolute;
  background:#fff;
  border:1px solid #ddd;
  border-top:none;
  max-height:200px;
  overflow-y:auto;
  z-index:100;
  width:220px;
}
#autocomplete-list:empty{
  display:none;
}
.autocomplete-item{
  padding:7px 10px;
  cursor:pointer;
  border-bottom:1px solid #f0f0f0;
  font-size:13px;
}
.autocomplete-item:hover,
.autocomplete-active{
  background:#e8f4fc;
}
#reset-btn{
  padding:6px 12px;
  font-size:13px;
  border:1px solid #ccc;
  border-radius:4px;
  background:#f5f5f5;
  cursor:pointer;
}
#reset-btn:hover{
  background:#e0e0e0;
}
.tabell-sep{
  width:1px;
  height:20px;
  background:#ccc;
  display:inline-block;
  margin:0 4px;
}
.tabell-toggle{
  display:inline-flex;
  align-items:center;
  gap:3px;
  font-size:12px;
  cursor:pointer;
  user-select:none;
  margin:0;
  white-space:nowrap;
}
.tabell-toggle input{
  margin:0;
  cursor:pointer;
}
#suggested-cities{
  margin-top:8px;
  font-size:13px;
  color:#666;
  text-align:center;
}
.suggest-city{
  background:#e8f4fc;
  border:1px solid #b8d8ed;
  border-radius:14px;
  padding:3px 10px;
  margin:2px 3px;
  cursor:pointer;
  font-size:12px;
  color:#1475b4;
  transition:background 0.15s;
}
.suggest-city:hover{
  background:#cce7f7;
}
#tabell-wrapper{
  overflow-x:auto;
  margin:15px 0 25px;
  -webkit-overflow-scrolling:touch;
}
#avstandstabell{
  border-collapse:collapse;
  font-size:11px;
  white-space:nowrap;
  margin:0 auto;
}
#avstandstabell th,
#avstandstabell td{
  border:1px solid #ddd;
  padding:3px 5px;
  text-align:center;
  min-width:36px;
}
#avstandstabell thead th{
  background:#1475b4;
  color:#fff;
  position:sticky;
  top:0;
  z-index:2;
}
.tabell-corner{
  background:#0d5a8c !important;
  position:sticky;
  left:0;
  top:0;
  z-index:3 !important;
  font-weight:bold;
}
.tabell-rowheader{
  background:#1475b4;
  color:#fff;
  text-align:left !important;
  position:sticky;
  left:0;
  z-index:1;
  white-space:nowrap;
  padding:6px 6px !important;
}
.tabell-colheader{
  height:110px;
  vertical-align:bottom !important;
  padding:0 !important;
  position:relative;
  min-width:28px;
}
.tabell-colheader .city-name{
  display:block;
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  white-space:nowrap;
  text-align:left;
  padding:4px 0;
  margin:0 auto;
}
.city-flag{
  font-size:1.4em;
  vertical-align:middle;
  line-height:1;
}
#avstandstabell td{
  padding:0 !important;
  position:relative;
}
#avstandstabell td a{
  display:block;
  padding:2px 5px;
  color:#0376af;
  text-decoration:none;
  line-height:1.2;
}
#avstandstabell td .self{
  display:block;
  padding:2px 5px;
  color:#ccc;
  line-height:1.2;
}
.cell-km{
  color:#0376af;
}
.cell-tid{
  color:#6a9e1f;
  font-size:10px;
}
.cell-rak{
  color:#b060b0;
  font-size:10px;
}
.cell-bensin{
  color:#d4830a;
  font-size:10px;
}
#avstandstabell tr:nth-child(even) td{
  background:#f9f9f9;
}
#avstandstabell tr:hover td{
  background:#e8f4fc;
}
#avstandstabell td:hover{
  background:#ffcc00 !important;
}
#avstandstabell td:hover a{
  color:#000 !important;
  text-decoration:none;
}
#avstandstabell td:hover .cell-km,
#avstandstabell td:hover .cell-tid,
#avstandstabell td:hover .cell-rak,
#avstandstabell td:hover .cell-bensin{
  color:#000 !important;
}
#avstandstabell td.col-highlight{
  background:#e8f4fc !important;
}
#avstandstabell th.col-highlight{
  background:#ffcc00 !important;
  color:#000 !important;
}
#avstandstabell th.row-highlight{
  background:#ffcc00 !important;
  color:#000 !important;
}
.remove-city{
  background:none;
  border:none;
  color:rgba(255,255,255,0.5);
  cursor:pointer;
  font-size:11px;
  padding:0 2px;
  margin-right:4px;
  line-height:1;
}
.tabell-colheader .remove-city{
  display:block;
  margin:0 auto 5px;
}
.remove-city:hover{
  color:#ff6b6b;
}
@media screen and (max-width:715px){
  #avstandstabell{
    font-size:10px;
  }
  .tabell-colheader{
    height:90px;
  }
  #add-city-input{
    width:160px;
  }
  #autocomplete-list{
    width:160px;
  }
}
@media screen and (max-width:580px){
  #add-city-input{
    width:140px;
  }
  #autocomplete-list{
    width:140px;
  }
}
/* Feedback form */
#feedback-form{
  margin-bottom:5px;
}
#feedback-form + p{
  margin-top:0;
  margin-bottom:8px;
}
#feedback-form-el{
  max-width:600px;
  margin-top:0;
}
.feedback-row{
  margin-bottom:8px;
}
#feedback-type{
  padding:6px 8px;
  font-size:13px;
  border:1px solid #ccc;
  border-radius:4px;
}
#feedback-message{
  width:100%;
  padding:8px;
  font-size:13px;
  border:1px solid #ccc;
  border-radius:4px;
  resize:vertical;
  font-family:inherit;
  box-sizing:border-box;
}
.feedback-bottom{
  display:flex;
  gap:8px;
  align-items:center;
}
#feedback-email{
  flex:1;
  padding:6px 8px;
  font-size:13px;
  border:1px solid #ccc;
  border-radius:4px;
}
#feedback-submit{
  padding:6px 16px;
  font-size:13px;
  border:none;
  border-radius:4px;
  background:#1475b4;
  color:#fff;
  cursor:pointer;
}
#feedback-submit:hover{
  background:#0d5a8c;
}
#feedback-submit:disabled{
  background:#999;
  cursor:default;
}
#feedback-status{
  margin-top:6px;
  font-size:13px;
}
.feedback-success{
  color:#2a9d2a;
}
.feedback-error{
  color:#d44;
}
@media screen and (max-width:580px){
  .feedback-bottom{
    flex-direction:column;
  }
  #feedback-email{
    width:100%;
  }
}
/* Bensinkostnad calculator */
#bensin-calc{
  max-width:650px;
  margin:20px 0 50px;
  padding-bottom:30px;
  border-bottom:1px solid #e0e0e0;
}
.bensin-fuel-tabs{
  display:flex;
  gap:0;
  margin-bottom:16px;
}
.bensin-fuel-tab{
  flex:1;
  padding:10px 16px;
  font-size:14px;
  font-weight:bold;
  border:2px solid #ccc;
  background:#f5f5f5;
  color:#555;
  cursor:pointer;
  transition:all 0.15s;
  text-align:center;
}
.bensin-fuel-tab:first-child{
  border-radius:6px 0 0 6px;
}
.bensin-fuel-tab:last-child{
  border-radius:0 6px 6px 0;
}
.bensin-fuel-tab:not(:first-child){
  border-left:none;
}
.bensin-fuel-tab:hover{
  background:#e8f4fc;
  color:#1475b4;
}
.bensin-fuel-tab.active{
  background:#1475b4;
  color:#fff;
  border-color:#1475b4;
}
.bensin-fuel-tab.active + .bensin-fuel-tab{
  border-left-color:#1475b4;
}
.bensin-route{
  display:flex;
  gap:8px;
  margin-bottom:12px;
  align-items:flex-end;
}
.bensin-swap-btn{
  flex-shrink:0;
  width:38px;
  height:38px;
  border:1px solid #ccc;
  border-radius:50%;
  background:#f9f9f9;
  font-size:20px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#1475b4;
  transition:all 0.15s;
  margin-bottom:1px;
  padding:0;
  line-height:1;
}
.bensin-swap-btn:hover{
  background:#1475b4;
  color:#fff;
  border-color:#1475b4;
}
.bensin-inputs{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.bensin-field{
  flex:1;
  min-width:120px;
}
.bensin-field label{
  display:block;
  font-size:12px;
  color:#666;
  margin-bottom:3px;
  font-weight:bold;
}
.bensin-field input{
  width:100%;
  padding:8px 10px;
  font-size:14px;
  border:1px solid #ccc;
  border-radius:5px;
  box-sizing:border-box;
}
.bensin-field input:focus{
  border-color:#1475b4;
  outline:none;
}
.bensin-price-updated{
  display:block;
  font-size:11px;
  color:#888;
  margin-top:2px;
}
.bensin-options{
  margin:10px 0 0;
}
.bensin-checkbox-label{
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:13px;
  cursor:pointer;
  user-select:none;
  color:#444;
  font-weight:bold;
  margin-bottom:0;
}
.bensin-checkbox-label input[type="checkbox"]{
  margin:0;
  cursor:pointer;
  width:16px;
  height:16px;
}
.bensin-berakna-btn{
  display:block;
  width:100%;
  margin-top:12px;
  padding:12px 20px;
  font-size:16px;
  font-weight:bold;
  color:#fff;
  background:#1475b4;
  border:none;
  border-radius:6px;
  cursor:pointer;
  transition:background 0.15s;
}
.bensin-berakna-btn:hover{
  background:#0d5a8c;
}
.bensin-berakna-btn:active{
  background:#094a76;
}
.bensin-autocomplete-wrap{
  position:relative;
}
.bensin-autocomplete-list{
  position:absolute;
  top:100%;
  left:0;
  right:0;
  background:#fff;
  border:1px solid #ccc;
  border-top:none;
  border-radius:0 0 5px 5px;
  z-index:100;
  display:none;
  max-height:200px;
  overflow-y:auto;
}
.bensin-autocomplete-list:not(:empty){
  display:block;
}
.bensin-autocomplete-item{
  padding:7px 10px;
  cursor:pointer;
  font-size:13px;
}
.bensin-autocomplete-item:hover,
.bensin-ac-active{
  background:#e8f4fc;
}
.bensin-result{
  margin-top:16px;
  padding:20px 24px;
  background:linear-gradient(135deg, #f0f8e8 0%, #e6f5d6 100%);
  border:2px solid #5a9e2f;
  border-radius:10px;
}
.bensin-result-empty{
  opacity:0.5;
}
.bensin-result-main{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.bensin-result-item{
  text-align:center;
  flex:1;
  min-width:90px;
  padding:6px 0;
}
.bensin-result-highlight{
  background:rgba(42,110,14,0.08);
  border-radius:8px;
  padding:8px 12px;
}
.bensin-result-label{
  display:block;
  font-size:11px;
  color:#555;
  text-transform:uppercase;
  margin-bottom:4px;
  letter-spacing:0.3px;
}
.bensin-result-value{
  display:block;
  font-size:22px;
  font-weight:bold;
  color:#2a6e0e;
}
.bensin-result-highlight .bensin-result-value{
  font-size:28px;
}
.bensin-result-sub{
  margin-top:12px;
  text-align:center;
  font-size:13px;
  color:#555;
}
.bensin-result-sub a{
  color:#1475b4;
}
.bensin-table{
  width:100%;
  max-width:750px;
  border-collapse:collapse;
  margin:10px 0 20px;
  font-size:13px;
}
.bensin-table th{
  background:#1475b4;
  color:#fff;
  padding:6px 10px;
  text-align:left;
  font-weight:normal;
}
.bensin-table td{
  padding:5px 10px;
  border-bottom:1px solid #e0e0e0;
}
.bensin-table tr:hover td{
  background:#f5f5f5;
}
.bensin-table td:nth-child(n+2){
  text-align:right;
}
.bensin-table th:nth-child(n+2){
  text-align:right;
}
.bensin-compare-table{
  max-width:600px;
}
.bensin-compare-table td:first-child{
  text-align:left;
}
.bensin-compare-table th:first-child{
  width:40%;
}
.stad-table{
  max-width:750px;
}
.stad-table .admin-label{
  color:#888;
  font-size:12px;
}
.bensin-formula{
  background:#f5f5f5;
  padding:10px 14px;
  border-radius:5px;
  font-size:14px;
}
@media screen and (max-width:580px){
  .bensin-route{
    flex-direction:column;
  }
  .bensin-swap-btn{
    align-self:center;
    transform:rotate(90deg);
    margin:0;
  }
  .bensin-inputs{
    flex-direction:column;
  }
  .bensin-result-main{
    flex-direction:column;
    gap:10px;
  }
  .bensin-result-value{
    font-size:18px;
  }
  .bensin-result-highlight .bensin-result-value{
    font-size:22px;
  }
  .bensin-fuel-tab{
    padding:8px 10px;
    font-size:13px;
  }
  .bensin-compare-table td,
  .bensin-compare-table th{
    padding:4px 6px;
    font-size:12px;
  }
}
/* Mini avståndstabell (kora-bil-i pages) */
.table-scroll{
  overflow-x:auto;
  margin:10px 0 20px;
  -webkit-overflow-scrolling:touch;
}
.avstandstabell-mini{
  border-collapse:collapse;
  font-size:13px;
  white-space:nowrap;
}
.avstandstabell-mini th{
  background:#1475b4;
  color:#fff;
  padding:6px 10px;
  font-weight:normal;
  text-align:center;
}
.avstandstabell-mini th a{
  color:#fff;
  text-decoration:none;
}
.avstandstabell-mini th a:hover{
  text-decoration:underline;
}
.avstandstabell-mini tbody th{
  text-align:left;
  position:sticky;
  left:0;
  z-index:1;
}
.avstandstabell-mini td{
  padding:5px 10px;
  border-bottom:1px solid #e0e0e0;
  text-align:right;
}
.avstandstabell-mini td a{
  color:#333;
  text-decoration:none;
}
.avstandstabell-mini td a:hover{
  color:#0376af;
  text-decoration:underline;
}
.avstandstabell-mini tr:hover td{
  background:#f0f7ff;
}
.country-links{
  columns:2;
  -webkit-columns:2;
  column-gap:20px;
  list-style:none;
  padding:0;
}
.country-links li{
  padding:3px 0;
}
@media screen and (max-width:580px){
  .country-links{
    columns:1;
  }
}