/*
Theme Name: Funband
Author: Joran out
Description: Wordpress Theme for funband
Version: 0.0.1
Text Domain: funband-v0.0.1
*/

:root {
    --plyr-color-main: #A55AA7;
    --plyr-audio-controls-background: #f3f3f3;
}

/* basic styling */
@font-face {
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: 300;
    src: local(".SFNSText-Light"), local(".HelveticaNeueDeskInterface-Light"), local(".LucidaGrandeUI"), local("Ubuntu Light"), local("Segoe UI Light"), local("Roboto-Light"), local("DroidSans"), local("Tahoma");
}

html {
    font-size: 62.5%;
    font-family: 'Raleway', sans-serif;
    /* width: 100vw;
    overflow-x: hidden; */
}

html.flexbox {
    margin-top: 0 !important;
}

html #wpadminbar {
    display: none;
}

body {
    position: relative;
    margin: 0;
    overflow-x: hidden;
    background: repeating-linear-gradient(45deg,  rgb(77 11 138 / 50%), rgb(149 69 171 / 50%) 40%), repeating-linear-gradient(135deg, #4d0b8a, #9245ab 40%);
}

body:not(.home) {
    padding: 0 0 90px;
}

h1 {
    font-size: 4.4rem;
    font-weight: bolder;
    margin-bottom: 1.6rem;
    margin-left: 1.6rem;
    line-height: 5.6rem;
    font-family: 'Lato', sans-serif;
}

h2 {
    font-family: 'Lato', sans-serif;
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: .8rem;
}

h3 {
    font-family: 'Lato', sans-serif;
    font-size: 1.7rem;
    font-weight: bold;
    /* margin-bottom: .5rem; */
}

p, a, span, div {
    font-size: 1.2rem;
    font-weight: lighter;
    line-height: 1.3;
}

table:not(.tribe-events-calendar) {
    white-space: nowrap;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    margin: 5px;
    height: auto !important;
}

td {
    padding: 5px;
}

body.login {
    padding-bottom: 0;
}

:focus {
    outline: none !important;
}

#tribe-events-pg-template {
    margin: 0;
    max-width: initial;
    padding: 0;
}

/**
 * front-page
 */

.front-page .logo {
    background: linear-gradient(135deg, #e83962, #ffcbb3);
    -webkit-mask: url('assets/img/icons/030-headphones.svg');
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask: url('assets/img/icons/030-headphones.svg');
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    height: 70vw;
    width: 70vw;
    max-height: 120px;
    max-width: 520px;
    margin: 0 0 70px;
}

.front-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fefefe;
    height: 100vh;
    justify-content: center;
    /*background-image: repeating-linear-gradient(90deg, rgb(77 11 138 / 50%), rgb(149 69 171 / 50%), rgb(28 27 29 / 50%) 33%), repeating-linear-gradient(15deg,  rgb(77 11 138 / 50%), rgb(149 69 171 / 50%) 30%), repeating-linear-gradient(135deg, #4d0b8a, #9245ab 40%);*/
}

.front-page em {
    font-size: 1.8em;
    font-weight: 900;
    margin-top: 1em;
    text-shadow: 0px 1px 5px black;
}

.front-page h1 {
    text-transform: uppercase;
    text-shadow: 0px 1px 5px black;
    margin: 0 0 10px;
}

.front-page p {
    margin-top: 15px;
    font-size: 1.2em;
    width: 80%;
    text-align: center;
    max-width: 300px;
    text-shadow: 0px 1px 5px black;
}

.front-page a {
    font-size: 1.7em;
    background: linear-gradient(135deg, hsl(336deg 97% 76%), hsl(19deg 82% 82%));
    padding: 10px 15px;
    border-radius: 5px;
    color: #fefefe;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 20px;
    box-shadow: -1px 3px 11px -5px black;
}

.front-page a:hover {
    text-shadow: -1px 2px 6px #000;
}

.front-page .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.front-page .buttons .login {
    position: absolute;
    bottom: 20px;
    font-size: 1.2rem;
}

/**
 * common
 */

.title a > img {
    height: 15px;
    filter: invert(1);
}


