/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1.0em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #e5e5e5;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}



/* ==========================================================================
   Author's custom styles
   ========================================================================== */

* {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    background-color: #f5f7f6;
	height: 100%;
}

a {
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

body > header {
    position: absolute;
    width: 100%;
    display: block;
    background: rgba(0,0,0,0.65);
    z-index: 99999;
}

#header-links {
    height: 30px;
    line-height: 30px;
    text-align: right;
    padding-right: 180px;
    background-color: rgba(0,0,0,0.4);
}

#header-links a,
#header-links a:visited,
#header-links a:active {
    font-size: 0.7em;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    text-transform: uppercase;
    padding-right: 55px;
}

#header-links a:hover {
    color: #fff;
}

#header-links a:last-child {
    padding: 0;
    margin: 0;
}

#header-links a i {
    padding-right: 5px;
}

#content {
	padding-top: 100px;
	min-height: 100%;
	/* equal to footer height */
	margin-bottom: -212px; 
}

#content:after {
  content: "";
  display: block;
}

#content a {
    color: rgb(225, 89, 39);
    text-decoration: none;
}

footer,
#content:after {
  height: 212px; 
}

#content img:not(.mobile) {
    background: #fff;
    padding: 6px;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
}

nav div#mobile-view,
nav div#mobile-view ul {
    display: none;
}

nav {
    background: url(../images/logotype.png) transparent no-repeat 70px center;
    background-color: rgba(0,0,0,0.2);
    width: 100%;
    height: 70px;
    text-align: right;
    padding-right: 165px;
}

nav a,
nav a:visited,
nav a:active {
    font-size: 1.0em;
    font-weight: 700;
    color: #fff;
    line-height: 70px;
    text-decoration: none;
    display: inline-block;
    padding: 0 15px;
    text-transform: uppercase;
}

nav a.selected {
    background: rgba(225,89,39,1);
    color: #fff;
}

nav a:not(.selected):hover {
    background: rgba(225,89,39,0.2);
}

nav div#mobile-view > ul {
    padding: 99px 0;
}

nav div#mobile-view > ul li {
    display: block;
    width: 100%;
    background-color: #222;
    clear: both;
    border-top: 1px solid #333;
    border-bottom: 1px solid #111;
}
    
nav div#mobile-view a,
nav div#mobile-view a:visited,
nav div#mobile-view a:active {
    float: none;
    padding-bottom: 0;
    color: #fff;
    line-height: 34px;
    display: block;
}

footer {
    background: #fff;
    line-height: 32px;
	margin-top: -212px;
}

footer a {
    text-decoration: none;
    color: #000;
    font-size: 0.8em;
	display: block;
	text-align: right;
	margin-right: 20px;
}

.mobile {
    display: none;
}

.adapted {
    width: 100%;
    height: auto;
}

#slider {
    height: auto;
    width: 100%;
    overflow: hidden;
	margin-top: -100px;
}

#slider img {
    display: none;
}

.fluxslider {
    width: 100% !important;
    height: auto !important;
}

.fluxslider-nav {
    padding: 5px 10px;
    font-size: 26px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    background: rgba(0,0,0,0.65);
    position: absolute;
    z-index: 2000;
}

.fluxslider-nav:hover {
    background: rgba(0,0,0,0.4);
}

#latest-vehicles > .text {
    background: transparent !important;
    box-shadow: none !important;
}

#latest-vehicles > .text .description {
    text-align: left;
}

#latest-vehicles > .text .description h1,
#contact h1 {
    font-size: 1.4em;
    font-weight: 700;
    color: rgb(225,89,39);
    margin-top: 0;
    text-transform: uppercase;
}

#contact {
    background: #ff7400;
    background: -moz-linear-gradient(top,  #ff7400 0%, #e15927 100%);
    background: -webkit-linear-gradient(top,  #ff7400 0%,#e15927 100%);
    background: linear-gradient(to bottom,  #ff7400 0%,#e15927 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff7400', endColorstr='#e15927',GradientType=0 );
}

#contact .block {
    display: block;
    float: left;
    height: 100px;
    margin: 40px 80px 40px 0;
}

#contact h1 {
    color: #fff;
}

#contact h2 {
    color: #fff;
    font-size: 0.9em;
    font-weight: 600;
    line-height: 1.3em;
    text-transform: uppercase;
}

#latest-vehicles > .text .description h2 {
    font-size: 1.2em;
    font-weight: 500;
    color: #000;
}

.fixed-width {
	width: 1090px;
}

.center {
	margin: 0 auto;
}

.border {
    border-bottom: 4px solid #000;
}

.flex-center {
    align-items: center;
    display: flex;
    justify-content: center;
}

.button,
.button-s {
    background: rgb(225, 89, 39);
    border: none;
    border-radius: 3px;
    color: #fff !important;
    display: inline-block;
    line-height: 2.5em;
    text-decoration: none;
    margin-top: 25px;
    text-align: center;
    width: 100%;
}

.button:hover,
.button-s:hover {
    background: rgb(255, 116, 0);
}

.button-s {
    width: auto;
    padding: 0 1em;
}

