/* Bootstrap Overrides */
.form-control {
    box-shadow: inset 0 3px 1px rgba(0,0,0,.05);
    color: #6f6f6f;
}

h2, .h2 {
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    font-weight: bold;
}

body {
    font-family: 'Open Sans', sans-serif;
}

.container {
    max-width: 960px;
}

header {
    font-family: Montserrat, sans-serif;
}

    header .lq-logo {
        margin: 20px 0 30px;
    }

    header img.staggered {
        margin: 0 0 20px 80px;
    }

    header .company-img,
    header .company-img img {
        display: none;
    }

    header .header-text {
        padding: 22px 0 0 50px;
    }

        header .header-text .lead-in {
            color: #1d6f8f;
            font-size: 21px;
        }

        header .header-text p {
            margin-top: -5px;
        }

.logos {
    text-align: center;
    background-color: #efefef;
}

.coloured-top-banner,
.coloured-bottom-banner {
    font-family: Montserrat, sans-serif;
    font-size: 21px;
    background-color: #fa2676;
    color: #fff;
    padding: 10px 0 0;
}

.coloured-top-banner {
    background-color: #1d6f8f;
    position: relative;
    z-index: 10;
}

.coloured-bottom-banner {
    font-family: 'Open Sans', sans-serif;
    background-color: #2daae1;
    border-bottom: 8px solid #d5eef9;
    padding: 30px 0 20px;
    font-size: 26px;
    font-style: italic;
}

    .coloured-bottom-banner .testimonial-name {
        float: right;
        font-size: 21px;
        text-align: right;
        margin: -30px 58px 0 0;
    }

.coloured-top-banner h1 {
    margin: 0 0 5px;
    font-size: 28px;
    text-transform: uppercase;
}

.body-pane {
    background: lightblue url(../images/body-background.jpg) no-repeat;
    background-position: -70px 0;
    z-index: 5;
    min-height: 200px;
}

    .body-pane .container {
        background: rgba(255, 255, 255, 0.85);
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .body-pane .question {
        display: inline-block;
        margin-right: 25px;
        width: 102px;
    }

        .body-pane .question:last-of-type {
            margin-right: 0;
        }

        .body-pane .question .form-control {
            height: auto;
            padding: 8px 0 6px;
            text-align: center;
            cursor: pointer;
        }

        .body-pane .question .selected-icon {
            background-color: #1d6f8f;
        }

    .body-pane .question-block {
    }

        .body-pane .question-block .box {
            text-align: center;
            width: 100px;
            height: 90px;
            padding-top: 5px;
        }

        .body-pane .question-block .box-label {
            text-align: center;
        }

        .body-pane .question-block .box {
            border: 1px solid #ccc;
            background-color: #fff;
            border-radius: 4px;
            box-shadow: inset 0 4px 0 0 rgba(80, 80, 80, 0.05);
        }

        .body-pane .question-block .name-field {
            width: 48%;
        }

            .body-pane .question-block .name-field:last-of-type {
                margin-left: 4%;
            }

        .body-pane .question-block .dob-field {
            width: 26%;
            margin-left: 4%;
        }

        .body-pane .question-block .dob-45 {
            width: 40%;
        }

        .body-pane .question-block .dob-field:first-of-type {
            margin-left: 0;
        }

    .body-pane .submit-button {
        margin: 20px 0 40px;
        text-align: right;
    }

        .body-pane .submit-button button {
            background: url(../images/button-background.png) no-repeat right 50%;
            color: #fff;
            width: 300px;
            text-align: center;
            margin-right: 30px;
            padding: 8px 40px 8px 0;
            font-size: 20px;
        }

    .body-pane .messages {
        list-style: none;
        width: 80%;
        margin: 0 auto;
    }

        .body-pane .messages li {
            background: url(../images/bullet.png) no-repeat left 7px;
            float: left;
            width: 25%;
            line-height: 50px;
            padding-left: 50px;
            color: #6f6f6f;
        }

    .body-pane p.mortgage-intro {
        font-size: larger;
        font-weight: bold;
        margin: 20px 0 30px;
    }

#part-details {
    display: none;
}

