/* Main page */
.main-contain{
    background:#f4f4f4;
    padding-bottom: 80px;
}
#main-content{
  /*background-color:#e41c3d;*/
  background-repeat:no-repeat;
  background-position:top -90px left 69%;
  font-family:"LacosteSansCondensedLight";
  text-transform:none;
  font-size:25px;
  color:#fff;
}
#main-content header,
#main-content .dates,
.animationfdp-details,
#collab{
    max-width:920px;
    margin:auto;
}
.header-content{
    /*background:#e41c3d;*/
    padding-bottom:80px;
    padding-top:40px;
}
#main-content header{
    text-align:center;
}
#main-content header img{
    padding:10px;
    margin-bottom:20px;
    margin-top:20px;
    width: 150px;
}
#main-content header h2{
    font-family:"LacosteSansCondensedBold";
    text-transform:uppercase;
    font-size:30px;
    color:#fff;
    margin:auto;
    margin-bottom:20px;
}
#main-content header h2:after{
    display:block;
    content:"";
    background-color:#fff;
    width:160px;
    height:1px;
    margin:auto;
    margin-top:10px;
}
#main-content header p{
    margin:0;
}
#main-content header p:last-of-type{
    font-family:"LacosteSansCondensedBold";
}
#main-content .dates{
    /*background:#e41c3d;*/
    position:relative;;
    padding:60px;
}
#main-content .dates:after,
#main-content .dates:before{
    position:absolute;
    content:"";
    background-color:#fff;
    width:1px;
    height:calc(100% - 60px);
    top:60px;
    left:50%;
}
#main-content .dates:before{
    width:1px;
    height:40px;
    top:20px;
    left:50%;
}
#main-content .dates article{
    position:relative;
    width:50%;
    text-align:right;
    padding:0 60px;
    padding-bottom:20px;
}
#main-content .dates article:before{
    content:"";
    position:absolute;
    width:10px;
    height:10px;
    border-radius:50%;
    background:#fff;
    right:-5px;
    margin-top:12px;
}
#main-content .dates article:nth-child(even){
    margin-left:50%;
    text-align:left;
}
#main-content .dates article:nth-child(even):before{
    left:-5px;
}

#main-content .dates article h3,
#main-content .dates article ul{
    margin:0;
    color:#fff;
    font-family:"LacosteSansCondensedBold";
    font-size:25px;
    text-transform:uppercase;
    padding:0;
}
#main-content .dates article ul li{
    color:#fff;
    font-family:"LacosteSansCondensedLight";
    list-style-type:none;
}

.animationfdp-details{
    padding: 40px 0;
    text-align:center;
}
#collab{
    position:relative;
    margin-top:80px;
    background:#fff;
}
#collab article{
    margin-left:50%;
    width:50%;
    padding:65px 0;
    text-align:center;
}
#collab article:first-of-type{
    position:absolute;
    margin-left:0;
    height:100%;
    padding:0;
}
#collab article img{
    margin-bottom:40px;
}
#collab article:first-of-type img{
    display:none;
}
#collab article p{
    width:275px;
    margin:auto;
    font-size:15px;
    text-transform:none;
    font-family:"LacosteSansCondensedLight";
    line-height:25px;
}
#collab article h3{
    margin:0;
    margin-top:40px;
}
#collab article h3 a{
    font-family:"LacosteSansCondensedBold";
    text-decoration:none;
    color:#292929;
    text-transform:none;
    font-size:18px;
}
.icon-arrow-right{
    position: relative;
}
.icon-arrow-right:before{
    position:absolute;
    left:auto;
    top:6px;
    right:-40px;
    font-size:16px;
    transition:right ease-out 0.3s;
}
.icon-arrow-right:hover:before{
    right:-60px;
}

/* Tablette : ipad */
@media screen and (max-width: 1280px)
{
    #main-content{
       background-image:url("events/animationfdp/imgs/animationfdp-bg-tab.jpg?$staticlink$");
   }
   #main-content header h2{
       width:474px;
   }
    .header-content{
        padding:40px;
        padding-bottom:60px;
    }
    #main-content .dates,
    .animationfdp-details{
        padding:40px;
    }
    #main-content .dates article{
        padding:0 40px;
        padding-bottom:20px;
    }
    #collab{
        margin: auto;
        margin-top:80px;
    }
    #collab article{
        padding:40px 0;
    }
}

@media screen and (max-width: 940px){
    .main-contain{
        padding-bottom:0;
    }
    #collab{
        margin-top:0;
    }
}

/* Mobile */
@media screen and (max-width: 640px){
    #main-content{
       background-image:url("events/animationfdp/imgs/animationfdp-bg-mob.jpg?$staticlink$");
   }
    .header-content{
        padding:20px;
        padding-bottom:40px;
    }
    .animationfdp-details{
        padding:20px;
    }
    #main-content header img{
        width:180px;
    }
    #main-content{
        font-size:15px;
        line-height:25px;
        padding:0;
    }
    #main-content header h2{
        width:100%;
        font-size:20px;
    }

    #main-content .dates:before,
    #main-content .dates:after{
        display:none;
    }
    #main-content .dates{
        padding:0;
    }
    #main-content .dates article,
    #main-content .dates article:nth-child(even){
        width:100%;
        margin:auto;
        text-align:center;
    }

    #main-content .dates article h3,
    #main-content .dates article ul{
        font-size:18px;
    }
    #main-content .dates article{
        position:static;
    }
    #main-content .dates article:before,
    #main-content .dates article:nth-child(even):before{
        left:-20px;
        border-radius:0;
        width:30%;
        height:1px;
    }
    #main-content .dates article:nth-child(even):before{
        left:auto;
        right:-20px;
    }
    .date{
        /*background:#e41c3d;*/
        z-index:3;
        position:relative;
        padding:0 25px;
    }
    #collab article{
        margin-left:0;
        width:100%;
        position:static;
    }
    #collab article:first-of-type{
        height:auto;
        position:static;
        background:none;
    }
    #collab article:first-of-type img{
        display:block;
        width:100%;
        margin:0;
    }
}
