/*
Theme Name: Spectre V2
Author: Studio des formes / Romain Ducrocq
Author URI: http://studiodesformes.net/
Description: Load episodes with JS
Version: 2.0
*/

   /*/°\
  !& & (@
 ,-\-- /--,
! _!°°° !_ !
!_/!-__-!21/
  /°./\.°\
/===!  !==*/

/**
 * Table of Contents
 *
 * 1.0 - Typography
 * 2.0 - Normalize
 *   2.1 - Elements
 *   2.2 - Links
 * 3.0 - Header
 * 4.0 - Main Content
 */


/**
 * 1.0 - Typography
 */

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

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


/**
 * 2.0 - Normalize
 */

:root {
	--color: #eee;
	--spectre-bg: linear-gradient(to right, #FF3D20, #FFCF98, #FFF798, #BBFFB2, #98C4FF, #835EFF, #DBAEFF, #DBAEFF ,#5EE2B9 ,#5EE2B9 ,#BBFFB2, #BBFFB2);
}

html {
	font-family: lunchtype22regular, sans-serif;
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
video {
	display: inline-block;
	vertical-align: baseline;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img,
iframe,
object {
	border: 0;
}

hr {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

body,
button,
input,
select,
textarea {
	font-family: lunchtype22regular, sans-serif;
	font-size: 16px;
	font-size: 1em;
	line-height: 1.2;
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

::placeholder {
  color: #000;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #000;
}

::-ms-input-placeholder {
  color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-size: 1.5em;
	font-weight: normal;
	margin: 0;
}

b,
strong {
	font-weight: normal;
}

em,
i {
	font-style: normal;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}


/**
 * 2.1 - Elements
 */

*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-ms-font-smoothing: antialiased;
	-o-font-smoothing: antialiased;
	font-smoothing: antialiased;
}

hr {
	background: #000000;
	border: 0;
	height: 1px;
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
}


/**
 * 2.2 - Links
 */

a {
	color: #000000;
}

a:hover,
a:focus,
a:active {
	color: #000000;
}

a:hover,
a:active {
	outline: 0;
}


/**
 * 3.0 - Header
 */

#masthead {
	position: fixed;
	width: 100%;
	background: #FFF;
	z-index: 5000;
}

#masthead:before {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	display: block;
	width: 100%;
	height: 1.5em;
	background: var(--spectre-bg);
	/* background: linear-gradient(to right, #FF3D20, #FFCF98, #FFF798, #BBFFB2, #98C4FF, #835EFF, #DBAEFF, #DBAEFF ,#5EE2B9 ,#5EE2B9 ,#BBFFB2, #BBFFB2); */
}

#masthead .header-wrapper {
	height: 10em;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 0 2em;
	z-index: 9;
}

#masthead .header-wrapper .site-title {
	margin-right: auto;
}

.site-title a {
	display: block;
	margin-top: 1.5em;
	width: 22em;
	height: 6.4em;
	background: url(icons/logo_spectre_black.svg) no-repeat;
	background-size: contain;
}

.site-title h1,
.site-title p {
	display: none;
}


/**
 * 3.1 - Popup
 */

#popup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	width: 60em;
	max-width: calc(100% - 4em);
	transform: translate(-50%, -50%);
	background: #FFF;

	padding: 3em 2em 2em 2em;
	border-radius: 0.25em;
	box-shadow: 0.5em 0.5em 1em #333;
	z-index: 9999;
}

#popup:before {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	display: block;
	width: 100%;
	height: 1.5em;
	border-radius: 0.25em 0.25em 0 0;
	background: linear-gradient(to right, #FF3D20, #FFCF98, #FFF798, #BBFFB2, #98C4FF, #835EFF, #DBAEFF, #DBAEFF ,#5EE2B9 ,#5EE2B9 ,#BBFFB2, #BBFFB2);
}

#popup .popup__btn {
	position: absolute;
	top: 2em;
	right: 0.75em;
	width: 2.5em;
	height: 2.5em;
	border: 1px solid #FFF;
	border-radius: 50%;
	background: url('icons/icon-close.svg') no-repeat;
	background-size: contain;
	filter: invert(1);
	cursor: pointer;
}

#popup .entry-content h3 {
	font-size: 3em;
}

#popup .entry-content p {
	font-size: 1.8em;
	margin: 1rem 0;
}

#popup .entry-content p:last-child {
	margin-bottom: 0;
}


/**
 * 3.1 - Menu
 */

.menu {
	display: flex;
	padding: 0 0.5em 0 2em;
}

.menu li.menu-item {
	font-size: 3em;
	list-style-type: none;
	padding: 0.05em 0.75em;
	margin: 1.5rem 0 0 0.5rem;
	border: 1px solid #000;
	border-radius: 1em;
	background: transparent;
	transition: border-color .5s, background .5s;
}

.menu li.menu-item:hover,
.menu li.current-menu-item {
	border-color: var(--color);
	background: var(--color);
}

.menu li.menu-item a {
	color: #000;
	text-decoration: none;
}


/**
 * 3.2 - Search Input
 */

.add-menu-btn {
	display: flex;
}

.add-menu-btn .btn {
	width: 4em;
	height: 4em;
	margin: 1.5em 0 0 0.5em;
	border: 1px solid #000;
	border-radius: 50%;
	background: transparent;
	transition: border-color .5s, background .5s;
}

.add-menu-btn .btn:first-child {
	margin-left: 0;
}

.add-menu-btn .btn-smart {
	display: none;
	width: 4em;
	height: 4em;
	margin: 1.5em 0 0 2em;
	background: transparent;
}

