body{
	font-family: 'Open Sans', sans-serif;
	background-color:#FFFFFF;
}

p{
	line-height: 120%;
}

h1 {
	
	padding: 20px 40px;
	margin:0px 0px;
	font-size: 220%;
	font-weight: 600;
	font-style: normal;
	color: #ffffff;
	background: #a6192e;
}

.h1-subtitle {
	display: block;
	margin-top:10px;
	font-size: 80%;
}

h2:not(.acc-h), h3:not(.acc-h):not(.prosncons-title), h4:not(.acc-h), h5:not(.acc-h), h6:not(.acc-h){
	font-weight: 600;
	margin-left: 0px;
}

h2, h3, h4, h5, h6{
	margin:10px;
}

h4, h5, h6 {
	font-size: 110%;
	font-weight: 600;
}

.acc-h{
	margin: 0px;
}

h2 > img, h3 > img, h4 > img, .acc-header > img {
	vertical-align: middle;
	margin-right: 10px;
	margin-top: -3px;
	margin-bottom: 3px;
}

.underlined{
	text-decoration-line: underline;
}

.mainWrp{
	text-align: center;
}

.wrapped{
	width: 1100px;
	display: inline-block;
	text-align: left;
}

main {
	min-height: calc(94vh - 110px); /*to keep footer at bottom*/
}

/*Looks and acts like an image caption, but isn't one*/
.figcaption{
	font-size: 80%;
	color: #6E6E6E;
	text-align: center;
}

footer {
	margin-top:10px;
	padding:0px;
	height: 120px;
	background-color: #a6192e;
	text-align: left;
	
	background-image: url("Images/student-dots-lecture-wg-footer.png");
	width: 100%;
	max-width: 1100px;
	background-position: 0% 50%;
	background-repeat: repeat;
	background-size: cover;
	position: relative;
	z-index: -2;
	
	margin-bottom: 0px;
}


footer img{
	content: url("Images/UoB_DEO_logo_White_on_Red.png");
	margin:0px;
	padding:0px;
	width: 240px;
	height: 120px;
	float: right;
	background-color: #FFFFFF;
}
	
.expand-collapse{
	width:97%;
	text-align:right;
	margin-bottom:4px;
}

.expand-collapse > button{
	font-family: 'Open Sans', sans-serif;
	font-size:100%;
	font-weight: bold;
	background-color: #FFFFFF;
	border: none;
	padding: 12px 12px;
	cursor: pointer;
}

li{
	margin: 4px;
}

/*for dense lists, so the elements are better visually separated*/
.list-distinct>li{
	margin:12px auto;
}

/*TABLES*/

table{
	width:100%;
	margin-bottom: 12px;
}

caption{
	font-family: 'Open Sans', sans-serif; 
}

table.has-subtitle{
	margin-bottom: 0px;
}

.table-subtitle{
	text-align: center;
	margin-top:0px;
}
thead.white-on-purple th{
	color: #FFFFFF;
	background-color: #42145F;
}

table.purple-borders{
	border-collapse: collapse;
}

.purple-borders td, thead.white-on-purple th, .purple-borders th{
	border: 2px solid #42145F;
}
.padding-4-all td, .padding-4-all th{
	padding: 4px;
}

.padding-8-all td, .padding-8-all th{
	padding: 8px;
}

.padding-8-side-0-vertical td{
	padding: 0px 8px 0px 8px;
}

.center-all {
	text-align: center;
}


.center-headings th, .center-col-headings tr:first-child, .center-col-contents-after-1 td:not(:first-child), .center-col-1 td:first-child, .center-col-1 th:first-child, .center-col-3 td:nth-child(3), .center-thead thead th{
	text-align: center;
}

.center-col-contents-after-2 td:not(:first-child):not(:nth-child(2)){
	text-align: center;
}

.w20pc-1st-col td:nth-child(1) {  
  width: 20%;
}

.bold-1st-col td:nth-child(1) {  
  font-weight: bold;
}

/*For rowspan*/
.multirow tbody:nth-child(even), .multirow tbody:nth-child(even) tr{
	background: #E8E0F5;
}
.multirow tbody:nth-child(odd), .multirow tbody:nth-child(odd) tr{
	background: #FFFFFF;
}
/*end rowspan*/
tr:nth-child(even) {
	background: #E8E0F5;
}
tr:nth-child(odd) {
	background: #FFFFFF;
}

