/* COLORS */

.black {
    color: #000000
}

.gray {
    color: #222222
}

.gray5 {
    color: #666666
}

.gray4 {
    color: #797979
}

.gray {
    color: #a9a9a9
}

.gray {
    color: #cccccc
}

.gray {
    color: #f4f4f4
}

.blue {
    color: #a60c2f
}

/* COMMON OBJECTS */

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222222;
    font-size: 16px;
    line-height: 24px;
}

a {
    color: #000000;
}

a:hover, a:focus {
    color: #666666;
    text-decoration: none;
    outline: 0 !important;
}

h3 {
    font-family: Georgia, Times, "Times New Roman", serif;;
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 20px;
}

ul {
    padding: 0;
}

ul > li {
    list-style: none;
}

#head {
    background-color: white;
    padding: 10px 0;
}

#footer {
    width: 100%;
    background-color: #010c3a;
    color: white;
    font-size: 13px;
    padding: 30px 0;
}

#footer a {
    color: white;
}

#head #payoff {
    padding: 14px 0 0;
    color: #010c3a;
    font-size: 15px;
}

.navbar-header {
    background-color: #010c3a;
}

.navbar-default {
    background-color: white;
    border-color: #ffffff;
}

.number-enfasi {
    color: #a60c2f;
    font-size: 20px;
    padding: 0 10px;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
    background-color: #a60c2f;
    border: 1px solid transparent;
}

.button, .btn, .btn-primary {
    background-color: #a60c2f;
    color: #ffffff;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 1px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.nav-active {
    border-bottom: 5px solid #a60c2f;
}

.nav-active a {
}

.spot {
    background-color: #f4f4f4;
    height: 400px;
    width: 100%;
    padding: 100px;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.modal-header {
    font-size: 18px;
    font-weight: 200;
    text-transform: uppercase;
}

.modal-header .title {
    margin-bottom: 0;
}

.modal-body {
    font-size: 15px;
    font-weight: 200;
}

.description {
    font-size: 13px;
    line-height: 19px;
}

.share-panel {
    position: absolute;
    display: none;
    background-color: white;
    border: 1px solid #f4f4f4;
    width: 140px;
    padding: 10px 0 0 10px;
    z-index: 999;
}

.share-panel div {
    margin-bottom: 3px;
}

/* nav */
#nav-secondary {
    margin-left: 0;
    margin-right: 0;
}

#nav-secondary li {
    padding: 14px 0px;
    margin-right: 10px;
}

#nav-secondary li:first-child {
    margin-left: 0;
    padding-left: 0;
}

#nav-secondary ul {
    margin: 0;
    height: auto;
    background-color: #010c3a;
    padding: 10px;
}

#nav-secondary li a {
    font-size: 13px;
    text-transform: uppercase;
    color: white;
}

.breadcrumbs {
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #000000;
}

.breadcrumbs p {
    font-size: 13px;
    color: #797979;
    margin-bottom: 0;
}

/* CAR LISTS */

/* Brands */
.brand-name {
    text-transform: uppercase;
    font-size: 13px;
}

#brand-results-list .brand-row:nth-child(even) {
    background-color: #ffffff;
}

.brand-row {
    background-color: #f8f8f8;
    margin: 2px 0;
}

#brand-detail .brand-row {
    background-color: #ffffff;
}

.brand-row .cell {
    height: 76px;
}

.brand-row .cell-1 {
    padding-top: 10px;
    text-align: center;
}

.brand-row .cell-2 {
    padding-top: 24px;
}

.brand-row .cell-2 > div:last-child {
    font-size: 14px;
    color: #666666;
    margin-top: -6px;
}

.brand-row .cell-3 {
    color: #000000;
    text-align: right;
    font-size: 18px;
    padding-top: 24px;
}

.brand-row .cell-4 {
    font-size: 28px;
    text-align: center;
    padding-top: 20px;
}

/* Models */
.model-name {
    font-size: 10px;
}

#model-results-list {
}

.model-row {
    margin: 2px 0;
    border-bottom: 1px solid #f4f4f4;
}

.model-row img {
    width: 100%;
}

.model-row .cell-3 {
    margin-top: 9px;
}

.model-row .cell {
    height: 60px;
    padding-top: 5px;
}

.model-row .cell-0 {
    padding-top: 9px;
}

.model-row .cell-1 {
    padding-top: 7px;
}