.add-menu-btn .btn.loggin {
	background: #000;
}

.add-menu-btn .btn:hover,
.add-menu-btn .btn.--opened {
	border-color: var(--color);
	background: var(--color);
}

.add-menu-btn .btn button,
.add-menu-btn .btn-smart button {
	width: 100%;
	height: 100%;
	border: none;
	outline: none;
	cursor: pointer;
}

.add-menu-btn #search-btn {
	background: url(icons/icon-search.svg) no-repeat;
	background-size: contain;
}
.add-menu-btn #loggin {
	background: url(icons/icon-loggin.svg) no-repeat;
	background-size: contain;
}
.add-menu-btn #smart-menu {
	background: url(icons/icon-menu.svg) no-repeat;
	background-size: contain;
}
.add-menu-btn #smart-menu.--opened {
	background: url(icons/icon-menu-closed.svg) no-repeat;
	background-size: contain;
}

.search-panel {
	display: none;
	width: 100%;
	padding: 3em 2em 2em 2em;
}

.search-input__input {
	font-size: 3em;
	width: 100%;
	padding: 0.125rem 2rem;
	border: 1px solid var(--color);
	border-radius: 2rem;
	outline: none;
	background: var(--color);
	transition: border-color .5s, background .5s;
}

.search-input__results {
	margin-top: 1em;
	width: 100%;
	max-height: 32em;
	border-radius: 2em;
	background: var(--color);
	overflow-y: scroll;
	z-index: 999;
}

.search-input__result {
	height: 4em;
	padding: 0 2em;
	border-radius: 2em;
	background: var(--color);
	transition: background .5s ease;
	cursor: pointer;
}

.search-input__result:focus-within,
.search-input__result:hover {
	background: #FFF;
}

.search-input__result .search-input__result-message,
.search-input__result a {
	font-size: 3em;
	text-decoration: none;
	flex: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;

	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-top: 0.075em;
}

.search-input__result span {
	font-size: 1.8rem;
	padding-top: 0.25rem;
}

.search-input__result.--error,
.search-input__result.--empty {
	cursor: default;
}
.search-input__result.--error:focus-within,
.search-input__result.--error:hover,
.search-input__result.--empty:focus-within,
.search-input__result.--empty:hover {
	background: var(--color);
}


/**
 * 3.3 - Rubriques
 */

/*.emissions__rubrics {
	margin-top: 3.8em;
}

.rubrics {
	position: fixed;
	margin-top: -3.8em;
	width: 100%;
	min-height: 3.8em;
	padding: 0 1em;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	background: var(--color);
	z-index: 8;
}

.rubrics a.rubric {
	font-size: 1.8em;
	text-decoration: none;
	margin: 0.5rem 1rem;
}

.site-content > .rubric .rubrics .rubric {
	border-bottom: 1px solid transparent;
	transition: border-bottom .5s;
}

.site-content > .rubric .rubrics .rubric:hover,
.site-content > .rubric .rubrics .rubric.--selected {
	border-bottom-color: #000;
}*/


/**
 * 3.4 - Tags
 */

.emission-infos .shares,
.episode__infos .tags,
.header-tags .tags {
	display: flex;
	flex-wrap: wrap;
}

.episode__infos .tags {
	margin-top: 1.5em;
}

.header-tags .tags,
.header-results .results {
	padding: 1.5em 2em;
}

.emission-infos .share {
	font-size: 1.8em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid #000;
	border-radius: 2rem;
	padding: 0.75rem 1rem;
	margin: 0 1rem 1rem 0;
	background: transparent;
	transition: border-color .5s, background .5s;
}

.copy_url {
	position: relative;
}

.alert_copy_url {
	position: absolute;
	white-space: nowrap;
	right: 5rem;
	top: 0.666em;
	background: #fff;
	padding: 0.25em 0.5em;
	border-radius: 1em;
}

.episode__infos .tag,
.header-tags .tag,
.header-results .result,
#popup a {
	font-size: 1.8rem;
	text-decoration: none;
	border: 1px solid #000;
	border-radius: 1.5rem;
	padding: 0.25rem 1rem;
	margin: 0 0.5rem 0.5rem 0;
	background: transparent;
	transition: border-color .5s, background .5s;
}

.header-results p {
	font-size: 1.8em;
}

#popup a {
	display: table;
	margin-top: 0.75em;
}

.emission-infos .share:hover,
.episode__infos .tag:hover {
	border-color: #fff;
	background: #fff;
}

.header-tags .tag:hover,
.header-tags .tag.--selected,
#popup a:hover {
	border-color: var(--color);
	background: var(--color);
}


/**
 * 4.0 - Emissions
 */

/*.spotlight .emissions,
.random-episodes .emissions,
.emissions .emissions,
.tag__episodes .emissions {
	padding: 0 2em;
}*/

/*.author .author__emissions,
.author .rubric__episodes,
.author__episodes .emissions,
.header-tags .emissions,
.rubric__episodes .emissions,
.emissions .emissions {
	background: var(--color);
}*/

.author__emissions .emission-image h3,
.search__emissions .emission-image h3 {
	display: none;
}

.author .author__emissions {
	display: flex;
	flex-wrap: wrap;
	margin-top: 8em;
}

.episodes-order,
.emissions-order,
.authors-filter {
	width: 100%;
	height: 8em;
	display: flex;
	align-items: center;
	padding: 0 2em;
	background: var(--color);
}

.authors-filter {
	position: fixed;
}

.authors .section__title.gray {
	padding-top: 10em;
}

.episodes-order p,
.emissions-order p,
.authors-filter p {
	font-size: 1.8em;
	cursor: default;
}