/**
 * single event
 */

.tribe_events .page-content > .title {
    color: #ffffff;
    text-align: center;
    margin: 30px 0 0;
    text-transform: capitalize;
}

.tribe_events .date {
    color: #ffffff;
    text-align: center;
    margin: 0 0 50px;
}

.tribe_events .tabs {
    color: #ffffff;
    display: flex;
    justify-content: space-around;
    border-bottom: 3px solid #1191db;
}

.tribe_events .tabs a {
    padding: 10px 15px;
    flex: 1;
    text-align: center;
    position: relative;
    cursor: pointer;
    font-weight: 700;
    transition: all .5s;
}

.tribe_events .tabs a:not(.active) {
    color: rgba(255,255,255,.7);
}

.tribe_events .tabs a:hover {
    color: #1191db;
}

.tribe_events .tabs a::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    border: 4px solid;
    border-color: transparent transparent #8a4c99 transparent;
    transition: all .5s;
}

.tribe_events .tabs a.active::after {
    border-color: transparent transparent #1191db transparent;
}

.tribe_events .tabs:hover a::after {
    border-color: transparent transparent #8a4c99 transparent;
}

.tribe_events .tabs a:hover::after {
    border-color: transparent transparent #1191db transparent;
}

.tribe_events .tab:not(.active) {
    display: none;
}

/**
 * Songlist editor
 */

.songlist_editor {
    padding: 30px 15px 20px;
    background: linear-gradient(135deg, #884c98, #ae54ae);
    border-radius: 10px;
    position: relative;
    margin: 40px 20px;
}

.songlist_editor > h2 {
    color: #fefefe;
    margin-bottom: 30px;
    margin-left: 10px;
}

#sort_songlist_name,
#sort_songlist_skill,
#edit_songlist_toggle {
    background: linear-gradient(135deg, hsl(336deg 97% 76%), hsl(19deg 82% 82%));
    padding: 5px 10px 5px;
    border-radius: 3px;
    position: absolute;
    right: 105px;
    top: 35px;
    color: #fff;
    cursor: pointer;
}


#sort_songlist_name {
    background: #4e1687;
    right: 20px;
    top: 35px;
    transition: all .5s;
}

#sort_songlist_skill {
    background: #4e1686;
    right: 60px;
    top: 35px;
    transition: all .5s;
}

#sort_songlist_name.desc,
#sort_songlist_skill.desc,
#sort_songlist_name.asc,
#sort_songlist_skill.asc {
    background: linear-gradient(135deg, hsl(336deg 97% 76%), hsl(19deg 82% 82%));
    padding-right: 20px;
}

.desc + #sort_songlist_skill,
.asc + #sort_songlist_skill {
    right: 70px;
}

.desc:before,
.asc:before {
    content: '';
    position: absolute;
    height: 10px;
    width: 2px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
}

.desc:after,
.asc:after {
    content: '';
    position: absolute;
    height: 4px;
    width: 4px;
    right: 7px;
    top: 7px;
    border: 2px solid #fff;
    transform: rotate(45deg);
    border-color: #fff transparent transparent #fff;
    border-radius: 1px;
}

.desc:after {
    top: 11px;
    border-color: transparent #fff #fff transparent;
}

#sort_songlist_name:hover,
#sort_songlist_skill:hover,
#edit_songlist_toggle:hover {
    background: #2bdaf5;
    color: #000;
}

.song_row {
    position: relative;
    display: none;
    text-decoration: none;
}

.song_row.selected,
.song_row.selectable {
    display: block;
}

.song_row.movable {
    cursor: grab;
}

.song_row.selectable {
    transition: all .5s;
}

.song_row.selectable:not(.selected) {
    opacity: .5;
}

.song_row.selectable:hover {
    background: rgba(255, 255, 255, 0.1);
}

.song_row:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    cursor: pointer;
}

.song_row.movable * {
    pointer-events: none;
}

.song_row > div {
    display: flex;
    flex-direction: row;
    width: calc(100% - 20px);
    left: 0;
    padding: 15px 10px;
    transition: all .5s;
    position: relative;
    border-bottom: 1px solid #f7c2ad;
}

