/* css local styles to augment and override the qm remote styles */


label {
	display: inline;
	font-weight: normal;
}

/* 
 * overrides - including media queries
 */

 .content section{
    float: none !important;
    padding:0 !important;
    margin-left: 0 !important;
    width: 100% !important;
 
 }
 
 #content {
    float: right;
    margin-left: 5%;
    width: 75%;
 
 }

/* vertical menus need space below last leaf */ 
#secNav section {
  margin-bottom: 20px;
}

/* Vertical menus tertiary*/
ul.menu {
  margin-left: 10px;
}
 
#secNav section{
    float: none !important;
	margin-left: 0% !important;
	width: 100% !important;
}

#secNav aside{
    border: none !important;
    float: none !important;
	margin-left: 0% !important;
    padding: 0 !important;	
    width: 100% !important;
}

#secNav  .clearfix:after {
  clear: none !important;
  content: normal !important;
  display: block !important;
  height: 0;
  visibility: hidden;
}


#secNav .section{
    margin-bottom:30px;
}

#sidebar-first{
     margin-bottom:30px;   
}

#secNav .content {
  float: none !important;
  font-size: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

#secNav .content ul li {
  list-style:none;
  float: none;
  margin: 0;
  padding: 7px 0;
}

/* Margin before unordered lists in tryptich */
ul {
	-webkit-margin-before: 0;
	margin-top: 0;
}

#skip-link{
    display:none;
}

#footer .content{
    background-color: transparent !important ;
    float: none !important;
    font-size: 1.1em !important;
    margin: 0 0 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

h1#page-title + div.tabs {
    margin: 0px;
}

#content .content {
  float: none !important;
  font-size: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

#footer .content {
  float: none !important;
  font-size: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

#footer div.section{
    padding:0 5px; 
} 



@media screen and (max-device-width: 480px) {
	
#content{
		padding: 2%!important;
		float: none !important;
		width: 96%!important;
		}

/* People tables hide extra columns */
.hideColumn, .center { visibility: hidden; display: none; }

/* Triptych */
.caption {
    position: relative!important;
    float: left!important;
    width: 100%!important;
}
.LandingBox img {
    display: inline!important;
}

/* Social icons above the footer */
.newsExtraLeft {
  float: left;
  margin-top: -15px;
  margin-bottom: 0px !important;
}

}	

@media only screen and (max-width: 768px /*650px*/) {
.LandingBox img {
    display: inline!important;
}

#content{
		width: 90% !important;
		padding: 0 5% !important;
		margin: 0 0 20px 0 !important;
}	

/* People tables hide extra columns */
.hideColumn, .center { visibility: hidden; display: none; }

/* News on the front page should take full width*/
.newsSection {
		width: 90% !important;
		padding: 0 5% !important;
		margin: 0 0 20px 0 !important;
		height: 100% !important;
}

.newsSection img {
  display: none !important;
}

/* Social media box on the front page */
.socialMedia {
		width: 90% !important;
		padding: 0 5% !important;
		margin: 0 0 20px 0 !important;
		height: 100% !important;
}

/* Triptych */
.caption {
    position: relative!important;
    float: left!important;
    width: 100%!important;
    margin-top: 1.4em;
    margin-bottom: -1.4em;
}

/* Social icons above the footer */
.newsExtraLeft {
  float: left;
  margin-top: -15px;
  margin-bottom: 0px !important;
}

}	

/* iPad 2*/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
.newsSection {
		width: 90% !important;
		padding: 0 5% !important;
		margin: 0 0 20px 0 !important;
		height: 100% !important;
}

/* Social media box on the front page */
.socialMedia {
		width: 90% !important;
		padding: 0 5% !important;
		margin: 0 0 20px 0 !important;
		height: 100% !important;
}

.LandingBox{
	float: left;
	width: 32%;
	background: #e7eaf1;
	margin-right: 2%;
	margin-bottom: -9999px;
	padding-bottom: 9999px;
    font-size: 0.8em;
}

}

