body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    background: url(./images/bg.png) repeat-x #d7d7d7 !important;
	background: url(./images/bg.gif) repeat-x #efefef;
	text-align: center;
	padding: 0;
}

#container {
    width: 990px;
    margin: 0 auto;
	text-align: left;
}

#top {
    padding: 0;
	margin: 0;
    height: 100px;
    background: url(./images/tekst_990_2.png) repeat-y !important;
	background: url(./images/tekst_990_2.gif) repeat-y;
}

#top ul {
    list-style-type: none;
	margin-top: 0; 
    padding-top: 35px;
}

#top li {
    float: left;
    padding: 0 17px 0 17px;
    font-family: "Calibri";
    font-size: 24px;
    text-shadow: 1px 1px 0px #8d8e8e;
}

#top a {
    display: block;
    text-decoration: none;
    color: #140500;
}

#top a:hover {
    display: block;
    text-decoration: none;
    color: #ef9910;
}

#logo {
    float: right;
    margin: -35px 50px 0 0;
}

#middle {
    height: 360px;
    background: url(./images/obrazek_990.png);
}

#motto {
    width: 420px;
    padding: 5px 10px 5px 10px;
	* padding: 15px 10px 5px 10px; /* Hack for IE 5.5, 6 and 7 */
    margin-left: 15px;
    background: url(./images/motto.png);
    _background: url(./images/motto.gif); /* Hack for IE 5.5 and 6 */
    position: relative;
	font-family: verdana;
    top: 45px;
    left: 50px;
}

h1 {
    color: #afb3b6;
    font-size: 24px;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    text-align: center;
    font-weight: normal;
	text-shadow: 1px 1px 0px #000;
}

#content {
    background: url(./images/tekst_990_2.png) repeat-y !important;
	background: url(./images/tekst_990_2.gif) repeat-y;
	font-family: "Calibri";
    font-size: 18px;
	color: #140500;
}

#left {
    float: left;
	width: 440px;
    padding: 0 0 0 60px;
    margin: 25px 0 0 0;
}


p {
	font-family: "Calibri";
    font-size: 18px;
}

h2 {
    font-family: "Calibri";
    font-size: 24px;
    text-shadow: 1px 1px 0px #8d8e8e;
}
#content a {
	text-decoration: none;
    color: #140500;
}

#right {
    float: right;
	padding: 50px 50px 0;
    width: 380px;
    margin: 25px 0 0 10px;
}

#galery {
	padding: 25px 85px 0;  
	margin: 0 0 10px 10px; 
}

.foto {
    border: solid 10px #140500;
    margin: 5px 0 0 70px;
}

.foto:hover {
    border: solid 10px #ef9910;
}

.clear {
    clear: both;
}

#bottom {
    background: url(./images/tekstbottom_990.png) !important;
	background: url(./images/tekstbottom_990.gif);
    padding: 40px 0 0 0;
	*padding: 15px 0 0 0; /* Hack for IE 5.5, 6 and 7 */
	
	
}
#stopka {
	font-size: 12px;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    text-align: center;
    font-style: normal;
    color: #909090;
    height: 10px;
	*padding-bottom: 5px; /* Hack for IE 5.5, 6 and 7 */
	 
	
}
#stopka a{
	text-decoration: none;
	color: #909090;
}


#footer {
    height: 30px;
	width: 50%;
	position: relative;
	left: 25%;
	right: 25%;
}

#footer ul {
    list-style-type: none;
    margin-top: 10px;
	padding-bottom: 35px;
	_padding-bottom: 0px; /* Hack for IE 5.5 and 6 */ 
	
}

#footer li {
    float: left;
    padding: 0 17px 0 17px;
    font-family: "Calibri";
    font-size: 18px;
    text-shadow: 1px 1px 0px #8d8e8e;
}

#footer a {
    display: block;
    text-decoration: none;
    color: #140500;
}

#footer a:hover {
    display: block;
    text-decoration: none;
    color: #ef9910;
}

.active {
	color: #ef9910 !important;
}

