@import "/files/customsite/CS_1839/ID_2354/css/extend.css";

/*
    radial-gradient(ellipse at 30% 20%, #fff 0%,#feecc3 90%)
*/

.sbs-customsite {
    color: white;
    background-image: url(img/ig26_background.jpg);
    background-size: cover;
}

.sbs-customsite b {
    text-shadow: 0 0 .5em #42d3ff;
}

.sbs-customsite a {
    color: inherit;
}

a.ostaliput img {
    max-width: 8em;
}

#hero {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: 50% 50%;
    min-height: 40vw;
    padding: calc(7vw + 2em) 2em 7vw;
    text-align: center;
    height: auto;
}

#hero p {
    font-size: 2em;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 0;
}

@media screen and (min-width: 1540px) {
    .sbs-customsite {
        font-size: 20px;
    }
    #hero {
        height: auto;
        padding: 100px 0 40px;
    }
}

#hero .logo {
    display: block;
    width: 80%;
    margin: 0 auto;
}

#hero .yhteistyo {
    width: 10em;
    margin: 0 auto 1em auto;
    display: block;
    max-width: 100%;
}

#artists {
    overflow: hidden;
    padding: 0 0;
}

#artists>.list {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    width: 85%;
    margin: 0 auto 10% auto;
    padding-left: var(--artist-offset);
    max-width: 1200px;
    padding: 0 0 0 0;
}

#artists .artist {
    flex-shrink: 0;
    flex-basis: 33.33%;
    position: relative;
    padding: .4em .2em;
    transform: translateX(-25%);
}

#artists .artist:nth-child(n + 4) {
    transform: translateX(25%);
    margin-top: -10%;
 }
 
 #artists .artist:nth-child(n + 7) {
    transform: translateX(25%);
    margin-top: -10%;
 }
 
 #artists.v-2 .artist {
     flex-basis: 25%;
 }
 
 #artists.v-2 .artist:nth-child(n + 4) {
    transform: translateX(25%);
    margin-top: 0%;
 }
 
 #artists.v-2 .artist:nth-child(n + 7) {
transform: translateX(-25%);
    margin-top: 0%;
 }
 
 
 #artists.v-2 .artist:nth-child(n + 5) {
    transform: translateX(-25%);
    margin-top: -7%;
 }
 
 #artists.v-2 .artist:nth-child(n + 9) {
    transform: translateX(25%);
    margin-top: -7%;
 }


#artists .artist>img {
    display: block;
    width: 100%;
    user-select: none;
    pointer-events: none;
}

#artists .artist>p {
    position: absolute;
    bottom: 3em;
    text-align: center;
    text-shadow: 1px 1px 2px black;
    font-weight: bold;
    text-transform: uppercase;
    left: 5%;
    transform: rotateZ(31.5deg);
    font-size: 20px;
    bottom: 17%;
    right: 43%;
    line-height: 1.1;
}

@media screen and (min-width: 1920px) {
    #artists .artist>p {
        font-size: 30px;
    }
}

@media screen and (max-width: 900px) {
    #artists .artist>p {
        font-size: 14px;
    }
}


#main {
    background-size: cover;
    background-position: 50% 100%;
    padding-top: 0;
    padding-bottom: calc(4em + 10vw);
}


#main.phase2 .inner {
    max-width: 59em;
}

#main .bubble {
    max-width: 34em;
    padding: 1.5em 1.5em 3em 1.5em;
    margin: 10vw auto 0 0;
    text-align: left;
    background: linear-gradient(135deg, #006d80 0%, #00363f 100%);
    border-radius: .5em;
    box-shadow: 0.25em 0.25em 1em rgba(15,0,0,0.1);
    z-index: 2;
    position: relative;
}

#main .bubble:nth-child(even) {
    margin: -2em 0 0 auto;
}

#main .bubble:first-child {
    margin-top: 0;
    padding-top: 1.5em;
}

#main .bubble:nth-child(odd) {
    margin: -2em auto 0 0;
    text-align: left;
}

#main .bubble:last-child {
    padding: 1.5em;
}

#main .bubble p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 700px) {
    #main .bubble {
        font-size: 1em;
        max-width: calc(100% - 4em);
    }
}


#main .bubble ul li {
    list-style: disc;
    margin: .5em 0 1em 1em;
}

#main .bubble .button {
    margin: .5em 0 0 0;
}

#ehdokkaat .category {
    margin-bottom: 1em;
}

#ehdokkaat .list {
    display: flex;
    flex-flow: row wrap;
    margin-right: -.5em;
}

#ehdokkaat .list>.option {
    flex-basis: calc(20% - .5em);
    min-width: 10em;
    margin: 0 0.5em 1em 0;
    box-shadow: 0 0.1em 0.2em rgba(0,0,0,0.1);
    font-size: 16px;
}

@media screen and (max-width: 600px) {
    #ehdokkaat .list>.option {
        flex-basis: calc(50% - .5em);
        flex-grow: 1;
    }
}

#ehdokkaat .list>.option>.image {
    border-top-right-radius: .15em;
    border-top-left-radius: .15em;
    width: 100%;
    margin: 0 0 .25em 0;
    border-radius: 0.2em;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

#ehdokkaat .list>.option h3 {
    margin: 0 0 .25em;
}

#ehdokkaat .list>.option.selected {
    border-color: #c10430;
}

#ehdokkaat .list>.option h3 {
    font-size: 1em;
    color: #c10430;
}

#ehdokkaat .option .credits {
    font-size: 12px;
}

#ehdokkaat .credits span {
    color: #777;
}

#ehdokkaat .credits .saveltaja:before {content: "Sävellys: "; font-weight: bold;}
#ehdokkaat .credits .sanoittaja:before {content: "Sanoitus: "; font-weight: bold;}
#ehdokkaat .credits .sovitus:before {content: "Sovitus: "; font-weight: bold;}
#ehdokkaat .credits .kustantaja:before {content: "Kustantaja: "; font-weight: bold;}


#ehdokkaat .option .credits>span.artisti {
    font-weight: bold;
    display: block;
    font-size: 14px;
}

p.ingressi {
    font-size: 1.25em;
}