/* Basic layout
--------------------------------------------------  */

#outer-container {
	position:relative;
	width:815px;
	overflow:hidden;
	background:transparent url(../images/bg-wood-02.gif) repeat 0 0;
	padding:0 0 10px 0;
}

#shadow-tl,
#shadow-tr,
#shadow-br,
#shadow-bl {
	position:absolute;
	width:210px;
	height:210px;
	z-index:0;
}

#shadow-tl { background:transparent url(../images/shadow-tl.png) no-repeat 0 0; top:0; left:0; }
#shadow-tr { background:transparent url(../images/shadow-tr.png) no-repeat 0 0; top:0; right:0; }
#shadow-br { background:transparent url(../images/shadow-br.png) no-repeat 0 0; bottom:0; right:0; }
#shadow-bl { background:transparent url(../images/shadow-bl.png) no-repeat 0 0; bottom:0; left:0; }

#inner-container {
	position:relative;
}

.home #inner-container {
	background:transparent url(../images/home-header.png) no-repeat 0 0;
	height:970px;
	margin:0px 0 0 0;
}

#more-profiles {
	width:220px;
	height:33px;
	padding:25px 0 0 0;
	background:transparent url(../images/bg-more-profiles.png) no-repeat 0 20px;
}

	#more-profiles a {
		padding:0 0 0 25px;
		margin:0 0 0 22px;
		color:#fff;
		font-size:1.5em;
		background:transparent url(../images/more-profiles-arrow.png) no-repeat 0 4px;
		text-decoration:none;
	}

.home h1 {
	display:none;
}

/* Text layout
--------------------------------------------------  */	

.two-col {
	background:url("/2007templates/images/dotted_line_bg.gif") repeat-y scroll 50% 0 transparent
}

.two-col .col {
	width:250px;
	float:left;
}

.three-col {
	
}

.three-col .col {
	width:155px;
	float:left;
}

.img-caption {
	position:relative;
	text-align:center;
	margin:10px 0 15px 0;
	width:100%;
}

	.img-tape {
		position:absolute;
		top:0;
		left:50%;
		display:block;
		width:141px;
		height:30px;
		margin:-10px 0 0 -65px;
		background:transparent url(../images/img-tape.png) no-repeat 0 0;
	}

	.img-border {
		border:1px solid #e7e7e7;
		padding:5px;
	}

	.img-caption p {
		width:100%;
		text-align:center;
		color:#1f6779;
		margin:7px 0 0 0;
		cursor: text;
	}

/* Profile column
--------------------------------------------------  */

#profile-col {
	position:relative;
	width:190px;
	float:left;
	padding:0 0 10px 0;
}

.home  #profile-col {
	float:right;
	margin:70px 20px 0 0;
}

	#profile-pic {
		position:absolute;
		left:0;
		top:0;
		z-index:1;
	}
	
	#profile-content {
		margin:220px 0 0 10px;
		padding:20px 0 1px 5px;
		background:transparent url(../images/bg-profile-content.png) no-repeat 0 0;
		height:325px;
	}
	
	#profile-content h2 {
		background:#ebecec;
		width:145px;
		padding:5px;
		border:0;
		font-size:1.6em;
	}
	
	#profile-content p {
		padding:0 8px 0 3px;
	}
	
	#profile-content div {
		padding:0 0 0 5px;
	}
	
	#profile-content p.bubble {
		padding:5px 20px 70px 10px;
		height:80px;
	}
	
	#profile-content p.bubble.chris {
		background:transparent url(../../chris/bubble.gif) no-repeat 0 0;
	}
	
	#profile-content p.bubble.alexander {
		background:transparent url(../../alexander/bubble.gif) no-repeat 0 0;
	}
	
	#profile-content p.bubble.corrie {
		background:transparent url(../../corrie/bubble.gif) no-repeat 0 0;
	}
	
	#profile-content p.bubble.marcello {
		background:transparent url(../../marcello/bubble.gif) no-repeat 0 0;
		line-height:16px;
	}
	
	#profile-content p.bubble.franca {
		background:transparent url(../../franca/bubble.gif) no-repeat 0 0;
	}
	
	#profile-content p.bubble.kirsty {
		background:transparent url(../../kirsty/bubble.gif) no-repeat 0 0;
	}
	
	#profile-content p.bubble.outi {
		background:transparent url(../../outi/bubble.gif) no-repeat 0 0;
	}
	
	#profile-content p.bubble.jonny {
		background:transparent url(../../jonny/bubble.gif) no-repeat 0 0;
		line-height:16px;
	}
	
	#profile-content p.bubble.khoa {
		background:transparent url(../../khoa/bubble.gif) no-repeat 0 0;
	}
	
	#profile-content p.bubble.saleem {
		background:transparent url(../../saleem/bubble.gif) no-repeat 0 0;
	}
	
	#profile-content p.bubble.solomon {
		background:transparent url(../../solomon/bubble.gif) no-repeat 0 0;
	}
	
	#profile-content p.bubble.mervyn {
		background:transparent url(../../mervyn/bubble.gif) no-repeat 0 0;
	}
	
	#profile-content p.bubble.stephanie {
		background:transparent url(../../stephanie/bubble.gif) no-repeat 0 0;
	}
	
	#profile-content p.bubble.lakshana {
		background:transparent url(../../lakshana/bubble.gif) no-repeat 0 0;
	}
	
