﻿
#SurveyTitleContainer {
    margin: 20px;
    display: none;
    text-align: center;
}

#SurveyTitle {
    color: #46AA42;
    border: 2px solid #46AA42;
    border-radius: 20px;
    font-size: 1.75em;
    text-align: center;
    white-space: nowrap;
    padding: 5px 20px 5px 20px;
}

#SurveyPager {
    display: none;
    position: relative;
    overflow: hidden;
    height: 70px;
    /*border-bottom:1px solid #46AA42;*/
    font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
}

.SurveyPageTitle {
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: 20px;
    text-align: center;
    /*background-color: #46AA42;*/
    border-radius: 10px;
    line-height: 30px;
    /*color: #ffffff;*/
    width: 245px;
    overflow: hidden;
    white-space: nowrap;
    text-transform: uppercase;
}

.SurveyPageNextTitle {
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: 20px;
    text-align: center;
    /*background-color:#64C860;*/
    border-radius: 10px;
    line-height: 30px;
    /*color: #ffffff;*/
    width: 245px;
    overflow: hidden;
    white-space: nowrap;
    text-transform: uppercase;
    cursor: pointer;
    text-indent: 0px;
}

.SurveyPagePreviousTitle {
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: 20px;
    text-align: center;
    /*background-color:#64C860;*/
    border-radius: 10px;
    line-height: 30px;
    /*color: #ffffff;*/
    width: 245px;
    overflow: hidden;
    white-space: nowrap;
    text-transform: uppercase;
    cursor: pointer;
    text-indent: 0px;
}


    .SurveyPagePreviousTitle div.SurveyPageText {
        background-image: url('../images/back_black_arrow.png');
        background-repeat: no-repeat;
        background-position: 4px 50%;
    }

    .SurveyPagePreviousTitle div.SurveyPageText, .SurveyPageNextTitle div.SurveyPageText, .SurveyPageTitle div.SurveyPageText {
        border-radius: 10px;
    }

#SurveyQuestions {
    display: none;
    position: relative;
    overflow: hidden;
    min-height: 900px;
    border-bottom: 1px solid #46AA42;
}

.SurveyPage {
    position: absolute;
    top: 0;
    padding: 10px;
}

.QuestionContainer {
    max-width: 980px;
    cursor: pointer;
}

.QuestionNumber {
    float: left;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    background-color: #46AA42;
    border-radius: 3px;
    line-height: 30px;
    color: #ffffff;
    width: 36px;
    height: 30px;
    overflow: hidden;
    white-space: nowrap;
    /*text-transform: uppercase;*/
}

.Question {
    display: block;
    font-size: 1.1em;
    font-weight: bold;
    line-height: 30px;
    margin: 10px 10px 10px 40px;
}

.AnswerContainer {
    display: none;
    padding: 5px 5px 5px 40px;
    max-width: 980px;
}

.AnswerCtrl {
    padding: 2px 2px 2px 0;
    cursor: pointer;
}

.AnswerOption {
}

.AnswerText {
    padding-left: 5px;
}

.AnswerTextPostcode {
    border: 1px solid #e2e2e2 !important;
    background: #fff !important;
    color: #333 !important;
    font-size: 1.2em !important;
    margin: 5px 0 6px 0 !important;
    padding: 5px !important;
    width: 50px !important;
}

.InputMonth {
    width: 30px !important;
    height: 20px !important;
    font-size: 12px !important;
    line-height: 20px !important;
    padding: 3px !important;
    margin-right: 10px;
}

.inputError:focus {
    border: 1px solid #cd0a0a !important;
    outline-color: #cd0a0a !important;
}


.InputYear {
    width: 50px !important;
    height: 20px !important;
    font-size: 12px !important;
    line-height: 20px !important;
    padding: 3px !important;
}

#ThankYouContainer {
    display: none;
    padding: 50px;
}

#ThankYouMessage {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    background-color: #46AA42;
    border-radius: 10px;
    line-height: 50px;
    height: 190px;
    color: #ffffff;
}

#InactiveContainer {
    display: none;
    padding: 50px;
}

#InactiveMessage {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    background-color: #46AA42;
    border-radius: 10px;
    line-height: 40px;
    /*height: 300px;*/
    color: #ffffff;
}


.logo-vhemi {
    width: 82px;
}

.loading-panel {
    background-color: white;
    padding: 30px;
    width: 575px;
    color: #079ED9;
    font-size: 1.5em;
    font-weight: bold;
    border: 1px solid #079ED9;
    border-radius: 3px;
}

.header {
    margin-top: 10px;
}

.LoginPanel {
    width: 400px;
    height: 200px;
    margin: auto;
    padding: 20px;
    border: 1px solid #cccccc;
    border-radius: 3px;
}

.SurveyPager-Device {
    display: none;
}

    .SurveyPager-Device div {
        position: absolute;
        top: 25px;
        width: 105px;
        font-size: 1.1em;
        font-weight: bold;
        text-align: center;
        background-color: #46AA42;
        border-radius: 10px;
        line-height: 30px;
        color: #ffffff;
        overflow: hidden;
        white-space: nowrap;
        text-transform: uppercase;
        z-index: 100;
    }

/* Large desktops and laptops */
@media(min-width:1200px) {
}

