html, body {
    background: #4b0000; color: #ffffff;
    margin: 0; padding: 0;
    .behavior: url('http://galeriefenix.eu/csshover.htc');    
}

body {
    font-family:   "Tahoma CE", Tahoma, "Arial CE", Arial, "Lucida Grande CE", Lucida, "Helvetica CE", Helvetica, sans-serif;
    font-size: 0.8em; text-align: center;
    .behavior: url('http://galeriefenix.eu/csshover.htc');
}

#page0 {
    width: 100%; background: url('../images/basicbg.png') 50% 0 repeat;
    .behavior: url('http://galeriefenix.eu/css/csshover.htc');    
}
#page1 {
    width: 100%; background: url('../images/dotsbg.png') 50% 0 repeat-y;
    padding: 26px 0 0 0;
}

#xhead {
    width: 100%; background: url('../images/headbg.png') 50% 0 repeat-y;
    height: 258px; z-index: 500;
}

#xheadin {
    width: 990px; height: 258px; position: relative;
    margin: 0 auto; z-index: 500;
}

#xlogo {
    width: 340px; height: 172px; position: absolute; top: 0; left: 65px;
    margin: 0; padding: 0;
}
#xlogo a { margin: 0; padding: 43px 0; display: block; text-decoration: none; color: #4B0000; font-size: 1em; }
#xlogo span {
    position: absolute; display: block; cursor: pointer; _cursor: hand;
    width: 340px; height: 172px; margin: 0; padding: 0;
    background: url('../images/fenix-logo.png') top left no-repeat;
    left: 0; top: 0; z-index: 1; font-size: 1em;
}
#xheadphoto {
    width: 268px; height: 258px; position: absolute; top: 0; right: 55px;
    background: url('../images/xheadphoto.jpg') top left no-repeat;
}
#xheadslogan {
    display: block; text-indent: -1000%;
    width: 585px; height: 86px; position: absolute; bottom: 0; right: 0;
    background: url('../images/xheadslogan.jpg') top left no-repeat;
}

#xtopmenu {
    font-family:   "Trebuchet MS", "Tahoma CE", Tahoma, "Arial CE", Arial, "Lucida Grande CE", Lucida, "Helvetica CE", Helvetica, sans-serif;
    font-size: 1em;  
    margin: 0; padding: 0; list-style-type: none;
    width: 990px; height: 58px; position: absolute; top: 236px; left: 0;
    background: url('../images/xtopmenushadow.png') 0px 0px no-repeat;
    _background: none;
    z-index: 500;
}

#xtopmenu li {
    float: left; 
    width: 123px;  
   /* width: 140px;  */   
    position: relative;
    list-style-type: none;
    _height: 19%;
}
#xtopmenu li a, #xtopmenu li span {
    display: block; background: url('../images/xtopmenubt8.png') 0 0 no-repeat; margin: 1px; padding: 21px 0 22px 0; line-height: 0;
    text-decoration: none; color: #ffffff; font-weight: bold;
    _margin/**/: 1px; _padding/**/: 21px 0 22px 0;
    height: 0;
    _height: 43px;
    font-size: 11px;
}
#xtopmenu li a.active { background: url('../images/xtopmenubt8.png') 0 -86px no-repeat; }
#xtopmenu li a:hover { background: url('../images/xtopmenubt8.png') 0 -43px no-repeat; }

/* dropdown */

#xtopmenu li ul {
    position: absolute; top: 43px; left: 4px; _left: 6px;