/* Info column
--------------------------------------------------  */

#info-col {
	position:relative;
	float:right;
	width:570px;
	margin:-40px 10px 0 0;
	padding:0 0 10px 0;
}

.home #info-col {
	float:left;
	margin:107px 0px 0 30px;
}

#info-col h3 {
	color:#28849B;
	font-size:1.3em;
	font-weight:bold;
}

	#info-head-bg-l,
	#info-head-bg-r,
	#info-foot-bg-l,
	#info-foot-bg-r {
		position:absolute;
		z-index:0;
	}
	
	#info-head-bg-l {
		top:16px;
		left:0;
		margin:0 0 0 -17px;
		background:transparent url(../images/bg-info-head-l.png) no-repeat 0 0;
		width:183px;
		height:35px;
	}
	
	.home #info-head-bg-l {
		height:80px;
	}
	
	#info-head-bg-r {
		top:15px;
		right:0;
		margin:0 -14px 0 0;
		background:transparent url(../images/bg-info-head-r.png) no-repeat 0 0;
		width:108px;
		height:248px;
	}
	
	#info-foot-bg-l {
		bottom:0;
		left:0;
		margin:0 0 2px -9px;
		background:transparent url(../images/bg-info-foot-l.png) no-repeat 0 0;
		width:495px;
		height:120px;
	}
	
	#info-foot-bg-r {
		bottom:0;
		right:0;
		margin:0 -11px 1px 0;
		background:transparent url(../images/bg-info-foot-r.png) no-repeat 0 0;
		width:99px;
		height:120px;
	}

	#info-menu {
		float:right;
		font-size:1.5em;
		margin:0 10px 0 0;
	}
	
		#info-menu div {
			float:left;
			margin:0 2px 0 0;
		}
		
		#info-menu div a {
			color:#fff;
			display:block;
			background:#28849b url(../images/bg-info-menu-l.png) no-repeat 0 0;
		}
		
		#info-menu div a span {
			padding:7px 15px;
			display:block;
			background:transparent url(../images/bg-info-menu-r.png) no-repeat 100% 0;
		}
		
		#info-menu div a:link,
		#info-menu div a:visited {
			text-decoration:none;
		}
		
		#info-menu div a:active,
		#info-menu div a:hover {
			background-color:#44b6d0;
		}

	#info-content {
		position:relative;
		clear:right;
		background:#fff;
		padding:70px 10px 10px 10px;
		z-index:1;
	}
	
	.home #info-content {
		padding-top:130px;
	}
		
		#bg-paper {
		position:absolute;
		display:block;
		left:0;
		margin:0 0 0 -29px;
		top:80px;
		bottom:0px;
		width:29px;
		background:transparent url(../images/bg-paper.png) no-repeat 0 0;
		padding:70px 10px 1px 10px;
	}
	
	#info-title {
		position:absolute;
		top:15px;
		margin:0 0 0 -27px;
	}
	
	.home #info-title {
		top:65px;
	}
	
		#info-title-l {
			float:left;
			display:block;
			width:17px;
			height:57px;
			background:transparent url(../images/bg-info-title-l.png) no-repeat 0 0;
		}
		
		#info-title-c {
			float:left;
			padding:8px 0;
			color:#fff;
			font-size:2em;
			background:#44b6d0 url(../images/bg-info-title-c.png) no-repeat 0 0;
			min-width:83px;
		}
		
		#info-title-r {
			display:block;
			width:17px;
			height:48px;
			float:left;
			margin:-4px 0 0 0;
			background:transparent url(../images/bg-info-title-r.png) no-repeat 0 0;
		}
		
	#info-weekend-jump {
		position:absolute;
		top:15px;
		right:10px;
	}
	
		#info-weekend-jump a {
			display:block;
			background:#fff url(../images/bg-weekend.gif) no-repeat 0 0;
			width:448px;
			height:46px;
			line-height:0px;
			text-indent:-9999px;
			outline:none;
		}