.episodes-order p span,
.emissions-order p span {
	color: #000;
	cursor: pointer;
	border-bottom: 1px solid #000;
	/*transition: border-color .25s;*/
}

.emissions-order p span.search-term {
	cursor: default;
}

.authors-filter span {
	margin-right: 0.25em;
	border-bottom: 1px solid transparent;
	transition: border-color .25s;
	cursor: pointer;
}

.authors-filter span:hover {
	border-bottom-color: #000;
}

/*.emissions-order p span:hover {
	border-color: #000;
}*/

.emissions,
.newscast {
	width: 100%;
	/*display: flex;
	flex-wrap: wrap;
	padding: 0 0.5em;*/
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	/*grid-column-gap: 0.5em;*/
	grid-gap: 0.5em;
}

.emission {
	position: relative;
	/*width: calc(50% - 1em);*/
	display: flex;
	padding: 1em;
	/*margin-bottom: 1px;*/
	/*margin: 0 0.5em 1em 0.5em;*/
}

.news {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.news .entry-nav-post {
	margin: 2em 0 1em 0;
}

.news .entry-nav-post a {
	display: table;
}

.news .nav-prev {
	width: 2.5em;
	height: 2.5em;
	border: 1px solid #000;
	border-radius: 50%;
	background: url('icons/icon-back.svg') no-repeat;
	background-size: contain;
}

/*.emission:nth-child(odd) {
	width: calc(50% - 1px);
	margin-right: 1px;
}*/

/*.emission.--new:before {
	position: absolute;
	top: 3em;
	left: 3em;
	content: '';
	width: 8em;
	height: 8em;
	background: url('icons/icon-news.svg') no-repeat;
    background-size: contain;
	z-index: 1;
}*/

.emission-image,
.emission-content {
	position: relative;
	width: 50%;
	padding: 1em;
}

.emission-content a {
	text-decoration: none;
}

.emission-image img {
	width: 100%;
	border: 1px solid #000;
	filter: grayscale(1);
	mix-blend-mode: multiply;
}

.emission-image a {
	position: relative;
}

.emission-image h3 {
	position: absolute;
	/*font-size: 1.8em;*/
	font-size: 1.2vw;
	text-transform: uppercase;
	bottom: 1.5rem;
	/*left: 1.5rem;*/
	/*width: calc(100% - 3rem);*/
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;

	height: auto;
	padding: 0.5em 1em;
	border: 1px solid #000;
	border-radius: 1.25em;
	text-align: center;
	transition: border-color .5s, background .5s;
}

.emission-image:hover h3 {
	border-color: #fff;
	background: #fff!important;
}

.emission-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.emission-content h4 {
	font-size: 3em;
	line-height: 1;
	margin-bottom: 1rem;
}

.emission-content time {
	font-size: 1.8em;
	margin: 1rem 0;
	display: block;
}

.emission-content p {
	font-size: 1.8em;
	margin: 0;
}

/*.emission-infos__data-wrapper .author__emissions,
.episode__infos .author__emissions {
	display: flex;
	flex-wrap: wrap;
}*/

.emission-infos__data-wrapper .author a,
.episode__infos .author a {
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-bottom .5s;
}

.emission-infos__data-wrapper .author a:hover,
.episode__infos .author a:hover {
	border-bottom-color: #000;
}

/*.author__emissions .emission-image h3 {
	display: none;
}*/


/**
 * 4.0 - Emissions List
 */

.emissions__list .emission {
	width: 100%;
}

.emissions__list .emission-image {
	width: 16em;
}

.emissions__list .emission-content {
	width: calc(100% - 16em);
}

.emissions__list .emission-content h3,
.emissions__list .emission-content h4 {
	font-size: 2.4em;
	line-height: 1.2;
}

.emissions__list .emission-content > div:first-child {
	display: flex;
	justify-content: space-between;
}

.emissions__list .emission-content time {
	margin: 0.5rem 0 0 2rem;
	white-space: nowrap;
}

.emissions__list .emission-content p {
	max-width: 96rem;
}

.emissions__list .emission {
	margin-bottom: 1px;
}


/**
 * 4.1 - News List
 */

.newscast .news {
	padding: 2em;
	background: var(--color);
}

.newscast .news a {
	text-decoration: none;
}

.newscast .news .entry-header h4 {
	font-size: 2.4em;
}

.news .entry-header h4 {
	font-size: 5em;
}

.news .entry-header p {
	font-size: 1.8em;
	margin: 1rem 0;
}

.news .entry-content h3,
.page.type-page .entry-content h3 {
	font-size: 3em;
}

.news .entry-content p {
	font-size: 2.2em;
}

.news .entry-content ul {
	font-size: 1.8em;
	margin: 0 1em;
}

.news .entry-content li {
	position: relative;
	list-style-type: none;
}

.news .entry-content li:before {
	position: absolute;
	content: '–';
	margin-left: -1em;
}

.news .entry-content a {
	text-decoration: none;
	border-bottom: 1px solid #000;
}

.news .entry-content em {
	font-family: 'lunchtype23italic';
}

.news .entry-content .wp-caption {
	width: 100%!important;
}

.news .entry-content img {
	width: 100%;
	height: auto;
	margin: 1em 0 0.5em 0;
}

.news .entry-content .iframe {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
	border-radius: 1em;
	overflow: hidden;
}

.news .entry-content .iframe iframe {
	position: absolute;
	width: 100%;
	height: 100%;
}

.news .entry-content figcaption {
	font-size: 1.4em;
}

.news .entry-content p.wp-caption-text {
	font-size: 1.4em;
	margin-top: 0;
}

.news .entry-content blockquote {
	font-size: 1.35em;
	border-left: 1px solid #000;
	margin-left: 0;
	padding-left: 2em;
}

.newscast__news {
	min-height: 60vh;
	padding: 2em;
	background: var(--color);
}

.newscast__news .news {
	max-width: 74rem;
	margin: 0 auto;
}


/**
 * 5.0 - Main Content
 */


.site-content {
	padding-top: 10em;
}

/*.site-content .home,
.site-content>.rubric {
	padding-top: 3.8em;
}*/

.site-content {
    -webkit-transition: -webkit-transform .28s, opacity .28s;
    -ms-transition: -o-transform .28s, opacity .28s;
    -o-transition: -o-transform .28s, opacity .28s;
    transition: transform .28s, opacity .28s;
}
.slide-out .site-content {
    -webkit-transform: translate3d( 0, 100px, 0 );
    -ms-transform: translate3d( 0, 100px, 0 );
    -o-transform: translate3d( 0, 100px, 0 );
    transform: translate3d( 0, 100px, 0 );
    opacity: 0;
}


/**
 * 5.0 - Single Emission
 */

.emission-infos {
	padding: 3em 2em 6em 2em;
	display: flex;
}

.emission-infos__data-wrapper {
	width: 66.666%;
	padding-right: 2em;
}

.emission-infos__data-wrapper h2 {
	font-size: 5em;
}

.emission-infos__data-wrapper p.author {
	font-size: 1.8em;
	text-transform: uppercase;
	margin: 2em 0 1em 0;
}

.emission-infos__data-wrapper p {
	font-size: 1.8em;
	padding-right: 25%;
}

.emission-infos__image-wrapper {
	width: 33.333%;
}

.emission-infos__image-wrapper img {
	width: 100%;
	border: 1px solid #000;
	filter: grayscale(1);
	mix-blend-mode: multiply;
}


/**
 * 5.1 - Single Episode
 */

 .loading-indicator,
 .server-error {
	font-size: 1.8em;
	padding: 1rem 2rem;
}

.episodes {
	padding-bottom: 12em;
}

.episode {
	border-top: 1px solid #000;
}

.episode:last-child {
	border-bottom: 1px solid #000;
}

.episode__header div,
.episode__play-btn-wrapper {
	width: 18rem;
}

.episode__header h3,
.episode__infos {
	width: calc(75% - 18rem);
}

.episode__header time,
.episode__share {
	width: 25%;
}

.episode__header {
	display: flex;
	padding: 1em 2em;
	background: transparent;
	cursor: pointer;
	transition: background .5s;
}

.episode__header:hover {
	background: #fff;
}

.episode.--open .episode__header {
	background: transparent;
}

.episode__header div,
.episode__header h3 {
	font-size: 3em;
}

.episode__header time {
	font-size: 1.8em;
	text-align: right;
}

.episode__body {
	display: none;
}

.episode__infos-wrapper {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	padding: 2em 2em 4em 2em;
}

.episode__play-btn-wrapper button {
	width: 10em;
	height: 10em;
	border: 1px solid #000;
	border-radius: 50%;
	padding: 2em;
	background: transparent;
	transition: border-color .5s, background .5s;
}

.episode__play-btn-wrapper button:hover {
	border-color: #FFF;
	background: #FFF;
	cursor: pointer;
}

/* .episode__play-btn-wrapper button svg {
	
} */

.episode__infos p.author {
	text-transform: uppercase;
}

.episode__infos p {
	font-size: 1.8em;
	margin-right: 20%;
}

.episode__infos p + ul,
.episode__infos p + ol {
	margin-top: -1.5em;
}

.episode__infos a,
.emission-infos__data-wrapper a {
	text-decoration: none;
	border-bottom: 1px solid #000;
}

.episode__infos em {
	font-family: 'lunchtype23italic';
}

.episode__infos .more,
.emission-infos__data-wrapper .more {
	white-space: nowrap;
	border-bottom: 1px solid #000;
	cursor: pointer;
}

.episode__infos .infos__bis,
.emission-infos__data-wrapper .infos__bis {
	display: none;
	margin: 0!important;
	padding: 0!important;
}

.episode__infos p:first-child,
.emission-infos__data-wrapper .infos__bis p:first-child {
	margin-top: 0;
}

.episode__infos ul li,
.emission-infos__data-wrapper ul li {
	position: relative;
	font-size: 1.8em;
	list-style-type: none;
	padding-left: 1em;
}

.episode__infos ul li:before,
.emission-infos__data-wrapper ul li:before {
	position: absolute;
	content: '–';
	margin-left: -1em;
}

.episode__share p,
.episode__share a {
	font-size: 1.4em;
	text-transform: uppercase;
	margin: 0;
}

.shares {
	flex-wrap: wrap;
}

.shares p {
	font-size: 1.4em;
	text-transform: uppercase;
	width: 100%;
	margin: 0.5em 0;
}

.shares a.share__btn {
	display: inline-block;
	width: 4rem;
	height: 4rem;
	border: 1px solid #000;
	border-radius: 50%;
	margin: 0.5rem 0.5rem 2rem 0;
	padding: 0.5rem;
	background: transparent;
	transition: border-color .5s, background .5s;
	cursor: pointer;
}

.shares a.share__btn:hover {
	border-color: #fff;
	background: #fff;
}

.shares svg {
	width: 100%;
	height: 100%;
}

.shares .rss {
	width: 1em;
	height: 1em;
	background: url(icons/ico/ico-rss.svg);
	background-size: contain;
}

.shares .rss {
	width: 1em;
	height: 1em;
	background: url(icons/ico/ico-rss.svg);
	background-size: contain;
}

.download a {
	display: table;
	text-decoration: none;
	border-bottom: 1px solid #000;
	margin-bottom: 0.5em;
}

.report a {
	text-decoration: none;
	border-bottom: 1px solid #000;
}

.files a {
	display: block;
	width: 4em;
	height: 4em;
	margin: 0.5em 0;
	background: url(icons/icon-pdf.svg);
	background-size: contain;
}

.pagination {
	padding: 0 2em;
}

.pagination .page-numbers {
	display: inline-block;
	font-size: 1.8rem;
	text-decoration: none;
	border: 1px solid #000;
	border-radius: 1.5rem;
	padding: 0.25rem 1rem;
	margin: 6rem 0.125rem 0 0.125rem;
	background: transparent;
	transition: border-color .5s, background .5s;
}

.pagination a:hover,
.pagination .page-numbers.current {
	border-color: #fff;
	background: #fff;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
	border: none;
	border-radius: 1.5rem;
	padding: 0.25rem;
	background: transparent!important;
}

.pagination .page-numbers.current,
.pagination .page-numbers.dots {
	cursor: default;
}

.pagination .page-numbers.dots {
	border: none;
}


/**
 * 5.2 - Random Episode
 */

.type-podcast .reader-buttons button {
	width: 44px;
    height: 44px;
    margin: 4px 0;
    padding: 22px;
    border: 1px solid #CCC;
    border-radius: 50%;
    background: url('icons/icon-play.svg') no-repeat;
    background-position: 14px 11px;
    cursor: pointer;
}

.type-podcast .reader-buttons button.active {
	background: url('icons/icon-pause.svg') no-repeat;
    background-position: 13px 13px;
}

.type-podcast .podcast_player {
	display: none;
}

.site-player {
	/* display: none; */
	position: fixed;
	bottom: 0;
	width: 100%;
	height: 150px;
	background: #CCC;
	z-index: 999;
}


/**
 * 6.0 - Page
 */

.section__title {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 7em 2em 1em 2em;
	background: #fff;
}

.tag__episodes .section__title,
.author__episodes .section__title,
.author__emissions .section__title,
.search__episodes .section__title,
.search__emissions .section__title {
	padding-top: 1em;
}

.search__emissions {
	margin-top: 8em;
}

.section__title.gray {
	background: var(--color);
	/*margin-bottom: 0.5em;*/
}

.section__title h3 {
	font-size: 5.4em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.type-page {
	padding: 2em;
}

.type-page .entry-content,
.type-page .entry-button-page,
.type-page #form__participate {
	max-width: 150em;
	margin: 0 auto;
}

.type-page .entry-content p {
	font-size: 3em;
}

.type-page .entry-content ul {
	font-size: 3em;
	margin: 0 1em;
}

.type-page .entry-content li {
	position: relative;
	list-style-type: none;
}

.type-page .entry-content li:before {
	position: absolute;
	content: '–';
	margin-left: -1em;
}

.type-page .entry-content a {
	text-decoration: none;
	border-bottom: 1px solid #000;
}

.page-support .entry-content a {
	color: #fff!important;
	border-bottom: 1px solid #fff;
}

.type-page .entry-content em {
	font-family: 'lunchtype23italic';
}


/**
 * 6.1 - Page Authors
 */

.authors {
	background: var(--color);
	padding-bottom: 10em;
}

.authors__block {
	width: 74rem;
	max-width: 100%;
	padding: 0 2em;
	margin: 0 auto;
}

.authors__block h3 {
	font-size: 1.8em;
	padding: 2em 0.6em 0.5em 0.6em;
}

.authors__list {
	/*display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 2em;
	grid-row-gap: 0.5em;*/
	display: flex;
	flex-wrap: wrap;
}

.authors__list a {
	display: table;
	font-size: 1.8em;
	text-decoration: none;
	border: 1px solid #000;
	border-radius: 1.5rem;
	margin: 0 0.5rem 0.5rem 0;
	padding: 0.25rem 1rem;
	background: transparent;
	transition: border-color .5s, background .5s;
}

.authors__list a:hover {
	border-color: #fff;
	background: #fff;
}


/**
 * 6.2 - Page form
 */

#form__participate {
	padding-bottom: 8em;
}

