/*
Theme Name: Pêche VM
Author: Dominique Senay | Web Mécanique
Author URI: https://webmeca.com
Description: Marges = 25px | Container = 1200px avec padding | Footer à 3 colonnes | Barre latérale dynamique | Image à la une par défaut (blogue et singhle) | Gabarits pour page avec et sans sidebar.
Version: 2.0
Updated: 2022-03-10
*/

/*---------------------------------------------------------------------------
-----------------------------------------------------------------------------
Général
-----------------------------------------------------------------------------
----------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

* {
   padding:0;
   margin:0;
}

html {
   padding:0;
   margin:0;
}

body {
   padding:0;
   margin:0;
   font-size:16px;
   font-weight:300;
   color:#353535;
   font-family:'Open Sans', sans-serif;
   font-style:normal;
   line-height:22px;
   vertical-align:baseline;
}

a {
   color:#3994c8;
   text-decoration:underline;
   text-decoration:none;
   transition:0.3s;
}

a:hover {
   color:#337AB7;
   transition:0.3s;
}

a:focus {
   color:#529edf;
   transition:0.3s;
}

aside,
details,
figcaption,
figure,
video,
footer,
form,
header,
iframe,
main,
menu,
nav,
section,
article,
summary {
   display:block;
}

audio,
canvas,
progress {
   display:inline-block;
   vertical-align:baseline;
}

[hidden],
template {
   display:none;
}

b, strong {
   font-weight:700;
}

p {
   margin:0 0 1.75em;
}

small {
   font-size:80%;
}

sub, sup {
   font-size:75%;
   line-height:0;
   position:relative;
   vertical-align:baseline;
}

sup {
   top:-0.5em;
}

sub {
   bottom:-0.25em;
}

img {
   border:0;
   width:auto;
   height:auto;
   display:block;
}

figure {
   margin:0;
}

hr {
   -webkit-box-sizing:content-box;
   -moz-box-sizing:content-box;
   box-sizing:content-box;
}

pre {
   white-space:pre-wrap;
   white-space:-moz-pre-wrap!important;
   white-space:-pre-wrap;
   white-space:-o-pre-wrap;
   margin:0 0 1.75em;
}

main {
   padding-bottom:80px;
}

section {
   width:100%;
   height:auto;
}

legend {
   border:0;
   padding:0;
}

optgroup {
   font-weight:bold;
}

img.alignright {
   float:right;
   margin:0 0 25px 25px;
}

img.alignleft {
   float:left;
   margin:0 25px 25px 0;
}

img.aligncenter {
   display:block;
   margin:0 auto 25px auto;
}

article {
   padding-top:30px;
   display:block;
   height:auto;
   width:100%;
}

article img {
   max-width:100%;
   display:flex;
   border:0;
   width:auto;
   height:auto;
   margin-bottom:10px;
}

h2, h3, h4, h5 {
   color:#00467f;
}

h1 {
   font-size:32px;
   line-height:42px;
   color:#3994c8;
}

h2 {
   font-weight:bold;
   font-size:20px;
   line-height:25px;
   margin-bottom:20px;
}

h3 {
   color:#353535;
   font-weight:bold;
   font-size:18px;
   line-height:25px;
   margin-bottom:8px;
}

h4 {
   color:#00467f;
   font-weight:bold;
   font-size:22px;
   line-height:25px;
   margin-bottom:20px;
}

h5 {
   color:#3a3a3a;
   text-transform:uppercase;
   font-weight:bold;
   font-size:12px;
}

h6 {
   color:#3a3a3a;
   font-weight:bold;
   font-size:12px;
   margin-top:40px;
}

.alignright {
   float:right;
}

.alignleft {
   float:left;
}

.aligncenter {
   display:block;
   margin-left:auto;
   margin-right:auto;
}

.row, .row-2, .row-3,
.row-article,
.row-article-meta,
.row-footer,
.row-header,
.row-no-wrap {
   display:-ms-flexbox;
   display:flex;
   -ms-flex-wrap:nowrap;
   flex-wrap:nowrap;
   width:100%;
}

.container {
   padding:0 25px;
   max-width:1200px;
   margin-right:auto;
   margin-left:auto;
}

.col-2-gauche {
   max-width:50%;
   width:100%;
   float:left;
   padding:0 50px 0 0;
   box-sizing:border-box;
}

.col-2-droite {
   max-width:50%;
   width:100%;
   float:left;
   padding:0 0 0 35px;
   box-sizing:border-box;
}

.col-3-gauche {
   max-width:33.3333%;
   width:100%;
   float:left;
   padding:0 35px 0 0;
   box-sizing:border-box;
}

.col-3-centre {
   max-width:33.3333%;
   width:100%;
   float:left;
   padding:0 50px;
   box-sizing:border-box;
}

.col-3-droite {
   max-width:33.3333%;
   width:100%;
   float:left;
   padding:0 0 0 50px;
   box-sizing:border-box;
}

input {
   font-family:'Open Sans', sans-serif;
   max-width:50%;
   width:100%;
   border-radius:6px;
   padding:10px 16px;
   margin-top:10px;
   border:1px solid #c8c8c8;
   box-sizing:border-box;
   transition:0.3s;
}

input:focus {
   -moz-box-shadow:0 0 8px #88D5E9;
   -webkit-box-shadow:0 0 8px #88D5E9;
   box-shadow:0 0 8px #88D5E9;
   border:1px solid #6fb9cd;
   transition:0.3s;
}

input[type="radio"] {
   width:unset;
   max-width:unset;
   margin-right:12px;
   margin-bottom:10px;
}

input[type="hidden"] {
   font-size:40px;
}

textarea {
   font-family:'Open Sans', sans-serif;
   max-width:50%;
   width:100%;
   border-radius:6px;
   padding:10px 16px;
   margin-top:10px;
   border:1px solid #c8c8c8;
   box-sizing:border-box;
   transition:0.3s;
}

button {
   font-family:'Open Sans', sans-serif;
   padding:10px 16px;
}

button, input[type="submit"] {
   max-width:260px;
   width:100%;
   cursor:pointer;
   background-color:#00467f;
   border-radius:unset;
   border:unset;
   color:#fff;
   text-transform:uppercase;
   line-height:30px;
   font-size:16px;
   font-weight:bold;
   transition:0.3s;
}

button:hover, input[type="submit"]:hover {
   background-color:#3994c8;
   transition:0.3s;
}

.formulaire-corporatif {
   clear:both;
}

.formulaire-corporatif input[size="8"] {
   max-width:100px;
}

.container-blogue {
   float:left;
   height:100%;
   display:block;
   width:100%;
}

.container-sidebar {
   padding:0;
   width:31%;
   float:left;
}

.row-blogue {
   -ms-flex-wrap:wrap;
   flex-wrap:wrap;
}

.blogue-image-a-la-une img {
   max-height:260px;
   float:left;
   margin-right:25px;
   margin-bottom:20px;
}

.blogue-titre {
   margin-bottom:30px;
}

.nav-single {
   width:100%;
}

.nav-precedent {
   float:left;
   width:50%;
}

.nav-suivant {
   float:left;
   width:50%;
   text-align:right;
}

.entry-title {
   margin:25px 0 40px;
}

.container-blogue .entry-title {
   width:100%;
}

.post-date {
   margin-bottom:8px;
}

.entry-content {
   margin:0;
   padding:0;
}

.blogue-titre-single {
   margin-bottom:4px;
}

.article-blogue {

}

.article-categorie {
   font-size:0.9em;
   width:50%;
   float:left;
}

.article-date {
   margin-bottom:30px;
   font-size:0.9em;
   width:100%;
}

.article-auteur {
   font-size:0.9em;
   width:50%;
   float:left;
   text-align: right;
}

.article-contenu {
   margin:0;
   padding:0;
}

.blogue-navigation {
   margin-bottom:10px;
}

.tags {
   font-size:12px;
}

.tags ul li {
   display:inline;
   margin-right:10px;
   color:#ef795a;
}

.tags ul li::after {
   content:",";
}

.tags ul li:last-child::after {
   content:"";
}

.liens-billets a {
   font-weight:700;
   padding:30px 25px 0;
   text-decoration:none;
   cursor:pointer;
   display:block;
}

.liens-retour a {
   font-weight:400;
   background-color:#3994c8;
   border-radius:10px;
   padding:8px 25px;
   text-decoration:none;
   color:#fff;
}

.liens-retour a:hover {
   background-color:#327fab;
}

.blogue-bouton {
   width:180px;
   height:auto;
   line-height:40px;
   display:block;
   border:0;
   background-color:#3994c8;
   font-size:14px;
   color:#fff;
   cursor:pointer;
   transition:0.3s;
}

.blogue-bouton a {
   color:#fff;
   text-decoration:none;
}

.blogue-bouton:hover {
   background-color:#327fab;
   transition:0.3s;
}

/*---------------------------------------------------------------------------
-----------------------------------------------------------------------------
Accueil
-----------------------------------------------------------------------------
----------------------------------------------------------------------------- */

