

#sub_mt {
  font-size:100%;
	margin: 0;
	padding: 0;
	z-index: 500;
}

#sub_mt li {
	list-style: none;
	float:left;
}

#sub_mt li a {
  clear: left;
  color: black;
  display: block;
  float: left;
  font-size: 12px;
  font-weight: bold;                   
  margin: 0px 0px 2px 0px;
  padding: 10px 8px 6px 35px;
  text-align: left;
  text-decoration: none;
  text-transform: lowercase;
  width: 170px;
  background:url("../images/menu-item-bg.gif") left bottom repeat-x;
}

#sub_mt li a:hover {                                                          
  color:white;
}

#sub_mt .a_selected {
  color:white;
}




#mt {
  /* do prawej */
  /*
  margin: 0 5em 0 0;
  float: right;
  */

  /* wysrodkowane */
  /*
  */
  margin: 0px auto;
  padding: 0px;
  z-index: 500;
  width: auto;
  display: table;
}

#mt li {
	list-style: none;
	float:left;
  position:relative;
}

#mt li a {
  font-family:'Teko', sans-serif;
  font-size:130%;
  color: #ccc;
  display: block;
  margin: 0;
  padding: 0.25em 0.2em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  width: auto;
  text-shadow: 0px 0px 3px rgba(3,3,0,0.7);
}

#mt li a:hover {
  color:#ff9e35;
}

#mt div li {
	list-style: none;
	float:left;
	clear:both;
}

#mt div {
  position: absolute;
  display:block;
	visibility: hidden;
  padding:1em 0.5em;
  margin:0px 0px 0px 0px;
	background: rgba(10, 10, 10, 0.9) none repeat scroll 0 0;
  border:0px;
  width:auto;
  min-width:10em;  
	z-index: 500;
  left:-6px;
  /* right:0; */
}
  
  
  

#mt li:last-child div {
/* #mt ul li:last-of-type>div { */
    left: unset;
    right: 0;
}

#mt div a {
  position: relative;
	display: block;
  padding:6px 8px 4px 8px;
  margin:0px 0px 1px 0px;
  
	width: 100%;
	white-space: nowrap;
  min-width:120px;
  /* max-width:200px; */
	text-align: left;
	text-decoration: none;

  color: #bbb;
  clear:both;
  float:left;
  background:transparent url('../images/menu-background.png') left center no-repeat;
}

#mt div a:hover {
	width: 100%;
	color: #ff9e35;
  clear:left;
  float:left;
  background:transparent url('../images/menu-background.png') left center no-repeat;
}

.menuon {
  position:absolute;
  background-color:#cfcfcf;
  border:1px black solid; 
  padding:0px 0px 5px 0px;
  display:block;
}

.menuoff {
  position:absolute;
  background:none;
  border:0px black solid;
  display:none;
}



/* MOBILE <1600px */



/* ================================================================================================
===================================================================================================
===================================================================================================
===================================================================================================
===================================================================================================
===================================================================================================
===================================================================================================
==========                                                      ===================================
==========   STYLE MOD FOR SCREEN WIDTH >=640 px AND <1080 px   ===================================
==========                                                      ===================================
===================================================================================================
===================================================================================================
===================================================================================================
===================================================================================================
===================================================================================================
=================================================================================================*/

@media only screen and (max-width: 1600px ) {  /* ( min-width:640px ) and  */
      #mt {
            /* remove center */
            margin: 0 5em 0 0;
            float: right;
      }
}
