/*
Theme Name: Patricia Brangeon
Author: Pierre Lacroux
Author URI: http://www.pierrelacroux.com
Version: 1.0
*/

/* Fonts */

@import url("https://use.typekit.net/mqg5xwb.css");

body {
  font-family: brandon-grotesque, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
}

p {
  font-size: 1.2rem;
}

h1, .h1, .navbar-brand {
  font-family: brandon-grotesque, sans-serif;
  font-weight: 900;
  font-style: normal;
  margin-bottom: 0;
}

h2, h3, h4, h5, h6 .h2, .h3, .h4, .h5, .h6 {
  font-family: brandon-grotesque, sans-serif;
  font-weight: 700;
  font-style: normal !important;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  h2, h3, h4, h5, h6, .h2, .h3, .h4, .h5, .h6 {
    margin-top: 2rem;
  }
}

h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
  margin-top: 0;
}

span.lead {
  display: inline-block;
  border-left: 3px solid rgba(0,177,235,.5);
  padding-left: 1rem;
}

.fw-bolder {
  font-weight: 900 !important;
}

blockquote {
  position: relative;  
  font-family: brandon-grotesque, sans-serif;
  font-weight: 400;
  font-style: italic;
  padding: 1rem 0 0 4rem !important;
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}

@media (min-width: 768px) {
  blockquote {
    padding: 0 0 0 6rem !important;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }
}

blockquote::before {
  position: absolute;
  font-family: bootstrap-icons !important;
  content: "\F6B0";
  color: #8ecea8 !important;
  top: 0rem;
  left: 0rem;
  font-size: 3rem;
}

@media (min-width: 768px) {
  blockquote::before {
    top: -2rem;
    left: -2rem;
    font-size: 6rem;
  }
}

blockquote p {
  font-size: 1.3rem !important;
  font-weight: 300;
  margin-bottom: 0rem !important;
}

@media (min-width: 768px) {
  blockquote p {
    font-size: 1.5rem !important;
  }
  }
}

blockquote:first-child {
  margin-top: 0rem;
}

/* LINKS */

a {
  text-decoration: none;
}

.page-link {
  color: #8ecea8;
}

.nav-link {
  font-size: 1.1rem;
}

/* BTN */

.btn {
  opacity: 1;
  -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.btn:hover {
  opacity: .75;
  -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

/* NAVBAR */

.navbar {
  z-index: 1000 !important;
}

.navbar-accueil .nav-link, .navbar-entete .nav-link {
  color: #fff !important;
}

.nav-link {
  font-weight: 600;
  text-transform: uppercase;
}

.dropdown-menu {
  border: 0 !important;
}

.dropdown-menu a {
}

.dropdown-item.active, .dropdown-item:active {
  background-color: rgba(0, 0, 0, .05);
}

#menu.navbar-collapse.collapse.show {
  background-color: rgba(255,255,255,1);
  border-radius: .25rem;
}

#menu.navbar-collapse.collapse.show a {
  color: #545454!important;
}

.dropdown-item.active, .dropdown-item:active {
  background-color: rgba(0,0,0,.05) !important;
}

@media (min-width: 1400px) {
  .navbar .dropdown {
    position: relative;
    display: inline-block;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    transition: .3s ease;
  }
}

@media (min-width: 1400px) {
  .navbar .dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    transition: .3s ease;
  }
}

@media (min-width: 1400px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    transition: .3s ease;
  }
}

/* TITRE */

/* Titre image */

#title-image {
  height: 200px;
  animation: shrink 5s;
}

/* Zoom animation */

@keyframes shrink {
  0% {
  -webkit-background-size: 120%;
  -moz-background-size: 120%;
  -o-background-size: 120%;
  background-size: 120%;
  }
  100% {
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
  }
}

@media (min-width: 576px) {
  #title-image {
    height: 200px;
  }
}

@media (min-width: 768px) {
  #title-image {
    height: 200px;
  }
}

@media (min-width: 992px) {
  #title-image {
    height: 300px;
  }
}

