/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/* Top bar visible en haut */
#top-bar-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
}

/* Header en dessous de la top bar */
#site-header {
  position: fixed;
  top: 32px; /* ⚠️ ajuste cette valeur */
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #B90000;
  color: #fff
}

/* Décale le contenu */
#main {
  margin-top: 120px; /* ⚠️ ajuste aussi */
}

@media (max-width: 767px) {

  #top-bar-wrap {
    position: fixed;
  }

  #site-header {
    position: fixed;
    margin-top: 52px !important;
  }

}

.oceanwp-post-list.two .oceanwp-post-category, .oceanwp-post-list.two .oceanwp-post-excerpt p {
  display: none;
}

.oceanwp-post-list.two article:hover .slide-overlay-wrap {
  background-color: #B90000;
}

.blog-entry.large-entry .blog-entry-readmore a {
  background-color: #B90000;
  color: #fff;
}

.blog-entry.large-entry .blog-entry-readmore a:hover {
	color: #000 !important;
	border-color: #000 !important;
}

/* CONTACT */

.cf7-row {
  display: flex;
  gap: 15px;
}

.cf7-col {
  flex: 1;
}

.cf7-col input {
  width: 100%;
}

input[type="submit"]{
  background-color: #B90000;
    display: block;
  margin: 0 auto;
  width: 100%;
  margin-top: 10px !important;

}

input[type="submit"]:hover {
  background-color: #ff4444;
}

@media (max-width: 768px) {
  .cf7-row {
    flex-direction: column;
  }
}

.widget-title {
  border-color: #B90000;
}

button[type="submit"] {
  background-color: #B90000 !important;
}

button[type="submit"]:hover{
  background-color: #000 !important;
}

#wp-calendar caption {
  color:#B90000 !important;
}