/**
Theme Name: G&V Crepi
Author: Synio
Author URI: https://syn.io
Description: Theme for G&V Crepi
Version: 0.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gvcrepi
Template: hello-elementor
*/

.gv-main-header {
    transition: all 0.3s ease-in-out;
    width: 100% !important;
    left: 0 !important;
}

.gv-main-header.header-scrolled {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
}

.gv-main-header.header-hidden {
    transform: translateY(-100%);
}

.elementor-widget-text-editor a {
    text-decoration: underline;
}

.elementor-kit-5 button:focus,
.elementor-kit-5 input[type="button"]:focus,
.elementor-kit-5 input[type="submit"]:focus,
.elementor-kit-5 .elementor-button:focus {
    background: inherit;
    color: inherit;
    box-shadow: inherit;
}

.elementor-widget-taxonomy-filter .e-filter-item[aria-pressed=true] {
    font-weight: bold !important;
}

.gv-language-switcher .lang-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 4px;
}

.gv-language-switcher .lang-list li {
    display: inline-block;
    margin: 0;
}

.gv-language-switcher .lang-list li a {
    font-weight: bold;
    color: var(--e-global-color-secondary);
    padding: 3px 7px;
    border-radius: 10px 10px 10px 10px;
    font-size: var(--e-global-typography-accent-font-size);
    transition: all 0.3s ease;
}

.gv-language-switcher .lang-list li a:hover {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.gv-language-switcher .lang-list li.active a {
    background-color: var(--e-global-color-secondary);
    color: white;
}

body.translatepress-fr_FR header .main-menu li a {
    font-size: 23px !important;
}

ul {
    margin-bottom: 1em;
}

@media (max-width: 1180px) {
    body.translatepress-fr_FR header .main-menu li a {
        font-size: 20px !important;
    }
}

@media (min-width: 1025px) {
    .hero .elementor-widget-heading h1 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero .elementor-widget-heading h1 span:first-child {
        background: white;
        padding: 20px 20px 14px;
        color: var(--e-global-color-primary);
        display: block;
    }
    .hero .elementor-widget-heading h1 span:nth-child(2) {
        margin-top: -14px;
        background: var(--e-global-color-primary);
        padding: 20px 20px 14px;
        color: white;
        display: block;
    }
}
