html, body {
    background: #4b0000; color: #ffffff;
    margin: 0; padding: 0;
    .behavior: url('http://www.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://www.galeriefenix.eu/csshover.htc');
}

#page0 {
    width: 100%; background: url('../images/basicbg.png') 50% 0 repeat;
    .behavior: url('http://www.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: 60px;
    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: 534px; height: 258px; position: absolute; top: 0; right: 55px;
    background: url('../images/xheadphoto3.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: 404px; _height: 404px;
    background: url('../images/xbodybg.png') 50% -24px no-repeat;
    width: auto;
    padding: 0 534px 0 340px;
    _padding: 0 0 0 340px;
    /*overflow: auto; _overflow: visible;*/ 
}
#newxbody{
    background: url('../images/xbodybgnew.png') 50% -16px repeat-y ;
}
#xcontent{
  float:left;
  width:100%;
  border-right: 534px solid #4B0000;
  margin-right:  -534px! important;
  min-height: 343px; _height: 343px;
  display:inline; /* So IE plays nice */
  position: relative;
}
#leftRail{
  float: left;
  width: 340px;
  margin-left: -340px;
  position:absolute;
  min-height: 380px; _height: 380px; 
}
#leftRail div.texts{
     padding: 40px 0px 6px 0px;
}

#leftRail .box{
   background: url('../images/box.png') no-repeat  0px 0px;
  _background: url('../images/box.gif') no-repeat  0px 0px;  
  width: 290px;
 _width: 330px;  
  height: 170px;
  padding: 20px 20px 20px 20px;
  font-size: 13px;          
  text-align: left ;
  margin-left: 10px;
  margin-top: 13px;
}
#leftRail .box table{
    font-size: 11px;
    border: none;
    padding: 0px;
    text-align: left;
    vertical-align: top;
    margin-left: -1px;
}                
    /*
#leftRail .box{
   background: url('../images/box2.png') no-repeat  0px 0px;
  _background: url('../images/box2.gif') no-repeat  0px 0px;
  width: 270px;
 _width: 330px;
  height: 200px;
  padding: 30px 30px 30px 30px;
  font-size: 15px;
  text-align: center;
  margin-left: 10px;
}  
*/
#leftRail .box p{
  margin: 0;
}
 
#rightRail{
  float: right;
  width: 534px;
  margin-right: -534px;
  position:relative;
}
div.xrightphoto {
    background:  url('http://www.galeriefenix.eu/xhead_images/xfarmari.jpg') no-repeat top left;
    min-height: 373px; _height: 373px;
}

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}
div.texts h3, #text h3 { color: #fff; font-size: 1.23em;  }
 #text h3 a{ color: #Fffff;  }


#leftRail div.texts h2{
 border: none;
 /* font-size: 18px; */
 font-size: 25px; 
 text-align: center;
 font-weight: bold;
 font-style: italic;
 font-family: "Trebuchet MS", "Tahoma CE", Tahoma, "Arial CE", Arial, "Lucida Grande CE", Lucida, "Helvetica CE", Helvetica, sans-serif;
 margin: 0px 0;
 }

#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
}
#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: 287px;
}
#newdolni{
 background: url('http://www.galeriefenix.eu/maps/sport.png') no-repeat left top;
 width: 550px;
 height: 190px;
}
 #newdolni a{
 background: url('http://www.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_iFrame
{
	margin: -9px 0 0 -8px;
	width: 102.7% !important;
	height: 113% !important;
	z-index: 1000 !important;
	filter: mask();
	border: none;
}
#intextcenter{
 float: right;
 width: 45%;
}
#intextleft{
 float: left;
 width: 45%;
 
}
#text a.gal img{
 margin: 0 3px 3px 0;
 float: left;
} 
#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;
}
a.nounderline{
 text-decoration: none;
}
#text  a.nounderline:hover{
 color: #e7e7e7;
}
#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;
}
#soutpartner {
 height: 45px;

 margin: 0;

}
#soutpartner p{
 line-height: 55px;
 height:55px;
 margin: 0;
 padding: 0;
 float: left;
 display: block;
 margin-left: 45px;
 margin-right: 10px;
}
#soutpartner a img{

 border: none;
}
#rightRail {
	position:relative;

}
	#rightRail a {
		float:left;
		position:absolute;
	}
	
	#rightRail a img {
		border:none;
	}
	
	#rightRail a.show {
		z-index:100
	}

	#rightRail .caption {

		z-index: 0; 
		background-color: transparent; 
		color:transparent; 
		height:0px; 
		width:0%; 
		position:absolute;
		bottom:0;
	}
.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;
}
.supered{
 padding: 20px 0px 0px 0px!important;
 margin: 0 -15px!important;
 font-size: 75%;
 font-weight: bold;
}
@-moz-document url-prefix() {
    .supered {
        padding: 0px 0px 0px 0px!important;
    }
}
#overlay
{
  display:block;
	top:0;
  left: 0; 
	position: absolute;
	height: 100%; 
	width: 100%;
	background: #000;
	filter: alpha(opacity=50);
	-moz-opacity: 0.5;
	opacity: 0.5;
	z-index: 100;
}
#printgalerie{
  position: absolute;
  top: 50%;
  left: 50%;
  border: 4px solid #FFB726;
  z-index: 1000;
  display: block;
  background: #fff;
  padding: 10px;
  margin-left: -235px;
  margin-top: -300px;
}
#printgalerie div{
 width: 470px;
 height: 590px;
}