.smilik
{
padding:0;
margin:0;
padding-left:5px;
padding-right:5px;
border:0;
}

img
{
margin: 0 5px !important;
padding: 0 !important; 
border: 0 !important;
}

a img
{
margin-left:10px !important;
margin-right:10px !important;
margin-top:10px;	
margin-bottom:10px;	
}

.blocek1
{
padding-left:10px !important;
padding-top:10px !important;
padding-right:10px !important;
display:block;
text-align:justify;
line-height:1.6em;
}

input.text
{
width:200px;
margin-bottom:10px;
}


textarea
{
width:300px;
}

.mezera
{
margin-bottom:7px;
}

ol
{
margin:0;
padding:0;
margin-left:30px;
margin-bottom:30px;
}

#menuh li,#menuh ul
{
margin:0;
padding:0;
padding-left:10px;
display:inline;
}


div.galleryItem{

	float:left;
	margin: 2px;
	padding: 4px 6px 7px 4px;
	background-color: #EEEEEE;
	border: 1px solid #666;
	vertical-align: middle;
}

div.galleryItem .frameh, div.galleryItem .frame
	{
	display: block;
	text-align: center;
	vertical-align: middle;
}

div.galleryItem .frame {
    display: table-cell;
}

div.galleryItem .frame img {
	margin: 0 !important;
    padding: 0 !important;
	vertical-align: middle;
	border:1px solid #666 !important;
	min-width: 0px;
	min-height: 0px;
}


td.galleryItemBigCont  {
	width: 98%;
	text-align: center;
}

div.galleryItemBig .frame
	{
	display: inline;
	height: auto;
	width: auto;
}

div.galleryItemBig .frame img {
	margin: 0 !important;
	border:1px solid #666;
	max-width: 400px;
	max-height: 800px;
	width: expression(this.width > 400 ? 400: true);
	height: expression(this.height > 800 ? 800: true);
}


div.galleryFilmVse {
	OVERFLOW : auto;
	overflow-x: scroll;
	overflow-y: auto;
	WIDTH : 100%;
}

.galleryItem .popisek {
	margin-top: 5px;
	margin-bottom: -3px;
	display: block;
	text-align: center;
}

.galleryItem .popisek.horni {
	margin-top: 0;
	margin-bottom: 2px;
}

.galleryItem .popisek, .galleryItem a {
	color: #000000; 
	text-decoration: none;
}

.galleryItem a, .galleryItem a img {
	cursor: pointer;
}

.galleryItem a:hover {
	color: #626262; 
	text-decoration: none;
}

div.galleryFilmVse table, div.galleryFilmVse tr, div.galleryFilmVse td,
div.galleryItem a, div.galleryItem img
	{
	border: 0;
	padding: 0;
	margin: 0;
}

div.galleryItem a {
	display: inline;
}

.galleryFilmVse div.galleryItem{
	display: inline;
	white-space: nowrap;
}


.gallery table {
	width: 100%;
}


.gallery td {
	vertical-align: middle;
}

.gallery a.bprev, .gallery a.bnext {
	padding: 12px 0;
	display: block;
}

div.galleryProgress {
	background-color: #E4E4E4;
	border: 1px solid #5D5D5D;
	width: 100%;
	height: 17px;
	display: block;
	text-align: left;
	position: relative;
}

div.galleryProgressTxt {
	position: absolute;
	width: 100%;
	width: 100%;
	display: block;
	font-size: 8pt;
	color: #000000; 
	text-align: center;
	line-height: 17px;
}

div.galleryProgressIn {
	background-color: #BCBCBC;
	border: 0;
	height: 100%;
	display: block;
	text-align: center;
}

div.fgcontrols {
	text-align: center;
	clear: both;
	padding-top: 15px;
}

div.fgcontrols img
	{
	margin:0px !important;
	}



/* nastaveni vychozi velikosti nahledu fotogalerii */
/* pokud je to treba, nastavit v konkretnim stylu jinak */

div.galleryItem .frame {
	height: 98px;
	width: 130px;
	/*display: block;
	background-color: #FF0000;*/
	}
    
div.galleryItem .frameh {
	height: 98px;
	width: 130px;
/*	background-color: #00FF00;
*/	}

div.galleryItem .frame img {
	max-width: 130px;
    max-height: 98px;
	width: expression(this.width > 130 ? 130: true);
    height: expression(this.height > 98 ? 98: true);
    }
    
	    