@charset "utf-8";
/* CSS Document */

/* undo some default styling of common (X)HTML browsers
 ************************************************************/

/* No list-markers by default - 
 * must redefine bullets w/ bg graphics
 ********************************************************/
/*ul,ol
{
	 list-style:none;
}*/

/* Avoid browser default inconsistent heading, 
 * font-sizes and pre/code
 ********************************************************/
body,h1,h2,h3,h4,h5,h6,pre,code,td
{
	margin:0px;
	font-size:14px;
	text-align:left;
}

/* Remove inconsistent (among browsers) - 
 * default padding or margin 
 ********************************************************/
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input,label,div,dd,dt,dl,table,tr,td,img,hr
{
	margin:0;
	padding: 0px;
}

ul list
{
	display:block;
	background-image: url(../images/ul_bullet.png);
	background-size: 5px 5px;
	background-repeat:no-repeat;
	background-position:0px 12px; 
	padding: 5px 0px 5px 10px;
}

ol
{
	list-style:decimal;
	list-style-position:inside;
	/*maintain indent in list item*/
	counter-reset: foo;
    display: table;
	/*margin-left:-5px;*/
}

ol li
{
	/*padding: 5px 0px;
	maintain indent in list item*/
	counter-increment: foo;
    display: table-row;
}

ol li::before {
	/*maintain indent in list item*/
    content: counter(foo) ".";
    display: table-cell;  /*aha! */
    text-align: left;
	padding: 5px;
}

#topcontentcontainer ul
{
	margin: 0 0 0 10px;
	padding: 0 0 0 10px;
}

#topcontentcontainer ul li
{
	margin: 0px;
}
/* prevent blue linked image borders
********************************************************/
a img,:link img,:visited img,fieldset
{
	border:none;
}
		 
/* Generic Selectors
 ************************************************************/
h1{
	font-size: 22px;
	font-weight: bold;
	color:#454545;
	padding-top: 15px;
	padding-bottom: 10px;
}
h2{
	font-size: 17px;
	font-weight: bold;
	color: #666;
	padding-bottom: 5px;
}

h6{
	color: #777
}

p{
	font-size: 14px;
}

hr{
	height:1px;
	width:70%;
	background-color:rgba(128,128,128,0.5);
	margin: auto;
}

strong{
	margin-left: 5px;
}

.small{
	font-size: 12px;
}

a .top{
	text-align:right;
	font-size: 10px;
	color: #36F;
}

.btmpad{
	padding-bottom: 10px;
}

.toppad{
	padding-top: 10px;
}

.pad{
	padding: 10px;
}

.textboxjustified{
	font-size:small-medium;
	text-align:justify;
	line-height:20pt;
}

.newpara{
	text-indent:25pt;
	margin-top:1pt;
}

/*for table-like stuff*/
.timerange{
	width:190px;
	float:left;
}

.location{
	width:794px;
	float:left;
}

.modules{
	width:300px;
	float:left;
}

.yearstaught{
	width:684px;
	float:left;
	padding-left:10px;
}

.classof{
	width:90px;
	float:left;
}

.studentname{
	padding:0 5px 0 5px;
	width:190px;
	float:left;
}

.phdproject{
	width:564px;
	float:left;
}

.phdremarks{
	margin-left:10px;
	width:140px;
	float:left;
}

.fypproject{
	width:714px;
	float:left;
}

.pubtitle{
	font-size:14px;
	font-weight:bold;
	/*text-indent: -1em;
    margin-left: 1em;*/
}

.pubjournal{
	font-size:10px;
	/*margin-left: 2em;*/
}

.pubauthor{
	font-size:11px;
	/*margin-left: 2em;*/
}

.pubjournal10{
	font-size:10px;
	margin-left: 3em;
}

.pubauthor10{
	font-size:11px;
	margin-left: 2.9em;
}

/*end*/
%clearfix {
  &:after {
    content: "";
    display: table;
    clear: both;
  }
}
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
    }
