
.top-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1em;
}

.top-logo img {
  width: 150px;
  height: auto;
  margin-left: 1em;
}

.top-logo h1 {
  font-size: 1.5em;
  margin-bottom: 1em;
  text-align: center;
  flex: 1;
}


* {
	box-sizing: border-box;
}

body {
    background-color: #FFFFFF;
	padding-top: 0px;
	overflow: auto;
	color: #4e4e6a;
	font-style: normal;
	font-weight: 200;
	font-family: 'Montserrat', sans-serif;
	line-height: 1.6;
	margin: 0;
	min-height: 100vh;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}


h2,h3,a {
	color: #4e4e6a;
}

a {
	text-decoration: none;
}


.logo {
  width: 120px;
  margin-left: 1em;
  float: none;
  flex: 0;
}


.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.logo a {padding: 0px 16px;
	text-transform: uppercase;
	text-align: center;
	display: block;
	margin-right: 5px;
	border-right: 3px solid #34495e; /* add border-right property */
	padding-right: 20px; /* add padding-right property */
	font-size: 2em;
  	color: #34495e;}


.main-nav a {
	padding: 0px 16px;
	text-transform: uppercase;
	text-align: center;
	display: block;
	margin-right: 5px;
	border-right: 3px solid #34495e; /* add border-right property */
	padding-right: 20px; /* add padding-right property */
	font-size: 2em;
  	color: #34495e;
}

.main-nav a:hover {
	color: #718daa;
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #97B1C6;
  border: 1px solid #a2a2a2;
  -webkit-box-shadow: 0px 0px 14px 0px rgba(9,9,9,0.75);
  -moz-box-shadow: 0px 0px 14px 0px rgba(9,9,9,0.75);
  box-shadow: 0px 0px 14px 0px rgba(9,9,9,0.75);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;

}

#mainwrapper {
	/* Container of all content */
	width: 80%;
	overflow: auto;
	margin-left: 10%;
	padding-top: 60px;	
}


#mainwrapper a {
	font-family: source-sans-pro, sans-serif;
	font-style: normal;
	font-weight: 200;
	color: inherit;
	margin-top: 2em; 
	text-decoration: none;
	
}

#mainwrapper a:hover {
	
		color: #4E4E6A
}


#mainwrapper p a.PMID {
	color:inherit;
	text-decoration: underline;
	}
#mainwrapper h1 {
	/* Styling for main headings */
	color: #5c95AE;
}
#mainwrapper h2 {
	/*light blue */
	font-family: source-sans-pro, sans-serif;
	font-style: normal;
	font-weight: 200;
	color: #97B1C6;
	margin-top: 2em; 
}

#mainwrapper h4 {
	/*light blue */
	font-family: source-sans-pro, sans-serif;
	font-style: normal;
	font-weight: 200;
	color: inherit;
	
	
}
#mainwrapper ol {
	/* publication lists */
	font-family: source-sans-pro, sans-serif;
	font-style: normal;
	font-weight: 200;
	color: inherit;
	margin-top: 0em;	
	margin-bottom: 0em;
	width: 73%;
}

.image1 {
  display: block; /* make sure the image is a block-level element */
  width: 50%;
  height: auto;
  object-fit: cover;
  margin: 0 auto; /* center horizontally */
  text-align: center; /* center inline content within the block element */
}
.image2
{
width:300px;
height: 240px;
float:left;
margin-right:15px;
}

.image3
{
width:400px;
float:left;
margin-right:15px;
}
.image4
{
height:200px;
float:left;
margin-right:15px;

}
h4{ text-align: center;}



.labMember { min-height: 250px; }	


/* ================================= 
  Media Queries
==================================== */
/*small screen */
@media (max-width: 767px) { 


   h3, h4 {
    text-align: center;
  }
  .image4 {
    float: none;
    display: block;
    margin: 0 auto;
  }
  .image4 + p {
    text-align: center;
    margin-top: 1px;
  }
  #mainwrapper ol{
    width: 100%;
    font-size: 0.8em;
  }
  .image1, .image2 {
    width: 100%;
    height: 200px; /* set to desired value */
    object-fit: cover; /* or 'contain', 'fill', etc. */
  }

.top-logo {
    flex-direction: column;
    align-items: center;
  }

  .top-logo img {
    align-items: center;
	  margin: 2px;
    margin-bottom: 1em;
    max-width: 100%;
  }

  .header {
    flex-direction: column;
	  
  }

	img.logo{
		padding-top: 5px;
	}
	
  .logo a{
    margin: 1em;
    float: none;
    outline: none;
    
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0.5em 0;
    border-top: 0px solid #34495e;
    padding-top: 0em;
  }

  .main-nav a {
    border: thin;
    margin: 0em 50;
    border: thin solid;
    padding: 5 px;
    text-align: center;
    position: relative;
	 font-size: 1.2em;
 /*   text-decoration: underline; */
    
    min-width: 320px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }


}



