/*   
Theme Name: Berggren
Theme URI: 
Description: Toolbox child theme for Berggren
Author: Eero Louhenperä, Lauri Merisaari @ Viidakkorumpu
Author URI: http://www.viidakkorumpu.fi/
Template: toolbox
Version: 0.7
Tags: berggren
*/

@import url('css/reset.css');
@import url('css/front-page.css');
@import url('css/personnel.css');

/* =Structure
-------------------------------------------------------------- */
html {
	height: 100%;
}
body {
	font-family: "Helvetica Neue LT" ,arial, helvetica, sans-serif;
	font-size: 72%;
	/*font: 62.5%/1 "Lucida Sans Unicode","Lucida Grande",sans-serif;*/
	/*background: url('images/bg.gif');*/
	background-color: #dbdbdb;
	background-position: top left;
	background-repeat:repeat-x;
	height: 100%;
	color: #3c3c3c;
}
a {
	color: #3c3c3c;
}

/* Backgrounds */
.offices_bg, 
.news_bg, 
.page_bg,
.category_bg,
.search_bg,
.single_bg {
	background: url('images/taustakuva_1.jpg');
	background-color: #dbdbdb;
	background-position: top center;
	background-repeat: no-repeat;
}

#header {
	display: block;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    height: 95px;
    max-height: 95px;
	position: relative;
	background-color: #ffffff;
	z-index: 1000;
}
#page {
	display: block;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
	position: relative;
    height: auto !important;
    min-height: 100%;
	z-index: 10;
}

#breadcrumb_bar {
	display: block;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    height: 30px;
    max-height: 30px;
	position: relative;
	z-index: 10;
	width: 940px;
}

#main { 
	display: block;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
	width: 940px;
	position: relative;
}

#primary {
	float: right;
	/* margin: 0 0 10px -260px; */
	margin: 0 0 10px 0;
	margin-bottom: 10px;
	padding-top: 10px;
	/* width: 100%; */
	width: 710px;
	height: 100%;
	font-size: 1em;
	line-height: 1.5em;
}
#secondary {
	min-height: 100%;
	width: 220px;
	float: left;
	background-color: #ffffff;
	z-index: 980;
	height: 100%;
	padding-bottom: 10px;
}
#content {
	background-color: #FFFFFF;
	padding-left: 35px;
	padding-right: 35px;
	margin: 0px;
	padding-top: 40px;
	padding-bottom: 40px;
	/*min-height: 360px;*/
}
#content.sidabar_on {
	width: 490px;
}

#news_page_widgets, #office_widgets {
	width: 140px;
	float: right; 
	margin-top: 0px;
	margin-bottom: 0px;
}

#colophon {
	clear: both;
	display: block;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
	position: relative;
	z-index: 10;
	width: 940px;
    height: auto !important;
    min-height: 100%;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.section-heading {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* =Header
-------------------------------------------------------------- */

#branding { 
	display: block;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
	width: 940px;
	position: relative;
}
#site-title {
	display: block;
    padding-top: 7px;
	height: 80px;
	width: 251px;
}
#header_misc { 
	position: absolute; 
	top: 10px; 
	right: 0px;
}

#headerimage {
	display: block;
	min-height: 130px;
	width: 710px;
	max-width: 710px;
	overflow-x: hidden;
	margin-bottom: 10px;
}
#headerimage a {
	display: block;
	min-height: 130px;
	width: 710px;
	max-width: 710px;
}
/* =Menu
-------------------------------------------------------------- */

#access {
	position: absolute;
	top: 38px;
	left: 260px;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
	margin-left: 0px;
	list-style-type: none;
}
#access li.current-menu-item a, #access li.current-menu-perent a {
	text-decoration: underline;
}
#access a {
	color: #6c6c6c;
	display: block;
	line-height: 2em;
	padding: 0 0.6em;
	text-decoration: none;
}
#access a:hover {
	text-decoration: underline;
}
#access ul ul {
	box-shadow: 2px 2px 3px #aaaaaa;
	-moz-box-shadow: 2px 2px 3px #aaaaaa;
	-webkit-box-shadow: 2px 2px 3px #aaaaaa;
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 9999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #dedede;
	line-height: 1.3em;
	padding: .5em .5em .5em 1em;
	width: 15em;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	background: #dedede;
}
#access ul ul a:hover {
	background: #cecece;
}
#access ul li:hover > ul {
	display: block;
}


/* =Content
-------------------------------------------------------------- */

