/******************************************************************
Theme Name: MPECDT
Theme URI: http://www.themble.com/bones
Description: This site was built using the Bones Development Theme. For more information about Bones or to view documentation, you can visit the <a href="https://github.com/eddiemachado/bones/issues" title="Bones Issues">Bones Issues</a> page on Github. You'll want to customize this for your clients with your own information.
Author: Ross Anthony
Author URI: http://www.rossanthony.co.uk
Version: 1.0
Tags: flexible-width, translation-ready, microformats, rtl-language-support
*/


@font-face {
    font-family: 'freesansmedium';
    src: url('library/fonts/gnu/freesans-webfont.eot');
    src: url('library/fonts/gnu/freesans-webfont.eot?#iefix') format('embedded-opentype'),
         url('library/fonts/gnu/freesans-webfont.woff') format('woff'),
         url('library/fonts/gnu/freesans-webfont.ttf') format('truetype'),
         url('library/fonts/gnu/freesans-webfont.svg#freesansmedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'freeserifmedium';
    src: url('library/fonts/gnu/freeserif-webfont.eot');
    src: url('library/fonts/gnu/freeserif-webfont.eot?#iefix') format('embedded-opentype'),
         url('library/fonts/gnu/freeserif-webfont.woff') format('woff'),
         url('library/fonts/gnu/freeserif-webfont.ttf') format('truetype'),
         url('library/fonts/gnu/freeserif-webfont.svg#freeserifmedium') format('svg');
    font-weight: normal;
    font-style: normal;
}


body {font-family: freesansmedium; font-weight: 300; font-size: 13px; line-height: 19px; background: white;}

#container {background: white}

a, a:visited, a:hover, #logo a:hover {color:black}

#logo,h1,h2,h3,h4,h5,h6 {font-family: freeserifmedium; color:black}

h1{font-size: 2.2em}
h2{font-size: 1.9em}
h3{font-size: 1.6em}
h4{font-size: 1.3em}
h5{font-size: 1.2em}
h6{font-size: 1.1em}

#logo {	
	margin: 10px 8%;
	width: 84%;
	line-height: 26px;
	font-size: 26px;
}

#logo a,
#logo a:hover{
	color: white
}

#centreGraphic {
	width: 84%;
	margin: 0 8%;
}
#centreGraphic img {
	height: auto;
	width: 100%;
	display: block;	
}
#inner-header .right-block,
#inner-header .left-block{
	width: 100%;
	text-align: center;	
}
.header .right-block img {
	margin: 12px;
	width: 80%;
	max-width: 115px
}

.header .wrap {
	background-color: black;
	width:100%;
}

.top-nav {
	margin-top: 10px
}
.top-nav .sub-menu{
	display:none
}
.top-nav ul{
	margin: 0
}
.top-nav li {
	float: left;
	clear: left;
	width: 100%;
}
.post-type-archive-person #menu-item-25 .sub-menu,
.top-nav .current_page_item .sub-menu {
	display: block;
}
.post-type-archive-person #menu-item-25 .sub-menu li a,
.top-nav .current_page_item .sub-menu li a{
	background: #9c9c9c
}

p.aligncenter {
  text-align: center;
}

iframe {
  max-width: 90%;
  margin: 5%;
}

/* Mobile menu */

.top-nav li:not(#menu-item-499) {
	display: none /* hide menu items on initial load */
}
.top-nav #menu-item-499 a{
	background: url(library/images/menu-toggle.png) no-repeat right 5px #eee;
	font-size: 1.5em;
	color: #363636;
}
.top-nav.open #menu-item-499 a{
	background-position: right -81px;
	background-color: #cfcfcf
}



