body, html {
	background-color: #D8D9CA;
	margin: 0;
}

#mainbox {
	max-width: 1600px;
	min-width: 960px;
	width: 100%;
	margin: 0 auto;
	background-color: #F2F25E;
}

nav {
	background-color: #ffffff;
}

nav>ul {
	display: block;
	margin: 0;
	padding: 0;
	float: left;
	z-index: 1000;
}

nav::after {
	content: '';
	clear: both;
	display: block;
}


nav img {
	display: block;
	float: left;
	padding: 15px 15px 15px 25px;
	border: 0;
}

nav #logosmall {
	display: none;
}

nav li {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
	display: block;
	position: relative;
}

nav>ul>li {
	float: left;
}

nav li.ngyttriummenuwithchilds {
	background: url(./down.svg) no-repeat right center;
	padding-right: 10px;
}

nav li li.ngyttriummenuwithchilds {
	background: url(./right.svg) no-repeat right center;
}


nav>ul>li ul {
	display: block;
	margin: 0;
	padding: 0;
	position: absolute;
	border: 1px solid #F2F25E;
	background-color: #ffffff;
	opacity: 0;
	left: -9999px;
	width: 300px;
	transition: opacity 0.2s, transform 0.2s;
	transform: translateY(-20px);
	-webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
	-webkit-transform: translateY(-20px);
	z-index: 1010;
}

nav>ul li.ngyttriummenuopen>ul {
	opacity: 1;
	left: 0;
	transform: translateY(0);
	-webkit-transform: translateY(0);
}

nav>ul li li.ngyttriummenuopen>ul {
	left: 300px;
	top: -1px;
}

nav li a {
	display: block;
	padding: 20px;
	text-decoration: none;
	color: #444444;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	line-height: 20px; 
}

nav li.yttriumlogo a {
	padding: 0px;	
}

nav li.active>a {
	font-weight: bold;
}

nav li li:hover {
	background-color: #F2F25E;
}


header {
	position: relative;
	overflow: hidden;
}

header img {
	width: 100%;
	display: block;
	border: 0;
	position: absolute;
}

header img.yttriumeyepri {
	z-index: 1;
	transition: none;
	-webkit-transition: none;
	opacity: 1;
}

header img.yttriumeyesec {
	z-index: 2;
	transition: none;
	-webkit-transition: none;
	opacity: 0;
}

header img.yttriumeyesecout {
	transition: opacity 0.5s;
	-webkit-transition: opacity 0.5s;
	opacity: 1;
}

#eyecatcherwait {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin:-24px 0 0 -24px;
    z-index: 3;
    background: url(./wait.svg) no-repeat center center;
    opacity: 0;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

header.loading #eyecatcherwait {
    -webkit-animation:spin 1s linear infinite;
    -moz-animation:spin 1s linear infinite;
    animation:spin 1s linear infinite;
    display: block;
    opacity: 1;
	transition: opacity 1s;
	-webkit-transition: opacity 1s;    
}

#yttriumbullets {
	margin: 10px auto 0 auto;
}

#yttriumbullets::after {
	content: '';
	clear: both;
	display: block;
}


#yttriumbullets a {
	width: 20px;
	height: 20px;
	background: url(./bullet.svg) no-repeat left top;
	float: left;
}

#yttriumbullets a.active {
	background-position: left bottom;
}

header form {
	position: absolute;
	right: 40px;
	bottom: 40px;
	margin: 0;
	padding: 0;
	background-color: #ffffff;	
	border-radius: 3px;
	z-index: 4;
}

header form input {
	background-color: #ffffff;
	padding: 13px 30px 13px 30px;
	margin: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	float: left;
	border: 0;
	width: 320px;
	height: 47px;
	border-radius: 3px 0 0 3px;
	color: #444444;
	font: 15px / 21px Verdana,Tahoma,Helvetica,sans-serif;
}

header form input::-moz-placeholder { 
   color:    #aaaaaa;
   opacity:  1;
}
header form input:-ms-input-placeholder { 
   color:    #aaaaaa;
}

header form button {
	background: #1C9A3F url(./search.svg) no-repeat center center;
	display: block;
	width: 47px;
	height: 47px;
	border: none;
	cursor: pointer;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	float: left;
	border-radius: 0 3px 3px 0;
	transition: background-color 0.5s;
	-webkit-transition: background-color 0.5s;
}

header form button:hover {
	background-color: #F2F25E;
}

#maincontainer {
	padding: 40px;
}

#maincontainer::after {
	content: '';
	clear: both;
	display: block;
}


#content {
	padding: 40px;
	background: #ffffff;
	width: 880px;
	box-shadow: 1px 1px 1px rgba(0,0,0,0.1);
	border-radius: 3px;
	float: left;
}

#sidebar {
	width: 320px;
	float: left;
	margin-left: 60px;
}

footer {
	background-color: #35A32E;
	color: #D8D9CA;
	padding: 40px;
}

footer>ul {
	width: 100%;
	margin: 0;
	padding: 0 0 40px 0;
	display: block;
}

footer a {
	color: #D8D9CA;
	text-decoration: none;
	padding-right: 20px;
}

footer a:hover {
	color: #eeeeee;
	text-decoration: none;
}

@media screen and (max-width: 1439px) {

#sidebar {
	display: none;
}

#content {
	padding: 0;
	margin: 0;
	float: none;
	box-shadow: none;
}

#maincontainer {
	background-color: #ffffff;
	margin: 0 auto;
	width: 880px;
}

#mainbox {
	width: 100%;
	margin: 0 auto;
	background-color: #ffffff;
}

nav #logo {
	display: none;
}

nav #logosmall {
	display: block;
}


}

#searchajax {
	position: absolute;
	border: 1px solid ##D8D9CA;
	width: 365px;
	height: 132px;
	background-color: #ffffff ;
	top: 50px;
	overflow: hidden;
	display: none;
	z-index: 20;
}

#searchajax a {
	display: block;
	padding: 4px 10px;
	width: 345px;
	height: 18px;
	line-height: 18px;
	text-decoration: none;
	color: #444444;
}

#searchajax a:hover {
	background-color: #D8D9CA;
}

#searchajax a.activelink {
	background-color: #35A32E;
	color: #ffffff;
}

#breadcrumbs {
	font-size: 90%;
	margin-bottom: 16px;
}