.clearfix { display: inline-table; }
* html .clearfix { height: 1%; }
.clearfix { display: block; }

.scrollup{
    width:50px;
    height:20px;
    opacity:1;
    position:fixed;
    bottom:25px;
    right:25px;
	display:none;
    text-indent:-9999px;
    background:url(../images/top.png) no-repeat;
}

.def {
	
}

.fix {
	position: fixed;
	z-index: 100;
	top:0px;
	width:100%;

}

.card {
	background-color:#DDD;
	margin:10px;
}

.card-footer {
	margin: 10px 0 0 0;
	font-size:10px;
	text-align:justify;
}
/* IDs
 ************************************************************/	
html {
   /*overflow-y: scroll;*/
}

body{
	/*line-height: 130%;*/
	line-height:20pt;
	font-family: Verdana, Geneva, sans-serif;
	overflow-y: scroll; /*this works if I want to have perma-scroll; but unfortunately the one in html doesn't work...*/
}
	
#container{
	width: 1024px;
	height: auto;
	line-height: 130%;
	font-family: Verdana, Geneva, sans-serif;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

#header{
	z-index:2;
	width:1024px;
	margin:0 auto;
}

#profilefloat{
	float:left;
	padding-top: 10px;
}

#headerfloatleft{
	width:49%;
	float:left;
	padding: 0px 10px 0 10px;
}
#headerfloatright{
	width:30%;
	float:right;
	padding: 0px 10px 0 10px;
}

/*#contentcontainer{
	display:block;
	height:auto;
	width:auto;
	padding-left:10px;
	padding-right:10px;
} Old, used together with container*/

#contentcontainer{
	width: 1024px;
	height: auto;
	margin: 0 auto; /*top, bottom 0; left, right auto*/
	display:block;
	padding:0 10px;
}

#topcontentcontainer{
	margin: 0 10px 20px 10px;
	width: auto;
}

#topcontentcontainer #topcontentcontainer{
	margin: 10px 0;
}

#topcontentcontainer td{
	padding: 5px 0 5px 0;
}

#floathalfcontainer{
	/*line-height:20pt;*/
	width:46%;
	/*padding: 10px 0px 10px 0px;*/
	float:left;
}

#cell{
}

#floathalfcontainer img{
	float:left;
	/*margin: 0 10px 10px 0;*/
	padding: 8px 10px 0px 0;
}

#topcontentcontainerwithnav{
	padding: 10px 20px 10px 20px;
	border-left: 1px solid gray;
	margin-left: 250px;
	/*padding-top:-139x;
	margin-top:139px;*/
}

#leftcolcontentcontainer{
	float:left;
	width: 46%;
	margin:0 20px 20px 20px;
}	

#footer{
	font-size: 10px;
	padding: 0.5em;
	width:1024px;
	margin: 0 auto;
	/*position: relative;
	bottom:-150px;*/
	overflow:hidden;
}

#updated{
	float: right;
}

/* top navigation bar */
#nav{
	/*background: #999;*/
	background: #ffa900;
	width:1024px;
	margin: 0 auto;
	height: 40px;
	line-height:35px;
}

#nav ul{
	padding: 0;
	margin:0;
}

#nav ul li{
	position: relative;
	float:left;
	list-style: none;
} 

#nav a{
	display:block;
	font-size:16px;
	font-weight:bold;
	color: #fff;
	text-align:center;
	text-decoration:none;
	text-transform:uppercase;
	padding: 4px 15px 4px 15px;
}
/*main link hover*/
#nav ul a:hover{
	/*background: #000;*/
	color: #fff;		
}

#nav ul li:hover > a{
	/*background: #e7e5e5;*/
	color: #444;		
}

.subli:hover > a{
	background: #ffcf73;
	color: #444;	
}

#nav ul ul{
	position: absolute;
	top: 40px;
	visibility: hidden;
	z-index: 2;
	line-height:20px;
}