/* Schedule page
--------------------------------------------------  */

.schedule-header {
	width:550px;
	border:1px solid #e2e2e2;
	background:transparent url(../images/bg-table-head.png) repeat-x 0 0;
	height:38px;
}

	.schedule-header div {
		display:block;
		float:left;
		width:109px;
		height:38px;
		line-height:38px;
		text-align:center;
		border-left:1px solid #c8c8c8;
		color:#2c8799;
		font-size:1.4em;
	}
	
	.schedule-header.weekend div {
		width:273px;
	}

	.schedule-header div.first {
		border-left:none;
	}

.schedule-times {
	position:absolute;
	margin:7px 0 0 -68px;
}

	.schedule-times div {
		position:relative;
		clear:left;
		display:block;
		width:46px;
		height:32px;
		background:transparent url(../images/bg-schedule-times.png) no-repeat 0 0;
		margin-bottom:2px;
		color:#28849b;
		font-size:1.8em;
		padding:12px 0 0 12px;
	}
	
	.schedule-times div span {
		position:absolute;
		top:5px;
		right:5px;
		font-size:0.7em;
		border-bottom:1px solid #28849b;
	}
	
#info-content table {
	width:550px;
	font-size:1.1em;
	margin:5px 0 10px 0;
	border:1px solid #e2e2e2;
	padding:0;
	border-collapse:collapse;
	border-spacing:0;
}

	#info-content table td {
		border:1px solid #e2e2e2;
		width:110px;
		height:43px;
		text-align:center;
	}
	
	#info-content table td, x:-moz-any-link { 
		height:46px; 
	}
	
	#info-content table td.row2 { height:88px; }
	#info-content table td.row2, x:-moz-any-link { height:92px; }
	#info-content table td.row3 { height:133px; }
	#info-content table td.row3, x:-moz-any-link { height:138px; }
	#info-content table td.row4 { height:178px; }
	#info-content table td.row4, x:-moz-any-link { height:184px; }
	#info-content table td.row5 { height:227px; }
	#info-content table td.row5, x:-moz-any-link { height:230px; }
	#info-content table td.row6 { height:268px; }
	#info-content table td.row6, x:-moz-any-link { height:276px; }
	#info-content table td.row8 { height:358px; }
	#info-content table td.row8, x:-moz-any-link { height:368px; }
	#info-content table td.row12 { height:538px; }
	#info-content table td.row12, x:-moz-any-link { height:552px; }
	#info-content table td.personal { background:#f4f3f3; }
	#info-content table td.work { background:#e0f3f7; }

/* Home
--------------------------------------------------  */

#link-grid {
	margin:0 0 50px 0;
}

#link-grid div.cell {
	display:block;
	float:left;
	height:65px;
	width:170px;
	vertical-align:middle;
	padding:3px 0 0 10px;
}
#link-grid div.cell.pad2 {
	padding-top:12px;
	height:56px;
}

#link-grid div.cell.pad3 {
	padding-top:18px;
	height:50px;
}

#link-grid h2 {
	margin:0;
	padding:0;
	background:none;
	font-weight:bold;
}

#link-grid a:link,
#link-grid a:visited {
	text-decoration:none;
}

#link-grid div h2 a:active,
#link-grid div h2  a:hover {
	text-decoration:underline;
}

#link-grid p {
	margin:0;
	padding:0;
	font-size:1.1em;
	line-height:1.2em;
}

#link-grid .bb {
	border-bottom:1px dotted #b8b7b7;
}

#link-grid .bl {
	border-left:1px dotted #b8b7b7;
}

#link-grid .br {
	border-right:1px dotted #b8b7b7;
}


#link-grid div.cell.highlight {
	background:transparent url(../images/bg-home-roll.gif) repeat 0 0;
}

#home-message {
	position:absolute;
	top:15px;
	left:7px;
	display:block;
	width:548px;
	height:37px;
	background:transparent url(../images/home-message.gif) no-repeat 0 0;
	text-indent:-9999px;
	line-height:0px;
}

