/**
 * dunkelgrau 605d6c
 * blau-grau 3f3a44
 * helleres grau 758183
 * hellblau d4e3f1
 * mittelblau b6d2e3
 * mint 98bdbe
 * hellmint bde9e7
*/

@font-face {
    font-family: ScalaSans;
    src: url("../fnt/ScalaSans-RegularLF.otf") format("opentype");
}
@font-face {
    font-family: ScalaSans;
    src: url("../fnt/ScalaSans-BoldLF.otf") format("opentype");
    font-weight: bold;
}
@font-face {
    font-family: ScalaSans;
    src: url("../fnt/ScalaSans-Italic.otf") format("opentype");
    font-style: italic;
}

body, h1, h2, h3 {
    font-family: ScalaSans, Arial, sans-serif;
    padding: 0;
    margin: 0;
}
body {
    background: #efefef;
}

header, nav, article, footer {
    display: block;
}

/** Navigation */
nav {
    z-index: 10;
    position: fixed;
    top: 122px;
    left: 0px;
    width: 100%;
    padding-top: 10px;
}

nav ol {
    list-style-type: none;
    padding: 0;
    overflow: hidden;
}

nav > ol {
    margin-left: 20%;
}

nav ol li a {
    text-decoration: none;
    color: black;
    display: block;
    padding: 3px 10px;
    font-size: .9em;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    -webkit-transition: background 0.05s ease-in;
    -moz-transition: background 0.1s ease-in;
    -o-transition: background 0.1s ease-in;
    transition: background 0.1s ease-in;
}

nav > ol > li > a{
    height: 32px;
}

nav ol li {
    float: left;
    overflow: hidden;
    display: block;
    width: 20%;
    background: #efefef;
}

nav ol li .title {
    color: #FFFFFF;
}

nav ol li .subtitle {
    font-size: .7em;
    text-transform: none;
    font-weight: normal;
}

nav li ol li {
    height: 0px;
    -webkit-transition: height 0.3s ease-in;
    -moz-transition: height 0.3s ease-in;
    -o-transition: height 0.3s ease-in;
    transition: height 0.3s ease-in;
    -webkit-transition: color 1s ease-in;
    -moz-transition: color 1s ease-in;
    -o-transition: color 1s ease-in;
    transition: color 1s ease-in;
    clear: both;
    width: 100%;
}

nav li ol li a {
    font-size: .6em;
}

nav ol li ol {
    overflow: hidden;
}

nav li:hover ol li {
    height: 20px;
}

nav ol li:hover .title {
    color: black;
}

nav li a:hover {
    background: #bde9e7;
}

/** Header */
header h1 span {
    display: none;
}

header h1 {
    display: block;
    width: 200px;
    height: 82px;
    margin-left: 20%;
    background-image: url(../img/portu-logo.png);
    float: left;
}

header {
    position: fixed;
    padding: 30px 0 0 .7em;
    float: left;
    background: #efefef;
    width: 100%;
    height: 180px;
}

header p {
  font-weight: bold;
  margin-left: 49%;
  font-size: 160%;
  text-transform: uppercase;
}

/** Content */
article {
    z-index: -1;
    clear: both;
    position: absolute;
    right: 20%;
    left: 20%;
    top: 13.5em;
    max-width: 800px;
    padding-bottom: 30px;
}

article.wide {
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

article .gallery {
    float: left;
    width: 100000000000px;
    display: block;
    height: 420px;
}

article .gallery img {
    position: absolute;
}

article p {
    line-height: 1.4em;
    padding: .4em;
    text-align: justify;
    text-shadow: white 1px 1px;
    font-size: .95em;
}

article img.left {
    float: left;
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    margin-left: -30px;
    padding: 15px;
}

article img.right {
    float: right;
    -webkit-transform: rotate(4deg);
    -moz-transform: rotate(4deg);
    margin-right: -30px;
    padding: 20px;
}

article div.center {
    background: url(../img/koko/400/img_8.jpg);
    height: 200px;
    display: block;
    width: 160%;
    margin-left: -30%;
    clear: both;
    margin-bottom: 10px;
}

article p:first-letter {
    margin-left: 1em;
}

article p:first-child:first-letter {
    margin: .27em .1em 0 0;
    font-size: 3em;
    display: block;
    float: left;
}

article p:first-child {
    margin: 0;
}

/** Footer */
footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    background: #efefef;
    width: 100%;
    height: 50px;
}

footer ol {
    list-style-type: none;
    padding: 0;
    margin: 0 0 0 20%;
}

footer ol li {
    float: left;
    padding: .5em;
    margin: 0;
}

footer ol li a {
    font-size: .7em;
}

footer a, article a {
    color: black;
    text-decoration: none;
    font-variant: small-caps;
    font-weight: bold;
}

footer a:hover, article a:hover {
    border-bottom: 1px solid #605d6c;
    background: #bde9e7;
}
