
img{   
    max-width: 100%;
}
div.echauffement{
    width: calc(100% - 200px);
    margin: 20px;
    padding: 20px;
    padding-left: 85px;
    padding-right: 75px;
    border-radius: 5px;
    box-shadow: 0px 0px 20px 0px #999;
    background: url(../img/misc/echauffement-background.svg) no-repeat left center;
    background-position: right calc(105% - 30px) center;
    background-size: contain;
    background-color: #fff;
}
div.echauffement.unavailable{
    /*pointer-events:none;*/
    opacity: 0.3;
}
div.echauffement a.more{
    position:absolute;
    right:10px;
    bottom:10px;
    background: url(../img/picto/btn-go.svg) no-repeat left center;
    background-size: contain;
    height:30px;
    width:30px;
    font-size: 0;
}
div.echauffement div.favorite{
    position:absolute;
    right:15px;
    top:15px;
    background: url(../img/picto/btn-favorite-small.svg) no-repeat left center;
    background-size: contain;
    height:20px;
    width:20px;
    font-size: 0;
}
div.echauffement.favorite div.favorite{
    background-image: url(../img/picto/btn-favorite-small-active.svg);
}
body {
    height: 100%;
    padding: 0;
    margin: 0;
}
#splash{
    width: 100%;
    height: 100%;
    background-image: url('../img/misc/splash.png');
    background-size: cover;
    background-position: 50%;
}
#page{
    /*padding: 40px 0;*/
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
header{
    position:absolute;
    top:0;   
    height:65px;
    width: 100%;
    padding-bottom: 20px;
    /*background-color: #ddd;*/
    /*transform: translate3d(0,0,0);*/
    z-index: 1000;
    transition:0.3s all;
    overflow:hidden;
}
header:before,
header:after {
    content: " ";
    -webkit-mask-image:url(../img/misc/header-wave.svg);
    height: calc(100% + 1px);
    width: 100%;
    position: absolute;
    bottom: -1px;
    left: 0;
    -webkit-mask-size: cover;
    -webkit-mask-position: bottom center;
    display: block;
    z-index: 0;
    pointer-events:none;
}
header:before{
    background: linear-gradient(45deg, #FFC789, #CB455B);
}
header:after {
    background-image: url(../img/misc/fond-header.png);
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}
header div.header-content{
    position: relative;
    z-index: 1;
}
header div.header-content ul.menu{
    position: relative;
    padding: 45px 0;
    margin: 0;
    list-style: none;
    /*display: none;*/
}
header div.header-content ul.menu.active{
    display:block;
}
header div.header-content ul.menu li{
    margin: 40px 0;
    font-size: 1.2em;
    color: #fff;
}
header #openmenu{
    position: absolute;
    right:15px;
    top:15px;
    width: 30px;
    height: 30px;
}
header #openmenu:after{
    mask-image:url(../img/picto/btn-burger.svg);
    -webkit-mask-image:url(../img/picto/btn-burger.svg);
}
footer{
    position:absolute;
    height:60px;
    bottom:0;
    width: 100%;
    background-color: #fff;
    transform: translate3d(0,0,0);
    z-index: 1000;
}

.content-wrapper {
    position: absolute;
    padding:0;
    top: 0;
    left: 0;
    right: 0;
    bottom:0;
    height: 100vh;
    width: 100%;
    overflow-y: scroll;
    z-index: 10;
    background: #F7F7F7;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
}
.content{
    padding: 40px 0;
    padding-top: 80px;
    padding-bottom: 60px;
}
.echauffement{
    position: relative;
}
.miniplayer {
    position: absolute;
    top: calc(50% - 30px);
    left: 10px;
}

.miniplayer .inset{
    position: absolute;
    width:50px;
    height:50px;
    top: 0;
    left: 0;
    margin: 5px;
    border-radius: 50%;
    background-color: #eee;
}
.miniplayer .inset .listen{
    background: url("../img/picto/btn-listen-home.svg");
    background-size: contain;
    border: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.radial-progress {
  background-color: transparent;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  filter: drop-shadow(0px 2px 7px #FFC789);
}
.radial-progress .circle{
    -webkit-mask-image: url('../img/misc/circle.svg');
    mask-image: url('../img/misc/circle.svg');
    -webkit-mask-size: cover;
    mask-size: cover;
    width:100%;
    height:100%;
}

.radial-progress .circle .mask,
.radial-progress .circle .fill {
    width: 60px;
    height: 60px;
    position: absolute;
    transition: all 0.25s linear;
}
.radial-progress .circle .fill {
    background-color: #FFC789;
    border-radius: 50%;
    -webkit-backface-visibility: hidden;
}
.radial-progress .circle .mask {
  clip: rect(0px, 60px, 60px, 30px);
}
.radial-progress .circle .mask .fill{
    clip: rect(0px, 30px, 60px, 0px);
}



div.echauffement.hide{
    display: none;
}


footer #buttons{
    width:100%;
    height:100%;
    position: absolute;
    top:0;
    left:0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}
footer #buttons button.picto{
    border: 0;
    background-color: #fff;
    flex-grow:1;
}
footer #buttons button.picto:after{
    position: absolute;
    /*width:100%;*/
    height:100%;
    content:" ";
    background-color: #313C5E;
    width: 34px;
    left: calc(50% - 17px);
}
footer #buttons button.picto.active:after{
    background: linear-gradient(45deg, #FFC789, #CB455B);
}

