/* 
----------------------------------------------------

		  The University of Edinburgh
	   University Website Programme 
		       Widget CSS Styles


	Author: Callum Kerr, Stratos Filalithis
	Version: 1.2
	Support: callum(dot)kerr(at)ed(dot)ac(dot)uk

----------------------------------------------------

-------------------------------
  Browser Reset
-------------------------------
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, p, q, s, samp,
small, strike, strong, tt, var,
center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	list-style: none;
}

html, body { height:100%; }

/* This can stop on-hover flicker of elements */
html { -webkit-font-smoothing: antialiased;} 

strong {
	font-weight: bold;
}

/* 
-------------------------------
  Body Styles
-------------------------------
*/

body {
	color: #000;
	background-color: #e6e6e6 !important;
	/* Yes, I know !important is evil. It's being overwritten by the uoe.css file, so can't really change it. */
	font-family: 'Arial';
}

.wrapper {
	padding: 20px;
	margin: 0px auto 0px auto;
	width: 960px;
	height: auto;
	overflow: auto;
	background-color: #fff;
}

p {
	margin-bottom: 16px;
}

.nomargin {
	margin: 0px;
}

/* 
-------------------------------
  Header Styles
-------------------------------
*/

.header {
	border-bottom: 1px solid #ccc;
	height: auto;
	overflow: auto;
	padding-bottom: 20px;
}

.crest {
	float: left;;
}

.service-title {
	font-size: 24px;
	color: #24476B;
	float: left;
	margin: 20px 0px 0px 20px;
	font-family: 'Oxygen';
}

.login-bar {
	margin-top: 10px;
	float: right;
	width: 960px;
	text-align: right;
}

/* 
-------------------------------
  Heading and Paragraph Styles
-------------------------------
*/

h2, h3, .label, .labeltext {
	color: #24476B;
	font-family: 'Oxygen';	
}

h2, .label {
	font-size: 20px;
	margin-bottom: 10px;
}

h3 {
	font-size: 16px;
	margin-bottom: 4px;
	margin-top: 16px;
}

.labeltext {
	font-size: 16px;
	margin-bottom: 4px;
	margin-top: 16px;
}

.label {
	line-height: 44px;
	margin-right: 20px;
}

.input-instruction {
	margin-top: 10px;
	margin-bottom: 0px;
	float: right;
	clear: both;
}

.bookmarklet-container {
	margin-top: 10px;
	margin-bottom: 0px;
}


/* 
-------------------------------
  Footer Styles:
-------------------------------
*/

.nav {
	width: 972px;
	background-color: #666;
	padding: 14px;
	margin: 0px auto 0px auto;
}

.menu ul {
	margin: 0;
	padding: 0;
	float: left;
}

.menu ul li {
	display: inline;

}

.menu ul li a {
	float: left;
	text-decoration: none;
	color: #fff;
	padding: 10px;
	font-size: 12px;
}

.menu ul li a:last-child {
	border: none;
}


.menu ul li a:hover {
	background-color: #888;
}

.menu ul li a:active {
	background-color: #777;
}

.other-services {
	color: #fff;
	font-size: 18px;
	margin-bottom: 6px;
	font-family: 'Oxygen';
	padding-bottom: 6px;
	border-bottom: 1px dotted #fff;
}

.copyright {
	color: #fff;
	font-size: 10px;
	margin-top: 6px;
	font-family: 'Oxygen';
}

.feedback-bubble {
	position: relative;
	display: block;
	float: right;
	top: -110px;
	left: -330px;
	padding: 10px;
    width:200px;
    z-index:15;
    background-color: #e6fedc;
    border: 3px solid #acbea5;
    font-size: 12px;
    position: relative;
    top: -20px;
}

.bookmark-link {
	margin-left: 10px;
	display: inline;
	font-size: 12px;
}