#home-arrow {
	position:absolute;
	top:70px;
	right:30px;
	background:transparent url(../images/home-arrow.gif) no-repeat 0 0;
	display:block;
	width:73px;
	height:45px;
}

/* Flickr feed
--------------------------------------------------  */

#flickr a {
	display:block;
	height:130px;
	width:160px;
	background-position:50% 50%;
	margin:0 0 0 5px;
}

/* Colorbox
--------------------------------------------------  */

/*
    ColorBox Core Style
    The following rules are the styles that are consistant between themes.
    Avoid changing this area to maintain compatability with future versions of ColorBox.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative; overflow:hidden;}
#cboxLoadedContent{overflow:auto;}
#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}

/* 
    ColorBox example user style
    The following rules are ordered and tabbed in a way that represents the
    order/nesting of the generated HTML, so that the structure easier to understand.
*/
#cboxOverlay{background:#333;}

#colorBox{}
    #cboxTopLeft{width:25px; height:25px; background:url(images/border1.png) 0 0 no-repeat;}
    #cboxTopCenter{height:25px; background:url(images/border1.png) 0 -50px repeat-x;}
    #cboxTopRight{width:25px; height:25px; background:url(images/border1.png) -25px 0 no-repeat;}
    #cboxBottomLeft{width:25px; height:25px; background:url(images/border1.png) 0 -25px no-repeat;}
    #cboxBottomCenter{height:25px; background:url(images/border1.png) 0 -75px repeat-x;}
    #cboxBottomRight{width:25px; height:25px; background:url(images/border1.png) -25px -25px no-repeat;}
    #cboxMiddleLeft{width:25px; background:url(images/border2.png) 0 0 repeat-y;}
    #cboxMiddleRight{width:25px; background:url(images/border2.png) -25px 0 repeat-y;}
    #cboxContent{background:#fff;}
        #cboxLoadedContent{margin-bottom:20px;}
        #cboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999;}
        #cboxCurrent{position:absolute; bottom:0px; left:100px; color:#999;}
        #cboxSlideshow{position:absolute; bottom:0px; right:42px; color:#444;}
        #cboxPrevious{position:absolute; bottom:0px; left:0; color:#444;}
        #cboxNext{position:absolute; bottom:0px; left:63px; color:#444;}
        #cboxLoadingOverlay{background:url(images/loading.gif) 5px 5px no-repeat #fff;}
        #cboxClose{position:absolute; bottom:0; right:0; display:block; color:#bc2828; font-size:11px;}

/*
    The following fixes png-transparency for IE6.  
    It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition
    
    Since this method does not support CSS background-positioning, it is incompatible with CSS sprites.
    Colorbox preloads navigation hover classes to account for this.
    
    !! Important Note: AlphaImageLoader src paths are relative to the HTML document,
    while regular CSS background images are relative to the CSS document.
*/
.cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://www.imperial.ac.uk/imedia/UGP/2011/html/images/internet_explorer/borderTopLeft.png, sizingMethod='scale');}
.cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://www.imperial.ac.uk/imedia/UGP/2011/html/images/internet_explorer/borderTopCenter.png, sizingMethod='scale');}
.cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://www.imperial.ac.uk/imedia/UGP/2011/html/images/internet_explorer/borderTopRight.png, sizingMethod='scale');}
.cboxIE #cboxBottomLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://www.imperial.ac.uk/imedia/UGP/2011/html/images/internet_explorer/borderBottomLeft.png, sizingMethod='scale');}
.cboxIE #cboxBottomCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://www.imperial.ac.uk/imedia/UGP/2011/html/images/internet_explorer/borderBottomCenter.png, sizingMethod='scale');}
.cboxIE #cboxBottomRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://www.imperial.ac.uk/imedia/UGP/2011/html/images/internet_explorer/borderBottomRight.png, sizingMethod='scale');}
.cboxIE #cboxMiddleLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://www.imperial.ac.uk/imedia/UGP/2011/html/images/internet_explorer/borderMiddleLeft.png, sizingMethod='scale');}
.cboxIE #cboxMiddleRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://www.imperial.ac.uk/imedia/UGP/2011/html/images/internet_explorer/borderMiddleRight.png, sizingMethod='scale');}



/* FIXES */

/* fixes column problem in popUps */
.extraMargin { margin-left: 40px;}
.extraMarginNoPad { margin-left: 9px; padding:0; float:left; width:250px; }