#form__report {
	padding: 0 2em 8em 2em;
}

.form__fields-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 1em;
}

.form-field__input {
	font-size: 1.8em;
	border: 1px solid black;
	border-radius: 2rem;
	margin: 0.75rem 0;
	padding: 1rem 2rem;
	width: 100%;
	outline: none;
}

textarea.form-field__input {
	height: 20rem;
	max-width: 100%;
}


/**
 * 6.3 – Page Report
 */

.report .episode {
	border-top: none;
}

.report .episode .episode__header:hover {
	background: transparent;
	cursor: default;
}

.report .episode .episode__body {
	display: block;
}

/* --token-card */

.form__submit-btn,
.report__submit-btn {
	font-size: 1.8em;
	color: #FFF;
	border-radius: 2.5rem;
	margin: 0.5rem 0;
	padding: 1rem 2rem;
	border: none;
	outline: none;
	background: #000;
	transition: color .5s, background .5s;
	cursor: pointer;
}

.form__submit-btn:hover,
.report__submit-btn:hover {
	color: #000;
	background: var(--color);
}

.form-field__messages-box .message {
	display: table;
	font-size: 1.4em;
	color: #fff;
	background: #ff0000cc;
	border-radius: 1.5rem;
	padding: 0.25rem 0.75rem;
	margin-bottom: 0.5rem;
}

