@font-face {
    font-family: "7seg";
    src: url("7seg.otf") format("opentype");
}

@font-face {
    font-family: "7seg";
    src: url("7seg.otf") format("opentype"), url("7seg.woff") format("woff"), url("7seg.ttf") format("truetype");
}


* {
    box-sizing: border-box;
}

body{
    background-color: transparent;
    color: #ECF0F1;
}

img {
    position: relative;
    left: 10px;
}

.spritsorte {
    position: absolute;
    right: 10px;
    top: 15px;
    margin-left: 10px;

    border-radius: 4px;
    background: #34495E;
    height: auto;
    width: 75%;
}
/*
#app-info {
    margin-left: 2em;
    margin-top: .25em;
    display: inline-block;
    text-align: left;
    border-radius: .5em;
    box-shadow: 0 0 1em white;
    font-size: 120%;
    z-index: 100;
    position: relative;
    /*padding: 0 .25em; * /
    padding: .65em;

}
*/

.sprit {
    /*font-size: 18px;*/
    font-size: 1.5em;
    float: left;
    width: 33.33%;
    text-align: center;
    vertical-align: middle;
}
.entf {

    position: relative;
    margin-top: 5px;
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 10px;
    border-radius: 4px;
    background: #34495E;
    height: 1.5em;
    font-size: 1.5em;
}


.entfkm {
    margin-top: 0.5em;
    font-size: 0.75em;
    float: left;
    width: 10%;
    color: #BDC3C7;
    vertical-align: middle;
}
.km {
    float: left;
    width: 18%;
    text-align: center;

}

.active {
   background: #21303f;
   border-radius: 4px;


}

.active a:link  {
    color:  #BDC3C7 !important;

}

.sortierung{
    position: relative;
    height: 35px;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    /*padding-left: 10px;*/
    border-radius: 4px;
    background: #34495E;
    margin-bottom: 10px;
    clear: both;
}

.sort{
    padding-top: 5px;
    float: left;
    /*width: 50%; */
    width: 40%;
    font-size: 1.5em;
    text-align: center;
    vertical-align: middle;
}

.sortd{
    padding-top: 5px;
    float: right;
    /*width: 50%; */
    width: 40%;
    font-size: 1.5em;
    padding-right: 5px;
    text-align: center;
    vertical-align: middle;
}


.w50 {
    width: 20%;
}


#new_position div.sort{
    /* background-color: coral;*/
    vertical-align: middle;
    font-size: 2em;
    text-align: center;
    vertical-align: middle;
    width: 20%;

}

.locationIcon {
    height: 80%;
    position: relative;
    top: -2px;
    left:0;
}

.tanke{
    padding-left: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top:  1px solid #34495E;
    height: auto;
    clear: both;
    vertical-align: middle;
}

.title{
    position: middle;
    left: 10px;
    font-family:  Arial, sans-serif;
    font-weight: bold;
    /*font-size: 16px;*/
    font-size: 1.2em;
    padding-right: 10px;
    vertical-align: middle;

}

.desc{
    position: relative;
    left:0px;
    top:0;
    font-family:  Arial, sans-serif;
    font-size: 1.2em;
    color: #BDC3C7;
    
   /* padding-left: 5px;*/
    padding-right: 5px;
    margin-left: 10px;
    margin-right: 0px;
    height: auto;
}

.link {
    width: 33%;
    clear: both;
    float: left;
    font-size: 1.5em;
}

.dist{
    text-align: center;
    color: #1ABC9C;
    font-size: 14px ;
    width: 33%;
    float: left;
    font-size: 1.5em;
}