width: 115px; margin:0; padding: 1px; _width: 131px;
    display: none;
    background: url('../images/xtopmenubg.png') top left;
    border: 1px solid #9e9e9e;
    z-index: 1000;
    font-weight: bold;
}
#xtopmenu li li {
    float: none; width: 100%; border: none;
    display: block; margin: 0; padding: 0;
    _height: 1px; .float: left;
}
#xtopmenu li li a, #xtopmenu li li span { display: block; padding: 2px 0 4px 0; text-decoration: none; margin: 0; background: none; line-height: 2em; height: auto; }
#xtopmenu li li span { color: #808080; }
#xtopmenu li li a:hover { background: url('../images/xtopmenubg2.png'); _background: url('../images/xtopmenubg2.gif');  color: #ffffff; text-decoration: none; }
#xtopmenu a.submenu, #xtopmenu a.submenu:visited, #xtopmenu span.submenu { background: url('../images/xtopmenubg-submenu.png') right 50% no-repeat; }
#xtopmenu a.submenu:hover { background: url('../images/xtopmenubg2-submenu.png') right 50% no-repeat; _background: url('../images/xtopmenubg2-submenu.gif') right 50% no-repeat; }
#xtopmenu a.line { border-bottom: 1px solid #ffffff; }
#xtopmenu ul.folder { left: 117px; top: 4px;  width: 15em; display: none; visibility: hidden; }

/* xtopmenu hover magic */
#xtopmenu li:hover { z-index: 100; }
#xtopmenu li:hover ul.folder li:hover { z-index: 140; }
#xtopmenu ul ul, #xtopmenu li:hover ul ul, #xtopmenu li:hover ul.folder li ul, #xtopmenu li:hover ul li ul.folder { display:none; visibility: hidden; z-index: 0; }
#xtopmenu li:hover ul, #xtopmenu li:hover li:hover ul, #xtopmenu li:hover ul.folder li:hover ul, #xtopmenu li:hover ul li:hover ul.folder { display:block; visibility: visible; z-index: 1000; }



#xbody {
    width: 880px; margin: 0 auto;
    background: url('../images/xbodybg2.png') 50% bottom no-repeat ;
    text-align: left;
}
#xbodyin {
    min-height: 554px; _height: 554px;
    background: url('../images/xbodybg.png') 50% -24px no-repeat;
    width: auto;
    padding: 0 268px 0 306px;
    _padding: 0 0 0 306px;
    overflow: auto; _overflow: visible; _height:1%;
}
#newxbody{
    background: url('../images/xbodybgnew.png') 50% -16px repeat-y ;
}
#xcontent{
  float:left;
  width:100%;
  border-right: 268px solid #4B0000;
  margin-right:  -268px! important;
  min-height: 554px; _height: 554px;
  display:inline; /* So IE plays nice */
  position: relative;

}
#leftRail{
  float: left;
  width: 306px;
  margin-left: -306px;
  position:absolute;
}
#center{
  float: left;
  width: 100%;
  margin-right: -100%;
}
#rightRail{
  float: right;
  width: 268px;
  margin-right: -268px;
  position:relative;


}

div.xrightphoto {
    background:  url('../head_images/img3.jpg') no-repeat bottom left;
    min-height: 409px; _height: 409px;
}

div.texts {
    padding: 40px 24px 6px 24px;
}
div.texts h2, #text h2 { border-top: 1px solid #ffffff; padding-top: 0.2em; font-size: 1.53em; font-weight: normal; text-align: left;}
div.texts h3, #text h3 { color: #fff; font-size: 1.23em;  text-align: left; }
 #text h3 a{ color: #Fffff;   text-align: left;}


#xfoot {
    width: 100%; overflow: hidden;
    background: url('../images/footbg.png') 50% 0 no-repeat;
    height: 86px;
    position: relative;
    text-align: center;
}

#xstrip {
    position: relative; width: 1204px; height: 43px; top: 0; margin: 0 auto;
    overflow: hidden; text-align: left;
}
#xstripin { width: 100%; height: 43px }

#xfootin {
    position: relative; height: 43px; width: 880px; margin: 0 auto;
}

#xfootin p { margin: 0; padding: 10px 0 0 0; }

#xfootleft, #xfootright {
    position: absolute; top: -43px; width: 168px; height: 43px;
}
#xfootleft {
    left: -168px;
    background: url('../images/leftgradient.png') 0 0 no-repeat;
    _background: none;
    _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=scale,src='../images/leftgradient.png');
}
#xfootright {
    right: -168px;
    background: url('../images/rightgradient.png') 0 0 no-repeat;
    _background: none;
    _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=scale,src='../images/rightgradient.png');
}
#claim{
 position: absolute;
 width: 966px;
 top: 200px;
