@import url('https://fonts.googleapis.com/css?family=Cinzel|Lato:300,400&display=swap');
* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    position: relative;
    font-size: 13px;
    min-width: 400px;
    zoom: 2;
}

body {
    background: #0b151a url(images/background.jpg) no-repeat fixed bottom center;
    background-size: cover;
    margin: 0;
    text-align: center;
    min-height: 100%;
    height: 100%;
    font-family: Lato, sans-serif;
    font-weight: 300;
    cursor: default;
    zoom: 1;
}

table {
    margin: 0;
    padding: 0;
    border-collapse: collapse;
}

table th {
    font-weight: 300;
}

footer {
    position: absolute;
    bottom: 0;
    height: 30px;
    width: 100%;
    color: rgba(252, 225, 190, 0.4);
    color: #fce1be66;
    font-size: 11px;
}

footer span:hover {
    color: #fce1be;
}

nav {
    text-align: left;
    margin: 0;
    padding: 0;
    background: rgba(252, 225, 190, 0.4);
    background: #fce1be66;
    display: block;
    height: 38px;
    font-weight: 400;
}

nav ul {
    margin: 0;
    display: inline-block;
    padding: 0 28px 14px 42px;
    background-image: url(images/menu.svg);
    background-repeat: no-repeat;
    background-position: 18px 11px;
    background-color: none;
}

nav ul:hover {
    position: absolute;
    z-index: 1;
    padding-top: 38px;
}

nav ul:hover li {
    display: block;
    color: #fff;
    background: rgba(51, 48, 44, 0.6);
    background: #33302c99;
}

nav ul:hover li:hover {
    background: #74695b
}

nav ul:hover li.selected {
    position: absolute;
    top: 0;
    border-left: none;
    margin-left: 0;
}

nav ul li, nav a {
    padding: 11px 21px;
    text-transform: uppercase;
    cursor: pointer;
}

nav ul li {
    display: none;
    ~min-width: 210px;
}

nav ul li.selected {
    display: block;
    background: none;
    color: #fff;
}

nav ul li:hover, nav a:hover {
    color: #fff;
}

nav a {
    float: right;
    display: none;
    padding-left: 35px;
    color: #000;
    text-decoration: none;
    background: url(images/english.svg) no-repeat 9px center;
}

header {
    display: block;
}

header figure {
    text-align: center;
    background: #663333 url(images/jcr-l.svg) no-repeat center center;
    background-size: 153px;
    margin: 36px auto 0 auto;
    padding: 9px 23px 45px 23px;
    display: block;
    width: 153px;
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    font-family: Cinzel, serif;
    cursor: default;
}

header figure strong {
    font-size: 72px;
    letter-spacing: -3.6px;
    margin: 0;
    font-weight: normal;
    opacity: 0;
}

header figure strong span {
    letter-spacing: -39px;
}

header figure+h2 {
    font-family: Cinzel, serif;
    text-transform: uppercase;
    color: #fff;
    font-weight: normal;
    font-size: 22px;
}

header figure+h2:after {
    content: "Responsabilidade Limitada";
    display: block;
    font-size: 10px;
    opacity: 0.5;
}

header h1 {
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    font-family: Cinzel, serif;
    cursor: default;
    font-weight: normal;
    position: absolute;
    margin-top: 108px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

main {
    justify-content: center;
    margin: 60px auto;
    display: block;
    font-size: 14px;
    width: 100%;
    min-width: auto;
    zoom: 1.1;
}

article {
    display: block;
    align-items: flex-start;
}

article.hide {
    display: none !important;
}

article aside, article section {
    width: 100%;
    text-align: left;
}

aside {
    color: #fff;
    line-height: 20px;
}

aside a {
    text-align: left;
}

section {
    background: rgba(11, 21, 26, 0.4);
    background: #0b151a66;
    padding: 29px;
    color: #fff;
    line-height: 20px;
    position: relative;
}

section p {
    margin: 0 0 22px 0;
}

section a {
    color: #fce1be;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    background: #ffffff16;
}

section a:hover {
    background: transparent;
    background: #ffffff00;
}

section h3 {
    text-transform: uppercase;
    color: #fce1be;
    font-weight: 400;
    margin: 0 0 14px 0;
    text-align: left;
}

#m-apresentacao aside a {
    display: inline-block;
    padding: 22px 18px 22px 54px;
    color: #fff;
    text-decoration: none;
    background: rgba(11, 21, 26, 0.4);
    background: #0b151a66;
    margin-right: 7px;
    margin-bottom: 7px;
}

#m-apresentacao aside a span {
    opacity: 0.5;
}

#m-apresentacao aside a.tel {
    background: url(images/tel.svg) no-repeat 15px 19px;
    background-color: rgba(11, 21, 26, 0.4);
    background-color: #0b151a66;
    background-size: 28px 28px;
}

