/*---------------------------------------------------------*/
/*---------------------------------------------------------*/
/* Custom CSS ASPB - Benoît BRESSON - www.benoitbresson.fr */
/*---------------------------------------------------------*/
/*---------------------------------------------------------*/

@font-face {
    font-family: 'dream_orphans';
    src: url('../fonts/dream_orphans_bd_it-webfont.eot');
    src: url('../fonts/dream_orphans_bd_it-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/dream_orphans_bd_it-webfont.woff2') format('woff2'),
         url('../fonts/dream_orphans_bd_it-webfont.woff') format('woff'),
         url('../fonts/dream_orphans_bd_it-webfont.ttf') format('truetype'),
         url('../fonts/dream_orphans_bd_it-webfont.svg#dream_orphansbold_italic') format('svg');
    font-weight: bold;
    font-style: italic;

}
@font-face {
    font-family: 'dream_orphans';
    src: url('../fonts/dream_orphans_bd-webfont.eot');
    src: url('../fonts/dream_orphans_bd-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/dream_orphans_bd-webfont.woff2') format('woff2'),
         url('../fonts/dream_orphans_bd-webfont.woff') format('woff'),
         url('../fonts/dream_orphans_bd-webfont.ttf') format('truetype'),
         url('../fonts/dream_orphans_bd-webfont.svg#dream_orphansbold') format('svg');
    font-weight: bold;
    font-style: normal;

}
@font-face {
    font-family: 'dream_orphans';
    src: url('../fonts/dream_orphans_it-webfont.eot');
    src: url('../fonts/dream_orphans_it-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/dream_orphans_it-webfont.woff2') format('woff2'),
         url('../fonts/dream_orphans_it-webfont.woff') format('woff'),
         url('../fonts/dream_orphans_it-webfont.ttf') format('truetype'),
         url('../fonts/dream_orphans_it-webfont.svg#dream_orphansitalic') format('svg');
    font-weight: normal;
    font-style: italic;

}
@font-face {
    font-family: 'dream_orphans';
    src: url('../fonts/dream_orphans-webfont.eot');
    src: url('../fonts/dream_orphans-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/dream_orphans-webfont.woff2') format('woff2'),
         url('../fonts/dream_orphans-webfont.woff') format('woff'),
         url('../fonts/dream_orphans-webfont.ttf') format('truetype'),
         url('../fonts/dream_orphans-webfont.svg#dream_orphansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

body {
    background: url('../images/bg-aspb.png') no-repeat center 100px #262627;
}


body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, th, td {
    /*font-size: 16px;*/
    font-family: 'open sans';
    color:#373935;
}

nav {
    font-family: 'dream_orphans', cursive;
}
h1 {
    font-weight: normal;
    font-family: 'dream_orphans', cursive;
}

h2 {
    font-size: 1.85rem;
    font-weight: normal;
    font-family: 'dream_orphans', cursive;
}

h3 {
    font-size: 1.5rem;
    font-weight: normal;
    font-family: 'dream_orphans', cursive;
}

h4 {
    font-size: 1.35rem;
    font-family: 'dream_orphans', cursive;
}

h5 {
    font-size: 1.25rem;
    font-family: 'dream_orphans', cursive;
}

h6 {
    color: #666;
    line-height: 1.5em;
}

a {
    color: #C18033;
}

a:hover {
    color: #1CA0AC;
    text-decoration: underline;
}

p, ul, ol, address {
    margin: 0 0 1em 0;
}

ul {
    margin-left: 17px;
}

ol {
    margin-left: 20px;
}
ul.trait {
    padding-left:1em;
    border-left: 5px solid #fff;
    list-style-type: none;
}
pre {
    padding: 4px 0;
    overflow-y: auto;
    overflow-x: scroll;
}
strong {
    font-family: 'dream_orphans', cursive;
}
aside {
    margin-top: 20px;
}

aside p, aside ul li, aside ol li {
    font-size: 14px;
}

.bg-blanc {
    background-color: #fff;
}
.container {
    padding-top: 20px;
    margin: 0 auto 20px;
    border: 1px solid #EEE;
    background-color: #FFF;
}

.top-bar a:hover {
    text-decoration: none;
}

article.wisiwig {
    padding-top: 20px;
}
.headerphoto {
    position: relative;
    margin-bottom: 30px;
    text-align: right;
}

.headerphoto p {
    margin: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    color: #FFF;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4);
    font-size: 48px;
    line-height: 48px;
    font-family: 'Open Sans', serif;
    padding: 0 12px 12px 0;
    font-weight: bold;
}
.headerphoto small {
    font-size: 28px;
    color: #DDD;
    font-family: 'Open Sans', serif;
    font-weight: normal;
    margin-right: 14px;
}

div.imageholder {
    background-color: #FFF;
    border: 1px solid #BBBBBB;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4);
    padding: 4px;
    float: right;
    margin: 0 0 5px 5px;
}

footer ul.dropdown {
    display: none;
}

/* "bolt_widget" is the default container for widgets in Bolt. */
.bolt_widget {
    background: #f2f2f2;
    border: solid 1px #e6e6e6;
    margin-bottom: 8px;
    padding: 6px;
}

.pagination a:hover {
    text-decoration: none;
}

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

.top-bar {
    margin: 0 auto;
    max-width: 62.5rem;
    width: 100%;
}
.top-bar .name h1 abbr {
    color: #fff;
    font-size: 1.85rem;
    border-bottom: 0;
}

.top-bar-section ul li {
    background: none repeat scroll 0 0 #008cba;
}

.top-bar-section ul li.active > a {
    background: none repeat scroll 0 0 #C18033;
    color: #ffffff;
}

/*----------------------------------*/
/* Généralités */
/*----------------------------------*/

.pa1 {
    padding: 10px;
}
.separation {
    margin-top: 2em;
    margin-bottom: 2em;
}
.row.full-width {
    max-width: 100% !important;
}
.row.full-width.diff .row {
    margin: 0 auto;
    max-width: 62.5rem;
    background: inherit;
}

.sur-fond-noir, a.sur-fond-noir {
    color: #fff;
}

.actualites article, .listing-actualites article, .listing-partenaires article {
    position: relative;
    margin: 0 0 1.875em;
    min-height: 420px;
    padding-bottom: 25px;
}
.listing-partenaires article {
    padding-bottom: 0.5rem;
}
.listing-patrimoine article {
    position: relative;
    margin: 0 0 1.875em;
    min-height: 420px;
    padding-bottom: 25px;
}
.actus-toutes {
    color: #fff;
    padding: 2px 0 0 25px;
    background: url("../images/sprite-aspb.png") no-repeat 0 -300px transparent;
}
.actu-lire {
    position: absolute;
    bottom: 0.5em;
    right: 0.5em;
    padding: 2px 0 0 25px;
    color:#373935;
    background: url("../images/sprite-aspb.png") no-repeat 0 -248px transparent;
}
.monument-lire {
    position: absolute;
    bottom: 0.5em;
    right: 0.5em;
    padding: 2px 0 0 25px;
    color:#373935;
    background: url("../images/sprite-aspb.png") no-repeat 0 -198px transparent;
}

.titre-listing {
    margin: 0 0 1em 0;
    font-size: 2rem;
    text-align: center;
    color: #fff;
    background: #c18033;
}

/*--- Pagination ---*/
ul.pagination li a {
    color:#fff;
    border-radius: 0;
}
ul.pagination li:hover a,
ul.pagination li:nth-child(3n+1):hover a,
ul.pagination li:nth-child(3n+2):hover a,
ul.pagination li:nth-child(3n+3):hover a,
ul.pagination li:nth-child(3n+4):hover a,
ul.pagination li a:focus,
ul.pagination li:hover button,
ul.pagination li button:focus {
    color:#373935;
    background: #e6e6e6;
}
ul.pagination li:nth-child(3n+1) a, ul.pagination li button {
    background-color: #1ca0ac;
    
}
ul.pagination li:nth-child(3n+2) a, ul.pagination li button {
    background-color: #a44534;
}
ul.pagination li:nth-child(3n+3) a, ul.pagination li button {
    background-color: #c18033;
}
ul.pagination li:nth-child(3n+4) a, ul.pagination li button {
    background-color: #c08264;
}
ul.pagination li.active a {
    color:#373935;
    background: #e6e6e6;
}

p.meta {
    color:#fff;
}
/* Fin pagination */

.columns.monument {
	padding-left: 0;
	padding-right: 0;
}
.monument h1, .page h1, .actualite h1 {
    font-size: 1.5rem;
    padding-left: 60px;
    background: url("../images/sprite-aspb.png") no-repeat 0 -63px transparent;
}
.monument h2, .page h2, .actualite h2 {
    color: #a44534;
}
.monument h3, .page h3, .actualite h3 {
    color: #c18033;
}
.historique {
    padding: 0 0 0 0.5em ;
    color:#fff;
    font-weight: bold;
    background: #1ca0ac;
}
.historique img {
    padding-left:0.5em;
    background: #fff;
}
.aside-monument {
    padding-top: 40px;
}
.aside-monument .bloc-aside-monument {
    width: 100%;
    background: #fff;
}
.aside-monument .bloc-aside-monument:not(:first-child) {
    margin-top: 1.5em;
}
.bloc-aside-monument h3, .bloc-aside-actualite h3 {
    margin:0;
    padding-left:40px;
    line-height: 2rem;
    font-size: 1.25rem;
    color: #fff;
    background: url("../images/sprite-aspb.png") no-repeat -50px 0 #c08264;
}
.bloc-aside-monument h3.geo {
    background-position: 10px -446px;
}
.bloc-aside-monument h3.visiter {
    background-position: 5px -496px;
    background-color: #c18033;
}
.bloc-aside-monument h3.pdf, .bloc-aside-actualite h3.pdf {
    background-position: 5px -647px;
    background-color: #c08264;
    color: #fff;
}
.bloc-aside-monument h3.fetes {
    background-position: 5px -598px;
    background-color: #1ca0ac;
}
.bloc-aside-monument h3.savoirplus {
    background-position: 5px -546px;
    background-color: #a32f2f;
}
.galerie-for .slick-list {
    min-height: 230px;
}
.galerie-for, .galerie-nav {
    margin:0;
}
.galerie-nav .slick-track {
    margin-top:1px;
}
.galerie-nav .slick-slide {
    width:100px;
    margin-right: 1px;
}

.galerie-nav .slick-slide img {
    width: 100px;
    height: 100px;
    overflow: hidden;
}
.galerie-nav .slick-prev, .galerie-nav .slick-next {
    position: absolute;
    top:40%;
    width: 28px;
    height: 29px;
    padding: 0;
    text-indent: -9999px;
    background: url("../images/sprite-aspb.png") no-repeat scroll 0 0 transparent;
}
.galerie-nav .slick-prev {
    background-position: 0 -150px;
    left: 1px;
}
.galerie-nav .slick-next {
    background-position: -50px -150px;
    right: 1px;
}

.slick-dots {
    width: 100%;
    text-align: center;
    list-style: outside none none;
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    color: transparent;
    display: block;
    font-size: 0;
    line-height: 0;
    outline: medium none;
    padding: 5px;
}
.slick-dots li {
  cursor: pointer;
  display: inline-block;
  height: 24px;
  margin: 0 5px;
  padding: 0;
  position: relative;
  width: 27px;
}

.slick-dots li button {
  background: none repeat scroll 0 0 transparent;
  border: 0 none;
  color: transparent;
  cursor: pointer;
  display: block;
  font-size: 0;
  line-height: 0;
  outline: medium none;
  margin: 0 5px;
  padding: 5px;
  height:18px;
  width: 18px;
}
.slick-dots li button::before {
  color: #C18033;
  content: "•";
  font-family: "dream_orphans";
  font-size: 48px;
  left: 0;
  line-height: 29px;
  opacity: 0.25;
  position: absolute;
  text-align: center;
  top: 0;
}
.slick-dots li.slick-active button::before {
  color: #C18033;
  opacity: 0.75;
}

footer {
    padding: 12px 0;
    background-color: #4D9C9A;
}
footer a, footer p, footer ul li, footer abbr, footer ul.inline-list {
    color: #fff;
    font-size: 0.8125rem;
    margin-bottom: 0;
}
footer a:hover {
    color: #fff;
    text-decoration: underline;
}

a.pointcomme {
    color:#fff;
    font-weight: normal;
}
a.pointcomme:hover {
    color:#E2CC2A
	text-decoration: none;
}
a.pointcomme span.bull {
    color:#E2CC2A;
    font-size: 2.45em;
    font-weight: bold;
	line-height: .7;
    vertical-align:bottom;
    transition: all 0.4s ease-in-out
}
a.pointcomme:hover span.bull {
    color:#fff
}

/*----------------------------------*/
/* Slider */
/*----------------------------------*/

ul.diaporama {
    margin: 1em 0 0 0;
}
.slick-slide {
    position: relative;
}
.diaporama .diapo-caption {
    position: static;
}
.diapo-caption {
    position: absolute;
    left:0;
    bottom:0;
    width: 100%;
    padding: 0.25em 0.5em;
    background-color: rgba(255,255,255,0.65);
}
.diapo-caption h2, .diapo-caption p {
    margin: 0;
}
.diapo-caption h2 {
    font-size: 1.2rem;
    padding-left: 60px;
    background: url("../images/sprite-aspb.png") no-repeat 0 2px transparent;
}
.diapo-caption a {
    margin-left: 1em;
    color: #A32F2F;
    white-space: nowrap;
}
.slick-prev, .slick-next {
    position: absolute;
    top:40%;
    width: 28px;
    height: 29px;
    padding: 0;
    text-indent: -9999px;
    background: url("../images/sprite-aspb.png") no-repeat 0 0 transparent;
    opacity:0.65;
    -webkit-transition:all .2s ease-in-out;
    -o-transition:all .2s ease-in-out;
    transition:all .2s ease-in-out;
}
.slick-prev {
    left:2px;
    background-position: 0 -150px;
}
.slick-next {
    right:2px;
    background-position: -50px -150px;
}
.slick-prev:hover, .slick-next:hover {
    opacity:1;
    background-color: transparent;
}

.actualites .slick-prev {
    float: left;
}
.actualites .slick-next {
    float: right;
}
.actualites .slick-dots {
    text-align: center;
    margin-top: 1em;
}
.actualites .slick-dots li {
    display:inline-block;
    margin-right: 1em;
    width: 16px;
    height: 16px;
}
.slick-dots {
    margin: 0;
}
.actualites .slick-dots li button {
    width: 16px;
    height: 16px;
    padding: 0;
    background: #c08264;
    text-indent: -9999px;
    opacity: 0.65;
    cursor: pointer;
}
.actualites .slick-dots li.slick-active button {
    opacity:1;   
}
.bloc-aside-actualite {
    max-width:25%;
    margin-top: 0;
    border:1px solid #c08264;
}

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

.listing article {
    background-color: #fff;
}

.chapo {
    padding: 0 0.5em;
}
.chapo h3 {
    font-size: 1.15rem;
}
.chapo h3::before {
    content: "";
    display:inline-block;
    width: 24px;
    height: 20px;
    background: url("../images/sprite-aspb.png") no-repeat 0 -346px transparent;
    
}
.chapo h3 a {
    color:#373935;
}

.bloc-monument .chapo h3 {
    background-position: 0 -395px
}

.bloc-home {
    margin-bottom: 1em;
    height: 100%;
    color: #fff;
}
.bloc-home abbr, .bloc-home p, .bloc-home abbr, .bloc-home ul li {
    color: #fff;
}
.bloc-home h2 {
    display: inline-block;
    margin-top: 1em;
    padding: 0 0.5em;
    font-size: 1.5rem;
    color: #fff;
    background: #262627;
    
}
.bloc-1 {
    background: #1ca0ac;
}
.bloc-2 {
    background: #a32f2f;
}
.bloc-3 {
    background: #c18033;
}


/* Styles for 'responsive video embeds' --------------------------------  */

.responsive-video {
    padding-top: 25px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    margin: 0 0 1em 0;
}

.responsive-video iframe {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    max-width: 100%;
}

/*----------------------------------*/
/* Pages de contenu basiques */
/*----------------------------------*/

.aside-page {
    padding: 0 0.5rem;
    background: #a32f2f;
    color: #fff;
    max-width: 40%;
}
.aside-page h2, .aside-page h3, .aside-page h4 {
    color: #c18033;
}
.aside-page p, .aside-page a, .aside-page ul li, .aside-page abbr {
    color: #fff;
}



/*----------------------------------*/
/* Media queries / Responsive */
/*----------------------------------*/


@media only screen { /* Define mobile styles */

} 

@media only screen and (max-width: 40em) { /* max-width 640px, mobile-only styles, use when QAing mobile issues */

} 



/*// Medium screens*/
@media only screen and (min-width: 40.063em) { /* min-width 641px, medium screens */
    
    /*----------------------------------*/
    /* Menu */
    /*----------------------------------*/
    header {
        background: #1ca0ac; /* Old browsers */
        background: -moz-linear-gradient(top,  #1ca0ac 0%, #1ca0ac 2.8125rem, transparent 2.8125rem, transparent 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1ca0ac), color-stop(50%,#1ca0ac), color-stop(50%,transparent), color-stop(100%,transparent)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  #1ca0ac 0%,#1ca0ac 2.8125rem,transparent 2.8125rem,transparent 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  #1ca0ac 0%,#1ca0ac 2.8125rem,transparent 2.8125rem,transparent 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  #1ca0ac 0%,#1ca0ac 2.8125rem,transparent 2.8125rem,transparent 100%); /* IE10+ */
        background: linear-gradient(to bottom,  #1ca0ac 0%,#1ca0ac 2.8125rem,transparent 2.8125rem,transparent 100%); /* W3C */*/
    }
    .top-bar {
        background: none repeat scroll 0 0 transparent;
        height: 147px;
        line-height: 90px;
        margin-bottom: 0;
        position: relative;
    }

    .top-bar .name {
        font-size: 16px;
        height: 45px;
        margin: 0;
        position: relative;
        z-index: 2;
    }
    .top-bar-section > ul > li {
        background: transparent none repeat scroll 0 0;
    }
    .top-bar-section > ul > li > a {
        color: #ffffff;
        display: block;
        font-family: 'dream_orphans', cursive;
        font-size: 1rem; /* 0.8125rem;*/
        font-weight: normal;
        padding: 12px 0 12px 15px;
        text-transform: none;
        width: 100%;
    }
    .top-bar-section li.active:not(.has-form) a:not(.button):hover {
        background: transparent;
    }
    .top-bar-section > ul > li:not(.has-form) a:not(.button),
    .top-bar-section > ul > li.active:not(.has-form) a:not(.button) {
        background: transparent none repeat scroll 0 0;
        padding: 0 0.5rem;
    }
    .top-bar-section .dropdown li:not(.has-form):not(.active) > a:not(.button) {
        background: transparent none repeat scroll 0 0;
        color: #ffffff;
    }
    .top-bar-section .dropdown a:not(.button):hover,
    .top-bar-section .dropdown li.active a:not(.button):hover {
        background: #A32F2F none repeat scroll 0 0;
    }
    .top-bar-section .dropdown li:hover:not(.has-form):not(.active) > a:not(.button),
    .top-bar-section .dropdown li.active:not(.has-form) a:not(.button) {
        background: #A32F2F none repeat scroll 0 0;
    }
    .top-bar-section .dropdown ul li:hover:not(.has-form) > a {
        background-color: #A32F2F;
    }
    .top-bar-section ul.second-menu {
        margin-top:30px;
        margin-bottom:17px;
    }
    
    .top-bar-section ul.second-menu > li {
        margin-right: 18px;
    }
    .top-bar-section .second-menu li:not(.has-form) a:not(.button) {
        line-height: 1.3;
    }
    .top-bar-section li:not(.has-form) a:not(.button):hover,
    .top-bar-section li:not(.has-form) .dropdown a:not(.button):hover
    {
        background-color: #A32F2F;
    }
    .top-bar-section ul.second-menu li.last {
        margin-right: 0;
    }
    
    .top-bar-section ul.second-menu li a {
        border-top: 3px solid #b13d2b;
        max-width: 135px;
        padding:0;
        font-size: 1rem;
        text-align: center;
        line-height: 1;
        background-color: transparent;
    }
    .top-bar-section  ul.second-menu > li > a:hover:not(.button),
    .top-bar-section  ul.second-menu > li > a:active:not(.button),
    .top-bar-section  ul.second-menu > li > a:focus:not(.button),
    .top-bar-section  ul.second-menu > li:hover > a,
    .top-bar-section  ul.second-menu > li.active > a,
    body.actualites .top-bar-section  ul.second-menu > li > a.page-actualite,
    body.patrimoine-bati .top-bar-section  ul.second-menu > li > a.fiche-patrimoine
    {
        border-top: 3px solid #C18033;
        background-color: transparent;
    }
    .top-bar-section .has-dropdown > a {
        padding-right: 1rem !important;
    }
    .top-bar-section .has-dropdown > a::after {
      margin-right: 0.5rem;
    }

    .top-bar-section  ul.second-menu li ul li {
        background: #1CA0AC none repeat scroll 0 0;
    }
    .top-bar-section  ul.second-menu li ul li a {
        border-top: 0 none;
        padding:0.25rem 0 ;
        font-size: 0.85rem;
        text-align: left;
        line-height: 2 !important;
        background-color: transparent;
    }
    .top-bar-section  ul.second-menu li ul li a:hover:not(.button),
    .top-bar-section  ul.second-menu li ul li a:active:not(.button),
    .top-bar-section  ul.second-menu li ul li a:focus:not(.button),
    .top-bar-section  ul.second-menu li ul li.active a {
        background: #A32F2F none repeat scroll 0 0;
    }
    
    ul.diaporama {
        margin:0;
    }
    
    .diaporama .diapo-caption {
        position: absolute;
        left: 0;
        bottom: 0;
    }
    
    .diapo-caption h2 {
        font-size: 1.5rem;
        padding-left: 60px;
        background: url("../images/sprite-aspb.png") no-repeat 0 6px transparent;
    }
    
    .aside-page {
        max-width: 30%;
    }
    
    .flex-medium {
        display: flex;
    }
    
    .listing-patrimoine article {
        position: relative;
        margin: 0 0 1.875em;
        min-height: 440px;
        padding-bottom: 25px;
    }
    
    .galerie-for .slick-list {
        min-height: 477px;
    }

} 

/*// Custom size for ASPB Menu */
@media only screen and (min-width: 53em) {
    
    .top-bar-section ul.second-menu > li {
        margin-right: 50px
    }
    .top-bar-section ul.second-menu li a {
        border-top: 3px solid #b13d2b;
        max-width: 180px;
        font-size: 1.25em;
        text-align: center;
        line-height: 1;
        background-color: transparent;
    }
    .top-bar-section li:not(.has-form) a:not(.button),
    .top-bar-section li.active:not(.has-form) a:not(.button) {
        background: transparent none repeat scroll 0 0;
    }
    
    .top-bar-section  ul.second-menu li ul li a {
        border-top: 0 none;
        padding:0.25rem 0 ;
        font-size: 1rem;
        text-align: left;
        line-height: 2 !important;
        background-color: transparent;
    }
    
    .diapo-caption h2 {
        font-size: 1.85rem;
        padding-left: 60px;
        background: url("../images/sprite-aspb.png") no-repeat 0 12px transparent;
    }
    
    .monument h1, .page h1, .actualite h1 {
        font-size: 2rem;
        padding-left: 60px;
        background: url("../images/sprite-aspb.png") no-repeat 0 -58px transparent;
    }
    
    .flex-medium {
        display: flex;
    }
}

/*// Large screens*/
@media only screen and (min-width: 64.063em) {
    
    .top-bar-section .has-dropdown > a {
        padding-right: 2.1875rem !important;
    }
    
    .top-bar-section .has-dropdown > a::after {
      margin-right: 0.9375rem;
    }
    
    .flex-medium {
        display: flex;
    }
    
    .flex-large {
        display: flex;
    }
    
    .bloc-home {
        min-height: 370px;
    }
    
    .listing-patrimoine article {
        position: relative;
        margin: 0 0 1.875em;
        min-height: 420px;
        padding-bottom: 25px;
    }
        
    .listing-actualites > .columns:nth-child(3n + 1), .listing-patrimoine > .columns:nth-child(3n + 1) {
        clear: left;
    }
       
    
} /* min-width 1025px, large screens */


/*// XLarge screens*/
@media only screen and (min-width: 90.063em) {
    
    .top-bar-section ul.second-menu > li {
        margin-right: 80px
    }
    
    .flex-medium {
        display: flex;
    }
    
    .flex-large {
        display: flex;
    }
    
} /* min-width 1441px, xlarge screens */


/*// XXLarge screens*/
@media only screen and (min-width: 120.063em) {

    .flex-medium {
        display: flex;
    }
    
    .flex-large {
        display: flex;
    }

} /* min-width 1921px, xxlarge screens */



/*----------------------------------*/
/*----------------------------------*/
/* Slick Slider CSS */
/*----------------------------------*/
/*----------------------------------*/
/*  */
.slick-slider
{
    position: relative;

    display: block;

    -moz-box-sizing: border-box;
         box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
    margin: 0 auto;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}


/*----------------------------------*/
/*----------------------------------*/
/* Magnific Popup CSS */
/*----------------------------------*/
/*----------------------------------*/

.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #cccccc; }
    .mfp-preloader a:hover {
      color: white; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close, button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none; }
button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  filter: alpha(opacity=65);
  padding: 0 0 18px 10px;
  color: white;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover, .mfp-close:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333333; }

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
  color: white;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #cccccc;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover, .mfp-arrow:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after, .mfp-arrow .mfp-a {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before, .mfp-arrow .mfp-b {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
    border-right: 17px solid white;
    margin-left: 31px; }
  .mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3f3f3f; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
    border-left: 17px solid white;
    margin-left: 39px; }
  .mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
    border-left: 27px solid #3f3f3f; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: black; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444444; }
  .mfp-figure small {
    color: #bdbdbd;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }

.mfp-ie7 .mfp-img {
  padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }
.mfp-ie7 .mfp-container {
  padding: 0; }
.mfp-ie7 .mfp-content {
  padding-top: 44px; }
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }
