/*
Theme Name: Maxeler Theme
Author:
Author URI:
Description: Maxeler Website Theme
Version: 1.0
*/

/* Reset (see http://meyerweb.com/eric/tools/css/reset/index.html) 
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block
}

body {
  line-height: 1
}

ol, ul {
  list-style: none
}

blockquote, q {
  quotes: none
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Force vertical scrollbar to avoid jumping left to right
-------------------------------------------------------------- */

html {
  overflow-y: scroll;
}

html, body {
  height: 100%
}

/* CSS3 @fontface styles
-------------------------------------------------------------- */

strong, b, h1, h2, h3 {
/*font-family: 'interstatebold', arial, "sans serif" ! important;*/
font-family: 'interstate', arial, "sans serif";
font-style: normal;
font-weight: bold;
}

em, i {
/*font-family: 'interstateregularitalic', arial, "sans serif" ! important;*/
font-family: 'interstate', arial, "sans serif";
font-style: italic;
font-weight: normal;
}
/* Structure
-------------------------------------------------------------- */

#page {
  min-width: 990px;
  min-height: 100%;
  background: url("img/main-bg.jpg") center 127px no-repeat;
}

.IE6 #page {
  background: url("img/main-bg.jpg") 0 0 no-repeat;
}

#main {
  width: 990px;
  margin: auto auto;
  clear: both;
  overflow: auto;
  padding-bottom: 42px; /* must be same height as the footer */
}

/*Opera Fix for sticky footer*/

body:before {
  content: "";
  height: 100%;
  float: left;
  width: 0;
  margin-top: -32767px;
}

#primary {
  clear: both;
  margin: auto;
  overflow: hidden;
  padding-top: 60px;
}

#content {
  margin: 0;
  top: 20px;
}

#tertiary {
  display: inline;
  position: relative;
  width: 600px;
}

/* 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, .assistive-text {
  display: none;
}


.IE7 .screen-reader-text, .assistive-text {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px); /* IE6, IE7 */
  display: inline !important;
}

/* Alignment
-------------------------------------------------------------- */

.alignleft {
  display: inline;
  float: left;
}

.alignright {
  display: inline;
  float: right;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hidden {
display:none;
}

/* Hyperlinks for main content - bold and underlined
-------------------------------------------------------------- */

a.back-link {
  color: #0B4AB5; /*#58595b;*/
  font-family: 'interstate', arial, "sans serif";
  font-style: normal;
  font-weight: bold;
}


a {
  color: #0B4AB5; /*#58595b;*/
  font-family: 'interstate', arial, "sans serif";
  font-style: normal;
  font-weight: bold;
}

/* MyMaxeler anchors are like regular anchors but not bold */
a.mymaxelerlink {
  color: #0B4AB5; /*#58595b;*/
  font-family: 'interstate', arial, "sans serif";
  font-style: normal;
  font-weight: normal;
}

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

header#branding {
  clear: both;
  background: #154191 url("img/header-bg.jpg") 0 0 repeat-x;
  height: 127px;
  width: 100%;
  float: left;
}

.IE6 header#branding
{
  overflow:hidden;
}

h1#site-title {
    background: url("img/maxeler-logo.png") 0 0 no-repeat;
  z-index: 9999;
  text-indent: -9999px;
  position: relative;
  top: 22px;
  left: 25px;
  width: 216px;
  height: 87px;
  padding: 0;
  font-size: 100%;
}

.IE6 h1#site-title {
behavior: url("js/iepngfix/iepngfix.htc");
}

.IE7 h1#site-title a
{
  zoom:1;
}

#site-title a {
  display: block;
  padding-bottom: 70px;
}


h2#site-description {
  display: none
}

/* search form */

header#branding .search {
  display: inline;
  float: right;
  height: auto;
  width: 218px;
  position: relative;
  top: -60px;
  right: 20px;
}

header#branding .search #searchform {
  float: right;
  width: 218px;
  background: #e6eaf6;
}

header#branding .search #searchform input {
  background: #e6eaf6;
  border: 0;
  font-family: 'interstate', arial, "sans serif";
  font-weight: normal;
  font-style: normal;
  font-size: 95%;
  color: #58595b;
}

.iphone header#branding .search #searchform input
{
  width: 155px;
}

header#branding .search #searchform {
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  behavior: url("js/PIE/PIE.htc");
}