.song_row:last-of-type > div {
    border-bottom-color: transparent;
}


.info_row.recordings > div,
.song_row.clickable > div {
    cursor: pointer;
}


.info_row.recordings > div,
.song_row.clickable:hover > div {
    width: calc(100% - 70px);
    padding-right: 60px;
}

.info_row.recordings > div::before,
.song_row > div::before {
    content: '';
    display: block;
    position: absolute;
}

.info_row.recordings > div::before,
.song_row.clickable > div::before {
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    height: 10px;
    width: 10px;
    border: 5px solid transparent;
    transition: border-color .5s;
    border-radius: 5px;
}


.info_row.recordings:hover > div::before,
.song_row.clickable:hover > div::before {
    border-color: transparent #fff #fff transparent;
}

.song_row.movable > div::before {
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    width: 25px;
    border-color: transparent;
    border-radius: 5px;
    background: #FFF;
    box-shadow: 0 -8px 0 0 #FFF, 0 8px 0 0 #FFF;
    transition: all .5s;
}

.song_row.movable > div {
    width: calc(100% - 70px);
    padding-right: 60px;
}

.info_row.recordings:hover > div::after,
.song_row > div::after {
    content: '';
    display: block;
    position: absolute;
    left: 8px;
    top: 50%;
    height: 11px;
    width: 11px;
    border-radius: 50%;
    transform: translateY(-50%);
    border: 3px solid transparent;
    transition: all .5s;
}

.song_row.selectable > div::after {
    left: 13px;
    background: transparent;
    border: 3px solid #fff;
}

.song_row.selectable.selected > div::after {
    background: #fff;
}

.song_row.selectable > div {
    width: calc(100% - 70px);
    padding-left: 60px;
}

.song_row > div .icon {
    height: 35px;
    width: 35px;
    background: #441280;
    border-radius: 5px;
    margin-right: 15px;
}

.song_row > div .info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1;
}

.song_row > div .info div {
    display: block;
    color: #fefefe;
    flex: 1 0 50%;
    white-space: nowrap;
}

.song_row > div .info div:nth-child(even) {
    text-align: right;
    flex: 0;
}

.song_row .info .title {
    font-weight: 600;
}

.song_row .info .attr1 {
    color: #2bdbf5;
    font-weight: 600;
}

.info_row {
    position: relative;
    margin: 10px;
    display: block;
    text-decoration: none;
}

.info_row:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.info_row > div {
    display: flex;
    flex-direction: row;
    width: calc(100% - 20px);
    left: 0;
    padding: 15px 10px;
    border-radius: 5px;
    transition: all .5s;
    position: relative;
    background: linear-gradient(135deg, #9c43a1, #a965aa);
}

.info_row:last-of-type > div {
    border-bottom-color: transparent;
}

.info_row.clickable > div {
    cursor: pointer;
}

.info_row.clickable:hover > div {
    width: calc(100% - 70px);
    padding-right: 60px;
}

.info_row > div::before {
    content: '';
    display: block;
    position: absolute;
}

.info_row.clickable > div::before {
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    height: 10px;
    width: 10px;
    border: 5px solid transparent;
    transition: border-color .5s;
    border-radius: 5px;
}

.info_row.clickable:hover > div::before {
    border-color: transparent #fff #fff transparent;
}

.info_row > div::after {
    content: '';
    display: block;
    position: absolute;
    left: 8px;
    top: 50%;
    height: 11px;
    width: 11px;
    border-radius: 50%;
    transform: translateY(-50%);
    border: 3px solid transparent;
    transition: all .5s;
}

.info_row > div .icon {
    height: 35px;
    width: 35px;
    background: #520e8c;
    border-radius: 5px;
    margin-right: 15px;
    position: relative;
}

.info_row > div .icon img {
    width: 70%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    filter: invert(1);
}

.info_row > div .info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1;
}

.info_row > div .info div {
    display: block;
    color: #fefefe;
    flex: 1 0 50%;
    white-space: nowrap;
}

.info_row > div .info div:nth-child(even) {
    text-align: right;
    flex: 0;
}

