/*
Theme Name: toxic.fm
Author: Chris Thomann - IT Economy GmbH
Author URI: http://www.iteconomy.ch/
Version: 1.0
*/

/* Fonts */

@import url('fonts/icomoon/style.css');

@font-face
{
    font-family: 'Termina-Regular';
    src: url('fonts/Termina-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face
{
    font-family: 'Termina-Demi';
    src: url('fonts/Termina-Demi.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face
{
    font-family: 'Termina-Heavy';
    src: url('fonts/Termina-Heavy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face
{
    font-family: 'Termina-Bold';
    src: url('fonts/Termina-Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face
{
    font-family: 'Roboto-Regular';
    src: url('fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Fonts - Title */

h1
{
    margin: 40px 0;
    font-family: 'Termina-Heavy';
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 30px;
}

/* Fonts - Subtitle */

h2, label
{
    margin-bottom: 0;
    font-family: 'Termina-Bold';
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 30px;
}

h2 + p
{
    margin-top: 0;
}

/* Fonts - Text */

p, a, .wpcf7-response-output
{
    font-family: 'Roboto-Regular';
    font-size: 20px;
    line-height: 30px;
}

p
{
    -webkit-hyphens: auto;
    hyphens: auto;
}

/* Fonts - Links */

a
{
    color: inherit;
    text-decoration: underline;
}

a:hover, a:focus
{
    font-weight: bold;
}

/* Fonts - General */

.bold
{
    font-weight: bold;
}

p:first-child, h1:first-child, h2:first-child
{
    margin-top: 0;
}

p:last-child, h1:last-child, h2:last-child
{
    margin-bottom: 0;
}

/* General */

:root
{
    --flexblock-base-padding: 0px;
    --flexblock-xs-padding: 15px;
    --flexblock-sm-padding: 35px;
    --flexblock-md-padding: 35px;
}

.container .container
{
    --flexblock-xs-padding: 0px;
    --flexblock-sm-padding: 0px;
    --flexblock-md-padding: 0px;
}

body
{
    margin: 0;
}

body.burgerActive
{
    overflow-y: hidden;
}

#page-content-inner
{
    color: #fff;
    background: #000;
    padding-bottom: 250px;
    transition: color .1s, background .1s;
}

.container.slim-container
{
    max-width: 720px;
}

input, textarea
{
    min-height: 24px;
    margin-top: 10px;
    padding: 4px 8px;
    font-family: 'Termina-Regular';
    font-size: 13px;
}

textarea
{
    resize: none;
}

input[type=submit]
{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #4A48FB;
    background: #fff;
    border: none;
    border-radius: 8px;
    min-width: 135px;
    height: 50px;
    margin: 30px 0 30px 5px;
    font-family: 'Termina-Demi';
    font-size: 13px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    transform: rotate(-10deg);
    transition: transform .2s;
}

input[type=submit]:hover,
input[type=submit]:focus
{
    transform: rotate(-10deg) scale(1.4);
}

.musik ::selection
{
    color: #fff;
    background: #FD28FC;
}

.news ::selection,
.regio_news ::selection
{
    color: #000;
    background: #00FE7C;
}

.event ::selection
{
    color: #fff;
    background: #4A48FB;
}

.wp-block-embed-youtube.wp-embed-aspect-16-9 iframe
{
    width: 100%;
    height: auto;
    aspect-ratio: auto 16 / 9;
}

.ad_desktop
{
    text-align: center;
}

/* Header */

header
{
    color: #fff;
    background: #000;
    transition: color .1s, background .1s;
}

#header-link
{
    display: inline-block;
    text-decoration: none;
}

#header-logo
{
    margin: 50px 0;
    transition: filter .1s;
}

body.burgerActive header,
body.burgerActive #page-content-inner
{
    color: #000;
    background-color: #fff;
}

body.burgerActive #header-logo
{
    filter: invert(1);
}

.menu-block
{
    display: flex;
    align-items: center;
}

.menu-bundle,
.menu-menu-container
{
    width: 100%;
}

.menu, .sub-menu
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu .menu-item a
{
    font-size: 16px;
    font-family: 'Termina-Regular';
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.1em;
}

.burger-social-media a
{
    font-size: 26px;
    text-decoration: none;
}

.burger-social-media p
{
    font-size: 15px;
    font-weight: bold;
}

.menu .menu-item a:hover,
.menu .menu-item a:focus,
.menu .menu-item.current-menu-item a
{
    font-family: 'Termina-Heavy';
}

#burger-button
{
    color: inherit;
    background: none;
    border: none;
    font-size: 32px;
}

body:not(.burgerActive) .burger-button-on,
body:not(.burgerActive) .menu-bundle .burger-social-media,
body.burgerActive .burger-button-off
{
    display: none;
}


/* Footer */

.footer-main
{
    padding: 80px 0;
}

.footer-mini
{
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 0;
    color: #848484;
    background: #121212;
    width: 100%;
    height: 52px;
}

.footer-mini a
{
    font-size: 15px;
    font-family: 'Roboto-Regular';
}

.footer-mini a.socialMediaLink
{
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

.footer-main p, .footer-main a
{
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
}

.footer-main a.socialMediaLink
{
    font-size: 26px;
    transition: color .2s;
}

.footer-main a.socialMediaLink:hover,
.footer-main a.socialMediaLink:focus
{
    color: #fff;
    -webkit-text-stroke: 2px #000;
    text-stroke: 2px #000;
}

.footer-main a.heavy
{
    display: block;
    width: 100%;
    margin-bottom: 50px;
    font-family: 'Termina-Heavy';
    font-size: 26px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color .3s;
}

.footer-main a.heavy:hover,
.footer-main a.heavy:focus
{
    color: #fff;
    -webkit-text-stroke: 1.5px #000;
    text-stroke: 1.5px #000;
}

div.footer-block
{
    min-height: 100px;
}

div.footer-space
{
    justify-content: space-between;
}

div.footer-right
{
    justify-content: flex-end;
}

/* Videos */

.videos-container
{
    --flexblock-block-padding: 7.5px;
}

.videos-container > .row > div
{
    padding-top: 7.5px;
    padding-bottom: 7.5px;
}

.videos-player iframe
{
    width: 100%;
    height: auto;
    aspect-ratio: auto 16 / 9;
}

.videos-link-block
{
    display: flex;
    justify-content: center;
}

.videos-link-block a
{
    text-decoration: none;
}

.videos-page-link
{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #4A48FB;
    background: #fff;
    border-radius: 8px;
    width: 135px;
    height: 50px;
    margin: 60px 0;
    font-family: 'Termina-Demi';
    font-size: 13px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    transform: rotate(-10deg);
    transition: transform .2s;
}

a:hover .videos-page-link,
a:focus .videos-page-link
{
    transform: rotate(-10deg) scale(1.4);
}

.videos-title
{
    font-size: 21px;
}

/* Feed */

.feed-container
{
    --flexblock-block-padding: 10px;
}

.feed-container > .row > div
{
    padding-top: 10px;
    padding-bottom: 10px;
}

.feed-slider
{
    border: #4A48FB 10px solid;
    height: 340px;
    overflow-y: scroll;
    overflow-y: overlay;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
    cursor: grab;
}

.feed-slider:active
{
    cursor: grabbing;
}

.feed-slider::-webkit-scrollbar
{
    display: none;
}

.feed-slider-link
{
    text-decoration: none;
}

.feed-slider-block
{
    background-size: cover;
    background-position: center;
    height: 100%;
    scroll-snap-align: center;
    user-select: none;
}

.feed-slider-block-correction
{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(to bottom, transparent, #000);
    height: calc(100% - 20px);
    padding: 10px;
}

.feed-slider-title
{
    margin: 0;
    font-size: 26px;
}

.feed-slider-subtitle
{
    margin: 0;
    margin-bottom: 5px;
    font-family: 'Termina-Bold';
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.feed-playlist
{
    background: #FD28FC;
    min-height: 340px;
    padding: 10px;
}

.feed-playlist-title
{
    display: flex;
    align-items: center;
    position: relative;
    height: 85px;
    margin: 0;
    margin-bottom: 10px;
    padding-left: 10px;
    font-family: 'Termina-Heavy';
    font-size: 29px;
    letter-spacing: 0.1em;
}

.feed-playlist-link
{
    text-decoration: none;
}

.feed-playlist-badge
{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: -52px;
    color: #FD28FC;
    background-image: url(./images/toxic_badge_white.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 85px;
    height: 85px;
    font-size: 35px;
    z-index: 10;
    transition: transform .2s;
}

.feed-playlist-link:hover .feed-playlist-badge,
.feed-playlist-link:focus .feed-playlist-badge
{
    transform: scale(1.4);
}

.feed-playlist-badge > span
{
    padding-left: 8px;
    transform: rotate(-10deg);
}

.feed-playlist-cover
{
    background-size: cover;
    background-position: center;
    height: 160px;
}

.feed-playlist-cover:not(.feed-playlist-cover-live)
{
    opacity: 0.6;
}

.feed-playlist-box
{
    padding: 10px 10px 0 10px;
}

.feed-playlist-mini-title
{
    font-family: 'Termina-Heavy';
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.feed-playlist-mini-title > span
{
    margin-right: 8px;
}

.feed-playlist-page-link
{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #4A48FB;
    border-radius: 8px;
    width: 100%;
    max-width: 155px;
    height: 50px;
    margin: 20px auto auto;
    font-family: 'Termina-Demi';
    font-size: 13px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    transform: rotate(-10deg);
    transition: transform .2s;
}

.feed-playlist-link:hover .feed-playlist-page-link,
.feed-playlist-link:focus .feed-playlist-page-link
{
    transform: rotate(-10deg) scale(1.4);
}

.feed-playlist-song-title
{
    color: #000;
    font-family: 'Roboto-Regular';
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.feed-playlist-artist-title
{
    color: #000;
    font-family: 'Roboto-Regular';
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Program */

.program-container
{
    --flexblock-block-padding: 7.5px;
}

.program-block
{
    padding-top: 7.5px;
    padding-bottom: 7.5px;
}

.program-content
{
    background-size: cover;
    background-position: center;
    border: 10px solid #FD28FC;
    height: 330px;
    overflow: hidden;
}

.program-content-upper
{
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    height: calc(100% - 125px);
    padding-top: 10px;
    padding-right: 15px;
}

.program-badge
{
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(./images/toxic_badge.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 135px;
    height: 135px;
    font-size: 52px;
    transform-origin: top right;
    transition: transform .2s;
}

.program-badge > span
{
    transform: rotate(-10deg);
}

.program-link
{
    text-decoration: none;
}

.program-link:hover .program-badge,
.program-link:focus .program-badge
{
    transform: scale(1.5);
}

.program-content-lower
{
    height: 125px;
}

.program-title
{
    position: relative;
    top: 30px;
    left: -2px;
    background: #FD28FC;
    width: 100%;
    height: 100%;
    padding: 15px;
    font-size: 22px;
    font-family: 'Termina-Heavy';
    text-transform: uppercase;
    transform: rotate(-10deg);
}

/* Posts */

.posts-share-title
{
    margin-top: 15px !important;
    font-size: 15px;
}

.posts-share-button
{
    text-decoration: none;
}

.posts-slug
{
    display: inline-block;
    background: var(--cat-colour, #FD28FC);
    padding: 8px 8px;
    font-family: 'Termina-Demi';
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1;
}

.musik .posts-slug
{
    background-color: #FD28FC;
}

.news .posts-slug,
.regio_news .posts-slug
{
    background-color: #00FE7C;
}

.event .posts-slug
{
    background-color: #4A48FB;
}

.posts-title-block
{
    display: flex;
    align-items: center;
}

.posts-badge
{
    aspect-ratio: auto 1 / 1;
}

.posts-thumbnail
{
    margin-top: 20px;
    max-width: 100%;
    height: auto;
}

.posts-detail-container
{
    margin-bottom: 100px;
}

.posts-detail-container.regio_news .posts-badge
{
    background-image: url(./images/toxic_regio_news.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.posts-container
{
    --flexblock-block-padding: 7.5px;
}

.posts-block
{
    position: relative;
    padding-top: 7.5px;
    padding-bottom: 7.5px;
}

.posts-link
{
    display: block;
    position: relative;
    height: 100%;
    text-decoration: none;
}

.posts-image
{
    background-position: center;
    background-size: cover;
    height: 100%;
    transition: transform .2s;
}

.posts-link:hover .posts-image,
.posts-link:focus .posts-image
{
    transform: scale(1.2);
}

.posts-content
{
    height: 350px;
    overflow: hidden;
}

.posts-image-correction
{
    background: linear-gradient(to bottom, transparent, #000);
    height: 100%;
}

.posts-border
{
    position: absolute;
    top: 0;
    left: 0;
    border: 10px solid transparent;
    width: calc(100% - 50px);
    height: calc(100% - 50px);
    padding: 15px;
    transition: border .2s;
}

.posts-link:hover .posts-border,
.posts-link:focus .posts-border
{
    border-color: var(--cat-colour, #FD28FC);
}

.musik .posts-link:hover .posts-border,
.musik .posts-link:focus .posts-border
{
    border-color: #FD28FC;
}

.news .posts-link:hover .posts-border,
.news .posts-link:focus .posts-border,
.regio_news .posts-link:hover .posts-border,
.regio_news .posts-link:focus .posts-border
{
    border-color: #00FE7C;
}

.event .posts-link:hover .posts-border,
.event .posts-link:focus .posts-border
{
    border-color: #4A48FB;
}

.posts-content-section
{
    height: 33.33%;
}

.posts-content-section-bottom
{
    display: flex;
    align-items: flex-end;
}

.regio_news .posts-content-section-middle
{
    background-image: url(./images/toxic_regio_news.svg);
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
}

/* Social */

.social-block
{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-badge
{
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(./images/toxic_badge.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 175px;
    height: 175px;
    margin: 35px 0;
    font-size: 55px;
    transition: transform .2s;
}

.social-badge.instagram-badge
{
    background-image: url(./images/toxic_badge.svg);
}

.social-badge.youtube-badge
{
    background-image: url(./images/toxic_badge_green.svg);
}

.social-badge.twitter-badge
{
    background-image: url(./images/toxic_badge_blue.svg);
}

.social-link
{
    text-decoration: none;
}

.social-link:hover .social-badge,
.social-link:focus .social-badge
{
    transform: scale(1.4);
}

.social-badge > span
{
    transform: rotate(-18deg);
}

.social-name
{
    font-family: 'Termina-Bold';
    font-size: 21px;
    text-transform: uppercase;
}

/* Events */

.events-container
{
    background: #4A48FB;
    width: calc(100% - 100px);
    padding: 50px;
}

.events-preview
{
    position: relative;
    max-height: 480px;
    overflow: hidden;
}

.events-preview > .row
{
    min-height: 275px;
}

.events-cutoff
{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #4A48FB;
    width: 100%;
    height: 120px;
}

.events-cutoff:before
{
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    background: linear-gradient(to bottom, transparent, #25247E);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.events-cutoff a
{
    text-decoration: none;
}

.events-page-link
{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    background: #fff;
    border-radius: 8px;
    width: 135px;
    height: 50px;
    font-family: 'Termina-Demi';
    font-size: 13px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    mix-blend-mode: screen;
    transform: rotate(-10deg);
    transition: transform .2s;
}

a:hover .events-page-link,
a:focus .events-page-link
{
    transform: rotate(-10deg) scale(1.4);
}

.event-single
{
    background: #706EFF;
    margin-right: 40px;
    margin-bottom: 10px;
    padding: 15px 25px;
}

.events-container > .row > div:last-child .event-single
{
    margin-right: 0;
}

.event-month
{
    margin-bottom: 40px;
}

.event-name
{
    margin-top: 5px;
    margin-bottom: 5px;
    font-family: 'Termina-Bold';
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

.event-date,
.event-location
{
    color: #000;
    font-family: 'Roboto-Regular';
    font-weight: bold;
}

.event-location
{
    display: flex;
    align-items: center;
}

.event-link
{
    text-decoration: none;
    line-height: normal;
    font-size: inherit;
}

/* Team */

.team-container
{
    --flexblock-block-padding: 7.5px;
}

.team-block
{
    padding-top: 7.5px;
    padding-bottom: 7.5px;
}

.team-link
{
    text-decoration: none;
}

.team-content
{
    background-size: cover;
    background-position: center;
    height: 350px;
}

.team-info
{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 10px solid transparent;
    height: calc(100% - 50px);
    padding: 15px;
    transition: border .2s;
}

.team-block:nth-child(3n+1) .team-link:hover .team-info,
.team-block:nth-child(3n+1) .team-link:focus .team-info
{
    border-color: #00FE7C;
}

.team-block:nth-child(3n+2) .team-link:hover .team-info,
.team-block:nth-child(3n+2) .team-link:focus .team-info
{
    border-color: #4A48FB;
}

.team-block:nth-child(3n+0) .team-link:hover .team-info,
.team-block:nth-child(3n+0) .team-link:focus .team-info
{
    border-color: #FD28FC;
}

.team-role
{
    margin: 0;
    margin-bottom: 5px;
    font-family: 'Termina-Bold';
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.team-name
{
    margin: 0;
    font-size: 21px;
}

/* Media Queries */

@media (min-width: 1281px)
{
    .event-link:last-child .event-single,
    div > .event-single:last-child
    {
        margin-bottom: 0;
    }
}

@media (max-width: 1280px)
{
    .feed-playlist-title
    {
        justify-content: space-between;
    }

    .feed-playlist-badge
    {
        position: static;
    }

    .events-container
    {
        width: calc(100% - 60px);
        padding: 30px;
    }

    .event-single
    {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .events-container > .row > div:last-child > .event-single:last-child,
    .events-container > .row > div:last-child .event-link:last-child .event-single
    {
        margin-bottom: 0;
    }

    .events-container > .row > div:not(:last-child) .events-empty
    {
        margin-bottom: 20px !important;
    }

    .event-month
    {
        margin-bottom: 20px;
    }

    .ad_desktop
    {
        display: none;
    }
}

@media (min-width: 769px)
{
    .footer-main
    {
        margin-bottom: 52px;
    }

    .footer-main a.heavy:last-child
    {
        margin-bottom: 0;
    }

    #teamMemberPortrait
    {
        width: calc(100% - 20px);
    }
}

@media (max-width: 768px)
{
    body.burgerActive header
    {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10;
    }

    #header-logo
    {
        width: 160px;
        height: 50px;
        margin: 30px 0;
    }

    .menu-block
    {
        justify-content: flex-end;
    }

    .menu-bundle
    {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        position: fixed;
        top: 115px;
        left: 0;
        color: #fff;
        background: #000;
        width: calc(100% - 70px);
        height: calc(100% - 115px);
        padding: 0 35px;
        z-index: 10;
        opacity: 0;
        pointer-events: none;
        transition: color .1s, background .1s;
    }

    body.burgerActive .menu-bundle
    {
        color: #000;
        background: #fff;
        opacity: 1;
        pointer-events: auto;
    }

    .menu-menu-container
    {
        height: 70%;
        max-height: 400px;
    }

    .menu
    {
        height: 100%;
    }

    .menu, .sub-menu
    {
        flex-direction: column;
    }

    .menu .menu-item a
    {
        font-size: 26px;
    }

    .feed-playlist
    {
        position: relative;
        margin-bottom: 125px;
    }

    .feed-playlist-link:not(.player-link)
    {
        position: absolute;
        bottom: -95px;
        left: 0;
        right: 0;
    }

    .feed-playlist-cover-block
    {
        display: flex;
    }

    .feed-playlist-box
    {
        width: calc(100% - 160px);
    }

    .feed-playlist-cover
    {
        width: 160px;
    }

    .feed-playlist-mini-title
    {
        font-family: 'Termina-Bold';
        font-size: 15px;
    }

    .feed-playlist-mini-title > span
    {
        display: none;
    }

    div.footer-right
    {
        display: flex;
        flex-direction: column-reverse;
    }

    h1
    {
        margin: 30px 0;
    }

    h1, .feed-slider-title
    {
        font-size: 17px;
    }

    #page-content-inner
    {
        padding-bottom: 60px;
    }

    .feed-slider
    {
        height: 215px;
    }

    .videos-page-link
    {
        margin: 30px 0;
    }

    .social-badge
    {
        width: 90px;
        height: 90px;
        margin: 20px 0;
        font-size: 35px;
    }

    .social-name
    {
        display: none;
    }

    .footer-main
    {
        padding: 50px 0;
    }

    .footer-main .footer-block-upper
    {
        min-height: auto;
    }
}

@media (max-width: 425px)
{
    .menu-bundle
    {
        width: calc(100% - 30px);
        padding: 0 15px;
    }
}