#nx-sh {
	float: right;
	line-height: 1.5em;
	font-size: 12px;
	font-family: "Segoe UI","Trebuchet MS",Tahoma,Ubuntu,"DejaVu Sans",Helvetica,sans-serif;
}

#nx-usertoolswrap {
	float: right;
	display: block;
	position: relative;
	z-index: 2; /* Put dropdown loginbox above the dropdown menu items which have z-index: 1 */
	margin-top: 23px;
	padding-right: 16px;
	padding-left: 15px;
	background: url(./nx_images/usertools-bg-l.png) no-repeat left bottom;
}

#nx-usertools {
	padding: 0 19px 0 4px;
	float: left;
	display: block;
	font-size: 11px;
	height: 17px;
	background: url(./nx_images/usertools-bg-r.png) no-repeat right bottom;
}

#nx-usertools .tools, #nx-usertools .user {
	float: left;
	margin-right: 25px;
	display: block;
	height: 17px;
	line-height: 1.4em;
}

#nx-usertools .user {
	margin-right: 0;
	position: relative;
}

#nx-usertools .user span.username-coloured {
	color: inherit !important;
	font-weight: inherit;
}

#nx-usertools a {
	color: #F4F4F4;
	font-weight: bold;
	vertical-align: middle;
	margin-left: 3px;
	cursor: pointer;
	display: block;
}

#nx-search {
	width: 140px;
	float: left;
	background: #B5DEEA;
	height: 17px;
}

#nx-usertools #nx-keywords {
	border: none;
	width: 102px;
	background: none;
	font-size: 11px;
	vertical-align: baseline;
	color: #6B6B6B;
	cursor: text;
	padding: 0px 2px;
}

#nx-search-type {
	height: 17px;
	width: 17px;
	background-image: url('./nx_images/tools.png');
	cursor: pointer;
	opacity: 0.4;
	float: left;
}
#nx-search-type:hover {
	opacity: 1;
}
#nx-search-box {
	float: left;
}
#nx-search-go {
	height: 17px;
	width: 17px;
	background: url('./nx_images/tools.png') 0 -51px;
	cursor: pointer;
	float: right;
}
* html #nx-search-go {display: none;} /* Sorry, I can't understand what IE6 wants from me. */

#nx-fonttool {
	display: inline-block;
	float: left;
	margin-left: 8px;
	background: url('./nx_images/tools.png') no-repeat 4px -68px;
}

#nx-colortool {
	display: inline-block;
	float: left;
	margin-left: 8px;
	background: url('./nx_images/tools.png') no-repeat 4px -85px;
}

#nx-profiletool {
	display: inline-block;
	float: left;
	margin-left: 8px;
	background: url('./nx_images/tools.png') no-repeat 4px -136px;
}

#nx-fonttool a, #nx-colortool a, #nx-profiletool a {
	display: inline-block;
	float: left;
	width: 16px;
	height: 17px;
}

#btn-tools {
	width: 14px;
	background: url('./nx_images/tools.png') no-repeat 0 -102px;
}

#nx-loginbox {
	position: absolute;
	top: 15px;
	left: 4px;
	overflow: hidden;
	color: #FFF;
}

#nx-loginbox #loginbox-inner {
	position: relative;
	width: 214px;
	margin: 15px;
	line-height: 1.7em;
	background: #66ACC7 url(./nx_images/loginbox.png) no-repeat;
	border-radius: 0 12px 0 12px;
	box-shadow: 0 0 15px #444444;
	-moz-border-radius: 0 12px 0 12px;
	-moz-box-shadow: 0 0 15px #444444;
	-webkit-border-radius: 0 12px 0 12px;
	-webkit-box-shadow: 0 0 15px #444444;
}

#nx-loginbox p {
    position: absolute;
    left: 12px;
    top: -9px;
    width: 17px;
    height: 11px;
	margin: 0;
    background: url(./nx_images/tools.png) no-repeat 0 -119px;
}

#nx-loginbox form {
	padding: 10px 15px 12px;
	background: url(./nx_images/loginbox.png) bottom no-repeat;
}

#nx-loginbox .inputbox {
	width: 96%;
	margin: 0 0 3px;
}

#nx-loginbox a {
	color: #FFF;
	padding-left: 8px;
	background: url(./nx_images/arrow-1.png) no-repeat left center;
}
#nx-loginbox a:hover {
	background: url(./nx_images/arrow-2.png) no-repeat left center;
}

#nx-loginbox .button {
	height: 14px;
	line-height: 14px;
	font-size: 12px;
	box-sizing: content-box;
}