.qb-icon {
    height: 210px;
}

footer {
    text-align: center;
    font-size: 14px;
    color: #585858;
    padding: 20px 0;
}

    footer a {
        font-weight: bold;
        color: #1d6f8f;
        display: inline-block;
        margin: 0 3px;
    }

.footer-links {
    display: inline;
}

.val-msg {
    display: inline-block;
    float: left;
    clear: left;
    margin-bottom: 10px;
}

@media (min-width: 992px) {
    header .container,
    .coloured-top-banner .container {
        padding: 0;
    }
}

@media (min-width: 992px) {
    .arrow-box {
        position: relative;
        background: #f2dede;
        border: 4px solid #f2dede;
        width: 120px;
        display: none;
        top: -48px;
        left: 25px;
        color: #b94a48;
        text-align: center;
        padding: 12px 0;
        box-shadow: 3px 3px 6px #999;
    }

        .arrow-box:after, .arrow-box:before {
            right: 103%;
            top: 50%;
            border: solid transparent;
            content: " ";
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none;
        }

        .arrow-box:after {
            border-right-color: #f2dede;
            border-width: 30px;
            margin-top: -30px;
        }

        .arrow-box:before {
            border-right-color: #f2dede;
            border-width: 36px;
            margin-top: -36px;
        }

    .arrow-box-first {
        top: -68px;
    }

    #val-last-name,
    #val-part-last-name {
        float: right;
        clear: none;
    }
}

@media (max-width: 991px) {
    header .header-text {
        padding-left: 20px;
        font-size: 12px;
    }

        header .header-text .lead-in {
            font-size: 15px;
        }

    .logos img {
        max-width: 95%;
    }

    .body-pane {
        background: none;
    }

        .body-pane .messages {
            width: 100%;
            padding: 0;
        }

    .arrow-box {
        background: #f2dede;
        border: 4px solid #f2dede;
        width: 240px;
        display: none;
        color: #b94a48;
        text-align: center;
        padding: 4px 0;
        clear: both;
        margin: 10px 0;
        border-radius: 4px;
    }

        .arrow-box:after, .arrow-box:before {
        }

        .arrow-box:after {
        }

        .arrow-box:before {
        }
}

@media (max-width: 767px) {
    header .container {
        width: 761px;
    }

    header .lq-logo {
        float: none !important;
        display: block;
        margin: 15px auto;
    }

    header .header-text {
        width: 100%;
        text-align: center;
        padding: 0;
    }

        header .header-text .lead-in {
            font-size: 30px;
            font-weight: bold;
        }

        header .header-text p {
            font-size: 18px;
            font-weight: bold;
            margin-top: 5px;
        }

    .free-quote {
        font-family: Montserrat, sans-serif;
        font-size: 18px;
        color: #fff;
        text-align: center;
        background-color: #fa2676;
        padding: 9px 0;
    }

    .coloured-bottom-banner {
        font-size: 21px;
    }

        .coloured-bottom-banner .testimonial-name {
            float: none;
            font-size: 18px;
            margin: 10px 0 0;
        }

    .body-pane {
        background: none;
    }

        .body-pane .qb-icon {
            height: 230px;
        }

    .footer-links {
        display: block;
        margin-top: 10px;
    }

    .separator-h2 {
        display: none;
    }

    header .container {
        max-width: 100%;
    }

    header img {
        padding: 0;
        margin: 30px auto 20px;
        max-width: 100%;
    }

    .container {
        max-width: 767px;
    }

    .body-pane h1 {
        text-align: center;
    }

    header img {
        display: block;
    }

    .body-pane .question-block {
        text-align: center;
    }

    .qb-icon h2 {
        text-align: center;
    }

    .body-pane .qb-icon {
        height: auto;
    }

    .body-pane .submit-button {
        margin: 0 auto;
    }

        .body-pane .submit-button button {
            margin: 20px 0;
        }

    .body-pane .messages li {
        width: 50%;
    }
}
