/* BLOCK ACCUEIL */

.articles {
  margin-right:16.797%;
}

.articles .views_slideshow_cycle_teaser_section {
  width: 100% !important;
}

.articles .views_slideshow_cycle_teaser_section .iews_slideshow_cycle_slide {
  width: 100% !important;
  height: auto !important;
}

.articles {
  position:relative;
}

.articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row .blocTxt {
  position: absolute;
  width: 100%;
  height: 82%;
  top: 18%;
}

.articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row .blocTxt h4 {
  margin-bottom: 15px;
  max-height: 95px;
  overflow: visible;
}

.articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row:nth-of-type(2) h4 {
  margin-top: 15px;
}

.articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row:nth-of-type(1) h4 {
  margin-top: 10px;
}

div.articles .field-content .blocTxt,
.articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row .actualites-img-wrapper {
    height: auto;
}

.articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row .blocTxt {
  padding-top: 6.5%;
  padding-right: 18.45%;
  padding-left: 13%;
  padding-bottom: 1%;
}

.articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row:nth-of-type(1) .blocTxt {
  overflow:visible;
}

.articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row:nth-of-type(2) .blocTxt {
  overflow-y: visible;
}

#block-views-block-actualites-accueil {
  max-height: none;
}

body.path-frontpage #block-views-block-actualites-accueil .articles .item-list a {
  margin-top:11px;
}

.articles .views_slideshow_cycle_teaser_section .field-content:after {
  content: "";
  display: table;
  clear: both;
}

.articles div#views_slideshow_cycle_div_actualites-accueil_0,
.articles div#views_slideshow_cycle_div_actualites-accueil_1 {
  width: 100% !important;
}

.articles .field-content .blocTxt {
  position:absolute;
  bottom:0;
  height:390px;
  padding:0 8.450704% 0 6.57277%;
}

.articles .field-content .actualites-img-wrapper {
  width:50%;
}

.articles div#views_slideshow_cycle_div_actualites-accueil_0 > div:nth-of-type(1) .actualites-img-wrapper,
.articles div#views_slideshow_cycle_div_actualites-accueil_1 > div:nth-of-type(1) .actualites-img-wrapper {
  float:right;
  line-height: 0;
}

.articles div#views_slideshow_cycle_div_actualites-accueil_0 > div:nth-of-type(1) .blocTxt,
.articles div#views_slideshow_cycle_div_actualites-accueil_1 > div:nth-of-type(1) .blocTxt {
  float:left;
  left:0;
  text-align:right;
}

.articles div#views_slideshow_cycle_div_actualites-accueil_0 > div:nth-of-type(2) .actualites-img-wrapper,
.articles div#views_slideshow_cycle_div_actualites-accueil_1 > div:nth-of-type(2) .actualites-img-wrapper {
  float:left;
  line-height: 0;
  text-align: right;
}

.articles div#views_slideshow_cycle_div_actualites-accueil_0 > div:nth-of-type(2) .blocTxt,
.articles div#views_slideshow_cycle_div_actualites-accueil_1 > div:nth-of-type(2) .blocTxt {
  float:right;
  right:0;
  top:0;
}

.articles .views-row.views-row-0.views-row-odd.views-row-first,
.articles .views-row.views-row-1.views-row-even {
  position: relative;
  clear:both;
}

.articles h4 a {
  font-family:"ralewaybold";
  font-size:1.75em;
  color:#353535;
  text-decoration:none;
  border:0px;
}

.articles p {
  font-family:"myriadpro";
  font-size:1em;
  color:#353535;
  padding-top:10px;
}


.articles .etiquette {
  position: absolute;
  top: -28px;
  left: 20px;
}

.articles div#views_slideshow_cycle_div_actualites-accueil_0 > div:nth-of-type(2) .blocTxt .etiquette,
.articles div#views_slideshow_cycle_div_actualites-accueil_1 > div:nth-of-type(2) .blocTxt .etiquette {
  display:none;
}