.LandingBox.last {
    margin-right: 0px;
}

}

/* blockquote
 
blockquote {
  quotes:"\201C""\201D""\2018""\2019";
} 
*/
 
/* Juno Supporter */
#block-block-28 {
  color: #C2C2C2;
  font-size: 80%;
}
#block-block-28 img {
  float: right;
}

/**
 * Tables.
 */
table a,
table a:link,
table a:visited,
table a:hover,
table a:active{
  border-bottom-style: none; !important
  border-bottom-width: 0px; !important
  text-decoration: none; !important
}
table {
  width: 100%;
  margin: 0 0 10px;
  /* border: 1px solid #bebfb9; */
  border: 0px solid #bebfb9;
}
table td,
table th {
  vertical-align: middle;
  padding: 8px 10px;
  border: 0;
  color: #000;
}
tr.even,
tr.odd {
  border-width: 0 1px 0 1px;
  border-style: solid;
  border-color: #bebfb9;
  background: #f3f4ee;
}
tr.odd {
  background: #fff;
}
tr.drag {
  background: #fe7;
}
tr.drag-previous {
  background: #ffb;
}
table th {
  text-transform: uppercase;
  background: #e1e2dc;
  font-weight: normal;
  border-width: 1px;
  border-style: solid;
  border-color: #bebfb9;
  padding: 3px 10px;
}
table th.active {
  background: #bdbeb9;
}
table th a {
  display: block;
  position: relative;
}
table th.active a {
  padding: 0 25px 0 0; /* LTR */
}
table th.active img {
  position: absolute;
  top: 3px;
  right: 3px; /* LTR */
}
table td.active {
  background: #e9e9dd;
}
table tr.odd td.active {
  background: #f3f4ee;
}
table tr.selected td.active,
table tr.selected td {
  background: #ffc;
  border-color: #eeb;
}
table.system-status-report tr {
  border-bottom: 1px solid #ccc;
}
table.system-status-report tr.ok {
  color: #255b1e;
  background-color: #e5ffe2;
}
table.system-status-report tr.info {
  color: #040f37;
  background-color: #bdf;
}
table.system-status-report tr.warning {
  color: #840;
  background-color: #fffce5;
}
table.system-status-report tr.error {
  color: #8c2e0b;
  background-color: #fef5f1;
}
/**
 * Exception for webkit bug with the right border of the last cell
 * in some tables, since it's webkit only, we can use :last-child
 */
tr td:l2ast-child {
  border-right: 1px solid #bebfb9; /* LTR */
}

/* Hide table borders with this class */
.table_no_border table, th, td {
    border-style: hidden;
}

.table_no_border tr td:last-child {
    border-style: hidden;    
}

/* DataTables tweaks (people directory) */
.dataTables_filter {
}

.dataTables_length {
float: right;
margin-bottom: 5px;
}

.ui-state-default, 
.ui-widget-content .ui-state-default {
padding-left: 5px;
padding-right: 5px;
padding-top: 3px;
padding-bottom: 3px;
}

/* Tables on people pages are different */
#personTbl td,
#personTbl th {
  vertical-align: top;
  padding: 0px;
  color: #000;
  text-align: left;
  font-weight: normal;
  border-width: 1px;
  border-style: solid;
  border-color: white;
  padding: 0px 10px;
}

/* h3 has no top margin here */
#personTbl td h3,
#personTbl th h3 {
  margin-top: 0px;
}

/* Front page triptych */

.container {
    position : relative;
    max-width : 720;
    margin:0 auto;
}
.picture {
    /* border-radius:0.5em; */
    /* box-shadow: 0px 0px 0.5em #000000; */
    width:100%;
}
.caption {
    position:absolute;
    padding:0.25em;
    /*top:-1.6em; left:0; right:0;*/
    top:-30px; left:0; right:0;
    color:white;
    text-decoration: none;
    background-color:rgba(0,0,0,0.5);
    text-align: center;
    text-transform: uppercase;
    font-size: 1.4em;
}

