/*
Theme Name: Elementra Child Theme
Theme URI: https://elementra.themerex.net/
Description: Elementra is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: ThemeREX
Author URI: https://themerex.net/
Version: 2.0.2
Tested up to: 7.0
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: elementra
Template: elementra
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-20px, 0, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(20px, 0, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.btn.btn-outline-black,
.elementor-button-outline-black .elementor-button {
    background-color: transparent !important;
    border: 1px solid #1D1D1F !important;
    min-width: 210px;
    max-width: 280px !important;
    padding: 1rem 2rem;
    border-radius: 30px !important;
    color: #1D1D1F !important;
    fill: #1D1D1F !important;
    font-size: 15px;
    font-weight: 600;
}

.btn.btn-outline-black:hover,
.elementor-button-outline-black .elementor-button:hover {
    background-color: #1D1D1F !important;
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

.btn.btn-outline-white,
.elementor-button-outline-white .elementor-button {
    background-color: transparent !important;
    border: 1px solid #FFFFFF !important;
    min-width: 210px;
    max-width: 280px !important;
    padding: 1rem 2rem;
    border-radius: 30px !important;
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
    font-size: 15px;
    font-weight: 600;
}

.btn.btn-outline-white:hover,
.elementor-button-outline-white .elementor-button:hover {
    background-color: #FFFFFF !important;
    color: #1D1D1F !important;
    fill: #1D1D1F !important;
}

.btn.btn-white,
.elementor-button-white .elementor-button {
    background-color: #FFFFFF !important;
    border: none !important;
    min-width: 210px;
    max-width: 280px !important;
    padding: 1rem 2rem !important;
    border-radius: 30px !important;
    color: #1D1D1F !important;
    fill: #1D1D1F !important;
    font-size: 15px;
}

.btn.btn-white:hover,
.elementor-button-white .elementor-button:hover {
    background-color: #1D1D1F !important;
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

/* Contact Form 7 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"] {
    width: 100%;
    background-color: #FFFFFF !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 18px 24px !important;
    font-size: 14px;
    color: #1D1D1F;
    margin-bottom: 20px;
}

.wpcf7-form textarea {
    width: 100%;
    min-height: 180px;
    background-color: #FFFFFF !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 20px 24px !important;
    font-size: 14px;
    color: #1D1D1F;
    resize: vertical;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #1D1D1F;
    opacity: 0.65;
}

.wpcf7-form input[type="submit"] {
    background-color: #FFFFFF !important;
    min-width: 210px;
    max-width: 280px !important;
    color: #1D1D1F !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 1rem 2rem !important;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    width: fit-content;
}

/* .wpcf7-form input[type="submit"]:hover {
  background-color: #1D1D1F !important;
  color: #FFFFFF !important;
} */

.form-row-half {
    display: flex;
    gap: 20px;
}

.form-row-half>p {
    flex: 1;
    margin: 0 !important;
}

@media (max-width: 600px) {
    .form-row-half {
        flex-direction: column;
        gap: 0;
    }
}

/* Mobile Carousel Navigation */
@media (max-width: 767.98px) {
    .mobile-carousel-nav {
        --nav-arrow-size: 44px;
        --arrow-gap: 8px;
        --arrow-offset: 50px;
        --arrow-edge-inset: 0px;

        position: relative;
        padding-bottom: var(--arrow-offset);
    }

    .mobile-carousel-nav-full-width {
        --arrow-edge-inset: 24px;
    }

    .mobile-carousel-nav .elementor-swiper-button-prev,
    .mobile-carousel-nav .elementor-swiper-button-next {
        position: absolute !important;
        top: initial !important;
        left: auto !important;
        bottom: 0 !important;
        transform: none !important;
    }

    .mobile-carousel-nav .elementor-swiper-button-next {
        right: var(--arrow-edge-inset) !important;
    }

    .mobile-carousel-nav .elementor-swiper-button-prev {
        right: calc(var(--arrow-edge-inset) + var(--nav-arrow-size) + var(--arrow-gap)) !important;
    }

    .mobile-carousel-nav-full-width .elementor-swiper-button-prev,
    .mobile-carousel-nav-full-width .elementor-swiper-button-next {
        padding-top: 10px;
    }
}

/* Delux header menu tab */
@media (min-width: 1025px) {
    .delux-header-menu-tab .e-n-tab-title:hover,
    .delux-header-menu-tab .elementor-tab-title:hover {
        background-color: #F0F0F0 !important;
    }

    .delux-header-menu-tab .e-n-tab-title[aria-selected="true"],
    .delux-header-menu-tab .e-n-tab-title[aria-selected="true"]:hover,
    .delux-header-menu-tab .elementor-tab-title.elementor-active,
    .delux-header-menu-tab .elementor-tab-title.elementor-active:hover {
        background-color: #EDF0F5 !important;
    }
}

/* No background - (tablet & mobile) */
@media (max-width: 1024px) {
    .delux-header-menu-tab .e-n-tab-title,
    .delux-header-menu-tab .e-n-tab-title:hover,
    .delux-header-menu-tab .e-n-tab-title[aria-selected="true"],
    .delux-header-menu-tab .elementor-tab-title,
    .delux-header-menu-tab .elementor-tab-title:hover,
    .delux-header-menu-tab .elementor-tab-title.elementor-active {
        background-color: transparent !important;
        -webkit-tap-highlight-color: transparent;
    }
}

.delux-header-menu-tab .e-n-tab-title:hover,
.delux-header-menu-tab .e-n-tab-title:hover *,
.delux-header-menu-tab .elementor-tab-title:hover,
.delux-header-menu-tab .elementor-tab-title:hover * {
    color: #1D1D1F !important;
}

.delux-header-menu-tab .e-n-tab-title {
    width: 100%;
    justify-content: space-between !important;
}

.delux-header-menu-tab .e-n-tab-title-text {
    text-align: left;
}

/* Menu underline for active tab - (tablet & mobile) */
@media (max-width: 1024px) {
    .delux-header-menu-tab .e-n-tab-title {
        position: relative;
    }

    .delux-header-menu-tab .e-n-tab-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        background-color: #1D1D1F;
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.6s ease;
    }

    .delux-header-menu-tab .e-n-tab-title[aria-selected="true"]::after {
        transform: scaleX(1);
    }
}

.single-post .post_footer_single {
	display: none !important;
}

.single-post .post_header_wrap {
  display: none !important;
}

.post-text a {
  color: #1a73e8 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.post-text a:hover {
  color: #0b4fb3 !important;
}