/****************************/
/* EINS Overrides		*/
/* Author: Tom King OII	*/
/****************************/


/********** Layout ************/
#header-inside-right , #header-inside { padding: 20px 0;}
#contentbottom { clear:both; overflow:hidden;  padding:20px 0 50px 0;}
#contentbottom-inside { width: 960px; margin: 0 auto; } 
.contentbottom-area { width:280px; float:left; padding:0 50px 0 0; }
.contentbottom-area.first { width:280px;}
.contentbottom-area.second { width:300px; }
.contentbottom-area.third { width:280px; padding:0; }
/*#banner {height:290px;}*/
#block-views-slider-block {height:290px;}
#banner .content {width:960px; margin:auto; padding-bottom:10px; margin-bottom:10px;}
#banner .content p { }

#banner, #content  {background:white;}

/********** Subnav ************/
#header-sub-menu { clear:both; background: #222222; border-top:1px solid #353535; border-bottom:1px solid #353535; }
#header-sub-menu-inside { width: 960px; margin: 0 auto; height:45px; line-height:46px;} 

	/* 1st Level */
	#header-sub-menu ul.menu  { display:block; padding:0; margin:0; position:relative; z-index:100; }
	#header-sub-menu ul.menu li { display:inline-block; float:left; vertical-align: middle; padding:0; margin:0; }
	#header-sub-menu ul.menu li a { outline:none; text-decoration: none; margin:0 35px 0 0; color:#ffffff; font-size:14px; font-weight:normal; text-align:center; text-transform:uppercase; 
	font-family: Myriad Pro,"Lucida Grande","Lucida Sans Unicode",Segoe UI,Helvetica,Arial,sans-serif; display:block; }
	#header-sub-menu ul.menu li a:hover, #header-sub-menu ul.menu li a.active { color:#0099CC; }
	#header-sub-menu ul.menu li a:after { content: none; }
	#header-sub-menu ul.menu li.expanded { position: relative; }
	#header-sub-menu ul.menu li.expanded a { background:transparent url('images/main-menu-expanded.png') no-repeat center right; padding:0 15px 0 0; }
	
	/* 2nd Level */
	#header-sub-menu ul.menu li.expanded ul.menu { width: 230px; z-index:100; padding:0; background: #222222; display: none; position: absolute; }
	#header-sub-menu ul.menu li.expanded:hover, #header-sub-menu ul.menu li.expanded:hover > ul.menu { display:block; }
	#header-sub-menu ul.menu li.expanded ul.menu li a { padding:10px; margin:0; display:block; width:210px; text-align:left; line-height:130%;background:none; font-size:12px; border-bottom:1px solid #353535; }
	#header-sub-menu ul.menu li.expanded ul.menu li.expanded { background:transparent url('images/main-menu-arrow.png') no-repeat center right; }
	#header-sub-menu ul.menu li ul.menu li a:hover {  background:#1b1b1b; color:#0099CC;  }
	#header-sub-menu ul.menu li.expanded ul.menu li.expanded a:hover { background:#1b1b1b url('images/main-menu-arrow.png') no-repeat center right; }
	#header-sub-menu ul.menu li.expanded ul.menu li.leaf a:hover { background:#1b1b1b; }
	
	/* 3rd, 4th, 5th, (...) level  */
	#header-sub-menu ul.menu li.expanded ul ul { display: none; left: 230px; top:0; padding:0; }

/********** Image Floats ******/
.field-type-image img, .image-left {float:left; margin:0 10px 10px 0;}
.image-right {float:right; margin:0 0 10px 10px;}

/********** Partners ******/
.view-partners {background:white;}
.view-partners table, .view-partners table td {border:none;}
td.parter-table .views-field-field-image {height:100px; border:1px solid #ccc;}


/********** Sidebars **********/
.region-sidebar-first .block .content {padding:10px;}
.region-sidebar-first ul.menu li a {padding:3px;}
.region-sidebar-first .item-list ul li p {margin-bottom:0; font-size:90%;}

/********** Search ************/
#block-search-form {background: none; box-shadow: 0 2px 5px #000 inset;}

/********** Blog *************/
/*.node-private-blog {background:#ffcccc;}*/
.node-type-private-blog h1, .node-private-blog h2 a, .node-type-private-blog h2 {color:#990000;}
.node-blog {}

/********** Tags *************/
.field-name-field-tax-wg, .field-name-field-keywords {clear:left; margin-bottom:4px;}
.field-name-field-tax-wg .field-item,  .field-name-field-keywords .field-item {float:left;}
.field-name-field-tax-wg .field-item a,  .field-name-field-keywords .field-item a {background:#f5f5f5; padding:3px; margin-right:3px;}

/********** Users ************/
.profile .field .field-label {float: left;    font-weight: bold;    width: 150px;}
.profile .field .field-items {      margin-left:160px;   width:500px;}
.views-field-field-www p {margin-bottom:0;}
.remove-top-margin {margin-top:0;  margin-left:120px}
.view-id-members .views-field-field-organisation {font-size:90%; margin-left:120px}
.views-view-grid tr td  {vertical-align:top;}

.social-media, .biogr {margin-left:150px; padding-left:50px; float:left; border-left:1px solid #ccc;}
.social-media-icon {width:50px; height:50px; float:left}
.social-media-icon img {}

/********** User Panes *******/
.node-user-mobility-profile .field-label, .node-institution-mobility-profile .field-label {float: left;    font-weight: bold;    width: 250px;}
.node-user-mobility-profile .field-items, .node-institution-mobility-profile .field-items {margin-left:260px;   width:500px;}

#block-views-exp-my-mobility-page-2 .views-exposed-widget select { width:250px;}
/********** Pubs ************/
.node-publication .field-label {float:left; width:100px;}
.node-publication .field-items {margin-left:110px; border-bottom:1px solid #ccc;}
#filelisting_container a img  {display:inline;}
/********** Working Groups ************/
.node-working-group .field-name-body {margin-top:3em;}
.node-working-group .field-name-field-wg-shortname, .node-working-group .field-name-field-type  {border-bottom:1px solid #ccc; clear:left; }
.node-working-group .field-name-field-wg-shortname .field-label, .node-working-group .field-name-field-type .field-label {float:left; width:30%;}
.node-working-group .field-name-field-wg-shortname .field-items, .node-working-group .field-name-field-type .field-items {float:left; width:70%; }

.view-working-group-members .item-list ul li {padding:0;}

/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */
.clearfix:after, .grid:after {
  content: "\0020";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  overflow:hidden;}
.clearfix, .grid {display: block;}
* html .clearfix { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

/* Regular clearing
   apply to column that should drop below previous ones. */
.clear { clear:both;}

/* extra css by Jo */
#simple-table-of-contents {
	display: none;
}

#views-nivo-slider-slider-block {
	width: 100% !important;
}

.page-node-879 table td:nth-child(1) {  
  white-space: nowrap;
}