/* News on the front page */
.newsSection {
  float: left;
  background-color: #E7EAF1;
  padding: 10px;
  /* display: block;
  max-width: 64%;
  min-width: 64%; */
  box-sizing: border-box;
  /* width: 63.99%; */
  width: 66%;
  margin-right: 2%;

  height:280px;
  _height:expression(this.scrollHeight>319?"320px":"auto");
  /* overflow:hidden; /*
  /* overflow-x:hidden; */
}
.newsSection img {
  border-radius:0.5em;
  box-shadow: 0px 0px 0.5em #000000;
  float: right;
  margin-left: 1.5em;
  max-width: 100%;
}

/* News images float right*/
.newsimageThumbnail,
.node-news img {
  float: right;
  margin-left: 10px;
}

/* Social media box on the front page */
.socialMedia {
  box-sizing: border-box;
  background-color: #E7EAF1;
  float: left;
  padding: 10px;
  /* width: 29%; */
  width: 32%;
  /* width: 29.5%; */
  /* width: 323px; */
  height: 280px;
 /*  _height:expression(this.scrollHeight>319?"320px":"auto");*/
  /* overflow:hidden;
  overflow-x:hidden; */
}

.socialMedia .view-header {
  background-color: #506790;
  /* background-color: #444; */
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 0px;
  padding-bottom: 0px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  text-align: center;
}

/* School title */
.schoolTitle {
	float: left;
	margin: 0 0 10px 0;

}

/* Search box */
#deptsearch {
    float: right;
    margin: -2.8em 0 0 0;
    clear: both;
}

/* Front page boxes */
.LandingBoxes {
	margin-top: -0.5em;
}

.LandingBoxes a[href]{
	/* border-bottom: 0px dotted #506790; */
	border-bottom: none;
}
.LandingBoxes a[href]:hover{
	/* border-bottom: 0px dotted #990000; */
	border-bottom: none;
}

.LandingBox h4 {
    clear: left;
    margin-left: 2%;
    margin-bottom: 0px;
    margin-top: 0px;
}

.LandingBox h4.last {
    margin-bottom: 5px;
}

.newsExtraLeft {
  float: left;
  margin-top: -15px;
  margin-bottom: -45px;
  /* width: 45%; */
}

.newsExtraRight {
  float: right;
  margin-top: -15px;
}


/* jQuery elements */

/* Most of jquery UI elements are within class demo */
/* 
.demo {
  font-size: 0.8em;
  font-family: 'Droid Sans', Verdana, Arial, Geneva, sans-serif;
}
 */

.ui-tabs-nav a[href],
.ui-accordion-header a[href] {
  border-bottom: none !important;
}

/* No border and underline in links */
.noBorder a[href] {
  border-bottom: none;
  text-decoration: none;
}

/* paginator for people */
#people_paginate {
  float: right;
  display: inline;
}

#people_paginate a:hover {
  background-color: #778899;
}

#people_first,
#people_previous,
#people_next,
#people_last,
.paginate_button,
.paginate_active {
  padding-left: 8px;
  padding-right: 8px; 
  padding-top: 5px;
  padding-bottom: 5px;     
  background-color: #506790;
  color: #ffffff;
  margin-right: 4px;  
}

.paginate_active {
  background-color: #778899;
  color: #ffffff;
}

/* Fix header width */
.clearfix {
	display: block;
}

/* seminars */

.node-auseminars {
    line-height: 1.5;
}

.views-label-field-seminar-room {
    float: left;
    margin-right: 10px;
}

/* Hide date selection for seminars views */
.seminars-custom-class .view-filters {
  display: none;
}

/* Expose select form for PhD Projects views */
.view-phd-projects .views-exposed-widget {
	/* float: left; */
	/* margin-bottom: -20px; */
	/* z-axis: 10000; */
}

