/*==================================
    #1 - contact form
==================================*/

.contact-form {
    margin-top: 15px;
    margin-bottom: 15px;
}

.contact-form .contact-form-area-column-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    color: var(--white);
}

.contact-form .contact-form-area-column-left a {
    color: var(--white);
}

.contact-form .contact-form-area-column-left,
.contact-form .contact-form-area-column-right {
    padding: 5rem;
}

.contact-form .bg-wrapper-left,
.contact-form .bg-wrapper-right {
    position: relative;
}

.contact-form .bg-wrapper-right {
    padding: 3.5rem 0 3.5rem 10%;
}

    .contact-form-title {

    }

    .contact-form-container {

    }

        .contact-form-main-column {

        }

        .contact-form-column {

        }
                .contact-form-text{
                    color: var(--dark);
                }

            .contact-form-column-left {

            }

            .contact-form-column-right {

            }

        .contact-form-group {

        }

            .contact-form-label {
                color: var(--dark);
            }

                .contact-form-control {

                }

                .contact-form-control::-webkit-input-placeholder {

                }
                .contact-form-control::-moz-placeholder {

                }
                .contact-form-control:-ms-input-placeholder {

                }
                .contact-form-control:-moz-placeholder {

                }

            textarea.contact-form-control{

            }

        .contact-form-check {

        }

            .contact-form-check-input {

            }

        .contact-button-wrapper {
            text-align: right;
        }
/*
.error{
    background-color: #da2929;
}
*/

.form-error {
     border: 2px solid #ca4040;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
    .form-error::-webkit-input-placeholder {
        color: #d00000!important;
    }
    .form-error::-moz-placeholder {
        color: #d00000!important;
    }
    .form-error:-ms-input-placeholder {
        color: #d00000!important;
    }
    .form-error:-moz-placeholder {
        color: #d00000!important;
    }

.content-thanks{
    text-align: left;
    padding: 30px 0;
    margin-bottom: 20px;
    color: #292929;
    font-size: 19px;
    font-weight: 600;
}

/*==== End of contact form ====*/

/*==== Floating button & form ====*/
.floating-button {
    position: fixed;
    top: 50%;
    right: 0px;
    z-index: 1000;
    padding: 1rem 2.5rem !important;
    cursor: pointer;
    transform: rotate(-90deg) translateY(-50%);
    transform-origin: right center;
    transition: right 0.3s ease;
}
/*
.floating-button:hover {
    background-color: #0056b3;
}*/

.floating-button.active {
    right: 400px;
}

.contact-form-floating .contact-form-modal {
    display: block; 
    position: fixed;
    z-index: 1000;
    top: 50%;
    right: -400px;
    width: 400px;
    height: auto;
    overflow: auto;
    background-color: rgba(0,0,0,0);
    transform: translateY(-50%);
    transition: right 0.3s ease;
    max-width: 95%;
}

.contact-form-floating .contact-form-modal.show  {
    right: 0;
}

.contact-form-floating .modal-content {
    background-color: #fefefe;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
}

.contact-form-floating .modal-dialog {
    margin: 0 !important;
}

.contact-form-floating .modal-header {
    justify-content: flex-end;
}

.contact-form-floating .contact-form {
    margin-top: 15px;
    margin-bottom: 0;
}

/*==== End of floating button ====*/

/*==================================
    #2 - Responsiivisuus
==================================*/

@media screen and (max-width:1199px) {

    .contact-form .contact-form-area-column-left {
        justify-content: flex-start;
        text-align: left;
    }

}

@media screen and (max-width:991px) {

    .contact-form .contact-form-area-column-left,
    .contact-form .contact-form-area-column-right {
        padding: 5rem 3rem;
    }

}

@media screen and (max-width:767px) {

    .contact-form .contact-form-area-column-left,
    .contact-form .contact-form-area-column-right {
        padding: 5rem 30px;
    }

}

/*==== End of responsiivisuus ====*/
