/**************************************
    Styles affecting all containers
***************************************/

/***********
  Headers
*************/
.questionnaire-wrapper h2 {
    border-bottom: 2px solid #B41D27;
    color: #585453;
    display: inline-block;
    font-family: 'Lato';
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    padding-bottom: 6px;
}

@media screen and (max-width: 350px) {
    .questionnaire-wrapper h2 {
        font-size: 22px;
        line-height: 32px;
    }
}

@media screen and (min-width: 350px) and (max-width: 450px) {
    .questionnaire-wrapper h2 {
        font-size: 26px;
        line-height: 32px;
    }
}

/* Section headers, e.g. Section 1: Culture */
.section-header {
    color: black;
    font-family: 'Lato';
    font-size: 24px;
    font-weight: 700;
    line-height: 29px;
    margin-bottom: 30px;
}

@media screen and (max-width: 450px) {
    .section-header {
        font-size: 20px;
        line-height: 24px;
    }

    .results-wrapper .section-header {
        margin-bottom: 0;
    }
}


/* Forms */
.questionnaire-wrapper form {
    margin-top: 40px;
}

/* Buttons */
.questionnaire-wrapper button, .questionnaire-wrapper a.epxbutton {
    background-color: #B41D27;
    border: 0;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-family: 'Lato';
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.2em;
    line-height: 27px;
    padding: 10px 30px;
    text-transform: uppercase;
}


@media screen and (max-width: 450px) {
    .questionnaire-wrapper button {
        font-size: 18px;
        line-height: 24px;
        padding: 10px 25px;
    }
}


.questionnaire-wrapper a.epxbutton {
    font-size: 16px;
    margin-top: 10px;
}


.questionnaire-wrapper button.prev,
.questionnaire-wrapper button.prev-section,
.questionnaire-wrapper button.prev-wrapper {
    margin-right: 15px;
}

.questionnaire-wrapper button:disabled {
    display: none;
}


/* Text */
.questionnaire-wrapper p {
    color: #585453;
    font-family: 'Lato';
    font-size: 19px;
    font-weight: 400;
    line-height: 29px;
}

@media screen and (max-width: 450px) {
    .questionnaire-wrapper p {
        font-size: 15px;
        line-height: 24px;
    }
}

/* Shared wrapper styles */
.wrapper {
    display: none;
    margin: 0 auto;
    max-width: 100%;
    width: 960px;
}

.wrapper:first-of-type {
    display: block;
}

.wheel-wrapper,
.intro-wrapper,
.question-wrapper,
.results-wrapper {
    clear: left;
    float: left;
    margin-bottom: 50px;
    margin-top: 30px;
}

/*********************
  Wheel styles
**********************/

.diagnostic-wheel {
    margin-bottom: 50px;
    margin-top: 30px;
}

.diagnostic-wheel .next-wrapper {
    margin-top: 70px;
}

@media screen and (min-width: 680px) {
    .diagnostic-wheel {
        background-image: url('../images/diag-wheel-smaller.png');
        background-repeat: no-repeat;
        height: 660px;
        position: relative;
        width: 660px;
    }

    .diagnostic-wheel .next-wrapper {
        bottom: -60px;
        position: absolute;
    }

    /* 0 image in centre of circle */
    .diagnostic-wheel img.circle-zero {
        left: 316px;
        position: absolute;
        top: 320px;
        z-index: 10;
    }
}

@media screen and (max-width: 680px) {
    /* 0 image in centre of circle */
    .diagnostic-wheel img.circle-zero {
        display: none;
    }
}

/* Slider styles */
.slider-wrapper {
    position: relative;
}

input[type=range] {
    background: transparent;
    border-radius: 0px;
    cursor: pointer;
    -webkit-appearance: none;
    height: 32px;
    outline: none;
    padding: 0;
}