/* BTN */
.articles .item-list a,
.page-node-type-actualite .field--name-field-tags ul li a {
  display: inline-block;
  font-family: 'myriadpro';
  font-size:1em;
  color:#353535;
  border:1px solid #cecece;
  padding:15px 25px;
  margin-top:30px;
  -webkit-transition:all 0.3s ease-in-out;
  transition:all 0.3s ease-in-out;
}

.articles .item-list a:hover,
.articles .item-list a:focus,
.articles .item-list a:active,
.page-node-type-actualite .field--name-field-tags ul li a:hover,
.page-node-type-actualite .field--name-field-tags ul li a:focus,
.page-node-type-actualite .field--name-field-tags ul li a:active {
  color:#ffffff;
  background:#353535;
  border:1px solid #353535;
  -webkit-transition:all 0.3s ease-in-out;
  transition:all 0.3s ease-in-out;
}

.articles .item-list li,
.page-node-type-actualite .field--name-field-tags ul li {
  margin-right:6px;
}

.articles .item-list li:last-child,
.page-node-type-actualite .field--name-field-tags ul li:last-child {
  margin-right:0;
}

body.page-node-type-actualite .field--name-field-actu-image {
  max-width: 34%;
  float: left !important;
  padding-right: 15px;
  padding-bottom: 15px;
  margin: 0;
}

body.page-node-type-actualite .field--name-body {
  float: right;
  max-width: 65%;
}

body.page-node-type-actualite .created-date {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 15px;
}

.articles .views-slideshow-controls-bottom {
  position: absolute;
  width:83px;
  height:166px;
  right:-123px;
  top: 0;
  bottom: 0;
  margin: auto;
}

.articles span#views_slideshow_controls_text_pause_actualites-accueil {
  display:none;
}

.views_slideshow_controls_text a {
  color: transparent;
  width: 83px;
  height: 83px;
  display: block;
}

.views_slideshow_controls_text_next a:hover,
.views_slideshow_controls_text_previous a:hover,
.views_slideshow_controls_text_next a:focus,
.views_slideshow_controls_text_previous a:focus,
.views_slideshow_controls_text_next a:active,
.views_slideshow_controls_text_previous a:active {
  color: transparent;
  -webkit-animation-duration:3s;
  animation-duration:3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  animation-iteration-count:infinite;
  -webkit-animation-iteration-count:infinite;
}

.views_slideshow_controls_text_next a {
  background: url(../img/picto-fleche-droite-noir.svg);
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: center;
  border-left: 1px solid #cecece;
  border-right: 1px solid #cecece;
  border-bottom:1px solid #cecece;
}


.views_slideshow_controls_text_next a:hover,
.views_slideshow_controls_text_next a:focus,
.views_slideshow_controls_text_next a:active {
    -webkit-animation-name: shakeRight;
    animation-name: shakeRight;
}

@-webkit-keyframes shakeRight {
    0%, 100% {background-position:center left 25px;}
    10%, 30%, 50%, 70%, 90% {background-position:center left 35px;}
    20%, 40%, 60%, 80% {background-position:center left 25px;}
}

@keyframes shakeRight {
    0%, 100% {background-position:center left 25px;}
    10%, 30%, 50%, 70%, 90% {background-position:center left 35px;}
    20%, 40%, 60%, 80% {background-position:center left 25px;}
}

.views_slideshow_controls_text_previous a {
  background: url(../img/picto-fleche-gauche-noir.svg);
  background-size:30px;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid #cecece;
}

.views_slideshow_controls_text_previous a:hover,
.views_slideshow_controls_text_previous a:focus,
.views_slideshow_controls_text_previous a:active {
    -webkit-animation-name: shakeLeft;
    animation-name: shakeLeft;
}

@-webkit-keyframes shakeLeft {
    0%, 100% {background-position:center left 25px;}
    10%, 30%, 50%, 70%, 90% {background-position:center left 15px;}
    20%, 40%, 60%, 80% {background-position:center left 25px;}
}
@keyframes shakeLeft {
    0%, 100% {background-position:center left 25px;}
    10%, 30%, 50%, 70%, 90% {background-position:center left 15px;}
    20%, 40%, 60%, 80% {background-position:center left 25px;}
}

