﻿@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.cd__main {
    background: #56CCF2 !important; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #2F80ED, #56CCF2); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #2F80ED, #56CCF2) !important; /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    min-height: 450px;
}

/*Styles for distance slider */
.range {
    height: 30px;
    width: 350px;
    background: transparent;
    border-radius: 10px;
    padding: 0 65px 0 45px;
    color: var(--PTC-Dark-Grey, #415364);
    font-family: Lexend;
    font-size: 14px;
    font-style: normal;
    line-height: 100%;
    border: none;
}

    .range .sliderValue {
        position: relative;
        width: 100%;
        top: 20px;
    }

        /*Styles for distance slider values */
        .range .sliderValue span {
            position: absolute;
            height: 20px;
            width: 20px;
            transform: translateX(-70%) scale(0);
            top: -32px;
            line-height: 200%;
            z-index: 2;
            color: #fff;
            transform-origin: bottom;
            transition: transform 0.3s ease-in-out;
            font-size: 10px;
        }

            .range .sliderValue span.show {
                transform: translateX(-70%) scale(1);
            }

                .range .sliderValue span.show:after {
                    position: absolute;
                    content: "";
                    height: 100%;
                    width: 100%;
                    background: dodgerblue;
                    border: 3px solid #fff;
                    z-index: -1;
                    left: 50%;
                    transform: translateX(-50%) rotate(45deg);
                    border-bottom-left-radius: 50%;
                    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
                    border-top-left-radius: 50%;
                    border-top-right-radius: 50%;
                }

    .range .field {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        position: relative;
    }

        .range .field .value {
            position: absolute;
            color: dodgerblue;
        }

            .range .field .value.left {
                left: -22px;
            }

            .range .field .value.right {
                right: -55px;
            }

    .range input {
        -webkit-appearance: none;
        width: 100%;
        height: 2px;
        background: #ddd;
        border-radius: 5px;
        outline: none;
        border: none;
        z-index: 2222;
    }

        .range input::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 12px;
            height: 12px;
            background: red;
            border-radius: 50%;
            background: dodgerblue;
            border: 1px solid dodgerblue;
            cursor: pointer;
        }

        .range input::-moz-range-thumb {
            -webkit-appearance: none;
            width: 12px;
            height: 12px;
            background: red;
            border-radius: 50%;
            background: dodgerblue;
            border: 1px solid dodgerblue;
            cursor: pointer;
        }

        .range input::-moz-range-progress {
            background: dodgerblue;
        }
