* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*:focus {
    outline: none;
}

body,
html {
    padding: 0;
    margin: 0;
    font-family: "museo-sans", sans-serif;
}

p {
    line-height: 1.5rem;
}

header {
    height: calc(100vh - 56px);
    width: 100vw;
    background-image: url(/frontend/img/rice-field-apa-arroz.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-start;
    min-height: 480px;
}

header.h2 {
    background-image: url(/frontend/img/aerial-rice-field-apa-arroz.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

header.h3 {
    background-image: url(/frontend/img/large-rice-bags-apa-arroz.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

header.h4 {
    background-image: url(/frontend/img/black-white-rice-field-apa-arroz.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

header h1 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 5rem;
    margin: 0;
    text-align: left;
    text-transform: uppercase;
    font-weight: 900;
    padding-left: 4rem;
    font-family: "museo-sans", sans-serif;
    width: 100%;
    padding-top: 10rem;
}

h2 {
    text-transform: uppercase;
    font-size: 2.5rem;
    font-weight: 500;
}

.nav-container {
    height: 5rem;
    background-color: #000;
    color: #fff;
    width: 100vw;
    display: flex;
    align-items: center;
}

nav {
    display: inline-block;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    margin: 0;
}

nav ul li {
    display: inline-block;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    line-height: 5rem;
}


nav ul li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 0.8rem;
}

.lang-nav {
    list-style-type: none;
    display: inline-block;
    margin-left: auto;
    margin-right: 4rem;
}

.lang-nav li {
    display: inline-block;
}

.lang-nav li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.lang-nav li a.active {
    color: #fff;
    text-decoration: none;
}


section {
    width: ;
    padding-left: 3rem;
    padding-right: 3rem;
    min-height: 30vh;
    margin-top: 5rem;
    display: flex;
}

.logo {
    width: 15rem;
    height: 20rem;
    background-image: url(/frontend/img/logo-apa-arroz.png);
    background-size: contain;
    margin-left: 4rem;
    display: block;
    align-self: flex-start;
}

.logo::after {
    width: 100%;
    height: 20rem;
    display: block;
    content: " ";
}

.content-ul {
    display: inline-block;
    list-style-type: none;
    margin-right: 5rem;
}

.bg_1 {
    background-image: url(/frontend/img/rice-hand-apa-arroz.jpg);
    background-position: center;
    background-size: cover;
}

.bg_2 {
    background-image: url(/frontend/img/rice-paddies-apa-arroz.jpg);
    background-position: center;
    background-size: cover;
}

.bg_3 {
    background-image: url(/frontend/img/rice-filed-aerial-apa-arroz.jpg);
    background-position: center;
    background-size: cover;
}

.bg_4 {
    background-image: url(/frontend/img/harbour-apa-arroz.jpg);
    background-position: center;
    background-size: cover;
}

.bg_5 {
    background-image: url(/frontend/img/paddy-apa-arroz.jpg);
    background-position: center;
    background-size: cover;
}

.bg_6 {
    background-image: url(/frontend/img/pot-rice-bag-apa-arroz.jpg);
    background-position: center;
    background-size: cover;
}

.content-wrapper {
    width: 50vw;
    min-width: 500px;
    height: 100%;
    min-height: 30vh;
    background-color: rgba(255, 255, 255, 0.6);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.content {
    background-color: #fff;
    padding: 3rem;
}

.content-ul {
    padding: 0;
}

.left {
    justify-content: flex-start;
}

.right {
    justify-content: flex-end;
}

footer {
    background-color: #000;
    margin-top: 5rem;
}

.footer-nav {
    height: 5rem;
    background-color: #000;
    color: #fff;
    padding-right: 4rem;
    padding-left: 4rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-nav ul {
    list-style-type: none;
    padding: 0;
}

.footer-nav ul li {
    display: inline-block;
    line-height: 5rem;
    margin-right: 4rem;
}

.footer-nav ul li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

.quick-links {
    margin-left: auto;
}

.footer-nav .quick-links li {
    margin-right: 1rem;
}

.footer-nav .quick-links li:last-child {
    margin-right: 0rem;
}

.copy {
    color: #fff;
    font-size: 0.9rem;
    margin: 0;
}

.footer-extra {
    padding-left: 4rem;
    padding-right: 4rem;
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding-bottom: 2rem;
    font-size: 0.7rem;
}


.sponsors {
    margin-left: auto;
    text-align: right;
}

.sponsors ul {
    margin-bottom: 0;
    list-style-type: none;
    padding: 0;
}

.sponsors ul li {
    display: inline-block;
}

.sponsors ul li img {
    max-width: 75px;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.fixed {
    position: fixed;
    top: 0;
    left: 0;
}

.col-5 {
    width: 45%;
}

.contact-form {
    margin-right: 2.5%;
}

.contact-info {
    margin-left: 2.5%;
    padding-bottom: 5.2rem;
}

.contact-info p {
    width: 100%;
}

input,
textarea {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    font-family: "museo-sans", sans-serif;
    border: 1px solid #898989;
}


.map {
    width: 100%;
    height: 25rem;
}


.flex {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

textarea {
    padding-top: 1rem;
    font-size: 1rem;
    min-height: 20rem;
    resize: vertical;
}

input {
    font-size: 1rem;
    height: 3rem;
    margin-bottom: 2rem;
}

input[type="submit"] {
    border: none;
    text-align: left;
    padding: 0;
}

i {
    vertical-align: middle;
    display: inline-block;
    margin-right: 0.5rem;
}

.address {
    margin-bottom: 3rem;
}

.flex.alt {
    align-items: flex-start;
}

.nav-container.sticky{
    position: fixed;
    top:0;
}

.lang-nav .nav-mobile svg{
    display: none;
}

@media screen and (min-width: 1378px) {
    nav ul li a {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 1378px) {
    nav ul li {
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }

}

@media screen and (max-width: 1170px) {
    nav ul li {
        padding-left: 0.1rem;
        padding-right: 0.1rem;
    }
}

@media screen and (max-width: 1050px) {
    nav {
        display: none;
    }
    nav li{
        display: block;
    }
    .nav-container.show-mobile nav li.separator {
        display: none;
    }
    .lang-nav .nav-mobile svg{
        display: inline-block;
        vertical-align: middle;
        position: relative;
        top: -1px;
        right: 10px;
    }
    .nav-container{
        max-height: auto;
        display: flex;
        flex-wrap: wrap;
        overflow: hidden;
        position: relative;
        align-items: flex-start;
        justify-content: flex-end;
        height: auto;
    }
    nav{
        order:2;
    }
    .lang-nav{
        order:1;
    }
    .nav-container.show-mobile nav{
        display: block;
        width: calc(100% - 4rem);
        padding-right: 4rem;
    }
    .nav-container.show-mobile nav li{
        display: block;
        width: 100%;
        line-height: 3rem;
    }
    .nav-container.show-mobile.sticky{
        position: fixed;
        top: 0;
    }
    .nav-container.show-mobile.sticky{
        position: fixed;
        top: 0;
    }
/*    .nav-container.show-mobile.free{
        position: relative;
    }
    .nav-container.show-mobile.sticky nav{
        position: absolute;
        bottom: 0;
    }*/
    .nav-container ul{
        display: block;
        width: 100%;
        text-align: right;
    }
}


@media screen and (max-width: 975px) {
    .col-5 {
        width: 100%;
    }
    .flex {
        display: block;
    }
    .contact-info {
        margin: 0;
        margin-top: 3rem;
        padding: 0;
        padding: 3rem;
    }
    .contact-form {
        margin: 0;
        padding: 3rem;
        padding-bottom: 0;
    }
    .content-wrapper {
        padding-top: 15rem;
        width: 100%;
        padding-bottom: 0;
        min-width: auto;
        padding-bottom: 0;
    }
    section {
        padding: 0;
    }
    header {
        justify-content: center;
    }
    .logo {
        margin: 0;
    }
    header h1 {
        font-size: 2rem;
        text-align: center;
        padding: 0;
    }
    nav {
        display: none;
    }
}

@media screen and (max-width: 570px) {
    .footer-nav {
        display: block;
        height: auto;
        padding-top: 3rem;
    }
    .footer-nav ul li {
        line-height: 1.5rem;
    }
    .footer-nav ul:first-of-type li {
        line-height: 2.5rem;
    }
    .footer-extra {
        display: block;
    }
    .sponsors p {
        text-align: left;
    }
    .sponsors ul li {
        display: block;
    }
    .sponsors ul {
        text-align: left;
        line-height: 3rem;
    }

    .quick-links {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
}

.nav-container .with-children .children-container{
    display: none;
}

.nav-container .with-children.active .children-container{
    display: block;
}


@media screen and (max-width: 1051px) {
    .nav-container .with-children > a{
        color: #DAA413;

    }
    .nav-container .with-children .children-container{
        margin-bottom: 20px;
    }
    .nav-container .with-children .children-container .children-aggregator li{
        line-height: 2rem;
    }
}

@media screen and (min-width: 570px) {
    .nav-container .with-children.active > a{
        color: #efb416;
    }



    .nav-container .with-children.active .children-container{
        position: absolute;
        background-color: black;
        left: 0;
        width: 100%;
        margin-top: -1px;
    }

    .nav-container .with-children.active .children-container .children-aggregator{
        margin-top: -20px;
        width: 100%;
        display: flex;
        justify-content: flex-end;
        padding-bottom: 0.5rem;
    }

    .nav-container .with-children.active .children-container .children-aggregator li{
        line-height: 2.5rem;
    }
}



@media screen and (min-width: 1380px) {
    .nav-container .with-children.active .children-container .children-aggregator{
        max-width: 1130px;
    }
    .nav-container.en .with-children.active .children-container .children-aggregator{
        max-width: 1108px;
    }
}

@media screen and (max-width: 1378px) {
    .nav-container{
        position: relative;
    }
    .nav-container .with-children.active .children-container{
        bottom: -20px;
    }
    .nav-container .with-children.active .children-container .children-aggregator{
        max-width: 902px
    }
    .nav-container.en .with-children.active .children-container .children-aggregator{
        max-width: 880px
    }
    .nav-container .with-children.active .children-container .children-aggregator li{
        padding-right: 15px;
    }
    .nav-container .with-children.active .children-container .children-aggregator li:last-child{
        padding-right: 0;
    }
}

@media screen and (max-width: 1170px) {
    .nav-container .with-children.active .children-container .children-aggregator{
        max-width: 765px;
    }
    .nav-container.en .with-children.active .children-container .children-aggregator{
        max-width: 740px;
    }
}

@media screen and (max-width: 1050px) {

    .nav-container.en .with-children.active .children-container .children-aggregator{
        max-width: 100%
    }

    .nav-container.en .with-children.active .children-container {
        position: relative;
        bottom: 0;
    }

    .nav-container.en .with-children.active .children-aggregator {
        margin-top: 0;
    }
}



