/* général */

body {
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: #1ED760;
}

.highlight {
    font-weight: 900;
}

.cursorPointer {
    cursor: pointer;
}

.errorMessage {
    font-size: 20px;
    text-align: center;
    padding: 20px;
}

#centrePage {
    margin-top: 30px;
}

.btn.btn-spotify {
    background-color: #1ED760;
    color: white;
}

.view-container, #centrePage {
    min-height: 80vh;
}

.view-container.graphPageContainer {
    min-height: 0;
}

/* titres */

h2 {
    border-bottom: 1px solid #1ED760;
    font-weight: 600;
    color: #282828;
    padding-bottom: 15px;
    position: relative;
    margin-top:0;
}

i.fa-angle-down,
i.fa-angle-up {
    position: absolute;
    right: 25px;
    top: 10%;
    cursor: pointer;
    font-size: 30px;
}

/* header */

.conteneurHeader {
    background-color: #282828;
    color: white;
}

.titreSite {
    text-align: left;
    text-transform: uppercase;
    font-weight: 800;
}

.infoConnexion {
    text-align: right;
    margin-top: 20px;
}

#menu li a {
    border-radius: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}

#menu li a:hover {
    background-color: #1ED760;
    color: white;
}

/* footer */

footer {
    margin-top: 30px;
}

/* Welcome */

.welcomeMsg {
    font-size: 25px;
}

/* Result Box */

.artistResultContainer,
.albumContainer,
.trackContainer {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
}

.artistResultBox,
.albumBox {
    width: 15%;
    overflow: hidden;
    margin: 15px;
    -webkit-box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.8);
    box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.8);
}

.artistBox {
    width: 15%;
    overflow: hidden;
    margin: 15px;
    position:relative;

}

.artistResultBoxImg,
.albumBoxImg,
.artistBoxImg {
    height: 180px;
    overflow: hidden;
}

.artistResultBox img,
.albumBox img,
.artistBox img {
    width: 100%;
    display: block;
    margin: auto;
}

.artistBox img {
    border-radius: 100%;
}

.artistResultBox img:hover,
.albumBox img:hover,
.artistBox img:hover {
    opacity: 0.8;
}

.artistResultBox p,
.albumBox p,
.artistBox p {
    text-align: center;
    margin: 15px;
}

.artistBox .recoSelect{
    /* position: absolute;
    top: 0;
    right : 10px; */
    cursor:pointer;
    margin-left: 15px;
}

.recoForm {
    margin-top: 20px;
}

/* page artiste */

.artistIntro {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 15px;
}

.artistIntroImg {
    max-width: 25%;
    margin-right: 10%;
}

.artistIntro img {
    border-radius: 100%;
    width: 100%;
    -webkit-box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.8);
    box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.8);
}

.artistIntro p {
    font-size: 40px;
    font-weight: 900;
    width: 65%;
}

.trackContainer iframe {
    margin: 20px;
}

.lastfm p a {
    color:#1ED760;
}

.lastfm p a:hover {
    opacity:0.7;
}

/* page album */

.albumContainer {
    position: relative;
}

.albumPageContainer iframe {
    margin-top: 25px;
}

.albumPageContainer .albumName {
    font-size: 40px;
    font-weight: 900;
    padding: 0 0 15px 0;
}

.albumPageContainer .artistName {
    font-size: 20px;
}

.albumPageImg img {
    width: 100%;
}

/* Pagination */

.navigationMyAlbums p {
    display: inline-block;
    margin: 20px auto;
    font-size: 16px;
    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */
    user-select: none;
}

.navigationMyAlbums .fa-angle-double-left,
.navigationMyAlbums .fa-angle-double-right {
    background-color: #1ED760;
    padding: 5px 15px;
    color: white;
}

.navigationMyAlbums .fa-angle-double-left {
    margin-right: 15px;
    border-radius: 15px 0 0 15px;
}

.navigationMyAlbums .fa-angle-double-right {
    margin-left: 15px;
    border-radius: 0 15px 15px 0;
}

/* graph */
svg {
    min-height:500px;
    height:110vh;
}

.graphControl {
    display:flex;
    flex-flow: row wrap;
    justify-content: space-around;
    position: fixed;
    bottom:0;
    width:100%;
    left:0;
    background-color: white;
    padding: 10px 0;
    margin-bottom: 0;
    z-index:10000;
    /* min-height:90px; */
}

.graphControl .legend {
    font-size: 12px;
}

.graphControl i {
    cursor: pointer;
    font-size: 30px;
}

.graphControl i.selected {
    color:#1ED760;
}

.graphControl i.selectedReco {
    color:#731DD8;
}

p.startGraphMsg {
    font-size: 20px;
}

.tracksRecommendationsRow {
    margin-bottom: 15px;
}

.playerContainer {
    display:flex;
    flex-flow: row wrap;
    align-items: center;
    padding-bottom:15px;
    
}

.playerControl {
    position:relative;
    margin-right: 20px;
}

.availableDevices {
    position:absolute;
    top:45px;
    left:0;
    background-color: #282828;
    z-index:8000;
    width:200%;
    transition:all 0.3s ease;  
}

.availableDevices ul {
    /* list-style: none; */
}

.availableDevices li {
    cursor:pointer;
}

.controlButton {
    cursor:pointer;
}