.info_row .info .title {
    font-weight: 600;
}

.info_row .info .attr1 {
    color: #2bdbf5;
    font-weight: 600;
}

#move_to_bottom {
    height: 20px;
}

.songlist_editor .copy_clipboard {
    background: linear-gradient(
            135deg
            , hsl(336deg 97% 76%), hsl(19deg 82% 82%));
    padding: 5px 10px 5px;
    border-radius: 3px;
    position: absolute;
    left: 22px;
    bottom: -44px;
    color: #fff;
    cursor: pointer;
}

/**
 * header
 */

.menu_header {
    background: rgb(68 18 128 / 70%);
    display: flex;
    justify-content: space-between;
    color: #fefefe;
    height: 80px;
    align-items: center;
    padding: 0 20px;
    z-index: 99;
}

/**
 * songs
 */

.single-songs .description {
    margin: 40px 10px 20px;
    background: #ffffff;
    padding: 20px 20px;
    border-radius: 5px;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.single-songs .song_recording {
    margin: 20px 10px 50px;
    background: #ffffff;
    padding: 20px 20px;
    border-radius: 5px;
    position: relative;
}

.single-songs .song_recording > div > div {
    margin: 15px 0 0;
}

.single-songs .song_recording .switch {
    position: absolute;
    display: block;
    width: 35px;
    height: 16px;
    top: 25px;
    right: 21px;
}

.single-songs .song_recording .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.single-songs .song_recording .switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.single-songs .song_recording .switch .slider:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.single-songs .song_recording .switch input:checked + .slider {
    background-color: #A55AA7;
}

.single-songs .song_recording .switch input:checked + .slider:before {
    transform: translateX(18px);
}

.single-songs .song_recording > div {
    display: none;
}

.single-songs .song_recording:not(.switch-on) > div:first-of-type,
.single-songs .song_recording.switch-on > div:last-of-type {
    display: block;
}

.single-songs #graphdate {
    position: absolute;
    bottom: 10px;
    display: flex;
    flex-direction: row;
    color: #f7c4ac;
    width: calc(100% - 60px);
    margin-left: 50px;
    justify-content: space-between;
}

.single-tribe_events .map {
    margin: 20px 10px 10px;
    border-radius: 5px;
    overflow: hidden;
}

.single-tribe_events .tribe-events-venue-map {
    width: 100%;
    margin: 0;
}

.single-songs .play {
    display: flex;
    flex-direction: column;
    width: calc(100% - 40px);
    left: 0;
    margin: 10px;
    padding: 15px 10px;
    border-radius: 5px;
    position: relative;
    background: linear-gradient(135deg, #9c43a1, #a965aa);
    max-height: 55px;
    transition: all .5s;
    overflow: hidden;
}


.single-songs .play.record_state,
.single-songs .play.skill_state {
    max-height: 235px;
}

.single-songs .play .main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
    align-items: center;
    color: #fefefe;
    cursor: pointer;
}

.single-songs .play .skill {
    color: #2bdbf5;
    font-weight: 600;
    background: #441280;
    height: 35px;
    width: 35px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.single-songs .play .record_edit,
.single-songs .play .skill_edit {
    display: none;
    padding: 20px 10px 10px;
    border-top: 1px solid #f7c2ad;
}

.single-songs .play.record_state .record_edit {
    display: flex;
}

.single-songs .play.skill_state .skill_edit {
    display: block;
}

.single-songs .play .record_edit {
    flex-direction: column;
    justify-content: space-around;
    gap: 5px;
}

.single-songs .play .record_edit .controls {
    height: 52px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 5px;
    min-width: 50px;
}

.single-songs .play .record_edit .controls div {
    padding: 0 9px;
    background: #fefefe;
    cursor: pointer;
    flex: 1;
    display: none;
    align-items: center;
    justify-content: center;
    position: relative;
}

.single-songs .play .record_edit .controls .stop::after {
    content: '';
    background: #000;
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 2px;
}

.single-songs .play .record_edit div.start {
    display: flex;
}

.single-songs .play .record_edit .controls div img {
    height: 24px;
}

.single-songs .play .record_edit > div:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    overflow: hidden;
}

