﻿.showwhensmall, .showwhenmedium {
    display: none !important;
}

/**
 *
 * Pull down styles
 *
 */
#pullDown {
    background-color: #fefefe;
    margin-bottom: 10px;
    border: 1px solid #e0e3e6;
    height: 40px;
    line-height: 40px;
    padding: 5px 10px;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 2px;
    font-weight: bold;
}

    #pullDown .pullDownIcon {
        display: block;
        float: left;
        width: 40px;
        height: 40px;
        -webkit-background-size: 40px 80px;
        background-size: 40px 80px;
        -webkit-transition-property: -webkit-transform;
        -webkit-transition-duration: 250ms;
    }

#scroller {
    transition: -webkit-transform 0ms cubic-bezier(0.33, 0.66, 0.66, 1);
    -webkit-transition: -webkit-transform 0ms cubic-bezier(0.33, 0.66, 0.66, 1);
    -webkit-transform-origin: 0px 0px;
    /* TODO BSE	-webkit-transform: translate(0px, -51px) scale(1) translateZ(0px);*/
}


/*
    Google Maps
*/
.labels {
    color: #565656;
    background-color: white;
    font-family: "Lucida Grande", "Arial", sans-serif;
    font-size: 11px !important;
    font-weight: bold;
    text-align: center;
    width: 40px;
    white-space: nowrap;
    opacity: 1.0;
    border: 1px solid #afc80a;
    border-bottom: none;
    z-index: 1;
}

.labelCheap {
    color: white;
    background-color: #afc80a;
    font-family: "Lucida Grande", "Arial", sans-serif;
    font-size: 25px !important;
    font-weight: bold;
    text-align: center;
    width: 80px;
    padding: 5px 0;
    white-space: nowrap;
    opacity: 1.0;
    z-index: 2;
}

.labelSelected {
    color: white;
    background-color: #0a78a0;
    font-family: "Lucida Grande", "Arial", sans-serif;
    font-size: 12px !important;
    font-weight: bold;
    text-align: center;
    width: 50px;
    white-space: nowrap;
    opacity: 1.0;
    border: 2px solid #0a78a0;
    margin-left: -1px;
    margin-top: -1px;
    border-bottom: none;
    z-index: 3;
}

.labelCheapSelected {
    color: white;
    background-color: #afc80a;
    font-family: "Lucida Grande", "Arial", sans-serif;
    font-size: 25px !important;
    font-weight: bold;
    text-align: center;
    width: 80px;
    padding: 5px 0;
    white-space: nowrap;
    opacity: 1.0;
    /*margin-left: -1px;*/
    /*margin-top: -1px;*/
    /*border: 2px solid #0a78a0;*/
    border-bottom: none;
    z-index: 3;
}

.contextmenu {
    visibility: hidden;
    background: #ffffff;
    border: 1px solid #dfe6e7;
    z-index: 10;
    position: relative;
    width: 140px;
}

    .contextmenu div {
        padding: 0 5px;
    }

    .contextmenu a {
        color: #333333;
        display: block;
    }

#map-canvas img {
    max-width: none;
}

/*
    /Google Maps
*/

#imprint-container {
    font-family: "SegoeUI";
    font: normal 14px/20px Arial, Helvetica, sans-serif;
}

[ng\:cloak], [ng-cloak], .ng-cloak {
    display: none;
}


html {
    height: 100%;
}

body {
    min-height: 100%;
    color: #333333;
}

#header {
    background-color: #afc80a;
    color: white;
    font-family: 'Exo', sans-serif;
}

#header-inner {
    padding-bottom: 20px;
}

    #header-inner h1 {
        padding-top: 8px;
        font-size: 2.3em;
    }

    #header-inner p {
        font-size: 1.3em;
        line-height: 1.3em;
        margin-bottom: 25px;
    }

#header-left {
    width: 60%;
    text-align: left;
    height: 100%;
    float: left;
}

#header-right {
    width: 40%;
    text-align: right;
    height: 100%;
    display: table-cell;
    float: right;
}

#header-left-inner {
    padding-left: 5px;
}

