body {
  margin: 0;
/*  font-family: "Times New Roman", Georgia, serif;*/
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 21px;
}

em em {
  text-decoration: normal;
}

body.gridded {
  background: url(/images/grid_cell.png);
}

.main-container {
  width: 960px;
}

#namechange {
  position: absolute;
  top: 0;
  left: 16px;
}

a:link {
  color: #0f71a2;
}

a:visited {
  color: #4e9bc2;
}

a:hover {
  color: #d54c4c;
}

h3 {
  font-size: 14px;
  margin: 0;
}

p {
  margin: 0 0 21px;
}

p.nospace {
  margin: 0;
}

span.cleardiv {
  clear: both;
  display: block;
}

span.highlight {
  background: #f7ec5a;
  font-weight: bold;
}

span.recent_date {
  color: #888;
}

#footer {
  width: 960px;
  display: block;
  background: #e2e8ef;
  color: #000;
  margin: 0;
  padding: 20px 0;
/*  font-size: 75%;*/
/*  font-family: "Lucida Grande", sans-serif;*/
}

#footer .container {
  float: left;
  margin-left: 110px;
}

#footer .footer-item {
  float: left;
  width: 141px;
  margin-right: 20px;
}

#footer .footer-item.last {
  float: left;
  width: 206px;
  margin: 0;
}


#footer h4 {
/*  color: white;*/
  font-size: 100%;
  margin: 0;
}

#footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}


/* ============== */
/* = Grid-stuff = */
/* ============== */

.main-contain {
  margin: 0 0 20px;
}

.left-side {
  width: 583px;
  float: left;
}

.left-side .inner {
  margin-left: 33px;
  margin-right: 20px;
  margin-top: 14px;
}

.left-side .project-title {
  position: relative;
  line-height: 1;
}

.left-side .project-title img {
/*  float: left;
  z-index: 1;*/
}

.left-side .project-title.nopic {
  padding-top: 154px;
}

.left-side .project-title h2 {
  bottom: 40px;
  margin: 0;
  position: absolute;
  padding: 0;
  z-index: 10;
/*  text-transform: uppercase;*/
  font-size: 27px;
  line-height: 1;
  width: 550px;
  vertical-align: bottom;
  background: #f7ec5a;
  padding-left: 33px;
}

.left-side .block {
  color: #000;
/*  background: #242b42;*/
  padding: 11px 20px 0px 33px;
  margin: 0 0 0px;
  font-size: 27px;
  line-height: 42px;
}

.left-side .block h2 {
  margin: 0;
  font-weight: normal;
  font-size: 27px;
}

.left-side .block h2 a:link, .left-side .block h2 a:visited {
  color: #000;
}

.left-side .block h2 a:hover {
  color: red;
}

.left-side .inner-meta h4 {
  margin: 0;
  padding: 0;
}

.left-side .inner-meta p.tags {
  margin: 5px 0 0;
}

.left-side .inner-meta {
/*  font-family: "Lucida Grande", Verdana, sans-serif;*/
/*  font-size: 80%;*/
  margin: 0;
  padding: 0px 20px 0px 33px;
/*  background: #ccc;*/
}

.left-side .inner-meta p {
  margin: 0 0 5px;
}

.left-side .inner .permalink {
  margin: 0 0 20px;
}



.left-side blockquote {
  font-style: italic;
  margin: 10px 0;
  padding-left: 10px;
  border-left: 1px solid #ccc;
}

.left-side blockquote em, .left-side blockquote i {
  font-style: normal;
}

.left-side .navigation {
  margin: 0 20px 0 33px;
  border-top: 1px solid #aaa;
  padding: 5px 0 0;
}

.left-side .inner .navigation {
  margin: 0 ;
}

.left-side .navigation .previous {
  float: left;
}

.left-side .navigation .next {
  float: right;
}

.left-side ul.listy-list {
  list-style: none;
  margin: 0;
}

.left-side ul.listy-list li {
  margin: 0 0 21px;
}

.left-side ul.listy-list li .talk-pic {
  float: left;
  margin-right: 10px;
}

.left-side ul.listy-list li h2 a:link, .left-side ul.listy-list li h2 a:visited {
  text-decoration: none;
}

.left-side ul.listy-list li h2 a:hover {
  text-decoration:underline;
}

.listy.pic {
  background-repeat: no-repeat;
  padding-left: 80px;
  min-height: 70px;
}

.talks .listy {
  padding-left: 160px;
}


.right-side {
  float: left;
  width: 377px;
/*  background: #e2e8df;*/
/*  font-family: "Lucida Grande", Verdana, sans-serif;*/
/*  font-size: 80%;*/
}

.right-side .illustration img {
  width: 367px;
}

