/*LQ Agro*/
@import url('custom_scroll.css');
@import url('settings.css');
@import url('header.css');
@import url('article.css');

main
{
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    position: relative;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

    main:before
    {
        content: '';
        background: url('../assets/images/wheat.webp') no-repeat center center/cover;
        width: 100%;
        height: 100vh;
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 1;
    }

footer
{
    font-size: calc(var(--fs) / 1.8);
    padding: 0 0 0 calc(var(--step) * 5 + 20px);
    height: var(--steph);
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
}

.inside footer
{
    padding: 0 0 0 calc(var(--step) * 2 + 20px);
}

@media all and (max-width: 999px)
{
    footer,
    .inside footer
    {
        font-size: 12pt;
        padding: 0 40px;
        margin: -70px 0 0;
    }
}

@media all and (max-width: 640px)
{
    footer,
    .inside footer
    {
        font-size: 12pt;
        padding: 0 20px;
        margin: -30px 0 0;
        height: 30px;
    }
}

footer a,
footer ins
{
    margin-left: 10px;
}

footer .gmp
{
    width: 60px;
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 1;
}

@media all and (max-width: 999px)
{
    footer .gmp
    {
        left: auto;
        right: 10px;
        width: 40px;
    }
}

@media all and (max-width: 640px)
{
    footer .gmp
    {
        width: 30px;
    }
}

aside.grid
{
    width: 100vw;
    height: 100vh;
    display: flex;
    display: none;
    align-items: stretch;
    align-content: stretch;
    justify-content: flex-start;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99;
}

    aside.grid > div
    {
        padding: 0 20px;
        background: rgba(255, 0, 110, 0.2);
        display: flex;
        align-items: stretch;
        align-content: stretch;
        justify-content: flex-start;
        flex-basis: calc(100vw / 12);
    }

    aside.grid > div:nth-of-type(even)
    {
        background: rgba(131, 6, 256, 0.2);
    }


        aside.grid > div div
        {
            background: inherit;
            width: 100%;
        }