@media (min-width: 1200px) {
  #title-image {
    height: 400px;
  }
}

@media (min-width: 1400px) {
  #title-image {
    height: 400px;
  }
}

#title-image .breadcrumb-item a {
  color: #fff !important;
}

#title-image h6 {
  font-family: din-condensed, sans-serif;
  font-weight: 400;
  font-style: normal !important;
}

/* Titre image */

#title-text .category-title {
  font-family: brandon-grotesque, sans-serif;
  font-weight: 400;
  font-style: normal !important;
}

/* DIAPORAMA */

/* Diaporama classique */

#diaporama-accueil {
  margin-top: -59px;
}

/* Diaporama classique */

.diaporama .carousel {
  height: 158px;
}

@media (min-width: 375px) {
  .diaporama .carousel {
    height: 188px;
  }
}

@media (min-width: 414px) {
  .diaporama .carousel {
    height: 209px;
  }
}

@media (min-width: 568px) {
  .diaporama .carousel {
    height: 291px;
  }
}

@media (min-width: 667px) {
  .diaporama .carousel {
    height: 276px;
  }
}

@media (min-width: 768px) {
  .diaporama .carousel {
    height: 373px;
  }
}

@media (min-width: 1024px) {
  .diaporama .carousel {
    height: 415px;
  }
}

@media (min-width: 1200px) {
  .diaporama .carousel {
    height: 496px;
  }
}

@media (min-width: 1400px) {
  .diaporama .carousel {
    height: 576px;
  }
}

.diaporama .carousel-cell {
  height: 100%;
  width: 100%;
  /* center images in cells with flexbox */
  display: flex;
  align-items: center;
  justify-content: center;
}

.diaporama .carousel-cell-image {
  display: block;
  max-height: 100%;
  margin: 0 auto;
  max-width: 100%;
  opacity: 0;
  -webkit-transition: opacity 1s;
          transition: opacity 1s;
  border-radius: .25;
}

.diaporama .caption {
  position: absolute;
  bottom: 30px;
  width: 100%;
  opacity: .75;
}

.diaporama .carousel-cell-image.flickity-lazyloaded,
.diaporama .carousel-cell-image.flickity-lazyerror {
  opacity: 1;
}

.diaporama .carousel.is-fullscreen .carousel-cell {
  height: 100%;
}

.diaporama .flickity-prev-next-button {
  opacity: 0;
}

@media (min-width: 768px) {
  .diaporama .flickity-prev-next-button {
    opacity: 1;
  }
}

.diaporama .flickity-prev-next-button.previous {
  left: 30px !important;
}

.diaporama .flickity-prev-next-button.next {
  right: 30px !important;
}

.diaporama .flickity-page-dots {
  bottom: 15px;
}

.diaporama .flickity-page-dots .dot {
  width: 10px;
  height: 10px;
  opacity: 1;
  background: rgba(255,255,255,.25);
}

.diaporama .flickity-page-dots .dot.is-selected {
  background: white;
}

/* Diaporama Full Screen */

.diaporama-fs .carousel, .diaporama-fs .carousel-cell {
  height: 100%;
}

.diaporama-fs .carousel-cell {
  width: 100%;
  background-position: center center;
  background-size: cover;
}

.diaporama-fs .caption {
  position: absolute;
  width: 100%;
  bottom: 0;
}

.diaporama-fs .description {
  position: absolute;
  bottom: 15px;
  right: 15px;
  opacity: .75;
}

.diaporama-fs .flickity-prev-next-button {
  opacity: 0;
}

@media (min-width: 768px) {
  .diaporama-fs .flickity-prev-next-button {
    opacity: 1;
  }
}

.diaporama-fs .flickity-prev-next-button.previous {
  left: 30px !important;
}

.diaporama-fs .flickity-prev-next-button.next {
  right: 30px !important;
}

.diaporama-fs .flickity-page-dots {
  bottom: 15px;
}

.diaporama-fs .flickity-page-dots .dot {
  width: 10px;
  height: 10px;
  opacity: 1;
  background: rgba(255,255,255,.25);
}

