
/****** Basic styles ******/

h1 { font-weight:600;}
h2 { font-weight:600;}
.bstyle {font-weight: 600;}

p {	
	text-align: justify;
-webkit-hyphens: auto;
   -moz-hyphens: auto;
    -ms-hyphens: auto;
        hyphens: auto;
}
@media screen and (max-width: 31.5em){
p { 
	/*text-align: left;*/
}
}

/***** Links ****/

/* Standard unbold links */
a.red:link {text-decoration: none; color: #c67400;}
a.red:visited {color: #c67400;}
a.red:hover{text-decoration: underline; color: #c67400;}
a.red:active{text-decoration: underline; color: #c67400;}

/* Plain, small, colored links */
a.plain:link {text-decoration: none; font-weight: 600; color: #c67400; font-size: smaller; }
a.plain:visited {color: #c67400;}
a.plain:hover{text-decoration: underline; /*color: #4562ff;*/ }
a.plain:active{ text-decoration: underline;/*color: #4562ff;*/}

/* Plain, normal, coloured links*/
a.mod:link {text-decoration: none; color: #c67400;  font-weight: 600;}
a.mod:visited {color: #c67400;}
a.mod:hover{text-decoration: underline;  }
a.mod:active{text-decoration: underline;}

/* Black nav link for current page */
a.initialmod:link {text-decoration: none; color: #222222;  font-weight: 600;}
a.initialmod:visited {color: #222222;}
a.initialmod:hover{text-decoration: none;  }
a.initialmod:active{text-decoration: none;}


/***** Lightbox for abstracts *****/

/* Dim the background when displaying box */
.black_overlay{
        display: none;
        position: fixed;
        top: 0%;
        left: 0%;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.60);
        z-index:1001;
}

/* Frame and close button */

.pclose {margin-bottom:0em; margin-top: 0.5em; margin-right: 1em; text-align: right; }

/* Light box */

.popup_content {
        display: none;
        position: fixed;
        top: 8%;
	
	box-sizing: border-box;
	height: 85%;
	border: 4px solid #c67400; 
	border-radius: 15px;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.7);
        background-color: white; 
        z-index:1002;
        font-family: "Crimson Text",  serif;
	color:#222222;
	font-size: larger;
        width: 33em;
	line-height: 1.15;
	margin: auto;
	left: 0;
	right: 0;
	overflow: hidden;
}

/* The lightbox text */

.popup_text {
        padding: 1.5em 3.5em 1.5em 3.5em;
	box-sizing: border-box;
	height: 100%;
	overflow: auto; 
	border-radius: 15px;
	scrollbar-width: thin;
}

/* Screen-size dependent styles for lightbox*/

@media screen and (max-width: 31.5em){
.popup_content {
	top: 5%;
	width:95%;
	height: 90%;
	border-left: 0px;
	border-radius: 0px 15px 15px 0px;
	margin: 0em 0em 0em 0em;
}
.popup_text {
        padding: 1.5em 1.5em 1.5em 1.5em;
}
}


/***************** Basic Page Structure **************/

body {  
	/*background-color: #293575;*/
	background-color: #303030;
	margin: 0em 0em 0em 0em;
	 /*background-image: url("../Bluestripe.gif");
	background-attachment: fixed; */
	scrollbar-width: thin;
	/* Show right scrollbar by default, to avoid changing display width */
	overflow-y: scroll;
}
@media screen and (max-width: 31.5em){
body {
	background-color: #fafafa;
/*	font-size: smaller;*/
	/*background-color: #fff2c6;27 3e 9b = 39 47 155 */
	/*background-color: #fbfaea; */
}
}

/* container for all the content */

.cContainer {
	margin-left:1em;
	margin-top: 1em;
	display: table;
}
@media screen and (max-width:31.5em){
.cContainer {
/*	margin: 0em 0em 0em 0em;*/
	margin-left:0;
	display: block;
}
}

/* container for each column */
.ColumnContainer {
	width: 31em;
	/*width: 34em;*/
	margin: 0em;
	overflow: hidden;
	float:left;
}
@media screen and (max-width:31.5em){
.ColumnContainer {
	width: 100%;
	margin: 0em 0em 0em 0em;
}
}

/* The header box and sub-boxes*/

#HeaderLayer {
	float:left;
	padding: 0em;
	margin-bottom: 0.5em;
	margin-top: 0.6em;
	margin-left: 0.5em;
	margin-right: 0.5em;
	/*width: 33em;*/
	width: 30em;
	height: auto;
	z-index:2;
	visibility: visible;
        /*background-color: #C5B358;*/
	/*background-color: #d3bc5f;*/
	/*background-color: #b0b0b0;*/
	background-color: #ff9f00;
	line-height:1.1;
	/*box-shadow: 2px 2px 5px rgba(0,0,0,0.5);*/
	overflow: hidden;
}
@media screen and (max-width: 31.5em){
#HeaderLayer {
	width: 100%;
	margin-left: 0em;
	margin-right: 0em;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
	display: flex;
	align-items: center;
}
}

#AddressLayer{} 
@media screen and (max-width: 31.5em){
#AddressLayer{/*display:none;*/} 
}

#NameLayer {
	font-family: "Crimson Text", serif; 
	color:black;

	    background-color: transparent;

	margin: 0em auto;
	padding-left: 1em;
	padding-right: 1em;
	padding-bottom: 0em;
	float:left;
	z-index:3;
	top: 0px;
	visibility: visible;
	text-shadow: 1px 1px 0px rgba(255,255,255,0.3);
	box-sizing: border-box;
	overflow: hidden;
}
@media screen and (max-width: 31.5em){
#NameLayer {   float: left;
	/*text-shadow: 1px 1px 0px #aaaaaa;*/
	font-size: smaller;
} 
}


img.MyImage {
    /*width:  15.2em;*/
	display: block;
	float:left;
	/*width:15.2em;*/
	/*width: auto;*/
	padding: 0em;
	margin: 0em;
	z-index:3;
	left: 0px;
	top: 0px;
	overflow: hidden;
	height: auto;
	max-width: min(calc(100% - 13em), 50%);
}
@media screen and (max-width: 31.5em){
img.MyImage {
    /*width:  100%;
    height: auto;*/
}
}

/* Used only for address */
.style4 {/*font-size: larger;*/ font-weight: normal; color: black; text-shadow: none; padding-bottom: 0.3em;}

/* Used only for email */
.style4b {font-weight: normal; color: black; text-shadow: none; margin-top: 0.4em; padding-left: 1em;}


/***** Nav box *****/

.nav {
    display: inline-block;
    margin: 0em 0em 0em 0em;
    padding: 0em;
    font-size: larger;
}
.navspacer{display: inline-block; width: auto; margin: 0em;}



/***** Text boxes *****/

.initialwhitebox {
	float: left;
	margin-top: 0.6em;
	margin-bottom: 0.5em;
	margin-left: 0.5em;
	margin-right: 0.5em;
	/*width: 33em;*/
	width: 30em;
	background-color: white;
	height:auto;
	line-height: 1.2;
	/*box-shadow: 2px 2px 5px rgba(0,0,0,0.5);*/
}
@media screen and (max-width: 31.5em){
.initialwhitebox, .whitebox{
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
}


/* Text within whitebox */
.PubsLayer {
font-family: "Crimson Text",   serif; color:#222222; 
	height:auto;
	margin-left: 1.5em;
	margin-right: 1.5em;
	margin-bottom: 1.2em;
	margin-top: 1em;
	z-index:2;
	/*font-size: larger;*/
	font-weight:400;
}
@media screen and (max-width: 31.5em){
.PubsLayer {
}
}

/* Items in an unmarked list in text box*/

.pitem {margin-bottom:0.5em; margin-top: 0.7em; text-align: left; }


/* Enumerated list of research projects */

#projects {list-style: none; padding-left: 1.5em; }
#projects li
{	padding-bottom: 0.4em;
}
#projects li:before
{	content: '\25B9';
	content: '*';
	float: left; margin-left: -1em; 
}
