@import "/files/customsite/CS_1839/ID_2354/css/extend.css";

#hero {
    background-image: url(img/srap_demo_hero.jpg);
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: 50% 50%;
    height: 55vw;
    position: relative;
}

@media screen and (max-width: 600px) {
        
    #hero {
        background-image: url(img/srap_demo_hero_s.jpg);
    }
}

#mic {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 82%;
    top: 50%;
    width: 15%;
    animation: mic 2s steps(1) infinite;
}

@keyframes mic {
    0% {transform: translate(-50%, -50%) rotateZ(-30deg);}
    50% {transform: translate(-50%, -50%) rotateZ(-7deg);}
}

.artisti label {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    margin: .5em 0;
    padding: .5em 0;
}

.artisti label>span, .artisti p>span {
    margin-right: .5em;
    background: #ffffc9;
    padding: .25em .5em;
}

.artisti label>input {
    font: inherit;
    padding: .25em;
    flex-grow: 1;
    border: 1px solid #888;
    box-shadow: none;
    padding: .25em;
    background: #fff;
}

.artisti label>input[type="file"] {
    width: 100%;
}

#mechanism {
    background-image: url(img/srap_demo_background.jpg);
    background-size: cover;
    background-position: 50% 50%;
}

.sbs-customsite ul li {
    list-style: disc;
    margin: .5em 0 0 1em;
}

.voter .artist {
    margin: 1em 0;
    padding: .75em;
    
    -ms-flex-preferred-size: calc(50% - ,5em);
    flex-basis: calc(50% - 0.5em);
    max-width: calc(50% - .5em);
}


.voter .artist img {
    width: 100%;
    display: block;
}


.voter .artist h2 {
    font-size: 125%;
}

.voter .artist audio {
    width: 100%;
}

.voter .artist .button {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 90%;
}

.sbs-customsite .actions {
    width: 100%;
}

.voter .actions .button {
    margin-left: auto;
}


.voter .artist.selected {
    background-color: #ffffc7;
}

.voter .artist.selected .button {
    background: #e9a220;
}