.tax-affiliation #menu-item-25 a,
.tax-institution #menu-item-25 a,
.post-type-archive-person #menu-item-25 a,
.top-nav .current_page_item a{
	background: black;
	font-size: 17px;
	margin-top: -0px;
	color: white;
}
.top-nav .current_page_item a,
.top-nav .current_page_item a:hover {
	background: black;
	color:white
}
#main ul{
	list-style: disc;
	padding-left: 30px;
}
#main ul ul{
	list-style: circle;
	padding-left: 20px;
	font-size: 0.9em;
	margin: 3px 0 5px 0
}
#slides .slide{
	border:1px solid #eee;
}
.no-js #slides {
	width: 100%;
	max-height: 347px;
	overflow: hidden;
}
#slides img {
	width: 100%;
	margin: 0;
}
.textover{
	position: absolute;
	background: rgba(1,1,1,.7);
	color: white;
	padding: 10px;
	font-size: 1.2em;
	width: 100%;
}
#main .slidesjs-pagination {
	list-style: none;
	padding: 0;
	margin: 0;
	position: relative;
	bottom: 15px;
}
#main .slidesjs-pagination li{
	float: left;
	width: 12px;
	height: 12px;
	border-radius: 6px;
	background: #555;
	margin-right: 3px;
	overflow: hidden;
	text-indent: -2000em;
}
#main .slidesjs-pagination li a{
	width: 12px;
	height: 12px;
	display: block;
}
#main .slidesjs-pagination li a.active{
	width: 8px;
	height: 8px;
	border-radius: 4px;
	background-color: white;
	margin: 2px
}
.slidesjs-navigation {
	display: none;
}

.archive .person img {
	max-height: 110px
}

.archive .person,
.archive .student {
	padding: 10px 0;
	margin: 10px 0;
	border-top:1px dotted #555;
}
.archive .person .photo,
.archive .student .photo {
	margin:0 0 10px 10px
}
.archive .person .link,
.archive .student .link {
	margin-bottom: 8px;
	display: block;
}
.archive .person .affiliations,
.archive .person .institutions,
.archive .person .interests,
.archive .student .affiliations,
.archive .student .institutions,
.archive .student .interests{
	margin: 6px 0;
	color: #555;
}
.archive .person .affiliations strong,
.archive .person .institutions strong,
.archive .person .interests strong,
.archive .student .affiliations strong,
.archive .student .institutions strong,
.archive .student .interests strong{
	color: black;
}
.archive .person h3,
.archive .student h3{
	margin: .3em 0 .8em 0;
}

.archive .student .description{
	line-height: 19px;
	position: relative;
	max-height: 114px;
	overflow: hidden;
	-webkit-transition: all 2s;
	transition: all 2s;
}

.archive .student .description:hover
{
	max-height: 1000px;
	height: auto;
}

.archive .student .description:active
{
	max-height: 1000px;
	height: auto;
}

.archive .student .description:hover:after{
	background: rgba(255, 255, 255, 0);
}

.archive .student .description:after{
content: "";
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70%;
  height: 19px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
  transition: all 2s;
}

img.staff-member-photo {
	max-height:150px;
	text-align:center;
	margin:0px
}

div .equity-right-logos {
	text-align: center;
}

div.staff-member{
	width:45%;
	margin-bottom:2em;
	float:left;
	text-align:center;
}
div.staff-member.even{
	clear:left;
}
.staff-member {
	margin:0.3em
}
h3.staff-member-name{
	margin-top:.6em;
	margin-bottom:.6em
}
h4.staff-member-position{
	margin:0
}
#filters {
	width: 100%;
	height: 38px;
	margin: 0;
	padding: 0 !important;
}
#filters li{
	display: block;
	float: left;
	margin-left: 10px;
	cursor: default;
	padding: 5px
}
#filters li.filter {
	background: #eee;
}
#filters li:first-child{
	margin-left: 0;
	padding-left: 0;
	padding-right: 0;
}
#filters li span {
	color: #ccc
}
#filters li:hover > span {
	color: black
}
#filters li.all {
	padding: 5px 10px;
}
#filters li.all a{
	text-decoration: none;
}
#filters li.active {
	background: #999;
	color:white;
}
#filters li.all:hover {
	background: #999;
}
#filters li.all:hover a{
	color:white
}
#filters li ul {
	display: none;
	position: absolute;
	margin: 5px 0 0 -4px;
	background: white;
	border:1px solid #eee;
	min-width: 100px;
	padding: 5px 10px 5px 0;
}
#filters li ul li{
	padding: 0;
	margin: 0;
	width: 100%;
}
#filters li li.active {
	background: white
}
#filters li li.active a {
	color: #d10000;
}
#filters li li.active:before{
	content:'\25B8';
	margin-left: 4px;
	color: #d10000;
	text-decoration: none;
}
#filters li ul li a{
	padding: 0 5px;
}
#filters li ul li a:hover{
	color:#d10000
}
#filters li ul li{
	clear: left
}
#filters li:hover > ul{
	display: block
}