.button-s::before {
    content: attr(data-icon);
}

.button-s::after {
    content: "";
}

#latest-vehicles > .block {
    background: #fff;
    width: 170px;
    margin: 40px 40px 40px 0;
    display: block;
    float: left;
    height: 210px;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
}

#latest-vehicles > .block:last-child,
#contact .block:last-child {
    margin-right: 0;
}

#latest-vehicles > .block > .imagecontainer {
    height: 105px;
    width: 100%;
    overflow: hidden;
}

#latest-vehicles > .block img {
    display: block;
    height: auto;
    width: 100%;
    margin-top: 5px;
    box-shadow: none;
    padding: 0;
}

#latest-vehicles > .block {
    padding: 0 5px;
    text-align: center;
}

#latest-vehicles > .block h1 {
    font-size: 0.8em;
    font-weight: 700;
    color: #000;
}

#latest-vehicles > .block h1.model {
    height: 45px;
}

#latest-vehicles > a.block h2 {
    font-size: 1.0em;
    font-weight: 600;
    color: #fff;
    background: rgb(225,89,39);
    border-radius: 2px;
    margin-top: 20px;
    line-height: 26px;
}

.push {
    display: block;
    width: 100%;
    height: 250px;
}

.right {
    float: right !important;
}

.page-contact > h1,
.page-workshop > h1,
.page-services > h1 {
    color: rgb(225, 89, 39);
    font-size: 1.8em;
}

.page-workshop > h2,
.page-services > h2 {
    color: rgb(225, 89, 39);
    font-size: 1.3em;
    margin-top: 20px;
}

.page-hello h2 {
    color: rgb(225, 89, 39);
    font-size: 1.3em;
    margin-bottom: 0.5em;
}

.page-workshop > p,
.page-services > p {
    font-size: 0.9em;
}

form input[type="email"],
form input[type="number"],
form input[type="text"],
form textarea,
select {
	width: 100%;
}

.page-contact form {
	font-size: 0.9em;
	float: left;
	width: 500px;
}

.page-contact form input,
.page-contact form textarea,
.page-hello form input {
	padding: 5px;
	border: 1px solid #efefef;
}

.page-hello form input {
    width: 100%;
    margin: 5px 0;
}

.page-contact form input:not([type="submit"]):focus},
.page-contact form textarea:focus {
	padding: 5px;
	border: 1px solid rgb(255, 116, 0);
	background: #fcfcfc;
    outline: none;
}

.page-contact form sup {
	color: rgb(225, 89, 39);
	font-size: 7pt;
}

.page-contact form .inputpair label {
    display: inline-block;
    margin-bottom: 10px;
	width: 48%;
}

.page-contact form #message {
    margin-bottom: 10px;
    resize: none;
}

.page-contact #map {
	width: 280px;
	height: 280px;
	margin-top: 5px;
	border: 6px solid #fff;
	float: left;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
}

.page-contact .leftalign {
    float: left;
    margin: 13px 0 0 40px;
}

.page-contact .leftalign > .details {
    display: inline-block;
    margin: 0 0 0 40px;
	font-size: 0.9em;
}

.page-contact #response {
    color: #000;
    font-size: 0.9em;
    display: none;
    height: 40px;
    line-height: 40px;
    text-indent: 25px;
    width: 100%;
    clear: both;
}

.page-contact #response.success {
    background: url(../images/icon-success.png) no-repeat scroll 1px 50% transparent;
}

.page-contact #response.error {
    background: url(../images/icon-error.png) no-repeat scroll 1px 50% transparent;
}

.page-vehicles,
.page-vehicle {
    padding-top: 120px !important;
}

.page-vehicles article {
    position: relative;
}

.page-vehicles header,
.page-vehicle header {
    font-size: 1.3em;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.page-vehicles section.image,
.page-vehicle section.image {
    display: inline-block;
    float: left;
    position: relative;
}

.page-vehicles section.image {
    display: inline-block;
    position: relative;
}

.page-vehicles section.description {
    float: left;
    margin-left: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 620px;
    font-size: 0.9em;
}

.page-vehicles section.description p {
    margin-bottom: 15px;
}

.page-vehicles section.description a::after,
.page-vehicle a:not(.button-s)::after {
    content: " »";
}

.page-vehicles section.description a {
    display: block;
}

.page-vehicles section.facts {
    position: absolute;
    right: 0;
}

.page-vehicles section.facts > p {
    border-bottom: 1px dashed #666;
    font-size: 0.9em;
    line-height: 1.5em;
    text-align: right;
}

.page-vehicles section > p > strong {
    color: rgb(225, 89, 3);
    font-weight: 400;
}

.page-vehicles .price {
    bottom: 0;
    color: #333;
    position: absolute;
    right: 0;
}

.page-vehicles .price > h1 {
    font-size: 1.4em;
    line-height: 1.0em;
    margin: 0;
}

.page-vehicles .price > h2 {
    background: rgb(225, 89, 39);
    border-radius: 4px;
    color: #f5f6f6;
    display: inline-block;
    float: right;
    font-size: 0.75em;
    margin-top: 3px;
    padding: 4px 6px;
    text-shadow: none;
}

.page-vehicle section.image {
    display: inline-block;
    position: relative;
}

.page-vehicle section.image img {
    padding: 6px;
}

.page-vehicle .btn::before {
    content: attr(data-icon);
}

.page-vehicle a.btn::after {
    content: "";
}

.page-vehicle #details {
    display: inline-block;
    float: right;
    width: 513px;
}