.table-aqua tr:nth-child(even) {background: #bfefec}

td > ul{
	padding-left:20px;
}

/*used in tables, to more easily show 1. what works well, what doesn't, what might or 2. what requires action/ what needs attention */
.rec-yes{
	background-color: #D6FFEB;
}
.rec-no{
	background-color: #FFCCCC;
}
.rec-maybe{
	background-color: #FFF7BB;
}

/*END TABLES*/

/*Use sparingly, for very important small phrases or a single sentence that are part of a text section and that need to pop out a bit more than bold would*/
.important-point{
	font-weight:bold;
	color: #AD0000;
}

.caution, .idea-section, .top-tip, .troubleshooting, .attention{
	display: block;
	background-color: #fbe4d5;
	min-height:66px;
}

.caution > p, .idea-section > p, .top-tip > p, .troubleshooting > p, .attention > p{
	padding:16px;
}

.caution > img, .idea-section > img, .top-tip > img, .troubleshooting > img, .attention > img{
	vertical-align: middle;
	max-height: 50px;
	float: left;
	padding:8px;
}

.idea-section, .attention{
	background-color: #FFF2CC;
}

.idea-section > img{
	padding-top:12px;
}

.top-tip, .troubleshooting{
	background-color: #FFFFFF;
}


.top-tip-heading{
	color: #772059;
	display: inline;
	font-family: 'Open Sans', sans-serif;
	font-weight: bold;
	font-size: 110%;
	margin-bottom: 6px;
}

.feedback-prompt {
	font-size: 90%;
	color: #6E6E6E;
}

/*Use sparingly with row and column/img-text-column for small images with text that corresponds to each one. First used in EMA Workflow changes web guide.*/
.stepImgList{
	width:100%;
	margin: 0 auto;
	text-align: center;
}

/*row and column specs may differ in various guides - if so, style in own css and may need to create different classes for frequently used ones*/
.row {
	width: 100%;
	margin: 0 auto;
	display: -webkit-flex; 
	display: flex;
	align-items: flex-start;
    justify-content: center;
	height:100%;
	margin-bottom:20px;
}

.column {
	flex-basis:32%;
	padding: 2px;
	padding-top:8px;
	margin: 2px auto;
	height:inherit;
}

.img-title-in-grid {
	flex-basis:32%;
	padding: 2px;
	padding-top:8px;
	margin: 2px auto;
	height:inherit;
}



.img-title:not(.borderless-img-title) {
	border: 4px solid #FFFFFF;
	background-color:transparent;
	outline: none;
}

.img-title:hover, .img-title:focus, .img-title.selected:hover{
  border-color: #8069B8;
}

.img-title:active, .img-title.selected{
  border-color: #42145F;
}

.grid {
	display: grid;
	grid-gap: 1em 1em;
}

.grid.col3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.col3 ol{
	padding: 0px 0px 0px 20px;
}
/*
.grid.col6 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}*/

.grid figure{
	margin: 0 auto;
}

.info-panel{
	text-align: left;
	padding: 12px;
	padding-top: none;
	background-color: white;
	display: none;
	overflow: hidden;
}

.info-panel.shown {
	display: block;
}

/* Create the accordion header's arrow with a unicode, and style it */
.acc-header::before{
  content: "\002B";
  display: inline-block;
  margin-right: 6px;
}

/* Rotate the accordion's arrow icon when clicked on (using JavaScript) */
.acc-header.active::before {
  content: "\2212";
}

.acc-header{
	cursor: pointer;
	width: 98%;
	/*height: 100%;*/
	text-align: left;
	padding: 12px;
	margin: 0px;
	font-family: 'Open Sans', sans-serif;					   
	font-size: inherit;
	font-weight: 600;
	border: none;
	transition: 0.2s;
}
/*Stated at top with headings
.acc-header > img{
	margin-right: 10px;
	margin-top: -3px;
	margin-bottom: 3px;
}*/


.accordion-panel {
	text-align: left;
  padding: 12px;
  padding-top: none;
  background-color: white;
  display: none;
  overflow: hidden;
}

.accordion-panel.shown {
	display: block;
}


/*Usually text on the left, visuals on the right, occasionally the other way around or both text/both visuals. Possible eventual replacement of text-near-video and related classes*/
.double-column{
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}


.dc-col2{
	margin-left:1%;
	-webkit-box-flex: 1;
    -ms-flex: 1 1 49%;
    flex: 1 1 49%;
}

.dc-col1.visual, .dc-col2.visual{
	text-align:center;
}

.dc-col1.wide{
	-ms-flex: 0 0 63%;
    flex: 0 0 63%;
}

.dc-col2.narrow{
    -ms-flex: 0 0 35%;
    flex: 0 0 35%;
}

.dc-col2.very-narrow{
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
}

.dc-col1{
	margin-right:1%;
	-webkit-box-flex: 1;
    -ms-flex: 1 1 49%;
    flex: 1 1 49%;
	/*-webkit-box-flex: 0;
    -ms-flex: 0 0 49%;
    flex: 0 0 49%;*/
}

ol.grid-list{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-gap: 1em 2em;
	margin:0;
	padding-left: 20px;
}

ol.grid-list>li{
	
}

ol.grid-list>li::marker{
	color: #42145F;
	font-size: 1.5em;
	font-weight: bold;
}

ol.grid-list>li.span-2-col-in-grid{
	grid-column-start: 1;
	grid-column-end: 3;
}

.column-list{
	columns: 2 350px;
    -webkit-columns: 2 350px;
    -moz-columns: 2 350px;
	-webkit-column-gap: 4em;
    -moz-column-gap: 4em;
    column-gap: 4em;
	column-rule: 4px solid #9278D1;
	-webkit-column-break-inside: avoid;
}

.column-list>ol{
	margin:0;
	padding-left: 20px;
}
.column-list>ol>li{
	-webkit-column-break-inside: avoid; /*keeps images from being cut off*/
    page-break-inside: avoid;
    break-inside: avoid;
	padding-top: 1em;
}

.column-list>ol>li::marker{
	color: #42145F;
	font-size: 1.5em;
	font-weight: bold;
}

.videostep{
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.videoarea{
	-webkit-box-flex: 0;
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
	text-align:center;
}

.steparea{
	-webkit-box-flex: 0;
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
}

video{
	max-height: 500px;
	margin: 0 auto;
}

.imgarea, .iframearea {
	margin: 8px 0;
	/*margin-bottom: 8px;*/
    padding: 0;
    display: grid;
    text-align: center;
}

/*For non-centered images, e.g. in list items*/
.img-block{
	display:block;
	margin: 8px 0;
}

.column-list li > .imgarea{
	margin-top: 10px;
}

img {
	height: auto;
}

img, iframe {
    padding: 0px;
    max-width: 100%;
    max-height: 100vh;
    margin: 0 auto;
}

iframe {
	border: none;
	overflow:auto;
}

.imgarea > img, .imgarea > figure, .imgarea > object{
	display: block;
}

li > .imgarea{
	margin-top: 10px;
}

object {
    padding: 0px;
	margin: 0 auto;
    max-width: 100%;
	height: auto;
    max-height: 100vh;
}

.video-caption-link{
	font-size: 90%;
}

.text-media-inline > figure{
	display: inline;
	float: right;
	margin-left:16px;
	margin-top: 0px;
}

figure {
	text-align: center;
	margin: 0 auto;
}

/*
.imgarea > figure{
	margin: 0 auto;
}*/
/*use when text information about the image is desired and doesn't exist elsewhere in text, e.g. to give credit for an image*/
figcaption {
	font-size: 80%;
	color: #6E6E6E;
	text-align: center;
}

.list-w-s-img > li{
	clear:both;
}

/*for floating right images in lists, e.g. see Teaching to the void*/
.s-img-in-list{
	float:right;
	margin:0;
	margin-bottom: 4px;   
	margin-left:8px; 
}

.icon-list{
  list-style-type: none;
}
/*Icon lists*/

.icon-li:before{
	display: inline-block;
    width: 1.3rem;
    height: 1.3rem;
    /*margin-right: 5px;*/
	margin-left:-1.3rem;
	vertical-align: middle;
    content: "";
	position: relative;
	right: 10px;
}

.download-li:before{
    background: url("Images/icon-download.svg") no-repeat 0 0;
	background-size: 100%;
}

.paperclip-li:before{
    background: url("Images/icon-paperclip.svg") no-repeat 0 0;
	background-size: 100%;
}

.grid-li:before{
    background: url("Images/icon-grid.svg") no-repeat 0 0;
	background-size: 100%;
}

.pencil-li:before{
    background: url("Images/icon-pencil.svg") no-repeat 0 0;
	background-size: 100%;
}

.laptop-li:before{
    background: url("Images/icon-laptop.svg") no-repeat 0 0;
	background-size: 100%;
}

.clock-li:before{
    background: url("Images/icon-clock.svg") no-repeat 0 0;
	background-size: 100%;
}

.wired-li:before{
    background: url("Images/icon-wired.svg") no-repeat 0 0;
	background-size: 100%;
}

.x-close-li:before{
    background: url("Images/icon-x-close.svg") no-repeat 0 0;
	background-size: 100%;
}

.clipboard-li:before{
    background: url("Images/icon-clipboard.svg") no-repeat 0 0;
	background-size: 100%;
}

.writing-li:before{
    background: url("Images/icon-writing.svg") no-repeat 0 0;
	background-size: 100%;
}

.writing-grey-li:before{
    background: url("Images/icon-writing-grey.svg") no-repeat 0 0;
	background-size: 100%;
}

.multi-windows-li:before{
    background: url("Images/icon-multi-windows.svg") no-repeat 0 0;
	background-size: 100%;
}

.browser-supported-li:before{
    background: url("Images/icon-browser-supported.svg") no-repeat 0 0;
	background-size: 100%;
}

.question-li:before{
    background: url("Images/icon-question.svg") no-repeat 0 0;
	background-size: 100%;
}

.img-border-grey{
	border: 2px solid #d0d0d0;
}

/*Displaying code*/
.code-wrapper{
		/*width: 80%;*/
		background: #F5F5F5;
}

pre {
		white-space: pre-wrap;
		padding: 12px;
}

.back-to-top-wrapper{
	text-align: center;
	max-width: 1100px;			   
	margin-bottom:30px;
}

.back-to-top{
	font-family: 'Open Sans', sans-serif;
	font-size:100%;
	font-weight: bold;
	color: #613F8C;
	border: none;
	
	padding: 12px 12px;
	
	cursor: pointer;
	display: none;
}

@media (max-width:1150px) {
	.wrapped {
		width: 100%;
		display: initial;
	}
	.steparea{
		-webkit-box-flex: 0;
		-ms-flex: 0 0 60%;
		flex: 0 0 60%;
	}
}

@media (max-width:950px) {
	.dc-col2.narrow, .dc-col1.wide{
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
	}
	
}

@media (max-width:750px) {
	video{
		max-height: 400px;
	}
	.double-column {
		flex-direction:column;
	}
	.dc-col1{
		margin:auto;
	}
	.row {
		flex-flow: row wrap;
		-webkit-flex-flow: row wrap;
	}
	.column {
		flex-basis:30%;
	}
	.steparea{
		-webkit-box-flex: 0;
		-ms-flex: 0 0 60%;
		flex: 0 0 60%;
	}
	
	ol.grid-list{
		grid-template-columns: 1fr;
	}
	ol.grid-list>li.span-2-col-in-grid{
		grid-column-start: 1;
		grid-column-end: 2;
	}
	/*.grid.col6 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}*/
}

@media (max-width:605px) {
	.videostep{
		flex-direction:column;
	}
}

@media (max-width:590px) {
	.grid.col3 {
		grid-template-columns: 1fr;
	}
}

@media (max-width:443px) {
	.acc-header {
	  width: 90%;
	}
	/*.grid.col6 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}*/
}

@media (max-width:400px) {
	.column {
		flex-basis:45%;
	}
	h1:before {
		position: static;
		-ms-transform: skew(0deg, 0deg);
		-webkit-transform: skew(0deg, 0deg);
		transform: skew(0deg, 0deg);
	}
	h1 {
	    width: 98%;
		position: static;
		padding: 16px 20px;
	}
	.banner-color{
		background-image: none;
		width:90%;
	}
}

@media print {
	.expand-collapse{
		display: none;
	}
	.acc-header::before{
		content: none;
	}
	.accordion-panel, .info-panel, .extra-info-panel{
		display: block;
	}
	.acc-header{
		color:#a6192e;
		padding-bottom: 0px;
		font-weight: 600;
	}
	.acc-header.question{
		color:#a6192e;
	}
	h1{
		color:#a6192e;
	}
	h2, h3, h4, h5, h6{
		margin-bottom:0px;
	}
	iframe, .iframearea, video {
		display: none;
	}
}