.IE8 header#branding .search #searchform {
  behavior: none;
}


header#branding .search #searchform input#searchsubmit {
  background: url("img/search-glass.gif") no-repeat scroll 0 3px transparent;
  text-indent: -9999px;
  height: 29px;
  width: 20px;
  cursor: pointer;
  border: 0 none;
}

.ie form#searchform input#s { padding-bottom:4px !important;}

.IE7 #searchform input#searchsubmit, .IE6 #searchform input#searchsubmit { background-image:none !important}


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

.entry-meta {
  clear: both;
  display: block;
}

.single-author .entry-meta .byline {
  display: none
}

#content nav {
  display: block;
  overflow: hidden;
  clear:both;
}

#content nav .nav-previous {
  float: left;
  width: 50%;
}

#content nav .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

#content #nav-above {
  display: none
}

.search-results #content #nav-above {
  display: block;
}

.search-results #content #nav-below {
  display: block;
}

.search-results #content .tophead {
  clear: both
}

.paged #content #nav-above, .single #content #nav-above {
  display: block
}

#nav-above, #nav-below {
  margin: 10px 0 12px 0;
}

#nav-above a, #nav-below a {
  color: #003471;
  text-decoration: none;
  font-size: 80%;
  font-family: 'interstate', arial, "sans serif";
  font-weight: normal;
  font-style: normal;
}

.page-link {
  clear: both;
  margin: 0 0 1em;
}

/* Images */

a img {
  border: none
}

p img {
  margin-bottom: 0.5em
}

img.size-auto, img.size-full, img.size-large, img.size-medium, .attachment img, .widget-area img, .wp-caption {
  max-width: 100%;
  height: auto;
}

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
}

.wp-smiley {
  margin: 0
}

img.rounded {
  -webkit-border-radius: 40px 0 40px 0;
  -moz-border-radius: 440px 0 40px 0;
  border-radius: 40px 0 40px 0;
    position:relative;
    behavior: url("js/PIE/PIE.htc");
}

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

#searchform label {
  display: none
}

#searchform input#s {
  width: 77%;
  margin-left: 12px;
}

input[type=text], input#s {
  margin: 0
}

input[type=password], input#s {
  margin: 0
}

textarea {
  width: 80%
}

.required {
  color: #cc0033
}

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

.widget {
  display: block
}

.widget-area .widget_search {
  overflow: hidden
}

.widget-area .widget_search input {
  float: left
}

/* Tertiary sidebar (page navigation)
-------------------------------------------------------------- */

.IE6 .triangle {
  display: none !important;
}

.triangle {
  position: absolute;
  top: 16px;
  left: 50%;
  display: none;
  margin: 0;
  margin: 0 auto;
  margin-left: -5px;
  padding: 0;
  background: none;
  vertical-align: text-bottom;
  width: 1px;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid;
  border-top: none;
}

#tertiary {
  font-size: 80%
}

#tertiary ul li {
  line-height: 1em;
  background: none;
  position: relative;
  float: right;
  margin:0;
  padding: 0 5px 8px 5px;
  display: inline;
  border-bottom: 4px solid #154191;
}

.IE6 #tertiary ul li {
    _width: 0;
    white-space: nowrap;
}

#tertiary ul li a {
  text-decoration: none;
  display: inline;
  float: none;
  padding-left: 5px;
  padding-right: 5px;
  display: inline;
  font-family: 'interstate', arial, "sans serif";
  font-style: normal;
  font-weight: normal;
  color: #154191;
}

#tertiary ul li.current_page_item a,
#tertiary ul li.current_page_ancestor a  {
  color: #414042
}

#tertiary ul li a:hover {
  color: #738dbd
}

#tertiary ul li.current_page_item a div.triangle,
#tertiary ul li.current_page_ancestor a div.triangle {
  color: #154191;
  display: inline;
}

#tertiary ul li a:hover div.triangle {
  color: #738dbd;
  display: inline;
}

#tertiary ul li:last-child a {
  font-family: 'interstate', arial, "sans serif"
  font-style: normal;
  font-weight: bold;
}

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

#colophon {
  position: relative;
  margin-top: -42px; /* negative value of footer height */
  height: 42px;
  bottom: 0;
  width: 100%;
  clear: both;
  font-size: 80%;
  color: #58595b;
  font-family: 'interstate', arial, "sans serif";
  font-style: normal;
  font-weight: normal;
  background: #acb9be url("img/footer-bg.png") 0 0 repeat-x;
}