.playButtonTitle {
    font-size:16px;
    cursor: pointer;
    font-weight: 400;
}

.playButtonSmall {
    cursor: pointer;
    font-weight: 400;
    margin-right: 20px;
    font-size:12px;
}

.trackList {
    margin-top: 25px;
}

.playerContainer .smallerButton {
    font-size:12px;
}

.playerContainer .fa-inverse {
    color:#282828;
}

.playerInfo {
    margin-right:20px;
}

.playerInfo div {
    display: inline-block;
}

.playerInfo img {
    margin-right: 15px;
}

.activeDevice {
    color:#1ED760;
}

.separatorPlayer {
    font-weight: bold;
    color:#1ED760;
}

.timeIndication {
    width:40px;
}

.playerBarContainer {
    width:120px;
}

/* footer */

footer {
    min-height: 35px;
    text-align: right;
    padding: 20px 25px;
    background-color: #282828;
    color:white;
}

/* barre player */
input[type=range].playerBar {
    height: 21px;
    -webkit-appearance: none;
    margin: 10px 0;
    width: 100%;
    background-color: #282828;
  }
  input[type=range].playerBar:focus {
    outline: none;
  }
  input[type=range].playerBar::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #1ED760;
    border-radius: 25px;
    border: 0px solid #000101;
  }
  input[type=range].playerBar::-webkit-slider-thumb {
    box-shadow: 0px 0px 0px #000000;
    border: 0px solid #000000;
    height: 15px;
    width: 15px;
    border-radius: 14px;
    background: #FFFFFF;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -3.5px;
  }
  input[type=range].playerBar:focus::-webkit-slider-runnable-track {
    background: #1ED760;
  }
  input[type=range].playerBar::-moz-range-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #FFFFFF;
    border-radius: 25px;
    border: 0px solid #000101;
  }
  input[type=range].playerBar::-moz-range-thumb {
    box-shadow: 0px 0px 0px #000000;
    border: 0px solid #000000;
    height: 15px;
    width: 15px;
    border-radius: 14px;
    background: #282828;
    cursor: pointer;
  }
  input[type=range].playerBar::-ms-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
  }
  input[type=range].playerBar::-ms-fill-lower {
    background: #FFFFFF;
    border: 0px solid #000101;
    border-radius: 50px;
    box-shadow: 0px 0px 0px #000000;
  }
  input[type=range].playerBar::-ms-fill-upper {
    background: #FFFFFF;
    border: 0px solid #000101;
    border-radius: 50px;
    box-shadow: 0px 0px 0px #000000;
  }
  input[type=range].playerBar::-ms-thumb {
    margin-top: 1px;
    box-shadow: 0px 0px 0px #000000;
    border: 0px solid #000000;
    height: 15px;
    width: 15px;
    border-radius: 14px;
    background: #282828;
    cursor: pointer;
  }
  input[type=range].playerBar:focus::-ms-fill-lower {
    background: #FFFFFF;
  }
  input[type=range].playerBar:focus::-ms-fill-upper {
    background: #FFFFFF;
  }

/* Media queries */

@media (max-width:1200px) {
    .artistResultBox,
    .albumBox,
    .artistBox {
        width: 25%;
    }
    .artistResultBoxImg,
    .albumBoxImg,
    .artistBoxImg {
        height: 250px;
    }
}

@media (max-width:992px) {
    .titreSite,
    .infoConnexion {
        text-align: center;
    }
    .artistResultBoxImg,
    .albumBoxImg,
    .artistBoxImg {
        height: 200px;
    }
    .albumPageContainer .albumName {
        font-size: 30px;
    }

    .playerInfo {
        text-align: center;
        margin-right:0;
    }

    .playerInfo.text-center {
        margin-right:20px;
    }

    .playerContainer {
        justify-content: center;
    }
}

@media (max-width:700px) {
    .artistResultBox,
    .albumBox,
    .artistBox {
        width: 40%;
    }
    .artistResultBoxImg,
    .albumBoxImg,
    .artistBoxImg {
        height: 250px;
    }

    .graphControl .legend {
        display: none;
    }

    .playerInfo.text-center {
        margin-right:0;
    }

    footer {
        padding-top: 5px;
        padding-bottom:5px;
    }

    /* .disableUnder700{
        display: none;
    } */
}

@media (max-width:500px) {
    .artistResultBoxImg,
    .albumBoxImg,
    .artistBoxImg {
        height: 200px;
    }
    .artistIntro p {
        font-size: 25px;
    }

    p.startGraphMsg {
        font-size: 16px;
    }

    h2 {
        font-size: 20px;
    }

    .tableReco {
        font-size:10px
    }

    .recoPicture {
        width:32px;
    }
}

@media (max-width:400px) {
    .artistResultBoxImg,
    .albumBoxImg,
    .artistBoxImg {
        height: 150px;
    }

    p.startGraphMsg {
        font-size: 14px;
    }

    .playerControl {
        margin-right: 0;
    }

    .playerInfo img {
        margin-right: 0;
    }
}

@media (max-width:350px) {
    .artistResultBox,
    .albumBox,
    .artistBox {
        width: 90%;
    }
    .artistResultBoxImg,
    .albumBoxImg,
    .artistBoxImg {
        height: 300px;
    }

    .disappear350 {
        display:none;
    }
}

@media (max-width:260px) {
    footer {
        display:none;
    }
}