﻿html {
    position: relative;
    min-height: 100%;
}

body {
    margin-top: 70px;
    margin-bottom: 76px;
}

.darkgray {
    color: #666666;
}

.advanced-search {
    padding: 4px;
}

form label.error {
    /* remove the next line when you have trouble in IE6 with labels in list */
    clear: left;
    font-style: italic;
    color: #b94a48;
}

form .error select {
    border-color: #b94a48;
    color: #b94a48;
}

#acceptForm .contactDetails {
    margin-bottom: 5px;
}

#acceptForm .location {
    margin-bottom: 5px;
}

#acceptForm .zipCodeAndCity {
    margin-bottom: 15px;
}

#acceptForm small {
    font-size: 10px;
}

.validcheckbox {
    background: url(../images/valid.png) no-repeat;
    padding-left: 30px;
}

.relative {
    position: relative;
}

.ad-ribbon {
    background: url(../images/replacement-car-ribbon.png) no-repeat;
    width: 50px;
    height: 109px;
    position: absolute;
    top: -16px;
    left: 7px;
}

    .ad-ribbon:lang(de) {
        background: url(../images/replacement-car-ribbon.de.png) no-repeat;
    }

.ad-booked {
    background-position: -50px 0px !important;
}

.ad-booked-by-me {
    background-position: -100px 0px !important;
}

.ad-bought-by-me {
    background-position: -150px 0px !important;
}

.error input,
.error select {
    border: 2px solid #F00;
}

hr {
    border-top: 1px #CCC solid;
    border-bottom: 0px;
    margin: 10px 0 10px;
}

span.discountedPrice {
    color: #f89406;
}

.alert-error h2 {
    font-size: 22px;
    margin: 0px;
}

.model-information strong.model-name {
    color: #0088cc;
}

.model-information:hover strong.model-name {
    color: #005580;
    text-decoration: underline;
}

.hover {
    background: #f5f5f5;
}

@keyframes spinner {
    to {
        -ms-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.spinner {
    position: relative;
}

    .spinner:before {
        content: '';
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 2em;
        height: 2em;
        margin-top: -1em;
        margin-left: -1em;
        -ms-border-radius: 50%;
        border-radius: 50%;
        border: 2px solid #ccc;
        border-top-color: #333;
        -ms-animation: spinner .6s linear infinite;
        -webkit-animation: spinner .6s linear infinite;
        animation: spinner .6s linear infinite;
    }

.reimbursementBox, #replacementCarAdsListContainer {
    background-color: #fff;
}

#buttonsRow a {
    margin-left: 5px;
}


/* SE-904 styling */
.modal.faded {
    z-index: 1040;
}

.modal.confirm-modal {
    top: 20%;
}

.modal.confirm-modal h4 {
    padding: 2%;
}

.modal.modal-small.confirm-modal {
    margin-top: 145px;
}
/* SE-904 styling ... END*/


@media (min-width:481px) {
    #acceptForm .help-block {
        width: 160px;
        text-align: right;
    }
}

@media (min-width: 660px) {
    #acceptForm .control-label, #acceptForm .help-block {
        width: 300px;
        padding-right: 20px;
    }

    #acceptForm .controls label.error {
        margin-left: 140px;
    }
}

@media (max-width: 979px) {
    body {
        margin-top: 0;
    }

    footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        overflow: hidden;
    }

    .navbar-fixed-bottom {
        margin-right: 0;
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    footer {
        margin-left: -20px;
    }
}