.diaporama-fs .flickity-page-dots .dot.is-selected {
  background: white;
}

.diaporama-fs .static-banner {
  position: absolute;
  z-index: 999;
  left: 0;
  bottom: 0;
}

/* Diaporama Carousel */

.diaporama-carousel .carousel-cell {
  width: 79%;
}

@media (min-width: 1024px) {
  .diaporama-carousel .carousel-cell {
    width: 33%;
  }
}

@media (min-width: 1200px) {
  .diaporama-carousel .carousel-cell {
    width: 25%;
  }
}

.diaporama-carousel .flickity-page-dots {
}

@media (min-width: 960px) {
  .diaporama-carousel .flickity-page-dots {
  }
}

/* EDITEUR DE CONTENU */

/* Edito */

.edito img, .edito figure img, .edito .wp-caption {
  min-width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: .25rem;
  margin: 2rem 0;
}

.edito .wp-caption-text {
  position: relative;
  top: -1.2rem;
  font-style: italic;
  opacity: .5;
  border-left: 1px solid #404040;
  padding-left: 5px;
}

#edito .separator, hr {
  margin: 3rem 0 0 0;
  height: 1px;
  width: 100px;
  background: rgba(0,0,0,.75);
  border: none;
  display: block;
  clear: both;
}

/* Image bandeau */

.image-bandeau {
  background-position: center;
  background-size: cover;
  -webkit-background-size:cover;
  height: 200px;
  width: 100%;
}

@media (min-width: 576px) {
  .image-bandeau {
    height: 300px;
  }
}

@media (min-width: 768px) {
  .image-bandeau {
    height: 400px;
  }
}

@media (min-width: 992px) {
  .image-bandeau {
    height: 500px;
  }
}

@media (min-width: 1200px) {
  .image-bandeau {
    height: 600px;
  }
}

@media (min-width: 1400px) {
  .image-bandeau {
    height: 600px;
  }
}

/* Image parallax */

.image-parallax {
  background-position: center;
  background-size: cover;
  -webkit-background-size:cover;
  height: 200px;
  width: 100%;
}

@media (min-width: 576px) {
  .image-parallax {
    height: 300px;
  }
}

@media (min-width: 768px) {
  .image-parallax {
    height: 400px;
  }
}

@media (min-width: 992px) {
  .image-parallax {
    height: 500px;
  }
}

@media (min-width: 1200px) {
  .image-paralax {
    height: 600px;
  }
}

@media (min-width: 1400px) {
  .image-parallax {
    height: 600px;
  }
}

/* Galerie */

.galerie {
}

.galerie .grid:after {
  content: '';
  display: block;
  clear: both;
}

.galerie .grid-item {
  float: left;
  width: 50%;
}

@media (min-width: 1024px) {
  .galerie .grid-item {
    width: 25%;
  }
}

/* Carte */

.carte, .leaflet-map, .map {
  height: 200px !important;
  width: 100%;
}

@media (min-width: 576px) {
  .carte, .leaflet-map, .map {
    height: 300px !important;
  }
}

@media (min-width: 768px) {
  .carte, .leaflet-map, .map {
    height: 400px !important;
  }
}

@media (min-width: 992px) {
  .carte, .leaflet-map, .map {
    height: 500px !important;
  }
}

@media (min-width: 1200px) {
  .carte, .leaflet-map, .map {
    height: 600px !important;
  }
}

@media (min-width: 1400px) {
  .carte, .leaflet-map, .map{
    height: 605px !important;
  }
}

.carte .leaflet-map {
  border-radius: .25rem!important;
}

/* Embed */

.embed iframe {
  border-radius: 0.5rem !important;
}

/* iframe */

.iframe iframe {
  border-radius: 0.5rem !important;
}

.form-control:focus {
  color: #00b1eb !important;
  background-color: white;
  border-color: #00b1eb !important;
  outline: none;
}

/* WPCF7 */

.wpcf7 label {
  display: block;
  width: 100%;
}