.form__action-box p {
	font-size: 1.8em;
	color: #000;
}


/**
 * 6.2 - Page Support
 */

.page-support {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 4em;
	background: #000;
}

.page-support * {
	color: #FFF;
}

.entry-support {
	padding: 3em;
}

.entry-support > * {
	display: inline-block;
}

.entry-support button {
	font-size: 1.8em;
	border-radius: 2rem;
	margin: 0.5rem 0;
	padding: 0.75rem 2rem;
	border: 1px solid #FFF;
	outline: none;
	background: transparent;
	transition: color .5s, background .5s;
	cursor: pointer;
}

.entry-support button:hover {
	color: #000;
	background: #FFF;
}

.entry-support button span {
	display: inline-block;
	width: 1.8rem;
	height: 1.8rem;
	margin-bottom: -0.3rem;
	background: url(icons/icon-download.svg) no-repeat;
	background-size: contain;
	filter: invert(1);
	transition: filter .5s;
}

.entry-support button:hover span {
	filter: invert(0);
}

.entry-support .check {
	font-size: 1.4em;
	line-height: 1.3;
	width: 100%;
	margin: 1rem 0;
}


/**
 * 6.3 - Page About
 */

.page-about {
	background: var(--color);
}

.page-about button {
	font-size: 1.8em;
	text-transform: uppercase;
	border-radius: 2rem;
	margin: 0.5rem 0.5rem 0.5rem 0;
	padding: 0.75rem 2rem;
	border: 1px solid #000;
	outline: none;
	background: transparent;
	transition: all .5s;
	cursor: pointer;
}

