html, body {height: 100%; margin: 0; padding: 0;}

.inline-block {display: -moz-inline-stack; display: inline-block; vertical-align: top;}

#mainContainer {height: 100%; margin: 0 auto; width: 948px;}
#top {background: url(../img/top.jpg); height: 285px; position: relative;}
#logo {background: url(../img/logo.gif); border: none; display: block; height: 206px; left: 24px; position: absolute; top: 51px; width: 162px;}

#coaches {background: url(../img/coaches.png); height: 265px; position: absolute; right: 29px; top: 0; width: 679px;}
#container {background: url(../img/container.jpg) repeat-y 0 0; margin-top: 7px; position: relative;}
#sidebar {background: url(../img/sidebar.jpg) no-repeat; height: 100%; min-height: 501px; padding-top: 21px; width: 216px;}

#newsletter-msg {border: solid; border-width: 1px 0; bottom: 10px; display: none; height: 21px; left: 0; line-height: 21px; position: absolute; text-align: center; width: 204px;}
#newsletter .error {background: #ffc; color: #f00; border-color: #f00;}
#newsletter .ok {background: #cfc; color: #090; border-color: #090;}

#newsletter-box {background: url(../img/newsletter.jpg) no-repeat; height: 59px; padding: 38px 0 3px 16px; position: relative;}
#newsletter-buttons {color: #000; float: right; padding: 10px 14px 0 0;}
#newsletter-buttons input {background: transparent; border: none; cursor: pointer; font-size: 10px; padding: 0 2px;}

#search-box {background: url(../img/search.jpg) no-repeat; height: 32px; padding: 35px 0 25px 16px; position: relative;}
#newsletter-box, #search-box {background-position: 5px 0;}

#newsletter-input, #search-input {border: 0; color: #909090; font-size: 11px; height: 15px; outline: 0; padding: 4px 5px;}
#newsletter-input {background-image: url(../img/newsletter-input.gif); width: 119px;}
#search-input {background-image: url(../img/search-input.gif); width: 155px;}

#newsletter-box .focus, #search-box .focus {color: #000;}
#newsletter-box fieldset {border: none; margin: 0; padding: 0;}

#menu, #menu ul {list-style: none; margin: 0; padding: 0;}
#menu ul {display: none;}
#menu .selected ul {background: url(../img/separator.jpg) no-repeat center 0; display: block;}
#menu li {background: url(../img/separator.jpg) no-repeat center bottom; line-height: 30px;}
#menu ul li {margin-left: 44px; overflow-x: hidden; width: 172px;}
#menu ul a, #menu ul span {margin-left: -22px;}
#menu a, #menu span {background: url(../img/menu.gif) no-repeat 0 -18px; border: none; color: #fff !important; cursor: pointer; display: block; font-size: 14px; height: 30px; overflow: hidden; padding-left: 42px; text-transform: lowercase;}
#menu .selected a, #menu .selected span {background-position: 0 12px; color: #000 !important;}
#menu .selected li a, #menu .selected li span {background: url(../img/menu.gif) no-repeat 0 -18px; color: #fff !important;}
#menu .selected .selected a, #menu .selected .selected span {background-position: 0 12px; color: #000 !important;}

#content {min-height: 560px; padding-left: 43px; position: relative; top: -7px; width: 689px;}
#content .ff2 {padding-bottom: 29px; position: relative;}

