body {
  /* Styles applying to the entire page */
  background-image: URL(photos/logotlo.jpg);
  font: 11px/1.5 Verdana, Sans;
  color: #f8f8f8;
  text-align: center;
  }


#header {
  /* To the header we apply a background image which tiles horizontally */
  height: 168px;
  text-align: center;
  background: url('images/smallHeaderBG.jpg') repeat-x top left;
  }

#wrapper {
  /* The wrapper contains the content area, navigation and footer.
    It's positioned in the center of the page using auto margins */
  width: 810px;
  margin: 0 auto;
  text-align: left;

  }

#content, #subContent, #gallery {
  /* Both the content area and navigation share the same background color */
  background: url('images/main_middle.gif') no-repeat top center;
  } 

#top {
  /* To the header we apply a background image which tiles horizontally */
  position: relative;
  height: 78px;
  margin-top: 20px !important;
  margin-top /**/:0px;
  text-align: center;
  background: url('images/main_top.gif') no-repeat top center;
  
  }


#menu {
	position: relative;
	margin-left: 18px  !important;
	margin-left: 24px;
	margin-right: auto;
	margin-top: 30px;
	width: 790px;
	height: 30px;
	}

	#menu img {
			 border: 0px;
			 float: left;
			 margin-right: 0px !important;
			 margin-right /**/:-6px;
		}

	#menumale {
		position: relative;
		margin-left: 210px;
		margin-right: auto;
		margin-top: 2px;
		width: auto;
		height: 39px;
	}
		

#middle {
  position: relative;
  height: auto;
  text-align: center;
  background: url('images/main_middle.gif') repeat-y top center;
  
  }





#tresc1 {
	text-align: center;
	text-align: justify;
	width: 720px;
	margin-top: 1px;
	margin-left: 26px !important;
	margin-left /**/:20px;
	
       
	
}

#IMGmain {
	text-align: center;
	width: 790px;
	margin-top: -30px;
	margin-left: 6px;
       
	
}



#bottom {
  height: 78px;
  text-align: center;
  background: url('images/main_bottom.gif') no-repeat center;
  
  }



/* General styles */  
img {
  border: none;
  margin: 4px;
  }


 
img.left {
  float: left;
  margin: 1em 1em 1em 0;
  }
 
img.right {
  float: right;  
  margin: 1em 0 1em 1em;
  }  
 
p, h3, h4 {
  margin: 11px;
  }




/* Style galerii */

.galeria {
	width: 780px;
	text-align: center;
}

.galeria table {
	margin-left: auto;
	margin-right: auto;
}

.galeria td {
	padding: 5px 20px 10px 5px;
}

.galeria td img {
	border: 1px solid black;
}