/*
 Theme Name:   TennisClub Child Theme
 Theme URI:    https://tennisclub.themerex.net/
 Description:  Tennis SportClub Child Theme
 Author:       ThemeREX
 Author URI:   https://themerex.net/
 Template:     tennisclub
 Version:      2.0.98
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  tennisclub
*/


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


/*** GENERALS ***/
.trx_addons_extended_taxonomy{color: white !important;}
.sc_services_item_subtitle span{color: black !important;}
.sc_blogger .sc_blogger_item_title a:hover{color: #006f9f !important;} /*color blau*/
.sc_blogger_portestate .sc_blogger_item .sc_blogger_item_content .sc_blogger_item_meta .post_categories a:hover{color: #006f9f !important;} /*color blau*/

.trx_addons_scroll_to_top.trx_addons_scroll_to_top.trx_addons_scroll_to_top:hover{background-color: #006f9f !important;}

.wp-block-button.is-style-outline>.has-text-dark-color.wp-block-button__link:hover{border-color: black !important; background: black !important; color: white !important;}
.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width: auto !important;}
.wp-block-button.is-style-outline .wp-block-button__link{border-color: black !important;}



/*** HOME ***/
.sc_blogger_lay_portfolio_grid.sc_blogger_lay_portfolio_grid_grid_style_3 .sc_blogger_item .sc_blogger_item_body .post_featured .post_info_bl .sc_blogger_item_title a:hover{color: #006f9f !important;}

.sc_services_default .sc_services_item .sc_services_item_title, .sc_services_default .sc_services_item .sc_services_item_title a:hover{color: #006f9f !important;}
.sc_services_default.color_style_dark .sc_services_item_subtitle, .sc_services_default.color_style_dark .sc_services_item_subtitle a:hover{color: #006f9f !important;}

.sc_button:not(.sc_button_simple):hover{background: white !important; color: #006f9f !important; font-weight: bold !important; border: 1px solid #006f9f !important;}


/*** MENÚ ***/
li.reserva{background: #006F9F !important; color: white !important;}
li.reserva a{color: white !important;}
.sc_layouts_menu_nav>li.current-menu-item.reserva>a{color: white !important;}
li.reserva a:hover, li.reserva a:visited, li.reserva a:active{color: white !important;}
li.reserva a:hover{color: white !important;}

.menu_mobile .menu_mobile_nav_area{max-height: 100% !important;}

/*** INSTAL·LACIONS DETALLADES ***/
.widget_contacts{padding-top: 25px !important;}
/*@media (max-width: 767px){
        .sidebar_inner{padding-top: 40px !important;}
        .widget_contacts{padding-top: 40px !important;}
}*/


/*** BLOG I CATEGORIES ***/
.post_header_single .post_meta.post_meta_categories a{background-color: #006f9f !important; color: white !important;}
.post_header_single .post_meta.post_meta_categories a:not(.post_sponsored_label){background-color: #006f9f !important; color: white !important;}


/*** ACTIVITATS - EVENT CALENDAR ***/
.tribe-common--breakpoint-medium.tribe-events .tribe-events-header--has-event-search{margin-top: -80px !important;}

.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button, 
.tribe-common .tribe-common-c-btn, .tribe-common a.tribe-common-c-btn, .tribe-common .tribe-common-c-btn:focus, 
.tribe-common .tribe-common-c-btn:hover, .tribe-common a.tribe-common-c-btn:focus, .tribe-common a.tribe-common-c-btn:hover, 
.tribe-common button.tribe-common-c-btn:focus, .tribe-common button.tribe-common-c-btn:hover, 
.tribe-events .tribe-events-c-search__button, .tribe-events button.tribe-events-c-search__button{background-color: #006f9f !important;}
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button .tribe-events-c-subscribe-dropdown__button-text{background-color: #006f9f !important; color: white !important;}
.tribe-events-content a{border-bottom: none !important;}
.tribe-events-content a:hover{color: #006f9f !important;}
#tribe-events-footer .tribe-events-sub-nav li a:hover{color: #006f9f !important;}
.tribe-events .tribe-events-calendar-list__event-datetime-wrapper .tribe-events-calendar-list__event-datetime:before{color: #006f9f !important;}
.tribe-common a:not(.tribe-common-anchor--unstyle):hover{color: #006f9f !important;}
.tribe-events .tribe-events-c-messages__message--notice:before,
.tribe-events .tribe-events-calendar-latest-past__event-datetime-wrapper .tribe-events-calendar-latest-past__event-datetime:before, .tribe-events .tribe-events-calendar-list__event-datetime-wrapper .tribe-events-calendar-list__event-datetime:before, 
.tribe-events .tribe-events-calendar-day__event-datetime-wrapper .tribe-events-calendar-day__event-datetime:before{color: #006f9f !important;}
.tribe-events .tribe-events-calendar-day__event--featured:after, 
.tribe-events .tribe-events-calendar-list__event-row--featured .tribe-events-calendar-list__event-date-tag-datetime:after{background-color: #006f9f !important;}
.tribe-common .tribe-common-c-svgicon{color: #006f9f !important;}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link:after{background-color: #006f9f !important;}
.tribe-events-gmap, .single-tribe_events .tribe-events-event-meta a{color: #0f0f0f !important;}
.tribe-events-gmap a:hover, .single-tribe_events .tribe-events-event-meta a:hover{color: #006f9f !important;}
.tribe-events .datepicker .day.active, .tribe-events .datepicker .day.active.focused, 
.tribe-events .datepicker .month.active, 
.tribe-events .datepicker .month.active.focused, 
.tribe-events .datepicker .year.active, .tribe-events .datepicker .year.active.focused{background-color: #006f9f !important;}

.sc_layouts_title_title>.sc_layouts_title_caption{line-height: 1.1em !important;}


/***calendari***/
.tribe-events .tribe-events-calendar-month__header-column{display: none !important;}



/*** CONTACTE ***/
.wpcf7 .wpcf7-submit-style .submit-style-in{background-color: #006f9f !important;}
.wpcf7 .wpcf7-submit-style .wpcf7-submit:hover{text-decoration: underline !important;}



/*** FOOTER - NEWSLETTER ***/
.correu{width: 80% !important;}
.submit{margin-bottom: 10px !important; margin-top: 10px !important;}
.submit:hover{text-decoration: underline; background-color: #006f9f !important;}
.email-wrapper {
    position: relative;
    display: inline-block;
    width: 100%; /* Ajusta segons el teu disseny */
}

.email-wrapper .correu {
    padding-left: 40px; /* Espai per a la icona */
    width: 100%;
    box-sizing: border-box;
}

.email-wrapper .email-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #666; /* Ajusta el color perquè coincideixi amb el teu tema */
}

.email-wrapper .email-icon::before {
    content: "\f0e0"; /* Codi de Font Awesome per a l'icona de sobre (envelope) */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}