.main #body_div, #bio {width: 312px;}
.main #body_div {margin-top: -4px; text-align: justify;}
#rss {background: url(../img/rss.png); border: 0; display: block; height: 14px; overflow: hidden; position: absolute; right: 10px; top: -28px; width: 42px;}
#news {margin: 0 28px 0 -18px; position: relative; width: 363px;}
#news .ff2 {padding: 0; position: relative;}
#news ul {list-style: none; margin: 0; padding: 0;}
#news .news {height: 147px; margin: 13px 0; position: relative; width: 363px;}
#news .news .bg {background: url(../img/news.png); height: 100%; position: absolute; width: 100%;} 
.news .content {border: solid transparent; border-width: 23px 18px 19px; height: 105px; overflow: hidden; position: relative; width: 327px;}
.news img {float: left; margin-right: 19px;}
.news .title {color: #e2001a; margin-bottom: -2px; position: relative; top: -3px;}
.news .body, .news .more {font-size: 12px; line-height: 15px; text-align: justify;}
.news .body {margin-top: 1em; max-height: 62px; overflow: hidden;}
.news .body p {margin: 0;}
.news .more {float: right;}
#news .archive {position: relative; text-align: center;}
#news.archive {width: 689px;}
#news.archive .news, #news.archive .news .content {height: auto; width: auto;}

#gallery, #directories, .gallery {list-style: none; margin: 0; padding: 0;}
#gallery {margin-bottom: 32px;}
#gallery li {background: url(../img/gallery.png); height: 67px; margin: 51px 45px -18px -1px; width: 253px;}
#gallery a {background: no-repeat 15px 29px; border: 0; display: block; height: 100%; text-indent: -1000px;}
#gallery .zdjecia {background-image: url(../img/zdjecia.png);}
#gallery .filmy {background-image: url(../img/filmy.png);}
#gallery .artykuly {background-image: url(../img/artykuly.png);}
#gallery .seminaria {background-image: url(../img/seminaria.png);}
#gallery .znane-osoby {background-image: url(../img/znane-osoby.png);}
#gallery .egzaminy {background-image: url(../img/egzaminy.png);}

#directories .name {cursor: pointer; padding-right: 20px;}
#directories .busy .name {background: url(../img/indicator-directory.gif) no-repeat right 0;}

.gallery {margin-top: 15px;}
.gallery li {height: 120px; margin: 4px; position: relative; text-align: center; width: 120px;}
.gallery .bg {background: #fff url(../img/indicator-photo.gif) no-repeat center center; height: 100%; opacity: 0.04;}
.gallery .dummy {height: 100%; overflow: hidden; width: 0;}
.gallery .dummy, .gallery img {line-height: 120px; vertical-align: middle;}
.gallery a {border: 0 !important; display: block; margin-top: -120px; position: relative;}
.gallery .tpl {display: none;}

#coaches-list, #coaches-list .row {font-size: 11px; line-height: 14px; list-style: none; margin: 0; padding: 0;}
#coaches-list .row {margin: 16px 0 0; text-align: center;}
#coaches-list .row li {margin: 16px 0; width: 170px; vertical-align: top;}
#coaches-list a {border: 0; display: block; position: relative;}
#coaches-list img {display: block;}
#coaches-list span {color: #e2001a; display: block; font-size: 13px; margin-top: 10px;}
#coaches-list .arrow {background: url(../img/arrow.png); height: 45px; left: 123px; position: absolute; top: 128px; width: 45px;}

body.coach h1 {text-transform: none;}
.achievements {margin-left: -19px; width: 363px;}
.achievements h3 {margin: 34px 0 21px 18px;}
.achievements ol {list-style: none; margin: 0; padding: 0;}
.achievements li {background: url(../img/achievement.png); height: 100px; margin: 11px 0; overflow: hidden; padding: 8px 17px 0 15px;}
.achievements a {border: 0 !important; float: left; margin-right: 20px;}
.achievements li div {color: #e2001a; font-weight: bold; margin-top: 7px;}
.achievements p {color: #fff; margin: 1px 0;}

#bio {margin: -20px 0 0 29px;}
#bio .avatar {display: block; margin-left: 59px;}
#bio .achievements {margin-top: 22px;}

#subpages {list-style: none; margin: 32px; padding: 0;}
#subpages li {margin: 8px 0; overflow: hidden;}
#subpages a {background: url(../img/menu.gif) no-repeat -21px -25px; border: 0; font-size: 110%; padding-left: 16px;}

.result a {color: #e2001a; font-size: 110%}
#map_canvas {color: #000; border: 1px solid gray;}
#map_preloader {margin: 183px;}

#objectForm {margin-top: 153px;}
.captchaCode {position: absolute;}
#input_code {margin-left: 50px;}
#footer {bottom: 4px; color: #666; right: 0; position: absolute; text-align: center; width: 702px;}

#lightbox-x {background: url(../img/x.gif); cursor: pointer; height: 24px; position: absolute; top: -21px; right: -21px; width: 24px;}