#header-right-inner {
    padding-right: 5px;
}

#logo {
    padding-top: 5px;
}

    #logo img {
        width: 200px;
    }

.btn-blue {
    background-color: #0a78a0;
    color: white;
    background-image: none;
}

    .btn-blue:hover {
        background-color: #085A77;
        color: white;
    }

.btn.btn-blue.disabled, .btn.btn-blue[disabled] {
    background-color: #4DBBE3;
    color: white;
}

.tbSearchText {
    width: 180px;
}

.green {
    color: #afc80a;
}

#app-name {
    font-size: 2em;
}

form {
    margin-bottom: 10px;
}

.resolved-address {
    max-width: 400px;
    margin-left: 5px;
    float: left;
    font-size: 1em;
}

.stats {
    width: 220px;
    float: left;
    font-size: 1em;
}

.subtext {
    text-align: right;
    padding-bottom: 10px;
    padding-right: 5px;
}

#body {
    min-height: 100vh;
    height: 100%;
}

.max-width {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}

.appname {
    color: #afc80a;
    margin: 2px 0 10px 0;
    font-family: 'Exo', sans-serif;
    font-size: 1.4em;
}

div.socialMediaLinks {
    margin-top: 12px;
}

    div.socialMediaLinks > a {
        margin: 0 4px 0 4px;
        font-size: 1.1em;
        line-height: 1.1em;
        color: white;
    }

a.footerLink {
    margin: 0 4px 0 4px;
}

div.priceUpdated {
    color: #afc80a;
    font-size: 0.8em;
}

.closed .priceUpdated{
    visibility: hidden;    
}


a.reportButton {
    color: #9c9c9c;
    font-size: 0.8em;
}

#main {
    overflow: hidden;
}

    #main > div {
        height: 100%;
    }

div.left-outer {
    width: 60%;
    float: left;
    position: relative;
}

div.right-outer {
    width: 40%;
    float: right;
    position: relative;
}

div.left-outer, div.right-outer {
    padding-bottom: 8000px;
    margin-bottom: -8000px;
}

div .left-inner {
    border: 1px solid #dde1e2;
    margin: 50px 10px 10px 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 2px 3px 3px #999999;
    -moz-box-shadow: 2px 3px 3px #999999;
    box-shadow: 2px 3px 3px #999999;
}

div.impressum-inner {
    padding: 15px;
}

div#right-inner {
    padding: 0 20px 20px;
}

#result-list {
    border-top: 1px solid #C7CBCC;
    border-bottom: 1px solid #C7CBCC;
    margin: 0;
    padding: 5px;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    height: 500px;
    -webkit-box-shadow: inset 0 5px 10px #C7CBCC;
    -moz-box-shadow: inset 0 5px 10px #C7CBCC;
    box-shadow: inset 0 5px 10px #C7CBCC;
    margin-top: 10px;
}

div.description {
    padding: 50px 0 10px 0;
}

.upcase {
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 2px;
    font-weight: bold;
}

div.resultBox {
    background-color: white;
    margin-bottom: 10px;
    border: 1px solid #e0e3e6;
    border-left: 5px solid #e0e3e6;
    margin-left: -4px;
    width: 100%;
    position: relative;
    cursor: pointer;
}

    div.resultBox.cheapest {
        border: 3px solid #afc80a;
        border-left: 5px solid #afc80a;
    }

.closed-label {
    color: #0a78a0;
    font-weight: bold;
    opacity: 1.0;
}

    div.resultBox.closed {
        opacity: .5;
    }

div.resultBox.selected {
    border-left: 5px solid #0a78a0;
}

div.resultBox.cheapest.selected {
    border-left: 5px solid #afc80a;
}

div.resultBox.selected div.station-address, div.resultBox.selected div.station-hours {
    color: #333333;
}

.info {
    color: #9c9c9c;
    font-size: 0.8em;
    line-height: 1.4em;
    text-align:right;
}


div.resultBox.selected span.station-name {
    font-weight: bold;
}

div.station-logo, div.result-left, div.result-right {
    display: table-cell;
    vertical-align: top;
}