.huge_it_slideshow_image_container_3 {
   top:0!important;
}

#huge_it_slideshow_image_3_0 {
   display:unset;
}

.accueil-logo {
   max-width:200px;
   margin-right:10px;
}

.carrousel {
   width:100%;
   height:auto;
   max-width:1800px;
   margin:0 auto;
   position:relative;
   z-index:8;
   top:0;

}

.carrousel img {
   width:100%;
   max-width:1800px;
   margin:0 auto;
   z-index:8;
   top:0;
   position: absolute;
   left:50%;
   transform:translate(-50%, 0);
}

.carrousel-ecriture {
   color:#fff;
   position:relative;
   display:block;
   top:200px;
   margin:0 auto;
   background-color:rgba(255,255,255,0.58);
   border-radius:16px;
   z-index:9;
   width:70%;
}

.carrousel-ecriture h1 {
   text-align:center;
   padding:10px 20px;
   box-sizing:border-box;
   font-size:26px;
   color:#343434;
}

.entry-title-accueil {
   margin-bottom:20px;
}

.accueil-reserver {
   color:#00467f;
   width:unset;
   display:block;
   text-decoration:underline;
   float:right;
}

.fleche {
   padding-top:8px;
   padding-right:8px;
   animation-name:fleche;
   animation-iteration-count:infinite;
   animation-duration:2.2s;
   float:right;
}