#colophon a.twitter {
  padding: 2px 0 4px 25px;
  background: url("img/twitter-bird-light-bgs-26px.png") left center no-repeat;
  line-height: 26px;
}

.IE6 #colophon  a.twitter {
behavior: url("js/iepngfix/iepngfix.htc");
}

#colophon-inner {
  max-width: 990px;
  width: 100%;
  margin: 0 auto;
}

#colophon-inner p.left {
  float: left;
  padding: 8px 0 4px 0px;
}

#colophon-inner p.right {
  float: right;
  padding: 2px 13px 7px 0;
}

#colophon-inner a {
  color: #003471;
  text-decoration: none;
}

/* Teasers
----------------- */

.teaser-contain {
  clear: both;
  width: 100%;
  margin: 10px auto 10px auto;
  display:block;
  overflow:hidden;
  height:auto;
}

.teaser-contain-three {
  width: 75%;
}

.teaser-contain-two {
  width: 50%;
}

.teaser {
  height: 98px;
  overflow:hidden;
  background: #d7d7d7 url("img/teaser-bg.jpg") 0 0 repeat-x;
  border: 1px solid #d1d1d3;
  border-bottom: none;
  width: 229px;
  margin-right: 22px;
  float: left;
  -webkit-border-radius: 15px 0 0 0;
  -moz-border-radius: 15px 0 0 0;
  border-radius: 15px 0 0 0;
  position: relative;
  behavior: url("js/PIE/PIE.htc");
}

.teaser a {
   font-family: 'interstate',arial,"sans serif";
   font-weight: normal;
   font-style: normal;
   text-decoration: none;
   color:inherit;
}

.teaser h2 a {
   font-weight: bold;
}

.teaser-thumb {
  height: auto;
  width: 36%;
  float: left;
  overflow: hidden;
  position:relative;
}

.teaser-thumb img {
  -webkit-border-radius: 15px 0 0 0;
  -moz-border-radius: 15px 0 0 0;
  border-radius: 15px 0 0 0;
    position:relative;
  height: 98px;
  behavior: url("js/PIE/PIE.htc");
}

.teaser-content {
  min-height: 91px;
  overflow: hidden;
  float: left;
  width: 55%;
  padding: 7px 5px 0 9px;
}

.teaser {
  font-size: 80%;
  font-family: 'interstate', arial, "sans serif";
  font-style: normal;
  font-weight: normal;
}

.teaser-last {
  margin-right: 0;
}

.teaser .teaser-foot {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100.5%;
  clear: both;
  top: 93px !important;
}

.teaser-one .teaser-foot {
  border-top: 7px solid #300071;
}

.teaser-two .teaser-foot {
  border-top: 7px solid #ec008c;
}

.teaser-three .teaser-foot {
  border-top: 7px solid #298f76;
}

.teaser-four .teaser-foot {
  border-top: 7px solid #ff6600;
}

.teaser-five .teaser-foot {
  border-top: 7px solid #5B0E3F;
}

.teaser-six .teaser-foot {
  border-top: 7px solid #2E87FF;
}

.teaser h2 {
  text-decoration: none;
  font-size: 120%;
}


.teaser h2 {
  line-height: 1;
  margin: 0;
  text-decoration: none;
  font-family: inherit;
  font-weight:bold;
}

.teaser-one h2 {
  color: #300071;
}

.teaser-two h2 {
  color: #ec008c;
}

.teaser-three h2 {
  color: #298f76;
}

.teaser-four h2 {
  color: #ff6600;
}

.teaser-five h2 {
  color: #5B0E3F;
}

.teaser-six h2 {
  color: #2E87FF;
}

.teaser p {
  color: #58585a;
  font-size: 12px;
  line-height: 1.15em;
  margin-top: 4px;
  text-decoration: none;
  padding-top:4px;
}

.teaser p a {
  color: #58585a;
  text-decoration: none;
  font-family:inherit;
}

.teaser-one a.more {
  color: #300071;
}

.teaser-two a.more {
  color: #ec008c;
}

.teaser-three a.more {
  color: #298f76;
}

.teaser-four a.more {
  color: #ff6600;
}

