@charset "utf-8";

/* //////////////////////////////// STYLES PLAYLIST 2020 //////////////////////////////// */

/* GENERAL INFO ------------------

colors :
#9c0a50 - rouge raisin
#f3f8b8 - jaune citron
#1A1A2A - outrenoir
#50a0a0 - vert givré
#aaa
#fff
#0ff - bleu vif

-------------------------------  */

/* - - - - - - - - - - - - - - - - - - GENERAL - - - - - - - - - - - - - - - - - - */

html {
    scroll-behavior: smooth;
}

body {

    background-image: linear-gradient(rgba(10, 190, 210, 0.9), rgba(200, 5, 50, 0.7)), url("../img/background_3.jpg");
    background-size: cover;
    background-position: center;
    background-color: #9c0a50;
    color: #f3f8b8;
    font-family: 'Lato', sans-serif;
    animation-duration: 1s;
    animation-name: appearing;
}

a{
    color:#f3f8b8;
    cursor:pointer;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

a:hover{
    color:#0ff !important;
    text-decoration: none;
}

h1{
    border-bottom: 1px solid #f3f8b8;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

h2{
    color: #ee0;
}

aside{
    font-style: italic;
    margin-bottom:15px;
}

/* - - - - - - - - - - - - - - - - - - HEADER - - - - - - - - - - - - - - - - - - */

header{
    position:fixed !important;
    top:0;
    left:0;
    z-index: 150;
    background-color: #1A1A2A;
    border-bottom: 1px solid #fff;
}

nav{
    width: 100vw !important;
}

.navbar-fixed-top.scrolled {
    opacity: 0.7 !important;
    padding:0 1rem;
    transition: padding 200ms linear;
}

.navbar{
    width:100%;
    padding: .1rem 1rem;
}

.navbar-brand{
    font-size: 28px;
    font-family: 'Raleway', Arial, sans-serif;
    color:#fff !important;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.navbar-brand.inactive{
    opacity:0.5;
}
.navbar-brand.inactive:hover{
    opacity:1;
}

/* - - - - - - - - - - - - - - - - - - MAIN - - - - - - - - - - - - - - - - - - */

#main{
    background-color:transparent;
    padding-top:17vh;
    animation-duration: 1s ;
    animation-name: appearing;
    min-height:100vh;
}

#landing-view{
    animation-duration: 1s ;
    animation-name: appearing;    
}

.explanation{
    background-color: rgba(0,0,0, 0.3);
    max-width: 640px;
    border-top: 1px solid #f3f8b8;
    border-bottom: 1px solid #f3f8b8;
}

#player{
    max-width:100%;
}

#player-cmd{
    overflow-y: scroll;
    max-height: 80vh;
    scrollbar-color: #f3f8b8 #1A1A2A;
    scrollbar-width: thin;
    background-color: rgba(0,0,0,0.5);
    border-top: 1px solid #f3f8b8;
    border-bottom: 1px solid #f3f8b8;
    padding: 0;
}

.player-link{
    color:#ff0;
    border-radius: 50px;
    border: 3px solid #ff0;
    padding: 10px 14px !important;
    margin: 20px 0;
    cursor:pointer;
    background-color: rgba(0,0,0,0.3);
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.player-link:hover{
    border: 3px solid #0ff;
    color: #0ff;
}

.playlist{
    padding: 10px 0;
    margin-right:30px;
}

.canson{
    display: block;
    max-width: 100%;
}

.yt-base{
    margin: 15px 0 10px 10px;
}

.position{
    max-width:50px ;
    padding:5px 0 !important;
    text-align: center;
}

.grey {
    color: #bbb !important;
}

.text-link {
    font-size: 18px;
    transform: translateY(3px);
    display: inline-block;
    padding-left:15px;
    color:#eee;
}

.canson .yt-link{
    padding-left:15px;
}

.canson .yt-link:hover,
.canson .text-link:hover{
    color:#0ff !important;
}

.canson .yt-link.active {
    color: #fff !important;
    background: rgba(0,5,90,0.6);
    padding: 5px 5px 5px 15px;
    border-radius: 5px;
}

/* - - - - - - - - - - - - - - - - - ADMIN - - - - - - - - - - - - - - - - - - */

.greenstyled{
    background-color: #9c0a50;
    color:#fff !important;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.greenstyled:hover{
    background-color: #dc0a80;
}

.highlighted-btn{
    color: #ff0;
}

.error-msg{
    color: #ff0;
    font-weight: bold;
}

.buttons{
    display:flex;
    justify-content: space-around;
}

.buttons button, .buttons .button{
    padding:5px 10px !important;
}

.customized-switch-label::before{
	cursor: pointer;
}

.customized-switch-label{
	cursor: pointer;
}
.custom-control-input:checked ~ .customized-switch-label{
	color: #0ff;
}

.custom-control-input:checked ~ .customized-switch-label::before{
	border: 2px solid #ff0;
	background-color: rgba(0,0,0,0.5);
}

.faint {
    opacity:0.3;
}

.faint:hover{
    opacity:1;
}

/* - - - - - - - - - - - - - - - - - MODAL - - - - - - - - - - - - - - - - - - */

.modal{
    color:#fff !important;
}

.modal-content{
    background-color: #1A1A2A;
}

.modal-header{
    background-color: rgb(20, 150, 120);
}

.modal-body{
    font-size:14px;
}

.modal-choice-body{
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 30px;
}

.modal-footer{
    background-color: #aaa;
}

#modal-info hr {
    background-color:#fff;
}

