/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

.mobile-menu-button {
    padding: 2px 36px 0 0;
}

.menu-wrapper {
    z-index: 998;
}

.overlay.open {
    z-index: 996;
}

.header-portfolio-icon {
    position: absolute;
    right: 74px;
    top: 36px;
    width: 22px;
    height: 22px;
    z-index: 999;
    margin-left: 20px;
}

.header-portfolio-icon .post-navi-go-back-a {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    color: #525157;
    margin-right: auto;
    margin-left: auto;
    cursor: pointer;
}

.post-navi-go-back-a-inn {
    position: absolute;
    display: block;
    width: 2px;
    height: 2px;
    background-color: #525157;
}

.style-dark-override .post-navi-go-back-a-inn {
    background-color: #fff;
}

.style-dark-override.is_stuck .post-navi-go-back-a-inn {
    background-color: #525157;
}

.post-navi-go-back-a-inn:after,
.post-navi-go-back-a-inn:before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #525157;
}

.style-dark-override .post-navi-go-back-a-inn:after,
.style-dark-override .post-navi-go-back-a-inn:before {
    background-color: #fff;
}

.style-dark-override.is_stuck .post-navi-go-back-a-inn:after,
.style-dark-override.is_stuck .post-navi-go-back-a-inn:before {
    background-color: #525157;
}

.post-navi-go-back-a-inn:after {
    left: 20px;
}

.post-navi-go-back-a-inn-b {
    top: calc(50% - 1px);
}

.post-navi-go-back-a-inn-c {
    top: auto;
    bottom: 0;
}

body.open-nav .related-wrap-popup {
    z-index: 99998;
    opacity: 1;
    visibility: visible;
}

body.open-nav {
    overflow: hidden !important;
}

.lines-button .lines {
    width: 22px;
}

.lines-button .lines:after {
    top: -10px;
    width: 22px;
}

.lines-button .lines:before {
    top: 10px;
    width: 22px;
}

.lines-button .lines:before,
.lines-button .lines:after,
.lines-button .lines > span {
    transform-origin: 11px center;
}

.related-wrap-popup {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 0px;
    background-color: #fff;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transition: all .5s ease-in-out;
}

.related-wrap-popup-close {
    position: fixed;
    z-index: 999;
    right: 39px;
    top: 35px;
    cursor: pointer;
    width: 17px;
    height: 17px;
    display: block;
}

.related-wrap-popup-close:after,
.related-wrap-popup-close:before {
    content: '';
    font-size: .1px;
    position: absolute;
    height: 2px;
    width: 100%;
    top: -9px;
    left: 0;
    background-color: #000;
}

.related-wrap-popup-close:after {
    transform: translateY(14px) rotate(-45deg);
}
.related-wrap-popup-close:before {
    transform: translateY(14px) rotate(45deg);
}

div.grecaptcha-badge,
.otgs-development-site-front-end {
	display: none!important;
}

#navi {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

#navi ul {
    margin: 0;
}

#navi a {
    color: #525157;
    font-size: 32px;
    line-height: 1.5;
    font-weight: 300;
}

.uncont .pin-spacer {
    /* display: none !important; */
    /* top: 50% !important; */
}

.open-nav .uncont .pin-spacer {
    display: block !important;
}

.un-text-marquee .marquee-original {
    opacity: .25;
}

@media screen and (max-width: 959px) {
    .header-portfolio-icon {
        top: 27px;
        position: fixed;
    }

    .related-wrap-popup {
        max-height: 100vh;
    }

    .tmb .t-entry .t-entry-title {
        font-size: 22px;
    }

    .single-block-padding {
        padding: 24px 36px;
    }

    body.open-nav .related-wrap-popup {
        box-shadow: 0 0 35px 0 rgba(0,0,0,0.7);
    }
}