/* Chrome slider element */
input[type=range]::-webkit-slider-runnable-track {
    background: #e0e0e0;
    border-radius: 0px;
    cursor: pointer;
    -webkit-appearance: none;
    height: 6px;
    outline: none;
}

/* Firefox slider element */
input[type=range]::-moz-range-track {
    background: #e0e0e0;
    border-radius: 0px;
    cursor: pointer;
    -webkit-appearance: none;
    height: 6px;
    outline: none;
}

/* IE slider element */
input[type=range]::-ms-track {
    background: #e0e0e0;
    border-radius: 0px;
    border-color: #e0e0e0;
    color: transparent;
    cursor: pointer;
    height: 6px;
    -webkit-appearance: none;
    outline: none;
}

/* IE slider element parts */
input[type=range]::-ms-fill-lower {
    background: #e0e0e0;
}

input[type=range]:focus::-ms-fill-lower {
    background: #e0e0e0;
}

input[type=range]::-ms-fill-upper {
    background: #e0e0e0;
}

input[type=range]:focus::-ms-fill-upper {
    background: #e0e0e0;
}

/* Chrome - Self score slider icon */
.self-wheel input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: #FFEA00;
    border: 2px solid black;
    border-radius: 30%;
    cursor: pointer;
    height: 12px;
    transform: rotate(90deg) translate(-3px, 0px);
    width: 23px;
}

/* Firefox - Self score slider icon */
.self-wheel input[type=range]::-moz-range-thumb {
    background: #FFEA00;
    border: 2px solid black;
    border-radius: 30%;
    cursor: pointer;
    height: 12px;
    transform: rotate(90deg);
    width: 23px;
}

/* IE - Self score slider icon */
.self-wheel input[type=range]::-ms-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: #FFEA00;
    border: 2px solid black;
    border-radius: 30%;
    cursor: pointer;
    height: 12px !important;
    transform: rotate(90deg);
    width: 23px !important;
}

/* Titles (shown on responsive only) */
span.title {
    color: black;
    display: inline-block;
    font-family: 'Lato';
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    width: 150px;
}

@media screen and (max-width: 320px) {
    span.title {
        font-size: 16px;
    }
}

/* Slider output value  (shown on responsive only) */
.slider-wrapper output {
    border: 2px solid black;
    border-radius: 50%;
    color: black;
    display: inline-block;
    font-family: 'Lato';
    font-size: 14px;
    font-weight: 700;
    height: 23px;
    left: 570px;
    line-height: 23px;
    position: absolute;
    text-align: center;
    top: 44px;
    width: 23px;
}

/* Responsive slider styles */
@media screen and (max-width: 350px) {
    .slider {
        width: 150px;
    }

    .results-wrapper .slider {
        width: 200px;
    }
}

@media screen and (min-width: 350px) and (max-width: 450px) {
    .slider {
        width: 200px;
    }
}

@media screen and (min-width: 450px) and (max-width: 680px) {
    .slider {
        width: 316px;
    }
}

@media screen and (max-width: 640px) {
    .slider {
        left: initial;
        margin-left: 37px;
        margin-bottom: 30px;
        margin-top: 9px;
        position: relative;
        top: initial;
    }

    span.title {
        display: block;
        margin: 10px 0;
        width: auto;
    }

    .slider-wrapper img.circle-zero-resp {
        left: 0px;
        position: absolute;
        top: 40px;
    }

    .slider-wrapper img.circle-ten-resp {
        left: 355px;
        position: absolute;
        top: 40px;
    }

    span.slider-value, .slider-wrapper output {
        left: 400px;
    }
}


@media screen and (max-width: 450px) {
    .slider-wrapper img.circle-ten-resp {
        left: 240px;
    }

    .slider-wrapper output {
        left: 300px;
        top: 44px;
    }
}

@media screen and (max-width: 350px) {
    .self-wheel .slider-wrapper img.circle-ten-resp {
        left: 190px;
    }

    .slider-wrapper output {
        left: 240px;
    }
}

