﻿/*form styles*/
#consultform {
    text-align: center;
    position: relative;
    margin-top: 30px;
}

#consultform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    padding: 40px 30px;
    box-sizing: border-box;
    width: 100%;
    margin: 0;

    /*stacking fieldsets above each other*/
    position: relative;
}

#consultform fieldset button {
    width:135px;
}

#consultform .consult_options{
    max-width:395px;
    margin: 0px auto;
}

#consultform fieldset label input[type=radio] {
    position: absolute;
    left: -999999px;
}

#consultform fieldset label span {
    width: 390px;
    display: block;
    font-size: 16px;
    text-align: left;
    padding: 15px 10px;
    border: solid 1px #000;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 5px;
}

#consultform .selOptions {
    font-size: 16px;
    text-align: left;
    padding: 5px 10px;
    border: solid 1px #000;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 5px;
}

#consultform fieldset label span i {
    font-size:20px;
    margin-right:10px;
}

#consultform fieldset p, #consultform fieldset label:last-child span {
    margin-bottom:1.5em;
}

#consultform fieldset p, #consultform fieldset p input[type=text], #consultform fieldset p input[type=number] {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 24px;
    text-align:center;
}

#consultform fieldset p input[type=text], #consultform fieldset p input[type=number] {
    display: inline;
    width: 100px;
    border: solid 0px;
    border-bottom: solid 1px;
    padding: 5px;
}

/*Hide all except first fieldset*/
#consultform fieldset:not(:first-of-type) {
    display: none;
}

.btn-ellipse-consult {
    border-radius: 2.5rem;
    padding: 1.5em 3.2em;
    font-size: 1.4rem;
    color:white
}

#consultform input:focus, #consultform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #ee0979;
    outline-width: 0;
    transition: All 0.5s ease-in;
    -webkit-transition: All 0.5s ease-in;
    -moz-transition: All 0.5s ease-in;
    -o-transition: All 0.5s ease-in;
}

/*buttons*/
#consultform .action-button {
    width: 100px;
    background: #ee0979;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#consultform .action-button:hover, #consultform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #ee0979;
}

#consultform .action-button-previous {
    width: 100px;
    background: #C5C5F1;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#consultform .action-button-previous:hover, #consultform .action-button-previous:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #C5C5F1;
}

/*headings*/
.fs-title {
    font-size: 30px;
    text-transform: uppercase;
    color: #2C3E50;
    margin-top: 1em;
    margin-bottom: 1em;
    letter-spacing: 2px;
    font-weight: bold;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.user-lin .js_cust_details {
    display:none;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
}

#progressbar li {
    list-style-type: none;
    color: white;
    text-transform: uppercase;
    font-size: 9px;
    float: left;
    position: relative;
    letter-spacing: 1px;
}

.user-nlin #progressbar li {
    width: 7.69%;
}

.user-lin #progressbar li {
    width: 8.33%;
}

.user-nlin .progressbarsmall li {
    width: 10% !important;
}

.user-lin .progressbarsmall li {
    width: 11.11% !important;
}

.user-nlin .progressbartennis li {
    width: 12.50% !important;
}

.user-lin .progressbartennis li {
    width: 14.28% !important;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 24px;
    height: 24px;
    line-height: 21px;
    display: block;
    font-size: 12px;
    color: #333;
    background: white;
    border-radius: 25px;
    margin: 0 auto 10px auto;
    position: relative;
    z-index: 1;
}

/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: white;
    position: absolute;
    left: -50%;
    top: 9px;
    z-index: 0; /*put it behind the numbers*/
}

#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}

/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before, #progressbar li.active:after {
    background: green;
    border:solid 1px green;
    color: white;
}


/* Not relevant to this form */
.dme_link {
    margin-top: 30px;
    text-align: center;
}
.dme_link a {
    background: #FFF;
    font-weight: bold;
    color: #ee0979;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 5px 25px;
    font-size: 12px;
}

.dme_link a:hover, .dme_link a:focus {
    background: #C5C5F1;
    text-decoration: none;
}

.js_consult_select.active {
    background-color: #2f3946;
    color:#fff;
}

.errormsg{
    color:red;
    font-weight:600;
}
#divSlider, #divSliderLabels {
    width: 90%;
}

#divSliderLabels {
    position: relative;
    min-height: 40px;
}