@keyframes fleche {
   0% {padding-right:8px;}
   50% {padding-right:36px;}
   0% {padding-right:8px;}
}

/*---------------------------------------------------------------------------
-----------------------------------------------------------------------------
Header
-----------------------------------------------------------------------------
----------------------------------------------------------------------------- */

header {
   background:linear-gradient(#e9e9e9,#c5c5c5);
   width:100%;
   height:auto;
   border-bottom:1px solid #b4b4b4;
}

.col-logo {
   width:180px;
   float:left;
}

.col-navigation {
   width:100%;
   max-width:1020px;
   float:left;
}

.custom-logo {
   vertical-align:middle;
   height:auto;
   float:left;
   margin:9px 0;
   max-width:90px;
   transition:max-width 0.3s;
}

/*---------------------------------------------------------------------------
-----------------------------------------------------------------------------
Navigation
-----------------------------------------------------------------------------
----------------------------------------------------------------------------- */

#navigation-primaire {
   float:right;
   max-width:unset;
   width:100%;
}

#primaire {
   max-height:80px;
   float:right;
}

#primaire li {
   display:block;
   margin:0 12px;
   float:left;
   width:auto;
   line-height:81px;
   page-break-after:always;
   letter-spacing:0.03em;
   color:#3a3a3a;
   text-transform:uppercase;
   font-family:"Open Sans", sans-serif;
   font-weight:bold;
   font-size:12px;
   transition:0.3s;
}