.single-songs .play .record_edit > div:first-child {
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    overflow: hidden;
}

.single-songs .play .skill_edit input {
    width: 100%;
}

.single-songs .add_play {
    margin: 15px auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    color: #fff;
    justify-content: center;
    font-size: 4.5rem;
    cursor: pointer;
    background: transparent;
    transition: all .5s;
}

.single-songs .add_play:hover {
    background: #a965aa;
}

.single-songs .add_play.loading {
    animation: spin 2s infinite;
    animation-timing-function: ease-in-out;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.single-songs .play .record_edit div.save.saving::after {
    content: '';
    display: block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px dashed #000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: save-rotation 5s linear infinite;
}

@keyframes save-rotation {
    from {
        transform: translate(-50%, -50%) rotate(0deg)
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg)
    }
}

.single-songs .play .record_edit div.save.saved::after {
    display: block;
    content: '';
    position: absolute;
    left: calc(50% + 2px);
    top: calc(50% - 6px);
    width: 11px;
    height: 28px;
    border: 4px solid #73299c;
    border-width: 0 4px 4px 0;
    box-shadow: 2px 2px 0px 0px #fff;
    transform: translate(-50%,-50%) rotate(45deg);
}

.single-songs .title {
    text-align: center;
    color: #ffffff;
    margin: 30px 0 0;
}

.single-songs .description em {
    font-weight: 700;
}

.ct-chart {
    width: calc(100% - 20px) !important;
    margin-top: 40px !important;
}

.ct-series-a .ct-line,
.ct-series-a .ct-point {
    stroke: #f7c4ac !important;
    stroke-opacity: 0.8;
}

.ct-series-a .ct-area {
    fill: #f7c4ac !important;
    fill-opacity: 0.2;
}

.ct-label {
    color: #efefef !important;
    font-size: 1.2rem !important;
    opacity: 0.8;
}

.ct-grid.ct-vertical {
    stroke: #f7c4ac !important;
    stroke-dasharray: none;
    stroke-opacity: 0.6;
}

.single-songs .tabs {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 50px;
}

.single-songs .tabs a {
    background: #4e1686;
    padding: 5px 10px 5px;
    border-radius: 3px;
    text-decoration: none;
    color: #ffffff;
}

.single-songs .tabs a.active {
    background: linear-gradient(135deg, hsl(336deg 97% 76%), hsl(19deg 82% 82%));
}

.single-songs a.song_metronome {
    position: absolute;
    right: 20px;
    top: 20px;
}

.single-songs .song_metronome img {
    width: 40px;
}

/**
 * footer
 */

.menu_footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(68 18 128 / 70%);
    display: flex;
    justify-content: space-around;
    color: #fefefe;
    height: 70px;
    align-items: center;
    padding: 0 10px;
    z-index: 99;
}

.menu_header a,
.menu_footer a {
    color: #f6c2ad;
    text-decoration: none;
    font-weight: 900;
}

.menu_header a img,
.menu_footer a img {
    height: 30px;
    filter: invert(1);
}

.menu_header a p {
    font-size: 3rem;
    color: #fefefe;
    margin-right: 10px;
}

/**
 * events list
 */

.tribe-events .tribe-common-l-container,
.tribe-events .tribe-events-l-container {
    padding: 20px;
    min-height: initial;
    margin-top: 20px;
}