.article_image { 
    margin-bottom: 0.8em;
    margin-top: 0.8em;
}
/*.page .hentry, .single .hentry { padding: 1em 0; background: #fff; }*/

div.wp-caption {
	border: 1px solid #cecece;
}
div.alignleft {
	margin-right: 12px;
}
div.alignright {
	margin-left: 12px;
}

#content h1.entry-title, #content h1.page-title,
#content h2.entry-title, #content h2.page-title,
#content h3.entry-title, #content h3.page-title { 
	margin-top: 0.5em;
	margin-bottom: 1em;
	line-height: 1.2em;
	clear: left;
	/*font-size: 1.5em;*/
	display: block;
}
.entry-title, .page-title {
	clear: left;
}

#content .entry-title a, #content .page-title a { 
	color: #00a53a; 
	text-decoration: none;
	line-height: 1.3em;
}
#content .entry-content { 
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	clear: left;
}
#content .entry-content p,
#content .entry-summary p { 
	margin-bottom: 1.5em;
	line-height: 1.8em;
}
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 { 
	/*
	margin-bottom: 0.5em;
	line-height: 1em;
	*/
}
#content .entry-meta { 
	color: #6D6D6D;
}
#content .entry-meta .author { 
	display: none;
}

/* Pages with aside */

#main { position: relative; }
#content .with_aside { background: #fff; padding: 10px 0; margin-right: 150px; }
#page_aside { position: absolute; top: 378px; right: 0; width: 140px;  background: #fff; } 
#page_aside2 { position: absolute; top: 645px; right: 0; width: 140px;  background: #fff; } 


/* Category listings. Extend to Archives with .archive */

#cat_listing .entry-meta, #archive .entry-meta { 
	/*
	float: left;
	width: 20%;
	margin-bottom: 0em;
	font-style: normal;
	text-align: left;
	*/
}
#cat_listing .specialists .entry-title { 
	margin-top: 0px;
}
/*
#cat_listing .specialists .entry-title a { 
	color: #00a53a; 
	text-decoration: none; 
}
#cat_listing .specialists .entry-title a:hover, .category-ajankohtaista .entry-title a:active { 
	color: #00a53a; 
	text-decoration: underline;
}
*/

#cat_listing .hentry { 
	margin-bottom: 2em;
	display: block;
}

.page table { margin-top: 1em;}
.page td { 
	padding-bottom: 10px; 
	width: 33%;
	text-transform: uppercase;
}

#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	/*display: none;*/
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 3em 0 0;
}
.page-link {
	margin: 0 0 1em;
}
.more {
	display: block;
	clear: both;
	text-align: right;
	padding-top: 1em;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}
.error404 li, .not-found li {
	margin-left: 1em;
	list-style-type: none;
	list-style-position: outside;
}

/* Notices */
.post .notice, #content .error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}


/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
	
}
.wp-smiley {
	margin: 0;
}


/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 100px;
	font-size: 1em;
}
#searchform input#searchsubmit {
	font-size: 1em;
	width: 54px;
	height: 21px;
}

input[type=text], input#s {
	width: 150px;
	padding: 0px;
	font-size: 1em;
	font-style: italic;
	color: #999999;
}
input[type=text]:focus, input#s:focus {
	font-style: normal;
	color: #000000;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
	margin-bottom: 10px;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 15px;
	padding-bottom: 15px;
	background-color: #ffffff;
}
#footer_widgets .widget {
	background-color: transparent;
	padding: 0px;
	padding-top: 24px;
	margin: 0px;
}
#map_overlay {
	display: block;
	background-color: #808080;
	padding: 15px;
}
#map_overlay h2 {
	margin-bottom: 10px;
	width: 80%;
	display: block;
	clear: left;
}
#map_overlay a.close {
	margin-bottom: 10px;
	cursor: pointer;
	float: right;
	width: 19%;
	text-align: right;
}
#google_map, #linktocontact {
	position: relative;
	background-color: #808080;
	color: #ffffff;
	left: 0px;
	top: 0px;
	cursor: pointer;
}
#google_map a, #linktocontact a {
	color: #ffffff;
	text-decoration: none;
}

.widget-title {
	font-weight: bold;
	margin-bottom: 1em;
}

.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}

.textwidget p { 
	margin-top: .5em; 
	font-size: 10px; 
	line-height: 1.5em; 
}
#sub_menu li, .sub-menu li {
	margin-left: 0px;
	list-style-type: none;
}
#sub_menu {
	margin: 18px 19px;
}
#sub_menu .sub-menu {
	margin-bottom: 0.5em;
}