left: 50%;
 margin-left: -483px;
 z-index: 1000;
}

/* zjk dodelafki */

#xcontent a{
 color: #fff;
}
#xcontent a:hover{
 text-decoration: none;
}
#text{
  float:left;
  width: 560px;
  margin-left: -306px;
  padding: 50px 24px 30px 24px;
	position: relative;
}
#text img{
 border: 1px solid #fff;
 padding: 3px;
}
#text img.left {
 float: left;
 margin: 0 2em 1em 0;
}
#text img.right {
 float: right;
 margin: 0 0 1em 2em;
}
.homenews img{
 margin: 0 0.5em 1em 0;
  border: 1px solid #fff;
 padding: 2px;
 float: left
}
xcontent #xrightRail .xraightphoto a img{
 border: 1px solid #fff;
 padding: 3px;
 margin-top: 0.5em;
}
#text img.noborder{
 border: none;
  margin: 0;
 padding:0
}
#dolni, #horni, #food, #parking{
 background: url('../maps/dolni.gif') no-repeat left top;
 width: 550px;
 height: 210px;
}
#newdolni{
 background: url('http://galeriefenix.eu/maps/sport.png') no-repeat left top;
 width: 550px;
 height: 190px;
}
 #newdolni a{
 background: url('http://galeriefenix.eu/maps/default.png') no-repeat left top;
 width: 550px;
 height: 190px;
 display: block;
}
 #newdolni a:hover{
 background: none;
 }
#horni{
 background: url('../maps/horni.gif') no-repeat left top;
 }
 #food{
 background: url('../maps/food.gif') no-repeat left top;
 }
 #parking{
 background: url('../maps/parking.gif') no-repeat left top;
 } 
.clearer{
 clear: both;
 height: 0;
 line-height: 0;
 font-size: 0;
 margin: 0;
 padding: 0;
}
#CB_iFramex
{
	margin: -9px 0 0 -8px;
	width: 102.7% !important;
	height: 113% !important;
	z-index: 1003 !important;
	filter: mask();
	border: none;
}
#intextcenter{
 float: right;
 width: 45%;
}
#intextleft{
 float: left;
 width: 45%;
 
}
#rightRail  a.gal img, #text a.gal img{
 margin: 0 3px 3px 0;
 float: left;
 border: 1px solid #990000;
} 
#rightRail .galerie{
 margin-left: 20px;
}
#text .pagepart{
 clear: both;
}
#text .aktu{
 border-bottom: 1px solid #690101;
 clear: left;
 margin-bottom: 2em;
 padding-bottom: 0.5em;
}
.aktu img.left{
 margin-top: 1em;
 }
