body {
    background: url(../images/pattern.gif);
}
h5 {
    font-weight: bold;
}
.max-width {
    width: 100%;
}
.label a {
    color: #FFF;
    text-decoration: none;
}
.container {
    position: relative;
    background-color: #fff;
    padding: 0;
    box-shadow: 0 0 20px #5e5e5e;
}
#header {
    position: relative;
    background: url(../images/header_bg.png) no-repeat;
    height: 145px;
}
#header h1 {
    position: absolute;
    margin: 0 0 0 20px;
    padding: 0;
    background: url(../images/logo.png) no-repeat 0 100%;
    width: 162px;
    height: 105px;
    right: 15px;
    text-indent: -1000em;
}
#header h1 a {
    display: block;
    height: 100%;
}
#active-toggle {
    position: absolute;
    top: 96px;
    padding: 0 5px;
    color: #524f46;
    font-size: 42px;
    text-shadow: -1px -1px 0 #cccccc;
    transition: transform 0.3s;
    -webkit-transition: transform 0.3s;
}
#active-toggle.active {
    transform: translate(230px, 0);
    -webkit-transform: translate(230px, 0);
}
/*
 * Menu
 */
#menu {
    position: absolute;
    transform: translateX(-250px);
    -webkit-transform: translateX(-250px);
    width: 250px;
    top: 0;
    height: 100%;
    z-index: 1000;
    background-color: #d3d3d3;
    font-size: 24px;
    font-weight: bold;
    overflow-y: auto;
    transition: transform .3s;
    -webkit-transition: transform .3s;
}
#menu.active {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    box-shadow: 0 0 20px #5e5e5e;
}
#menu abbr {
    border-bottom: none;
}
#menu ul {
    margin: 0;
    padding: 0;
}
#menu ul li {
    display: block;
    border-bottom: 1px solid #524f46;
}
#menu ul li a {
    display: block;
    padding: 5px 10px;
    height: 100%;
    color: #524f46;
}
#menu ul li a:hover {
    text-decoration: none;
}
#menu form {
    padding: 10px 0;
    border-bottom: 1px solid #524f46;
}
#menu form .col-xs-4 {
    padding: 0 10px;
}
#menu form label {
    color: #524f46;
}
#menu form button {
    margin: 5px 10px 0 0;
}
#menu .form-group {
    margin-left: 5px;
    margin-right: 5px;
}
.mini-fields .form-group {
    margin-left: -5px;
    margin-right: -5px;
}
.form-group .field {
    padding-left: 5px;
    padding-right: 5px;
}
#menu .other-criteria .form-group {
    margin: 0 0 10px -10px;
}
#content .article {
    padding: 10px;
    background-color: #eee9e3;
}
#content h2 {
    margin: 20px 0 30px 0;
    padding: 5px 15px;
    background-color: #f0d69b;
    font-weight: bold;
    color: #4e504f;
}
#content .page-content, #content .error-content {
    padding: 0 15px;
    margin-bottom: 30px;
}
#content .page-content h2 {
    margin-left: -15px;
    margin-right: -15px;
}
#main.row, #search.row, #technical-sheet.row, #contact.row, #error.row {
    margin: 0;
}

#main #search .badge-eci {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
#search, #informations {
    padding: 0;
}
.error-content .alert form {
    margin: 10px 0 0 0;
}
.error-content .alert form .form-group {
    margin: 0;
}
#last-occasion.error {
    margin-top: 0;
}
/*
 * Carousel
 */