.more-link a {
  font-family:"myriadpro";
  color:#353535;
  display: flex;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  vertical-align: middle;
  text-align:center;
  width: 83px;
  height: 83px;
  align-items:center;
  border-left: 1px solid #cecece;
  border-right: 1px solid #cecece;
  border-bottom:1px solid #cecece;
  line-height:1;
  padding:10px;
  position: absolute;
  right: -123px;
  top: 250px;
  bottom: 0;
  margin: auto;
}

#block-views-block-actualites-accueil {
  display: block;
}

#block-views-block-actualites-accueil .view-content {
  overflow:hidden;
}

#block-views-block-actualites-accueil .field-content .actualites-img-wrapper {
  width: 50%;
}

#block-views-block-actualites-accueil .field-content .blocTxt {
  position: absolute;
}

#block-views-block-accueil-actualites-mobile-accueil {
  display: none;
}

/* LISTE ACTUALITES */

.view-liste-actualites .views-row .blocTxt p:nth-of-type(2) {
  font-family: "myriadpro";
  font-size: 1em;
  padding-top: 10px;
}

.gabActualite .blocTxt,
.gabActualite .blocImg {
  width:59.794%;
  float:left;
  height: 100%;
  overflow: hidden;
}

.gabActualite .blocImg {
  position:absolute;
  width:152px;
  height:152px;
  border-radius:100%;
  overflow:hidden;
  margin-left:7.217%;
  background:#ffffff;
  top: 10%;
  right: 7%;
}

.view-liste-actualites.view-liste .views-row article .item-list li {
  border: 0;
  padding: 0;
}

.view-liste-actualites.view-liste .views-row article .item-list li a {
  padding: 10px 10px;
}

.view-liste-actualites .views-row .blocTxt p:nth-of-type(2){
  font-size:1.230769em;
}

.actualites-text-wrapper {
  position: relative;
  width: 50%;
  background-color: #FFFFFF;
}

.articles div#views_slideshow_cycle_div_actualites-accueil_0 > div:nth-of-type(1) .actualites-text-wrapper,
.articles div#views_slideshow_cycle_div_actualites-accueil_1 > div:nth-of-type(1) .actualites-text-wrapper {
  float: left;
}

.articles div#views_slideshow_cycle_div_actualites-accueil_0 > div:nth-of-type(2) .actualites-text-wrapper,
.articles div#views_slideshow_cycle_div_actualites-accueil_1 > div:nth-of-type(2) .actualites-text-wrapper {
  float: right;
  top: 0;
}

.articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row:nth-of-type(1) .blocTxt .actualites-body,
.articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row:nth-of-type(2) .blocTxt .actualites-body {
  font-size: 1em;
  line-height: 1.4;
  max-height: 85px;
  padding-top: 0;
}

.articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row:nth-of-type(2) .item-list {
  margin-top: 1em;
}

.articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row:nth-of-type(1) .item-list {
  margin-top: 0.7em;
}

@media screen and (max-width: 1800px) {
  .articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row .blocTxt h4 {
    position: relative;
    max-height: 5.4em;
  }

  .articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row .blocTxt h4 a {
    height: 3.2em;
    line-height: 1;
    overflow: hidden;
  }
}
@media screen and (max-width: 1600px){
  .articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row .blocTxt h4 {
    position: relative;
    margin-top: 1.5vw;
    height: calc((2.156vw - 0.91px) * 1.8);
    overflow: hidden;
  }
  .articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row .blocTxt h4 a {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    height: calc((2.156vw - 0.91px) * 1.8);
    line-height: 1;
    overflow: hidden;
  }

}

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

  .articles {
    margin-right:14.797%;
  }

  .articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row .blocTxt {
    top: calc(10.39vw - 100.783px);
    height: calc(24.65vw + 10px);
    padding-top: 3vw;
    padding-bottom: 3vw;
    padding-left: calc(12.402vw - 100.3px);
    padding-right: calc(19.357vw - 167.76px);
  }

  .articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row .blocTxt h4 {
    margin-top: 1.5vw;
    margin-bottom: 1vw;
    font-size: 1.2vw;
    height: calc((2.156vw - 0.91px) * 2.02);
  }

  .articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row .blocTxt h4 a {
    font-size: calc(2.156vw - 0.91px);
    height: calc((2.156vw - 0.91px) * 2.02);
  }

  .articles .etiquette {
   top: -28px;
  }

  .articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row:nth-of-type(1) .blocTxt h4 {
    margin-top: 0.6vw;
    padding-left: 75px;
  }

  .articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row:nth-of-type(1) .blocTxt .actualites-body,
  .articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row:nth-of-type(2) .blocTxt .actualites-body {
    max-height: 85px;
    overflow-y: hidden;
    padding-top: 0;
    font-size: 1em;
  }

  body.path-frontpage #block-views-block-actualites-accueil .articles .item-list a {
    margin-top: 10px;
    padding: 10px 20px;
  }

  .articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row:nth-of-type(2) .blocTxt {
    padding-top: 20px;
  }
}