/* Portrait tablets and medium desktops */
@media(min-width:992px) and (max-width:1199px) {
    #SurveyTitle {
        white-space: normal;
    }

    .SurveyPager-Device {
        display: inline-block;
        position: relative;
        width: 100%;
    }

    .SurveyPagePreviousTitle, .SurveyPageNextTitle {
        display: none;
    }

    footer {
        margin-top: 65px;
    }

    #ThankYouMessage {
        font-size: 1.7em;
        margin: 5px;
    }

    #SurveyQuestions {
        min-height: 992px;
    }

    .responsive-title {
        padding: 10px;
        font-size: 2.2em;
        font-weight: bold;
    }

    label {
        display: inline;
        padding-left: 5px;
    }
}

/* Portrait tablets and small desktops */
@media(min-width:768px) and (max-width:991px) {
    #SurveyTitle {
        white-space: normal;
    }

    .SurveyPager-Device {
        display: inline-block;
        position: relative;
        width: 100%;
    }

    .SurveyPagePreviousTitle, .SurveyPageNextTitle {
        display: none;
    }

    footer {
        margin-top: 65px;
    }

    #ThankYouMessage {
        font-size: 1.7em;
        margin: 5px;
    }

    #SurveyQuestions {
        min-height: 1100px;
    }

    .responsive-title {
        padding: 10px;
        font-size: 2.2em;
        font-weight: bold;
    }

    label {
        display: inline;
        padding-left: 5px;
    }
}

/* Landscape phones and portrait tablets */
@media(max-width:767px) {
    #SurveyTitle {
        white-space: normal;
    }

    .SurveyPager-Device {
        display: inline-block;
        position: relative;
        width: 100%;
    }

    .SurveyPagePreviousTitle, .SurveyPageNextTitle {
        display: none;
    }

    footer {
        margin-top: 40px;
    }

    #ThankYouMessage {
        font-size: 1.7em;
        margin: 5px;
    }

    #SurveyQuestions {
        min-height: 1200px;
    }

    .responsive-title {
        padding: 10px;
        font-size: 2.2em;
        font-weight: bold;
    }

    .loading-panel {
        width: auto;
        position: absolute;
    }

    label {
        display: inline;
        padding-left: 5px;
    }
}

/* Landscape phones and smaller */
@media(max-width:480px) {
    #SurveyTitle {
        white-space: normal;
    }

    .SurveyPager-Device {
        display: inline-block;
        position: relative;
        width: 100%;
    }

    .SurveyPagePreviousTitle, .SurveyPageNextTitle {
        display: none;
    }

    .SurveyPager-Device div {
        top: -10px;
    }

    footer {
        margin-top: 40px;
    }

    #ThankYouMessage {
        font-size: 0.9em;
        line-height: 25px;
        margin: 10px;
    }

    #SurveyQuestions {
        min-height: 2200px;
    }

    .LoginPanel {
        width: 200px;
    }

    .responsive-title {
        padding: 10px;
        font-size: 0.9em;
        font-weight: bold;
        position: absolute;
        top: 20px;
    }

    .loading-panel {
        width: auto;
        position: absolute;
    }

    label {
        display: inline;
        padding-left: 5px;
    }
}

textarea {
    height: 100px;
    width: 100%;
}

.time-input {
    width: 40px !important;
    margin-left: 12px;
}

.time-label {
    margin-right: 5px;
}

.inputError {
    border: 1px solid #d9534f !important;
}

/* SLIDER */
.health-slider-handle {
    height: 10% !important;
}

.hs-text-box-label {
    font-size: 13px;
    position: absolute;
    padding: 4px;
    left: 40px;
    top: 55%;
    max-width: 150px;
    width: 150px;
    margin: 0 !important;
}

.hs-text-box-label-equal {
    font-size: 13px;
    position: absolute;
    padding: 4px;
    left: 65px;
    top: 62%;
    max-width: 150px;
    width: 150px;
    margin: 0 !important;
}

.hs-text-box {
    font-size: 18px !important;
    position: absolute;
    padding: 4px;
    border: 1px solid;
    text-align: center;
    left: 55px;
    transform: translate(50%, -50%);
    top: 64%;
    max-width: 60px;
    width: 60px;
    margin: 0 !important;
}

.hs-max-text {
    color: black;
    font-size: 12px;
    position: absolute;
    max-width: 125px;
    width: 125px;
    text-align: center;
    left: 155px;
    top: 0;
}

.hs-min-text {
    color: black;
    font-size: 12px;
    position: absolute;
    left: 155px;
    top: 96%;
    max-width: 125px;
    width: 125px;
    text-align: center;
}


/* Chrome, Safari, Edge, Opera */
.hs-text-box::-webkit-outer-spin-button,
.hs-text-box::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.hs-text-box {
    -moz-appearance: textfield;
}

/* by default assume small resolution, so show the matrix custom control with drop downs and hide row of radio buttons */
.survey-matrix-container-sm {
    display: block;
}

.survey-matrix-table-lg {
    display: none;
}

/* resolution is large enough, so show the matrix custom control with the row of radio buttons and hide the drop downs */
@media only screen and (min-width: 922px) {
    .survey-matrix-container-sm {
        display: none;
    }

    .survey-matrix-table-lg {
        display: block;
    }
}
