a,a:visited,a:link {
	color: #3E47A2;
}

a:visited {
	color: #793ea2;
}

a:hover,a:visited:hover {
	color: #50619f;
}

.custom_content h2 {
	margin-top: 1.5em;
}

.custom_content em {
	font-weight: normal; color: #000;
}

body {
	background: #f4f4f4 url(images/bg_body.png) repeat-x center top;
}

#page {
	background: transparent none;
}

#header_wrapper,#header {
	height: 133px;
}

#headlinks,#headlinks.active {
	border: none;
}

#search {
	background: none repeat scroll 0 0 transparent; padding: 0; position: relative;
	text-align: right; top: -100%;
}

#search-form {
	width: 300px; padding-right: 10px; position: absolute; right: 0; top: 0; height: 40px;
	padding-top: 15px;
	background: url("images/bg_head_search.png") no-repeat scroll right bottom transparent;
}

#speciallinks {
	display: none;
}

#search input[type="text"] {
	width: 190px;
}

.panel_left #sidepanel_left {
	width: 200px;
}

.panel_left #content {
	margin-left: 200px; padding-right: 10px;
}

#headlinks ul {
	margin-left: 20px;
}

.sidebox h3 {
	border-bottom: none; padding: 5px 2px; margin: 2px; background: #46638a none; color: #fff;
	font-size: 1em !important;
}

#settings li span,#settings>ul>li>a {
	color: #fff;
}

#settings {
	top: 0; right: 310px; text-align: right; width: 500px;
}

#settings>ul {
	float: right; height: 40px; padding-left: 15px; padding-top: 15px;
	background: url("images/bg_head_search.png") no-repeat scroll left bottom transparent;
}

#settings div.expander_box {
	text-align: left;
}

#outer_wrapper {
	margin-top: 0;
}

#page_wrapper {
	background: #fff; padding-top: 5px;
}

/* #settings a.expander { background-color: #5d6b9c; margin-left: 5px; } */
#headlinks ul li>a,#headlinks li.basket>a {
	background-color: #46638a; color: #fff;
}

#headlinks ul li>a:hover,#headlinks li.basket>a:hover,#settings a.expander.active,#settings a.expander:hover
	{
	background-color: #3c5473;
}

#settings a.expander.active,#settings a.expander:hover {
	border-color: #3c5473; color: #fff;
}

#logo img {
	top: 15px;
}

#footer_wrapper {
	background: transparent none; margin: 0 auto;
}

#footer {
	padding: 0; margin: 0 auto; background-color: #fff; width: 1050px;
	border: 15px solid #fff; border-radius: 15px 15px 0 0; -moz-border-radius: 15px 15px 0 0;
	-webkit-border-radius: 15px 15px 0 0; -khtml-border-radius: 15px 15px 0 0;
}

#footer .master {
	margin: 1em 0 0 0
}

#footer .footer_box fieldset.newsletter input[type="text"] {
	width: 220px;
}

#frontpage_banner {
	margin-top: -10px;
}

#simplemodal-container {
	border-color: #46638A;
}

#page_wrapper {
	border-radius: 0 0 10px 10px; -moz-border-radius: 0 0 10px 10px;
	-webkit-border-radius: 0 0 10px 10px; -khtml-border-radius: 0 0 10px 10px;
}

#simplemodal-container {
	border: 0; background: url("../blue/images/popup_border.png"); padding: 8px;
}

.simplemodal-data {
	background-color: #fff; padding: 12px;
}

#settings .expander_box {
	border: 0; background: url("../blue/images/popup_border.png"); padding: 8px;
}

#settings .expander_inner {
	background-color: #fff; padding: 8px;
}

#fancybox-outer {
	border: 0; background: url("../blue/images/popup_border.png"); padding: 8px;
}

#fancybox-close {
	top: 8px; right: 8px;
}

#fancybox-left-ico {
	left: 8px;
}

#fancybox-right-ico {
	right: 8px; left: auto;
}

#headlinks li.basket.items>a {
	color: #4d3d0c !important; text-shadow: 0 1px 0 #FFEE66;
	background: url("../base/images/button_bg.png") repeat-x scroll left top #FFAA22 !important;
}

#headlinks li.basket div.articles {
	background: url("../blue/images/popup_border.png") repeat scroll 0 0 transparent
		!important; border: 0 none; padding: 8px;
}

.datepicker {
	border-color: #46638A;
}

#footer {
	margin: 15px auto 0 auto;
}

#headlinks li.basket div.articles table {
	background-color: #fff; padding: 5px;
}

#configset ul.semtabs li.active a {
	background-color: #46638A; color: #fff;
}