﻿/*body {
}

label {
    width: 100%;
}
span{
    margin-left:3%;
}
.card-input-element {
    display: none;
}

.card-input {
    margin: 10px;
    padding: 00px;
}

    .card-input:hover {
        cursor: pointer;
    }

.card-input-element:checked + .card-input {
    box-shadow: 0 0 1px 1px #2ecc71;
}*/

/*****/

/*@import url('https://fonts.googleapis.com/css?family=Lato:400,500,600,700&display=swap');

 {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

html, body {
    display: grid;
    height: 100%;
    place-items: center;
    
    font-family: 'Lato', sans-serif;
}
.prop_type {
    margin-left: 3%;
    font-weight:600;
}
.wrapper {
    display: inline-flex;
    background: #fff;
    height: 75px;
    width: 78%;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    padding: 20px 15px;
    box-shadow: 5px 5px 30px rgba(0,0,0,0.2);
    margin-bottom: 10px;
}

    .wrapper .option {
        background: #fff;
        height: 100%;
        width: 25%;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        margin: 0 10px;
        border-radius: 5px;
        cursor: pointer;
        padding: 0 10px;
        border: 2px solid lightgrey;
        transition: all 0.3s ease;
    }

        .wrapper .option .dot {
            height: 20px;
            width: 20px;
            background: #d9d9d9;
            border-radius: 50%;
            position: relative;
        }

            .wrapper .option .dot::before {
                position: absolute;
                content: "";
                top: 4px;
                left: 4px;
                width: 12px;
                height: 12px;
                background: #0069d9;
                border-radius: 50%;
                opacity: 0;
                transform: scale(1.5);
                transition: all 0.3s ease;
            }

input[type="radio"] {
    display: none;
}

#All_proposal:checked:checked ~ .All_proposal,
#Road_proposal:checked:checked ~ .Road_proposal {
    border-color: #0069d9;
    background: #0069d9;
}

#Bridge_proposal:checked:checked ~ .Bridge_proposal {
    border-color: #0069d9;
    background: #0069d9;
}

#All_proposal:checked:checked ~ .All_proposal .dot,
#Road_proposal:checked:checked ~ .Road_proposal .dot {
    background: #fff;
}

#Bridge_proposal:checked:checked ~ .Bridge_proposal .dot {
    background: #fff;
}

#All_proposal:checked:checked ~ .All_proposal .dot::before,
#Road_proposal:checked:checked ~ .Road_proposal .dot::before {
    opacity: 1;
    transform: scale(1);
}

#Bridge_proposal:checked:checked ~ .Bridge_proposal .dot::before {
    opacity: 1;
    transform: scale(1);
}

.wrapper .option span {
    font-size: 18px;
    color: #808080;
}

#All_proposal:checked:checked ~ .All_proposal span,
#Road_proposal:checked:checked ~ .Road_proposal span {
    color: #fff;
}

#Bridge_proposal:checked:checked ~ .Bridge_proposal span {
    color: #fff;
}*/
/*body {
    font-family: sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}*/

* {
    box-sizing: border-box;
}

.prop_type {
    margin-left: 20%;
    font-weight: 600;
    margin-top: 10px;
    margin-right: 1%;
}

.l-radio {
    padding: 6px;
    border-radius: 50px;
    display: inline-flex;
    cursor: pointer;
    transition: background 0.2s ease;
    margin: 8px 0;
    -webkit-tap-highlight-color: transparent;
}

    .l-radio:hover, .l-radio:focus-within {
        background: rgba(159, 159, 159, 0.1);
    }

    .l-radio input {
        vertical-align: middle;
        width: 20px;
        height: 20px;
        border-radius: 10px;
        background: none;
        border: 0;
        box-shadow: inset 0 0 0 1px #9F9F9F;
        box-shadow: inset 0 0 0 1.5px #9F9F9F;
        appearance: none;
        padding: 0;
        margin: 0;
        transition: box-shadow 150ms cubic-bezier(0.95, 0.15, 0.5, 1.25);
        pointer-events: none;
    }

        .l-radio input:focus {
            outline: none;
        }

        .l-radio input:checked {
            box-shadow: inset 0 0 0 6px #007bff;
            //#6743ee
        }

    .l-radio span {
        vertical-align: middle;
        display: inline-block;
        line-height: 20px;
        padding: 0 8px;
    }