@media screen and (min-width: 641px) and (max-width: 680px) {
    .slider {
        left: initial;
        margin-left: 31px;
        margin-top: 47px;
        position: relative;
        top: initial;
    }

    .slider-wrapper img.circle-zero-resp, .slider-wrapper img.circle-ten-resp {
        position: absolute;
        top: 45px;
    }

    .slider-wrapper img.circle-zero-resp {
        left: 150px;
    }

    .slider-wrapper img.circle-ten-resp {
        left: 500px;
    }
}

/* Slider styles when wheel shows (rather than the lines) */
@media screen and (min-width: 680px) {
    .slider {
        left: 332px;
        margin-left: 0;
        margin-top: 0;
        position: absolute;
        top: 329px;
        transform-origin: 0 0;
        width: 226px;
    }

    /* 0 icon in the middle of the circle */
    .diagnostic-wheel img.circle-zero {
        display: block;
    }

    /* Hiding the 0 and 10 icons, title and the outputs */
    .slider-wrapper span.title,
    img.circle-zero-resp,
    img.circle-ten-resp,
    .slider-wrapper output {
        display: none !important;
    }

    /* Culture */
    .slider-wrapper:nth-of-type(1) .slider {
        transform: rotate(270deg) translate(4px, -18px);
    }

    /* Staff Sickness */
    .slider-wrapper:nth-of-type(2) .slider {
        transform: rotate(315deg) translate(4px, -15px);
    }

    /* Staff Retention */
    .slider-wrapper:nth-of-type(3) .slider {
        transform: translate(7px, -12px);
        width: 224px;
    }

    /* Productivity */
    .slider-wrapper:nth-of-type(4) .slider {
        transform: rotate(45deg) translate(10px, -12px);
        width: 224px;
    }

    /* Environment */
    .slider-wrapper:nth-of-type(5) .slider {
        transform: rotate(90deg) translate(14px, -15px);
        width: 223px;
    }

    /* Leadership and Management */
    .slider-wrapper:nth-of-type(6) .slider {
        transform: rotate(135deg) translate(17px, -18px);
        width: 221px;
    }

    /* Mental Health */
    .slider-wrapper:nth-of-type(7) .slider {
        transform: rotate(180deg) translate(13px, -20px);
        width: 223px;
    }

    /* Food & Wellbeing */
    .slider-wrapper:nth-of-type(8) .slider {
        transform: rotate(225deg) translate(8px, -20px);
    }
}

/*************************************
  Intro to the questions section
**************************************/
.intro-wrapper p {
    margin-bottom: 45px;
}

@media screen and (max-width: 500px) {
    .intro-wrapper p {
        padding-right: 5%;
    }
}

@media screen and (min-width: 500px) and (max-width: 880px) {
    .intro-wrapper p {
        padding-right: 10%;
    }
}

@media screen and (min-width: 880px) {
    .intro-wrapper p {
        padding-right: 25%;
    }
}

/**********************
  Question styles
***********************/

.quiz-header {
    color: #B41D27;
    display: block;
    font-family: 'Lato';
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
}

.answers-wrapper {
    margin-bottom: 60px;
    margin-top: 10px;
}

.answers-wrapper:after {
    clear: left;
    content: "";
    display: table;
}

.question-wrapper form {
    display: none;
}

.question-wrapper form.first-form,
.question-wrapper form.current-form {
    display: block;
}

.question-wrapper form.current-form .current-question,
.questionnaire-wrapper .question.current-question.last-question {
    display: block !important;
}

.questionnaire-wrapper .question,
.question-inner {
    display: none;
}

.questionnaire-wrapper .question.first-question,
.first-form .question:first-of-type .question-inner {
    display: block;
}

@media screen and (max-width: 500px) {
    .question p {
        padding-right: 5%;
    }
}

@media screen and (min-width: 500px) and (max-width: 880px) {
    .question p {
        padding-right: 15%;
    }
}