.page-about button:hover {
	color: #000;
	border-color: #FFF;
	background: #FFF;
}

#about-teams {
	color: #FFF;
	background: #000;
	padding: 3em 2em 6em 2em;
}

#about-teams h3 {
	font-size: 3em;
	text-align: center;
	margin-bottom: 1em;
}

.teams__wrapper {
	max-width: 90em;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr); 
	grid-auto-rows: auto;
	gap: 2em 2em; 
}

.teams__wrapper li {
	font-size: 1.8em;
	list-style: none;
}


/**
 * 6.4 - Page Color
 */

.content-area .type-page:not(.page-about, .page-support) {
	background: var(--color);
	min-height: 60vh;
	padding-bottom: 10em;
}

.content-area .type-page:not(.page-about, .page-support) .entry-content {
	max-width: 74rem;
	margin: 0 auto;
}

.content-area .type-page:not(.page-about, .page-support) .entry-content p,
.content-area .type-page:not(.page-about, .page-support) .entry-content ul {
	font-size: 2.2rem;
}

/*.page-contact,
.page-charte,
.page-politique-de-confidentialite,
.page-cgu {
	background: var(--color);
	min-height: 60vh;
	padding-bottom: 10em;
}

.page-charte .entry-content,
.page-politique-de-confidentialite .entry-content,
.page-cgu .entry-content {
	max-width: 74rem;
	margin: 0 auto;
}

.page-contact .entry-content p,
.page-charte .entry-content p,
.page-politique-de-confidentialite .entry-content p,
.page-cgu .entry-content p {
	font-size: 2.2rem;
	line-height: 1.4;
}*/


/**
 * 9.0 - Player
 */

#player {
	display: flex;
	width: 100%;
	height: 120px;
	background: #000;
	color: #FFF;
}

#player .player__image-container,
#player .player__image-container img {
	width: 120px;
	height: 100%;
}

#player .player__container {
	display: flex;
	padding: 1em 2em;
	width: 100%;
}

#player .player__container a {
	font-size: 1.8em;
	color: #FFF;
	text-decoration: none;
	transition: color .5s;
}

#player .player__container a:hover {
	color: #FFF;
}

#player .player__container > div:nth-child(1) {
	display: flex;
	align-items: center;
}

#player__play-btn {
	width: 5.5em;
	height: 5.5em;
	border: none;
	border-radius: 50%;
	outline: none;
	padding: 1.25em;
	background: #FFF;
	cursor: pointer;
}

#player .player__container > div:nth-child(2) {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	flex: 1;
	padding: 0 2em;
}

#player .player__container > div:nth-child(3) {
	display: flex;
	align-items: center;
	font-size: 1.8em;
}

#player .panel {
	position: absolute;
	display: flex;
	align-items: center;
	top: 1em;
	right: 2em;
}

#player__volume {
	-webkit-appearance: none;
	appearance: none;
	width: 11em;
	height: 1px;
	margin: 0 0.5em;
	background: #FFF;
	outline: none;
}

#player__volume::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 2.5em;
	height: 2.5em;
	border: 1px solid #FFF;
	border-radius: 2em;
	background: url('icons/icon-volume.svg') no-repeat;
	background-size: contain;
	cursor: pointer;
}

#player__volume.--mute::-webkit-slider-thumb {
	background: url('icons/icon-mute.svg') no-repeat;
	background-size: contain;
}

#player__volume::-webkit-slider-thumb,
#player__volume::-moz-range-thumb {
	width: 2.5em;
	height: 2.5em;
	border: 1px solid #FFF;
	border-radius: 2em;
	background: url('icons/icon-volume.svg') no-repeat;
	background-size: contain;
	cursor: pointer;
}

#player__volume.--mute::-webkit-slider-thumb,
#player__volume.--mute::-moz-range-thumb {
	background: url('icons/icon-mute.svg') no-repeat;
	background-size: contain;
}

#player .panel button {
	width: 2.5em;
	height: 2.5em;
	border: 1px solid #FFF;
	border-radius: 50%;
	outline: none;
	background: url('icons/icon-close.svg') no-repeat;
	background-size: contain;
	cursor: pointer;
}