#primaire li:last-child {
   margin-right:0;
}

#primaire li a {
   color:#353535;
   padding:32px 0;
   text-decoration:none;
}

#primaire li a:hover {
   transition:0.3s;
   color:#337AB7;
}

#primaire li a:focus {
   transition:0.3s;
   color:#73acde;
}

#primaire li a:hover + .sub-menu {
   opacity:1;
   filter:alpha(opacity=1);
   visibility:visible;
   transition:0.3s;
   color:#464646;
   font-weight:700;
}

#primaire .menu-item-has-children a::after {
   display:block;
   content:url("http://localhost/vierge/wp-content/themes/peche-vm/images/fleche-menu-guide-de-peche.png");
   float:right;
   margin-left:4px;
}

#primaire .menu-item-has-children .sub-menu li a::after {
   content:"";
   display:unset;
   float:unset;
   margin-left:unset;
}

#primaire li ul:hover {
   opacity:1;
   filter:alpha(opacity=1);
   transition:0.4s;
   visibility:visible;
}

#primaire li ul {
   width:240px;
   position:absolute;
   opacity:0;
   filter:alpha(opacity=0);
   visibility:hidden;
   transition:0.4s;
   background:linear-gradient(#224a6b, #1d3e59);
   z-index:99;

}

#primaire li ul li {
   float:left;
   font-weight:700;
   font-size:13px;
   text-align:left;
   transition:0.4s;
   margin:0;
   padding:6px 20px;
   width:100%;
   max-width:200px;
   cursor:pointer;
   line-height:50px;
}

#primaire li ul li a {
   color:#fff;
}

#primaire li ul li a:hover {
   color:#fff;
}

#primaire li ul li:hover {
   background-color:rgba(52, 110, 159, 0.8);
   transition:0.4s;
}

/*---------------------------------------------------------------------------
-----------------------------------------------------------------------------
Navigation (Hamburger / Adaptatif)
-----------------------------------------------------------------------------
----------------------------------------------------------------------------- */

.container-bascule {
   padding:0;
   max-width:1200px;
   margin-right:auto;
   margin-left:auto;
}

.bar1, .bar2, .bar3 {
   width:44px;
   height:5px;
   background-color:#7b7b7b;
   border-radius:3px;
   margin:8px 0;
   transition:0.4s;
   z-index:99999;
}

.change .bar1 {
   -webkit-transform:rotate(-45deg) translate(-10px, 7px);
   transform:rotate(-45deg) translate(-6px, 7px);
}

.change .bar2 {
   opacity: 0;
}

.change .bar3 {
   -webkit-transform: rotate(45deg) translate(-11px, -12px);
   transform: rotate(45deg) translate(-11px, -12px);
}

.bascule {
   width:100%;
   position:absolute;
   z-index:999;
   opacity:0.94;
   transition:0.3s;
}

#hamburger {
   position:relative;
   z-index:9999;
   width:100%;
   display:none;
   transition:0.3s;
}

#hamburger ul {
   list-style-type:none;
   background:linear-gradient(#224a6b, #1d3e59);
   padding:0;
}

#hamburger li {
   line-height:53px;
}

#hamburger li a {
   color:#fff;
   cursor:pointer;
   border:none;
   text-align:left;
   outline:none;
   font-size:15px;
   font-weight:500;
   transition:0.4s;
   text-decoration:none;
   display:block;
   padding:2px 0px 0 20px;
}

#hamburger li a:hover {
   background-color:#203547;
   transition:0.2s;
}

#hamburger li a:focus {
   background-color:#203547;
   transition:0.2s;
}

