/********** FIND PAGE **********/

/* CONTAINER - hero */
.find-car-image {
    background: white url('../images/man-sofa-searching-laptop.jpg') no-repeat center center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover; 
}

/* OUTER CONTAINER - details and form */
.o-flex-grid {
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    margin: 0 auto;
}

.o-flex-grid--item {
    margin: 0px 15px;
    padding: 0px 20px;
}

.o-flex-grid--item:first-child:nth-last-child(2),
.o-flex-grid--item:first-child:nth-last-child(2)~div {
    width: 50%;
}

.w-100 {
    width: 100%;
}

@media (max-width: 800px) {
    .o-flex-grid {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .o-flex-grid--item {
        width: 100% !important;
        margin: 0px;
    }
}


/* INNER CONTAINER - details and form */
.card-form {
    width: 100%;
    margin: 0 auto;
    padding: 10px;    
}

.card-form__title {
    text-align: left;
    margin-bottom: 30px;
    font-size: 24px;
}

.card-form__text {
    margin: 25px 0 40px 0;
    color: white;
}

.card-form:not(:first-of-type) {
    display: none;
}

/* INNER CONTAINER - details and form - mobile devices */
@media all and (max-width: 768px) {
    .card-form {
        max-width: 100% !important;
        padding: 10px;
        margin: 20px auto;     
    }

    .form-holder {
        width: 100%;
    }
}

/* FORM INPUT FIELDS - styling */
.input-wrapper-second {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 10px;
}

.input-wrapper-second label {
    position: absolute;
    transition: ease-out 0.2s;
    pointer-events: none;
    top: 50%;
    margin-left: 10px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #b9b9b9;
}

.input-wrapper-second label.active {
    opacity: 0;
}

.input-wrapper-second label.active~input {
    border-bottom: solid 2px #c8af6c;
    color: #000;
}

.input-wrapper-second label span {
    color: #c8af6c;
    padding-left: 3px;
}

.input-wrapper-second input {
    border: 0;
    height: 46px;
    font-size: 16px;
    padding-left: 10px;
    border-radius: 2px;
    transition: ease-out 0.2s;
    background: #fff;
    border-bottom: solid 2px #131313;
}

.input-wrapper-second input:focus {
    outline: none;
    color: #000;
}

.input-wrapper-second .message-title {
    padding-top: 10px;
}

.message-title label {
    font-size: 16px;
    margin: 0;
    padding: 0;
    position: absolute;
    transition: ease-out 0.2s;
    pointer-events: none;
    top: 0%;
    margin-left: 10px;
    transform: translateY(0%);
    color: #b9b9b9;
}

.message-title label.active~textarea {
    outline: none;
    color: #000;
    font-size: 17px;
    padding-left: 10px;
    border-bottom: solid 2px #c8af6c;
}

.message-area {
    background-color: #fff;
    border: none;
    border-bottom: solid 2px #131313;
    padding-top: 10px;
    min-height: 140px;
}