/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/






/* CERVI_HEADER_HOVER_BLUE_V1
 * Salient: header trasparente -> azzurro su hover/focus.
 * Solo desktop; sticky e mobile invariati.
 */
@media screen and (min-width: 1000px) and (hover: hover) and (pointer: fine) {

  body #header-outer.transparent[data-transparent-header="true"]:hover,
  body #header-outer.transparent[data-transparent-header="true"]:focus-within {
    background-color: #A3D7DE !important;
  }

}
/* END CERVI_HEADER_HOVER_BLUE_V1 */

/* CERVI_MOBILE_MENU_BLUE_V1
 * Header azzurro e opaco mentre il menu mobile e aperto.
 * Menu chiuso e desktop invariati.
 */
@media screen and (max-width: 999px) {

  body #header-outer:has(
    .slide-out-widget-area-toggle a[aria-expanded="true"]
  ),
  body #header-outer:has(
    .slide-out-widget-area-toggle a:not(.closed)
  ) {
    background-color: #A3D7DE !important;
  }

}
/* END CERVI_MOBILE_MENU_BLUE_V1 */