.tribe-events .tribe-common-l-container button,
.tribe-events .tribe-events-l-container button,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__today-button,
.tribe-events .tribe-common-c-btn-icon,
.tribe-events-c-view-selector__list-item-link {
    background: linear-gradient(135deg, hsl(336deg 97% 76%), hsl(19deg 82% 82%));
    border: none;
    color: #fff !important;
    padding: 5px 10px !important;
    min-width: 40px;
    height: 40px !important;
    border-radius: 5px;
    text-shadow: -1px 1px 5px black;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

ul.tribe-events-c-view-selector__list {
    justify-content: center;
    align-items: center;
}

button.tribe-common-c-btn.tribe-events-c-search__button {
    margin-left: 30px;
}

.tribe-events .tribe-events-c-events-bar__views {
    min-width: 50px;
}

.tribe-events-calendar-list {
    background: #fefefe;
    padding: 20px 10px 0 !important;
    border-radius: 5px;
    overflow: hidden;
}

a.tribe-events-c-ical__link {
    color: #fefefe;
}

a.tribe-events-c-nav__today.tribe-common-b2 {
    background: linear-gradient(135deg, hsl(336deg 97% 76%), hsl(19deg 82% 82%));
    border: none;
    color: #fff;
    padding: 5px 10px !important;
    min-width: 40px;
    min-height: 40px;
    border-radius: 5px;
    text-shadow: -1px 1px 5px black;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.tribe-events-calendar-list__month-separator {
    padding: 5px 10px !important;
    color: #511988;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: capitalize;
}

/**
 * songs
 */

.song_square_container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 25px;
    padding: 20px;
}

.song_square {
    background: linear-gradient(135deg, #94539e, #b268b1);
    height: 160px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    flex: 1 1 170px;
}

.song_square p {
    color: #ffffff;
    font-weight: 900;
    font-size: 1.4rem;
    margin: 15px 0 0 10px;
}

.song_square .length {
    position: absolute;
    right: 15px;
    bottom: 10px;
    color: #441280;
}

.song_square .ct-area {
    fill: #f7c4ac !important;
    fill-opacity: 1;
    position: relative;
}

.song_square::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: linear-gradient(45deg, rgba(253, 132, 181, .6), transparent);
    z-index: 99;
    border-radius: 5px;
}

.song_square .ct-chart {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    width: 100% !important;
    margin: 0 !important;
}

/**
 * metronome
 */

.page-template-metronome .menu_header {
    padding-bottom: 100px;
}

.metronome {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    padding-top: 150px;
    align-items: center;
}

.metronome #play {
    height: 180px;
    width: 180px;
    border-radius: 50%;
    border: 1px solid #f7c2ad;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%,-50%);
    cursor: pointer;
    background: #fff;
}

.metronome #play::after {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 0;
    height: 50px;
    border-top: 35px solid transparent;
    border-bottom: 35px solid transparent;
    border-left: 57px solid #511988;
    top: 50%;
    left: 50%;
    transform: translate(-18px,-50%);
    transition: all .5s;
}

.metronome #play.playing::after {
    border-width: 0 0 0 60px;
    height: 60px;
    transform: translate(-50%, -50%);
}

.metronome .main_settings {
    background: #f7c2ad;
    display: flex;
    overflow: hidden;
    border-radius: 5px;
    width: calc(100% - 40px);
    gap: 1px
}

.metronome .main_settings > div {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    background: #fff;
}

.metronome h1 {
    margin: 15px 0 5px;
    color: #fff;
    text-align: center;
}

.metronome input[type="number"] {
    font-size: 3rem;
    border: none;
    width: 70px;
    text-align: center;
    padding-left: 14px;
}

.metronome .volumes {
    width: calc(100% - 40px);
    border-radius: 5px;
    background: linear-gradient(135deg, #9c43a1, #a965aa);
    padding: 0 0 25px;
    margin-top: 35px;
}

.metronome .row {
    padding: 10px 10px;
    margin: 0 15px;
    color: #fff;
    border-bottom: 1px solid #f7c2ad;
}

.metronome input[type="range"] {
    width: 100%;
}

.metronome #visual {
    height: 30px;
    width: calc(100% - 40px);
    background: #fff;
    border-radius: 35px;
    margin-top: 35px;
    position: relative;
    overflow: hidden;
    border: 3px solid #f7c2ad;
}

.metronome #visual #beater {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    background: #511988;
    border-radius: 50%;
    transition: all .4s;
    transition-timing-function: ease-out;
}

.metronome #visual #beater.tick {
    left: calc(100% - 30px);
}

/**
 * Recording page, midi
 */

.page-template-midi h1,
.page-template-recordings h1 {
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 0;
}

.page-template-recordings h2 {
    margin: 0;
    padding: 10px 0 5px 17px;
    background: rgb(255 255 255);
}