/* Caption CCMMP news on the front page*/
.caption2 {
    position:absolute;
    padding:0.25em;
    /*top:-1.6em; left:0; right:0;*/
    top:-9px; left:0; right:0;
    color:white;
    text-decoration: none;
    background-color:none;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.4em;
}

/* reset jQuery UI to match QM fonts */
.ui-widget { font-family: 'Droid Sans', Verdana, Arial, Geneva, sans-serif; font-size: 100%; line-height: 1.9em; color: #444; }
.ui-widget .ui-widget { font-size: 100%; }
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: 'Droid Sans', Verdana, Arial, Geneva, sans-serif; font-size: 100%; }
/* fix left-hand triangle in jQuery accordion*/
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: -.2em;}


/**
 * Google CSE
 *
 */
/* Slight reset to make the preview have ample padding. */
.cse .gsc-control-cse,
.gsc-control-cse {
  padding: 1em;
  width: 50px;
}
.cse .gsc-control-wrapper-cse,
.gsc-control-wrapper-cse {
  width: 50px;
}
.cse .gsc-branding,
.gsc-branding {
  display: none;
}

.cse .gsc-control-cse div,
.gsc-control-cse div {
  position: normal;
}
/* Selector for entire element. */
.cse .gsc-control-cse,
.gsc-control-cse {
  background-color: #ffffff;
  border: 0px solid #ffffff;
}
.cse .gsc-control-cse:after,
.gsc-control-cse:after {
  content:".";
  display:block;
  height:0;
  clear:both;
  visibility:hidden;
}
.cse .gsc-resultsHeader,
.gsc-resultsHeader {
  border: block;
}
table.gsc-search-box td.gsc-input {
  padding-right: 12px;
}
input.gsc-input {
  border-color: #D9D9D9;
  font-size: 13px;
  padding: 1px 6px;
}
/* Search button */
.cse input.gsc-search-button,
input.gsc-search-button {
  font-family: inherit;
  font-size: 11px;
  font-weight: bold;
  color: #000;
  padding: 0 8px;
  height: 20px;
  width: 54px;
  background-color: #CECECE;
  border: 1px solid #666;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}
/* Inactive tab */
.cse .gsc-tabHeader.gsc-tabhInactive,
.gsc-tabHeader.gsc-tabhInactive {
  border-bottom: none;
  color: #666666;
  background-color: #e9e9e9;
  border: 1px solid;
  border-color: #e9e9e9;
  border-bottom: none;
}
/* Active tab */
.cse .gsc-tabHeader.gsc-tabhActive,
.gsc-tabHeader.gsc-tabhActive {
  background-color: #FFFFFF;
  border: 1px solid;
  border-top: 2px solid;
  border-color: #e9e9e9;
  border-top-color: #FF9900;
  border-bottom: none;
}
/* This is the tab bar bottom border. */
.cse .gsc-tabsArea,
.gsc-tabsArea {
  margin-top: 1em;
  border-bottom: 1px solid #e9e9e9;
}
/* Inner wrapper for a result */
.cse .gsc-webResult.gsc-result,
.gsc-webResult.gsc-result,
.gsc-imageResult-column,
.gsc-imageResult-classic {
  padding: .25em;
  border: 1px solid;
  border-color: #ffffff;
  margin-bottom: 1em;
}
/* Result hover event styling */
.cse .gsc-webResult.gsc-result:hover,
.gsc-webResult.gsc-result:hover,
.gsc-webResult.gsc-result.gsc-promotion:hover,
.gsc-results .gsc-imageResult-classic:hover,
.gsc-results .gsc-imageResult-column:hover {
  border: 1px solid;
  border-color: #FFFFFF;
}

/*Hide the text before the form'*/
  [for="edit-query"] { display: none;}

/*Promotion Settings*/
/* The entire promo */
.cse .gsc-webResult.gsc-result.gsc-promotion,
.gsc-webResult.gsc-result.gsc-promotion {
  background-color: #FFFFFF;
  border-color: #336699;
}
/* Promotion links */
.cse .gs-promotion a.gs-title:link,
.gs-promotion a.gs-title:link,
.cse .gs-promotion a.gs-title:link *,
.gs-promotion a.gs-title:link *,
.cse .gs-promotion .gs-snippet a:link,
.gs-promotion .gs-snippet a:link {
  color: #0000CC;
}
.cse .gs-promotion a.gs-title:visited,
.gs-promotion a.gs-title:visited,
.cse .gs-promotion a.gs-title:visited *,
.gs-promotion a.gs-title:visited *,
.cse .gs-promotion .gs-snippet a:visited,
.gs-promotion .gs-snippet a:visited {
  color: #0000CC;
}
.cse .gs-promotion a.gs-title:hover,
.gs-promotion a.gs-title:hover,
.cse .gs-promotion a.gs-title:hover *,
.gs-promotion a.gs-title:hover *,
.cse .gs-promotion .gs-snippet a:hover,
.gs-promotion .gs-snippet a:hover {
  color: #0000CC;
}
.cse .gs-promotion a.gs-title:active,
.gs-promotion a.gs-title:active,
.cse .gs-promotion a.gs-title:active *,
.gs-promotion a.gs-title:active *,
.cse .gs-promotion .gs-snippet a:active,
.gs-promotion .gs-snippet a:active {
  color: #0000CC;
}
/* Promotion snippet */
.cse .gs-promotion .gs-snippet,
.gs-promotion .gs-snippet,
.cse .gs-promotion .gs-title .gs-promotion-title-right,
.gs-promotion .gs-title .gs-promotion-title-right,
.cse .gs-promotion .gs-title .gs-promotion-title-right *,
.gs-promotion .gs-title .gs-promotion-title-right * {
  color: #000000;
}
/* Promotion url */
.cse .gs-promotion .gs-visibleUrl,
.gs-promotion .gs-visibleUrl {
  color: #008000;
}
/* Style for auto-completion table
 * .gsc-completion-selected : styling for a suggested query which the user has moused-over
 * .gsc-completion-container : styling for the table which contains the completions
 */
.gsc-completion-selected {
  background: #EEE;
}
.gsc-completion-container {
  font-family:inherit;
  font-size: 13px;
  background: white;
  border: 1px solid #CCC;
  border-top-color: #D9D9D9;
  margin-left: 0;
  margin-right: 0;
  /* The top, left, and width are set in JavaScript. */
}
.gsc-completion-title {
  color: #0000CC;
}
.gsc-completion-snippet {
  color: #000000;
}

/* Full URL */
.gs-webResult div.gs-visibleUrl-short,
.gs-promotion div.gs-visibleUrl-short {
  display: none;
}
.gs-webResult div.gs-visibleUrl-long,
.gs-promotion div.gs-visibleUrl-long {
  display: block;
}

#google-cse-results-searchbox-form {
  text-align: right;
  background-color: none;
}

