/*
Custom Fluent Forms plugin styles
For Quizes landings
*/

body.page-template-page-minimal{

    #shiftnav-toggle-main{
        display: none;
    }

    .joinchat{
        display: none !important;
    }

    .houzez-quize-1{

        .fluentform-step{
            padding: 0;
        }

        h2, label:not(.ff-el-form-check-label){
            font-family: Georgia;
            font-size: 21px;
            font-weight: 600;
            margin-bottom: 5px;
        }


        @media (max-width: 768px){
            .title-step-start h2 {
                font-size: 29px !important;
                margin-bottom: 24px !important;
            }

            .t-quiz__cover__descr{
                font-size: 20px;
                line-height: 1.7;
                margin-bottom: 20px;
            }
        }


        .ff-step-container{
            max-height: 100vh;
        }

        .ff-t-container {
            gap: 50px;
            display: flex !important;
            @media (max-width: 768px){
                flex-direction: column;
            }
        }

        .hz-step-progress, .ff-step-body, .hz-html-img {
            margin: 0;
            padding: 0;
        }

        .hz-steps-btns {
            margin-top: 35px;
        }


        .ff-step-header {
            position: absolute;
            top: 50px;
            max-width: 400px;
            margin: 0 auto !important;
            left: 50%;
            transform: translateX(-50%);
            z-index: 999999;
        }

        .hz-step-progress, .hz-steps{
            &>.step-nav{
                display: none;
            }
        }



        .hzquize-container {
            .ff-t-cell {
                justify-content: center;

                @media (max-width: 768px){
                    display: flex;
                    flex-direction: column;
                }
            }
        }

        .hzquize-left-right {
            @media (max-width: 768px){
                .ff-t-column-2 {
                    align-items: center;
                    padding: 0 20px;

                    .title-step {
                        text-align: center;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                    }
                }
            }
        }

        .hzquize-right-left {
            .ff-t-column-1 {
                padding: 0 20px 0 13%;
            }

            @media (max-width: 768px){
                flex-direction: column-reverse;

                .ff-t-column-1 {
                    align-items: center;
                    padding: 0 20px;

                    .title-step {
                        text-align: center;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                    }
                }
            }
        }

        .hzquize-center{
            height: 100vh;

            @media (max-width: 768px){


                .ff-t-column-1 {
                    align-items: center;
                    padding: 0 20px;
                    justify-content: center;

                    .title-step {
                        text-align: center;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                    }
                }
            }

            .ff-t-cell {
                align-items: center;
            }

            & > .ff-t-cell > div {
                width: 100%;
                max-width: 400px;

                .ff-el-group{
                    width: 100%;
                }
            }
        }

        .ff-step-titles li.ff_active::after,
        .ff-step-titles li.ff_completed::after,
        .ff-step-titles li.ff_active::before,
        .ff-step-titles li.ff_completed::before{
            background: #02B3AD;
        }

        .ff-step-titles {
            background-color: #ffffff61;
            margin: 0 !important;
            padding: 10px 20px !important;
            border-radius: 10px !important;

            &>li{
                cursor: pointer;
            }
        }



        .step-nav, .hs-submit {
            width: max-content;
            display: flex;
            gap: 10px;

            button{
                min-width: 120px;
                padding: 5px 8px;
                background-color: #02B3AD;
                color: #fff;
                border: 0;
                border-radius: 5px;
                font-size: 14px;
                &:focus, &:visited{
                    inset: 0;
                    box-shadow: none;
                }
                &:hover {
                    background-color: rgb(0, 155, 150) !important;
                }

                &.ff-btn-prev-last, &.ff-btn-prev {
                    background: none !important;
                    color: #02B3AD !important;
                    &:hover{
                        background: none !important;
                        color: #02B3AD !important;
                    }
                }
            }

            button.hs-submit-btn{
                min-width: 120px;
                padding: 9px;
                background-color: #02B3AD;
                color: #fff;
                border: 0;
                border-radius: 5px;
                font-size: 18px;
                font-weight: 400;
                width: 100%;
                &:focus, &:visited{
                    inset: 0;
                    box-shadow: none;
                }
                &:hover {
                    background-color: rgb(0, 155, 150) !important;
                }
            }
        }



        .step-media{
            img{
                width: 100%;
                height: 100vh;
                object-fit: cover;
                @media (max-width: 768px){
                    max-height: 35vh;
                }
            }
        }

        .ff-el-form-check {
            border: 1px solid #d7d7d7;
            border-radius: 4px;
            padding: 8px 15px;
            label{
                margin: 0;
                font-size: 16px;
                font-weight: 400;
                span{
                    margin-left: 8px;
                }
            }
        }

        .hz-phone-type .ff-el-form-check,
        .hz-terms-n-condition .ff-el-form-check{
            border: 0 !important;
            padding: 0 !important;
        }

        .hs-submit{
            margin: 0;
        }
    }
}
