/*
 Theme Name:   Helium Child
 Theme URI:    http://gantry.org
 Description:  Helium Child Theme
 Author:       Dalton Yamaguishi
 Author URI:   http://www.skystudio.com.br/
 Template:     g5_helium
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  g5_helium-child
*/

/* General */
body p {
    line-height: 1.3;
}
@media(max-width: 47.99rem) {
    .hidden-xs {
        display: none;
    }
}

/* Header */
.gantry #g-page-surround {
    margin-top: 0!important;
}
#nome-paula-azevedo {
    position: absolute;
    /* top: calc(20px + 7vw); */
    top: 20px;
    right: 20px;
}
#nome-paula-azevedo .g-logo {
    display: initial;
}
#nome-paula-azevedo img {
    float: right;
    height: 20px;
}
#g-navigation > .g-container > .g-grid:nth-child(2),
#g-navigation > .g-container > .g-grid:nth-child(3),
#g-navigation > .g-container > .g-grid:nth-child(4) {
    position: relative;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
}
#pa-linha {
    background-image: linear-gradient(to right, #37373699, #37373699);
    background-repeat: no-repeat;
    background-size: calc(100% - 54px) 3px;
    background-position: right center;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
    overflow: hidden;
}
#pa-linha img {
    /* max-width: 300%; */
    height: 70px;
}
#main-menu {
    position: absolute;
    bottom: 10px;
    padding-right: 20px!important;
}
.g-menu-item-title {
    text-transform: uppercase;
}
#g-navigation .g-main-nav .g-toplevel {
    line-height: 1em;
}
#g-navigation .g-main-nav .g-toplevel > li {
    margin: 0 0 0 2rem;
}
#g-navigation .g-main-nav .g-toplevel > li > .g-menu-item-container {
    color: #999;
    font-size: 0.9rem;
}
#g-navigation .g-main-nav .g-toplevel > li.active > .g-menu-item-container > .g-menu-item-content {
    box-shadow: 0 0px 0 rgba(0, 0, 0, 0);
    color: #474747;
    font-style: italic;
}
.g-offcanvas-toggle {
    right: 20px;
    left: initial;
    top: calc(20px + 14vw);
}
.gantry #g-offcanvas {
    margin-top: 0!important;
}
@media(min-width: 768px) {
    #nome-paula-azevedo {
        /* top: calc(20px + 0.5vw); */
        /* right: 0; */
    }    
    #nome-paula-azevedo img {
        /* height: 20px; */
    }    
    #pa-linha {
        /* margin-left: 0px; */
    }
    #pa-linha img {
        max-width: 100%;
    }
}

/* Footer */
#g-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    background-image: linear-gradient(to bottom, #5f5f5e, #5f5f5e);
    background-repeat: no-repeat;
    background-size: calc(100vw - 30px) 3px;
    background-position: left 50%;
}
#g-footer > .g-container > .g-grid {
    position: relative;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
}
.g-social {
    display: inline-block;
    background-color: #fff;
    padding-left: 10px;
}
.g-social a {
    color: #474747;
}
.g-social a:hover {
    color: #999;
}
@media(max-width: 47.99rem) {
    #g-footer {
        background-size: 100vw 3px;
    }
    #g-footer .align-right {
        text-align: center!important;
    }
}

/* Home */
body.home div[id^="slideshow"] {
    height: calc(100vh - 167px);
    overflow: hidden;
}
.g-owlcarousel-item-link a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-width: 0;
    border-radius: 0;
    background-color: #0000;
}
.g-owlcarousel-item-link a:hover {
    background-color: #0000!important;
}
@media(min-width: 48rem) {
    body.home div[id^="slideshow"] {
        height: calc(100vh - 120px);
        overflow: hidden;
    }    
}
@media(min-width: 60rem) {
    body.home div[id^="slideshow"] {
        height: calc(100vh - 138px);
        overflow: hidden;
    }    
}
@media(min-width: 75rem) {
    body.home div[id^="slideshow"] {
        height: calc(100vh - 157px);
        overflow: hidden;
    }
}
@media(orientation: landscape) {
    body.home .g-owlcarousel-item-img {
        transform: translateY(calc(50vh - 50% - 120px));
    }
}
@media(orientation: portrait) {
    body.home div[id^="slideshow"] {
        height: calc(100vh - 157px);
        width: 100vw;
        overflow: hidden;
    }
    body.home .g-owlcarousel-item-img {
        height: calc(100vh - 157px);
    }
    body.home div[id^="slideshow"] .g-owlcarousel .g-owlcarousel-item-img img {
        width: initial;
        max-width: initial;
        max-height: 100%;
        /* transform: translateX(calc(50vw - 50%)); */
    }
}