#carousel article.item .item-content {
    position: relative;
    padding-top: 25px;
    width: 100%;
    min-height: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
}
#carousel article.item .item-content .gradient {
    background: -moz-linear-gradient(top, rgba(238,237,236,0) 0%, rgba(238,237,236,0.65) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(238,237,236,0)), color-stop(100%,rgba(238,237,236,0.65)));
    background: -webkit-linear-gradient(top, rgba(238,237,236,0) 0%,rgba(238,237,236,0.65) 100%);
    background: -o-linear-gradient(top, rgba(238,237,236,0) 0%,rgba(238,237,236,0.65) 100%);
    background: -ms-linear-gradient(top, rgba(238,237,236,0) 0%,rgba(238,237,236,0.65) 100%);
    background: linear-gradient(to bottom, rgba(238,237,236,0) 0%,rgba(238,237,236,0.65) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00eeedec', endColorstr='#a6eeedec',GradientType=0 );
}
#carousel #carousel-control {
    position: absolute;
    top: 5px;
    right: 10px;
}
#carousel #carousel-control .right, #carousel #carousel-control .left {
    display: inline-block;
    font-size: 16px;
}
#carousel article.item h2 {
    background: none;
    margin: 0 0 10px 0;
    padding: 0;
    font-weight: normal;
    color: #333;
}
.read-next {
    margin: 10px 0 0 0;
    text-align: right;
}
.carousel-indicators {
    bottom: -35px;
}
.carousel-indicators li {
    border: 1px solid #666666;
    background-color: #666666;
}
.carousel-indicators .active {
    background-color: #000;
    border: 1px solid #000;
}
/*
 * Last occasion & search listing
 */
#last-occasion {
    margin: 60px 0 0 0;
}
#last-occasion #items {
    margin: 0;
}
#search #items {
    margin: 0 0 40px 0;
}
#search .item.row {
    margin: 0;
}
.item-style, .item-list-style {
    border-top: 2px solid #f2d599;
}
.item-visual {
    padding: 10px 0;
    min-height: 160px;
}
.item-visual > a > img {
    max-height: 140px;
}
.item-detail {
    padding-bottom: 10px;
}
#search .item-visual {
    min-height: 122px;
}
#search .item-visual.first {
    min-height: 124px;
}
.name, .internal-ref, .price {
    padding: 0 10px;
}
.price {
    text-align: right;
}
.name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}
.name a {
    display: block;
}

.lines-max-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.item-info {
    padding: 0 5px;
    margin-top: 10px;
}
.internal-ref, .price {
    font-size: 16px;
    font-weight: bold;
    color: #fda129;
}
.internal-ref abbr {
    border-bottom: none;
}
.patc {
    text-align: right;
}
.patc, .year, .mileage-hours {
    padding: 0;
}
.patc > span, .year > span, .mileage-hours > span {
    margin: 3px;
    display: block;
    text-align: center;
    background-color: #eee9e3;
    border-radius: 5px;
    padding: 5px;
}
.patc > span > i, .year > span > i, .mileage-hours > span > i {
    display: block;
    font-size: 2em;
}
#last-occasion .read-next {
    margin-right: 15px;
}
/*
 * Facets
 */
#facets {
    display: none;
}
#facets .facets-plus {
    margin: 10px;
}
/*
 * Technical sheet
 */
#price {
    padding: 0 15px;
    color: #fda129;
    font-size: 24px;
    font-weight: bold;
}
#item-header {
    margin-bottom: 10px;
}
#item-header > .row {
    padding: 0 15px;
}
#content #item-header h2 {
    margin-bottom: 10px;
}
#technicalsheet-links {
    margin: 20px 15px;
}
#technicalsheet-links .technicalsheet-navigation a {
    text-decoration: none;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 4px;
}
#technicalsheet-links .technicalsheet-navigation a:hover {
    background-color: #ddd;
}
#technicalsheet-links .technicalsheet-navigation a .fa {
    display: inline;
}
.technicalsheet-navigation {
    display: inline-block;
}
#item-alternate {
    margin: 8px 0;
    text-align: right;
}
#item-alternate a {
    font-size: 14px;
}
#medias {
    padding: 0 15px 15px 15px;
}
#pictures .medium img {
    margin: 0 auto;
}
#thumbnails .no-picture {
    margin: 0 0 20px 0;
}
#pictures .carousel-control {
    background-image: none;
}
#thumbs .thumb {
    margin: 0 0 10px 0;
    width: 19%;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    cursor: pointer;
}
#technicals {
    padding: 15px;
    background-color: #ede9e3;
}
#technicals .panel-heading, #medias .panel-heading, #items .panel-heading, #contact .panel-heading {
    background: none;
    border-bottom: 2px solid #d7a534;
}
#technicals .panel-heading h3, #medias .panel-heading h3, #items .panel-heading h3, #contact .panel-heading h3 {
    font-weight: bold;
    color: #505050;
}
#technicals .list-group-item, #medias .list-group-item, #items .list-group-item, #contact .list-group-item {
    border: none;
    padding: 7px 15px;
}
#technicals .panel td.not-textarea, #medias .panel td.not-textarea {
    width: 35%;
}
#items .panel .label {
    display: inline-block;
    font-size: 100%;
    padding: 0.5em 0.6em;
    margin: 0 0 5px 0;
}
#items .items-img {
    width: 768px !important;
    height: auto !important;
}
#contact #message {
    height: 150px;
}
#contact dl dd {
    margin-bottom: 10px;
}
#contact dl dd blockquote {
    font-size: inherit;
}
#visual {
    margin: 0 0 30px 0;
}
#visual .row {
    margin-bottom: 0;
}
/*
 * Footer
 */