#sub_menu .menu-item a, #sub_menu .cat-item a { 
	display: block;
	padding-top: 0.3em;
	padding-bottom: 0.3em;
    color: #888888;
    /*font-size: 1.4em;*/
    font-weight: bold;
    line-height: 1.2em;
    text-decoration: none;
}
#sub_menu .menu-item li a, #sub_menu .cat-item li a { 
	padding-left: 12px;
	color: #aaaaaa;
	font-style: normal;
	font-weight: normal;
    /*font-size: 1.1em;*/
}
#sub_menu li.menu-item > a:hover, 
#sub_menu li.cat-item > a:hover, 
#sub_menu li.current-cat > a,
#sub_menu li.current-menu-item > a { 
	color: #505050; 
}

/* =Footer
-------------------------------------------------------------- */

#footerhr {
	clear: both;
	width: 94%;
	display: block;
	height: 1px;
	line-height: 1px;
	margin-left: 3%;
	margin-right: 3%;
	margin-top: 0%;
	margin-bottom: 0%;
	background-color: #5b5b5b;
	border: 1px;
}

#footer_content { 
	color: #fff; 
	min-height: 180px;
	line-height: 1.2em; 
	background: #6d6d6d;
	/*padding-bottom: 50px;*/
	font-size: 0.9em;
	margin-bottom: 1em;
	margin-top: 1em;
}

#footer_content .footer_logobox {
	width: 85px;
	display: block;
	padding-top: 18px;
	padding-left: 27px;
	float: left;
}
#footer_content .footer_logo {
	display: block;
	padding-right: 20px;
}

#footer_content a, #footer_content a:link, #footer_content a:visited, #footer_content a:active { 
	color: #fff;
	text-decoration: none;
}
#footer_content a:hover, #footer_content a:focus { 
	color: #fff;
	text-decoration: underline;
}
#footer_content .widget-area {
	width: 157px; 
	float: left;
	margin-bottom: 2em;
}
#footer_content .widget-area .widget_search {
	overflow: hidden;
}
#footer_content .widget-area .widget_search input {
	float: left;
	margin-right: 0.5em;
}
#footer_content .widget-area h3 { 
	font-weight: bold;
	font-size: 1.3em;
}
#footer_content .textwidget p { 

}

#footer_content .widget { 
    display: block;
    margin-bottom: 1em;
}
#footer_content .widget ul ul { 
    padding-left: 10px;
}
#footer_content .widget li a { 
    color: #AAAAAA;
    font-size: 1em;
    font-weight: bold;
    line-height: 1.6em;
    text-decoration: none;
}
#footer_content .widget li a:hover { 
	color: #ffffff;
}

#footer_content .newsletter { 
	font-weight: bold;
	font-size: 1.3em;
	line-height: 1.1em;
}
#footer_content .newsletter p { 
	padding-top: 10px; 
}

.clear { clear: both; }

#footermenu {
	float: left;
	width: 670px;
}
#footermenu ul {
	margin: 0em;
}

#footermenu li {
	margin-left: 0px;
	list-style-type: none;
}
#footermenu li a {
	color: #ffffff;
	text-decoration: none;
	line-height: 1.4em;
}
#footermenu li a:hover {
	text-decoration: underline;
}
#footermenu ul.menu > li {
	float: left;
    padding: 20px 0;
    width: 128px;
}
#footermenu ul.menu > li > a {
	font-size: 1.3em;
	font-weight: bold;
	line-height: 1.6;
}
#footermenu ul.menu > li > a > span.prefix {
	display: none;
}

#footermenu ul.menu > li.menu-item-home, #footermenu ul.menu > li:first-child {
	/*
	margin-top: 0px;
	margin-left: 3%;
	padding: 10px 0; 
    width: 15%; 
	float: left; 
	*/
	display: none;
}
#footermenu ul.menu > li.menu-item-home a, #footermenu ul.menu > li:first-child a {
	background-image: url('images/logo_bw.gif');
	background-repeat: no-repeat;
	text-decoration: none;
    margin-left: 20px;
	width: 100px;
	height: 100px;
	display: block;
	text-align: right;
	vertical-align: bottom;
	font-size: 0;
}

/* =Plugins
-------------------------------------------------------------- */

#lang_selector { margin-bottom: 15px; text-align: right; height: 12px; }
#lang_selector a { color: #00a53a; text-decoration: none; }
#lang_selector a:hover, #lang_selector a:active { color: #00a53a; text-decoration: underline; }

