:root {
    --primary-color: #D55235;
    --blue: #5F8DDD;
    --yellow: #FFCC79;
    --white: #fff;
    --black: #000;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

br {
    display: none;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.blockquote {
    padding: 50px 0;
    background-color: var(--white);
    position: relative;
    padding-left: 40px;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        top: 40%;
        left: 0;
        width: 5px;
        height: 100%;
        background-color: var(--primary-color);
    }

    h2 {
        font-size: 26px;
        font-weight: 700;
        font-family: var(--font-family);
        color: var(--blue);
    }

    p {
        font-size: 18px;
        line-height: 28px;
        font-weight: 400;
        margin-bottom: 30px;
        font-family: var(--font-family);
    }
}

.slider_wrap {
    .slider {
        position: relative;

        .slider-item {
            position: relative;
            overflow: hidden;

            .slider-img {
                position: relative;
                border-radius: 30px;

                &::after {
                    position: absolute;
                    content: '';
                    width: 100%;
                    height: 99.4%;
                    background-color: rgba(0, 0, 0, 0.5);
                    top: 0;
                    left: 0;
                    border-radius: 30px;
                }

                img {
                    height: 100%;
                }
            }

            .slider-content {
                position: absolute;
                width: 50%;
                height: 100%;
                top: 20%;
                padding-left: 150px;

                h4 {
                    font-size: 60px;
                    color: var(--yellow);
                    margin-bottom: 20px;
                }

                p {
                    color: var(--white);
                    font-size: 20px;
                    margin-bottom: 20px;
                    line-height: 32px;
                }

                a {
                    border-radius: 10px;
                    background: linear-gradient(180deg, rgba(213, 84, 39, 1) 0%, rgba(215, 76, 138, 1) 100%);
                    color: var(--white);
                    font-size: 20px;
                    font-weight: 700;
                    padding: 10px 20px;
                    margin-top: 20px;
                    display: inline-block;
                }
            }
        }

    }

    .slider_arrow_wrap {
        position: absolute;
        top: 50%;
        left: 0px;
        transform: translateY(-50%);
        width: 100%;
        display: inline-flex;
        justify-content: space-between;
        padding: 0px 30px;

        .slider_arrow {
            background: transparent;
            border: 0px;
            cursor: pointer;
        }
    }

    .dots {
        text-align: center;
        margin-top: 10px;

        .dot {
            display: inline-block;
            width: 10px;
            height: 10px;
            margin: 0 5px;
            background-color: #d5523569;
            border-radius: 50%;
            border: 0px;
            cursor: pointer;

            &.active {
                background-color: var(--primary-color);
            }
        }

    }



}

.contact_modal {
    position: fixed;
    display: none;
    width: 800px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    z-index: 200;

    &.modal_open {
        display: block;
    }

    .modal_head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        background: var(--primary-color);

        h5 {
            color: var(--white);
            font-size: 20px;
            font-family: var(--font-family);
            font-weight: normal;
        }

        .close_modal_btn {
            border: 0px;
            background-color: transparent;

            img {
                width: 20px;
            }
        }
    }

    .modal_body {
        padding: 20px 40px;

        .logo {
            height: 60px;
            margin-top: -50px;
            text-align: center;

            img {
                height: 100%;
            }
        }

        .form {
            h4 {
                font-weight: normal;
                font-size: 20px;
                margin-bottom: 5px;
                margin-top: 5px;

                &.mtt {
                    margin-bottom: 0px;
                }
            }

            h5 {
                font-size: 20px;
                margin-bottom: 5px;
            }

            .mbc {
                margin-bottom: 5px;
            }


            label {
                font-family: var(--font-family);
                font-size: 12px;
            }

            small {
                font-family: var(--font-family);
                font-size: 8px;
                line-height: 15px;
            }

            .wpcf7-form-control-wrap {
                display: block;

                .wpcf7-form-control {
                    font-family: var(--font-family);
                    width: 100%;
                    background-color: #F2F2F2;
                    border-radius: 5px;
                    padding: 5px 10px;
                    font-size: 12px;
                    height: 30px !important;
                    border: 1px solid #D5D5D5;

                    &.form-check-input {
                        background-color: transparent;
                        border-radius: 0px;
                        height: 0px !important;
                        border: 0px;
                    }
                }
            }

            .cf7mls-btns:empty {
                display: none;
            }

            .cf7mls-btns {
                text-align: center;
                min-height: 0px;

                button {
                    background-color: var(--blue);
                    color: var(--white);
                    display: block;
                    width: 100%;
                    border-radius: 5px;
                    padding: 5px;
                    font-size: 14px;
                    font-weight: normal;
                    margin-top: 10px;
                    margin-bottom: 0px;
                }
            }

            input.wpcf7-form-control.wpcf7-submit {
                border: 0px;
                padding: 5px 10px !important;
                width: 100%;
                margin-bottom: 0px !important;
                border-radius: 5px !important;
                background: var(--blue);
                font-size: 16px;
                font-weight: 400 !important;
                color: var(--white);
            }

        }
    }
}

