/**
 * @file
 * Visual styles for Culturepresse's Podcast content.
 */

/* View of all podcasts */
body.path-podcasts-summary table th#view-title-table-column,
body.path-podcasts-summary table th.views-field-field-media {
  display: none;
}

body.path-podcasts-summary .views-field-title a {
  font-size: 1em;
}

body.path-podcasts-summary td.views-field-title {
  max-width: 320px;
}

body.path-podcasts-summary td.views-field-image {
  max-width: 200px;
  padding: 10px 2px;
}

body.path-podcasts-summary td.views-field-field-media,
body.path-podcasts-summary iframe {
  max-width: 270px;
  height: auto;
  padding: 10px 2px;
  text-align: center;
}
@media (max-width: 540px) {
  body.path-podcasts-summary iframe {
    width: 80%;   
  }
}
body.path-podcasts-summary audio {
  max-width: 270px;
  height: auto; 
}
body.path-podcasts-summary iframe {
  margin-left: 1.9em;
}

/* Full view */
body.page-node-type-podcast main#content section {
   width: 80%; 
 }

body.page-node-type-podcast p {
  text-align: left;
} 

.media-oembed-content {
  height: 280px;
}

body.page-node-type-podcast article.node--type-podcast iframe {
  text-align: left;
  margin-left: 2em;
}

body.page-node-type-podcast  #block-culturepresse-system-main .node__content {
  width: 426px;
  position: relative;
  margin-bottom: 4em;
}
@media (max-width: 538px) {
  body.page-node-type-podcast  #block-culturepresse-system-main .node__content {
    width: 80%;   
  }
}

body.page-node-type-podcast .field--name-field-fichier-audio {
  width: 95.5%;
  position: absolute;
  top: 90%;
  left : 0;
}

audio {
  width: 100%;
}

.field--name-field-fichier-audio label {
  display: none;
}