#hamburger li ul li {
   border-bottom:1px dotted #e1e1e1;
   margin-left:20px;
}

#hamburger li ul li a {
   font-size:14px;
   line-height:35px;
}

.menu-container {
   display:none;
   cursor:pointer;
   position:absolute;
   right:25px;
   margin-top:15px;
   transition:0.2s;
}

/*---------------------------------------------------------------------------
-----------------------------------------------------------------------------
Footer
-----------------------------------------------------------------------------
----------------------------------------------------------------------------- */

#footer {
   height:auto;
   width:100%;
   margin:50px 0 0;
   background-color:#525557;
   background:linear-gradient(#e9e9e9,#c5c5c5);
   color:#fff;
   padding:50px 0;
   box-sizing:border-box;
   clear:both;
}

#footer a:hover {
   transition:0.3s;
   color:#337AB7;
}

#footer a:focus {
   transition:0.3s;
   color:#73acde;
}

#footer .sub-menu {
   padding:0;
}

.widget-1 li, .widget-2 li, .widget-3 li {
   list-style:none;
}

.widget-1 {
   padding:0;
   margin:0;
}

.widget-1 ul {
   margin-left:0;
}

.widget-1 li {
   list-style:none;
   color:#353535;
   font-weight:600;
   padding:8px 0;
}

.widget-1 li a {
   text-decoration:none;
   color:#353535;
}

.widget-1 li a:hover {
   color:#992e2e;
   transition:0.3s;
}

.widget-2 {
   text-align:right;
}

.widget-3 {
   text-align:right;
}

.widget-3 h1 {
   color:#000;
}

.widget-titre {
   margin-bottom:10px;
}

#credits {
   height:auto;
   width:100%;
   display:block;
   background-color:#000;
   color:#fff;
   line-height:40px;
   font-size:12px;
   letter-spacing:0.3em;
   z-index:3;
}

#credits aside {
   height:40px;
}

#credits p {
   margin:0;
}

#credits a {
   color:#fff;
   text-decoration:none;
}

#credits a:hover {
   color:#b6b6b6;
}

/*---------------------------------------------------------------------------
-----------------------------------------------------------------------------
Sidebar
-----------------------------------------------------------------------------
----------------------------------------------------------------------------- */

#secondary {
   padding:62px 0 0 45px;
   width:370px;
   box-sizing:border-box;
   min-width:266px;
}

.nav-sidebar ul {
   padding:0;
   margin:0;
   border:1px solid #ddd;
   border-radius:6px;
   display:block;
}

.nav-sidebar .current_page_item {
   background-color:#337AB7;
   font-weight:bold;
}

.nav-sidebar .current_page_item:hover {
   background-color:#337AB7;
   transition:unset;
}

.nav-sidebar .current_page_item a {
   color:#fff;
}

.nav-sidebar li {
   list-style:none;
   font-size:15px;
   border-bottom:1px solid #ddd;
   background-color:#fff;
   transition:0.3s;
}

.nav-sidebar li a {
   padding:15px 20px;
   display:block;
   color:#353535;
}

.nav-sidebar li:last-child {
   border-bottom:none;
}

.nav-sidebar li:first-child {
   text-transform:uppercase;
   font-weight:bold;
}

.nav-sidebar li:hover {
   background-color:#f5f5f5;
   transition:0.3s;
}

.sidebar-container ul {
   margin-top:10px;
}

.sidebar-titre {
   margin-top:27px;
}

.sidebar-article li {
   padding:10px 0;
   border-bottom:1px solid #ddd;
   list-style:none;
}

.sidebar-article li:first-child {
   border-top:1px solid #ddd;
}

#contenu-container-sidebar {
   padding:0;
   margin-left:40px;
   width:27%;
   float:left;
}

#secondary-entreprise {
   background-color:#fff;
   border-radius:10px;
   padding:35px;
   height:unset;
   z-index:2;
}

