/**
blue: #002f84
lightblue: #d9e0ed
orange: #f49e00
font: Calibri
*/

* {margin: 0; padding: 0;}
html, body {
    height: 100%;
}
body {
    font-family: Calibri, Tahoma, Arial, sans-serif;
    font-size: 90%;
    background: #002F84;
}
h1, h2, h3, h4 {
    margin: 0.2em 0 0.1em 0;
    color: #002F84;
    line-height: normal;
}
h1 { margin: 0.3em 0 0.2em 0;}
p {
    margin: 0.5em 0;
    padding: 0.5em 0 0.8em 0;
}
a {
    color: #F49E00;
    text-decoration: underline;
}
a:hover {font-weight: bold;}
a img {border:0;}
ul {
    list-style-position: inside;
}
table {
    width: 100% !important;
    border-collapse: collapse;
}
table td, table td h2 {
    font-size: 1em !important;
}
table td a {
    font-size: 0.9em !important;
}
iframe {
    border: 1px solid #002F84;
}
.wrapper {
    position: relative;
    margin: 0 auto;
    width: 1040px;
    min-height:100%;
    height: auto !important;
    height: 100%;
    background: #FFF;
}
div.leftborder {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: -12px;
    width: 12px;
    height: 100%;
    background: #FFF url(../layouts/apwarnier/left.png) repeat-y 0 0;
}
div.rightborder {
    position: absolute;
    top: 0;
    right: 0;
    margin-right: -12px;
    width: 12px;
    height: 100%;
    background: #FFF url(../layouts/apwarnier/right.png) repeat-y 0 0;
}
header {
    height: 180px;
    background: #FFF;
}
header div.top {
    height: 120px;
}
header div.left {
    float: left;
    margin: 20px 0 0 20px;
    width: 500px;
}
.logo {
    display: block;
    width: 413px;
    height: 87px;
    background: url(../layouts/apwarnier/logo.png) no-repeat 0 0;
}
header div.right {
    float: left;
    margin-top: 30px;
    width: 500px;
}
.slogan {
    float: left;
    width: 350px;
    height: 75px;
    background: url(../layouts/apwarnier/slogan.png) no-repeat 0 0;
}
ul#langs {
    float: right;
    margin: 55px 0 0 0;
    list-style: none inside none;
}
ul#langs li {
    float: left;
    margin: 0 0 0 10px;
}
header nav {
    clear: both;
    margin: 0 auto;
    width: 1000px;
    height: 45px;
    background: transparent url(../layouts/apwarnier/navbottom.png) no-repeat 0 bottom;
}
nav ul {
    display: table;
    margin: 0 auto;
    width: 100%;
    height: 40px;
    list-style: none inside none;
    background: #f49e00;
}
nav ul li {
    position: relative;
    display: table-cell;
    width: 1%;
    /*height: 28px;*/
    line-height: 40px;
}
nav ul li a {
    display: block;
    padding-left: 15px;
    color: #FFF;
    font-size: 1.3em;
    font-weight: bold;
    text-decoration: none;
}
nav ul li a:hover, nav ul li.selected a {color: #002f84;}
nav ul li:hover > .submenu {
    display: table;
}
nav ul li span.separator {
    float: left;
    margin-top: 8px;
    width: 1px;
    height: 22px;
    background: #FFF;
}
nav ul li:first-child span.separator {display: none; background: none !important;}
.submenu {
    position: absolute;
    top: 25px;
    left: 0;
    display: none;
    margin: 0;
    padding: 25px 0 0 0;
    width: 100%;
    height: auto;
    background: transparent;
    white-space: nowrap;
    z-index: 5;
}
.submenu li {
    display: table-cell;
    float: left;
    clear: both;
    margin: 0;
    padding: 6px 10px;
    width: 100%;
    height: 20px;
    line-height: 20px;
    background: #f49e00;
    border: none;
}
.submenu li a {
    padding: 0 0 5px 5px;
    font-size: 1.2em;
    font-weight: normal;
    border-bottom: 1px solid #FFF;
}
.submenu li a:hover {
    color:#FFF;
    /*font-weight: bold;*/
    text-shadow: 0 0 0 #FFF;
}
.submenu li:last-child a {border:none;}
.content {
    padding: 20px;
    padding-bottom: 317px;
    font-size: 1.2em !important;
    line-height: 1.3em;
    background: #FFF;
    box-sizing: border-box;
}
footer {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 0 40px 0;
    width: 100%;
    height: 267px;
    background: #FFF url(../layouts/apwarnier/footer.png) no-repeat center 0;
}
/* special styles to embellish website */
ul.beautify {
    list-style: none inside none;
}
ul.beautify li {
    padding: 5px;
    height: 44px;
}
ul.beautify li.odd {
    background: #d9e0ed;
}
ul.beautify li.even {
    background: #FCFCFC;
}
ul.beautify li img {
    display: inline-block;
    margin: 0 10px;
    padding: 0 0 8px 0;
    vertical-align: middle;
}

/* fadecontent */
.fadeContent {
    width: 1000px;
}
.fadeContent > div {
    height: 360px;
    position: relative;
}
.fadeContent > div > div,
.fadeContent > div > div > div {
    margin: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.fadeContent .image {
    height: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
}
.fadeContent .agenda.image {
    cursor: pointer;
}
.fadeContent .text {
    position: absolute;
    bottom: 0px;
    width: 100%;
    color: #FFF;
    /*background-image: url(../layouts/controllers/album/trans-black-40.png);*/
    padding: 0 8px;
    -moz-box-sizing:border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 110px;
}
.fadeContent > ul {
    position: relative;
    display: block;
    text-align: center;
    margin: -30px 0 0 0;
    padding: 0px;
    list-style: none inside none;
    /*margin-top: 10px;*/
    
}
.fadeContent > ul li {
    display: inline-blocK;
    width: 10px;
    /*padding-right: 20px;*/
    height: 10px;
    overflow: hidden;
    background: 0 0 transparent url(../layouts/controllers/album/bullets.png) no-repeat;
    vertical-align: middle;
    margin: 0 2px;
}
.fadeContent > ul li.active {
    background-position: -10px 0;
}
.fadeContent > ul li h1 {
    display: none;
    background: transparent;
}