/* ----------- stylized webforms----------- */

/* form-checkboxes */


.form-item {
	clear: both;
}



/*
.form-item {
	clear: both;
}

.webform-component-fieldset{
  border: 1px solid #B1ACA4;
}
.webform-component-fieldset legend{
  font-size: 1.5em;
}

.webform-component label {

  font-weight: bold;
  text-align: left;
  margin-right: 0.5em;
}

.webform-component-radios label {
  font-weight: bold;
}

.form-radios label {
  font-weight: normal;
}
*/

/*

.webform-component label{
  display: block;
  width: 185px;
  float: left;
  text-align: right;
  margin-right: 0.5em;
}
.webform-component-textarea label {
  width: 50%;
  text-align: left;
}

.form-textarea-wrapper textarea {
  display: inline;
  width: 100%;
}


.webform-component-radios {
  float: none;
  display: inline;
  text-align: left;
  margin-left: 48px;
}

.webform-component-radios label {
  float: none;
  display: inline;
  text-align: left;
  font-weight: bold;
  clear: left;
}


.form-radios {
  margin-left: 48px;
  font-weight: normal;
}


.form-radios label {
  font-weight: normal;
}

.webform-component-checkboxes {
  float: none;
  display: inline;
  text-align: left;
  margin-left: 48px;
}

.webform-component-checkboxes label {
  float: none;
  display: inline;
  text-align: left;
  font-weight: normal;
  
}

*/