.station-logo {
    min-width: 100px;
}

.result-left {
    border-right: 1px solid #e0e3e6;
    width: 100%;
}

.result-right {
    min-width: 140px;
}

#mts {
    padding-top: 10px;
}

#mts div.mTableCell:first-child {
    padding-right: 10px;
}

div.station-logo-inner {
    padding: 10px;
    height: 80px;
    width: 80px;
    line-height: 80px;
    vertical-align: middle;
    text-align: center;
}

div.result-inner {
    padding-left: 10px;
    padding-right: 10px;
}

#appIcons {
    text-align: center;
    margin: 0 0 10px 0;
}


div.more-infos {
    width: 100%;
    display: table;
    padding: 5px 0;
}

    div.more-infos .closeWarning {
        color: #ffae00;
        display: table-cell;
    }

    div.more-infos .station-buttons {
        min-width: 80px;
        display: table-cell;
        text-align: right;
    }


.showwhensmall, .hidewhenlarge {
    display: none !important;
}


a {
    color: #0a78a0;
}

span.station-name {
    display: block;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
    color: #0a78a0;
}


.opening-hours {
    width: 150px;
    float: left;
}

.overrides {
    float: left;
    padding-left: 10px;
}

div.station-hours {
    padding-top: 5px;
    font-family: Arial, Helvetica, sans-serif;
    color: #9c9c9c;
}


div.station-hours {
    padding-bottom: 10px;
    font-size: 0.8em;
}


span.price {
    color: #afc80a;
    font-size: 2.5em;
    font-family: 'Times New Roman', Times, serif;
    padding-top: 10px;
    line-height: 1.5em;
}

span.unit {
    color: #9c9c9c;
    font-family: Arial, Helvetica, sans-serif;
}

a.btn {
    margin-top: 5px;
    margin-bottom: 5px;
}

.left-element {
    border-bottom: 1px solid #dde1e2;
    padding-bottom: 10px;
    width: 100%;
}

    .left-element h5 {
        font-weight: normal;
        font-size: 1em;
        font-family: Arial, Helvetica, sans-serif;
    }

#map-canvas {
    margin: 0 10px 10px;
}

div.left-element select {
    width: 100%;
    max-width: 220px;
}

/*div#right-inner div.accordion {
    display: none;
}*/

div.left-inner div.accordion {
    display: block;
    margin-bottom: 0;
}

    div.left-inner div.accordion div.accordion-heading a {
        color: inherit;
        padding: 0;
    }

    div.left-inner div.accordion div.accordion-group {
        margin: 0;
        border: none;
    }

.right-aligned {
    text-align: right;
}

.pollSlider {
    display: none;
}

#scroll-trigger {
    text-align: center;
    padding: 20px 0;
}

div.accordion-inner {
    padding: 15px;
}

#sort-buttons button {
    z-index: 1;
}

/* For accordions in result list */
.resultBox .accordion, .resultBox .accordion-group {
    margin-bottom: 0;
    border: none;
}

.resultBox .accordion-toggle, .resultBox .accordion-inner {
    padding: 0;
}

    .resultBox .accordion-heading:hover, .resultBox .accordion-toggle:hover {
        text-decoration: none;
    }

.resultBox td {
    padding: 0 10px 0 0;
}

input.ng-invalid {
    border-color: #b94a48;
    background-color: #FFEFEF;
}

div.error {
    color: #b94a48;
}

.modal {
    position: absolute;
}

.ibutton {
    display: inline-block;
    height: 31px;
    width: 31px;
    line-height: 31px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #e0e3e6;
}

    .ibutton:hover {
        border: 1px solid #9c9c9c;
    }

div.modal-body {
    max-height: inherit;
}

.mTable {
    display: table;
}

.mTableRow {
    display: table-row;
}

.mTableCell {
    display: table-cell;
    vertical-align: top;
}

.light-table {
    border-bottom: 1px solid #e0e3e6;
}

    .light-table td {
        vertical-align: top;
    }

