/* Reset */
.nav,
.nav a,
.nav ul,
.nav li,
.nav div,
.nav form,
.nav input {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
}

.nav a { text-decoration: none; }

.nav li { list-style: none; }

/* Menu Container */
.nav {
	display: inline-block;
	position: relative;
	cursor: default;
	z-index: 500;
	text-align:left;
	float:right;
}

/* Menu List */
.nav > li {
	display: block;
	float: right;

}

/* Menu Links */
.nav > li > a {
	position: relative;
	display: block;
	z-index: 510;

	padding: 0 20px;

	font-weight: bold;
	
	color: #2d0a41;

	
	
	/*text-shadow: 0 0 1px rgba(0,0,0,.35);

	background: #372f2b;*/
	/*border-left: 1px solid #4b4441;
	border-right: 1px solid #312a27;*/

	/*-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;*/
}


.nav > li#trojuholnik:hover > a { color:#84a5c6 !important; 	}

.nav > li:first-child > a {
	
	border-left: none;
}

/* Search Form */
.nav > li.nav-search > form {
	position: relative;
	width: inherit;
	/*height: 54px;*/
	z-index: 510;
	border-left: 1px solid #4b4441;
}

.nav > li.nav-search input[type="text"] {
	display: block;
	float: left;
	width: 1px;
	height: 40px;
	/*padding: 15px 0;
	line-height: 24px;*/

	/*font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;*/
	/*font-size: 13px;*/
	color: #999999;
	text-shadow: 0 0 1px rgba(0,0,0,.35);

	/*background: #372f2b;*/

	/*-webkit-transition: all .3s ease 1s;
	-moz-transition: all .3s ease 1s;
	-o-transition: all .3s ease 1s;
	-ms-transition: all .3s ease 1s;
	transition: all .3s ease 1s;*/
}

.nav > li.nav-search input[type="text"]:focus { color: #fcfcfc; }

.nav > li.nav-search input[type="text"]:focus,
.nav > li.nav-search:hover input[type="text"] {
	width: 110px;
	height: 40px;
	color:#2d0a41;
	padding-left:10px;

	/*-webkit-transition: all .3s ease .1s;
	-moz-transition: all .3s ease .1s;
	-o-transition: all .3s ease .1s;
	-ms-transition: all .3s ease .1s;
	transition: all .3s ease .1s;*/
}

.nav > li.nav-search input[type="submit"] {
	display: block;
	float: left;
	width: 20px;
	height: 40px;
	padding: 0 25px;
	cursor: pointer;

	background: #e2492f url(../style/search-icon.png) no-repeat center center;

	border-radius: 0 3px 3px 0;

	/*-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;*/
}

.nav > li.nav-search input[type="submit"]:hover { background-color: #4b4441; }

/* Menu Dropdown */
.nav > li > div {
	position: absolute;
	display: block;
	width: 100%;
	top: 25px;
	padding-top:40px;
	left: 0;
	font-weight:normal !important;

	opacity: 0;
	visibility: hidden;
	overflow: hidden;
	padding-bottom:0px;
	



background-image: url(../ucebne/trojuholnik.png?i=12345678), url(bg.png?i=12345678);
    background-position:left top, top;
    background-repeat: no-repeat, no-repeat;






	
	/*
	-moz-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
*/
	
	border-radius: 0 0 3px 3px;
/*
	-webkit-transition: all .3s ease .15s;
	-moz-transition: all .3s ease .15s;
	-o-transition: all .3s ease .15s;
	-ms-transition: all .3s ease .15s;
	transition: all .3s ease .15s;*/
}

.nav > li:hover > div {
	opacity: 1;
	visibility: visible;
	overflow: visible;
}

/* Menu Content Styles */

.nav .nav-columnx {
	float:right;
	width: 24%;
	padding: 0.5%;
	padding-left:0;
	position:relative;
	left:-16px;
}
.nav .nav-columnx img {
	width:100%;
	height:auto;
	margin-top: 15px;

}
.nav .nav-columnx img:hover, .xxxxx {
	filter:alpha(opacity=100);
	-moz-opacity:1;
	-khtml-opacity: 1;
	opacity: 1;
	pointer-events: none;
}
.nav .nav-columnx img:hover, .xxxxx2 {
	filter:alpha(opacity=100) !important;
	-moz-opacity:1 !important;
	-khtml-opacity: 1 !important;
	opacity: 1 !important;
	position:relative;
	z-index:100;
}
.nav .nav-columnx img:hover, .xxxxx2:hover {
	filter:alpha(opacity=100) !important;
	-moz-opacity:1 !important;
	-khtml-opacity: 1 !important;
	opacity: 1 !important;
	position:relative;
	z-index:100;
}

.nav .nav-column {
	float: left;
	width: 25%;
	padding: 2.5%;
	padding-top:5px;
	padding-bottom:0;
	color:#CCCCCC;
	/*background-image:url(krasnemenuciarka.png);
	background-position:right top;
	background-repeat:no-repeat;*/
	/*min-height:140px;*/
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;

}

#menu-wrapperx .nav .nav-column h3 a {
	padding:0;
	margin:0;
}
.nav .nav-column h3 {
	margin: 15px 0 10px 0;
	padding:0;
	margin:0;
	font-weight: bold;
	font-size:14px;
	color: #372f2b;
	
}

.nav .nav-column h3.orange { color: #ff722b; }

.nav .nav-column li a {
	display: block;
	line-height: 26px;
	
	text-transform:none !important;
	font-weight: bold;

	color: #fff;
}

.nav .nav-column li a:hover { color: #666666; }