.teaser-five a.more {
  color: #5B0E3F;
}

.teaser-six a.more {
  color: #2E87FF;
}

.teaser a.more {
  position: absolute;
  bottom: 9px;
  right: 3px;
  text-decoration: none;
  font-size: 200%;
  font-family: arial, "sans serif";
}

.teaser p {
  line-height: 1.1em;
  margin: 0;
  width: 100%;
}

.teaser h2 {
  line-height: 1;
  margin: 0;
  text-decoration: none;
}


/* =News container
---------------- */

div #news-contain {
  clear: both;
  width: 100%;
  margin: -142px 0 0 0;
  background: #abb9bc url("img/homenews-bg.jpg") 0 0 repeat-x;
}

#news-inner {
  margin: auto auto;
  width: 990px;
  min-height: 140px;
}

.news-col {
  line-height: 1.3em;
  float: left;
  padding: 7px 0 0 0;
  padding-right: 10px;
  margin-right: 10px;
  width: 230px;
  color: #58595b;
  font-size: 90%;
  font-family: 'trebuchet ms', helvetica, sans-serif;
  min-height: 100px;
}

.news-col a {
  color: #003471;
  text-decoration: none;
}

.news-col h2 {
  margin: 0;
}

.news-col.contact {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

h2.newshead {
  padding: 5px 0 0 0px;
  margin: 0;
  color: #58585a;
  font-size: 130%;
  font-family: 'interstate', arial, "sans serif";
  font-weight: normal;
  font-style: normal;
}

.twitter {
  padding: 0 0 3px 25px;
  background: url("img/twitter-bird-light-bgs-26px.png") left center no-repeat;
}

.IE6 .twitter {
behavior: url("js/iepngfix/iepngfix.htc");
}

/* =Newsticker 
----------------- */

.ticker-div {
display:block;
width: 100%;
height:23px;
clear: both;
padding-bottom: 40px;
}

.tickercontainer { 
color:#58595B;
text-decoration:none;
width: 100%;
height: 23px;
margin: 0;
padding: 0;
background:#C1C5CE url(/wp-content/themes/maxeler/img/ticker-bg.jpg) 0 0 repeat-x;
overflow:hidden;
}

.ticker-div .mask { 
width: 100%;
position: relative;
height: 23px;
overflow:hidden;
}

ul.newsticker { 
top: 2px;
position: relative;
font-family: 'trebuchet ms', helvetica, sans-serif;
font-size:80%;
list-style-type: none;
margin: 0;
padding: 0;
border: 0;
}

ul.newsticker li {
float: left;
margin: 0;
padding: 0;
border: 0;
left: 0;
}

ul.newsticker li.padding {
width:40px;
}

.news_wrapper {
  display: block;
  width: 100%;
  background: url("img/ticker-bg.jpg") 0 0 repeat-x;
  margin-top: -54px;
}

/* Content page styles
----------------- */

#content {
  font-size: 95%;
  color: #58595b;
  font-family: 'interstate', arial, "sans serif";
  font-style: normal;
  font-weight: normal;
}

body.Android #content h1 {
  background: none;
  -webkit-text-fill-color: currentcolor;
}

/* General styles
----------------- */

