/* Evenements + Actus + Brochures */

/* Filters */

.col-sm-12 {
  padding: 0;
}

#node-cntnt {
  padding: 0 !important;;
}

#hdf-hdr {
  padding: 0 15px;
}

.view-content, .views-infinite-scroll-content-wrapper {
  padding: 0 65px;
}

.form-inline .select-wrapper {
  width: 100%;
}

.view-filters {
    background-color: #f7f7f7;
}

.view-filters .form-control {
  border-radius: 0;
  width: 100%;
  line-height: unset;
  background: #eeefee;
  box-shadow: none;
  border-color: #7e7e7e;
  font-family: 'raleway regular';
  color: #6d6f72;
}

.view-filters > form > div {
  padding: 40px 65px;
  display: grid;
  row-gap: 15px;
  column-gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
  position: relative;
}

    .view-empty {
    text-align: center;
    width: auto;
    color: #6d6f72;
    font-weight: 700;
    background: transparent;
    font-family: 'raleway bold';
}

/*.view-filters > form > div {*/
/*  padding: 40px 65px;*/
/*  display: flex;*/
/*  flex-direction: row;*/
/*  align-items: flex-end;*/
/*  row-gap: 15px;*/
/*  column-gap: 2rem;*/
/*  position: relative;*/
/*}*/

/*@media only screen and (max-width:768px) {*/
/*.view-filters > form > div {*/
/*    display: block;*/
/*    padding:0;*/
/*  }  */
/*}*/

@media only screen and (min-width:1050px) {
  .view-filters > form > div {
    grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
    
    
  }
}

.view-filters > form > div:before, .view-filters > form > div:after {
  content: unset;
}
	

.view-filters > form > div .form-actions {
    justify-self: end;
}

.view-filters > form > div .form-actions > .btn:last-of-type {
    margin: 0;
}

.view-filters .select-wrapper:after{
	color: #6d6f72;
}

.view-filters .btn {
  color: #6d6f72;
  font-weight: 700;
  background: transparent;
  border: solid black thin;
  border-radius: unset;
  font-family: 'raleway bold';
}

@media only screen and (max-width: 540px) {
  .view-content, .views-infinite-scroll-content-wrapper {
    padding: 0 30px;
  }
  
  .view-filters > form > div {
    padding: 40px 30px;
  }
}


/* END Filters */

.hdf-chiffres .view-content {
  margin-top: 25px;
}

.hdf-events .view-content, .hdf-chiffres .view-content,
.views-infinite-scroll-content-wrapper {
  display: grid;
  row-gap: 50px;
  column-gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
}

.brochures .views-infinite-scroll-content-wrapper {
  row-gap: 30px;
  grid-template-columns: repeat(auto-fill, minmax(19%, 1fr));
}

@media only screen and (max-width: 801px) {
  .brochures .views-infinite-scroll-content-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
  }
}

@media only screen and (max-width: 601px) {
  .brochures .views-infinite-scroll-content-wrapper {
    grid-template-columns: auto;
  }
  
  .hdf-events .view-content, .hdf-chiffres .view-content,
  .hdf-actus .views-infinite-scroll-content-wrapper{
    grid-template-columns: repeat(auto-fill, minmax(48%, 1fr));
  }
}

.hdf-actus .view-content {
  display: block;
}

.hdf-actus .views-infinite-scroll-content-wrapper{
  padding: 0;
}

.views-infinite-scroll-content-wrapper:after, .views-infinite-scroll-content-wrapper:before {
  content: none;
}

.hdf-events .views-row, .hdf-chiffres .views-row {
  border: solid lightgray 2px;
  padding: 15px;
}

.hdf-events .views-row > div:first-of-type div {
  position: relative;
  padding-bottom: 56.2%;
}

.hdf-events .views-row > div:first-of-type img {
  position: absolute;
  -o-object-fit: cover; 
  object-fit: cover; 
  width: 100%;
  height: 100%;
  /*pointer-events: none;*/
}

.hdf-events .views-row > div:not(:first-of-type), .brochures .content > div:last-of-type > div > section {
  margin: 0.67em 0;
}

.hdf-events .views-row > div:nth-of-type(2) a, .brochures .content > div:last-of-type > div > section a{
  font-size: 1.25em;
  color: black;
  text-decoration: none;
  font-weight: 600;  
}

.hdf-events .views-row > div:nth-of-type(3), .brochures .content > div:last-of-type > div > section p {
  color: #b19cd6;
  font-size: 1.3em;
  font-weight: 600;
}


.hdf-actus .pager li > a, .brochures .pager li > a {
    border-radius: 0;
    padding: 8px 75px;
    border: 2px solid #0094a9;
    font-size: 15px;
    color: #00b4ce;
    font-family: 'raleway regular';
}

.hdf-actus .pager li > a:hover, .hdf-actus .pager li > a:focus,
.brochures .pager li > a:hover, .brochures .pager li > a:focus{
    text-decoration: none;
    background-color: #eeeeee;
}

/* Brochures */

.brochures .view-content {
  display: initial;
}

.brochures h2 {
  display: none;
}

.brochures .views-row .layout__region:first-of-type  section .contextual {
	top: 35px;
}

.brochures .views-row .layout__region:first-of-type  section .contextual .trigger {
	background-color: #2d81ca;
}

.brochures .views-row .layout__region:first-of-type  section .contextual .trigger:hover {
	background-color: #84c6ff;
}

.brochures .views-row .field--name-field-media-image .field--item,
.brochures .views-row .field--name-field-event-image {
	position: relative;
	/*padding-bottom: 56.2%;*/
	padding-bottom: 150%;
}

.brochures .views-row .field--name-field-media-image .field--item img,
.brochures .views-row .field--name-field-event-image img {
  position: absolute;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

.brochures .block-field-blocknodebrochuresfield-brochure-file {
  display: none;
}

/*.brochures .content > div:last-of-type {*/
/*	position: absolute;*/
/*	width: 100%;*/
/*	bottom: 0px;*/
/*	left: 0;*/
/*	right: 0;*/
/*	overflow: hidden;*/
/*	top: 70%;*/
/*}*/

/*.brochures .content > div:last-of-type > div {*/
/*	background-color: #61d3ed;*/
/*	background-color: rgba(112, 228, 255,0.8);*/
/*	padding: 25px;*/
/*	padding-top: 10px;*/
/*	height: 100%;*/
/*	overflow: hidden;*/
/*}*/

/*.brochures .content > div:last-of-type > div * {*/
/*	color: white;*/
/*	text-decoration: none !important;*/
/*	font-size: 15px;*/
/*}*/

.brochures .content > div:last-of-type > div > section:first-of-type {
	font-weight: bold;
	/*margin-bottom: 15px;*/
}

/* Chiffres */

.hdf-chiffres .views-row div {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  font-size: 1.5em;
  text-transform: uppercase;
}

.hdf-chiffres .views-row > div:first-of-type {
  font-size: 3em;
}

.hdf-chiffres .views-row div:nth-of-type(2) {
  color: white;
  padding: 2px 15px;
  text-align: center;
}

@media only screen and (max-width: 331px) {
  .hdf-chiffres .views-row div:nth-of-type(2) {
    font-size: 1.1em !important;
  }
}

.hdf-chiffres .views-row div:nth-of-type(3) {
  font-size: 2.5em;
  font-weight: bold;
  color: #00a8c1;
}

.hdf-chiffres .views-row > div:last-of-type {
  display: none;
}