/*
.webform-component-checkboxes {
  float: none;
  display: block;
  text-align: left;
  margin-left: 48px;
}

.webform-component-checkboxes label {
  float: none;
  display: inline;
  text-align: left;
}
*/


body {
        font-size: 82%;
}
.content{
        font-size: 100%;
}



/* Two columns */

.twoColumn {
    float: left;
    width: 49%;
    /* background: #e7eaf1; */
    /* background: #E6E6E6; */
    background: #FFFFFF;
    margin-right: 2%;
    margin-bottom: -9999px;
    padding-bottom: 9999px;
    font-size: 100%!important;
}

.twoColumn.last {
    float: left;
    margin-right: 0px;
}

.twoColumn h4 {
    clear-left;
    margin-bottom: 0px;
    margin-top: 0px;
    margin-left: 2%;
    font-size: 100%!important;
}

.twoColumn h4.last {
    margin-bottom: 10px;
}


.twoColumn.left {
    float: left;
    display: block;
    width: 46%;
    margin-left: 2%;
    background: transparent;
}

.twoColumn.right {
    float: right;
    display: block;
    width: 46%;
    margin-left: 2%;
    margin-top: 0px;
    background: transparent;
}

.twoColumn.container {
    display: block;
    /* background: #e7eaf1; */
    clear: all;
    width: 100%;
    padding-top: 2%;
}

.twoColumn p {
    padding-left: 2%;
    padding-right 2%;
    padding-top: 0%;
    padding-bottom: 0%;
    margin-top: 0px;
    margin-bottom: 0px;
    /* background: #e7eaf1; */
}

/* Experiment with the bottom navigation */
.subPromo {
    background-color: #eee;
    padding: 40px 0;
    margin-bottom: 0;
}

.centre {
    width: 90%;
    margin: 0 auto;
    max-width: 1065px;
}

.linksList {
    width: 22%;
    margin-right: 4%;
}

.linksList h3 {
    color: #444;
    padding: 3px 10px;
    margin-top: 0;
    border-bottom: 3px solid #444;
}

.linksList ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.linksList li {
    margin: 0;
    padding: 10px;
    border-bottom: 1px dashed #a1a1a1;
}

.linksList a {
    border-bottom: none;
}

.linksList a[href] {
    border-bottom: none;
}

/* Twitter Bootstrap-like badges */
.btn-default .badge {
  color: #fff;
  background-color: #333;
}
.btn-success .badge {
  color: #5cb85c;
  background-color: #fff;
}
.btn-info .badge {
  color: #5bc0de;
  background-color: #fff;
}
.btn-warning .badge {
  color: #f0ad4e;
  background-color: #fff;
}
.btn-danger .badge {
  color: #d9534f;
  background-color: #fff;
}
.badge {
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  background-color: #777;
  border-radius: 10px;
}
.badge:empty {
  display: none;
}
.btn .badge {
  position: relative;
  top: -1px;
}
.btn-xs .badge,
.btn-group-xs > .btn .badge {
  top: 0;
  padding: 1px 5px;
}
a.badge:hover,
a.badge:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
  color: #337ab7;
  background-color: #fff;
}
.list-group-item > .badge {
  float: right;
}
.list-group-item > .badge + .badge {
  margin-right: 5px;
}
.nav-pills > li > a > .badge {
  margin-left: 3px;
}

/* Profile */

 .profile_picture{
    clear: left;
    float: left !important;
    margin: 0 15px 0 0;
    margin-right: 10;
    overflow: auto;
 }

 .profile_address{
    float: none !important;
    width: 70% !important;
    overflow: auto;
 }