h1 {
  padding: 16px 0 8px 0;
  margin: 0;
  font-size: 150%;
  font-family: 'interstate', arial, "sans serif";
  font-style: normal;
  font-weight: bold;
  color: #145287;
  background: -webkit-gradient(linear, left top, left bottom, from(#3e8abc), to(#145287) );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  behavior: url("js/PIE/PIE.htc");
}


h1.entry-title {
  font-size: 190%;
  font-family: 'interstate', arial, "sans serif";
  font-weight: bold;
  font-style: normal;
}

.entry-header h2 {
  font-size: 120%;
  font-family: 'interstate', arial, "sans serif";
  font-weight: bold;
  font-style: normal;
  color: #145287;
}

.entry-header h2 a {
text-decoration:none;   
color: inherit;
}

.search-results strong {
  color: #69c;
}

body.Android h1 {
  background: none;
  -webkit-text-fill-color: currentcolor;
}

p {
  line-height: 1.25em;
  margin: 4px 5px 10px 0;
}

h2 {
  line-height: 1.25em;
  margin: 4px 5px 10px 0;
  width: 99%;
}

h3 {
  line-height: 1.25em;
  margin: 4px 5px 10px 0;
  width: 99%;
}

h3.no-top-space {
  margin-top: 0px;
}

ul {
  line-height: 1.25em;
  margin: 4px 0 10px 0;
  width: 100%;
}

li {  
  background-image: url("/media/bullet_large.gif");
  background-repeat: no-repeat;
  background-position: 0 0.4em;
  padding-left:10px;
  margin-top: 5px;
  margin-bottom: 5px;
  line-height: 1.2em;
}

.footnotes {
  width: 455px;
  float: right;
  margin: 26px 10px 10px 0;
}

img.asset {
  margin-bottom: 36px;
  -webkit-border-radius: 40px 0 40px 0;
  -moz-border-radius: 40px 0 40px 0;
  border-radius: 40px 0 40px 0;
    position:relative;
  width: 44.5%;
  height: auto;
  behavior: url("js/PIE/PIE.htc");
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

img.top-right
{
  -webkit-border-radius: 40px 0 40px 0;
  -moz-border-radius: 40px 0 40px 0;
  border-radius: 40px 0 40px 0;
    position:relative;
  height: auto;
  behavior: url("js/PIE/PIE.htc");
  margin: 0;
  margin-bottom: 10px;
  margin-left:10px;
  padding: 0;
  float:right;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  height: auto;
  width: 455px;
}

.padding {
  padding-left: 10px;
  padding-bottom: 10px;
}


/* General rounded border */

.border {
border: 2px solid #0B4AB5;
  -webkit-border-radius: 15px 0 15px 0;
  -moz-border-radius: 15px 0 15px 0;
  border-radius: 15px 0 15px 0;
    position:relative;
  behavior: url("js/PIE/PIE.htc");
  border-color: grey;
}

.border h2
{
padding-left: 5px;
}

a.maxwhitelink {
	color: white;
}

div.maxwhitetext {
	color: white;
}

.maxwhitetext {
	color: white;
}

input.maxformbutton, button.maxformbutton {
	-moz-box-shadow:inset 0px 1px 0px 0px #bbdaf7;
	-webkit-box-shadow:inset 0px 1px 0px 0px #bbdaf7;
	box-shadow:inset 0px 1px 0px 0px #bbdaf7;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #79bbff), color-stop(1, #378de5) );
	background:-moz-linear-gradient( center top, #79bbff 5%, #378de5 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#79bbff', endColorstr='#378de5');
	background-color:#79bbff;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
  	border-radius:6px;
	border:1px solid #84bbf3;
	display:inline-block;
	color:#ffffff;
	font-size:14px;
	font-weight:bold;
	padding:3px 12px;
	text-decoration:none;
	text-shadow:1px 1px 0px #113e6b;
}

input.maxformbutton:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #378de5), color-stop(1, #79bbff) );
	background:-moz-linear-gradient( center top, #378de5 5%, #79bbff 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#378de5', endColorstr='#79bbff');
	background-color:#378de5;
}

input.maxformbutton:active {
	position:relative;
	top:1px;
}


p.form-allowed-tags, .edit-link, .page .edit-link, a.post-edit-link, .single #nav-below, .search-results #nav-below {
  display: none
}

.cb {
  clear: both;
  height: 0;
  width: 100%;
  font-size: 0.001em;
}

hr {
  clear: both;
  width: 100%;
  background: none;
  border-top: 2px dotted #58595b;
}


a.disabled {
  color: grey
}

small {
  font-size: 80%
}

p.caption
{
   margin: -20px auto 10px auto;
   font-family: 'interstate', arial, "sans serif";
   font-weight: bold;
   font-style: normal;
   text-align: center;
}

/* Columnar layout
--------------------------------------------------------------*/

div.full-width {
  width: 100%;
  display: block;
  clear: both;
  padding-top: 5px;
}

img.full-width {
  width:100%;
}

.column img {
  width: 90%;
  display: block;
  padding-top: 5px;
  margin-left: auto;
  margin-right: auto;
}

.three-column {
  width: 33%;
  height: auto;
  float: right;
}

.two-column {
  width: 50%;
  height: auto;
  float: left;
}

.column-inner {
  width: 90%
}

.column-inner p {
}

.column-inner h2 {
  text-align: center
}

/* Product page columnar layout
--------------------------------------------------------------*/

.column-left {
  width: 68%;
  height: auto;
}

.column-right {
  width: 30%;
  float: right;
  height: auto;
}

.column-right img {
  width: 100%;
  padding-bottom: 5px;
  padding-top: 5px;
  margin-left: auto;
  margin-right: auto;
}

.column-right p {
  margin-left: 10px;
  font-size: 80%;
}

#content .column-right li {
  font-size: 80%;
  background-image: url("/media/bullet.gif");
}

.column-right h2 {
  font-size: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
  color: #145287;
}

/* Latest news items for front page
--------------------------------------------------------------*/

.latest-news-container{
  width: 100%;
  height:auto;
  display: block;
}

.latest-news {
position:relative;
overflow:hidden;
  width: 48%;
  height:310px;
  display: block;
  margin-left: auto;
  margin-right:auto;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-top:10px;
  padding-bottom:10px;
}

.latest-news.left
{
  float:left;
}

.latest-news.right
{
  float:right;
}

.latest-news p.latest-news-all{
  text-align:right;
  bottom:0px;
  right: 10px;
  position:absolute;
}

/* In the media items 
--------------------------------------------------------------*/

.inthemedia {
  width: 66%;
  overflow:hidden;
  height:auto;
  clear: both;
  display: block;
  margin-left: auto;
  margin-right:auto;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-top:10px;
  padding-bottom:10px;
  position:relative;
}

.inthemedia .inthemedia-pub
{
width: 31%;
margin-right: 2%;
float:left;
}

.inthemedia p
{
margin-top: 5px;
}

.inthemedia span
{
   font-size: 80%;
}

.inthemedia .inthemedia-pub a
{
text-align: center;
}

.inthemedia .inthemedia-pub p
{
text-align: center;
}

.inthemedia .inthemedia-desc
{
width: 64%;
margin-left: 2%;
float:right;
}

/* Quotes
--------------------------------------------------------------*/

div.quote {
  display: block;
  padding: 0 60px;
  width: 600px;
  margin-left: auto;
  margin-right: auto;
  position:relative;
  overflow: hidden;
  height: auto;
}

div.quote-container {
  display: block;
  width: 100%;
  position:relative;
  overflow: hidden;
  height: auto;
}

div.quote-quote {
display: block;
  font-family: 'interstate', arial, "sans serif";
  font-style: italic;
  font-weight: normal;
  float:left;
  width: 490px;
}

div.quote.narrow {
  width: 400px;
}

div.quote.wide {
  width: 610px;
}

div.quote.wide div.quote-quote {
display: block;
  width: 540px;
}

div.quote.align-left {
  margin-left: 0px;
}

div.quote.narrow div.quote-quote {
display: block;
  width: 290px;
}

div.quote-name {
  clear:both;
  display: block;
  padding: 0;
  width: 100%;
  font-style: normal;
  color: #69c;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
}

div.quote-left, div.quote-right {
  color: #69c;
  display: block;
  font-size: 700%;
  font-style: normal;
  font-family: arial, helvetica, sans-serif;
}

div.quote-left {
position: relative;
  float:left;
  overflow:hidden;
  font-style: normal;
  height: 45px;
  margin-right: 20px;
  line-height: 0.75em;
}

div.quote-right {
position:absolute;
  float:left;
  font-style: normal;
  margin-left: 20px;
  bottom: 0px;
  right: 0px;
  overflow:hidden;
  height:45px;
}

/* Publication summaries
--------------------------------------------------------------*/

.paper h3
{
   margin: 10px 0 0 0;
}

.paper a
{
   margin: 0 0 0 0;
}

p.paperauth
{
margin: 2px 0 0 0;
font-style:italic;
}

p.paperevent
{
padding-bottom: 10px;
}


/* News page styles
--------------------------------------------------------------*/

.news-menu {
  width:100%;
  overflow:hidden;
  height:auto;
  clear: both;
  display: block;
}

.news-menu ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.news-menu li {
  padding: 0;
  margin: 0 20px 0 0;
  float: left;
  background-image: none;
  line-height: 1em;
}

.news-menu li a {
  display: block;
  line-height: 2em;
  padding: 5 5px 5px 5px;
  text-decoration: none;
  font-size: 190%;
  font-family: 'interstate', arial, "sans serif";
  font-weight: normal;
  font-style: normal;
  color: #145287;
}

.news-menu li a.current-page-item {
  color: #414042;
}

.news-item {
margin-bottom: 20px;
width: 66%;
clear:both;
margin-left:auto;
margin-right: auto;
overflow:hidden;
height: auto;
display: block;
}

/* News summary tables
--------------------------------------------------------------*/

table.news {
border-collapse: collapse;
margin-left: auto;
margin-right: auto;
width: 90%;
}

table.news td{
padding-top: 5px;
padding-bottom: 5px;
}

table.news td.news-date {
width: 100px;
}

table.news td.news-title {
font-style:italic;
}

table.news td.news-title a {
text-decoration: none;
font-style:normal;
}

/* General tables
--------------------------------------------------------------*/

table.blue { margin: 1em; border-collapse: collapse; }
table.blue td { padding: .3em; border: 1px #ccc solid; }
table.blue thead { background: #0b4ab5; color: #ffffff; }
table.blue tbody { background: #6993da; }
td.green { background: #9BBB59; }
td.amber { background: #ff6a00; }
td.red { background: #ff0000; }

table.columns { padding: 0.3em; border: 0px;}
table.columns td { padding-left: 10px; padding-right: 10px; }
table.columns tr.images td { text-align: center; vertical-align: middle; }
table.columns tr.imagecaptions td { text-align: center; vertical-align: top; padding-top: 5px; }
table tr.medspaceabove td { padding-top: 40px; }
table tr.smallspaceabove td { padding-top: 20px; }

/* Home page
-------------------------------------------------------------- */


.home #main {
  padding-bottom: 0px
}


.home li {
  background-image: none;
  padding-left:0px;
}

.home a {
  font-family: inherit;
}


.home #primary {
  padding-top: 0;
  min-height: inherit;
  padding-bottom: 142px;
}

.home #colophon {
  position: relative;
  margin: 20px auto;
  margin-top: 0px; /* negative value of footer height */
  height: 0px;
  display: none;
  text-indent: -9999em;
}

.home h1.entry-title {
  display: none
}

.home #content {
  min-height: 460px
}

.page.page-template-homepage-php #content ul {
  line-height: 1;
  margin: 0;
}

.page.page-template-homepage-php #content li {
  list-style: none;
  margin: 0;
}

.page.page-template-homepage-php #content p {
  line-height: 1;
  margin: 0;
  width: 42%;
}

.page.page-template-homepage-php #content .teaser p {
  line-height: 1.2em;
  margin: 0;
  width: 100%;
}

