body {
	font-family: Arial, sans-serif;
	border: 0;
	margin: 0 0 40px; /* bottom = footer height */
}

h1 {
	font-family: arial, sans-serif;
	margin-left:5px;
	font-size: 1.5em;
}

h2 {
	font-family: arial, sans-serif;
	font-size: 1.25em;
	margin-top:0px;
	margin-bottom:5px;
	margin-left:5px;
	float:left;
	clear:both;
	color: black;
}

h3 {
	font-family: arial, sans-serif;
	font-size: 1.1em;
}

.clearit {
	clear: both;
}

.holder {
  display: flex;
  flex-direction: column;      /* stack heading and table vertically */
  align-items: center;         /* centre horizontally */
  justify-content: flex-start; /* keep normal top alignment */
  margin: 0 auto;
  box-sizing: border-box;
}

.holder > div {
  margin: 10px; /* replicate spacing */
}

.curvedBorder {
	border-radius: 12px; 
}

.colourblock {
	float:left;
	margin:10px;
	padding: 20px 10px 10px 10px; /* top right bottom left */
	width:200px;
	height:160px;
	font: bold 1em arial, sans-serif;
	text-align: center;
	color: black;
	border: solid 3px white;
	box-shadow: 5px 5px 3px #aaaaaa;
}

.colourblocksm {
	float:left;
	margin:0px;
	padding: 20px 10px 10px 10px; /* top right bottom left */
	width:150px;
	height:120px;
	font: bold 1em arial, sans-serif;
	text-align: center;
	color: black;
	border: solid 3px white;
	/*box-shadow: 5px 5px 3px #aaaaaa;*/
}

.panelupper {
	background-color: white;
	float:left;
	clear:both;
	width:400px;
	padding:10px;
	margin-bottom:10px;
	margin-right:10px;
	height:170px;
	overflow:auto;
}
.panelouter {    
	padding:3px;
	background-color:white;
	float:left;
}
.panel {
    background-color: #EBD7DA;
	float:left;
	width:350px;
	height:170px;
	padding:10px;
}
.panellower {
	background-color: white;
	float:left;
	width:500px;
	padding:10px;
	height:90px;
	overflow:auto;
	font-size:9pt;
	width:1160px;
}
.innerpanel {
	clear:both;
	float:left;
	width:100%;
}
.section {
	clear:both;
	float:left;
	padding:5px;
}
.sectionrow {
	float:left;
	clear:both;
	margin-bottom:10px;
}
.lbl {
	font-weight:bold;
	float:left;
	width:120px;
}
.lblsm {
	font-weight:bold;
	float: left;
	width: 100px;
	height: 20px;
	margin-top:4px;
	margin-bottom:4px;
}
.lblbig {
	font-weight:bold;
	float:left;
	width:200px;
}
.inputbig {
	float:left;
	width:340px;
	margin-left:5px;
}
.textarea1 {
	width:580px;
	height:260px;
	float:left;
	clear:both;
}
.listitem {
	float:left;
	clear:both;
	margin-top:10px;
}
.button1 {
	padding: 2px 16px;
	border-radius: 4px;
	margin-top:10px;
	width: 160px;
	float:left;
	clear:both;
}
.spacer {
	height:15px;
	float:left;
	clear:both;
}
#badgeurl {
	width: 750px;
	height: 20px;
}
#assetionurl {
	width: 750px;
	height: 20px;
}
#badge {
	width: 850px;
	height: 20px;
}
#assertion {
	width: 850px;
	height: 20px;
}
#bakedbadge {
	width: 850px;
	height: 20px;
}
#badgeimage {
	float:left;
	margin-left: 100px;
	clear:both;
}
.wrapit {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
}

.tablewrap {
    padding-top: 20px;
    padding-bottom: 20px;
    display: block;
    width: 100%;
    overflow-x: auto;
	width: auto; 
}

.tablewrap table.manageTables {
    background-color: transparent;
    border-collapse: collapse;
    margin-bottom: 1rem;
    max-width: 100%;
    min-width: 1000px;
    width: 100%;
}

.viewallmovies.tablewrap table.manageTables tr:first-child {
    border-bottom: none;
	border-bottom: 1px solid #ddd;
}

.viewallmovies.tablewrap table.manageTables tr:not(:first-child) {
    border-bottom: 1px solid #ddd;
}

.viewallmovies.tablewrap table.manageTables tr td:first-child {
    text-align: left;
}
.viewallmovies.tablewrap table.manageTables tr td {
    padding: 10px;
}
.viewallmovies.tablewrap table.manageTables thead tr th:first-child {
    text-align: center;
    width: 150px;
}

.viewallmovies.tablewrap table.manageTables thead tr:first-child td {
    border-bottom: 2px solid #846BAC;
    font-size: 0.9rem;
    padding: .75rem;
    vertical-align: middle;
    text-align: left;
}

table {
    display: table;
    border-collapse: separate;
    box-sizing: border-box;
    text-indent: initial;
    unicode-bidi: isolate;
    border-spacing: 2px;
    border-color: gray;
}

thead {
    display: table-header-group;
    vertical-align: middle;
    unicode-bidi: isolate;
    border-color: inherit;
}

tr {
    display: table-row;
    vertical-align: inherit;
    unicode-bidi: isolate;
    border-color: inherit;
}

td {
    display: table-cell;
    vertical-align: inherit;
    unicode-bidi: isolate;
}

td, th { /* table cells */
    padding: 2px;
}

.thumb-cell { position: relative; }
.thumb-link { position: relative; display: inline-block; line-height: 0; }
.thumb-img { width: 100px; height: auto; display: block; }  /* pick your size */

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0,0,0,0.5); /* dark circle */
}
.play-overlay::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-left: 14px solid white;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

/* optional hover feedback */
.thumb-link:hover .thumb-img { filter: brightness(0.9); }
.thumb-link:hover .play-overlay { opacity: 1; }
