/* 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;
}

b {
    font-weight: 800;
}

/* 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'); padding: 0 10px;
}

.main-wrapper {
    padding: 0 10px;
}

header, .main, footer {
    margin: 0 auto; max-width: 960px; 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; overflow: hidden;
}

.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; z-index: 1;
    border-radius: 9px; box-shadow: 2px 2px 4px #333333 inset; border: none;
    background: url(../img/search-icon.png) right center no-repeat #ffffff;
}

.header-search-input::-moz-placeholder {
    font-size: .8em; font-style: italic;
}

.header-search-input::-webkit-input-placeholder {
    font-size: .8em; font-style: italic;
}

/* HEADER > MENUS */

.top-menus {
    position: absolute; right: 0;
}

.menu-container {
    float: right; position: relative;
}

.menu-list {
    position: absolute; top: 25px; right: 0; background: #ffffff; display: none;
    font-size: 12px; box-shadow: 1px 1px 3px #333333; z-index: 2; text-align: right;
}

.menu-item {
    border-bottom: 1px solid #cccccc; height: 20px;
    line-height: 20px; padding: 0 5px;
}

.menu-container:hover .menu-list {
    display: block;
}

/* HEADER > FLAGS */

.language-current {
    display: block; margin: 10px 0 10px 10px;
}

.language-list {
    width: 100px;
}

.language-label {
    cursor: pointer;
}

.language-button {
    width: 18px; height: 12px; border: none; padding: 0; text-indent: -9999px;
    float: right; margin: 4px 0 0 6px; cursor: pointer;
}

/* HEADER > MAIN MENU */

.main-menu-title {
    display: block; height: 16px; line-height: 16px; font-size: 13px;
    text-transform: uppercase; margin: 7px;
}

.main-menu-list {
    width: 140px;
}

/* 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;
}

/* RESULTS LIST */

.resultcount {
    font-size: 18px; margin: 10px 0;
}

.notice-list {
    margin: 0 auto;
}

.notice-item {
    width: 160px;
    height: 160px;
    overflow: hidden;
    float: left;
}

.notice-item .notice-metadata {
    display: none;
}

.notice-popin {
    position: absolute; padding: 10px; z-index: 1;
    background: url('../img/background-pinstripe-yellow.png'); border: 1px solid #cccccc; box-shadow: 0 0 5px #333333;
}

.notice-contents h2 {
    font-size: 15px; margin-bottom: 6px; line-height: 1.1em;
}

.notice-title {
    font-weight: bold;
}

.notice-thesaurus {
    font-size: 13px; margin-bottom: 6px;
}

.notice-term {
    display: inline-block; padding: 3px; background: #d0e0f0;
    border-radius: 3px; margin: 0 5px 2px 0;
}

.notice-term:hover {
    background: #ffffff;
}

.big-search-form {
    text-align: center; margin: 20px 0;
}

.big-search-input {
    margin: 0 auto; width: 80%; line-height: 32px; height: 32px; font-size: 16px; font-family: 'OpenSans'; padding: 0 9px;
    border-radius: 9px; box-shadow: 2px 2px 4px #333333 inset; 
    background: url(../img/search-icon.png) right center no-repeat #ffffff; border: none;
}