.close{
    color:#fff;
}
.close:hover{
    background-color:unset;
    color:#fff;
}

.yt-exemple{
    width:100%;
    height:auto;
    margin-bottom:70px
}

/* - - - - - - - - - - - - - - - - - INPUTS - - - - - - - - - - - - - - - - - - */

input[type="text"], textarea {
    background-color: rgba(0,0,0,0.5);
    border: 1px solid #fff;
    border-radius: 5px;
    color:#fff;
    font-family: "Lato";
    width:99%;
    padding:5px 25px;
    margin:10px 5px;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

input[type="button"], button, .button{
    background-color: darkslateblue;
    color:#fff;
    font-weight:bold;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

button, .button{
    margin: 10px 5px;
    border-radius: 5px;
    font-weight: bold;
    padding: 0 10px;
}

.button{
    border: 2px solid;
    border-top-color: #eee;
    border-right-color: #888;
    border-bottom-color: #888;
    border-left-color: #eee;
    padding:5px 11px; 
}

input[type="button"]:hover, button:hover, .button:hover{
    background-color: slateblue;
}


/* - - - - - - - - - - - - - - - - - - STYLES MSGS  - - - - - - - - - - - - - - - - - - */

.bordered {
    display: block;
    border: 1px dotted #aaa;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: justify;
}


/* - - - - - - - - - - - - - - - - - - - - - OTHERS - - - - - - - - - - - - - - - - - - */

.pointable{
    cursor:pointer;
}

/* - - - - - - - - - - - - - - - - - - - - - EFFECTS - - - - - - - - - - - - - - - - - - */

.from-top{
    display: inline-block;
    animation-duration: 0.7s;
    animation-name: entryTop;
}

.from-bottom{
    display: inline-block;
    animation-duration: 0.7s;
    animation-name: entryBottom;
}

.from-right{
    display: inline-block;
    animation-duration: 0.7s;
    animation-name: entryRight;
}

.from-left{
    display: inline-block;
    animation-duration: 0.7s;
    animation-name: entryLeft;
}

/* - - - - - - - - - - - - - - - - - - - - - KEYFRAMES - - - - - - - - - - - - - - - - - - */

@keyframes entryRight {
    from {
        -webkit-transform: translateX(60vw);
        transform: translateX(60vw);
    }
    to {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes entryLeft {
    from {
        -webkit-transform: translateX(-40vw);
        transform: translateX(-40vw);
    }
    to {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes entryTop {
    from {
        -webkit-transform: translateY(-40vw);
        transform: translateY(-40vw);
    }
    to {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes entryBottom {
    from {
        -webkit-transform: translateY(40vw);
        transform: translateY(40vw);
    }
    to {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes appearing {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}


@media screen and (min-width: 1025px) {
    #player-cmd{
        border-left: 1px solid #f3f8b8;
        border-right: 1px solid #f3f8b8;
       /* margin-top: 15px; */
    }
    .modal-dialog-xl{
        max-width:80vw;
    }
    .modal-dialog-xl .modal-content{
        width:80vw;
    }
}

@media screen and (max-width: 1024px) {
    .cansonable{
        margin-bottom:30px;
    }
    .yt-base{
            display:none;
    }
}

@media screen and (min-width: 801px) {
    .playlist{
        margin-right:30px;
    }
    .modal-aside{
        padding-left:35vw;
    }
    .modal-content{
        width:41vw;
        min-width:350px;
    }
}

@media screen and (min-width: 700px) and (max-width: 800px) {
    .playlist{
        margin:5vh 10vw;
    }
}

@media screen and (max-width: 800px) {
    .playlist{
        margin-top: 15px;
    }
    .modal-content{
        opacity: 0.9;
    }
}

@media screen and (max-width: 575px) {
    h1{
        font-size:14px;
        font-weight:bold;
    }
    /*#player{*/
    /*    height:auto;*/
    /*}*/
    #player-cmd{
        padding:15px;
    }
    .playlist{
        font-size: 14px;
        margin-right:0;
    }
    .text-link {
        padding-left:8px;
    }
    .canson{
        width: 360px;
        height: 75px;
        border: 2px solid;
        padding: 15px 0 5px 25px;
    }
    .canson .yt-link{
        padding-left:0;
    }
    .canson .yt-link.active {
        color: #f58 !important;
        background: none;
        padding:0;
        border-radius: 0;
    }
    .canson-cmd {
        font-size: 18px;
    }
    .suppress-btn{
        float: right;
        padding-right: 5px;
    }
    .fas.fa-play-circle {
        display: none;
    }
    .far.fa-comment-dots {
        float: right;
        padding-right: 10px;
    }
}

@media screen and (max-width: 415px) {
    .navbar-brand {
        font-size: 20px;
    }
}

@media screen and (max-width: 320px) {

    #main{
        padding-top:20vh;
    }
    .playlist{
        font-size: 0.85rem;
    }

}

@media screen and (max-width: 280px) {
    .navbar-brand {
        font-size: 16px;
    }
}