@media screen and (min-width: 880px) {
    .question p {
        padding-right: 45%;
    }
}

/*************************************
Creating a custom radio checkbox
*************************************/

/* labels */
.question label {
    clear: left;
    color: #585453;
    display: block;
    float: left;
    font-family: 'Lato';
    font-size: 19px;
    font-weight: 400;
    line-height: 29px;
    margin-bottom: 4px;
    position: relative;
    padding-left: 20px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.question label:last-of-type {
    margin-bottom: 0;
}

/* Hide the browser's default radio button */
.answers-wrapper label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
    background-color: white;
    border: 1px solid #B41D27;
    border-radius: 50%;
    height: 10px;
    left: 0;
    position: absolute !important;
    top: 10px;
    width: 10px;
}

/* On mouse-over, add a grey background color */
.answers-wrapper label:hover input ~ .checkmark {
    background-color: #eb8086;
}

/* When the radio button is checked, add a blue background */
.answers-wrapper label input:checked ~ .checkmark {
    background-color: #B41D27;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.answers-wrapper label input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.answers-wrapper label .checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/**************************
  Results wrapper
**************************/

/* Key for your rating and actual score */
.key span {
    color: #585453;
    font-family: 'Lato';
    font-size: 19px;
    font-weight: 400;
    line-height: 29px;
    margin-left: 5px;
}

.key .key-two img {
    padding-left: 3px;
    padding-right: 3px;
}

.results-wrapper .diagnostic-wheel .slider-wrapper input[type="range"] {
    pointer-events: none;
}

.slider.overlay::-webkit-slider-runnable-track {
    background: transparent;
    border-color: transparent;
}

.slider.overlay::-moz-range-track {
    background: transparent;
    border-color: transparent;
}

.slider.overlay::-ms-track {
    background: transparent;
    border-color: transparent;
}

.slider.overlay::-ms-fill-lower {
    background: transparent;
}

.slider.overlay:focus::-ms-fill-lower {
    background: transparent;
}

.slider.overlay::-ms-fill-upper {
    background: transparent;
}

.slider.overlay:focus::-ms-fill-upper {
    background: transparent;
}

.results-wrapper .diagnostic-wheel .slider::-webkit-slider-thumb {
    background-image: url('../images/your-rating2.png') !important;
    background-size: 100% 100%;
    height: 32px;
    width: 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.results-wrapper .diagnostic-wheel .slider::-moz-range-thumb {
    background-image: url('../images/your-rating2.png') !important;
    background-size: 100% 100%;
    height: 32px;
    background-color: transparent;
    border: 0;
    width: 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.results-wrapper .diagnostic-wheel .slider::-ms-thumb {
    background-image: url('../images/your-rating2.png') !important;
    background-size: 100% 100%;
    height: 32px;
    background-color: transparent;
    border: 0;
    width: 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.results-wrapper .diagnostic-wheel .slider.overlay::-webkit-slider-thumb {
    background-image: url('../images/actual-score2.png') !important;
    background-size: 100% 100%;
    height: 23px;
    width: 23px;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.results-wrapper .diagnostic-wheel .slider.overlay::-moz-range-thumb {
    background-image: url('../images/actual-score2.png') !important;
    background-size: 100% 100%;
    height: 23px;
    background-color: transparent;
    border: 0;
    width: 23px;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.results-wrapper .diagnostic-wheel .slider.overlay::-ms-thumb {
    background-image: url('../images/actual-score2.png') !important;
    background-size: 100% 100%;
    height: 23px;
    background-color: transparent;
    border: 0;
    width: 23px;
    -webkit-appearance: none;
    -moz-appearance: none;
}

@media screen and (max-width: 680px) {
    .results-wrapper .slider-wrapper .slider::-webkit-slider-thumb {
        transform: translate(0, -16px);
    }

    .results-wrapper .slider-wrapper .slider.overlay::-webkit-slider-thumb {
        transform: translate(0, -8px);
    }
}

@media screen and (max-width: 640px) {
    .results-wrapper .diagnostic-wheel .slider.overlay {
        bottom: 0;
        left: 0;
        position: absolute;
    }
}

@media screen and (min-width: 641px) and (max-width: 680px) {
    .results-wrapper .diagnostic-wheel .slider.overlay {
        bottom: 2px;
        left: 154px;
        position: absolute;
    }
}

@media screen and (min-width: 680px) {
    .results-wrapper .diagnostic-wheel .slider.overlay {
        bottom: initial;
        left: 332px;
        position: absolute;
    }

    .results-wrapper .slider-wrapper:nth-of-type(1) .slider::-webkit-slider-thumb {
        transform: rotate(90deg) translate(-12px, 0px);
    }

    .results-wrapper .slider-wrapper:nth-of-type(1) .slider.overlay::-webkit-slider-thumb {
        transform: rotate(90deg) translate(-10px, 0px);
    }

    .results-wrapper .slider-wrapper:nth-of-type(1) .slider::-moz-range-thumb {
        transform: rotate(90deg);
    }

    .results-wrapper .slider-wrapper:nth-of-type(1) input[type=range]::-ms-thumb {
        transform: rotate(90deg);
    }

    .results-wrapper .slider-wrapper:nth-of-type(2) .slider::-webkit-slider-thumb {
        transform: rotate(45deg) translate(-16px, 0px);
    }

    .results-wrapper .slider-wrapper:nth-of-type(2) .slider.overlay::-webkit-slider-thumb {
        transform: rotate(45deg) translate(-10px, 0px);
    }

    .results-wrapper .slider-wrapper:nth-of-type(2) input[type=range]::-ms-thumb {
        transform: rotate(45deg);
    }

    .results-wrapper .slider-wrapper:nth-of-type(3) .slider::-webkit-slider-thumb {
        transform: rotate(0deg) translate(0px, -16px);
    }

    .results-wrapper .slider-wrapper:nth-of-type(3) .slider.overlay::-webkit-slider-thumb {
        transform: rotate(0deg) translate(0px, -8px);
    }

    .results-wrapper .slider-wrapper:nth-of-type(3) .slider::-moz-range-thumb {
        transform: rotate(0deg);
    }

    .results-wrapper .slider-wrapper:nth-of-type(3) input[type=range]::-ms-thumb {
        transform: rotate(0deg);
    }

    .results-wrapper .slider-wrapper:nth-of-type(4) .slider::-webkit-slider-thumb {
        transform: rotate(-45deg) translate(16px, 0px);
    }

    .results-wrapper .slider-wrapper:nth-of-type(4) .slider.overlay::-webkit-slider-thumb {
        transform: rotate(-45deg) translate(10px, 0px);
    }

    .results-wrapper .slider-wrapper:nth-of-type(4) .slider::-moz-range-thumb {
        transform: rotate(-45deg);
    }

    .results-wrapper .slider-wrapper:nth-of-type(4) input[type=range]::-ms-thumb {
        transform: rotate(-45deg);
    }

    .results-wrapper .slider-wrapper:nth-of-type(5) .slider::-webkit-slider-thumb {
        transform: rotate(-90deg) translate(13px, 0px);
    }

    .results-wrapper .slider-wrapper:nth-of-type(5) .slider.overlay::-webkit-slider-thumb {
        transform: rotate(-90deg) translate(9px, 0px);
    }

    .results-wrapper .slider-wrapper:nth-of-type(5) .slider::-moz-range-thumb {
        transform: rotate(-90deg);
    }

    .results-wrapper .slider-wrapper:nth-of-type(5) input[type=range]::-ms-thumb {
        transform: rotate(-90deg);
    }

    .results-wrapper .slider-wrapper:nth-of-type(6) .slider::-webkit-slider-thumb {
        transform: rotate(-135deg) translate(19px, 0px);
    }

    .results-wrapper .slider-wrapper:nth-of-type(6) .slider.overlay::-webkit-slider-thumb {
        transform: rotate(-135deg) translate(12px, 0px);
    }

    .results-wrapper .slider-wrapper:nth-of-type(6) .slider::-moz-range-thumb {
        transform: rotate(-135deg);
    }

    .results-wrapper .slider-wrapper:nth-of-type(6) input[type=range]::-ms-thumb {
        transform: rotate(-135deg);
    }

    .results-wrapper .slider-wrapper:nth-of-type(7) .slider::-webkit-slider-thumb {
        transform: rotate(180deg) translate(0px, 8px);
    }

    .results-wrapper .slider-wrapper:nth-of-type(7) .slider.overlay::-webkit-slider-thumb {
        transform: rotate(180deg) translate(0px, 8px);
    }


    .results-wrapper .slider-wrapper:nth-of-type(7) .slider::-moz-range-thumb {
        transform: rotate(180deg);
    }

    .results-wrapper .slider-wrapper:nth-of-type(7) input[type=range]::-ms-thumb {
        transform: rotate(180deg);
    }

    .results-wrapper .slider-wrapper:nth-of-type(8) .slider::-webkit-slider-thumb {
        transform: rotate(-225deg) translate(-14px, 0px);
    }

    .results-wrapper .slider-wrapper:nth-of-type(8) .slider.overlay::-webkit-slider-thumb {
        transform: rotate(-225deg) translate(-10px, 0px);
    }

    .results-wrapper .slider-wrapper:nth-of-type(8) .slider::-moz-range-thumb {
        transform: rotate(-225deg);
    }

    .results-wrapper .slider-wrapper:nth-of-type(8) input[type=range]::-ms-thumb {
        transform: rotate(-225deg);
    }
}

input.slider.overlay {
    background: none !important;
}

.results-section-wrapper:after {
    clear: both;
    content: "";
    display: table;
}



@media screen and (min-width: 450px) and (max-width: 880px) {
    .results-section p {
        padding-right: 15%;
    }
}

.s-container {
    margin: 25px auto;
    position: relative;
    max-width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -28px;
    margin-right: -28px;
}

.row .results-section {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 28px;
    padding-right: 28px;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    margin-bottom: 50px;
}

@media screen and (max-width: 880px) {
    .row .results-section {
        max-width: 100%;
        flex: 0 0 100%;
    }
}



/**********************************************
  Login / Register page for Wheel Diagnostic
***********************************************/
li.widget-container {
    list-style-type: none;
}

form.s2member-pro-paypal-form {
    border-top: 3px solid #b22230;
    margin-bottom: 30px !important;
    margin-top: 30px !important;
}


.page-id-2756 input {
    background-color: #F3F3F3;
    border: 0;
    margin-top: 5px;
    min-width: 370px;
    padding: 10px !important;
    width: 30% !important;
}

.page-id-2756 input[type="submit"], .page-id-2756 button[type="submit"] {
    background-color: #B41D27;
    border: 0;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-family: 'Lato';
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 20px;
    min-width: 0 !important;
    padding: 10px 20px !important;
    text-transform: uppercase;
    width: auto !important;
}

.page-id-2756 input[type="checkbox"] {
    min-width: 0 !important;
    width: 0 !important;
}

div.s2member-pro-paypal-form-description-div {
    font-family: 'PT Sans', verdana, arial !important;
    font-size: 120%;
}

div.s2member-pro-paypal-form-section-title {
    background-size: 23px;
    display: inline-block;
    font-family: 'PT Sans', verdana, arial !important;
    min-width: 400px;
    padding-right: 62px;
}

div.s2member-pro-paypal-form-submission-section > div.s2member-pro-paypal-form-submit-div {
    float: none !important;
}


div.s2member-pro-paypal-form-section > div.s2member-pro-paypal-form-div:after {
    clear: both;
    content: "";
    display: table;
}