.page-template-recordings .recordinglist h3 {
    margin-left: 1.6rem;
    color: rgb(255 255 255);
    text-transform: capitalize;
    margin-bottom: 3rem;
}

.page-template-recordings .recording {
    margin: 15px 10px;
    border-radius: 5px;
    overflow: hidden;
}

.page-template-midi .recordinglist,
.page-template-recordings .recordinglist {
    position: relative;
}

.page-template-midi .recordinglist .switch,
.page-template-recordings .recordinglist .switch {
    position: absolute;
    display: block;
    width: 35px;
    height: 16px;
    top: 28px;
    right: 10px;
}


.page-template-midi .recordinglist .switch {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.page-template-midi .recordinglist .switch input,
.page-template-recordings .recordinglist .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.page-template-midi .recordinglist .switch .slider,
.page-template-recordings .recordinglist .switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.page-template-midi .recordinglist .switch .slider:before,
.page-template-recordings .recordinglist .switch .slider:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.page-template-midi .recordinglist .switch input:checked + .slider,
.page-template-recordings .recordinglist .switch input:checked + .slider {
    background-color: #A55AA7;
}

.page-template-midi .recordinglist .switch input:checked + .slider:before ,
.page-template-recordings .recordinglist .switch input:checked + .slider:before {
    transform: translateX(18px);
}

.page-template-midi .recordinglist .recording,
.page-template-midi .recordinglist audio,
.page-template-recordings .recordinglist audio,
.page-template-midi .recordinglist.event .songlist_item:not(.event),
.page-template-recordings .recordinglist .funband_recordings,
.page-template-recordings .recordinglist .studio_recordings {
    display: none;
}

.page-template-midi .recordinglist .recording,
.page-template-recordings .recordinglist.switch-on .funband_recordings,
.page-template-recordings .recordinglist:not(.switch-on) .studio_recordings {
    display: block;
}

.page-template-recordings a.recording {
    margin: 15px 10px;
    border-radius: 5px;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    display: block;
    padding-bottom: 5px;
    color: #000;
    background: #fff;
}

.page-template-midi .settings {
    position: relative;
    background: #ffffff;
    margin: 15px 10px;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 97px;
}

.settings > h3, .settings > p {
    margin-left: 17px;
}

.page-template-midi .recordinglist {
    display: flex;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.page-template-midi h1 {
    width: 100%;
}

.page-template-midi .recordinglist > div {
    width: 100%;
}

.page-template-midi form.post-password-form {
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    padding: 25px 30px 10px;
    width: calc(100% - 100px);
    max-width: 360px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page-template-midi form.post-password-form p {
    margin-bottom: 15px;
}

.page-template-midi .plyr__controls__item.plyr__progress__container {
    position: absolute;
    bottom: -8px;
    left: -6px;
    width: calc(100% + 4px);
    border-radius: 0;
}

.page-template-midi .plyr.plyr--full-ui.plyr--audio.plyr--html5 {
    position: relative;
}

.page-template-midi .plyr__controls {
    background: #fff !important;
}

.page-template-midi .recording h2 {
    text-align: center;
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    padding: 0 !important;
}

.page-template-midi .plyr__controls__item.plyr__control {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50%;
}

.page-template-midi .recording {
    position: relative;
    margin: 15px 10px 0;
    border-radius: 5px 5px 0 0;
}

.page-template-midi .plyr__controls__item.plyr__menu {
    position: absolute;
    top: 50%;
    z-index: 999;
}

.page-template-midi .plyr__controls {
    height: 190px;
    background: transparent !important;
}

.page-template-midi .recording {
    background: #fff;
    position: sticky;
    top: 0px;
    z-index: 2;
}

.page-template-midi .plyr__controls__item.plyr__time--current.plyr__time {
    position: absolute;
    right: 20px;
    bottom: 10px;
}

.page-template-midi .plyr__controls__item.plyr__volume {
    position: absolute;
    top: 50%;
    flex-direction: column;
    align-items: baseline;
    width: auto;
    max-width: inherit;
    min-width: inherit;
}

.page-template-midi .plyr__controls__item.plyr__volume input {
    display: none;
    cursor: pointer;
}

.page-template-midi .plyr__controls__item.plyr__volume:hover input {
    display: block;
}

.page-template-midi .plyr__controls__item.plyr__volume input {
    width: 100%;
    max-width: 100px;
}

.page-template-midi .songlist_items {
    margin: 0 10px 15px;
    background: linear-gradient(135deg, rgb(136 76 152 / 80%), rgb(174 84 174 / 80%));
    border-radius: 0 0 5px 5px;
    overflow: hidden;
    padding-top: 5px;
}

.page-template-midi .songlist_item {
    display: flex;
    align-items: center;
    height: 70px;
    background: #fff;
    cursor: pointer;
    justify-content: space-around;
}

.page-template-midi .songlist_item.selected {
    background: transparent;
}

.page-template-midi .songlist_item:hover {
    background: #ead4f0;
}

.page-template-midi .songlist_item.selected:hover {
    background: #9F51A5;
}

.page-template-midi .songlist_item:not(:last-of-type) {
    border-bottom: 1px solid #f7c2ad;
}

.page-template-midi .recordinglist.event .songlist_item.event:last-of-type {
    border-bottom: none;
}

.page-template-midi .songlist_item > * {
    padding: 0 5px;
    min-width: 20px;
    text-align: center;
    color: var(--plyr-color-main);
    font-weight: 900;
    opacity: .7;
    transition: .5s all;
}

.page-template-midi .songlist_item.selected > * {
    color: rgba(255,255,255,1);
    opacity: 1;
}

.page-template-midi .songlist_item .toggle {
    position: relative;
    background: linear-gradient(135deg, hsl(336deg 97% 76%), hsl(19deg 82% 82%));
    width: 40px;
    height: 20px;
    border-radius: 30px;
}

.page-template-midi .songlist_item .toggle::before {
    width: 40px;
    height: 20px;
    background: rgba(255,255,255,1);
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 30px;
    border: 2px solid;
    transition: all .5s;
}

.page-template-midi .songlist_item.selected .toggle::before {
    background: rgba(255,255,255,0);
}

.page-template-midi .songlist_item .toggle::after {
    width: 20px;
    height: 20px;
    background: var(--plyr-color-main);
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-100%,-50%);
    border-radius: 30px;
    transition: all .5s;
}

.page-template-midi .songlist_item.selected .toggle::after {
    transform: translate(0%,-50%);
}

.page-template-midi .songlist_item h3 {
    flex: 0.8;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: left;
}

.page-template-midi .songlist_item > img {
    position: relative;
    left: -100px;
    opacity: 0;
    width: 30px;
    filter: invert(100%) brightness(50%) sepia(100%) saturate(10000%) hue-rotate(313.3deg) saturate(50%);
    transition: all .5s;
    padding: 0 5px 0 15px;
}

.page-template-midi .songlist_item.selected > img {
    filter: invert(1);
}

.page-template-midi .songlist_item.playing > img {
    left: 0;
    opacity: 1;
}

.page-template-midi .recording > img {
    top: 50%;
    width: 30px;
    position: absolute;
    cursor: pointer;
    padding: 1px 2px;
    border-radius: 3px;
    transition: all .5s;
    filter: opacity(0.7);
}

.page-template-midi .recording > img#audio_repeat.on + img#audio_forwards,
.page-template-midi .recording > img#audio_repeat:not(.on),
.page-template-midi .recording > img#audio_shuffle:not(.on) {
    filter: opacity(.2);
}

.page-template-midi .recording > img:hover {
    filter: invert(1);
    background: #59A557;
}

.page-template-midi .recording > img#audio_forwards {
    left: calc(50% + 30px);
}

.page-template-midi .recording > img#audio_backwards {
    right: calc(50% + 30px);
}

.page-template-midi .recording > img#audio_repeat {
    right: calc(50% + 80px);
}

.page-template-midi .recording > img#audio_shuffle {
    left: calc(50% + 80px);
}

.page-template-midi .plyr__controls__item.plyr__menu {
    right: 24px;
}

.page-template-midi .plyr__controls__item.plyr__volume {
    top: 50%;
    left: 24px;
}
