/*decking-calculator*/
.card-cust {
    background-color: white;
    border: 1px solid #c0c097;
    border-radius: .5rem;
    padding: .5rem;
    /*max-width: 300px;*/
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
    /*display: none;*/
    animation: fade 250ms ease-in-out forwards;

}

.card-results {
    background-color: white;
    border: 1px solid #c0c097;
    border-radius: .5rem;
    padding: .5rem;
    /*max-width: 400px;*/
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
}

.form-group-cust {
    display: flex;
    flex-direction: column;
    margin-bottom: .5rem;
    gap: .25rem;
}

.form-group-cust:last-child {
    margin: 0;
}

.form-group-cust > label {
    font-weight: bold;
    font-size: .8em;
    color: #333;
}

.form-group-cust > input,
.form-group-cust > select {
    border: 1px solid #333;
    border-radius: .25em;
    font-size: 1rem;
    padding: .25em;
}

.step-title {
    margin: 0 0 1rem;
    text-align: center;
}

.form-group-cust > [type=checkbox] {
    margin: 0 auto;
    height: 2rem;
    width: 2rem;
    border: 3px dotted red;
    border-radius: 50%;
}

.card-cust.activ {
    /*animation: none;*/
    /*display: block;*/
    animation: slide 250ms 125ms ease-in-out both;
    /*transition-delay: 500ms;*/
}

.multi-step-form {
    overflow: hidden;
    position: relative;
}

.hide {
    display: none;
}

/*animation*/
@keyframes slide {
    0% {
        transform: translateX(200%);
        opacity: 0

    }
    100% {
        transform: translateX(0);
        opacity: 1
    }
}

@keyframes fade {
    0% {
        transform: scale(1);
        opacity: 1

    }
    50% {
        transform: scale(.75);
        opacity: 0;


    }
    100% {
        opacity: 0;
        transform: scale(0);

    }
}

/*styles from style tag on first page*/
.results-list {
    list-style: none;
    counter-reset: steps;
}

.results-list li {
    counter-increment: steps;
    font-weight: bold;
    font-style: italic;
}

.results-list li::before {
    content: counter(steps);
    margin-right: .5rem;
    background: #ff6f00;
    color: white;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    line-height: 1.2em;
}

.results-list ol li::before {
    background: darkorchid;
}

/*styling of the li in  a list*/
.propName {
    background-color: #8d4800;
    padding: .1rem 1rem;
    border-radius: .5rem;
    color: white;
}

.propVal {
    background-color: dodgerblue;
    padding: .1rem 1rem;
    border-radius: .5rem;
    color: white;
}

/*styling fo area calculated start*/
.propNameArea {
    background-color: #8d4800;
    padding: .1rem 1rem .3rem;
    /*border-radius: .5rem;*/
    color: white;
    margin-right: 0;
    font-weight: bold;
}

.propValArea {
    background-color: dodgerblue;
    padding: .1rem 1rem .3rem;
    /*border-radius: .5rem;*/
    color: white;
    margin-left: 0;
    font-weight: bold;
}

/*styling fo area calculated end*/
button:disabled {
    cursor: not-allowed;
}

/*checkboxes styling*/
.chkBox {
    cursor: pointer;
}

.img-fluid-75 {
    max-width: 75%;
    height: auto;

}

.inp-error {
    color: red;
    font-weight: bolder;
    font-style: italic;
}

.inp-success {
    color: green;
    font-weight: bolder;
    font-style: italic;
}

.error {
    background-color: darkred;
    color: white;
}

.valid {
    background-color: green;
    color: white;
}