@import "/files/customsite/CS_1632/ID_2060/css/extend.css";

:root {
  --muotokorkeus: 7vw;
}

.sbs-customsite p.smaller {
    font-size: 0.75em;
}

.sbs-customsite h2, .sbs-customsite b {
    color: #004152;
}

section.banded>.inner {
    max-width: 1200px;
}

#main .ingressi {
    font-size: 1.2em;
}

#hero {
    height: 40vw;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    padding-bottom: var(--muotokorkeus);
    background-color: #00bfe8;
    position: relative;
}

#hero:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    right: 0;
    background-image: url(/files/customsite/CS_1615/ID_2033/img/muoto.svg);
    background-position: 50% 101%;
    background-size: 101%;
    background-repeat: no-repeat;
    pointer-events: none;
    height: var(--muotokorkeus);
}

#hero #logo {
    width: 80%;
    max-width: 1000px;
    z-index: 100;
    position: relative;
}


#hero .artists {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
}

#hero .artists>.artist {
    flex-basis: 30%;
    flex-grow: 1;
    background-size: cover;
    background-position: 50% 50%;
    mix-blend-mode: luminosity;
    opacity: .5;
    animation: focused 2s ease-in alternate infinite both, waves 2s ease-in-out alternate infinite;
}

.sbs-customsite .artist i {
    opacity: .8;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .7em;
}

@keyframes focused {
    from {
        opacity: .05;
    }
    to {
        opacity: .2;
    }
}

#hero .artists>.artist:nth-child(1) {animation-delay: 0s;}
#hero .artists>.artist:nth-child(2) {animation-delay: 1.1119s;}
#hero .artists>.artist:nth-child(3) {animation-delay: 2.1s;}
#hero .artists>.artist:nth-child(4) {animation-delay: -1.2s;}
#hero .artists>.artist:nth-child(5) {animation-delay: -2.13s;}
#hero .artists>.artist:nth-child(6) {animation-delay: -3.0123s;}

@keyframes waves {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-1em);
    }
}


/*
#hero .artists>.artist {
    background: black;
    width: 32.33%;
    padding-bottom: 20%;
    position: absolute;
    top: 10em;
    animation: waves .6s ease-in-out infinite alternate, moveover 30s linear infinite;
    animation-fill-mode: both;
    background-size: cover;
    background-position: 50% 50%;
}

#hero .artists>.artist:nth-child(1) {animation-delay: 0s;}
#hero .artists>.artist:nth-child(2) {animation-delay: 10s;}
#hero .artists>.artist:nth-child(3) {animation-delay: 20s;}



@keyframes moveover {
    from {
        right: 100%;
    }
    to {
        right: -32.33%;
    }
}
*/

.laivastripe {
    display: block;
    width: 100%;
}

.laiva {
    width: 100%;
    margin-top: 2em;
    color: inherit;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.laiva>div {
    width: 100%;
}

.laiva>div p{
    color: black;
}

.laiva>section {
    flex-basis: calc(50% - .5em);
    width: calc(50% - .5em);
    margin-bottom: 1em;
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    border-radius: 1rem;
    overflow: hidden;
}

.laiva .date {
    min-width: 12em;
    flex-shrink: 0;
    flex-grow: 0;
    height: 12em;
    background-size: cover;
    font-weight: bold;
    position: relative;
    font-size: 20px;
}

.laiva .date .alsoplaying {
    position: absolute;
    background-size: cover;
    left: 0;
    bottom: 0;
    width: 5em;
    height: 5em;
    border-top-right-radius: 1em;
    display: none;
}

.laiva .date>span {
    font-weight: bold;
    background: #004152;
    padding: .5em;
    display: inline-block;
    display: none;
}

.laiva .artist {
    display: flex;
    flex-flow: column nowrap;
    align-items: flex-start;
    justify-content: center;
    padding: 1em;
    background: #004152;
    font-size: 18px;
    flex-grow: 1;
}

.laiva .artist span {
    display: block;
    font-size: 1.5em;
    margin-bottom: .2em;
}

.laiva div {
    color: white;
}

.laiva div{
    opacity: .9;
}

.laiva div:hover {
    opacity: 1;
}

.sbs-customsite a.buylink {
    text-decoration: underline;
    color: white;
    text-decoration: none;
    display: block;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 1em 0 0 0;
    position: relative;
}

.sbs-customsite a.buylink:after {
    content: " →";
}


@media screen and (max-width: 600px) {
    .laiva>section, .laiva>section>div{
        display: block;
        width: 100%;
        flex-basis: 100%;
    }
    .laiva .date {
        height: 100vw;
    }
}
}