.page-vehicle #details h2 {
    color: #444;
    margin-bottom: 15px;
}

.page-vehicle section.thumbnails img {
    cursor: pointer;
    margin: 3px;
    padding: 6px;
    transition: all 0.2s ease-in-out 0s;
}

.page-vehicle section.thumbnails img.selected {
    background: #ff7400 !important;
}

.page-vehicle article {
    font-size: 0.9em;
}

.page-vehicle #xlimages {
    display: inline-block;
    margin-top: 30px;
}

.page-vehicle section.facts strong {
    display: inline-block;
    width: 135px;
}
.page-vehicle section.facts span.reduced-price {
    margin-right: 1em;
}
.page-vehicle section.facts span.original-price {
    color: #a00;
    text-decoration: line-through;
}

#sorting {
    color: #aaa;
    display: block;
    font-size: 13px;
    line-height: 13px;
    text-align: right;
    text-transform: uppercase;
    width: 100%;
}

#sorting a {
    color: #000;
    padding: 0 3px;
}

#sorting a:first-child {
    margin-left: 28px;
}

#sorting a.checked {
    color: rgb(225, 89, 39);
}

.empty {
    color: #ccc;
    margin-top: 160px;
    text-align: center;
    text-shadow: 0 2px 2px #fff;
}

#login {
    background: rgba(255, 255, 255, 0.5) none repeat scroll 0 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 40px auto 0;
    padding: 20px;
    width: 280px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

@media only screen
and (min-width: 980px)
and (max-width: 1280px) {
    nav {
        background: url(../images/logotype.png) transparent no-repeat 20px center;
        padding-right: 20px;
    }
    #header-links {
        padding-right: 35px;
    }
    nav a {
        font-size: 0.8em;
    }
    .fixed-width {
        width: 95%;
    }
}

@media only screen
and (min-width: 690px)
and (max-width: 979px) {
    nav {
        background: none;
        padding-right: 20px;
    }
    #header-links {
        padding-right: 35px;
    }
    nav a {
        font-size: 0.8em;
    }
    #latest-vehicles {
        font-size: 0.8em;
    }
    .fixed-width {
        width: 95%;
    }
    .page-vehicles section.description {
        width: 100%;
        margin: 15px 0 0 0;
        clear: left;
    }
}

@media only screen
and (min-width: 0px)
and (max-width: 380px) {
    #header-links {
        display: none;
    }
    body > header {
        background: none;
    }
    nav {
        height: 30px;
    }
    nav div#mobile-view {
        top: 0px !important;
    }
    #contact .block {
        margin: 10px 10px 10px 0 !important;
    }
    #contact h1 {
        font-size: 0.7em !important;
    }
    #contact h2 {
        font-size: 0.5em !important;
    }
}

@media only screen
and (min-width: 0px)
and (max-width: 689px) {
    nav {
        background: none;
        padding-right: 0;
        height: auto;
    }
    #header-links {
        padding-right: 35px;
        background: #111;
    }
    #header-links a {
        font-size: 0.6em;
        padding-right: 35px;
    }
    nav div#standard-view {
        display: none;
    }
    nav div#mobile-view {
        display: block;
        position: absolute;
        top: 30px;
        width: 100%;
        background: #222;
    }
    #latest-vehicles {
        font-size: 0.7em;
    }
    #latest-vehicles > div.text {
        display: none;
    }
    #latest-vehicles > .block {
        margin: 20px 20px 20px 0;
        height: 180px;
    }
    #latest-vehicles > .block > .imagecontainer {
        height: 75px;
    }
    #slider {
        display: none;
    }
    .mobile {
        display: block;
    }
    #content {
        padding-top: 250px !important;
    }
    #contact .block {
        margin: 25px 25px 25px 0;
    }
    #contact h1 {
        font-size: 0.85em;
    }
    #contact h2 {
        font-size: 0.7em;
    }
    .fixed-width {
        width: 95%;
    }
    .page-vehicles section.description {
        width: 100%;
        margin: 15px 0 0 0;
        clear: left;
    }
    .page-vehicles section.facts > p {
        font-size: 0.75em;
    }
    .page-vehicle section.image img {
        width: 100%;
    }
    .page-vehicle #details {
        margin-top: 15px;
        display: block;
        width: 100%;
    }
    .page-vehicle #xlimages > img {
        width: 100%;
    }
    .mobile-clear {
        float: none !important;
        margin: 15px 0 15px 0 !important;
        max-width: 100%;
    }
    .page-contact form {
        width: 100%;
    }
    .page-contact .leftalign {
        margin: 15px 0 15px 0;
    }
    .page-contact .leftalign > .details {
        margin: 15px 0 0 0;
        width: 100%;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
