/*
Theme Name: Collot Energies
Theme URI: 
Author: Ouest Communication
Author URI: 
Description: 
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0
Text Domain: collot-energieas
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

::-webkit-scrollbar{
width: 10px;
border-radius: 5px;
}
::-webkit-scrollbar-thumb {
    background: #2D5A71;
    border-radius: 5px;
    transition: all 0.15s ease;
}
::-webkit-scrollbar-thumb:hover{
background: #EC6018;
}
::-webkit-scrollbar-track {
    background: #4c90b2;
}
::selection {
    background: #2D5A71;
    text-shadow: none;
}



.main-menu a {
  padding: 10px 10px;
}

.main-menu a:hover {
  background-color: #2E4F61;
  text-decoration: none;
  color: white !important;
  padding: 10px 10px;
}

.scrolling-active .fixed-header {
  position: fixed;
  top: 20px;
  left: 0;
  background-color: white;
  backdrop-filter: blur(15px);
  height: 85px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}



.mob-menu-header-holder{
	pointer-events: none;
}
.mobmenur-container {
  background-color: #0e2201;
  padding: 5px;
  padding-right: 10px;
  border-radius: 10px;
  height: unset !important;
  border: 1px solid #ffffff;
}
.mobmenur-container a{
	pointer-events: auto;
}


.menu-nav .home {
  background: transparent url("https://collot-energies.fr/wp-content/uploads/2025/09/Vector.png") center center no-repeat;
  text-indent: -9999px;
  display: inline-block;
  width: 32px;
  height: 32px;
}

.bouton-scroll {
  z-index:1000;
}

/* Header sticky toujours collé en haut */
.scrolling-active .fixed-header {
  top: 0 !important;
}

/* Si admin bar présente (connecté WP) → on décale en conséquence */
body.logged-in.admin-bar .scrolling-active .fixed-header {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  body.logged-in.admin-bar .scrolling-active .fixed-header {
    top: 46px !important;
  }
}


