#head { background-color:blue; height:131px; background:transparent url(img_en/head-background.jpg) no-repeat top left; }
#logo {	margin:17px 0 0 19px; float:left; }
#svml {	margin:31px 0 0 100px;float:left; }
#lang {	float:right; width:118px; text-align:center; margin:60px 10px 0 0; }
#lang img.slovakrail { margin-top:6px; }

#topmenu { background:transparent url(img/mp.gif) repeat-x; height:35px; width:955px; float:left; }
#topmenu ul li { float:left; margin:2px 0 1px 0}

#topmenu ul.submenu { background-color:#ED6D1B; color:#FFF; border:3px solid #D95C13; }
#topmenu ul.submenu li {border-right:0px; clear:both; border-right:0px; margin:0;width:230px}
#topmenu ul.submenu li a { padding:5px 28px; display:block; color:white; border:0;font-weight:bold; width: 174px;_width:100% }
#topmenu ul.submenu li a:hover { background-color:#e9e9ee; color:#F16C1A; }
#topmenu ul.submenu li ul { background-color:#ED6D1B; color:#FFF; border:3px solid #D95C13; }
#topmenu ul.submenu li ul li {border-right:0px; clear:both; border-right:0px;width:230px }
#topmenu ul.submenu li ul li a { padding:5px 28px; display:block; border:0;font-weight:bold; width: 174px;_width:100% }
#topmenu ul.submenu li ul li a:hover { background-color:#e9e9ee; color:#F16C1A; }

#sm { height:38px; background:transparent url(img/mp2.gif) repeat-x; float:left; width:955px; }
#sm ul li { float:left; margin-top:4px; }

#sm ul.submenu { background-color:#DCE1F0; border:3px solid #2F3F6C}
#sm ul.submenu li {width:100%;border-right:0px; clear:both; border-right:0px; margin:0;width:230px}
#sm ul.submenu li a { padding:5px 28px; display:block; border:0;font-weight:bold;color:#24519C; width: 174px;_width:100% }
#sm ul.submenu li a:hover { background-color:#24519C; color:#DCE1F0; }
#sm ul.submenu li ul { background-color:#DCE1F0; border:3px solid #2F3F6C; margin-left:0; }
#sm ul.submenu li ul li {width:100%;border-right:0px; clear:both; border-right:0px; margin:0;width:230px}
#sm ul.submenu li ul li a { padding:5px 28px; display:block; border:0;font-weight:bold;color:#24519C; width: 174px;_width:100% }
#sm ul.submenu li ul li a:hover { background-color:#24519C; color:#DCE1F0; }

#search { float:right; height:30px; margin:4px 24px 0 0; padding:0; width:200px; }
#search img { float:left; }
#search input { margin-top:4px; float:left; width:107px; height:16px; /*_height:20px;*/ border:1px solid #989898; }
#search input.button { margin-left:5px; width:23px; height:23px; border:0; background:transparent url(img/search-btn.gif) no-repeat top left; cursor:pointer; }
#search form { margin:0; padding:0; }

ul { list-style:none; padding:0; margin:0; }

.menu ul li {float:left; display:block; margin-right:2px;}

/* style the sub level list items */
.menu ul ul li {display:block; height:auto; line-height:1em;}
.menu ul ul li.last {padding-bottom:10px;}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {border-collapse:collapse; padding:0; margin:-1px; width:0; height:0; font-size:1em; z-index:1;}

/* style the level hovers */
/* first */
* html .menu a:hover {position:relative; z-index:100;}
.menu li:hover {position:relative;}

/* second */
* html .menu ul ul a:hover{position:relative; z-index:110; height:100%; border:1px solid #000; border-width:0 1px;}

.menu ul ul {width:230px}
.menu ul ul li:hover {position:relative;}
/* third */
* html .menu ul ul ul a:hover {position:relative; z-index:120;}
/* fourth */
.menu ul ul ul ul a:hover {position:relative; z-index:130;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;height:0; top:25px; left:0;}

/* position the third level flyout menu */
.menu ul ul ul{top:-10px}

/* make the second level visible when hover on first level list OR link */
.menu ul :hover ul {visibility:visible; height:auto; left:0px;top:33px}

/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{visibility:visible; left:220px; height:auto; top:0}
.menu ul :hover ul.left :hover ul {left:-150px;}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul {visibility:visible; left:90px; height:auto;top:10px}