#player audio {
	display: none;
}

#player__seek-slider {
	-webkit-appearance: none;  /* Override default CSS styles */
	appearance: none;
	width: 100%; /* Full-width */
	height: 1px; /* Specified height */
	background: white; /* Grey background */
	outline: none; /* Remove outline */
	-webkit-transition: .25s; /* 0.25 seconds transition on hover */
	transition: opacity .25s;
}

#player__seek-slider::-webkit-slider-thumb {
	-webkit-appearance: none; /* Override default look */
	appearance: none;
	width: 1.8em; /* Set a specific slider handle width */
	height: 1.8em; /* Slider handle height */
	border-radius: 1em;
	background: white; /* Green background */
	cursor: pointer; /* Cursor on hover */
}

#player__seek-slider::-webkit-slider-thumb,
#player__seek-slider::-moz-range-thumb {
	width: 1.8em; /* Set a specific slider handle width */
	height: 1.8em; /* Slider handle height */
	border-radius: 1em;
	background: white; /* Green background */
	cursor: pointer; /* Cursor on hover */
}


/**
 * 9.0 - Newsletter
 */

.home-newsletter {
	width: 100%;
	height: 7em;
	padding: 0 2em;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--color);
}

.home-newsletter .newsletter__btn {
	width: 50%;
	background: #fff;
}

.home-newsletter p {
	font-size: 3em;
	width: 50%;
}

.site-newsletter {
	width: 100%;
	padding: 10em 2em;
	text-align: center;
}

.site-newsletter h2 {
	font-size: 5.4em;
}

.site-newsletter p {
	font-size: 1.8em;
}

.newsletter__btn {
	width: 30em;
	max-width: 100%;
	display: flex;
	justify-content: space-between;
	border: 1px solid var(--color);
	border-radius: 2em;
	margin: 1em auto;
	background: var(--color);
	transition: border-color .5s, background .5s;
}

.newsletter__btn:hover {
	border-color: #000;
	background: #FFF;
	cursor: pointer;
}

.newsletter__btn div {
	font-size: 1.8em;
	text-transform: uppercase;
	padding: 0.5em 1em;
	margin: 0;
	border: none;
	outline: none;
	overflow: hidden;
	background: transparent;
}


/**
 * 10.0 - Footer
 */

.site-footer {
	width: 100%;
	height: 22em;
	display: grid; 
	grid-template-columns: repeat(4, 1fr); 
	grid-template-rows: auto; 
	column-gap: 2em;
	padding: 2em;
	background: var(--color);
}

.site-footer .site-title a {
	width: 18em;
	height: 5em;
	margin: 0;
	filter: invert(1);
}

.site-footer li {
	font-size: 1.8em;
	text-transform: uppercase;
	list-style: none;
}

.site-footer .icons {
	display: flex;
}

.site-footer .ico {
	width: 1.25em;
	height: 1.25em;
	border-radius: 50%;
	margin: 0.125em 0.25em 0 0;
}

.site-footer .ico-twitter {
	background: url(icons/ico/ico-twitter.svg);
	background-size: contain;
}
.site-footer .ico-facebook {
	background: url(icons/ico/ico-facebook.svg);
	background-size: contain;
}
.site-footer .ico-instagram {
	background: url(icons/ico/ico-instagram.svg);
	background-size: contain;
}

/*.site-footer li a {
	text-decoration: none;
	border-bottom: 1px solid #000;
}*/


/**
 * 11.0 - Not Found
 */

.not-found {
	width: 100%;
	padding: 2em;
}

.newscast .not-found {
	padding-bottom: 10em;
}

.not-found .entry-header {
	text-align: center;
}

.not-found .entry-title {
	font-size: 3em;
}

.not-found .entry-content p {
	font-size: 1.8em;
}

.post-edit-link {
	font-size: 1.4em;
	text-decoration: none;
	border-bottom: 1px solid #000;
}

.page-support .post-edit-link {
	position: absolute;
	color: #fff;
	border-bottom-color: #fff;
}

#copyright {
	position: absolute;
	width: 100%;
	margin-top: -2em;
	padding: 0 2em;
	color: #777;
}

#copyright a {
	color: #777;
	text-decoration: none;
}


/**
 * ??.0 - Media Queries
 */

@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}


/**
 * ??.1 - <= 960px
 */

@media screen and (min-width: 1261px) {
	/*.spotlight .emissions .emission:nth-child(n+3) {
		display: flex;
	}*/
	/* menu */
	#masthead .main-navigation {
		display: block!important;
	}
}

@media screen and (min-width: 1681px) {
	.spotlight .emissions .emission:nth-child(n+4) {
		display: none;
	}
	.emissions,
	.newscast {
		grid-template-columns: repeat(3, 1fr);
	}
	.emission-image h3 {
		font-size: 0.75vw;
	}
	/*.emission {
		width: 33.333%;
	}*/
}

@media screen and (min-width: 2400px) {
	.spotlight .emissions .emission:nth-child(4) {
		display: flex;
	}
	.emissions,
	.newscast {
		grid-template-columns: repeat(4, 1fr);
	}
	.emission-image h3 {
		font-size: 0.6vw;
	}
	/*.emission {
		width: 25%;
	}*/
}


@media screen and (max-width: 1680px) {
	.spotlight .emissions .emission:nth-child(n+3) {
		display: none;
	}
}

@media screen and (max-width: 1400px) {
	html {
		font-size: 56.3%;
	}
}