.model-row .cell-1 > div:last-child {
    font-size: 13px;
    color: #666666;
    margin-top: 2px;
}

.model-row .cell-2 {
    padding-top: 25px;
    padding-left: 25px;
}

.model-row .cell-2 > div:last-child {
    font-size: 13px;
    color: #666666;
}

.model-row .cell-3 {
    text-align: right;
    font-size: 16px;
    padding-top: 0;
}

.model-row .cell-4 {
    font-size: 18px;
    text-align: center;
    padding-top: 27px;
}

/* photo */

.placeholder-img {
    background-color: #cccccc;
    height: 100%;
    padding-top: 20px;
    padding-left: 40px;
}

img.photo-medium {
    margin-top: 5px;
}

/* Versions */

.version-name {
    font-size: 12px;
    color: #a60c2f;
}

.grid-row .version-name {
    font-size: 7px;
    color: #a60c2f;
    line-height: 12px;
}

.grid-row p {
    margin-bottom: 0;
    line-height: 15px;
}

#version-results-list {
    margin-top: -40px;
}

#version-results-list .brand-row {
    margin-top: 40px;
}

.version-list-head > * {
    margin: 8px 0;
    font-size: 12px;
    color: #222222;
    text-align: center;
}

.version-list-head {
    padding: 30px 0 0;
}

.version-list-head .version {
    text-align: left;
}

.version-row {
    padding: 0;
    font-size: 13px;
    color: gray;
    text-align: center;
}

.version-row:hover {
    background-color: #E4e4e4;
}

.version-row .cell-version {
    font-weight: 600;
    text-align: left;
}

.version-row span {
    font-weight: normal;
}

.grid-row .glyphicon-chevron-down.order, .grid-row .glyphicon-chevron-up.order {
    font-size: 8px;
    color: grey;
    position: absolute;
    top: 20px;
    display: none;
}

/* MISC */

.glyphicon-share-alt, .glyphicon-heart, .glyphicon-align-left {
    color: #cccccc;
    z-index: 999;

}

.favourites_remove_all,
.tocompare_remove_all,
.is_favourite,
.is_to_compare {
    color: #a60c2f;
}

.glyphicon-share-alt {
    position: relative;
    cursor: pointer;
    font-size: 16px;
    top: 5px;
}

.badge {
    background-color: #a60c2f;
    padding: 4px 4px;
    min-width: 20px;
}

.grid-img {
    width: 100%;
}

/* model and version detail */

.bordered-right {
    border-right: 0;
}

.section-head {
    margin-top: 20px;
    margin-bottom: 10px;
    cursor: pointer;
}

.section-title {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 200;
}

.details-row {
    padding: 2px 0;
    font-size: 12px;
    border-bottom: 1px solid #f4f4f4;
    color: gray;
}

/*.details-row .grid-col-12:nth-child(2){*/
/*line-height: 15px;*/
/*}*/
.grey-button {
    background-color: #cccccc;
    font-size: 13px;
    text-transform: uppercase;
    padding: 0 5px;
    width: auto;
}

/*.border {*/
/*-webkit-border-image: url(../img/border.png) 0 8 !important; /!* Safari *!/*/
/*-o-border-image: url(../img/border.png) 0 8 !important; /!* Opera *!/*/
/*border-image: url(../img/border.png) 0 8 !important;*/
/*}*/

/* model detail */

#carmodel-detail .model-row {
    margin: 20px 0;
}

img {
    width: 100%;
}

#carmodel-detail .model-row .cell-2 > div:last-child {
    margin-top: 10px;
}

#carmodel-detail .model-row .cell-2 {
    padding-top: 5px;
}

#carmodel-detail .photo-large {
    float: left;
    width: 100%;
    margin-right: 20px;
    margin-bottom: 10px;
    padding: 0;
}

.img-gallery {
    float: left;
    width: 93px;
    height: auto;
    overflow: hidden;
    margin-right: 3px;
    margin-bottom: 3px;
    padding: 0;
}

.video-content {
    position: relative;
    float: left;
    overflow: hidden;
}

.glyphicon-play {
    position: absolute;
    top: 25px;
    left: 50px;
    color: white;
    cursor: pointer;
    font-size: 20px;
    text-shadow: 0 0 5px black;
}

.colorbox-youtube {

}

#carmodel-detail .model-row img {
    width: 100%;
}