.right-side .post-meta {
/*  background-color: #e2e8df;*/
  background-repeat: no-repeat;
  background-position: left top;
  padding: 11px 10px 0px 80px;
  margin-left: 10px;
  margin-bottom: 16px;
}

.right-side .post-meta.nopic {
  padding-left: 0px;
}

.right-side .post-meta.pic {
/*  min-height: 70px;*/
} 

.right-side .post-meta h2 {
  font-size: 14px;
  font-weight: normal;
  margin: 0;
  line-height: 21px;
}

.right-side .post-meta h2 span {
  display: block;
  font-size: 27px;
  font-weight: bold;
  line-height: 42px;
  margin-bottom: 11px;
}

.right-side .post-meta .inner {
  padding: 10px 0;
}

.right-side .widget {
  margin: 0 0 21px 10px;
  width: 206px;
  float: right;
/*  background: #cee4ee;*/
}

.right-side .widget h3 {
  margin: 0;
  font-size: 14px;
/*  color: black;*/
  font-weight: bold;
}

.right-side .widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.right-side .widget li {
  margin: 0;
}

.right-side .archives {
  float: left;
  width: 141px;
/*  background: #cee4ee;*/
  margin: 0 0 0 10px;
}

.right-side .archives ul {
  list-style: none;
  margin: 0 0 0 0;
  padding: 0;
}

.right-side .archives ul li {
  margin: 0;
}

.right-side .archives h3 {
  margin: 0;
  font-size: 14px;
}

#comments {
  padding-top: 10px;
  margin-top: 10px;
}

#comments h3.comments_header {
  margin: 0 20px 21px 33px;
}

#comments h3.comments_header, #comments h3.comments_headers {
  border-top: 1px solid #ccc;
  margin-bottom: 21px;
  padding-top: 7px;
}

#comments p.field {
  margin: 0 0 7px;
}

#comments label {
  color: #888;
  margin-left: 7px;
}

#comments textarea {
  width: 100%;
  height: 200px;
}

#comments #respond {
  margin: 0 20px 0 33px;
}

#comments .comments-closed {
  margin: 0 20px 0 33px;
}

ul#commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul#commentlist li {
  margin: 0 0 42px;
}

ul#commentlist li .comment-count {
  width: 30px;
  text-align: right;
  float: left;
}

ul#commentlist li .comment-avatar {
  width: 50px;
  margin-left: 14px;
  float: right;
}

ul#commentlist li .comment-avatar .comment-count {
  text-align: right;
}

ul#commentlist li .comment-main {
  margin-left: 33px;
  margin-right: 20px;
}

ul#commentlist li.trackback .comment-main {
  margin-left: 33px;
  margin-right: 20px;
}

ul#commentlist li h5 {
  margin: 0;
  font-size: 100%;
}

ul#commentlist li .comment-date {
  color: #888;
  font-weight: normal;
}

.mini-header {
/*  background: #242b42;*/
  width: 960px;
  font-family: "Lucida Grande", sans-serif;
  border-bottom: 2px solid #fff;
}

.mini-header a:link, .mini-header a:visited {
  color: black;
  text-decoration: none;
}

.mini-header a:hover {
  color: red;
  text-decoration: underline;
}

.mini-header .mini-logo {
  float: left;
  font-weight: bold;
  padding: 3px 10px;
  border-right: 1px solid white;
}

.mini-header .mini-menu {
  float: left;
/*  font-size: 80%;*/
}

.mini-header .mini-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-header .mini-menu ul li {
  float: left;
  border-right: 1px solid white;
  padding: 3px 10px;
}

.mini-header .searchbox {
  float: left;
  padding: 0 10px;
}

/* ============= */
/* = Slideshow = */
/* ============= */

/*preload classes*/ 
.svw {width: 50px; height: 20px; background: #fff;} 
.svw ul {position: relative; left: -999em;} 
 
/*core classes*/ 
.stripViewer {  
  position: relative; 
  overflow: hidden;  
  border: 5px solid #888;   
  margin: 0 0 1px 0; 
} 
.stripViewer ul { /* this is your UL of images */ 
  margin: 0; 
  padding: 0; 
  position: relative; 
  left: 0; 
  top: 0; 
  width: 1%; 
  list-style-type: none; 
} 
.stripViewer ul li {  
  float:left; 
} 
.stripTransmitter { 
  overflow: auto; 
  width: 1%; 
} 
.stripTransmitter ul { 
  margin: 0; 
  padding: 0; 
  position: relative; 
  list-style-type: none; 
} 
.stripTransmitter ul li{ 
  width: 20px; 
  float:left; 
  margin: 0 1px 1px 0; 
} 
.stripTransmitter a{ 
  font: bold 10px Verdana, Arial; 
  text-align: center; 
  line-height: 22px; 
  background: #888; 
  color: #fff; 
  text-decoration: none; 
  display: block; 
} 
.stripTransmitter a:hover, a.current{ 
  background: #fff; 
  color: #888; 
} 
 
/*tooltips formatting*/ 
#tooltip { 
background: #fff; 
color: #030102; 
opacity: 0.85; 
border: 5px solid #dedede; 
} 
#tooltip h3 {  
font: normal 10px Verdana;  
margin: 0;  
padding: 6px 2px;  
border: 0; 
}

