/* 
Theme Name: Paganini Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Paganini 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: paganini-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
*/

/* Styles */



/* GENERAL */

.text-semibold {
    font-weight: 600 !important;
}

.wrap-text {
    overflow-wrap: break-word !important
}

.wpr-sub-mega-menu {
    border-top: 1px solid #C9252B !important;
}

.mega-menu a:hover, .mega-menu .e-n-accordion-item-title-text:hover {
    color: #C9252B !important;
}

.mega-menu summary[aria-expanded="true"] .e-n-accordion-item-title-text {
    font-weight: 800 !important;
}

.gtranslate_wrapper a[title="Italian"] {
    margin-left: 10px;
}

.gtranslate_wrapper img {
    width: 20px;
}

input[type="file"] {
    background-color: unset !important;
}

.has-post-thumbnail .post-loop-item .featured-image, .has-post-thumbnail .event-loop-item .featured-image {
    background-color: #F7F7F7 !important;
    background-size: cover !important;
    background-position: center !important;
}


/* HOME */

.partner-grid {
    grid-template-rows: min-content;
}

.home-cta-content {
    max-width: 800px;
}

.home-cta-content .newsletter-form .elementor-field-group-email input {
    padding-top: 13px;
    padding-bottom: 13px;
}


/* PERSONALE DOCENTE */

.docente-featured-image, .docente-featured-image-inner {
    background-size: cover !important;
}



/* BREAKPOINTS */

/* Tablet -> Desktop */
@media (min-width: 767px) {

    .home-cta-content .newsletter-form .elementor-form-fields-wrapper {
        display: grid !important;
        grid-template-columns: 1fr;
    }

    .home-cta-content .newsletter-form .elementor-field-group-email {
        grid-column: 1/-1;
        grid-row: 1;
        padding-right: 20px !important;
    }

    .home-cta-content .newsletter-form .elementor-field-group-email input {
        padding-top: 13px;
        padding-bottom: 13px;
    }

    .home-cta-content .newsletter-form .elementor-field-type-submit {
        grid-column: 2/-1;
        grid-row: 1;
    }

    .home-cta-content .newsletter-form .elementor-field-type-acceptance label {
        font-size: 16px;
        order: 1;
        grid-column: span 2;
    }

}

/* Mobile */
@media (max-width: 766px) {
    .tabs-accordion .e-n-tabs-heading {
        display: grid !important;
        gap: 20px !important;
        grid-template-columns: 1fr !important
    }
}