.devaccess {
	width: 990px;
	background-color: #666;
	float: left;
	margin: 20px 0px -20px -20px;
	text-align: right;
	font-size: 10px;
	color: #fff;
	padding: 5px;
	font-family: courier;
}

/* 
-------------------------------
  Body Box Styles:
-------------------------------
*/

.body-error-w, .body-error, .body-full, .body-shortcut, .body-done-w {
	margin-top: 20px;
	padding: 20px;
	height: auto;
	overflow: auto;
	background-color: #DDE6FF; 
} 

.box { margin-top: 20px; padding: 20px; height: auto; overflow: auto; background-color: #DDE6FF; }
.box p:last-child { margin-bottom: 0px; }
.left { float: left; }
.right { float: right; }
.w50 { display: inline-block; width: 437px; }
.w200 { width: 200px; }
.w300 { width: 300px; }
.w400 { width: 400px; }
.w460 { 	width: 460px; }
.w560 { width: 560px; }
.w660 { width: 660px; }
.w920 { width: 920px; }



/* Used for the bookmarklet drop down.*/
.bookmarklet { float left; width: 920px; background-color: #e6fedc; }

.image { float: right; margin-left: 20px; }

.homepara { float: left; width: 730px; }

.instruction { width: 960; margin-top: 20px; height: auto; overflow: auto; background-color: #fff; }

.body-error { background-color: #ffdde6; }
.body-error-w { float: right; width: 460px; background-color: #ffdde6; }

.body-full {float: left; width: 920px; }

.p-instruction { font-size: 16px; }

.container {width: 100%; clear: both; margin-top: 10px;}

.body-shortcut { float: left; width: 920px; background-color: #e6fedc; }
.body-done-w { float: left; width: 400px; background-color: #e6fedc; }
.body-preview-transparent {background: none; padding: 0px; width: 500px; overflow: visible;}

.ratioimages {float: right;}


/* 
-------------------------------
  Textbox Styles:
-------------------------------
*/

.textbox, .textbox-w, .textboxlong, .textboxtall, .textboxtall-w, .textboxurl,.textboxtall-w-l, .textboxtall-w-l-t {
	padding: 7px;
	font-size: 20px;
	outline: none;
	border: none;
	border-bottom: 2px solid #405CA7;
	vertical-align: bottom;
	margin: 0px;
}
.tb_wide100 { min-width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.tb_h100 { height: 100px; font-size: 12px; }
.tb_h150 { height: 150px; font-size: 12px; }
.tb_h200 { height: 200px; font-size: 12px; }
.textbox {width: 180px; } 
.tb_w410 { width: 412px; }



.textbox-w {width: 280px; }
.textboxlong, .textboxtall, .textboxtall-w, .textboxtall-w-l { padding: 8px; 	font-size: 12px; }
.textboxlong {width: 540px; }
.textboxtall {width: 540px; height: 80px; }
.textboxtall-w {width: 440px; height: 80px; }
.textboxtall-w-l {width: 100%; height: 140px; box-sizing: border-box; /*This is supported in IE 8! */ }
.textboxtall-w-l-t {width: 384px; height: 100px; font-size: 12px; }
.textboxurl {width: 400px; font-size: 28px; padding: 7px; float: left; line-height: -20px; }
.pureperson { font-weight: bold; }
.purepersonrole { margin-top: 2px; font-size:14px ;}
.options li { margin-bottom:5px; }


.paging { font-size: 14px; text-decoration: none; font-weight: bold; color: #000000; }

.paging a:link, .paging a:active, .paging a:visited { 
	background-color:#ffebc1;
	text-indent:0;
	border: 0px;
	outline: none;
	display:inline-block;
	color:#555;
	font-size:15px;
	font-weight:bold;
	font-style:normal;
	text-decoration:none;
	text-align:center;
	padding: 4px;
	cursor: pointer;
	min-width: 20px;
}

.paging a:hover { background-color:#FFF3D9; }

.paging a:active { position:relative; top:1px; }

.dropdown { width: 240px; padding: 8px; overflow: hidden; border: none; border-bottom: 2px solid #405CA7; width: 100%; outline: none; }
.dropdown:disabled { border-bottom: 2px solid #adc1f6; color: #fff; }

/* 
-------------------------------
  Button Styles:
-------------------------------
*/

.button, .buttonurl, .buttonwide {
	vertical-align: bottom;
	background-color:#ffebc1;
	text-indent:0;
	border: 0px;
	outline: none;
	display:inline-block;
	color: #555;
	font-size: 15px;
	font-weight: bold;
	font-style: normal;
	width: 100px;
	text-decoration: none;
	text-align: center;
	padding: 11px;
	cursor: pointer;
}

.bw80 {
	width: 80px;
}

.buttonurl {
	float: right;
	line-height: -20px;
}

.buttonurl {
	color: #555 !important; /*Am I hell making a special case for Flash. */
}

.buttonwide {
	width: 240px;
}

.button:hover, .buttonurl:hover, .buttonwide:hover {
	background-color: #FFF3D9;
}

.button:active,.buttonurl:active, .buttonwide:active {
	position:relative;
	top:1px;
}

.list li {
	margin-left: 20px;
	list-style: square;
	margin-bottom: 6px;
}

.footer_link:link, .footer_link:active, .footer_link:visited {
	color: #FFF;
}
/*
a:link, a:visited {
	color: #0000ff;
}

a:active {
	color: #ff0000;
}
*/
.overlay {
	display: none;
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0,0,0,0.7);
}

.errorbox {
	position: absolute;
	padding: 20px;
    width: 300px;
    z-index: 15;
    top: 50%;
    left: 50%;
    margin: -80px 0 0 -170px;
    background-color: #ffdde6;
    border: 5px solid #ff91ae;
    background-image: url('images/error.png');
    background-position: bottom left;
    background-repeat: no-repeat;
}

.mappreview {
	position: absolute;
	padding: 20px;
    width: 420px;
    height: 576px;
    z-index:15;
    top: 40%;
    left: 50%;
    margin: -293px 0 0 -210px;
 	background-color: #e6fedc;
    border: 5px solid #acbea5;
}

.infobox {
	position: absolute;
	padding: 20px;
    width: 300px;
    z-index: 15;
    top: 50%;
    left: 50%;
    margin: -80px 0 0 -170px;
 	background-color: #e6fedc;
    border: 5px solid #acbea5;
}

.message_button {
	float: right;
}


.feedbackbutton {
	position: fixed;
	right: 0px;
	top: 100px;

}

.help-button {
	float: right;
	background-color: #e6e6e6;
	padding: 24px;
	font-size: 20px;
	color:#333;
}

.help-button:hover {
	background-color: #ececec;
}

.help-button:active {
	position: relative;
	top: 2px;
}

.bubble {
  display: none;
  position: absolute;
  padding: 10px;
  background: #e6fedc;
  border: 2px solid #acbea5;
  max-width: 240px;
  font-size: 12px;
}


/* 
-------------------------------
  Global alert Styles:
-------------------------------
*/

.globalalert { width: 100%; }
.inneralert { width: 960px; margin-left: auto; margin-right: auto; padding: 20px; font-size: 16px; }
.g_critical { background-color: #ffc4d3; border-bottom: 4px solid #ff91ae; }	
.i_critical { background-color: #ffdde6; }	
.g_alert { background-color: #ffebc1; border-bottom: 4px solid #ffd275; }	
.i_alert { background-color: #fff3db; }
.g_safe { background-color: #d6efbc; border-bottom: 4px solid #8dd670; }	
.i_safe { background-color: #e8ffde; }
.g_info { background-color: #bfd4e8; border-bottom: 4px solid #70a0d7; }	
.i_info { background-color: #deeeff; }
.alertbutton { float: right; margin-top: -12px; }
