
#subMenu { list-style-type: none; margin: 0px; padding: 0px; padding-top: 32px; width: 186px; float: left; height: 410px; border-right: 1px solid #FFFFFF; background-image: url(../img/white_50.png); }
#subMenu li { background-color: transparent; background-image: url(../img/white_50.png); border-right: 7px solid #ff7e00; text-align: right; padding: 3px; padding-right: 10px; margin-bottom: 1px; }
#subMenu li a { display: block; color: #000000; text-decoration: none; text-transform: uppercase; font-weight: bold; font-size: 14px; }

#contentBackgroundImages { position: relative; height: 440px; overflow: hidden; }
#contentAll { position: absolute; left: 0px; top: 152px; width: 997px; z-index: 1000; }
#content { position: relative; height: 440px; overflow: hidden; }

#content h2 { margin: 0px; margin-bottom: 20px; }

#main { position: absolute; top: 0px; right: 0px; padding: 10px 15px; height: 421px; width: 365px; overflow: auto; background-image: url(../img/white_90.png); border-left: 1px solid #000000; }

.galleryBox { position: relative; border: 1px solid #000000; margin-top: 6px; margin-bottom: 6px; padding: 6px; background-color: #FFFFFF; overflow: hidden; }
.galleryBox h3 { color: #ff7e00; font-size: 14px; font-weight: bold; padding: 0px; margin: 0px; margin-top: 6px; margin-bottom: 0px; cursor: pointer; }
.galleryBox ul { list-style-type: none; margin: 0px; margin-top: 10px; padding: 0px; height: 171px; overflow: auto; }
.galleryBox ul li { float: left; width: 65px; height: 51px; text-align: center; margin: 2px; padding: 2px; cursor: pointer; }
.galleryBox ul li img { max-width: 65px; max-height: 51px; cursor: pointer; }
.galleryBox .fold div, .galleryBox .unfold div { display: block; position: absolute; right: 10px; top: 10px; text-decoration: none; background-color: #000000; color: #FFFFFF; height: 11px; padding: 2px; padding-bottom: 4px; padding-right: 20px; padding-left: 5px; font-size: 10px; background-repeat: no-repeat; background-position: right 0px; cursor: pointer; }
.galleryBox .fold div { padding-bottom: 0px; border-bottom: 2px solid #ff7e00; background-image: url(../img/btnFold.gif); }
.galleryBox .unfold div { padding-top: 0px; border-top: 2px solid #ff7e00; background-image: url(../img/btnUnfold.gif); }

#elementy ul li { border: 1px solid #d3d1d0; display: table-cell; vertical-align: middle; }

#overlayBox { position: absolute; display: table-cell; left: 0px; top: -1px; background-color: transparent; background-image: url(../img/white_75.png); border: 1px solid #000000; width: 603px; height: 439px; text-align: center; vertical-align: middle; }
#overlayBox #previewImage { max-width: 603px; max-height: 439px; overflow: hidden; }
#overlayBox .closeBtn { position: absolute; top: 0px; right: 3px; z-index: 100; cursor: pointer; }
#overlayBox .button { position: absolute; bottom: 0px; right: 3px; background-color: #000000; color: #FFFFFF; text-decoration: none; padding: 2px; font-size: 11px; padding-left: 10px; padding-right: 10px; z-index: 100; }

#overlayBox.white { background: #FFFFFF; }

#widecontent p { text-align: center; margin-top: 10px; margin-bottom: 20px; }
#widecontent img { margin-bottom: 20px; }


.galleryBox.initialStyle ul { height: 60px; overflow: hidden; }