#text img.downs {
 border: none;
 float: left;
 margin-right: 2em;
} 
.back{
float: right;
}
#text, div.texts{
 text-align: justify;
}
#text a.new_window_link img{
 width: 11px;
 height: 9px;
 border: none;
 margin-top: 3px;
}
.xseachinput input, .xseachinput textarea{
 width: 220px;
 border: none;
 background: #5E0101;
 overflow: auto;
 color: #fff;
}
.xsearchbt input{
background: #5E0101;
color: #fff;
padding: 0.3em 1em;
margin-top: 1em;
border: none;
}
input.xsearchbt{
background: #990000;
color: #fff;
padding: 0.3em 1em;
margin-top: 1em;
border: none;
font-weight: bold;
}
#inprehled{
 background: url('../images/prehledbgr.png') repeat-y center top;
 _background: #7E1414;
 margin-top: 0px;
 border: 1px solid #7E1414;
 .border: 1px solid #7E1414;
 _border: 1px solid #7E1414;
  padding: 0 0px 0 10px; 
}
#toprehled{
  background:  url('../images/prehledtop.png') no-repeat center top;
  _background:  url('../images/prehledtop.gif') no-repeat center top;  
   width: 248px;
   margin: 0 10px;
   padding-top: 23px;
}
#downprehled{
  background:  url('../images/prehledown.png') no-repeat center bottom;
 _background:  url('../images/prehledown.gif') no-repeat center bottom;  
  margin-top: 0px;
  padding-bottom: 22px;
}
.nom, #prehled .pagepart h3{
 margin-bottom: 0;
 margin-left: 10px;
}
.clearer{
 clear: both;
 height: 23px;
 _height: 0;
}
td, th{
 vertical-align: top;
}
img.noborder{

border: none;
}
#langs{
float: left;
 margin-left: 20px;
}
#langs .czlan, #langs .enlan{
 display: block;
 width: 15px;
 height: 12px;
 float: left;
 margin-right: 3px;
 margin-top: 20px;

}
#langs a.czlan{
 background: url('../images/cz.gif') no-repeat left top;
}
#langs span.czlan{
 background: url('../images/cznon.gif') no-repeat left top;
}
#langs a.enlan{
 background: url('../images/en.gif') no-repeat left top;
}
#langs span.enlan{
 background: url('../images/ennon.gif') no-repeat left top;
}
.yellow{
 background: #990000;
 margin: 0 10px 0 0;

 padding: 1em;
}
.fanimages{
 clear: left;
}
.inpage fieldset{
 border: none;
}
.inpage .bt{
 background: #990000;
}
.fotoshow{
 width: 164px;
 padding: 5px;
 float: left;
 height: 180px;
 margin-right: 10px ;
 background: #6A0202;
 margin-bottom: 5px;
}
.fotoshow p{
margin-top: 0;
margin-bottom: 0;
}
h2.clr{
 clear: left;
}
a.goright{
 float: right;
}
#xcontent #text .pager{
 clear: left;
 margin-top: 1em;
}
#xcontent #text .pager .now{
 text-decoration: none;
 font-size: 110%;
 font-weight: bold;
}
.mainclr{
 clear: both;
 margin: 0;
 padding: 0;
 height: 0;
 line-height: 0;
 font-size: 0;
 
}
.fieldseter{
 background: #730F0F;
 margin-bottom: 1em; 
}
.fieldseter h3{
 background: #990000;
 padding: 0.3em;
 font-size: 90%;
 font-weight: normal;
}
.fieldseter h3.redh3{
 background: red;
 }
.padded{
 padding: 0 1em 1em 1em;
}
.fieldseter input{
 border: 1px solid #fff;
}
#supright{
 float: right;
 width: 290px;
}
#zs{
 floaT: right;
 border: 1px solid #fff;
 padding: 2px;
 font-sizE: 0px;
}
.fb{
  width: 870px;
  margin: 0 auto;
}
.facebook {
    background : url("../images/fbook.jpg")  left top  no-repeat;
    padding-left: 40px;
    width: 150px;
    float: left;
    text-align: left;
}
.facebook a {
   color: #808080;
}
.facebook a:hover {
   color: #fff;
   text-decoration: none;
}
div.fb iframe {
   floaT: left;
}
input.small{
 width: 1em;
 border: none;
 float: left;
}
label{
 width: 60px;
 floaT: left;
}
#printgalerie{
  position: absolute;
  top: 500%;
  left: 500%;
  border: 0px solid #FFB726;
  z-index: 0;
  display: block;
  background: transparent;
  padding: 0px;
  margin-left: 0px;
  margin-top: 0px;
  display: none
}
#printgalerie div{
 width: 470px;
 height: 590px;
   display: none
}
#overlay
{
  display:none;
	top:0;
  left: 0; 
	position: absolute;
	height: 0%; 
	width: 0%;
	background: #000;
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	z-index: 0;
}
td p { margin-top: 0 }     
table.lastwork, .lastwork td{
  border: 1px solid #990000;
  border-collapse: collapse;
}
 .lastwork td{
   padding: 2px 10px;
   width: 40%;
 }
 
.highit{
 /*background: #990000;*/
 font-weight: bold;
}                     
.darkit{
/* background: #220c0c;*/
font-weight: bold; 
}  


#text  img.xmasleft {
 width: 280px;
 margin-right: 20px;
}
#text  img.xmasright {
 width: 280px;
 margin-left: 20px;
}
#text h2.nobordr {
 border-top: 0px solid #fff;
}
ol li{             
 padding-bottom: 1.5em  
}