#slideshow-right p.caption {
  margin: 0;
  height: 18px;
  padding: 2px;
  line-height: 1;
}

/* ==================== */
/* = New Style Header = */
/* ==================== */

.logo-wrapper {
  position: relative;
}

.logo-wrapper.blog-wrapper {
  height: 112px;
}

#bergbox {
  position: absolute;
  top: 33px;
  left: 33px;
  z-index: 100;
}

#berglogo-head {
  float: left;
  top: 33px;
  left: 33px;
  width: 57px;
  height: 57px;
  text-align: center;
  padding: 0px 0 0;
}

#berglogo-head a {
  display: block;
  width: 57px;
  height: 57px;
  background: url(/images/berg_logo_57.png) no-repeat;
  position: relative;
}

#berglogo-head a:link, #berglogo-head a:visited {
  color: white;
  text-decoration: none;
}

#berglogo-head a:hover {
 color: red; 
}

#berglogo-head a span {
  display: none;
}

#bergmenu {
  background: black;
  margin-left: 10px;
  float: left;
  height: 37px;
  padding: 19px 10px 1px 10px;
}

#bergmenu p.search-elements {
  margin: 0;
  line-height: 1;
}

#bergmenu input.search_input {
  height: 14px;
  width: 155px;
}

/* ========================== */
/* = New look project pages = */
/* ========================== */

.thumbnail-picker {
/*  background: #ccc no-repeat bottom right;*/
  padding: 14px 0 0px 14px;
  margin: 0 0 7px;
}

.thumbnail-picker ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.thumbnail-picker ul li {
  float: left;
  margin: 0 14px 11px 0;
  padding: 0;
  line-height: 1;
  min-height: 84px;
}

.thumbnail-picker ul li img {
  width: 105px;
}

.thumbnail-picker ul li a img {
  border: none;
}

.plain-widget {
  width: 121px;
  float: left;
  margin: 0 0 42px 10px;
  color: #999;
}

.plain-widget.wide {
  width: 367px;
}

.plain-widget.right {
  margin: 0 0 42px 10px;
  width: 206px;
  float: right;
}


.plain-widget h3 {
  font-weight: bold;
  font-size: 14px;
  margin: 0;
/*  background: #030102;*/
/*  color: black;*/
  padding: 0px 10px;
  margin-left: -10px;
  float: left;
  line-height: 21px;
}

.plain-widget h2 {
  font-weight: bold;
  font-size: 27px;
  margin: 0;
  padding: 5px 10px;
  margin-left: -10px;
}

.plain-widget h3 span {
  font-weight: bold;
  color: #0f71a2;
}

.plain-widget.talks {
  margin-top: 16px;
}

.plain-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plain-widget ul li {
  margin: 0;
  padding: 0;
}


/* ============ */
/* = Tagcloud = */
/* ============ */

ul.tagcloud li {
  display: inline;
}

ul.tagcloud li.shade-1 a:link, ul.tagcloud li.shade-1 a:visited {
  text-decoration: none;
  color: #bbb;
}

ul.tagcloud li.shade-2 a:link, ul.tagcloud li.shade-2 a:visited {
  text-decoration: none;
  color: #030102;
}

ul.tagcloud li.shade-3 a:link, ul.tagcloud li.shade-3 a:visited {
  text-decoration: none;
  color: #888;
  background: #f7ec5a;
}

ul.tagcloud li.shade-4 a:link, ul.tagcloud li.shade-4 a:visited {
  text-decoration: none;
  color: #42ae6f;
}


ul.tagcloud li.shade-5 a:link, ul.tagcloud li.shade-5 a:visited {
  text-decoration: none;
  color: #030102;
}

ul.tagcloud li.shade-1 a:hover,
ul.tagcloud li.shade-2 a:hover, 
ul.tagcloud li.shade-3 a:hover, 
ul.tagcloud li.shade-4 a:hover, 
ul.tagcloud li.shade-5 a:hover {
  color: red;
  text-decoration: underline;
}

/* ========= */
/* = Lists = */
/* ========= */

.left-side ol {
  margin: 0 0 21px;
  padding: 0;
}

.left-side ol li {
  margin: 0 0 0px;
  padding: 0;
}