/* listino (home page) */
#prezziauto {
    margin-top: 30px;
}

.section {
    margin-bottom: 50px;
}

#prezziauto div.section-title {
    height: 45px;
}

.title {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 800;
}

.content {
    margin-top: 10px;
}

.brand-list {
    text-align: center;
    /* position: relative; */
    border: 1px solid #f4f4f4;
    padding: 15px 5px 5px 5px;
    float: left;
    width: 33%;
}

.brand-list:hover {
    border: 1px solid #a60c2f;
}

.brand-list p {
    font-size: 14px;
    margin-top: 15px;
}

/* aside */

#aside .description {
    font-size: 13px;
    line-height: 19px;
}

#aside .section-title {
    margin-bottom: 10px;
    margin-top: 30px;
}

#aside .section {
    margin-bottom: 20px;
    padding: 0;
}

#aside .section .row {
    margin-bottom: 0;
}

#aside .placeholder-img.small {
    height: 50px;
}

#aside .placeholder-img {
    width: 100%;
    height: 80px;
    padding: 0;
}

#aside .grid-row {
    margin-bottom: 1px;
}

#similar-version .grid-row {
}

/* brand detail */

#brand-detail .brand-row {
    margin: 20px 0;
}

/* version detail */

#car-detail .model-row {
    margin: 20px 0;
}

#car-detail .model-row .cell-2 {
    padding-top: 0px;
    padding-left: 10px;
}

#car-detail .model-row .cell-2 > div:nth-child(2) {
    line-height: 10px;
}

.twocols {
    column-count: 1;
    column-gap: 0;
    -moz-column-count: 1;
    -moz-column-gap: 0;
    -webkit-column-count: 1;
    -webkit-column-gap: 0;
}

#car-detail .model-row img {
    width: 100%;
}

/* Hits List */
#hits {
    margin: 20px 0;
}

#hits figure {
    width: auto;
    height: auto;
    margin-bottom: 25px;
    position: relative;
}

#hits figure img {
    width: 100%;
}

#hits figure .wrapper {
    height: auto;
    overflow: hidden;
    position: relative;
}

#hits figcaption {
    padding: 15px 10px;
}

#hits figcaption h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

#hits figcaption p {
    margin-bottom: 0;
    line-height: 13px;
    font-size: 10px;
    color: #5a5a5a;
}

#hits figcaption .link {
    text-align: left;
    bottom: 0;
    left: 20px;
}

#hits figcaption .link a {
    font-weight: normal;
    color: #a60c2f;
}

#hits-detail h3, #hits-detail p {
    margin-left: 0;
}

#hits-detail .model-row > .grid-row > div:not(:last-child) {
    margin-top: 0;
}

#hits-detail {
    margin: 20px 0;
}

#hits > .row {
    min-height: 110px;
}

/* Hits Details */
.hit-detail-item {

}

.counter {
    font-size: 20px;
    margin-top: 25px;
}

/* compare */
#tocompare .version-row {
    position: relative;
}

#tocompare .version-row-compared {
    font-weight: bold;
    width: 100%;
    background-color: rgba(166, 12, 47, 0.07);
    border-right: 2px solid #a60c2f;
}

#tocompare .glyphicon-align-justify {
    display: none;
    position: absolute;
    left: 35%;
    top: 30%;
    font-size: 15px;
    color: #979797;
}

#tocompare #sortable .version-row {
    width: 621px;
}

#tocompare {
    margin: 20px 0;
}

#tocompare img.brand, #favourites img.brand {
    width: 15px;
}

#tocompare img, #favourites img {
    width: 40px;
}

.green {
    color: forestgreen;
}

.red {
    color: red;
}

/*.grid-row.col-int-2 {*/
/*margin-top: 0px;*/
/*line-height: 10px;*/
/*}*/
/*.grid-row.col-int {*/
/*margin: 20px 0 0 0;*/
/*line-height: 20px;*/
/*}*/

/* favourites */
#favourites {
    margin: 20px 0;
}

.nav > li > a {
    padding: 5px;
}

.nav-tabs > li > a {
    border-radius: 0;
    margin-right: 0;
    border: 0;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #a60c2f;
}

.fixed {
    position: fixed;
    background-color: #ffffff;
    width: auto;
    top: 101px;
    z-index: 9999;
}

