/* DIRECT TWEETS */

.direct-tweets {
  background-color: rgba(64, 153, 255, 1);
  background-image: url('../images/home-modules/twitter.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 120%;
  padding: 40px 0 50px;
}
.direct-tweets p {
  color: #ffffff;
  font-style: italic;
}
.direct-tweets .direct-tweets-list {
  margin: 0 auto;
  max-width: 500px;
  overflow: hidden;
  width: calc(100vw - 60px);
}
.direct-tweets .direct-tweets-item {
  float: left;
  opacity: 0;
  transition: opacity .8s;
  width: 100%;
}
.direct-tweets .direct-tweets-item.active {
  margin-left: 0px !important;
  margin-right: 0px !important;
  opacity: 1;
}
.direct-tweets .direct-tweets-item:nth-child(1) {
  margin-left: -5000px;
  margin-right: -4500px;
}
.direct-tweets .direct-tweets-item:nth-child(2) {
  margin-left: -4500px;
  margin-right: -4000px;
}
.direct-tweets .direct-tweets-item:nth-child(3) {
  margin-left: -4000px;
  margin-right: -3500px;
}
.direct-tweets .direct-tweets-item:nth-child(4) {
  margin-left: -3500px;
  margin-right: -3000px;
}
.direct-tweets .direct-tweets-item:nth-child(5) {
  margin-left: -2500px;
  margin-right: -2000px;
}
.direct-tweets .direct-tweets-item:nth-child(6) {
  margin-left: -2000px;
  margin-right: -1500px;
}
.direct-tweets .direct-tweets-item blockquote {
  display: none;
}
.direct-tweets .direct-tweets-item iframe {
  margin: 0 !important;
}

@media (min-width: 768px) {

  .direct-tweets {
    background-size: 800px;
  }
}


/* PORTAIL ASSOS */

.portail-assos {
  background-color:#A51B50;
}

.portail-assos .heading-title,
.portail-assos .heading-links > a,
.portail-assos .news-card {
  color: white;
}

html.no-js .portail-assos .news-card:hover .news-card-category,
html.no-js .portail-assos .news-card:focus .news-card-category,
html.no-touchevents .portail-assos  .news-card:hover .news-card-category,
html.no-touchevents .portail-assos  .news-card:focus .news-card-category,
html.no-js .portail-assos .news-card:hover,
html.no-js .portail-assos .news-card:focus,
html.no-touchevents .portail-assos  .news-card:hover,
html.no-touchevents .portail-assos  .news-card:focus {
  color: #A51B50;
}

html.no-js .portail-assos .news-card:hover .news-card-content:before,
html.no-js .portail-assos .news-card:focus .news-card-content:before,
html.no-touchevents .portail-assos .news-card:hover .news-card-content:before,
html.no-touchevents .portail-assos .news-card:focus .news-card-content:before,
.portail-assos .news-card:hover .news-card-content:before {
    background-color: #fff;
}

.portail-assos .heading-links {
  position: absolute;
  margin-top: 27px;
  margin-left: 430px;
}
.portail-assos .heading-links > a {
  color: white;
  border-bottom-color: white;
}
.portail-assos .heading-links > a:after {
  background-color: #F8E273;
}

.portail-assos .heading-title:after {
    color: #f9f9f9;
    font-size: 1.7rem;
    line-height: 2.3rem;
    content: "Retrouvez ici toutes les actualités et services à destination des associations";
    max-width: 350px;
    height: 80px;
    display: inline-block;
    font-weight: normal;
    vertical-align: top;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #c9c9c9;
    margin-top: -13px;
}
.portail-assos .news-card-content {
  background-color: #A51B50;
}

@media (min-width: 768px) {
  .portail-assos .heading {
    height: 80px;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .portail-assos .heading-title:after {
    display: none;
  }
}

@media (max-width: 600px) {
  .portail-assos .heading-title:after {
    display: none;
  }
  .portail-assos .heading-links {
    position: relative;
    margin-top: auto;
    margin-left: auto;
  }
  .portail-assos .news-card-content {
    background-color: #A51B50;
  }
}

.portail-assos .news-card .news-card-category {
  color: #F8E273;
}