#divSliderLabels div {
    position: absolute;
    width: 20px;
    margin-top: 20px;
    margin-left: -10px;
    text-align: center;
    font-size: 14px;
    display: none;
}

#divSliderLabels div:first-child, #divSliderLabels div:nth-child(6), #divSliderLabels div:nth-child(11), #divSliderLabels div:nth-child(16), #divSliderLabels div:nth-child(21), #divSliderLabels div:last-child {
    display: unset !important;
}
#divSliderLabels div:nth-child(6) {
    padding-left:5px;
}
#divSliderLabels div:nth-child(11) {
    padding-left:10px;
}
#divSliderLabels div:nth-child(16) {
    padding-left: 15px;
}
#divSliderLabels div:nth-child(21) {
    padding-left:20px;
}
#divSliderLabels div:last-child {
    padding-left:25px;
}

@media (max-width: 479px) {
    #progressbar:not(.progressbarsmall):not(.progressbartennis) li {
        width: 14.28%;
        margin-bottom: 10px;
    }
    .user-lin #progressbar:not(.progressbarsmall):not(.progressbartennis) li {
        width: 16.66%;
        margin-bottom: 10px;
    }
    .user-nlin #progressbar:not(.progressbarsmall):not(.progressbartennis) li:nth-child(8):after {
        content: none;
    }
    .user-lin #progressbar:not(.progressbarsmall):not(.progressbartennis) li:nth-child(7):after {
        content: none;
    }
    .progressbarsmall li {
        width: 19.99% !important;
    }
    .progressbarsmall li:nth-child(6):after {
        content: none!important;
    }
    .fs-title{
        font-size:26px;
    }
    #consultform fieldset p, #consultform fieldset p input[type=text], #consultform fieldset p input[type=number] {
        font-size: 16px;
    }
    #consultform fieldset p input[type=text], #consultform fieldset p input[type=number] {
        width: 40px;
    }
    .btn-ellipse {
        font-size:1.2rem!important;
        width:100px!important;
    }
    #divSliderLabels div:nth-child(6), #divSliderLabels div:nth-child(11), #divSliderLabels div:nth-child(16), #divSliderLabels div:nth-child(21) {
        display: none !important;
        padding-left:unset;
    }
    #divSliderLabels div:nth-child(9), #divSliderLabels div:nth-child(18), #divSliderLabels div:last-child {
        display: unset !important;
        padding-left: unset;
    }

    #consultform .consult_options {
        max-width: 320px;
    }

    #consultform fieldset label span {
        width: 310px !important;
    }

    .btn-ellipse-bigger {
        width: 120px !important;
    }
}

@media (max-width: 400px) {
    #consultform .consult_options {
        max-width: 265px;
    }

    #consultform fieldset label span {
        width: 260px!important;
    }
}
.ui-slider-range, .ui-slider-handle {
    background-color: #2f3946!important;
}
.ui-state-active {
    border: solid 1px #2f3946!important;
}
.ui-slider-handle {
    width: 1.6em !important;
    height: 1.6em !important;
    top: -0.25em !important;
}
.ui-slider-horizontal{
    height:1.2em;
}
#divSliderTooltip {
    text-align: center;
    border:solid 1px #2f3946;
    background-color:#2f3946;
    color:#ffffff;
    border-radius: 6px;
    padding: 5px 0;
    position:absolute;
    top:-40px;
    left:-25px;
    width: 60px;
}
#divSliderTooltip::after {
    content: " ";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #2f3946 transparent transparent transparent;
}
.small-border::after {
    content: "";
    position: absolute;
    width: 1px;
    right: -1px;
    height: 70%;
    background: black;
    top: 50%;
    transform: translate(-50%, -50%);
}
.small-border:nth-child(3n+3)::after, .small-border:last-child::after {
    background: #fff;
}
.small-border:nth-child(n+4) {
    margin-top: 10px;
}
.con-recommend {
    background-color: red;
    /*border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    width: 180px;*/
    width:100%;
    position: absolute;
    left: 0px;
    top: 40px;
    padding: 5px 0px;
    font-size: 14px;
}
.br-20 {
    border-radius: 20px;
}
.btn-small {
    padding: 1em 1.6em !important;
    font-size: 1.2rem !important;
}
.fa-2x-small {
    font-size:1.5em!important;
}
.noWS {
    white-space: unset!important;
}

.cons-more {
    text-align: center;
    padding-bottom: 15px;
    width:100%;
}

.cons-more a {
    color:white;
}