.switch {
    padding: 0px;

    p {
        display: flex;
        align-items: center;

        label {
            margin-right: 15px;
        }

        br {
            display: none;
        }

        .wpcf7-form-control-wrap {
            margin-top: -30px;

            .wpcf7-form-control {
                padding: 0px;
                margin: 0px;

                .wpcf7-list-item {
                    label {
                        .wpcf7-list-item-label {
                            margin-left: 10px;
                            display: block;
                        }
                    }
                }
            }
        }



    }
}



.form_check {
    padding: 0px;

    p {
        display: flex;

        br {
            display: none;
        }

        label {
            display: inline-block;
        }

        .wpcf7-form-control-wrap {

            .wpcf7-form-control {
                padding: 0px !important;
                margin: 0px;

                &.form-check-input {
                    padding: 0px !important;
                }
            }
        }
    }
}

.togglebuttons .wpcf7-list-item {
    margin: 0 2px 0 0;
    display: inline-block;
}

.togglebuttons>span input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.togglebuttons>span .wpcf7-list-item-label {
    cursor: pointer;
    display: inline-block;
    color: #333;
    border-radius: 30px;
    background: #efefef;
    padding: 15px 30px;
    position: relative;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    /*border: 1px solid #e0e0e0;*/
    transition: background 0.3s, border 0.3s, color 0.3s;
}

.togglebuttons>span input[type="checkbox"]:checked+.wpcf7-list-item-label {
    background: var(--blue);
    color: var(--white);
}


.togglebuttons>span input[type="checkbox"]+.wpcf7-list-item-label::before {
    content: '';
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    top: 50%;
    left: 25%;
    transform: translate(-50%, -50%);
    transition: left 0.3s;
}


.togglebuttons>span input[type="checkbox"]:checked+.wpcf7-list-item-label::before {
    content: '';
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    top: 50%;
    left: 75%;
    transform: translate(-50%, -50%);
    transition: left 0.3s;
}

/* Toggle on */


/* Move circle to the right when checked */


@media (max-width: 992px) {
    .blockquote {
        padding: 30px 0;
        padding-left: 20px;

        &::before {
            top: 20%;
            width: 3px;
        }

        h2 {
            font-size: 18px;
        }

        p {
            font-size: 14px;
            line-height: 25px;
            margin-bottom: 15px;
        }
    }


    .slider_wrap {
        .slider {
            .slider-item {
                .slider-img {
                    border-radius: 10px;

                    &::after {
                        height: 98.4%;
                        border-radius: 10px;
                    }

                    img {
                        height: 100%;
                    }
                }

                .slider-content {
                    width: 80%;
                    top: 10%;
                    padding-left: 50px;

                    h4 {
                        font-size: 16px;
                        margin-bottom: 5px;
                    }

                    p {
                        font-size: 10px;
                        margin-bottom: 0px;
                        line-height: 15px;
                    }

                    a {
                        border-radius: 5px;
                        font-size: 10px;
                        padding: 5px 10px;
                        margin-top: 10px;
                    }
                }
            }

        }

        .slider_arrow_wrap {
            top:40%;
            padding: 0px 10px;

            .slider_arrow {
                img {
                    width: 20px;
                }
            }
        }
    }

    .contact_modal {
        width: 340px;
        top: 40px;
        max-height: 450px;
        overflow-y: scroll;

        &.modal_open {
            display: block;
        }

        .modal_head {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px;
            background: var(--primary-color);

            h5 {
                font-size: 16px;
            }

            .close_modal_btn {
                img {}
            }
        }

        .modal_body {
            padding: 10px 20px;

            .logo {
                height: 60px;
                margin-top: 0px;
            }

            .form {
                h4 {
                    font-size: 16px;
                    margin-bottom: 5px;
                    margin-top: 5px;

                    &.mtt {
                        margin-bottom: 0px;
                    }
                }

                h5 {
                    font-size: 16px;
                }

                .mbc {
                    margin-bottom: 5px;
                }


                label {
                    font-family: var(--font-family);
                    font-size: 12px;
                }

                small {}

                .wpcf7-form-control-wrap {

                    .wpcf7-form-control {

                        &.form-check-input {}
                    }
                }

                .cf7mls-btns {

                    button {}
                }

                input.wpcf7-form-control.wpcf7-submit {
                    font-size: 14px;
                }

            }
        }
    }
}