.archive-title u{
	color:#d10000
}
#main h1 {
	margin: 0 0 .7em 0;
}

#searchform #s{
	border: black 1px solid;
	padding: 6px;
}
#searchform label {
	display: none
}
#searchsubmit {
	border: 0;
	background: none;
	color: black;
	font-size: 29px;
	font-family: freesansmedium;
	font-weight: 300;
}

.pagination ul {
	list-style: none;
	width: 100%;
	text-align: center
}
.pagination ul li {
	display: inline;
	margin: 0 4px;
}
.pagination .current {
	display: inline-block;

	width: 20px;
	height: 20px;
	border-radius:10px;
	background-color: #dbdbdb;
}


#inner-footer {
	border-top: 1px dotted #555
}









@media only screen and (min-width: 480px) {
	
	/* iPhone landscape and above */
	
	div .equity-right-logos {
		float: right;
		max-width: 32%
	}

	#centreGraphic img{
		display: block;
		margin: 0 auto;
		height: 160px;
		width: auto;
		margin-top: 30px
	}

	#slides {
		max-height:200px;
	}
}

@media only screen and (min-width: 768px) {

	/* iPads & other tablets in portrait mode */
	
	#logo {
		margin: 60px 0 0 0;
		width: 180px;
		text-align: left;
	}
	#inner-header .left-block p{
		width: 5em
	}
	#inner-header .right-block,
	#inner-header .left-block{
		width: 20%;
		margin-left: 2.5%;
		margin-right: 2.5%
	}
	#inner-header .left-block{
		float: left;
	}
	#inner-header .right-block{
		float: right;
		max-height: 190px;
	}
	#inner-header .right-block img.ic{
		margin: 60px 0 15px 0
	}
	.top-nav{
		margin-top: 20px
	}
	.top-nav li {
		display: block !important;
		float: left;
		clear: none;
		width: auto;
	}
	.top-nav #menu-item-499{
		display: none !important
	}
	

	
}

@media only screen and (min-width: 1000px) {
	
	/* tablet landscape & Desktop view */
	
	#container {
		max-width: 1000px;
		margin: 0 auto 50px auto;
	}
	.wrap {max-width: 940px}

	.header .wrap {
		max-width: 1000px;
	}
	.top-nav{
		margin-top: 30px
	}
	.top-nav ul li a:hover{
		color:black;
	}
	.top-nav .sub-menu {
		display: none !important
	}
	.top-nav li:hover > .sub-menu {
		display: block !important
	}
	.textover{
		margin-top: 285px;
	}
	#slides {
		max-height:none;
	}
	.slidesjs-navigation {
		background: #555;
		background: rgba(1,1,1,.6);
		color: white;
		width: 28px;
		height: 28px;
		border-radius: 14px;
		overflow: hidden;
		font-size: 0;
		display: block;
		text-decoration: none;
		position: relative;
		bottom: 200px;
		z-index: 99;
		margin: 0 0 0 15px
	}
	.slidesjs-next{
		margin: -28px 0 0 575px
	}	
	.slidesjs-navigation:hover {
		color: white;
		background: black;
	}
	.slidesjs-previous:before{
		content:"\003c";
		font-size: 17px;
		font-weight: 500;
		margin-left: 8px;
		line-height: 25px
	}
	.slidesjs-next:before{
		content:"\003e";
		font-size: 17px;
		font-weight: 500;
		margin-left: 10px;
		line-height: 25px
	}
}