.fixed-head {
    position: fixed;
    background-color: #ffffff;
    top: 126px;
    z-index: 9999;
    width: auto;
    border-bottom: 5px solid #f4f4f4;
}

.rotate {
    display: block;
    transform: rotate(-90deg);
    -ms-transform: rotate(-90deg); /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Opera, Chrome, and Safari */
}

/* embed */

#embed {
    width: 1024px;
    padding: 20px 15px;
    border-top: 2px solid #b2b2b2;
    border-bottom: 2px solid #b2b2b2;
}

#embed .section {
    margin-bottom: 0;
}

.version-row {
    font-size: 7px;
}

.version-list-head .grid-row div {
    font-size: 11px;
    -ms-transform: rotate(-70deg);
    /* IE 9 */
    -webkit-transform: rotate(-70deg);
    /* Chrome, Safari, Opera */
    transform: rotate(-70deg);
}

.version-list-head .grid-row div {
    line-height: 9px;
}

.version-list-head .grid-row div.version, .version-list-head .grid-row div.icons-1 {
    font-size: 8px;
    -ms-transform: rotate(0deg);
    /* IE 9 */
    -webkit-transform: rotate(0deg);
    /* Chrome, Safari, Opera */
    transform: rotate(0deg);
}
.version-row .cell-icons-1{
    font-size: 15px;
}

.version-list-head .tooltip, .version-list-head .glyphicon-chevron-down {
    display: none !important;
}

/* RESPONSIVE */

@media (min-width: 1200px) {
    .container {
        width: 1024px;
    }

}

@media (min-width: 768px) {
    .version-row {
        font-size: 11px;
    }

    .version-list-head .grid-row div {
        font-size: 11px;
        -ms-transform: rotate(0deg);
        /* IE 9 */
        -webkit-transform: rotate(0deg);
        /* Chrome, Safari, Opera */
        transform: rotate(0deg);
    }

    .version-list-head .grid-row div {
        line-height: 9px;
    }

    .version-list-head .grid-row div.version, .version-list-head .grid-row div.icons-1 {
        font-size: 11px;
    }

    #nav-secondary li {
        display: inline;
    }

    #carmodel-detail .photo-large {
        width: 300px;
    }

    .img-gallery {
        width: 100px;
        height: 70px;
    }

    #carmodel-detail .model-row img {
        width: auto;
    }

    #car-detail .model-row img {
        width: auto;
    }

    img {
        width: auto;
    }

    .version-row {
        font-size: 13px;
    }

    #aside .section {
        padding: 0 0 0 15px;
    }

    .model-row .cell-3 {
        padding-top: 6px;
    }

    .bordered-right {
        border-right: 1px solid #cccccc;
    }

    .model-row .cell-1 {
        padding-top: 0;
    }

    .brand-list {
        padding: 15px 0 5px 0;
        width: 126px;
    }

    .model-row .cell-3 {
        margin-top: 17px;
    }

    .brand-name {
        font-size: 15px;
    }

    .model-name {
        font-size: 15px;
    }

    .twocols {
        column-count: 2;
        column-gap: 20px;
        -moz-column-count: 2;
        -moz-column-gap: 20px;
        -webkit-column-count: 2;
        -webkit-column-gap: 20px;
    }

    /*#car-detail .model-row .cell-2,*/
    /*#carmodel-detail .model-row .cell-2 {*/
        /*padding-top: 8px;*/
    /*}*/

    #hits figure .wrapper {
        height: 143px;
    }

    #hits figure {
        /*height: 300px;*/
    }

    #hits figcaption .link {
        position: absolute;
        bottom: 0;
        left: 20px;
    }

    .hit-detail-item {
        padding-right: 15px;
    }

    #hits-detail .model-row > .grid-row > div:not(:last-child) {
        margin-top: 20px;
    }

    .grid-row .version-name,
    .grid-row .model-name{
        font-size: 12px;
    }

    .grid-row p {
        margin: 0 0 10px;
    }

    .nav > li > a {
        padding: 5px 16px;
    }

    .section-title {
        font-size: 14px;
        font-weight: 800;
    }

    .fixed {
        top: 105px;
        /*width: 633px; *//* con corriere */
        width: 654px; /* senza corriere */
    }

    .fixed-head {
        top: 137px;
        /*width: 633px; *//* con corriere */
        width: 654px; /* senza corriere */
    }

}