@media screen and (min-width: 971px) and (max-width: 1200px) {

  .articles {
    margin-right: 12.797%;
  }

  .articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row:nth-of-type(1) .blocTxt .actualites-body,
  .articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row:nth-of-type(2) .blocTxt .actualites-body {
    font-size: 0.9em;
  }

  .articles .views-slideshow-controls-bottom,
  .more-link a {
    right:-103px;
  }
}

@media screen and (max-width: 970px) and (min-width: 769px) {

  #block-views-block-actualites-accueil {
    display: block;
  }

  #block-views-block-accueil-actualites-mobile-accueil {
    display: none;
  }

  .articles {
    margin-right: 10.797%;
  }

  .actualites-body {
    display: none;
  }


  .articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row .blocTxt {
    padding-left: 20px;
    padding-right: 20px;
  }

  .articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row:nth-of-type(1) .blocTxt {
    padding-top: 75px;
  }

  .articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row:nth-of-type(2) .blocTxt {
    padding-top: 50px;
  }

  .articles div#views_slideshow_cycle_teaser_section_actualites-accueil .views-row .item-list {
    margin-top: 20px;
  }

  .articles .views-slideshow-controls-bottom,
  .more-link a {
    right:-90px;
  }
}

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

  #block-views-block-actualites-accueil {
    display: none !important;
  }

  #block-views-block-accueil-actualites-mobile-accueil {
    display: block;
    margin-bottom: -8px;
  }

  #block-views-block-accueil-actualites-mobile-accueil .articles .etiquette {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
  }

  #block-views-block-accueil-actualites-mobile-accueil .views_slideshow_cycle_slide {
    width:100%;
  }

  #block-views-block-accueil-actualites-mobile-accueil .articles .item-list a {
    margin-top: 15px;
    padding: 10px 15px;
    margin-bottom: 11px;
  }

  .articles {
    margin-right:0;
  }

  div.articles .field-content .blocTxt {
    padding-top: 40px;
    padding-bottom: 20px;
  }

  div.articles .views-slideshow-controls-bottom {
    height:47px;
  }

  .views_slideshow_controls_text a,
  .more-link a {
      width:63px;
      height:47px;
  }

  .views_slideshow_controls_text_previous a,
  .views_slideshow_controls_text_next a {
      background-size:20px;
  }

  .more-link a {
    top:185px;
    right:-70px;
  }

  .articles .blocTxt *{
    text-align:center;
  }

  .articles p {
    font-size:1.230769em;
  }

  .articles .field-content img,
  .articles .field-content .blocTxt {
    position:inherit;
    width:100%;
  }

  .articles .views-slideshow-controls-bottom {
    right: 0;
    z-index: 10;
    top: auto;
    bottom: 0;
    width: auto;
    height:63px;
    background-color: #fff;
    transform: translateY(50%);
  }

  .articles .views-slideshow-controls-bottom span {
    float:left;
    width: 62px;
  }

  .views_slideshow_controls_text_next a {
    border-top:1px solid rgb(206, 206, 206);
  }

  .more-link a {
    top: auto;
    bottom: 0;
    right: 62px;
    z-index: 10;
    border-top:1px solid rgb(206, 206, 206);
    background-color: #fff;
    transform: translateY(50%);
  }
}

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

  .articles p{
    line-height:1.2;
  }
}