#recent-posts-14 {
   list-style:none!important;
}

#menu-menu-du-haut li {
   list-style:none;
}

.menu-menu-du-haut-container {
   list-style:none;
}

#nav_menu-3 {
   list-style:none!important;
}

.menu-menu-du-haut ul li {
   list-style:none;
}

.sidebar-entreprise {
   background-color:#fff;
   border-radius:10px;
   list-style:none;
}

.sidebar-fixed {
   position:fixed!important;
   margin-right:0;
   margin-top:-100px;
   min-width: 243px;
}

.sidebar-bottom {
   position:absolute!important;
   bottom:90px;
}

#menu-entreprise li {
   list-style:none;
}

/*---------------------------------------------------------------------------
-----------------------------------------------------------------------------
@ Queries
-----------------------------------------------------------------------------
----------------------------------------------------------------------------- */

@media screen and (max-width:1024px) {

   .carrousel-ecriture {
      width:80%;
   }

   .carrousel-ecriture h1 {
      font-size:22px;
      line-height:30px;
   }

}

@media screen and (max-width:961px) {

   .menu-container {
      display:none;
   }

   #hamburger {
      display:none;
   }

}

@media only screen and (max-width:960px) {

   .menu-container {
      display:block;
   }

   #navigation-primaire {
      display:none;
   }

   .col-navigation {
      width:unset;
   }

}

@media only screen and (max-width:900px) {

   .row {
      -ms-flex-wrap:wrap;
      flex-wrap:wrap;
   }

   #secondary {
      padding:0;
      margin-top:50px;
      width:100%;
   }

   .container-sidebar {
      width:100%;
   }

   .col-3-droite,
   .col-3-centre,
   .col-3-gauche {
      max-width:50%;
   }

   .widget-3 {
      text-align:left;
      margin-top:30px;
   }

   .col-3-droite {
      padding:30px 0 0 0;
   }

   .accueil-reserver {
      font-size:28px;
   }

   .fleche {
      padding-top:8px;
      padding-right:8px;
      animation-name:fleche;
      max-width:28px;
      animation-iteration-count:infinite;
      animation-duration:2.2s;
      float:right;
   }

   @keyframes fleche {
      0% {padding-right:8px;}
      50% {padding-right:26px;}
      0% {padding-right:8px;}
   }

}

@media screen and (max-width:830px) {

   .carrousel-ecriture {
      top:160px;
   }

}

@media only screen and (max-width:780px) {

   .fleche {
      display:none;
   }

}

@media only screen and (max-width:760px) {

   .accueil-002 .col-2-gauche {
      padding-bottom:40px;
   }

   .col-2-droite,
   .col-2-gauche {
      max-width:100%;
      padding:0;
   }

   .col-2-droite h1,
   .col-2-gauche h1 {
      text-align:center;
   }

   .col-2-droite img,
   .col-2-gauche img {
      width:100%;
      margin-bottom:10px;
   }

   .col-3-droite,
   .col-3-centre,
   .col-3-gauche {
      max-width:100%;
      padding:30px 0 0 0;
   }

   .accueil-logo {
      margin:0 auto;
      padding-bottom:20px;
   }

   .col-2-droite h1 {
      text-align:center!important;
   }

   .accueil-reserver {
      width:100%;
   }

   video {
      max-width:600px;
      height:auto!important;
      width:100%!important;
   }

   .carrousel-ecriture {
      display:none;
   }


}

@media only screen and (max-width:580px) {

   article img {
      margin:0 auto;
   }

   article img.alignleft {
      width:100%;
   }

   input, textarea {
      max-width:100%;
   }

   button, input[type="submit"] {
      max-width:100%;
   }

   #secondary {
      width:100%;
      margin-top:unset;
   }

}

@media only screen and (max-width:460px) {

   .accueil-reserver {
      font-size:28px;
      text-align:center;
      width:100%;
   }

   .fleche {
      display:none;
   }

}