.page.page-template-homepage-php #content .teaser h2 {
  line-height: 1;
  margin: 0;
  text-decoration: none;
}

/* Search results page
-------------------------------------------------------------- */

.search-results #content {
  padding-bottom: 80px
}

.search-results .entry-meta {
  display: none
}


/* 404 page
-------------------------------------------------------------- */

.error404 .entry-content #searchform, .search-no-results .entry-content #searchform {
  margin: 30px 0 0 0;
  width: 418px;
  background: #CFD3DE;
}

.error404 .entry-content #searchform input, .search-no-results .entry-content #searchform input {
  background: #CFD3DE;
  border: 0;
  font-family: 'interstate', arial, "sans serif";
  font-weight: normal;
  font-style: normal;
  font-size: 95%;
  color: #58595b;
}

.error404 .entry-content #searchform, .search-no-results .entry-content #searchform {
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  behavior: url("js/PIE/PIE.htc");
}

.error404 .entry-content #searchform input#s, .search-no-results .entry-content #searchform input#s {
  width: 75%;
  margin-left: 12px;
}

.error404 .entry-content #searchform input#searchsubmit, .search-no-results .entry-content #searchform input#searchsubmit {
  background: url("img/search-glass.gif") no-repeat scroll 0 3px transparent;
  text-indent: -9999px;
  height: 29px;
  width: 22px !important;
  cursor: pointer;
  border: 0 none;
  margin-left: 60px;
}

/*-------------------------------------------------------------- 
fieldsets
--------------------------------------------------------------*/

fieldset {
  margin-top: 0.5em;
  padding: 0.5em;
  border: 1px solid;
}

legend {
  border: 1px solid;
  padding: 2px 6px;
}


span.maxsmalldownloadinfotext {
	color: grey;
	font-size: 70%;
}