/* MAIN NAVIGATION
--------------------------------------------------------- */
#nx-mainnav {
	float: right;
	display: block;
	margin-top: 22px;
	height: 32px;
	clear: both;
	width: 100%;
	background: url("./nx_images/menu-bg-r.png") top right no-repeat;
	font-size: 0.9em;
}

#nx-mainnav a  {
	color: #FFFFFF;
	font-weight: bold;
	text-transform: uppercase;
}

li.menuitemend a {
	background: none !important;
}

/* Default Joomla! Menu */
/*
a.mainlevel {
	padding: 4px;
	display: block;
	color: #6B6B6B;
	text-decoration: none;
	border-bottom: 1px solid #F3F3F3;
}

a.mainlevel:hover,
a.mainlevel:active,
a.mainlevel:focus,
a.mainlevel#active_menu {
	background: url(./nx_images/arrow-on.gif) no-repeat center right #F3F3F3 !important;
	color: #6B6B6B;
	text-decoration: none;
}

a.sublevel {
	padding: 2px 4px 2px 16px;
	display: block;
	text-decoration: none;
	background: url(./nx_images/bullet-list.gif) no-repeat 3% 50%;
	color: #6B6B6B;
	border: 1px solid #FFFFFF;
}

a.sublevel:hover,
a.sublevel:active,
a.sublevel:focus {
	color: #6B6B6B;
	background: url(./nx_images/bullet-list-on.gif) no-repeat 3% 50%;
}

#nx-leftcol #active_menu, #nx-rightcol #active_menu {
	color: #E9A853;
	background: url(./nx_images/bullet-list-on.gif) no-repeat 3% 50% #F3F3F3;
	text-decoration: none;
	border: 1px solid #E6E6E6;
}
*/
/*End: Default Joomla! Menu  */


/* CSS menu */
.nx-cssmenu li {
	position: relative;
}

.nx-cssmenu li ul,
.tools #nx-loginbox {
	transition: width .25s, height .25s, transform .1s, -webkit-transform .1s, -ms-transform .1s;
}

.nx-cssmenu li:hover > a + ul,
.hastouch .nx-cssmenu li > a.toggled + ul
{
	left: 0 !important;
}

.nx-cssmenu li.toggle-right:hover > a + ul,
.hastouch .nx-cssmenu li.toggle-right > a.toggled + ul
{
	left: auto !important;
	right: 0;
}

.nx-cssmenu li.havechild > a + ul,
.tools #nx-loginbox {
	-ms-transform: scale(1, 0);
	-ms-transform-origin: left top;
	-webkit-transform: scale(1, 0);
	-webkit-transform-origin: left top;
	transform: scale(1, 0);
	transform-origin: left top;
}

.nx-cssmenu li.havechild:hover > a + ul,
/*.tools:hover #nx-loginbox,*/
.hastouch .nx-cssmenu li.havechild > a.toggled + ul,
.tools #btn-login.toggled + #nx-loginbox
{
	height: auto !important;
	-ms-transform: none;
	-webkit-transform: none;
	transform: none;
}

.nx-cssmenu li.havesubchild:hover > a + ul,
.hastouch .nx-cssmenu li.havesubchild > a.toggled + ul
{
	width: 172px !important;
}

/* Login box
#nx-loginbox label {
	color: #FFF;
}
#nx-loginbox input {
	font-size: 0.9em;
}
#nx-loginbox .inputbox {
	color: #6B6B6B;
	background: #F8F8F8;
}
#nx-loginbox label input {
	vertical-align: -2px;
}
#nx-loginbox fieldset {
	font-size: 12px;
}
*/

@media only screen and (max-width: 500px), only screen and (max-device-width: 500px) {
	#nx-sh {
		float: none;
	}

	#nx-mainnav {
		float: none;
		margin-top: 0;
		padding-top: 10px;
		background: transparent none;
		height: auto;
	}

	#nx-mainnav ul.nx-cssmenu {
		padding: 0;
		float: none;
		background: url('./nx_images/menu-bg.png') 0 0 repeat;
		text-align: center;
	}

	#nx-mainnav ul.nx-cssmenu:before, #nx-mainnav ul.nx-cssmenu:after {
		display: table;
		content: ' ';
		clear: both;
	}

	#nx-mainnav .nx-cssmenu > li {
		display: inline-block;
		float: none;
		text-align: left;
		margin-left: -3px;
	}

	#nx-mainnav .nx-cssmenu li.havesubchild > a {
		background-image: none;
	}

	#nx-mainnav .nx-cssmenu li.havesubchild > a + ul {
		display: none !important;
	}

	#nx-mainnav .nx-cssmenu > li > a {
		letter-spacing: -.3px;
	}

	.nx-cssmenu li ul ul {
		margin-left: 20px !important;
	}
}
/*
@media only screen and (max-width: 550px), only screen and (max-device-width: 550px) {
		#nx-usertoolswrap {
			float:left;
			padding-left: 0px;
			margin-top: -18px;
	}
}*/