footer #buttons button#btnsearch:after{
    -webkit-mask-image: url('../img/picto/btn-search.svg');
    mask-image: url('../img/picto/btn-search.svg');
}
footer #buttons button#btnfilter:after{
    -webkit-mask-image: url('../img/picto/btn-filter.svg');
    mask-image: url('../img/picto/btn-filter.svg');
}
footer #buttons button#btnstar:after{
    -webkit-mask-image: url('../img/picto/btn-star.svg');
    mask-image: url('../img/picto/btn-star.svg');
}
footer #buttons button#btnhelp:after{
    -webkit-mask-image: url('../img/picto/btn-help.svg');
    mask-image: url('../img/picto/btn-help.svg');
}

#search{
    width:100%;
    height:100%;
    position: absolute;
    bottom:-100%;
    left:0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s all;
    background-color: #fff;
}
#search.active{
    bottom: 0;
}

#search button#submitsearch{
    background: linear-gradient(45deg, #FFC789, #CB455B);
    border: 0;
    border-radius: 20px;
    width: 60px;
    top: 0;
    position: absolute;
    right: -20px;
}
#search button#submitsearch:after{
    width:100%;
    height:calc(100% - 10px);
    top:5px;
    background-color: #fff;
}
#search button#submitsearch:after{
    -webkit-mask-image: url('../img/picto/btn-search.svg');
    mask-image: url('../img/picto/btn-search.svg');
}
#search .searchbar{
    position: relative;
    width: calc(100% - 80px);
}
#search #searchtext{
    background-color: #F7F7F7;
    color:#8EA4B7;
    height: 34px;
    border: 0;
    outline: 0;
    padding: 0;
    width: calc(100% - 60px);
    padding-left: 15px;
    padding-right: 45px;
    font-size: 0.875em;
}
#search #searchtext::-webkit-input-placeholder,
#search #searchtext::placeholder{
    color:#8EA4B7;
    font-size: 0.925em;
    font-style: italic;
    opacity:0.6;
}
#search button#cancelsearch{
    position: absolute;
    left: -20px;
    border-radius: 20px;
    top: 0;
    background: #F7F7F7;
    padding: 0;
}
#search button#cancelsearch:after{
    height: calc(100% - 18px);
    top: 9px;
    background-color: #8EA4B7;
    -webkit-mask-image: url('../img/picto/btn-morebuttonsclose.svg');
    mask-image: url('../img/picto/btn-morebuttonsclose.svg');
}



#filtres{
    width: 100vw;
    height: calc(100vh - 100%);
    bottom: calc(100% - 100vh);
    left: 0;
    position: absolute;
    transition: 0.5s all;
}
#filtres.active{
    bottom: 100%;
}
#filtres .filtrespanel{
    width:100%;
    background-color: #F7F7F7;
    border: 1px solid #E5E6E8;
    border-radius: 5px;
    position: absolute;
    bottom:0px;
    padding-bottom: 10px;
}
#filtres .filtrestable{
    border-radius: 5px;
    box-shadow: 0px 0px 5px #888;
    background-color: #fff;
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 3px 0;
}

#filtres table{
    background-color: #fff;
    border-collapse: collapse;
}

#filtres table{
    text-align: center;
    table-layout: fixed;
    margin: 0px auto;
    width: calc(100% - 6px);
}
#filtres table td, #filtres table th {
    border-collapse: collapse;
  border: 1px solid #E5E6E8;
}
#filtres table tr:first-child th ,
#filtres table tr:first-child td {
  border-top: 0;
}
#filtres table tr:last-child td {
  border-bottom: 0;
}
#filtres table tr td:first-child,
#filtres table tr th:first-child {
  border-left: 0;
}
#filtres table tr td:last-child,
#filtres table tr th:last-child {
  border-right: 0;
}

#filtres td{
    width:33.33%;
    padding: 10px 0px;
    color:#8EA4B7;
}
#filtres td:before{
    content:" ";
    display: block;
    margin: 10px auto;
    width: 40px;
    height:40px;
    -webkit-mask-size:contain;
    -webkit-mask-position:center;
    -webkit-mask-repeat:no-repeat;
    background-color: #8EA4B7;
}
#filtres td.active{
    color:#F65C7B;
}
#filtres td.active:before{
    background-color: #F65C7B;
}
#filtres td[filter-value="poitrine"]:before{
    -webkit-mask-image: url('../img/picto/picto-poitrine.svg');
    mask-image: url('../img/picto/picto-poitrine.svg');
}
#filtres td[filter-value="lyrique"]:before{
    -webkit-mask-image: url('../img/picto/picto-lyrique.svg');
    mask-image: url('../img/picto/picto-lyrique.svg');
}
#filtres td[filter-value="ascenseur"]:before{
    -webkit-mask-image: url('../img/picto/picto-ascenceur.svg');
    mask-image: url('../img/picto/picto-ascenceur.svg');
}
#filtres td[filter-value="texte"]:before{
    -webkit-mask-image: url('../img/picto/picto-texte.svg');
    mask-image: url('../img/picto/picto-texte.svg');
}
#filtres td[filter-value="soutien"]:before{
    -webkit-mask-image: url('../img/picto/picto-soutien.svg');
    mask-image: url('../img/picto/picto-soutien.svg');
}
#filtres td[filter-value="rythme"]:before{
    -webkit-mask-image: url('../img/picto/picto-rythme.svg');
    mask-image: url('../img/picto/picto-rythme.svg');
}
#filtres td[filter-value="fun"]:before{
    -webkit-mask-image: url('../img/picto/picto-fun.svg');
    mask-image: url('../img/picto/picto-fun.svg');
}
#filtres td[filter-value="detente"]:before{
    -webkit-mask-image: url('../img/picto/picto-detente.svg');
    mask-image: url('../img/picto/picto-detente.svg');
}
#filtres td[filter-value="coup-de-cur"]:before{
    -webkit-mask-image: url('../img/picto/picto-coupdecoeur.svg');
    mask-image: url('../img/picto/picto-coupdecoeur.svg');
}
    