* {
    margin: 0;
    padding: 0;
    outline: 0;
}
@font-face {
    font-family: Roboto-Regular;
    src: url(../fonts/Roboto-Regular.ttf);
}
@font-face {
    font-family: Roboto-Bold;
    src: url(../fonts/Roboto-Bold.ttf);
}
body {
    font: 100% Roboto-Regular;
    color: #333;
    background: #fff;
}
.container {
    margin: 0 auto;
}
.inner {
    padding: 10px 0 10px 10px;
    border-top: solid 1px #666;
}
.logo {
    vertical-align: middle;
    margin: 10px;
}
.top-menu {
    font-size: 0.9em;
    text-transform: uppercase;
}
.top-menu li {
    display: inline;
}
.top-menu a {
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 12px 10px;
}
#hamburger {
    display: block;
    padding: 10px;
}
#menu-entries {
    display: none;
}
.banner {
    width: 100%;
    vertical-align: middle;
    margin-top: 10px;
}
label {
    line-height: 1.6em;
}
form {
    margin: 10px 10px 0 0;
}
input, select, textarea {
    font: inherit;
    width: 100%;
    padding: 4px;
    box-sizing: border-box;
    border: solid 1px #999;
    border-radius: 3px;
    outline: 0;
}
textarea {
    height: 8em;
    resize: none;
    vertical-align: middle;
}
button {
    font: inherit;
    color: #fff;
    padding: 5px 15px;
    border: none;
    border-radius: 3px;
    margin-top: 10px;
}
form.search {
    text-align: center;
    margin: 10px 0 0 0;
    padding: 0 0 10px 0;
}
.search input {
    width: 60%;
}
.search button {
    margin: 0;
}

.left-menu {
    display: none;
    margin-bottom: 10px;
}
.left-menu h2 {
    color: #fff;
    padding: 10px;
    margin: 0;
}
.left-menu ul {
    background: #eee;
    padding: 10px;
}
.left-menu li {
    font-family: Roboto-Bold;
    margin-bottom: 5px;
    cursor: pointer;
}
.left-menu li li {
    font-family: Roboto-Regular;
}
.left-menu span {
    float: right;
    font-size: 0.8em;
    background: #666;
    color: #fff;
    padding: 0 4px;
    margin-top: 2px;
    border-radius: 10px;
}
.left-menu span {
    float: right;
    font-size: 0.8em;
    color: #fff;
}
li {
    list-style-type: none;
}
.left-menu li ul {
    display: none;
}
h1 {
    font-size: 1.6em;
    margin: 10px 0 10px 0;
}
h2 {
    font-size: 1.2em;
    margin-top: 20px;
}
h1, h2, strong, .popup li span, .vehicle-card li span {
    font-family: Roboto-Bold;
    font-weight: normal;
}
address, p {
    margin: 10px 10px 0 0;
    line-height: 1.4em;
}
p.success {
    display: none;
    color:#393;
}
.asterisk, p.error {
    color: #c30;
}
p.error {
    display: none;
}
a {
    color: #36c;
}

.vehicle-card {
    color: #fff;
    background: #888;
    padding: 10px;
    margin: 10px 10px 0 0;
}
.vehicle-card img {
    width: 100%;
}
.vehicle-card button {
    margin-top: 10px;
    font: inherit;
    text-transform: uppercase;
    background: #bbb;
    border: none;
    padding: 5px 0;
    width: 100%;
    color: #fff;
    outline: 0;
    cursor: pointer;
}
.vehicle-card button:active, .vehicle-card button:hover {
    background: #aaa;
}
.imgs img {
    width: 100%;
}
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    padding: 10px;
    background: #fff;
    box-shadow: 4px 4px 10px 1px rgba(0, 0, 0, 0.3);
    z-index: 5;
}
.popup .header {
    color: #fff;
    padding: 10px;
}
.popup .header h1 {
    display: inline;
    font-size: 1.2em;
}
.popup .header a {
    float: right;
    font-family: Roboto-Bold;
    font-size: 1.6em;
    color: #fff;
    text-decoration: none;
    margin: -3px 0 0 0;
}
.popup .imgs {
    float: right;
    width: 125px;
}
.popup img {
    vertical-align: middle;
    margin-top: 10px;
}
.vehicle-info {
    float: left;
    width: 185px;
    margin-top: 5px;
    line-height: 1.5em;
}
.for-more-info {
    margin-top: 10px;
    padding: 10px;
    background: #eee;
}
.for-more-info h2 {
    margin: 0 0 5px 0;
}
.for-more-info p {
    margin: 0;
}
.table-wrapper {
    margin-right: 10px;
}
.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
}
.table-wrapper th {
    font-family: Roboto-Bold;
    font-weight: normal;
}
.table-wrapper th, .table-wrapper td {
    width: 70%;
    text-align: left;
    padding: 8px 10px;
}
.table-wrapper th:nth-child(even), .table-wrapper td:nth-child(even) {
    width: 30%
}
.table-wrapper tr {
    background: #eee;
    border-top: solid 1px #ddd;
}
.table-wrapper tr:nth-child(even) {
    background: #fff;
}
.table-wrapper tr:last-of-type {
    border-bottom: solid 1px #ddd;
}
.hours th {
    font-weight: normal;
    text-align: left;
    padding-right: 1em;
}
.footer {
    clear: left;
    border-top: solid 1px #666;
    padding: 10px;
    text-align: center;
}
.footer a {
    color: #36c;
}
#infinite-list {
    /* We need to limit the height and show a scrollbar */
    width: 200px;
    height: 300px;
    overflow: auto;
  
    /* Optional, only to check that it works with margin/padding */
    margin: 30px;
    padding: 20px;
    border: 10px solid black;
  }

@media screen and (min-width: 480px) {
    .popup {
        width: 420px;
    }
    .popup .header h1 {
        font-size: 1.4em;
    }
    .popup .header a {
        font-size: 1.8em;
        margin: -4px 0 0 0;
    }
    .vehicle-info {
        width: 225px;
    }
    .popup .imgs {
        width: 185px;
    }
}
@media screen and (min-width: 650px) {
    .container {
        max-width: 630px;
    }
    .top-menu {
        padding: 12px 0;
    }
    #hamburger {
        display: none;
    }
    .top-menu a {
        display: inline;
    }
    #menu-entries {
        display: block;
    }
    .search input {
        width: 40%;
    }
    .vehicle-card {
        float: left;
        width: 280px;
        margin-right: 10px;
    }
    .main {
        overflow: auto;
    }
    .footer {
        text-align: right;
    }
}
@media screen and (min-width: 960px) {
    .container {
        max-width: 940px;
    }
    .left-menu {
        display: block;
        float: left;
        width: 300px;
    }
    .main {
        margin-left: 310px;
    }
}

@media screen and (min-width: 1270px) {
    .container {
        max-width: 1250px;
    }
    .search input {
        width: 30%;
    }
}