/* Kolory:
- czerwony: #da1715
- granatowy: #0d4a73
- błękit: #daeaf5
*/
/* Reset */
* { padding: 0; margin: 0; }
a:active, a:focus, object { outline: none; }
a img { border: 0; display: block; }
a { color: inherit; text-decoration: none; }
p a { text-decoration: underline; color: #0D4A73; }
/*p a:hover { background-color: #daeaf5; }*/
a:hover { text-decoration: underline; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; margin: 0; padding: 0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent; }

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

/* Main */
html { height: 100%; }
body { height: 100%; background-color: #fff; color: #000; font-family: "lucida grande", tahoma, verdana, arial, sans-serif; font-size: 12px; }

.wrapper { clear: both; position: relative; width: 980px; margin: 18px auto 0; }
article { width: 660px; float: left; margin-bottom: 12px;}
aside { width: 292px; float: right; }

/* Header */
header { width: 100%; background-color: #000; padding-top: 20px; }
hgroup { width: 980px; position: relative; margin: 0 auto; }
hgroup h1 a { background: #000 url('../images/mjlogo.png') no-repeat; height: 75px; width: 365px; float: left; }
hgroup h1 span { display: none; }
hgroup h2 { float: right; margin: 12px 0 0 0; font-size: 40px; color: #fff; text-transform: uppercase; }

/* Top menu */
ul.menu li { display: inline; }
#top-menu { clear: both; padding: 15px 0; text-align: center; position: relative; z-index: 2; width: 980px; margin: 0 auto; }
#top-menu ul { white-space: nowrap; height: 24px;}
#top-menu li { text-transform: uppercase; font-size: 15px; margin: 0 15.4px; height: 40px; float: left; display: block;}
#top-menu li.first { margin-left: 0; }
#top-menu li.last { margin-right: 0; }
#top-menu li a { color: #999; }
#top-menu li a:hover, #top-menu li a.active { color: #fff; text-decoration: none; }
#top-menu li a.special { color: #da1715; }
#top-menu li a.special:hover { color: #fff; }
/* Cufon */
#top-menu .cufon { overflow: hidden; }
cufon { overflow: hidden; }

/* Footer */
footer { clear: both; width: 100%; height: 36px; background-color: #000; }
footer nav { width: 980px; position: relative; color: #9c9c9c; margin: 0 auto; height: 20px; line-height: 20px; padding: 8px 0; font-size: 12px; }
footer a { color: #9c9c9c; }
footer .copyrights { float: left; }
footer ul { float: right; }
footer li { text-transform: uppercase; margin-left: 20px; }
/* Sticky */
.article-wrapper { min-height: 100%; height: auto !important; height: 100%; margin: 0 auto -36px; }
#footer-fill { height: 54px; width: 100%; display: block; clear: both; }

/* General pages */
article h1 { font-size: 16px; font-weight: bold; border-bottom: 1px solid #000; padding: 8px 0; color: #0d4a73; }
article h1 a { color: #0d4a73; }
article h1 span { text-transform: none; color: #000; }
article section img { margin: 5px 0; }

#photos article h1, #videos article h1 { margin-bottom: 9px; }

#for-you article section { clear: both; width: 100%; }
#our-latest article section, #events article section { border-bottom: 1px solid #daeaf5; clear: both; width: 100%; }
#our-latest article section img, #events article section img { float: left; margin: 0 10px 0 0; }
#our-latest article section a, #events article section a { padding: 5px 0 10px 0; }

.more { font-size: 10px; color: #da1715; clear: both; float: right; text-align: right; }

.block-link { display: block; padding: 0; }
.block-link:hover { background-color: #daeaf5; text-decoration: none; }
.block-link img { margin: 0; }

section h2 { font-size: 14px; padding: 6px 0 0 0; font-weight: normal; color: #000; }
#news h2 { color: #000; }
h2.title { font-weight: bold; border-bottom: 1px solid #fff; font-size: 14px; padding: 8px 0; margin-bottom: 6px; color: #0d4a73; }
h2.title a { color: #0d4a73; }
#recent h2, #twitter h2 { border-bottom-color: #daeaf5; }
section h3 { font-size: 10px; margin: 0 ; font-weight: normal; color: #0d4a73; padding: 0 0 6px;}
section h3 a, section h3.place { color: #da1715; }
section h3.place { float: left; margin-right: 3px; }
section p { margin: 0; line-height: 150%; color: #000; }

/* Home page */
#home article { width: 100%; }
#home .navi { position: absolute; top: 20px; left: 30px; z-index: 2; }
#home .navi a { display: block; width: 8px; height: 8px; float: left; margin-right: 5px; border: 1px solid #999; font-size: 1px; }
#home .navi a.active { background-color: #999; }
#banner { width: 980px; height: 330px; margin-bottom: 18px; background-color: #000; overflow: hidden; position: relative; }
#banner .items { width: 32000em; height: 330px; position: absolute; }
#banner .items img, #banner .items a { float: left; }

#fb, #twitter, .wrap { float: left; }
.wrap { clear: left; width: 378px; height: 328px; overflow-y: hidden; }
.wrap, #twitter { border: 1px solid #daeaf5; }
#news { background-color: #daeaf5; }
#twitter { width: 272px; _width: 256px; height: 328px; padding: 0 9px; }
#news, #recent { padding: 0 9px; }
#home #fb, #home #twitter { margin-left: 8px; }
aside #twitter, aside #fb { margin-top: 12px; }
aside #news img { margin: 0 0 6px 0; }
#home #news img { margin: 0 9px 0 0; float: left; }
#news .clearfix { padding-bottom: 6px; }
#news a.clearfix:hover { text-decoration: none; }

#recent li { list-style: none; margin-bottom: 3px; }
#recent a { padding: 3px 0; color: #0d4a73; }
#recent a:hover, { text-decoration: none; background-color: #daeaf5; }
#recent li span { font-size: 10px; }
#recent li span a { color: #da1715; }

#twitter ul { height: 279px; overflow-y: auto; overflow-x: hidden; padding-right: 5px; }
#twitter li { list-style: none; border-bottom: 1px solid #daeaf5; margin-bottom: 5px; padding-bottom: 5px; width: 100%; }
#twitter img { float: left; margin-right: 5px; width: 40px; height: 40px; }
#twitter .tweet { width: 200px; float: left; }
#twitter p { word-wrap: break-word; } /* CSS3 */
#twitter .status_link { font-size: 10px; float: right; color: #0d4a73; }

/* World Champions page */
#world-champions #flash { height: 497px; margin-bottom: 12px; background: url('../images/world-champions.png') no-repeat; }
#world-champions article { width: 100%; }
#michael-malitowski, #joanna-leunis { position: absolute; color: #fff; font-size: 12px; }
#michael-malitowski {  width: 270px; left: 30px; top: 100px; }
#joanna-leunis { width: 200px; right: 30px; top: 140px; text-align: right; }
#michael-malitowski p { padding-right: 60px; color: #fff; line-height: 15px; }
#joanna-leunis p { color: #fff; line-height: 15px; }
#michael-malitowski h2, #joanna-leunis h2 { color: #fff; }


#flash h2 { font-size: 35px; }
#flash h2 span { color: #da1715; }

#winners { float: left; background-color: #daeaf5; width: 600px; padding: 0 9px; }
#winners table { float: left; width: 300px; }
#winners .first { padding-right: 6px; }
#winners .second { padding-left: 6px; }
#winners td { padding: 0 0 6px; }
#winners td.years { text-align: right; font-weight: bold; }

#mediapack { float: left; width: 332px; background-color: #daeaf5; margin-left: 12px; padding: 0 9px; }
#mediapack p { margin-bottom: 9px; }
#mediapack a { float: left; clear: left; height: 18px; background: url('../images/pdf.gif') no-repeat; padding: 3px 0 0 24px;}

/* Media */
.gallery { float: left; width: 210px; margin: 0 15px 0 0; }
.third { margin-right: 0; }
.gallery .description { position: relative; bottom: 0; }
.gallery h4 { margin-top: 6px; }
.gallery h5 { color: #000; font-size: 10px; margin-bottom: 6px; }

.nav-img { width: 100%; margin-top: 5px; }
.nav-img a { color: #000; }
.nav-img a.prev { float: left; }
.nav-img a.next { float: right; }
.nav-img span { float: left; margin-left: 220px; }
.image { clear: both; float: left; margin-bottom: 9px; width: 100%; text-align: center; }
.image img { margin: 5px auto; }

.mini-gallery { margin-top: 10px; }
.mini-gallery a { float: left; border: 3px solid #fff;}
.mini-gallery a.current { border-color: #da1715; }

#player { padding-top: 5px; clear: both; }

/* For you */
/* TODO: ostylować */
.wallpaper { float: left; text-align: center; margin: 9px 30px 0 0; }
.wallpaper ul { width: 100%; }
.wallpaper ul li { list-style: none; width: 100%; }
.wallpaper a { width: 100%; display: block; }
.wallpaper a:hover { background-color: #daeaf5; text-decoration: none; }

/* Forms */
form { width: 100%; }
.inside { margin: 6px 0; background: #fff; float: left; clear: left; width: 657px; position: relative; }
.inside span { position: absolute; padding: 6px; color: #999; }
.inside input, form label textarea, form label select { position: relative; margin: 0; padding: 6px; background: transparent; font: inherit; width: 645px; border: 1px solid #000; }
input[type='submit'] { float: left; clear: left; border: 1px solid #000; padding: 6px 20px; background-color: #fff; margin-top: 6px; }
form .invalid, form .missing { border-color: #da1715; }
p.lead { margin-top: 5px; }

span.message { position: absolute; right: 0; color: #da1715; }

label.foto { width: 100px; height: 20px; display: block; float: left; padding-top: 100px; margin: 10px 0; position: relative; text-align: center; border: 1px solid #fff; }
label.michael { background: url('../images/michael.jpg') no-repeat; margin-left: 210px; }
label.joanna { background: url('../images/joanna.jpg') no-repeat; margin-left: 20px; }
label.hover, input[type='submit'].hover { background-color: #daeaf5; cursor: pointer; }
.foto .name { line-height: 20px; }
.foto input { position: absolute; left: -20000em; }

label.checked, input .checked { border-color: #0d4a73; }
label.checked .name { color: #0d4a73; }

/* Terms of Use & Privacy Policy */
.text ol,
.text ul { padding-left: 30px;}
.text li { list-style-position: outside; }
.text p { margin-bottom: 12px;}


/* Errors */
.error img { margin-bottom: 12px; }

iframe.fb_ltr { margin-bottom: 12px; }

.comments { margin: 18px 0 0 0; }