.breadcrumb { 
	width: 870px; 
	overflow:hidden; 
	float:left;
	line-height: 30px;
	height: 30px;
	background-color: #ffffff;
	z-index: 990;
	display: block;
}
.breadcrumb_empty {
	width: 870px; 
	overflow:hidden; 
	float:left;
	line-height: 30px;
	height: 30px;
	z-index: 990;
	display: block;
}
.breadcrumb-trail { margin-left: 15px; font-size: 1em; color: #000; }
.breadcrumb-trail a { color: #666; text-decoration: none; }
.breadcrumb-trail a:hover { color: #767676; text-decoration: underline; }
.breadcrumb-trail span.sep { color: #666666; margin-right: 2px; margin-left: 2px; }

#extranet_link {
	line-height: 30px;
	/*
	width: 70px;
	height: 30px;
	*/
	width: 129px;
	height: 47px;
	float: left;
	z-index: 990;
	background-color: white;
}
#extranet_link:hover {
	background-color: #e4e4e4;
}
#extranet_link a {
	display: block;
	width: 129px;
	height: 47px;
	font-size: 0px;
	color: #ffffff;
	background-image: url('images/greip_en.gif');
	background-position: 0px 0px;
}
#extranet_link a:hover, #extranet_link a:focus {
	display: block;
	width: 129px;
	height: 47px;
	font-size: 0;
	color: #e4e4e4;
	background-image: url('images/greip_en.gif');
	background-position: 0px 1px;
}

.subtitle {
	display: block;
	color: #00A53A;
	border-bottom: 1px solid #CECECE;
	margin-bottom: 1.5em;
	font-size: 1.7em;
	font-weight: normal;
	padding: 0.5em;
	margin-top: 0em;
}

/* category listsing & search */
#cat_listing { 
	background: #fff; 
	min-height: 130px; 
	vertical-align: top;
}

#cat_listing .page-title { 
	/*padding-bottom: 30px;*/
	margin-bottom: 2em;
}

#cat_listing div.specialists {
    /*
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 0px;
    padding-bottom: 30px;

    */
}
#cat_listing div.specialists div.featured_image {
	float: left;
	width: 25%;
}
#cat_listing div.specialists div.entry-summary {
	float: left;
	display: block;
	width: 75%;
}
#cat_listing div.specialists div.entry-summary p {
	display: block;
	width: 100%;
	margin-bottom: 0em;
}
#cat_listing div.specialists div.entry-title {
	margin: 0px;
    padding-bottom: 10px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
	display: block;
	width: 100%;
}
#cat_listing div.specialists div.entry-title a {
	font-size: 1.2em; 
	background: none;
	line-height: 1.2em;
	display: block;
	text-decoration: none;
	color: #3c3c3c;
}
#cat_listing div.specialists div.entry-title a:hover {
	text-decoration: underline;
}
#cat_listing span.cfieldkey {
	font-weight: normal;
	float: left;
	display: block;
	width: 36%;
	clear: left;
	margin-right: 2%;
	padding-bottom: 0.1em;
	font-weight: bold;
}
#cat_listing span.cfieldvalue {
	float: left;
	display: block;
	width: 62%;
	padding-bottom: 0.1em;
}
#cat_listing div.more {
	display: block;
	clear: both;
	text-align: left;
	padding-top: 1em;
}

/* single specialist */

#specialist div.specialists {
    padding-bottom: 25px;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 0px;
}
#specialist div.featured_image {
    display: block;
    float: none;
    margin-bottom: 0.8em;
}
#specialist div.leftcol {
    border: 0px solid #CECECE;
    display: block;
    float: right;
    margin-bottom: 0.8em;
    margin-left: 30px;
    width: 35%;
}
/* Basic tekst styles -> */
pre {
	font-family: Courier New, Courier New, monospace;
	margin-bottom: 1em;
	margin-left: 5%;
	width: 95%;
	border: 1px solid #CECECE;
	overflow: auto;
	padding: 0.4em;
}
h3, h4, h5, h6 {
	font-weight: bold;
}
ul, ol {
	margin-bottom: 1.5em;
}
ul > li {
	margin-left: 30px;
	list-style-type: disc;
	list-style-position: outside;
}
ol > li {
	margin-left: 30px;
	list-style-type: decimal;
	list-style-position: outside;
}
.alignleft {
	padding-right: 15px;
	padding-bottom: 5px;
}
.alignright {
	padding-left: 15px;
	padding-bottom: 5px;
}
.aligncenter{
	padding-top: 5px;
	padding-bottom: 5px;
}
blockquote {
	font-style: italic;
}
blockquote:before {
	position: relative;
	left: -20px;
	top: 6px;
	height: 0;
	width: 0;
	display: inline-block;
	content: url('images/quot.gif');
}
/* <- Basic teks styles */
#specialist div.leftcol .cfields {
	display: block;
    padding: 1.5em;
    padding-top: 2em;
}
#specialist div.leftcol .cfieldkey {
    padding-bottom: 4%;
}
#specialist div.featured_image p {
    margin-bottom: 0.8em;
}
#specialist div.leftcol h3 {
    margin-bottom: 0.8em;
    margin-top: 0.8em;
    font-weight: bold;
}
#specialist div.entry-summary {
	float: left;
	display: block;
	width: 60%;
}
#specialist div.entry-summary blockquote {
	font-style: italic;
}

