/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

body {
    font-family: 'Poppins', sans-serif;
    a {
        color: #111;
        font-weight: 600;
        transition: all ease-in-out .3s;
        &:hover {
            color: #1352ff;
        }
    }

}

.service-wrapper {
    overflow: hidden;
    transition: all ease-in-out .5s;
    background-repeat: no-repeat;
    background-size: cover!important;
    .animated-title {
        position: absolute;
        bottom: 0;
        left: auto;   
    }
    .animated-block {
        transform: translateY(150%);
        opacity: 0;
        transition: all ease-in-out .3s;
    }
    &:hover {
        .animated-title {
            position: unset;
            transition: all ease-in-out .3s;
        }
        .animated-block {
            transform: translateY(0);
            opacity: 1;
            animation: FadeIn80 .3s ease-in-out;
        }

    }
}
@keyframes FadeIn80 {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

span.section-title {
    text-align: center;
    padding: 5px 20px;
    border: 1px solid #1352ff;
    border-radius: 24px;
    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #1352ff;
        display: inline-block;
        margin-right: 10px;
    }
    @media screen and (max-width: 768px) {
        width: 100%;
        text-align: center;
        padding: 5px 20px;
        border: 1px solid #1352ff;
        border-radius: 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
.page-title-small {
    border: 1px dashed white;
    width: fit-content;
    padding: 10px 20px;
    border-radius: 12px;
    h1 {
        font-size: 18px!important;
        line-height: calc(18px * 1.2);
        @media screen and (max-width: 480px) {
            font-size: 14px;
            line-height: calc(14px * 1.2);
        }
        &::before {
            content: '';
            display: inline-block;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: white;
            margin-right: 10px;
        }
    }
}
.page-title-small-colored {
    border: 1px dashed #1352ff;
    width: fit-content;
    padding: 10px 20px;
    border-radius: 12px;
    h2 {
        font-size: 18px!important;
        line-height: calc(18px * 1.2);
        @media screen and (max-width: 480px) {
            font-size: 14px;
            line-height: calc(14px * 1.2);
        }
        &::before {
            content: '';
            display: inline-block;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: #1352ff;
            margin-right: 10px;
        }
    }
}
.rank-math-breadcrumb {
    font-size: 18px;
    line-height: calc(18px * 1.2);
    @media screen and (max-width: 480px) {
        font-size: 14px;
        line-height: calc(14px * 1.2);
    }
    a {
        color: white;
        cursor: pointer;
        font-weight: bold;
        &:hover {
            color: #ffdb51;
        }
    }
    span.separator {
        color: white;
        font-weight: bold;
    }
    span.last {
        color: white;
    }
}

/** Location Lists **/
.dynamic-taxonomies {
    padding: 20px 20px;
    .elementor-shortcode {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-between;
        align-items: flex-start;
        align-content: center;
        width: 100%;
        margin: auto;
        .taxonomies-list {
            max-width: calc(100% / 3 - 80px);
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 20px;
            .parent-taxonomy-title {
                padding: 10px 20px;
                background: #1352ff;
                color: white;
                border-radius: 12px;
                width: 100%;
            }
            ul.children-taxonomies-list {
                list-style-type: none;
                padding: 0;
                li {
                    margin-bottom: 10px;
                    width: 100%;
                    a {
                        text-decoration: none;
                        color: #111;
                        font-weight: 600;
                        transition: all ease-in-out .3s;
                        position: relative;
                        &::before {
                            content: "";
                            width: 0px;
                            height: 0px;
                            background: #111;
                            position: absolute;
                            right: 0;
                            top: 50%;
                            transform: translateY(-50%);
                            transition: all ease-in-out .3s;
                        }
                        &:hover {
                            color: #1352ff;
                            &::before {
                                width: 25px;
                                height: 1px;
                                border-radius: 4px;
                                transform: translateX(30px);
                            }
                        }
                    }
                }
            }
            @media screen and (max-width: 1366px) {
                max-width: calc(100% / 2 - 40px);
            }
            @media screen and (max-width: 768px) {
                max-width: 100%;
            }
        }
    }
}
.childrens-taxonomies {
    .elementor-shortcode {
        .childrens-taxonomy-list {
            max-width: 100%;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            gap: 20px;
            width: 100%;
            flex-grow: 1;
            justify-content: space-between;
            padding-inline-start: 0px;
            .child-taxonomy-item-li {
                max-width: calc(100% / 3 - 20px);
                width: 100%;
                display: flex;
                flex-direction: column;
                gap: 5px;
                background: #F1F1F2;
                padding: 10px;
                border-radius: 24px;
                .child-taxonomy-item-a {
                    text-decoration: none;
                    color: #111;
                    font-weight: 600;
                    transition: all ease-in-out .3s;
                    position: relative;
                    &:hover {
                        color: #1352ff;
                    }
                    img {
                        width: 100%;
                        height: 250px;
                        object-fit: cover;
                        border-radius: 14px;
                        object-position: center;
                    }
                }
                .child-tax-description {
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 3;
                    -webkit-box-orient: vertical;
                    color: #111;
                    font-size: 14px;
                }
                button.child-tax-link-button {
                    padding: 10px 20px;
                    border-radius: 12px;
                    background: #1352ff;
                    border: 1px solid #1352ff;
                    cursor: pointer;
                    transition: all ease-in-out .3s;
                    .child-tax-link-a {
                        color: white;
                    }
                    &:hover {
                        background: transparent;
                        border: 1px solid #1352ff;
                        .child-tax-link-a {
                            color: #1352ff;
                        }
                    }
                }
                @media screen and (max-width: 1366px) {
                    max-width: calc(100% / 2 - 20px);
                }
                @media screen and (max-width: 768px) {
                    max-width: 100%;
                }
            }
        }
    }
}