.price {
    margin-top: 5px;
    position: relative;
    left:5;
    width: 85px;
    font-family: '7seg', Courier;
    text-align: center;
    vertical-align: middle;
    color: #f1c40f;
    font-size: 2.2em;
    background: #000000;
    background-image: -o-linear-gradient(-89deg, #282828 50%, #000000 61%);
    background-image: -moz-linear-gradient(-89deg, #282828 50%, #000000 61%);
    background-image: -ms-linear-gradient(-89deg, #282828 50%, #000000 61%);
    background-image: linear-gradient(-179deg, #282828 50%, #000000 61%);

    text-shadow: 0px 1px 10px rgba(255, 255, 255, 0.92);

    margin-bottom: 10px;
    margin-right: 5px;

    float: left;
}

.price1 {
    margin-top: 5px;
    position: relative;
    left:20;
    width: 85px;
    font-family: '7seg', Courier;
    text-align: center;
    vertical-align: middle;
    color: #f1c40f;
    font-size: 2.2em;
    background: #000000;
    background-image: -o-linear-gradient(-89deg, #282828 50%, #000000 61%);
    background-image: -moz-linear-gradient(-89deg, #282828 50%, #000000 61%);
    background-image: -ms-linear-gradient(-89deg, #282828 50%, #000000 61%);
    background-image: linear-gradient(-179deg, #282828 50%, #000000 61%);

    text-shadow: 0px 1px 10px rgba(255, 255, 255, 0.92);

    margin-bottom: 10px;
    margin-right: 5px;

    float: left;
}


.price2 {
    margin-top: 5px;
    position: relative;
    left:40;
    width: 85px;
    font-family: '7seg', Courier;
    text-align: center;
    vertical-align: middle;
    color: #ff3300;
    font-size: 2.2em;
    background: #000000;
    background-image: -o-linear-gradient(-89deg, #282828 50%, #000000 61%);
    background-image: -moz-linear-gradient(-89deg, #282828 50%, #000000 61%);
    background-image: -ms-linear-gradient(-89deg, #282828 50%, #000000 61%);
    background-image: linear-gradient(-179deg, #282828 50%, #000000 61%);

    text-shadow: 0px 1px 10px rgba(255, 255, 255, 0.92);

    margin-bottom: 10px;
    margin-right: 5px;

    float: left;
}
.route {
    float: right;
    padding-right: 15px;
    padding-bottom: 5px;
    font-size: 1.5em;
}



#wait {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    display: table;
    width: 100%;
    height: 100%;
    z-index: 2010;
}
#wait-inner {
    display: table-cell;
    vertical-align: middle;
    background-color: rgba(0,0,0,0.5);
}
#wait-text {
    font-family: '7seg', Courier;
    display: table;
    margin: 0 auto;
    font-size: 300%;
    color: #F1C40F;
    text-shadow: 0px 1px 10px rgba(255, 255, 255, 0.92);
}

.invisible {
    visibility: hidden;
}

#error {
    padding: 1em;
    z-index: 2005;
    color: black;

    width:300px !important;
    position:relative !important;

    margin: auto !important;

    border-radius: 20px;
    background: #e2b213;
    border: 8px solid #e2b213;
    box-shadow: 0px 0px 0px 4px black inset, 0 10px 5px black;

}

#error:empty {
    display: none;
}

.mlogo  {
    position: relative;
    left: -10px;
    top: 10px;
    height: 50px;
}

.mlogol {
    position: relative;

}

.mlogor {
    position: absolute;
    right: 10px;
    top: 10px;
    height: 50px;
}

.mtext {
    position: absolute;
    top: 5px;
    right: 10px;
    height: 40px;
}

.mlogotext {
    height: 60px;
}

.descr {

    padding-left: 10px;
    cursor: pointer;
}

.mlocationIcon {
    height: 50px;
}

td {
    vertical-align:top;
}


.wlocationIcon {
    height: 50px;
    position: relative;
    left: -10px;
}


#welcome {
    padding-left: 10px;
    padding-right: 10px;
    font-family: Arial, sans-serif;
}

#welcome a {
    color: #ffffff;

}

.desktoplink {
    padding-top: 25px;
    text-align: center;
}

#welcome .desktoplink a {
    color: #428bca;;
}

/* ------------ detail page ---------------*/
.logo {
    position: relative;
    left: 5px;
    float: left;
}



.clr {
    clear: both;
}

.brand {
    font-family:  Arial, sans-serif;
    font-weight: bold;
    font-size: 1.2em;
    vertical-align: middle;
}

.name , .adress{
    padding-left: 10px;
    font-family:  Arial, sans-serif;
    color: #BDC3C7;
    font-size: 1.2em;
    vertical-align: middle;
}

.detailprices {
    position: relative;
    left: 10px;
}

.detailprices td {
    vertical-align: middle;
    width: 1px;
    padding-right:10px;
    font-size: 1.2em;
}

.detailprice {
    font-family: '7seg', Courier;
    text-align: center;
    vertical-align: middle;
    color: #f1c40f;
    font-size: 30px;
    padding: 0.1em;
    width: 100px;
    text-shadow: 0px 1px 10px rgba(255, 255, 255, 0.92);
    background: #000000;
    background-image: -webkit-linear-gradient(-89deg, #282828 50%, #000000 61%);
    background-image: -o-linear-gradient(-89deg, #282828 50%, #000000 61%);
    background-image: -moz-linear-gradient(-89deg, #282828 50%, #000000 61%);
    background-image: -ms-linear-gradient(-89deg, #282828 50%, #000000 61%);
    background-image: linear-gradient(-179deg, #282828 50%, #000000 61%);
}

.routelink {
    position: relative;
    color: #428bca;
    top: 10px;
    float: right;

    width: auto;

    padding-bottom: 10px;
    padding-right: 10px;
    font-size: 1.2em;
    font-family:  Arial, sans-serif;
}

.routelink a{
    font-family:  Arial, sans-serif;
    padding-left: 10px;
    color: #428bca;
    font-size: 1.3em;
    text-align: center;
}

.open{
    padding-left: 10px;
    color:  #1ABC9C;;
    font-size: 1.2em;
    font-family:  Arial, sans-serif;
}

.open1{
    position: relative;
    top: -15px;	
    padding-left: 10px;
    
    font-size: 1.2em;
    font-family:  Arial, sans-serif;
}

.default-paddings {
    padding: 10px;
}

#history-container {
    max-width: 400px;
    margin-left: 10px;
    margin-right: 10px;
    /* TODO: heights of container, svg and controls*/
    height: 242px;
}
#history-container svg {
    font-weight: bold;
    background-color: #e0eee8;
    background-color: white;
    height: 200px;
    border-radius: .5em;
}

#controls {
    /* TODO */
    height: 42px;
}

#controls .btn {
    font-size: 130%;
    width: 33.3333333%;
    height: 100%;
    font-weight: bold;
    border-radius: .5em;
    background-color: #34495E;
    color: white;
    color: #428bca;
}

.btn:focus {
    outline: none;
}
.btn[checked=true] {
    /*color: #1ABC9C !important;*/
    background-color: #21303f !important;
}


.hr {
    height: 2px;
    background-color: #34495E;
}

#app-info {
    margin: 2em 0 10em 0;
    width: 100%;
    border: 1px solid white;    /* Android 2.x: no box-shadow*/
    text-align: left;
    border-radius: .5em;
    box-shadow: 0 0 1em white;
    font-size: 120%;
    padding: 1.0em;
}
#app-info ul {
    font-size: 140%;
}

.app-button {
    background-color: #21303f;
    margin: .5em 1em;
    border-radius: .5em;
    border: none;
    padding: .75em 1em;
    text-align: center;
    font-size: 150%;
}
.app-button[disabled] a {
    color: grey;
}

.app-button a {
    color: white;
}

.app-button:not([disabled]):hover {
    background-color: #34495E;
}
.app-button:not([disabled]):hover a {
    color: black;
    text-shadow: 0 0 .3em white;
}

.button-wrapper {
    text-align: center;
}



.store-logo {
    vertical-align: middle;
    margin: .1em;
    background-repeat: no-repeat;
    background-color: white;
    display: inline-block;
    width: 183px;
    height: 39px;

    position: relative;
}

/* image size: 175x25 */
#wplogo {
    background-image: url('images/WindowsPhone-68217A-175x25.png');
    background-position: 0 7px;
    background-size: 175px 25px;
}
#wplogo.disabled {
    background-image: url('images/WindowsPhone-68217A-175x25-disabled.png');
}

/* image size: 183x39 */
#gplay-logo {
    background-image: url('images/play_logo_x2.png');
    background-size: 183px 39px;
    background-position: 0 2px;
}
#gplay-logo.disabled {
    background-image: url('images/play_logo_x2-disabled.png');
}


.disable {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