/*sub link hover*/
#nav ul ul li:hover a, #nav ul li:hover li a{
	border: none;
	color: #444;
	box-shadow: none;		
}
#nav ul ul li a{
	background: #ffcf73;
}

#nav ul li:hover > ul{
	visibility: visible;
}
#nav ul ul a:hover{
	background: #ffbe40;
	/*color: #444 !important;
	border-radius: 0;*/
}

/*sub sub link*/
#nav ul ul ul{
	position: absolute;
	top:0;
	left: 148px;
	visibility: hidden;
}
/*menu behaviour*/
#nav ul ul li:first-child > a{
	/*border-radius: 1em 1em 0 0;*/
}
#nav ul ul li:last-child > a{
	/*border-radius: 0 0 1em 1em;*/
}
#nav ul ul li:only-child > a{
	/*border-radius: 1em;*/
}

/* left navigation bar */
#leftnav{
	/*position:fixed;*/
	float: left;
	width: 250px;
	height: 100%;
	/*padding-top: 139px;
	margin: 139px 0px 0px 0px;*/
}

#leftnav li a{
	display:block;
	width:auto px;
	font-size:14px;
	display:block;
	width:auto px;
	font-weight:bold;
	color: black;
	background-color:rgba(255,255,255,0);
	text-align:center;
	padding:3px;
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;		
	text-decoration:none;
	text-transform:uppercase;
}

#leftnav li a:hover{
	text-decoration: underline;
}

#leftnav h2{
	font-size: 16px;
	font-weight: bold;
	color: black;
	text-align:center;
}

#member {
	width: 50%;
	float: left;
	margin-bottom: 20px;
}

#member img{
	float: left;
	margin: 5px 10px 20px 5px;
}

#message a
{
    /* display: block before hiding */
    display: block;
    display: none;

    /* link is above all other elements */
    z-index: 999; 

    /* link stays at same place on page */
    position: fixed;

    width:50px;
    height:20px;
    opacity:0.8;
    position:fixed;
    bottom:25px;
    right:25px;
	display:none;
    text-indent:-9999px;
    background:url(../images/top.png) no-repeat;
}

/* tooltip code
 ************************************************************/
.tooltip{
	display: inline;
	position: relative;
}
	
.tooltip:hover:after{
	background: #333;
	background: rgba(0,0,0,.8);
	border-radius: 5px;
	bottom: 26px;
	color: #fff;
	content: attr(title);
	left: 20%;
	padding: 5px 15px;
	position: absolute;
	z-index: 98;
	width: 220px;
}

.tooltip:hover:before{
	border: solid;
	border-color: #333 transparent;
	border-width: 6px 6px 0 6px;
	bottom: 20px;
	content: "";
	left: 50%;
	position: absolute;
	z-index: 99;
}

.pdf{
	background-image:url(../images/pdficon_small.png);
	background-repeat:no-repeat;
	padding-left: 20px; /* width of the image plus a little extra padding */
	/*display: block;   may not need this, but I've found I do */
}
/* Hover box code
 ************************************************************/
/*reset margins*/
#topcontentcontainerwithnav .hoverbox img{
	margin: 0;
}

.hoverbox
{
	cursor: default;
	list-style: none;
}

.hoverbox a
{
	cursor: default;
}

.hoverbox a .preview
{
	display: none;
}

.hoverbox a:hover .preview
{
	display: block;
	position: absolute;
	top: -100px;
	left: -120px;
	z-index: 2;
}

.hoverbox img
{
	background: #fff;
	border-color: #aaa #ccc #ddd #bbb;
	border-style: solid;
	border-width: 1px;
	color: inherit;
	padding: 2px;
	vertical-align: top;
}

.hoverbox li
{
	background: #eee;
	border-color: #ddd #bbb #aaa #ccc;
	border-style: solid;
	border-width: 1px;
	color: inherit;
	display: inline;
	float: left;
	margin: 12px;
	padding: 5px;
	position: relative;
}

.hoverbox .preview
{
	border-color: #000;
	width: 200%;
	height: 200%;
}
