/* RESET CSS STYLES */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

ul, li {
    list-style: none;
}

input::-moz-focus-inner /*Remove button padding in FF*/
{ 
    border: 0;
    padding: 0;
}

table {
    border-collapse: separate; border-spacing: 0;
}

th, td {
    vertical-align: top;
}

img a {
    border: none;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
 
.clearfix {
    display: inline-block;
}
 
html[xmlns] .clearfix {
    display: block;
}
 
* html .clearfix {
    height: 1%;
}

/* END OF THE RESET PART */

a {
    text-decoration: none; color: inherit;
}

a:hover {
    text-decoration: underline;
}

/* FONT DECLARATIONS */

@font-face {
    font-family: 'OpenSans';
    font-weight: 400;
    src: url('../font/OpenSans-Regular.woff') format('woff'),
         url('../font/OpenSans-Regular.ttf') format('truetype'),
         url('../font/OpenSans-Regular.svg#OpenSans') format('svg');
}

@font-face {
    font-family: 'OpenSans';
    font-weight: 700;
    src: url('../font/OpenSans-Bold.woff') format('woff'),
         url('../font/OpenSans-Bold.ttf') format('truetype'),
         url('../font/OpenSans-Bold.svg#OpenSans-Bold') format('svg');
}

@font-face {
    font-family: 'OpenSans';
    font-weight: 800;
    src: url('../font/OpenSans-ExtraBold.woff') format('woff'),
         url('../font/OpenSans-ExtraBold.ttf') format('truetype'),
         url('../font/OpenSans-ExtraBold.svg#OpenSans-Extrabold') format('svg');
}

/* END OF FONT DECLARATIONS */

/* GLOBAL BLOCKS */

body {
    color: #000000; background: url('../img/background-pinstripe-yellow.png');
    font-family: 'OpenSans'; font-size: 10px;
}

.header-wrapper {
    height: 70px; background: url('../img/background-pinstripe-blue.png');
}

header, .main, footer {
    margin: 0 auto; max-width: 960px; padding: 0 10px; clear: both;
}

footer {
    margin: 40px auto 20px; text-align: right;
}

/* END GLOBAL BLOCKS */

/* HEADER > TITLE */

header {
    position: relative; height: 70px;
}

.main-title {
    float: left; margin-top: 10px; height: 50px; line-height: 50px;
}

.main-title h1, .main-title h2 {
    display: inline;
}

.main-title h1 {
    font-size: 26px;
}

.breadcrumbs {
    font-size: 16px;
}

.breadcrumbs:before {
    content: "»"; margin: 0 5px;
}

.title-lab {
    font-weight: 800;
}

/* HEADER > SEARCH FORM */

.header-search-form {
    position: absolute; top: 32px; right: 0; max-width: 35%; text-align: right;
}

.header-search-input {
    margin: 0 auto; width: 260px; max-width: 90%; line-height: 28px; height: 28px; font-size: 16px; font-family: 'OpenSans'; padding: 0 9px;
    border-radius: 9px; box-shadow: 2px 2px 4px #333333 inset; background: #ffffff; border: none;
}

/* HEADER > FLAGS */

.language-select {
    position: absolute; top: 10px; height: 12px; right: 0;
}

.language-select form {
    display: inline-block;
}

.langbutton {
    width: 18px; height: 12px; border: none; padding: 0; text-indent: -9999px; margin: 0 0 0 5px;
    opacity: .3;
}

.langbutton.selected, .langbutton:hover {
    opacity: 1;
}

/* DBPEDIA OVERLAY */

.dbpedia-overlay {
    position: absolute; width: 400px; background: #ffffff; border: 1px solid #999999; box-shadow: 5px 5px 10px rgba(0,0,0,.5);
    display: none; z-index: 8;
}

.dbpedia-overlay h2 {
    font-size: 16px; font-weight: 700; margin: 10px;
}

.dbpedia-abstract {
    font-size: 12px; margin: 0 10px 10px;
}

.dbpedia-source {
    color: #0063DC; font-size: 11px; margin: 0 10px 10px; clear: both;
}

.dbpedia-overlay img {
    max-width: 200px; max-height: 180px; float: left; margin: 10px 10px 2px;
}
