/*
THEME NAME: Sixbox
THEME URI: http://www.plaintxt.org/themes/sandbox/
DESCRIPTION: Thema sandbox complementado com Jquery, Jquery Tools, PrettyPhoto (lightbox), Menus customizados
VERSION: 1.1
AUTHOR: <a href="http://seislados.com.br/">Glayson Ramos</a>
AUTHOR URI:
TAGS: microformats, fixed-width, flexible-width, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar
*/



body {
    margin: 0;
}
.wp-block-embed iframe {
    max-width: 100%;
    width: 780px;
    height: 440px;
}
main {
    display: block;
    max-width: 1260px;
    padding:0 20px 50px;
    margin: auto;
}

header#header {
    display: flex;
    justify-content: space-between;
    max-width: 1280px;
    border-left-style: solid;
    border-left-width: calc(50vw - 640px);
    border-right-style: solid;
    border-right-width: calc(50vw - 640px);
    border-bottom: solid white 2px;
    position: sticky;
    z-index: 9999;
    top: 0;
    align-items: center;
    height: 78px;
}

nav#access {
    display: flex;
    height: 59px;
    align-items: flex-start;
    justify-content: space-between;
    font-weight: bolder;
    text-transform: uppercase;
}

nav#access .menu-item,
nav#access .menu-item a {
    margin: auto 0px;
    text-decoration: none;
    color: white;
    position: relative;
}


nav#access .menu-item > ul {
    background-color: black;
    text-transform: none;
}
nav#access .menu-item ul {
    display: block;
    overflow: hidden;
    list-style: none;
    padding: 0;
    text-wrap: nowrap;
    max-height: 0;
    margin: 0;
}
nav#access .menu-item li {
    position: relative;
}
nav#access .menu-item:hover>ul,
nav#access li:hover>ul {
    max-height: 1000px;
}

a.logo {
    display: block;
    background-position: center;
    background-size: contain;
    min-width: 250px;
    height: 100px;
    background-repeat: no-repeat;
    text-indent: -1000em;
    margin-top: 25px;
}

h1#blog-title {
    margin: 0 8px;
}

ul#menu-footer a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
ul#menu-footer ul a {
    font-weight: normal;
}
ul#menu-footer {
    display: flex;
    justify-content: space-evenly;
    max-width: 1260px;
    margin: 30px 10px;
    width: 100%;
    list-style: none;
}
#footer ul {
    padding-left: 10px;
}
#footer ul li {
    padding-top: 20px;
}
footer#footer {
    width: auto;
    max-width: auto;
    display: flex;
    justify-content: space-between;
    max-width: 1280px;
    border-left-style: solid;
    border-left-width: calc(50vw - 640px);
    border-right-style: solid;
    border-right-width: calc(50vw - 640px);    
}


body.blog article,
.single article {
    max-width: 780px;
}
article {
    margin: auto;
    font-size: x-large;
    line-height: 2.3rem;
}


nav#access div:has(> ul)::before,
nav#access li:has(> ul)::before {
    content: " "; 
    font-family: 'webdings'; 
    color: white; 
    position: absolute;
    top: 4px;
    display: none;
    right: 10px;
    width: 10px;
    height: 10px;
    background-image: url('data:image/svg+xml;charset=UTF-8,<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="16" height="16" viewBox="0 0 4.2333328 4.2333328" version="1.1" id="svg1" inkscape:version="1.4 (e7c3feb1, 2024-10-09)" sodipodi:docname="seta-pra-baixo.svg"><g inkscape:label="Camada 1" inkscape:groupmode="layer" id="layer1"><path id="rect1" style="fill:%23ffffff;stroke-width:15.8354;stroke-linecap:round;stroke-linejoin:bevel;paint-order:stroke markers fill" d="M 4.2333332,5e-8 2.1166666,4.2333333 0,0 Z" sodipodi:nodetypes="cccc" /></g></svg>');
    background-size: contain;
}
div#copyrigth {
    text-align: center;
    display: block;
    padding: 10px;
}


body.blog h2.entry-title {
    border-bottom: solid 2px #ccc;
    text-decoration: none;
    font-style: normal;
    color: #000;
    text-transform: uppercase;
    line-height: 1.3em;
    padding: 20px 10px 5px;
    margin-bottom: 0;
}

body.blog h2.entry-title a {
    text-decoration: none;
    color: inherit;
}

body.blog .thumbnail img{
    width: 100%;
    height: auto;
}

a.readMore {
    display: block;
    text-align: right;
    text-decoration: none;
    color: #000;
    background: #eee;
    padding: 5px 10px;
    transition: background .5s, color .6s, border .7s, border-radius .4s;
    border: solid 2px #eee;
}

a.readMore:hover {
    background: #aaa;
    color: #fff;
    border-color: #555;
    border-radius: 2px 5px 5px 2px;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
}

.page-numbers {
    display: flex;
    border: solid 1px #ccc;
    margin: 5px;
    width: 2em;
    height: 2em;
    color: #666;
    justify-content: center;
    text-decoration: none;
    align-items: center;
    transition: background .5s, color .6s;
    
}
.page-numbers:hover {
    background: #aaa;
    color: #fff;
}
.page-numbers.current {
    background: #000;
    font-weight: bold;
    color: #fff;
}

@media only screen  and (orientation: landscape) {
    nav#access div:has(> ul)::before,
    nav#access li:has(> ul)::before {
        display: block;
        
    }
    nav#access .menu-item li {
      padding: 10px;
    }
    nav#access .menu-item,
    nav#access .menu-item a {
       padding: 0px 20px 0 10px;
    }
    
    nav#access .menu-item > ul {
        position:absolute;
    }

    nav#access .menu-item ul {
        transition:  max-height .6s ease-in;
    }
}

@media only screen  and (orientation: portrait) {

    nav#access a {
        display:none;    
    }
    nav#access:before {
        content:' ';
        color:white;
        font-size:30px;
        display:block;
        width:40px;
        height:40px;
        background:linear-gradient(0deg, 
                                   white 0%,
                                   white 20%,
                                   rgba(255,255,255,0) 20%,
                                   rgba(255,255,255,0) 40%,
                                   white 40%,
                                   white 60%,
                                   rgba(255,255,255,0) 60%,
                                   rgba(255,255,255,0) 80%,
                                   white 80%,
                                   white 100%
                                   
                                  );
        position:absolute;
        right:10px;
        top:10px;
    }
    
    nav#access:hover a {
        display:block;
        margin: 0 30px;
        border-bottom: solid 2px;
        padding:30px 20px
    }
    nav#access:hover {
        display:block;
        width:100vw;
        height:100vh;
        position:absolute;
        background:rgba(0,0,0,.8);
        top:0;
        right:0;
    }
    nav#access .menu-item > ul {
        position:relative;
        
    }
    nav#access:hover div:has(> ul)::before,
    nav#access:hover li:has(> ul)::before {
        display: block;
        width: 18px;
        height: 18px;
        top: 20px;
        right: 30px;
    }


    ul#menu-footer {
        flex-direction: column;
    }
    
}

.wp-block-embed__wrapper {
    display: flex;
    justify-content: center;
}

.wp-block-embed__wrapper iframe {
    aspect-ratio: 16 / 9;
    width: 100% !important;
    height: auto !important;
}
.share-post {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    align-items: center;
}
.share-post img {
    width: 30px;
    height: 30px;
    margin: 0 10px;
}