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

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

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

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

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

.main-title h2 {
    font-size: 16px;
}

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

/* HEADER > FLAGS */

.language-select {
    float: right; margin-top: 10px;
}

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

/* TERM CLOUD */

.term-cloud {
    line-height: 26px; width: 80%; font-size: 12px; text-align: center; margin: 0 auto;
}

.term-cloud li {
    display: inline-block; margin: 0 10px;
}

.term-cloud a {
    text-decoration: none; color: inherit;
}

.term-frequency {
    font-size: .8em;
}

/* NOTICE LIST */

.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;
    background: url('../img/background-pinstripe-yellow.png'); border: 1px solid #cccccc; box-shadow: 0 0 5px #333333;
}
