/*
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 */

/* Supprimer l'encadrer des liens on click */
a:focus {
    outline:none !important;
}

/* Marges blog excerpt */
.blog-entry.post ul.meta {
  margin: 0 0 5px !important;
}
.blog-entry.post .blog-entry-summary {
  margin-bottom: 10px !important;
}

/* Bord photo archives et article */
.blog-entry.post .thumbnail img, .single .thumbnail img {
    border-bottom: 3px solid #CF2E2E;
}

/* Fixer le menu d'en-tête on scroll */
#site-header {
    position: sticky; 
    top: 0px; /* Edit until it suits your header, mine was 32px */
    z-index: 2000;
    opacity: 1;
 }

/* Style du mega menu */
.navigation .megamenu > li > a.menu-link {
  font-size: 13px;
  font-weight: 400 !important;
}  

/* Style du texte widget footer */ 
#footer-widgets .footer-box {
   font-size: 14px;
   text-align: left;
}

/* Sélecteur float Gtranslate*/
.gt_float_switcher img {
  vertical-align: middle;
  display: inline-block;
  width: 25px !important;
  height: auto;
  margin: 0 5px 0 0;
  border-radius: 3px;
}
.gt_float_switcher .gt-selected .gt-current-lang {
  padding: 6px 12px !important;
  color: #333;
  font-weight: bold;
}
.gt_float_switcher {
  font-family: Arial;
  font-size: 16px !important;
  color: #555;
  line-height: 16px !important;
}

/* Style des listes à puces */
.entry li {
    list-style-type: disc !important;
    margin-left: 20px;
} 
.entry li li {
    list-style-type: circle !important;
    margin-left: 10px;
}
.footer-widget li {
    list-style-type: disc !important;
    margin-left: 10px;
}
.sidebar-box.widget_rss.clr li {
    list-style-type: disc !important;
    margin-left: 20px;
} 

.oceanwp-recent-posts li {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  line-height: 1.4 !important;
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px solid #e9e9e9 !important;
}

/* Supprimer puces métadonnées archives */
.meta.obem-default.clr li {
    list-style-type: none !important;
    margin-left: 0px;	
}	

/* WpForms */
input[type="text"], input[type="password"], input[type="email"], input[type="date"], input[type="number"], input[type="tel"], input[type="search"]:not(#media-search-input) {
  max-width: 100%;
  width: 100%;
  border: 1px solid #c3c3c5;
  padding: 10px 20px;
  line-height: 24px;
  border-radius: 0;
  margin-bottom: 12px;
  color: #666666;
  font-style: italic;
  text-align: left !important;
  background: #fff;
}
:root {
  --wpforms-button-background-color: #333333 !important;
}
.wpforms-container textarea.wpforms-field-large {
  height: 220px;
  text-align: left !important;  
}
.wpforms-container textarea.wpforms-field-medium {
  text-align: left !important;  
}
.wpforms-container textarea.wpforms-field-small {
  text-align: left !important;  
}
.wpforms-field-description {
    color: #CF2E2E !important;
}
div.wpforms-container-full input[type="submit"]:not(:hover):not(:active), div.wpforms-container-full button[type="submit"]:not(:hover):not(:active), div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active) {
  background-color: #CF2E2E;
  color: #fff;
}
div.wpforms-container-full input[type="submit"]:hover, div.wpforms-container-full button[type="submit"]:hover, div.wpforms-container-full .wpforms-page-button:hover {
  background-color: #CF2E2E;
  color: #fff;
}
div.wpforms-container-full .wpforms-confirmation-container-full, div[submit-success] > .wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
  background: #FFE1E1 !important;
  border: 1px solid #CF2E2E !important;
  box-sizing: border-box;
}

/* WpForms placeholder */ 
.wpforms-container ::-webkit-input-placeholder { /* Chrome and Safari */
   color: #aaa !important;
}
.wpforms-container :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color: #aaa !important;
   opacity: 1 !important;
}
 
.wpforms-container ::-moz-placeholder { /* Mozilla Firefox 19+ */
   color: #aaa !important;
   opacity: 1 !important;
}
 
.wpforms-container :-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: #aaa !important;
}
 
.wpforms-container ::-ms-input-placeholder { /* Microsoft Edge */
   color: #aaa !important;
}
 
.wpforms-container ::placeholder {
   color: #aaa !important;
}	

/* CookieYes */
.cky-revisit-bottom-left:hover::before {
  content: attr(data-tooltip);
  position: absolute;
  background: #594949 !important;
  color: #ffffff;
  left: calc(100% + 7px);
  font-size: 12px;
  line-height: 16px;
  width: max-content;
  padding: 4px 8px;
  border-radius: 4px;
}
.cky-revisit-bottom-left:hover::after {
  position: absolute;
  content: "";
  border: 5px solid transparent;
  left: calc(100% + 2px);
  border-left-width: 0;
  border-right-color: #594949 !important;
}
.cky-revisit-bottom-right:hover::before {
  content: attr(data-tooltip);
  position: absolute;
  background: #594949 !important;
  color: #ffffff;
  right: calc(100% + 7px);
  font-size: 12px;
  line-height: 16px;
  width: max-content;
  padding: 4px 8px;
  border-radius: 4px;
}
.cky-revisit-bottom-right:hover::after {
  position: absolute;
  content: "";
  border: 5px solid transparent;
  right: calc(100% + 2px);
  border-right-width: 0;
  border-left-color: #594949 !important;
}
.cky-show-desc-btn:hover {
 background: #ffffff !important;
}
.cky-accordion-btn:hover {
 background: #ffffff !important;
}

/* Centrer l'avatar auteur horizontalement sur les articles */
.post-author-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Aligner à gauche l'icone rss.png du footer */
.rss-widget-icon {
  float:left !important;
  margin-right: 10px !important;
}

/* Popular Post thumbnail styles */
.wpp-thumbnail {
  display: inline;
  float: left;
  width:68px;
  margin-right:4%;
  border-radius:3px;
}
