a.link-button {
    background-color: rgba(0, 0, 0, 0.7);
    border: grey 2px solid;
    border-radius: 10px;
    color: white;
    display: inline-block;
    padding: 10px 15px;
    position: relative;
    text-decoration: none;
    /*text-shadow: 1px 1px 1px #eee;*/
    width: auto;
    -webkit-border-radius: 10px;
}

img.logo {
    max-height: 100px;
    max-width: 140px;
    margin: 2px 5px 2px 5px;
}

@media screen and (max-width: 1023px) {
    html, body, main {
        overflow-x: hidden;
        width: 100%;
        font-family: 'Open Sans', sans-serif;
    }

    a {
        outline: none;
    }

    article {
        display: block;
        position: relative;
        width: 100%;
    }

    main {
        position: relative;
        margin-top: 80px;
    }

    .menu-btn {
        display: block;
        position: absolute;
        width: 80px;
        height: 80px;
        top: 0px;
        right: 0px;
        z-index: 100;
        font-size: 70px;
        line-height: 80px;
        color: #5a6171;
    }

    header {
        background: none repeat scroll 0% 0% #FFF;
        border-bottom: 1px solid #DDDFE4;
        height: 80px;
        /*overflow: hidden;*/
        padding: 0px;
        position: fixed;
        text-align: center;
        text-transform: uppercase;
        top: 0px;
        width: 100%;
        z-index: 100;
    }

    header section {
        background-color: white;
        border-bottom: 1px solid #DDDFE4;
        display: block;
        position: relative;
        width: 100%;
        -webkit-transition: opacity 1s;
        transition: opacity 1s;
    }

    header section:first-child {
        text-align: left;
        opacity: 1 !important;
    }

    header nav {
        padding: 5px 0px;
    }

    header nav a {
        color: #5a6171;
        display: block;
        position: relative;
        text-decoration: none;
        transition: color 0.3s linear;
        width: 100%;
    }

    header nav a:HOVER {
        color: #be3776;
    }

    header nav a.active, header nav a.active:HOVER {
        color: #fff;
        background-color: #be3776;
    }

    .collapsed {
        opacity: 0;
    }

    .expanded {
        opacity: 1;
    }

    section.page {
        position: relative;
        width: 90%;
        padding: 5% 5%;
    }

    section.page .intro {
        color: #fff;
        position: relative;
        width: 100%;
        text-align: center;
        text-shadow: 2px 2px 3px #000;
    }

    section.page .half {
        color: #000000;
        text-align: center;
        width: 100%;
    }

    .half.left > * {
        background-color: #fff;
        border-bottom: 1px solid #DDDFE4;
        width: 96%;
        padding: 2%;
    }

    .bg-img {
        background-attachment: scroll;
        background-color: #ffffff;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 100%;
        left: 0px;
        position: absolute;
        top: 0px;
        width: 100%;
    }

    .bg-img-1 {
        background-image: url("../img/slide1-768x1024.jpg");
    }

    .bg-img-2 {
        background-image: url("../img/slide2-768x1024.jpg");
    }

    .bg-img-3 {
        background-image: url("../img/slide3-768x1024.jpg");
    }

    .bg-img-4 {
        background-image: url("../img/slide3-768x1024.jpg");
    }

    .col-1 > *, .col-2 > * {
        display: block;
        padding: 2%;
        text-align: center;
        width: 96%;
        vertical-align: middle;
    }

    banner .col-1 > *, .col-2 > * {
        background-color:  #fff;
    }

    .col-2 > article.left {
        margin: 0px 0px 10% 0px;
    }

    a.flag {
        background-image: url("../img/flags.png");
        display: inline-block;
        height: 25px;
        width: 37px;
    }

    a.text {
        padding: 5px 0px;
    }

    .flag.flag-pt {
        background-position: -37px 0px;
    }

    .flag.flag-pt.active {
        background-position: 0px 0px;
    }

    .flag.flag-es {
        background-position: -37px -25px;
    }

    .flag.flag-es.active {
        background-position: 0px -25px;
    }

    .flag.flag-uk {
        background-position: -37px -50px;
    }

    .flag.flag-uk.active {
        background-position: 0px -50px;
    }

    footer {
        background-color: #000;
        color: white;
        position: relative;
        text-align: center;
        width: 100%;
    }

    footer > article {
        padding: 0% 5%;
        width: 90%;
        display: block;
        font-size: 2em;
        line-height: 40px;
        margin: 10px 15px 0px 0px;
    }

    footer > article > * {
        margin-left: 5px;
    }

    footer a {
        color: #fff;
        text-decoration: none;
    }

    footer article.powered {
        font-size: 10px;
    }

    /*TESTES*/
    a.link {
        text-decoration: none;
        color: #5a6171;
    }
    article.smallfont > p, li {
        font-size: 15px;
    }
    ul.box-group {
        list-style: none;
        margin:  0px;
        padding-left: 0px;
    }
    li.box-item {
        background-color: #5a6171;
        color: white;
        display: inline-block;
        padding: 5px 5px 5px 5px;
        margin: 2px 1px 2px 1px;
    }
    /*TESTES*/

    section.page ul li > div:first-child {
        display: block;
    }

    section.page ul li > div {
        display: none;
    }

    .mobile-odd .bg-img {
        display: block;
    }

    .mobile-even .bg-img {
        display: block;
    }

    .mobile-hidden {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

@media screen and (min-width: 1024px) {
    html, body, main {
        height: 100%;
        overflow: hidden;
        width: 100%;
        font-family: 'Open Sans', sans-serif;
    }

    main {
        height: 100%;
        position: relative;
        width: 100%;
        margin-top: 80px;
    }

    footer {
        background-color: #000;
        top: -120px;
        color: white;
        height: 40px;
        left: 0px;
        position: relative;
        text-align: center;
        width: 100%;
        z-index: 1;
        *zoom: 1;
    }

    footer > article {
        display: inline;
        font-size: 1.3em;
        line-height: 40px;
        margin: 10px 15px 0px 0px;
    }
    footer > article > * {
        margin-left: 5px;
    }

    footer a {
        color: #fff;
        text-decoration: none;
    }

    footer article.powered {
        font-size: 10px;
    }

    /*TESTES*/
    a.link {
        text-decoration: none;
        color: #5a6171;
    }
    article.smallfont > p, li {
        font-size: 15px;
    }
    ul.box-group {
        list-style: none;
        margin:  0px;
        padding-left: 0px;
    }
    li.box-item {
        background-color: #5a6171;
        color: white;
        display: inline-block;
        padding: 5px 5px 5px 5px;
        margin: 2px 1px 2px 1px;
    }
    /*TESTES*/

    .menu-btn {
        display: none;
    }

    header {
        background: none repeat scroll 0% 0% #FFF;
        border-bottom: 1px solid #DDDFE4;
        height: 80px;
        overflow: hidden;
        padding: 0px;
        position: fixed;
        text-align: center;
        text-transform: uppercase;
        top: 0px;
        width: 100%;
        z-index: 100;
    }

    header section {
        display: inline-block;
        margin: 0 25px;
        vertical-align: middle;
    }

    header nav a {
        color: #5a6171;
        margin: 0px 10px;
        text-decoration: none;
        transition: color 0.3s linear;
        padding: 5px;
    }

    header nav a:HOVER {
        color: #be3776;
        padding: 5px;
    }

    header nav a.active, header nav a.active:HOVER {
        color: #fff;
        background-color: #be3776;
        padding: 5px;
    }

    section.page {
        height: 100%;
        position: relative;
        width: 100%;
    }

    a.flag {
        background-image: url("../img/flags.png");
        display: inline-block;
        height: 25px;
        width: 37px;
    }

    a.flag:HOVER {
        box-shadow: 2px 2px 5px #5a6171;
    }

    .flag.flag-pt {
        background-position: -37px 0px;
    }

    .flag.flag-pt.active {
        background-position: 0px 0px;
    }

    .flag.flag-es {
        background-position: -37px -25px;
    }

    .flag.flag-es.active {
        background-position: 0px -25px;
    }

    .flag.flag-uk {
        background-position: -37px -50px;
    }

    .flag.flag-uk.active {
        background-position: 0px -50px;
    }

    .bg-img {
        background-attachment: fixed;
        background-color: #ffffff;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        left: 0px;
        height: 100%;
        position: absolute;
        top: 0px;
        width: 100%;
    }

    .bg-img-1 {
        background-image: url("../img/slide1-1920x1440.jpg");
    }

    .bg-img-2 {
        background-image: url("../img/slide2-1920x1440.jpg");
    }

    .bg-img-3 {
        background-image: url("../img/slide3-1920x1440.jpg");
    }

    .bg-img-4 {
        background-image: url("../img/slide4-1920x1440.jpg");
    }

    section.page .banner {
        background-color: white;
        color: #5a6171;
        position: relative;
        width: 100%;
        z-index: 1;
        *zoom: 1;
    }

    section.page .intro {
        color: #fff;
        position: relative;
        top: 15%;
        width: 100%;
        text-align: center;
        text-shadow: 2px 2px 3px #000;
    }

    section.page .half {
        color: #5A6171;
        height: 100%;
        opacity: 0;
        padding: 4%;
        position: absolute;
        text-align: center;
        top: 0px;
        width: 46%;
    }

    .half.left {
        background-color: white;
        border-right: #ddd solid 1px;
        box-shadow: 1px 0px 8px 0px rgba(0, 0, 0, 0.4);
        left: -50%;
        transition: left 2s, opacity 1s;
        -webkit-transition: left 2s, opacity 1s;
    }

    .half.right {
        background-color: transparent;
        right: -50%;
        transition: right 2s, opacity 1s;
        -webkit-transition: right 2s, opacity 1s;
    }

    .col-1 > * {
        display: inline-block;
        margin-top: 2%;
        width: 100%;
    }

    .col-2 > * {
        display: inline-block;
        margin: 2%;
        text-align: center;
        width: 45%;
        vertical-align: middle;
    }

    .translucent {
        background-color: rgba(0, 0, 0, 0.25);
    }

    .mobile-hidden {
        display: block;
    }

    .mobile-only {
        display: none;
    }
}