@media only screen and (max-width: 640px), only screen and (max-device-width: 640px) {
	#nx-sh {
		text-align: center;
	}
	.nx-cssmenu {
		text-align: left;
	}

/*	#nx-usertools #nx-keywords {
		width: 52px;
	}

	#nx-search {
		width: 90px;
	}*/
}

/* FOOTER
--------------------------------------------------------- */
#nx-botnavwrap {
    position: absolute;
    left: 0px;
    right: 0px;
    background: #83C4D6 none repeat scroll 0% 0%;
    border-bottom: 1px solid #BADEE8;
    border-top: 1px solid #BADEE8;
    clear: both;
}

#content-category {
	margin-bottom: 40px;
}

#nx-botnav {
	line-height: 17px;
	height: 18px;
	padding: 0;
	position: relative;
	overflow: hidden;
}

#nx-botnav span {
	display: block;
	height: 18px;
/*	float: left; */
	margin-right: 15px;
	font-size: 1.2em;
}

#nx-botnav a {
	color: #FFFFFF;
	margin: 0 4px;
	font-weight: bold;
}

a.gotop-button {
	display: inline-block;
	height: 18px;
	background: url(./nx_images/arrow-top.gif) no-repeat center;
	padding-right: 11px;
}

a.gotop-button:hover {
	background: url(./nx_images/arrow-top.gif) no-repeat center 35%;
}

#nx-footerwrap {
	color: #FFFFFF;
	clear: both;
	padding-bottom: 0;
}

#nx-footer {
	padding: 10px 20px 0;
	overflow: hidden;
	font-size: 1em;
}

#nx-footer a {
	color: #FFFFFF;
	text-decoration: underline;
}

#nx-copyright {
	float: left;
/*	width: 28%; */
	width: 25%;
	margin: 16px 2% 0 1%;
	line-height: 1.5em;
}
#nx-sape {
	float: left;
/*	width: 26%;
	height: 37px; */
	overflow: hidden;
	margin: 5px 2% 0;
	text-align: center;
/*	line-height: 37px; */
	border: 1px solid #DDD;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	max-width: 34%;
	min-width: 28%;
	padding: 8px;
}
#nx-counters {
	float: right;
/*	width: 35%; */
	width: 27%;
	height: 15px;
	overflow: hidden;
	margin: 45px 1% 0 2%;
	text-align: right;
}
#nx-counters a {
	margin-left: 5px;
	display: block;
	float: right;
}
#nx-counters img {
	vertical-align: text-bottom;
}


#nx-botnav span.small-icon {
	background-image: none !important;
}

#nx-botnav span.small-icon > a {
	display: inline;
	padding: 0;
}


#nx-botslwrap {
	min-height: 143px;
	clear: both;
}
#nx-botsl {
	padding: 20px 0;
}

.nx-box {
	float: left;
	overflow: hidden;
	text-align: center;
	width: 33%;
}

@media only screen and (max-width: 870px), only screen and (max-device-width: 870px) {
	.nx-box img {
		height: 40px;
	}
}

@media only screen and (max-width: 600px), only screen and (max-device-width: 600px) {
	.nx-box img {
		height: 30px;
	}

	#nx-copyright, #nx-counters {
		float: none;
		width: auto;
		text-align: center;
		margin: 10px auto 0;
	}

	#nx-botnav span {
		margin: 0 !important;
	}
}

@media only screen and (max-width: 450px), only screen and (max-device-width: 450px) {
	.nx-box {
		width: auto;
		float: none;
		padding-top: 20px;
		margin: 0 auto;
	}

	#nx-botnav span a {
		display: inline-block;
		white-space: nowrap;
		max-width: 45px;
		overflow: hidden;
		text-overflow: ellipsis;
		letter-spacing: -.3px;
	}
}


#nx-usertools a {
	vertical-align: baseline; /* XHTML Strict */
}

#nx-loginbox label {
	color: #FFF;
}
#nx-loginbox input {
	font-size: 0.9em;
}
#nx-loginbox .inputbox {
	color: #6B6B6B;
	background: #F8F8F8;
}
#nx-loginbox label input {
	vertical-align: -2px;
}

#nx-footer p {
	font-size: 1em;
	color: #FFF;
}

.nx-header-avatar:hover {
	text-decoration: none;
}

.nx-header-avatar img {
	margin-bottom: 2px;
	max-height: 15px;
	vertical-align: middle;
	width: auto;
}

.nx-header-avatar span:after {
	display: inline-block;
	font-size: 9px;
	float: right;
	padding-left: 2px;
	opacity: 0.7;
}