/* Perfil */
@media(min-width: 48rem) {
    body.page-id-14 #g-navigation,
    body.page-id-14 #g-footer {
        background-color: #0000;
    }
    body.page-id-14 #g-mainbar {
        padding-top: 0;
        padding-bottom: 0;
    }
    .colunas-perfil {
        height: calc(100vh - 217px);
        margin-bottom: 0;
    }
    .foto-perfil img {
        max-height: 100vh;
        width: auto;
        position: absolute;
        top: 0;
        left: 30%;
        transform: translateX(-50%);
    }
}

/* Projetos */
body.page-id-16 .wp-block-image {
    position: relative;
    margin: 1em 0;
}
body.page-id-16 .wp-block-image:hover img {
    opacity: 0.3;
}
body.page-id-16 .wp-block-image figcaption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 700;
}
body.page-id-16 .wp-block-image:hover figcaption {
    visibility: visible;
    opacity: 1;
    transition: all 0.3s ease;
}
.texto-projeto {
    padding: 20px 50px;
}
.texto-projeto h1 {
    font-size: 1.7rem;
    line-height: 1.3em;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    color: #474747;
}
@media (max-width: 47.99rem) {
    body.parent-pageid-16 .wp-block-columns .wp-block-column:first-child {
        order: 1;
    }
    .texto-projeto {
        margin-bottom: 20px;
    }
}
@media (min-width: 782px) {
    body.page-id-16 .wp-block-column:not(:first-child) {
        margin-left: 1em;
    }
}
@media(min-width: 768px) {
    .texto-projeto {
        position: fixed;
        width: 40%;
        margin-right: calc(125% - 50vw)
    }
}

/* Blog */
body.outline-blog_outline #g-page-surround .platform-content .entries .g-block .tease .entry-title,
body.single-post #g-page-surround .platform-content .entry .entry-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
body.outline-blog_outline #g-page-surround .platform-content .entries .g-block .tease .entry-title a {
    color: #888;
}
body.outline-blog_outline #g-page-surround .platform-content .entries .g-block .tease .entry-title a:hover {
    color: #424242;
}
@media(min-width: 768px) {
    body.outline-blog_outline #g-page-surround .platform-content .entries .g-block .tease {
        position: relative;
        margin-bottom: 2rem;
        padding-left: 54%;
        min-height: 25vw;
    }
    body.outline-blog_outline .platform-content .post-thumbnail {
        position: absolute;
        left: 0;
        top: 0;
        margin-top: 0;
        width: 50%;
        padding-right: 4%;
        border-right: 2px solid #888;
    }
    body.outline-blog_outline .platform-content .post-thumbnail img {
        margin-bottom: 0;
    }
    body.single-post #g-mainbar {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Contato */
body.page-id-18 #g-navigation {
    background-color: #0000;
}
.form-contato {
    padding: 30px;
    margin-bottom: 20px;
}
.form-contato label {
    letter-spacing: 1px;
}
.form-contato input[type="text"],
.form-contato input[type="email"],
.form-contato textarea {
    background-color: #fff0;
}
.form-contato input[type="text"],
.form-contato input[type="email"] {
    border-bottom: 1px solid #999;
}
.form-contato textarea {
    height: 100px;
}
.wpcf7-form-control.wpcf7-submit {
    padding: 5px 10px;
    background-color: #666;
    color: #fff;
    text-transform: uppercase;
}
@media(min-width: 768px) {
    .form-contato {
        margin-top: -211px;
    }
}
@media(min-width: 992px) {
    .form-contato {
        margin-left: 20%;
        margin-right: 20%;
    }
}

/* Adminbar */
#wpadminbar {
    display: none!important;
}
html.g-offcanvas-css3 {
    margin-top: 0!important;
}
