@import url(https://fonts.googleapis.com/css?family=Oswald:400,700,300&subset=latin-ext);
body{
    position: relative;
    overflow: hidden;
    margin: 0px;
    padding: 0px;
    background-color: #222;
    font-size:20px;
}
header{
    display:table;
    width: 100%;
}
#playlistTitle{
    color: white;
    background: linear-gradient(to bottom,  #e52d27 1%,#b31217 100%);
    padding: 10px;
    font-size: 20px;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    display: table-cell;
    z-index: 2;
    width: 150px;
    text-align: center;
}
#head{
    display: table-cell;
    background: #666;
    z-index: 1;
    padding: 10px 0px 10px 30px;
    font-size: 20px;
    font-family: 'Oswald', sans-serif;
    color: #ddd;
}
#controls{
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    background-color: #444;
}
.controlsPassive, .controlsActive{
    width: 50px;
    height: 50px;
    display: inline-block;
}
.controlsActive{
    background-color: green;
}
.controlsPassive{
    background-color: #444;
}
    #stepNext{
        background-image: url('next.svg');
    }
    #stepPrev{
        background-image: url('prev.svg');
    }
    #listLoop{
        background-image: url('loop.svg');
    }
    #listLock{
        background-image: url('unlocked.svg');
    }
    #autoplay{
        background-image: url('autoplay.svg');
    }
    #keyboard{
        background-image: url('keyboard.svg');
    }
    #stepNext, #stepPrev, #listLoop, #listLock, #autoplay, #keyboard{
        background-size: 40px 40px;
        background-repeat: no-repeat;
        background-position: center center;
        cursor: pointer;
    }


#playlistContainer{
    min-height: 185px;
    position: relative;
    overflow: hidden;
/*    width:90%;
    margin:auto;*/
}
    #playlist{
        position: relative;
        overflow: hidden;
        width: 10000000000px;
        height: 185px;
    }
        #listEmpty{
            margin-top: 20px;
            display: block;
            padding: 20px 0px 0px 20px;
            color: white;
            font-size: 20px;
            font-family: 'Oswald', sans-serif;
        }
        #playlist table{
            float: left;
            vertical-align: top;
            color: white;
            width: 120px;
            text-align: center;
            cursor: pointer;
            border-collapse: collapse;
            margin: 10px 10px 0px 10px;
            /*font-family: "Lucida Console", Monaco, monospace;*/
        }
        #playlist table td{
            position: relative;
            width: 100%;
        }
        .remove{
            position: absolute;
            right: -15px;
            top: 0px;
            z-index: 5;
            width: 30px;
            border-radius: 18px;
            border: 2px solid black;
            background-color: rgba(255,255,255,0.4);
            transition: background-color 0.2s;
        }
        .remove:hover{
            background-color: rgba(255,255,255,0.8);
        }
        #left,#right{
            width: 50px;
            height: 60px;
            background-size: contain;
            position: fixed;
            z-index: 10;
            top: 95px;
            cursor: pointer;
        }
        #left{
            background: #fff url('left.svg') no-repeat center center;
            left: 0px;
        }
        #right{
            background: #fff url('right.svg') no-repeat center center;
            right: 0px;
        }
        
    
#container{
    position: relative;
    height: calc(100%-200px);
    display: block;
}
    #searchBox{
        width: 40%;
        position: absolute;
        overflow: hidden;
    }
        #searchForm{
            width: 120%;
        }
            #searchSubmit{
                font-size: 20px;
                padding: 10px;
                margin: 0px;
                background: linear-gradient(to bottom,  #e52d27 1%,#b31217 100%);
                color: white;
                font-family: 'Oswald', sans-serif;
                font-weight: bold;
                border: none;
                cursor: pointer;
                display: inline-block;
                -webkit-appearance: none;
            }
            #searchField{
                font-size: 20px;
                font-weight: bold;
                padding: 13.5px;
                margin: 0px;
                border: none;
                display: inline-block;
                vertical-align: top;
            }
            #searchField:focus, #searchSubmit:focus{
                outline: none;
            }
        #response{
            position: relative;
            overflow-y: scroll;
            margin-right: -20px;
            color: white;
            font-family: Arial, Helvetica, sans-serif;
            background: url('search_white.svg') no-repeat top center;
            background-position-y: 20%;
            background-size: 50%;
        }
            .response{
                width: 100%;
                border-bottom: 1px solid #666;
                border-collapse: collapse;
                cursor: pointer;
                text-align: left;
            }
            .response:hover{
                background-color: #555;
            }
            .response td:nth-child(even){
                padding: 0px 10px 0px 10px;
            }
            .response td:nth-child(odd){
                width: 100px;
            }
            .response td img{
                display: block;
                line-height: 0px;
                margin: 0px;
                padding: 0px;
            }
            #resultCover{
                width: 100%;
                height: 100%;
                background-color: rgba(255,255,255,0.4);
                text-align: center;
            }
                @keyframes loadingImg{
                    from{
                        transform: rotate(0deg);
                    }
                    to{
                        transform: rotate(360deg);
                    }
                }
                #loadingImg{
                    margin-top: 100px;
                    width: 30px;
                    animation: loadingImg 2s linear infinite;
                }
    #videoBox{
        position: absolute;
        right: 0px;
        width: 60%;
        height: 100%;
        z-index: 5;
        background-color: black;
        vertical-align: bottom;
        display: table;
    }
        .cover{
            position: absolute;
            top: 200px;
            width: 100%;
            height: 1000000px;
            z-index: 100;
            background-color: rgba(255,255,255,0);
        }
        #ytvideo{
            float: left;
            display: table-cell;
            width: 100%;
            vertical-align: bottom;
            max-height: calc(100% - 50px);
        }
        #watchPlaylist{
            position: relative;
            z-index: 6;
            text-align: center;
            font-family: 'Oswald', sans-serif;
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            vertical-align: top;
            
        }
        #watchPlaylist img{
            width: 70%;
            vertical-align: top;
        }
        #playTheList{
            color: #ddd;
        }
        
@media screen and (min-width : 1270px){
    #watchPlaylist img{
        width: 40%;
    }
}
