@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Rubik:400,500&display=swap');

html{
	width: 100%;
	overflow-x: hidden;
	margin:0;
	padding:0;
	-webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
body {
	background-color: #eee;
	font-family: 'Rubik', 'Titillium Web', sans-serif;
	width: 100%;
	overflow-x: hidden;
	text-align: center;
	margin:0;
	padding:0;
	-webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

header a{
	margin: auto;
}

.remarque-desktop{
	margin: 0% auto;
    display: flex;
}

#twitter-widget-0{
	margin-right: 5px;
}
.container-to-fix-carousel{
	max-width: 100vw;
	width: 100vw;
	max-height: 100vh;
	overflow-x: hidden;
}
.owl-carousel{
	background: #eee;
	padding-top: 30px;
	padding-bottom: 30px;
}

.owl-stage{
	width: max-content !important;
	padding-bottom: 10px;
}

.owl-item{
	/*width: 40vw !important;*/
	margin-top: 40px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	transition: 0.3s;
}

.owl-item:hover{
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.center{
	margin-top: 0;
	transition: 1s;
}

.cd-timeline-block{

	border-radius: 5px;
	background: #fff;
}

.cd-timeline-innercontent{
	height: 40vh;
	text-align: left;
	color:#232F34;
	text-decoration: none;
	cursor: pointer;
}
.cd-timeline-innercontent h2{
	font-weight:500;
}
.cd-timeline-innercontent h3{
	font-weight:400;
}
.cd-timeline-innercontent h2,.cd-timeline-innercontent h3 {
	margin: 0;
	padding-left: 10px;
}
.cd-timeline-innercontent h3 {
	font-weight: normal;
}
.owl-item img{
	margin-bottom: 10px;
	border-radius: 5px 5px 0 0;
}
.goodbye_link{
	position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
	border-top: 1px solid rgba(0,0,0,0.1);
}

.articles-container {
	position: fixed;
	top: 39px;
	z-index: 3;
	right: 0;
    bottom: 0;
    left: 0;
	pointer-events: none;
	overflow-x: hidden;
}
.articles-container.active {
	overflow-y: scroll;
	pointer-events: auto;
}
article {
	visibility: hidden;
}
article.article-active {
	visibility: visible;
	opacity: 1;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	height: auto !important;
	
}
article {
	position: absolute;
	top: 0;
	-webkit-overflow-scrolling: touch;
	background-color: #fff;
	opacity: 0;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
	-webkit-transition: .5s ease;
	transition: 0.5s ease;
	z-index: 1000;
	pointer-events: auto;
	width: 100vw;
	text-align: center;
	height: 0 !important;
	overflow-y: hidden;
}
article header, article .Post-thumbnail, article .Post-content, article footer {
	max-width: 860px;
	margin: 0 auto;
	text-align: left;
}

.Post-thumbnail{
	width:860px;
}
article h2 {
	font-size: 30px;
	font-weight: 700;
	margin-bottom: 0;
}
article h3 {
	font-size: 22px;
	font-weight: normal;
	margin-top: 0;
	color: #54ac3a;
}
article button {
	background: none;
	border: 0;
	float: right;
}
article footer button {
	float: none;
	margin: auto;
	display: block;
}
article button i {
	font-size: 36px !important;
	color: #54ac3a;
	cursor: pointer;
}
ul.flex {
	display: flex;
	flex-wrap: wrap;
	margin-left: 0;
}
ul.flex li {
	padding-left: 0px;
	margin-left: 25px;
}
a.content-text-link {
    display: block;
    text-align: left;
    text-decoration: none;
    color: #e30613;
    width: 100%;
    padding-top: 3px;
    padding-left: 10px;
    padding-bottom: 3px;
    text-transform: uppercase;
}
a.content-text-link i {
	/*display: block;*/
}



body > header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #fff;
	background-repeat: no-repeat;
	background-position: bottom;
	box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
	z-index: 200;
	position: relative;
	width: 100vw;
    padding: 5px 0;
}
.logo_ave {
	
    padding-top: 0px;
	max-width: 150px;
	padding-left: 0px;
}
.fb-share-button {
	padding-right: 20px;
}
h1 {
	text-align: center;
	color: #000032;
	font-size: 36px;
	font-weight: 700;
    margin: auto;
}
.chapeau h2 {
	font-size: 24px;
	text-align: center;
	max-width: 860px;
	color: #fff;
	margin: auto;
}

.chapeau {
	background: url(../velo-2019/MOTIF-TDF.jpg);
    background-size: 150px 150px;
	padding: 20px 0;
	max-width: 100vw;
}
.chapeau .content-text-link {
    background: #e30613;
    color: #fff;
    padding: 0.2em 1em;
    text-align: center;
    display: inline-block;
    border-radius: 5px;
}
article footer {
	text-align: center;
}
.btn-cyclisme {
	background: #c00;
	color: #fff;
	text-decoration: none;
	padding: 3px 5px;
	border-radius: 3px;
	display: inline-block;
	margin-bottom: 5px;
}

.owl-prev {
	position: fixed;
	outline: 0;
	left: 0;
	top: 50%;
	color:white !important;
	font-size: 0px !important;
	background: url(../img/btn-previous.png) !important;
	background-repeat: no-repeat;
	height: 70px;
	margin-top: -28px;
	width: 70px;
	/*line-height: 80px !important;*/
	font-weight: bold !important;
}
.owl-next {
	position: fixed;
	outline: 0;
	right: 0;
	top: 50%;
	color:white !important;
	font-size: 0px !important;
	background: url(../img/btn-next.png) !important;
	background-repeat: no-repeat;
	height: 70px;
	margin-top: -28px;
	width: 70px;
	/*line-height: 46px !important;*/
	font-weight: bold !important;
}
footer .content-text-link {
    padding: 3px 5px;
}
.content-text-link.dossier {
    background:#e30613;
    color: #fff;
    padding: 0.5em 1em;
    display: inline-block;
    max-width: 200px;
    text-align: center;
    margin-bottom: 20px;
}
#poool-widget {
	width: 100vw;
}
article[data-id="credit"] footer button  {
	display: none;
}
footer {
	position: absolute;
	left:24px;
	bottom:24px;
	z-index: 1;
}
.Post-footer{
	position: relative !important;
	left:0px;
	bottom:0px;
}
.overlay-mobile {
	display: none;
	position: absolute;
	background: rgba(255,255,255,0.9);
	height: 100vh;
	z-index: 10;
}
.overlay-mobile p {
	margin-top: 25vh;
    font-weight: bold;
    font-size: 20px;
}
.overlay-mobile img {
	max-width: 100%;
    animation: move 2s;
    transition: all 2s;
    animation-iteration-count: infinite;
    transform: translateX(0);
}
#close-overlay{
	font-size: 2em;
    font-weight: bold;
    position: absolute;
    top: 10vh;
    right: 10vw;
}
@keyframes move {
    0% { transform: translateX(0); }
    25% { transform: translateX(50px); }
    50% { transform: translateX(0); }
    50% { transform: translateX(-50px); }
}
@media screen and (max-width:800px){
    .overlay-mobile {
        display: block;
    }
	.owl-nav {
	display: none;
}
	body > header {
		flex-wrap: wrap;
	}
	h1 {
		font-size: 20px; 
		line-height: 1.2em;
		padding: 0 10px;
	}
	.remarque-desktop {
		display: flex;
	}
	.chapeau {
		padding: 5px;
	}
	.chapeau h2 {
		font-size: 14px;
		padding: 0px 20px;
	}
	.owl-carousel .owl-item img {
		/*max-width: 50vw;*/
	}
	.articles-container {
		padding: 0;
		margin: 0;
		z-index: 9999;
		top: 0px !important;
		width: 100%;
		height: 100%;
}
	
	article {
		
		padding: 30px 20px;
		box-sizing: border-box;
	}
	article img {
		max-width: 100% !important;
	}
	
	.article-open{
		visibility: hidden;
		z-index: 9999;
		
	}
	footer {
	position: relative;
	z-index: 1;
	left:0px;
	bottom:24px;
}
}
@media screen and (min-width:800px){
	.articles-container {
		top: 0px !important;
	}
	.articles-container header{
		margin-top: 60px !important;
	}
	article.article-active{
		height: 100vh !important;
	}
}
