/*
Theme Name: Ontario - Child
Author: GT3themes
Author URI: https://gt3themes.com
Description: -
Version: 1.0
Template: ontario
*/
@import url("../ontario/style.css");

/* ==========================================================================
   YERLIARAC - TUM SAYFALAR HEADER SPACING & BREADCRUMB ZIRHI
   (Ana sayfa haric tum sayfalarda menu payi birakir, breadcrumbi one alir)
   ========================================================================== */
body:not(.home):not(.front-page) .gt3-post-title_wrapper,
body:not(.home):not(.front-page) .gt3-page-title_wrapper {
    padding-top: 120px !important;
}

body:not(.home):not(.front-page):not(:has(.gt3-post-title_wrapper)):not(:has(.gt3-page-title_wrapper)) .site_wrapper > .main_wrapper {
    padding-top: 110px !important;
}

body:not(.home):not(.front-page) .gt3_breadcrumb {
    margin-bottom: 15px !important;
    position: relative;
    z-index: 5;
}

@media (max-width: 991px) {
    body:not(.home):not(.front-page) .gt3-post-title_wrapper,
    body:not(.home):not(.front-page) .gt3-page-title_wrapper {
        padding-top: 95px !important;
    }
    body:not(.home):not(.front-page):not(:has(.gt3-post-title_wrapper)):not(:has(.gt3-page-title_wrapper)) .site_wrapper > .main_wrapper {
        padding-top: 90px !important;
    }
}

@media (max-width: 767px) {
    body:not(.home):not(.front-page) .gt3-post-title_wrapper,
    body:not(.home):not(.front-page) .gt3-page-title_wrapper {
        padding-top: 85px !important;
    }
    body:not(.home):not(.front-page):not(:has(.gt3-post-title_wrapper)):not(:has(.gt3-page-title_wrapper)) .site_wrapper > .main_wrapper {
        padding-top: 80px !important;
    }
}

/* ==========================================================================
   ELEMENTOR & MASAUSTU MENU BREAKPOINT ZIRHI (1024px - 1199px)
   Editorde sol panel acikken veya dar masaustu ekranlarda menunun mobilleşmesini onler
   ========================================================================== */
@media (min-width: 1024px) {
    /* Hamburger butonunu gizle */
    .elementor-widget-wpda-builder-menu .wpda-mobile-navigation-toggle {
        display: none !important;
    }
    
    /* Yatay menuyu zorunlu ac ve gorunur kil */
    .elementor-widget-wpda-builder-menu .wpda-navbar-collapse {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        overflow: visible !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: block !important;
    }
    
    .elementor-widget-wpda-builder-menu nav.wpda-builder-menu > ul.wpda-menu {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .elementor-widget-wpda-builder-menu nav.wpda-builder-menu > ul.wpda-menu > li {
        display: inline-block !important;
        margin: 0 10px !important;
    }
}

/* Elementor editor modundayken masaustu gorunumdeysen her kosulda yatay menuyu goster */
body.elementor-editor-active .elementor-device-desktop .elementor-widget-wpda-builder-menu .wpda-mobile-navigation-toggle {
    display: none !important;
}

body.elementor-editor-active .elementor-device-desktop .elementor-widget-wpda-builder-menu .wpda-navbar-collapse {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: none !important;
}

body.elementor-editor-active .elementor-device-desktop .elementor-widget-wpda-builder-menu nav.wpda-builder-menu > ul.wpda-menu {
    display: flex !important;
    flex-direction: row !important;
}