#specialist div.entry-summary p {
	display: block;
	width: 100%;
	margin-bottom: 1.5em;
	line-height: 1.5em;
}
#specialist div.entry-title {
	margin: 0px;
    padding-bottom: 10px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
	display: block;
	width: 100%;
}
#specialist div.entry-title a {
	font-size: 2em; 
	background: none;
	line-height: 1.2em;
	display: block;
	text-decoration: none;
	color: #aaaaaa;
}
#specialist span.cfieldkey {
	font-weight: normal;
	float: left;
	display: block;
	width: 36%;
	clear: left;
	margin-right: 2%;
	padding-bottom: 2%;
}
#specialist span.cfieldvalue {
	float: left;
	display: block;
	width: 62%;
	padding-bottom: 2%;
}

/* specialist tabs */
#tabs {
	display: block;
	float: none;
	height: 2.4em;
	white-space: nowrap;
	margin-bottom: 0px;
}
#tabs li {
	margin-left: 0px;
	list-style-type: none;
	display: inline-block;
	float: left;
	position: relative;
	margin-top: 1px;
	height: 2.3em;
	overflow: hidden;
	list-style-position: inside;
}
#tabs li.current-cat, #tabs li:hover {
	position: relative;
	z-index: 20;
	margin-top: 0px;
	height: 100%;
	overflow: visible;
	/*max-width: 100% !important;*/
}
#tabs li a {
	/*background-image: url('images/dots.gif');*/
	background-position: bottom right;
	background-repeat: no-repeat;
	display: block;
	border-top: 1px solid #cecece;
	border-left: 1px solid #cecece;
	border-right: 1px solid #cecece;
	border-bottom: 1px solid #ffffff;
	padding: 0.4em;
	padding-left: 1em;
	padding-right: 1em;
	text-decoration: none;
	background-color: #dbdbdb;
	white-space: normal;
	position: relative;
	line-height: 1.6em;
	z-index: 1;
}
#tabs li:hover a, #tabs li.current-cat a {
	background: none;
	white-space: normal;
	display: block;
	border-top: 1px solid #ffffff;
	border-left: 1px solid #ffffff;
	border-right: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	padding: 0.4em;
	padding-left: 1em;
	padding-right: 1em;
	text-decoration: none;
	background-color: #ffffff;
	height: 100%;
	overflow: hidden;
}
#tabs li a:hover {
	text-decoration: underline;
}

/* =Effects
-------------------------------------------------------------- */

.banner,
.breadcrumb,
#header,
#main .widget-area > div,
#secondary,
#featured,
#news,
#clients,
#footer_content,
#banner1,
#banner2,
#personnel_search,
#content,
#map_overlay,
#extranet_link,
#rekry_banner_content
{
	-moz-box-shadow: 2px 2px 3px #aaaaaa; /* Firefox */
  	-webkit-box-shadow: 2px 2px 3px #aaaaaa; /* Safari and Chrome */
  	box-shadow: 2px 2px 3px #aaaaaa; /* Opera 10.5+, future browsers and IE6+ using IE-CSS3 */

  	/* IE XImageTransform brakes font smoothing
  	/*
  	filter: progid:DXImageTransform.Microsoft.Shadow(color='#aaaaaa', Direction=135, Strength=3);
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color='#aaaaaa', Direction=135, Strength=3)";
	*/
	/*behavior: url('wp-content/themes/berggren/css/ie-css3.htc');*/
}
#slogan {
	margin-bottom: 15px;
}
.noshadow {
	-moz-box-shadow: none; /* Firefox */
  	-webkit-box-shadow: none; /* Safari and Chrome */
  	box-shadow: none; /* Opera 10.5+, future browsers and IE6+ using IE-CSS3 */	
}