/*input[type="range"] {
    -webkit-appearance: none;
    -moz-apperance: none;
    width: 100%;
    height: 10px;
    max-height: 10px;
    border: 1px solid #9c9c9c;
    padding: 0;
    background-image: -webkit-linear-gradient(#9c9c9c 0%, #afc80a 50%);
    background-image: -moz-linear-gradient(#9c9c9c 0%, #afc80a 50%);
    background-image: -o-linear-gradient(#9c9c9c 0%, #afc80a 50%);
    background-image: linear-gradient(#9c9c9c 0%, #afc80a 50%);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}


input::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-apperance: none;
    width: 15px;
    height: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
    background-image: -webkit-linear-gradient(white 0%, #DDDDDD 100%);
    background-image: -moz-linear-gradient(white 0%, #DDDDDD 100%);
    background-image: -o-linear-gradient(white 0%, #DDDDDD 100%);
    background-image: linear-gradient(white 0%, #DDDDDD 100%);
}*/

/*IE*/

/*input[type="range"]::-ms-fill-upper {
    background-color: #E0E0E0;
}

input[type="range"]::-ms-fill-lower {
    background-color: #afc80a;
}

input[type="range"]::-ms-track {
    color: transparent;
    border: none;
}

input[type="range"]::-ms-thumb {
    background-color: white;
    background-image: -ms-linear-gradient(white 0%, #DDDDDD 100%);
    background-image: linear-gradient(white 0%, #DDDDDD 100%);
    -ms-border-radius: 15px;
    border-radius: 2px;
}
    */


/*Firefox*/
/* input[type="range"]::-moz-range-track {
    width: 0px;
}*/


/*Scrollbar*/
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: #999999;
}




@media (max-width:1082px) {

    .showwhenmedium {
        display: inherit !important;
    }

    /*#header {
        border-top: 10px solid #afc80a;
    }*/

    #fuelSelector {
        width: 160px;
        margin-bottom: 5px;
    }

    .stats {
        width: 160px;
        font-size: 0.8em;
    }

    .resolved-address {
        font-size: 0.8em;
    }

    #locationSelector {
        margin-bottom: 5px;
    }

    div .left-inner {
        margin-top: 20px;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    div#right-inner {
        padding: 0 10px 10px;
    }

    div.left-element {
        text-align: center;
    }

    div.description {
        padding-top: 20px;
    }

    div.resultBox {
        margin-right: 0;
    }

    div.station-logo {
        display: none;
        width: 0;
    }

    .hidewhenlarge {
        display: inherit !important;
    }

    .showwhenlarge {
        display: none !important;
    }

    #header-inner {
        padding-bottom: 5px;
    }

    #header-left {
        padding-left: 25px;
        margin-right: -25px;
    }

    #header-right {
        padding-right: 25px;
        margin-left: -25px;
    }

    #logo img {
        width: 40%;
    }

    #app-name {
        font-size: 1.6em;
    }

    #header-left-inner h1 {
        font-size: 1.8em;
    }

    #header-left-inner p {
        font-size: 1.2em;
    }

    form {
        margin-bottom: 0;
    }
}

