/* 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; overflow-x: hidden;
}

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

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

.menus-wrapper {
    background: #ffffff; box-shadow: 0 2px 4px #666666;
}

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

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

input {
    font-family: 'OpenSans' !important;
}

/* 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: 8px; right: 0; max-width: 35%; text-align: right;
}

.search-input, .search-form .tagit {
    border-radius: 8px; box-shadow: 1px 1px 1px #666666 inset; border: none;
    background: url(../img/search-icon.png) right center no-repeat #ffffff;
    overflow: hidden;
}

.header-search-input, .header-search-form .tagit {
    margin: 0 auto; width: 260px; max-width: 90%; font-size: 14px; z-index: 1;
}

.header-search-input {
    line-height: 28px; height: 28px; padding: 0 9px;
}

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

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

.search-form .tagit {
    height: 2em; padding: 0.2em 0.5em;
}

.header-search-form .tagit {
    float: right;
}

/* HEADER > MENUS */

.menu-links {
    position: absolute; right: 0; top: 44px; font-size: 14px; font-weight: bold;
}

.menu-link {
    float: right; margin-left: 20px;
}

/* MENUS */

.language-form {
    display: none;
}

.menu-list {
    width: 100%; font-size: 14px; padding: 10px 0; display: none; text-align: right;
}

.menu-item {
    display: inline-block; margin-left: 20px;
}

/* DBPEDIA OVERLAY */

.dbpedia-overlay {
    position: absolute; width: 280px; 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: 14px; font-weight: 700; margin: 10px;
}

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

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

.dbpedia-overlay img {
    max-width: 160px; max-height: 150px; 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;
    position: relative;
}

@media screen and (max-width: 640px) {
    .notice-item {
        width: 120px;
        height: 120px;
    }
}

.notice-image {
    font-size: 0; line-height: 0;
}

.notice-item.notice-hover {
    overflow: visible;
}

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

.notice-item.notice-hover .notice-metadata {
    display: block;
}

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

.notice-hover .notice-contents {
    z-index: 2;
}

.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;
}

.loading-please-wait {
    display: none; width: 48px; height: 48px; margin: 10px auto;
}

.loading-please-wait img {
    width: 100%; height: 100%;
}

.load-more {
    display: none; margin: 20px 0 10px; text-align: center; font-size: 14px; font-weight: 700;
}
