/*
Theme Name: NéoCiné
Author: Pierre Lacroux
Author URI: http://www.pierrelacroux.com
Version: 1.0
*/

/* Fonts */

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

body {
  font-family: "museo", serif;
  font-weight: 300 !important;
}

h1, .h1, .navbar-brand {
  font-family: "museo", serif;
  font-weight: 700 !important;
  text-transform: uppercase;
}

h2, h3, h4, h5, .h2, .h3, .h4, .h5 {
  color: #2b2a28!important;
  font-family: "museo", serif;
  font-weight: 700 !important;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

h6, .h6 {
  color: #e0091c!important;
  font-family: "museo", serif;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
}

.edito h1, .edito .h1 {
  color: #e0091c !important;
}

.edito h2, .edito h3, .edito h4, .edito h5, .edito h6, .edito .h2, .edito .h3, .edito .h4, .edito .h5, .edito .h6 {
  color: #e0091c !important;
}

blockquote {
  font-size: 1.2rem;
  font-family: "museo", serif;
  font-style: italic;
  opacity: .5;
}

strong, bold {
  font-weight: 700 !important;
}

/* LINKS */

a {
  text-decoration: none;
}

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

#navigation {
  transition: background-color 250ms linear;
}

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

.navbar .nav-link {
  color: rgba(0,0,0,1) !important;
  font-family: "museo", serif;
}

.navbar-accueil .nav-link, .navbar-entete .nav-link {
  color: rgba(0,0,0,1) !important;
}

#navigation .active, #navigation a:hover.nav-link {
  color: rgba(0,0,0,1) !important;
  transition: color 250ms linear;
}

#navigation {
  background-color: rgba(255,255,255,1);
  transition: background-color 250ms linear;
}

#navigation.scrolled {
  background-color: rgba(255,255,255,1);
  transition: background-color 250ms linear;
}

#navigation.scrolled a.nav-link {
  color: rgba(0,0,0,1) !important;
}

#navigation.scrolled a.nav-link.active, #navigation.scrolled a:hover.nav-link {
  color: rgba(0,0,0,1) !important;
}

.logo {
  display: block;
  text-indent: -9999px;
  width: 100px;
  height: 40px;
  background: url(assets/img/logo.svg);
  background-size: 100px 40px;
  background-repeat: no-repeat;
  transition: background 100ms linear;
  text-shadow: 1px 1px 50px rgb(0 0 0);
}

@media (min-width: 768px) {
  .logo {
    width: 160px;
    height: 60px;
    background-size: 160px 60px;
  }
}

#navigation.scrolled .logo {
  display: block;
  text-indent: -9999px;
  width: 150px;
  height: 40px;
  background: url(assets/img/logo.svg);
  background-size: 140px 40px;
  background-repeat: no-repeat;
  transition: background 100ms linear;
}

@media (min-width: 768px) {
  #navigation.scrolled .logo {
    width: 160px;
    height: 60px;
    background-size: 160px 60px;
  }
}

.logo:hover, #navigation.scrolled .logo:hover {
  display: block;
  text-indent: -9999px;
  width: 150px;
  height: 40px;
  background: url(assets/img/logo.svg);
  background-size: 150px 40px;
  background-repeat: no-repeat;
  transition: background 100ms linear;
}

@media (min-width: 768px) {
  .logo:hover, #navigation.scrolled .logo:hover {
    width: 160px;
    height: 60px;
    background-size: 160px 60px;
  }
}

.nav-link {
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 700 !important;
}

.navbar-toggler {
  border: 0;
}

.navbar-toggler span {
  color: #000 !important;
}

/* TITRE */

/* Titre image */

#title-image {
  height: 300px;
}

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

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

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

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

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

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

/* DIAPORAMA */

/* 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 {
  background-size: 90%;
}

@media (min-width: 576px) {
  #edito {
    background-size: 90%;
  }
}

@media (min-width: 768px) {
  #edito {
    background-size: 60%;
  }
}

@media (min-width: 992px) {
  #edito {
    background-size: 50%;
  }
}

@media (min-width: 1200px) {
  #edito {
    background-size: 40%;
  }
}

@media (min-width: 1400px) {
  #edito {
    background-size: 20%;
  }
}

.edito img {
  min-width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: .25rem;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
  margin: .5rem 0;
}

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

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

.jarallax {
    position: relative;
    z-index: 0;
}
.jarallax > .jarallax-img {
    position: absolute;
    object-fit: cover;
    font-family: 'object-fit: cover;';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.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: 100%;
  }
}

/* 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: 33.3333333333333333%;
  }
}

/* Carte */

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

@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;
  }
}

/* Embed */

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

/* iframe */

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

.form-control:focus {
  color: #348a6b !important;
  background-color: white;
  border-color: #348a6b !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: #348a6b !important;
  background-color: white;
  border-color: #348a6b !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: #e0091c !important;
  border-color: #e0091c !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: #e0091c !important;
}

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

/* FLOW FLOW */

.ff-stream-wrapper {
  padding: 0 0 1.5rem 0 !important;
  margin: 0 !important;
}

/* CHARTE */

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

.navbar-default{
  transition:500ms ease;
  background:transparent;
}
.navbar-default.scrolled{
  background:#000;
}

/* FORM */

.arrivee {
  border-top-left-radius: .25rem!important;
  border-bottom-left-radius: .25rem!important;
}