/*
    Theme Name: Chico Saraiva
    Theme URI: http://chicosaraiva.com.br
    Description: Chico Saraiva
    Version: 1.0
    Author: MirrorLab Webdesign
    Text Domain: chicosaraiva
*/


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/* COMPOSIÇÕES */

.menu-compositions {
    overflow: hidden;
    position: absolute;
    bottom: 0;
}

.menu-compositions.fixed {
    width: 100%;
    max-width: 320px;
    position: fixed;
    bottom: auto;
}

/* .menu-compositions .line-title::before {
    display: none;
} */

.menu-compositions nav {
    width: calc(100% + 40px);
    height: 300px;
    padding-right: 50px;
    overflow-y: scroll;
}

.menu-compositions ul {
    list-style: none;
    font-size: 1.6em;
}

.menu-compositions ul * {
    font-size: 1em;
}

.menu-compositions ul a {
    color: #333333;
}

.toggle-menu .active,
.toggle-menu a:hover {
    opacity: .5;
}


.menu-compositions ul li > ul {
    padding-left: 20px;
    display: block;
}

.menu-compositions .current-menu-ancestor > ul {
    display: block;
}

.menu-compositions .current-menu-item > a {
    color: #E85A24;
}

#vid-container {
    max-width: 630px;
    width: 100%;
    position: fixed;
    display: none;
    background-color: #ffffff;
    padding-top: 50px;
    padding-bottom: 20px;
    margin-top: -50px;
    z-index: 1;
}

#vid-container .vid-wrapper {
    width: 100%;
    max-width: 630px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

#vid-container .vid-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.close-vid {
    display: block;
    width: 27px;
    height: 27px;
    background: #ffffff;
    position: absolute;
    top: 50px;
    right: 0;
    z-index: 10;
    cursor: pointer;
}

.close-inner {
    width: 12px;
    height: 13px;
    display: block;
    text-indent: -9999px;
    position: absolute;
    background: url('img/icon_sprite.svg') center 100% no-repeat;
    right: 7px;
    top: 7px;
}

.yt-play {
    display: inline-block;
    position: relative;
}

.yt-play.player-icon {padding-left: 25px; display: inline-block;}

.yt-play.player-icon::before {
    content: '';
    display: inline-block;
    width: 17px;
    height: 17px;
    background: url('img/vid_icons.svg') 0 center no-repeat;
    vertical-align: bottom;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -10px;
}

.yt-play.viwed {
    position: relative;
    color: #bbb;
}

.yt-play.viwed::before {
    opacity: .3;
}
.player-icon.playing::before {
    background-position: 100% center;
}


.note {
    position: relative;
}

.note-text-wrapper {
    position: absolute;
    /* left: calc(100% - 40px); */
    right: 0;
    bottom: calc(100% - 20px);
    z-index: 999;
    padding: 0 0 20px 40px;
}

.note-left .note-text-wrapper { left: calc(100% - 40px); right: auto;}
.note-right .note-text-wrapper { right: 0; left: auto;}

.note.mobile-note {
    position: static;
}

.mobile-note .note-text-wrapper {
    max-width: 100%;
    top: auto;
    bottom: auto; 
    right: auto;
    left: 0;
    padding: 0;
}

.note .note-text {
    display: block;
    padding: 10px;
    min-width: 200px;
    max-width: 300px;
    background-color: #ffffff;
    border: 1px solid #222222;
    color: #222;
    text-align: left;
    font-style: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.note .note-text p {
    font-size: .85em;
}

.note .note-text p:last-of-type {
    margin-bottom: 0;
}

.note-text:hover {
    cursor: auto;
} 

.note:hover .sup,
.note:hover .sup sup {
    text-decoration: none!important;
}

.note:hover span.note-text {
    display: block;
    text-decoration: none;
}

.note sup {
    font-family: monospace;
    font-weight: bold;
    font-style: normal;
    font-size: 11px; 
    text-decoration: none;
    color: #E85A24;
}

.note:hover, sup:hover {
    cursor: help;
} 

.note-items {
    display: none;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 1030px) { 
    .menu-compositions.fixed {
        width: 33.33%;
    }
}


@media only screen and (max-width: 600px) {
    .menu-compositions, 
    .menu-compositions.fixed {
        position: static;
        width: 100%;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .menu-compositions nav {
        height: auto;
    }

    .menu-compositions ul {
        padding-bottom: 5px;
    }
    .menu-compositions ul li {
        padding-bottom: 5px;
    }

}