#footer {
    margin: 40px 0 0 0;
    padding: 20px 15px;
    color: #fff;
    text-shadow: -1px -1px 0 #1e1e1e;
    background: url(../images/footer.png);
}
#footer a {
    color: #fff;
}
#footer h2 {
    margin: 0 0 20px 0;
    font-weight: bold;
}
#footer div.row > div {
    margin: 0 0 20px 0;
}
#footer #schedule th {
    padding-right: 10px;
}
#footer dl.dl-horizontal dt {
    width: 80px;
    text-align: left;
}
#footer dl.dl-horizontal dd {
    margin-left: 80px;
}
#footer .contact-item {
    margin: 0 0 20px 0;
}
#footer .contact-item i.fa {
    width: 40px;
}
@media (min-width: 768px) {
    #header h1 {
        position: relative;
    }
    #menu {
        transform: translateX(0);
        -webkit-transform: translateX(0);
        display: block;
        position: relative;
        max-width: none;
        width: auto;
        box-shadow: none;
        font-size: 16px;
        overflow-y: visible;
    }
    #menu ul {
        margin: 0;
        border: 0;
    }
    #menu ul li {
        position: relative;
        margin: 0 -5px 0 0;
        padding: 5px 0;
        display: inline-block;
        border-bottom: none;
    }
    #menu ul li.active {
        border-top: 5px solid #74736f;
    }
    #menu ul li:hover {
        border-top: 5px solid #f2ca6a;
    }
    #menu ul li.active, #menu ul li:hover {
        padding: 0;
        top: -5px;
    }
    #menu ul li.active a, #menu ul li:hover a {
        top: 5px;
    }
    #menu ul li:last-child {
        float: right;
        margin: 0;
    }
    #menu ul li a {
        position: relative;
        display: inline-block;
        margin: 0;
        padding: 0 10px;
        border-right: 1px solid #524f46;
        line-height: 16px;
    }
    #menu ul li:last-child a {
        border: none;
    }
    #content #facets {
        display: block;
        padding-top: 15px;
        margin-bottom: 40px;
        background-color: #ede9e3;
    }
    #facets .panel-heading {
        background: none;
        border-bottom: 2px solid #d7a534;
    }
    #facets .panel-heading h3 {
        font-weight: bold;
        color: #505050;
    }
    #facets .list-group-item {
        border: none;
        padding: 7px 15px;
    }
    .items-img {
        width: auto !important;
    }
    .item-detail {
        padding-top: 10px;
        height: 100%;
    }
    .patc > span, .year > span, .mileage-hours > span {
        display: inline-block;
    }
    .patc > span > i, .year > span > i, .mileage-hours > span > i {
        display: inline-block;
        font-size: 1em;
    }
    .price {
        min-height: 22px;
        margin-top: 0;
    }
    #visual dt {
        text-align: right;
    }
}
@media (min-width: 992px) {
    #search, #informations, #technical-sheet {
        padding: 0 15px;
    }
    #search h2 {
        margin-right: -15px;
    }
    #informations h2 {
        margin-left: -15px;
    }
    .carousel-indicators {
        bottom: -40px;
    }
    #item-alternate {
        padding: 0 30px;
    }
}
@media (min-width: 1200px) {
}