.left-side ul {
  margin: 0 0 21px;
  padding: 0;
}

.left-side ul li {
  margin: 0 0 0px;
  padding: 0;
}

/* ============ */
/* = Captions = */
/* ============ */

.inline-caption {
  margin: 0 0 21px;
  font-weight: bold;
  background: #f7ec5a;
}

.images-with-caption {
  position:relative;
}

.images-with-caption .caption {
  position: absolute;
  bottom: 20px;
  background: #f7ec5a;
  width: 100%;
  padding: 0;
  font-weight: bold;
}

/* ================ */
/* = New Homepage = */
/* ================ */

#homepage .biglogo {
  margin-top: 180px;
  margin-left: 30px;
}

#homepage .top-project {
  margin-left: 10px;
  height: 1%;
}

#homepage .top-project p.project-details {
  margin: 0;
}

#homepage .top-project img {
  width: 367px;
}

#homepage .top-project h2 a:link, #homepage .top-project h2 a:visited {
  color: black;
  text-decoration: none;
}

#homepage .top-project h2 a:hover {
  color: #d54c4c;
  text-decoration: underline;
}

#homepage .top-project .image-and-title {
  position: relative;
  height: 1%;
}

#homepage .top-project .image-and-title h2 {
  position: absolute;
  clear: both;
  margin: 0;
  background: #f7ec5a;
  text-align: left;
  bottom: 14px;
}

#homepage .widget h3, #homepage .archives h3 {
  margin: 0 0 7px;
}

/* ============= */
/* = Edit page = */
/* ============= */

.edit-panel {
  position: absolute;
  right: 0;
  z-index: 500;
}

.edit-panel a {
  padding: 5px 2px;
}

.edit-panel a:link, .edit-panel a:visited {
  color: darkred;
  background: white;
}

.edit-panel a:hover {
  color: white;
  background: darkred;
}

/* ========= */
/* = Talks = */
/* ========= */

p.slide-image img {
  max-width: 530px;
}

p.slide-navigation {
  text-align: center;
}

.plain-widget.talks h2 {
  line-height: 21px;
}

.plain-widget.talks h2 a:link, .plain-widget.talks h2 a:visited {
  text-decoration: none;
  color: #000;
}

.plain-widget.talks h2 a:hover {
  color: #d54c4c;
  text-decoration: underline;
}

/* ============ */
/* = Archives = */
/* ============ */

ul.archives h3 {
  font-size: 27px;
  margin: 0;
  line-height: 21px;
}

ul.archives h4 {
  margin: 0;
}

ul.archives {
  list-style: none;
}

ul.archives li ul {
  list-style: none;
}

ul.archives li ul li ul {
  list-style: disc;
}

/* ================== */
/* = Talks Captions = */
/* ================== */

span.caption {
 color: #999; 
 font-style: italic;
}

/* =============== */
/* = Guest Posts = */
/* =============== */

.guest-intro {
  background: #c5c5c5;
  padding: 6px 10px 6px 80px;
  background-repeat: no-repeat;
  background-position: 10px 10px;
  margin: 0 0 14px;
}

.guest-intro .intro-line {
  font-style: italic;
  margin: 0;
}

/* ============= */
/* = Footnotes = */
/* ============= */

ol.footnote-list {
  padding: 7px 0 0;
  border-top: 1px solid #c5c5c5;
  font-size: 90%;
}

/* =============== */
/* = People Page = */
/* =============== */

.people-section h2.people-header {
  padding-top: 11px;
  margin-bottom: 21px;
  padding-left: 33px;
}

/* =================== */
/* = Mailchimp stuff = */
/* =================== */

.mailchimp-box {
  margin-bottom: 21px;
  padding-left: 10px;
}

.mailchimp-box .mc_custom_border_hdr {
  font-weight: bold;
  font-size: 14px;
  line-height: 21px;
/*  margin-bottom: 14px;*/
}

.mailchimp-box form label {
  color: #555;
}

.mailchimp-box form input.mc_input {
  width: 100%;
}

.mailchimp-box #mc-indicates-required {
  color: #888;
}

.mailchimp-box form .mc_signup_submit {
  text-align: left;
  margin-top: 7px;
}

.footer-mailchimp-box {
  margin: 0 0 10px;
}

.footer-mailchimp-box .mc_custom_border_hdr {
  font-weight: bold;
}

.footer-mailchimp-box .mc_input {
  float:left;
  margin: 3px 5px 5px 0;
  width: 115px;
}

.footer-mailchimp-box .mc_signup_submit {
  text-align: left;
}

.footer-mailchimp-box form label {
  display: none;
}

.footer-mailchimp-box .mc_merge_var br {
  display: none;
}