@media screen and (max-width: 1260px) {
	/* menu */
	#masthead {
		position: fixed;
		width: 100%;
		background: #FFF;
		z-index: 999;
	}
	#masthead .header-wrapper {
		height: auto;
		flex-direction: column-reverse;
		padding: 1em 2em 2em 2em;
	}
	#masthead .header-wrapper .site-title {
		order: 1;
	}
	#masthead .main-navigation {
		display: none;
		width: 100%;
	}
	.menu {
		display: flex;
		flex-direction: column;
		padding: 2em 0;
	}
	.menu li.menu-item {
		margin: 0.5rem 0;
		width: 100%;
	}
	.menu li.menu-item a {
		display: flex;
	}
	.search-panel {
		padding-top: 0;
	}
	.add-menu-btn {
		margin-top: -6.4em;
		margin-left: auto;
	}
	.add-menu-btn .btn-smart {
		display: block;
	}
	/* rubric */
	/*.rubrics {
		position: relative;
	}*/
}

@media screen and (max-width: 960px) {
	.emission .emission-image h3 {
		font-size: 2vw;
	}
	.emission {
		flex-direction: column;
	}
	.emission-image, 
	.emission-content {
		width: 100%;
	}
	.emissions__list .emission {
		flex-direction: row;
	}
	/* emission */
	.emissions__list .emission-image {
		width: 8em;
	}
	.emissions__list .emission-content {
		width: calc(100% - 8em);
	}
	/* page */
	.page-support {
		display: block;
	}
	.entry-support {
		padding: 0 0 5em 0;
	}
	.teams__wrapper {
		grid-template-columns: repeat(3, 1fr);
	}

}

@media screen and (max-width: 600px) {
	.site-title a {
		width: 19em;
		height: 5.6em;
	}
	.add-menu-btn .btn.loggin {
		display: none;
	}
	/* newsletter */
	.home-newsletter {
		flex-direction: column;
		height: auto;
	}
	.home-newsletter p {
		width: 100%;
		margin: 0.25em 0 0 0;
	}
	.home-newsletter .newsletter__btn {
		width: 100%;
	}
	/* emission */
	.emissions,
	.newscast {
		grid-template-columns: 1fr;
	}
	.emission .emission-image h3 {
		font-size: 4.8vw;
	}
	.emission-infos {
		flex-direction: column-reverse;
	}
	.emission-infos__data-wrapper {
		width: 100%;
	}
	.emission-infos__data-wrapper p {
		padding-right: 0;
	}
	.emission-infos__image-wrapper {
		width: 100%;
		margin-bottom: 3em;
	}
	.emissions__list:not(.search__emissions, .author__emissions) .emission-content div:last-child {
		display: none;
	}
	.emissions__list:not(.search__emissions, .author__emissions) .emission-content h4 {
		font-size: 1.8em;
		margin-top: 0.25em;
	}
	.emissions__list .emission-content time {
		display: none;
		/*margin-top: 0.5rem;*/
	}
	/* episodes */
	.episode__header {
		position: relative;
		flex-direction: column;
	}
	.episode__header div,
	.episode__header h3 {
		font-size: 2.4em;
		width: 100%;
	}
	.episode__header h3 {
		margin-top: 0.25em;
	}
	.episode__infos-wrapper div {
		width: 100%;
	}
	.episode__header time {
		position: absolute;
		top: 0.9em;
		right: 1em;
	}
	.episode__infos,
	.episode__play-btn-wrapper button {
		margin-bottom: 3em;
	}
	.episode__infos p {
		margin-right: 0;
	}
	.alert_copy_url {
		display: none;
	}
	#player {
		height: 100px;
	}
	#player .player__image-container,
	#player__volume,
	#player__duration,
	#player__separate {
		display: none;
	}
	#player .player__title {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		width: 100%;
	}
	#player .player__container > div:nth-child(2) {
		max-width: calc(100% - 11.5em);
	}
	/* authors */
	.authors-filter {
		margin-top: -1em;
	}
	.authors__list {
		grid-template-columns: 1fr;
	}
	.authors__list .author {
		padding: 0 2rem;
	}
	/* page */
	.teams__wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
	.type-page .entry-content p {
		font-size: 2.2em;
	}
	/* news */
	.newscast .news .entry-header h4 {
		font-size: 3em;
	}
	/* title */
	.section__title h3,
	.emission-infos__data-wrapper h2,
	.site-newsletter h2,
	.news .entry-header h4 {
		font-size: 4em;
	}
	/* footer */
	.site-footer {
		display: block;
		height: auto;
	}
	.site-footer > div {
		margin-bottom: 2em;
	}
	.site-footer > div:nth-child(3) {
		display: flex;
	}
	.site-footer > div:last-child {
		margin-bottom: 10em;
	}
	.site-footer .icons {
		margin: -0.05em 0 0 0.5em;
	}

}

/**
 *	DEV
 */


	/*
	 *	Home
	 */
	/*.home .spotlight>div:first-child {
		font-size: 3em;
		width: 100%;
		height: 10rem;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0!important;			
	}


	/**
	 *	Author Page
	 */
	/*.author .author__episodes>div:first-child,
	.author .author__emissions>div:first-child {
		font-size: 3em;
		width: 100%;
		height: 10rem;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0!important;	
	}

	/*#page {
		padding-bottom: 150px !important;
	}*/

	.debug {
		padding-left: 12px !important;
		list-style-type: none;
	}
    .post {
        width: 500px;
        margin: 20px auto;
        border: 1px solid black;
        padding: 12px;
    }
    /* .row {} */
    .key {
        font-weight: bold;
        display: inline-block;
        width: 100px;
    }
    /* .value {} */
	