#m-apresentacao aside a.fax {
    background: url(images/fax.svg) no-repeat 15px 19px;
    background-color: rgba(11, 21, 26, 0.4);
    background-color: #0b151a66;
}

#m-apresentacao aside a.email {
    background: url(images/mail.svg) no-repeat 15px 19px;
    background-color: rgba(11, 21, 26, 0.4);
    background-color: #0b151a66;
    max-width: 400px;
    display: block;
}

#m-localizacao aside address, #m-apresentacao aside p.openingHours {
    padding: 22px 32px 22px 54px;
    color: #fff;
    text-decoration: none;
    margin-right: 7px;
    margin-bottom: 7px;
    background: url(images/pin.svg) no-repeat 15px 19px;
    background-color: rgba(11, 21, 26, 0.4);
    background-color: #0b151a66;
    font-style: normal;
    max-width: 400px;
    display: block;
}

#m-apresentacao aside p.openingHours {
    margin-top: 0;
    background-image: url(images/calendar.svg);
    text-align: left;
    vertical-align: top;
    text-align: right;
}

#m-localizacao section {
    padding: 15px;
}

#m-localizacao section h3 {
    display: none;
}

#m-areas-de-actuacao aside ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#m-areas-de-actuacao aside ul li {
    display: inline-block;
    padding: 7px;
    margin-right: 7px;
    margin-bottom: 7px;
    color: #fff;
    text-decoration: none;
    background: rgba(11, 21, 26, 0.4);
    background: #0b151a66;
    cursor: pointer;
}

#m-areas-de-actuacao aside ul li:hover {
    background: rgba(252, 225, 190, 0.4);
    background: #fce1be66
}

#m-areas-de-actuacao aside ul li.selected {
    background: #633
}

#m-areas-de-actuacao section {
    display: none;
}

#m-areas-de-actuacao section#a-trabalho {
    display: block;
}

#m-areas-de-actuacao section ul {
    list-style: square;
    margin: 0;
    padding: 0 7px;
}

#m-areas-de-actuacao section ul li {
    margin: 7px;
    padding: 0;
    display: list-item;
}

#m-links {
    font-size: 14px;
}

#m-links section {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

#m-links section div {
    margin-bottom: 28px;
    text-align: left;
    flex-grow: 1;
    width: 315px;
}

#m-links section ul {
    margin: 0;
    padding: 0;
    padding-right: 28px;
    list-style: none;
}

#m-links section ul li a {
    color: #fff;
}

#m-links section ul li a:hover {
    color: #fce1be;
}

#m-curriculum section:first-child {
    margin-right: 7px;
    margin-bottom: 7px;
}

#m-curriculum ul {
    list-style: square;
    margin: 0;
    padding: 0 14px;
}

#m-curriculum section strong {
    font-weight: 400;
}

#m-curriculum hr {
    margin: 14px auto;
    height: 1px;
    width: 32px;
    border: 0;
    background: #fff;
}

#m-noticias section {
    width: 100%;
}

#m-noticias iframe {
    zoom: 0.4;
}

@media (min-width: 641px) {
    #m-localizacao aside address, #m-apresentacao aside p.openingHours, #m-apresentacao aside a.email {
        max-width: auto;
        display: inline-block;
    }
    #m-areas-de-actuacao aside ul li {
        display: inline-block;
    }
}

@media (min-width: 981px), (min-width: 980px) and (orientation: landscape) {
    html {
        min-width: 900px;
        zoom: 1;
    }
    main {
        width: 80%;
        min-width: 720px;
        zoom: 1;
    }
    article {
        display: flex;
    }
    article aside, article section {
        width: 50%;
    }
    article aside {
        text-align: right;
    }
    nav {
        text-align: center;
    }
    nav a {
        float: none;
    }
    nav ul {
        padding: 0;
        background: none;
    }
    nav ul:hover {
        position: relative;
        padding-top: 0;
    }
    nav ul:hover li {
        display: inline-block;
        color: #000;
        background: none;
    }
    nav ul:hover li:hover {
        background: none;
        color: #fff
    }
    nav ul:hover li.selected {
        position: relative;
        margin-left: auto;
    }
    nav ul li.selected {
        display: inline-block;
        color: #fff;
    }
    nav ul:hover li:first-of-type:not(.selected) {
        border-top: none;
    }
    nav ul li {
        display: inline-block;
        min-width: auto;
    }
    nav ul li.selected, nav ul li.selected:hover {
        background: rgba(51, 48, 44, 0.6);
        background: #33302c99;
    }

    #m-noticias iframe {
        zoom: 1;
    }
}

@media (min-width: 1281px) {
    main {
        width: 70%;
    }
}

@media (min-width: 1401px) {
    main {
        width: 60%;
    }
}