.wpcf7 input, .wpcf7 select, .wpcf7 textarea {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.25;
  color: #545454!important;
  background-color: #f8f9fa !important;
  background-image: none;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #f8f9fa !important;
  border-radius: 0.25rem;
  -webkit-transition: border-color ease-in-out 0.15s, 
  -webkit-box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
}

.wpcf7 textarea::-ms-expand, .wpcf7 input::-ms-expand {
  background-color: transparent;
  border: 0;
}

.wpcf7 select:focus, .wpcf7 textarea:focus, .wpcf7 input:focus {
  color: #8ecea8 !important;
  background-color: white;
  border-color: #8ecea8 !important;
  outline: none;
}

.wpcf7 textarea::-webkit-input-placeholder, .wpcf7 input::-webkit-input-placeholder {
  color: #a6b5bf!important;
  opacity: 1;
}

.wpcf7 textarea::-moz-placeholder, .wpcf7 input::-moz-placeholder {
  color: #a6b5bf!important;
  opacity: 1;
}

.wpcf7 textarea:-ms-input-placeholder, .wpcf7 input:-ms-input-placeholder {
  color: #a6b5bf!important;
  opacity: 1;
}

.wpcf7 textarea::placeholder, .wpcf7 input::placeholder {
  color: #a6b5bf!important;
  opacity: 1;
}

.wpcf7 textarea:disabled, .wpcf7 textarea[readonly], .wpcf7 input:disabled, .wpcf7 input[readonly] {
  background-color: #eeeeee;
  opacity: 1;
}

.wpcf7 textarea:disabled, .wpcf7 input:disabled {
  cursor: not-allowed;
}

select.wpcf7 textarea:not([size]):not([multiple]), select.wpcf7 input:not([size]):not([multiple]) {
  height: calc(2.25rem + 2px);
}

select.wpcf7 textarea:focus::-ms-value, select.wpcf7 input:focus::-ms-value {
  color: #464a4c;background-color: white;
}

.wpcf7 input[type="submit"] {
  cursor: pointer !important;
  display: inline-block;
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  display: block;
  width: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: .75rem 1rem;
  margin: 0.5rem 0 0 0;
  font-size: 1rem;
  border-radius: 0.25rem;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #ffffff !important;
  background-color: #8ecea8 !important;
  border-color: #8ecea8 !important;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.wpcf7 input[type="submit"]:focus, .wpcf7 input[type="submit"]:hover {
  text-decoration: none;
}

.wpcf7 input[type="submit"]:focus, .wpcf7 input[type="submit"].focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 2px rgba(2, 117, 216, 0.25);
  box-shadow: 0 0 0 2px rgba(2, 117, 216, 0.25);
}

.wpcf7 input[type="submit"].disabled, .wpcf7 input[type="submit"]:disabled {
  cursor: not-allowed;opacity: .65;
}

.wpcf7 input[type="submit"]:active, .wpcf7 input[type="submit"].active {
  background-image: none;
}

.wpcf7 input[type="file"]{
  border: 0 !important;
}

.wpcf7 input[type="checkbox"]{
  display:inline;
  width:auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
}

.wpcf7-not-valid-tip {
  color: #8ecea8 !important;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
  color: #8ecea8 !important;
  border-color: #8ecea8 !important;
}

.wpcf7-captchac {
  min-width: auto !important;
  max-width: auto !important;
  height: auto !important;
  width: auto !important;
}

/* CHARTE */

#charte .edito img {
  box-shadow: 0 0 0 rgba(255, 255, 255, 0) !important;
}

/* INDEX */

#index h6, #actualite h6, #index #filters a {
  font-family: brandon-grotesque, sans-serif;
  font-weight: 400;
  font-style: normal !important;
}

/* ARCHIVE */

#archive h6, #archive #filters a {
  font-family: brandon-grotesque, sans-serif;
  font-weight: 400;
  font-style: normal !important;
}

/* EDITO */

#edito h4, .h4 {
  color: #404040;
  border-bottom: 2px solid #404040;
  display: inline-block;
}