.ad-gallery {
  width: 800px;
}
.ad-gallery, .ad-gallery * {
  margin: 0;
  padding: 0;
}
  .ad-gallery .ad-image-wrapper {
    width: 100%;
    height: 600px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
  }
    .ad-gallery .ad-image-wrapper .ad-loader {
      position: absolute;
      z-index: 10;
      top: 48%;
      left: 48%;
      border: 1px solid #CCC;
    }
    .ad-gallery .ad-image-wrapper .ad-next {
      position: absolute;
      right: 0;
      top: 0;
      width: 25%;
      height: 100%;
      cursor: pointer;
      display: block;
      z-index: 100;
    }
    .ad-gallery .ad-image-wrapper .ad-prev {
      position: absolute;
      left: 0;
      top: 0;
      width: 25%;
      height: 100%;
      cursor: pointer;
      display: block;
      z-index: 100;
    }
    .ad-gallery .ad-image-wrapper .ad-prev, .ad-gallery .ad-image-wrapper .ad-next {
      /* Or else IE will hide it */
      background: url(non-existing.jpg)\9
    }
      .ad-gallery .ad-image-wrapper .ad-prev .ad-prev-image, .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
        background: url(ad_prev.png);
        width: 30px;
        height: 30px;
        display: none;
        position: absolute;
        top: 47%;
        left: 0;
        z-index: 101;
      }
      .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
        background: url(ad_next.png);
        width: 30px;
        height: 30px;
        right: 0;
        left: auto;
      }
    .ad-gallery .ad-image-wrapper .ad-image {
      position: absolute;
      overflow: hidden;
      top: 0;
      left: 0;
      z-index: 9;
    }
      .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
        position: absolute;
        bottom: 0px;
        left: 0px;
        padding: 7px;
        text-align: left;
        width: 100%;
        z-index: 2;
        background: url(opa75.png);
        color: #000;
      }
      * html .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
        background: none;
        filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (enabled=true, sizingMethod=scale, src='opa75.png');
      }
        .ad-gallery .ad-image-wrapper .ad-image .ad-image-description .ad-description-title {
          display: block;
        }
  .ad-gallery .ad-controls {
    height: 20px;
  }
    .ad-gallery .ad-info {
      float: left;
    }
    .ad-gallery .ad-slideshow-controls {
      float: right;
    }
      .ad-gallery .ad-slideshow-controls .ad-slideshow-start, .ad-gallery .ad-slideshow-controls .ad-slideshow-stop {
        padding-left: 5px;
        cursor: pointer;
      }
      .ad-gallery .ad-slideshow-controls .ad-slideshow-countdown {
        padding-left: 5px;
        font-size: 0.9em;
      }
    .ad-gallery .ad-slideshow-running .ad-slideshow-start {
      cursor: default;
      font-style: italic;
    }
  .ad-gallery .ad-nav {
    width: 100%;
    position: relative;
  }
  .ad-nav {
  	border: 1px solid #EBECED;
  }
    .ad-gallery .ad-forward, .ad-gallery .ad-back {
      position: absolute;
      top: 0;
      height: 100%;
      z-index: 10;
    }
    /* IE 6 doesn't like height: 100% */
    * html .ad-gallery .ad-forward, .ad-gallery .ad-back {
      height: 100px;
    }
    .ad-gallery .ad-back {
      cursor: pointer;
      left: -20px;
      width: 13px;
      display: block;
      background: url(ad_scroll_back.png) 0px 22px no-repeat;
    }
    .ad-gallery .ad-forward {
      cursor: pointer;
      display: block;
      right: -20px;
      width: 13px;
      background: url(ad_scroll_forward.png) 0px 22px no-repeat;
    }
    .ad-gallery .ad-nav .ad-thumbs {
      overflow: hidden;
      width: 100%;
    }
      .ad-gallery .ad-thumbs .ad-thumb-list {
        float: left;
        width: 9000px;
        list-style: none;
      }
        .ad-gallery .ad-thumbs li {
          float: left;
          padding-right: 5px;
        }
          .ad-gallery .ad-thumbs li a {
            display: block;
          }
            .ad-gallery .ad-thumbs li a img {
              border: 3px solid #CCC;
              display: block;
            }
            .ad-gallery .ad-thumbs li a.ad-active img {
              border: 3px solid #616161;
            }
/* Can't do display none, since Opera won't load the images then */
.ad-preloads {
  position: absolute;
  left: -9000px;
  top: -9000px;
}

/**
 * jQuery lightBox plugin
 * This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/)
 * and adapted to me for use like a plugin from jQuery.
 * @name jquery-lightbox-0.5.css
 * @author Leandro Vieira Pinho - http://leandrovieira.com
 * @version 0.5
 * @date April 11, 2008
 * @category jQuery plugin
 * @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com)
 * @license CC Attribution-No Derivative Works 2.5 Brazil - http://creativecommons.org/licenses/by-nd/2.5/br/deed.en_US
 * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin
 */
#jquery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
}
#jquery-lightbox {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
}
#jquery-lightbox a img { border: none; }
#lightbox-container-image-box {
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
}
#lightbox-container-image { padding: 10px; }
#lightbox-loading {
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}
#lightbox-nav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}
#lightbox-container-image-box > #lightbox-nav { left: 0; }
#lightbox-nav a { outline: none;}
#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
	width: 49%;
	height: 100%;
	display: block;
}
#lightbox-nav-btnPrev { 
	left: 0; 
	float: left;
}
#lightbox-nav-btnNext { 
	right: 0; 
	float: right;
}
#lightbox-container-image-data-box {
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%;
	padding: 0 10px 0;
}
#lightbox-container-image-data {
	padding: 0 10px; 
	color: #666; 
}
#lightbox-container-image-data #lightbox-image-details { 
	width: 70%; 
	float: left; 
	text-align: left; 
}	
#lightbox-image-details-caption { font-weight: bold; }
#lightbox-image-details-currentNumber {
	display: block; 
	clear: left; 
	padding-bottom: 1.0em;	
}			
#lightbox-secNav-btnClose {
	width: 66px; 
	float: right;
	padding-bottom: 0.7em;	
}
