header{
    background: #F5F5F5;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 0.1rem 0.5rem rgba(0,0,0,0.1);
}
header img{
    max-height: 3.5rem;
    max-width: 9rem;
}


main{
    padding: 2rem 0;
}
main form{
    margin-top: 2rem;
    padding: 2rem;
    background: #f9f9f9;
    box-shadow: 0 0 1rem rgba(0,0,0,0.1);
}
main form .help-block{
    display: none;
    position: absolute;
    top: 0.4rem;
    right: 0;
    background: #dc001b;
    border-radius: 0.2rem;
    font-size: 0.6rem;
    font-weight: 600;
    height: 1rem;
    line-height: 1rem;
    color: #FFF;
    padding: 0 0.5rem;
}
main form .help-block:after{
    content: "";
    position: absolute;
    bottom: -0.4rem;
    right: 0.5rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.4rem 0.4rem 0 0;
    border-color: #dc001a transparent transparent transparent;
}
main form .has-error .help-block{
    display: block;
}
main form img{
    max-width: 100%;
    max-height: 6rem;
    transition: all 0.3s;
    cursor: pointer;
}
main form img:hover,
main form .active-car{
    transform: scale(1.05);
}
main form.car-selected img:not(.active-car){
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    opacity: 0.5;
}


footer p{
    text-align: center;
    font-weight: 600;
}




@media (max-width: 767px){
    main form .help-block{
        position: static;
        border-radius: 0;
    }
    main form .help-block:after{
        content: none;
    }
}
@media (max-width: 574px){
    main form .help-block{
        height: auto;
        line-height: 1.1;
        font-size: 1rem;
        padding: 0.3rem 0.5rem;
    }
}




.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}
.legal {
    margin-top: 1rem;
}
.legal p{
    font-size: 0.60rem;
    margin-bottom: 0.4rem;
}