@media (max-width:767px), handheld {

    body {
        padding-left: 0;
        padding-right: 0;
    }

    #body {
        /*background-image: none;*/
        /*background-color: #D7E1E2;*/
    }

    .showwhenlarge, .showwhenmedium {
        display: none !important;
    }


    div.left-outer {
        width: 100%;
        margin: 0;
        padding: 0;
        float: none;
    }

    div.right-outer {
        background-color: #e6ebee;
        width: 100%;
        margin: 0;
        padding: 0;
        float: none;
    }

    div.left-inner {
        background-color: #f5f5f5;
        margin: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    #searchBoxBorder {
        width: 100%;
        position: relative;
        background-color: white;
        border-top: 10px solid #afc80a;
        border-bottom: 10px solid #afc80a;
        top: 0;
        left: 0;
        z-index: 2;
    }

    .bg {
        background-image: url("../Images/logo.png");
        background-repeat: no-repeat;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        opacity: .4;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    #vendorSelector {
        display: none;
    }

    #searchBox {
        margin: 0;
        padding: 10px;
        max-width: inherit;
        text-align: center;
    }

    #searchBox ul {
        text-align: left;
    }

        #searchBox input[type="text"] {
            width: 246px;
        }

        #searchBox div.accordion {
            display: block;
            margin-bottom: 0;
            border-bottom: 1px;
            border-left: 1px;
            border-right: 1px;
        }

            #searchBox div.accordion div.accordion-heading a {
                text-align: center;
                color: inherit;
            }

            #searchBox div.accordion div.accordion-group {
                margin: 0;
                border: none;
            }

    #result-list {
        height: 100%;
    }

    div.result-header {
        padding: 10px 0;
    }

    div.resultBox div.accordion-inner {
        color: #9c9c9c;
        width: 100%;
    }

    div.numofresults {
        display: none;
        width: 0%;
    }

    div.right-aligned {
        text-align: center;
    }

    div#right-inner div.accordion {
        display: block;
    }

    div.accordion-heading a.accordion-toggle {
        padding: 0;
    }

    a.accordion-toggle.ng-binding {
        padding-left: 0;
        padding-bottom: 0;
    }

    div.accordion {
        margin-bottom: 10px;
    }

    div.left-inner div.accordion-heading {
        padding-bottom: 0;
    }

    div.accordion-inner {
        font-family: Arial, Helvetica, sans-serif;
    }

    div.accordion-group {
        border: none;
        margin: 0;
    }

    div.accordion a {
        color: #0a78a0;
    }

    .left-element {
        padding: 10px 0 10px 0;
    }

    input.hidewhensmall, h5.hidewhensmall, .hidewhensmall {
        display: none !important;
    }

    .showwhensmall {
        display: inherit !important;
    }

    div.left-element h5 {
        margin: 0 0 5px 0;
    }

    #map-canvas {
        margin: 0 0 10px 0;
    }

    /*Slider*/
    /*input[type="range"] {
        height: 20px;
        max-height: 20px;
        border: 1px solid #9c9c9c;
        padding: 0;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -o-border-radius: 10px;
        border-radius: 10px;
    }


    input::-webkit-slider-thumb {
        width: 30px;
        height: 30px;
        -webkit-border-radius: 30px;
        -moz-border-radius: 30px;
        -ms-border-radius: 30px;
        -o-border-radius: 30px;
        border-radius: 30px;
    }*/

    /*IE*/

    /*input[type="range"]::-ms-track {
        color: transparent;
        border: none;
        height: 20px;
    }

    input[type="range"]::-ms-thumb {
        height: 20px;
        width: 20px;
        background-color: white;
        background-image: -ms-linear-gradient(white 0%, #DDDDDD 100%);
        background-image: linear-gradient(white 0%, #DDDDDD 100%);
        -ms-border-radius: 10px;
        border-radius: 10px;
    }*/

    /*Firefox*/
    /*input[type="range"]::-moz-range-track {
        height: 20px;
    }

    input[type="range"]::-moz-range-thumb {
        height: 30px;
        width: 30px;
        border-radius: 15px;
    }*/

    .pollSlider {
        display: block;
        position: fixed;
        height: 100vh;
        background: #fefefe;
        width: 268px;
        right: 0;
        top: 10px;
        margin-right: -268px;
        z-index: 10;
        border: 1px solid #c7cbcc;
        border-right: none;
        -moz-box-shadow: -3px 2px 5px #666;
        -webkit-box-shadow: -3px 2px 5px #666;
        box-shadow: -3px 2px 5px #666;
    }

    #pollSlider-button {
        top: 10px;
    }

    #rightbuttons {
        top: 10px;
        position: fixed;
        right: -1px;
        z-index: 11;
    }

        #rightbuttons button {
            display: block;
            background: #fefefe;
            border-right: none;
            box-shadow: none;
            margin: 0;
            border-radius: 0;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }

    .btn-group > .btn-active {
        z-index: 1;
    }

    .btn-group > button {
        z-index: 1;
    }

    .adItem {
        margin-top: 10px;
        margin-left: 10px;
        text-align: center;
    }
}
