/*
Palette of colours

#1b5c7f - dark blue
#96cdeb - mid blue
#c2deef - pale blue
#cad8de - pale grey/blue body background
#e6eef2 - very pale blue
#183643 - tab background
#ff0020 - red (dev)
#ffffc0 - pale yellow
#ff8000 - orange

*/
body {
  background-color: #cad8de;
  color:#000000;
  font-family: Pavanam, Verdana, sans-serif;
  font-size: 12pt;
}

body.home {
  background-color: #cad8de;
  color:#ff0000;
  font:20pt Pavanam, Verdana, sans-serif;
}

body.volunteer {
  background-color: transparent;
}

body.blcmain {
  background-color: #1b5c7f;
}

body.admin {
  background-color: #c2deef;
}

body.plain {
  background-color: #ffffff;
}

body.award {
  background-color: #cad8de;
  background-image: url("background-award.jpg");
  background-size: 100%;
}

body.lecture {
  background-color: #cad8de;
  background-image: url("background-lecture.jpg");
  background-size: 100%;
}

body.casestudies {
  background-color: #cad8de;
  background-image: url("background-tables.jpg");
  background-size: 100%;
}

body.events {
  background-color: #cad8de;
  background-image: url("background_europe_flags.png");
  background-size: 100%;
}

.pointer {cursor: pointer;}

p {
  font-family: Pavanam, Verdana, sans-serif;
  color: #1b5c7f;
  font-size: 14pt;
  white-space: normal;
}

p.message {
  font-family: Pavanam, Verdana, sans-serif;
  color: #e6eef2;
  font-size: 14pt;
  white-space: normal;
}

p.dev {
  font-family: Pavanam, Verdana, sans-serif;
  color:#ff0020;
  font-size:10pt;
}

p.bold {
  font-family: Pavanam, Verdana, sans-serif;
  color: #000020;
  font-size:10pt;
  font-weight: bold;
}

p.instructions {
  /* for worksheet instructions. keep linefeeds */
  white-space: pre-wrap;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1;
}

p.task {
  float: inherit;
  width: 90%;
  height: auto;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 2px;
  margin-bottom: 0px;
  padding: 2px;
  border-style: none;
  /* border-color: white; */
  background: transparent;
  /* border-radius: 10px; */
  text-align: center;
  /* white-space: pre-wrap; */
  font: 14pt "Tahoma", Helvetica, sans-serif;
}

p.worksheettext {
  font-size: 14pt;
  color: #ffffff;
  width: 100%;
  height: auto;
  /* min-height: 80px; */
  line-height: 1.2;
  /* padding: 5px; */
  border-style: solid;
  border-color: white;
  border-radius: 5px;
  margin: 5px;
  display: inline;
  white-space: pre-wrap;
}

p.bingocard {
  color: white;
  font-size: 24pt;
  vertical-align: middle;
  display: inline-block;
  line-height:100px;
}

/* for progress bar */
p.eg {
	font:10pt Courier;
	color: black;
}


[contenteditable] {
  outline: 0px solid transparent;
}

h1 {
  font-size:18pt;
  font-family: "Ramabhadra", sans-serif;
  color: #1b5c7f;
  /* font-weight:bold; */
  margin-top: 0em;
  margin-bottom: 0em;
}
h2 {font:16pt Pavanam, Verdana, sans-serif;color: #1b5c7f;font-weight:bold;margin-top: 0em;margin-bottom: 0em;}
h3 {display:inline-block;font:16pt "Verdana", Verdana, sans-serif;color: #183643;font-weight:normal;margin-top: 0em;margin-bottom: 0em;}
h4 {font:14pt "Verdana", Verdana, sans-serif;color: #183643;font-weight:normal;margin-top: 0em;margin-bottom: 0em;}
h4.subsettitle {display:inline-block;font:14pt "Verdana", Verdana, sans-serif;color: #1b5c7f;font-weight:normal;margin-top: 0em;margin-bottom: 0em;}
h5 {font:14pt "Verdana", Verdana, sans-serif;color: #ff0020;font-weight:normal;font-style: italic;margin-top: 0em;margin-bottom: 0em;}
h6 {display:inline-block;margin-top: 0.33em;margin-bottom: 0.33em;color:#1b5c7f;font:10pt "Verdana", Helvetica, sans-serif;font-weight:normal}
h6.dev {color:#ff0020;}
h6.requested {color:#ff0020;}
h6.waiting {color:#ffc020;}
h6.cancelled {color:#c0c0c0;}
h6.error {color:#ff0020;}
h6.formatted {display:inline-block;margin-top: 0.33em;margin-bottom: 0.33em;color:#1b5c7f;font:10pt "Verdana", Helvetica, sans-serif;font-weight:normal}

hr {
  border-color: #183643;
  border-style: outset;
  border-width: 2px;
}

a {color:#1b5c7f;font:12pt "Verdana", Helvetica, sans-serif;text-decoration:none}
a:link {color:#1b5c7f;font:12pt "Verdana", Helvetica, sans-serif;text-decoration:none}
a:hover {color:#96cdeb}
a.Public {color:#1b5c7f}
a.Public:hover {color:#96cdeb}
a.Full {color:#1b5c7f}
a.Full:hover {color:#96cdeb}a.Creating {color:#008000}
a.Creating:hover {color:#808000}
a.casestudy {color:#1b5c7f;font:12pt "Verdana", Helvetica, sans-serif; font-weight: bold}
a.attendees {color:#1b5c7f;font:10pt "Verdana", Helvetica, sans-serif; font-weight: bold}
a.red {color:#ff0000}
a.red:hover {color:#ff8000}
a.footer {color:#96cdeb;font:12pt "Verdana", Helvetica, sans-serif; text-decoration:none}
a.footer:hover {color: #ffffc0; font-weight: bold;}


button {
  color:#000000;
  background-color:#e6eef2;
  border-color:#1b5c7f;
  font-size: 10pt;
  padding: 2pt;
  border-radius: 5pt 5pt 5pt 5pt;
}

button:hover {
  color:#ffffff;
  background-color:#1b5c7f;
  border-color:#e6eef2;
  font-size: 10pt;
  padding: 2pt;
  border-radius: 5pt 5pt 5pt 5pt;
}

button.admin {
  color:#000000;
  background-color:#ffffc0;
  border-color:#1b5c7f;
  font-size: 10pt;
  padding: 2pt;
  border-radius: 5pt 5pt 5pt 5pt;
}

button.admin:hover {
  color:#ffffff;
  background-color:#96cdeb;
  border-color:#e6eef2;
  font-size: 10pt;
  padding: 2pt;
  border-radius: 5pt 5pt 5pt 5pt;
}

button.mine {
  color:#000000;
  background-color:ffff80;
  border-color:#1b5c7f;
  font-size: 10pt;
  padding: 2pt;
  border-radius: 5pt 5pt 5pt 5pt;
}

button.mine:hover {
  color:#ffffff;
  background-color:ff8000;
  border-color:#1b5c7f;
  font-size: 10pt;
  padding: 2pt;
  border-radius: 5pt 5pt 5pt 5pt;
}

button.textsave {
  visibility: hidden;
}


/* for progress bar --------------------------- V -------------------------------- */
section {
	width: 600px;
	height: 450px;
	margin: 10px auto;
	background: #e6eef2; /* very pale blue */
}


form {
	width: 96%;
	/* height: 100%; */
	margin: auto;
	padding: 20px;
}

form > p {
	font-family: sans-serif;
	padding: 10px 5px;
	font-size: 25px;
	margin: 20px auto;
	
}

form div {
	height: 60px;
	margin: 20px auto;
	padding: 5px;
}

form .pr {
	height: 110px;
	display: none
}

form div label {
	display: block;
	/* background: hsl(340, 75%, 75%); */
	background: #2687b0;
	padding: 12px;
	border-radius: 4px;
	color: white;
	font-size: 12pt;
	width: 90%;
	line-height: 25px;
	border: 2px solid #e5e5e5;
	position: relative;
}

form div label:before {
	position: absolute;
	content: "Browse";
	right: -2px;
	top: -2px;
	width: 100px;
	height: 107%;
	line-height: 50px;
	background: #cccccc;
	text-align: center;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
}

strong {
	width: 100%;
	height: 50%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

strong h4 {
	background: #96cdeb;
	padding: 8px 10px;
	color: white;
	border-radius: 5px;
}

progress {
	width: 100%;
	height: 30px;
	-webkit-appearance: none;
	border-radius: 25px;
}

progress::-webkit-progress-bar {
	width: 100%;
	height: 20px;
	background: LightGrey;
	border-radius: 25px;
}

progress::-webkit-progress-value {
	background: #00aced;
	border-radius: 25px;
}

span.progress-indicator {
	color: #183643;
}

button span:nth-child(2), button.active span:first-child{
	display: none;
}

button.active span:nth-child(2) {
	display: inline-block;
}

button.cancel {
	visibility: hidden;
  
  margin: 10px;
	padding: 12px 18px;
	color: white;
	font-size: 18px;
	outline: none;
	border: none;
	border-radius: 25px;
	background: #959595;
	cursor: pointer;  
}

input[type=submit].button, input[type=submit].button:hover {
	margin: 10px;
	padding: 12px 18px;
	color: white;
	font-size: 18px;
	outline: none;
	border: none;
	border-radius: 25px;
	background: #00aced;
	cursor: pointer;
}

.uploading {
	position: relative;
	padding-left: 20px;
}

.uploading:before {
	position: absolute;
	content: "";
	left: -12px;
	top: 0;
	width: 20px;
	height: 20px;
	border-radius: 20px;
	border: 2px solid;
	border-color: white transparent white transparent;
	animation: rotate 1s infinite;	
}


/* for progress bar --------------------------- ^ -------------------------------- */


label {
  font-family: Pavanam, Verdana, sans-serif;
  color:#000020;
  font-size: 14pt;
}

input[type=submit], input[type=reset] {
  color:#000000;
  background-color:#e6eef2;
  border-color:#1b5c7f;
  font-size: 10pt;
  padding: 2pt;
  border-radius: 5pt 5pt 5pt 5pt;
}

input[type=submit]:hover, input[type=reset]:hover {
  color:#ffffff;
  background-color:#96cdeb;
  border-color:#e6eef2;
  font-size: 10pt;
  padding: 2pt;
  border-radius: 5pt 5pt 5pt 5pt;
}

input[type=button] {
  color:#000000;
  background-color:#e6eef2;
  border-color:#1b5c7f;
  font-size: 10pt;
  padding: 2pt;
  border-radius: 5pt 5pt 5pt 5pt;
}

input[type=button]:hover {
  color:#ffffff;
  background-color:#96cdeb;
  border-color:#e6eef2;
  font-size: 10pt;
  padding: 2pt;
  border-radius: 5pt 5pt 5pt 5pt;
}

input[type=checkbox] {
  color:#000000;
  background-color:#e6eef2;
  border-color:#1b5c7f;
  font-size: 10pt;
  padding: 1px 2pt;
  border-radius: 5pt 5pt 5pt 5pt;
}

input[type=number] {
  background-color: #ffffff;
  color: #0000ff;
  font-size: 12pt;
  font-weight: bold;
  width: 60px;
}

input[type=number].standard {
  /* dummy for CSS selector */
  color: #000000;
  font-size: 10pt;
}

input[type=number].score {
  /* dummy for CSS selector */
}

textarea.sectiondescription {
  font-size: 10pt;
  min-width: 360px;
  /* width: 100%; */
  min-height: 60px;
  line-height: 1;
  display: inline;
  white-space: pre-wrap;
}

textarea.teamdescription {
  font-size: 10pt;
  min-width: 200px;
  /* width: 100%; */
  min-height: 16px;
  line-height: 1;
  display: inline;
  white-space: pre-wrap;
}

textarea.scorecell {
  font-size: 10pt;
  /* font-weight: bold; */
  color: #0000ff;
  /* min-width: 200px; */
  width: 100%;
  min-height: 80px;
  line-height: 1.2;
  display: inline;
  white-space: pre-wrap;
}

textarea.worksheettext {
  font-size: 14pt;
  color: #0000ff;
  width: 100%;
  height: 70%;
  /* min-height: 80px; */
  line-height: 1.2;
  display: inline;
  white-space: pre-wrap;
}

img.icon {cursor: pointer}

img.homepagephoto {
  position: relative;
  height: 360px;
}

img#volunteerphoto {
/*  height: 100%; */
  max-height: 100%;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

table {background-color: transparent}

table.event {background-color: #ffffff}

table.aboutus {background-color: #e6eef2;}

table.login {
  background: transparent;
  border:1; cellpadding:3; cellspacing:1  
}

table.question {
  background: transparent;
  border:1; cellpadding:3; cellspacing:1  
}

table.subset {
  background-color: #ffffff;
  border:1px solid black;
  border-collapse: collapse;
}

table.responses {
  background-color: #ffffff;
  border:1px solid black;
  border-collapse: collapse;
  max-width: 80%;
}

caption {font:12pt "Verdana", Verdana, sans-serif;color: #1b5c7f;font-weight:normal;margin-top: 0em;margin-bottom: 0em;}

thead {color:#ffff20;font:10pt Verdana}

tr {
  background: transparent;
}

/* tr:nth-child(even) {background-color: #e6eef2;} */
tr.login {background: transparent;}

tr.events:nth-child(even) {background-color: #e6eef2;}

tr.responses:nth-child(even) {
  background-color: #e6eef2;
}
tr.responses:nth-child(odd) {
  background-color: #ffffff;
}

/* tr.subset {
  background-color: #cad8de;
  min-height: 12px;
  height: 12px;
} */

tr.subset:nth-child(even) {
  background-color: #e6eef2;
}
tr.subset:nth-child(odd) {
  background-color: #96cdeb;
}

tr.export {background-color: #ffffff;}

th {color:#000000;font:12pt "Verdana", Helvetica, sans-serif;font-weight: bold;text-align:left}
th.admin {color:#004000;font:12pt "Verdana", Helvetica, sans-serif;font-weight: bold;text-align:left}
th.event {color:#004000;font:12pt "Verdana", Helvetica, sans-serif;font-weight: bold;text-align:left}
th.subset {
  color:#004000;
  font:10pt "Verdana", Helvetica, sans-serif;
  font-weight: normal;
  text-align:left;
  background-color: #ffffff;
  border:1px solid black;
  padding: 1px 2px;
}
th.responses {
  background-color: #ffffff;
  border:1px solid black;
  padding:2px;
}
th.export {
  color:#000000;
  font:8pt "Verdana", Helvetica, sans-serif;
  font-weight: bold;
  text-align:left;
  background-color: #ffffff;
  border:1px solid black;
  padding: 1px 2px;
}
th.optionalY {
  color:#004000;
  font:10pt "Verdana", Helvetica, sans-serif;
  font-weight: normal;
  text-align:left;
  background-color: #ffffff;
  border:1px solid black;
  padding: 1px 2px;
}
th.optionalN {
  color:#4080ff;
  font:10pt "Verdana", Helvetica, sans-serif;
  font-weight: normal;
  text-align:left;
  background-color: #ffffff;
  border:1px solid black;
  padding: 1px 2px;
}

td {color:#000000;font:10pt Verdana}
td.error {color:#ff8080;font:10pt Verdana}
td.login {background: transparent;}
td.subset {
  font:8pt "Verdana", Helvetica, sans-serif;
  /* background-color: #cad8de; */
  border:1px solid black;
  padding: 0px 2px;
  min-height: 10px;
}
td.responses, td.scoretotals, p.scoretotals {
  font-weight: bold;
  background-color: #ffffff;
  border:1px solid black;
  padding: 2px;
}
td.optionalY {
  background-color: #ffffff;
  border:1px solid black;
  padding: 2px;
}
td.optionalN {
  color: #4080ff;
  font-weight: normal;
  background-color: #ffffff;
  border:1px solid black;
  padding: 2px;
}
td.eventscorestext {
  display: block;
  white-space: pre-wrap;
  border:1px solid black;
  padding: 2px;
}
td.scorecell {
  display: block;
  white-space: pre-wrap;
  border:1px solid black;
  padding: 2px;
  background-color: #e6eef2;
}

ol {
  font-family: Verdana;
  color:#000020;
  font-size:10pt;
}

li {
  font-family: Verdana;
  color:#000020;
  font-size:10pt;
  list-style-image: url('postbullets.png');
}

div {
  /* color:#ff0000; */
  /* font:10pt Verdana; */
  white-space: pre-wrap;
}

div.message {
  color: #c00040;
  font: 10pt Verdana;
}

div.attempt {
  color: #ffff00;
  font: 12pt Verdana;
}

div.user {
  display: inline-block;
  color:#e6eef2;font:10pt Verdana;
  padding: 5px 10px;
}

div.clickable {
  display: inline-block;
  color:#96cdeb;font:10pt Verdana;
  padding: 5px 10px;
  cursor: pointer;
}

div.Verified {
  cursor: pointer;
}

div.Unverified {
  color:#808000;
}

div.Locked {
  color:#c00040;
  cursor: pointer;
}

div.boldtext {
  font-weight: bold;
  display: inline-block;
}

div.inlinetext {
  display: inline;
  white-space:pre-wrap;
}

div.photobox {
  position: relative;
  height: 360px;
/*  width: 480px; */
}

div.photolabel {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #000000;
  color: #ffffff;
  width: 480px;
  height: 50px;
  border: none;
  opacity: 0.5;
  padding: 2px;
}

div#phototitle {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* background-color: #000000; */
  color: #ffffff;
  font: 20pt Pavanam, Verdana, sans-serif;
  width: 480px;
  height: 50px;
  border: none;
  opacity: 0.9;
  padding: 2px;
}

div#photodescription {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* background-color: #000000; */
  color: #ffffff;
  /* font: 16pt Pavanam, Verdana, sans-serif; */
  width: 480px;
  height: 50px;
  border: none;
  opacity: 0.9;
  padding: 2px;
}

div.pagecontent {
  display: block;
  white-space: normal;
  overflow:scroll;
  max-height: 70%;
}

div.pagecontentadmin {
  display: block;
  white-space: normal;
  overflow: scroll;
  max-height: 90%;
}

div.footer {
  background-image: url('footer_b.png');
  position: fixed;
  left: 0;
  bottom: 0;
  min-height: 50px;
  /* padding-left: 10px;
  padding-right: 10px; */
  white-space: normal;
  text-align: center;
  font-family: Arial;
  font-size: 10px;
  letter-spacing: normal;
  word-spacing: normal;
  font-style: normal;
  font-weight: normal;
  /* text-decoration: underline; */
  color: #e6eef2;
}

div.topleft {
  position: fixed;
  top: 50%;
  left: 50%;
/*  background-color: #e6eef2;
  color: #1b5c7f; */
  background-color: #ffff00;
  color: #ff0020;
  opacity: 0.8;
  visibility: hidden;
  width: 100px;
  padding: 5px;
  font-family: Arial;
  font-size: 16px;
  text-align: center;
  /* border: 3px solid #4040c0; */
}

div.event {
  width:75%;
  border:2px solid #96cdeb;
  border-radius:10px;
  margin-left:auto;
  margin-right:auto;
  margin-top: 10px;
  margin-bottom: 10px;
  padding:5px;
  background-color:#d0ffff;
}

div.eventattending {
  width:75%;
  border:2px solid #c2deef;
  border-radius:10px;
  margin-left:auto;
  margin-right:auto;
  margin-top: 10px;
  margin-bottom: 10px;
  padding:5px;
  background-color:#ffffff;
}

div.Public {
  width:75%;
  border:2px solid #96cdeb;
  border-radius:10px;
  margin-left:auto;
  margin-right:auto;
  margin-top: 10px;
  margin-bottom: 10px;
  padding:5px;
  background-color:#d0ffff;
}

div.Full {
  width:75%;
  border:2px solid #96cdeb;
  border-radius:10px;
  margin-left:auto;
  margin-right:auto;
  margin-top: 10px;
  margin-bottom: 10px;
  padding:5px;
  background-color:#d0ffff;
}

div.Creating {
  width:75%;
  border:2px solid #96cdeb;
  border-radius:10px;
  margin-left:auto;
  margin-right:auto;
  margin-top: 10px;
  margin-bottom: 10px;
  padding:5px;
  background-color:#d0ffd0;
}

div.Completed {
  width:75%;
  border:2px solid #96cdeb;
  border-radius:10px;
  margin-left:auto;
  margin-right:auto;
  margin-top: 10px;
  margin-bottom: 10px;
  padding:5px;
  background-color:#c0c0c0;
}

div.title {
  font-weight: bold;
  color:#183643;
  font:14pt Verdana;
  text-align: left;
  display: block;
}

div.title:hover {
  font-weight: bold;
}


div.description {
  color:#000000;
  font:10pt Verdana;
  text-align: left;
  display: inline;
  white-space:pre-wrap;
}

div.projectdescription {
  display: flex;
  /* grid-template-rows: 0.1fr; */
  /* transition: grid-template-rows 500ms; */
  height: 0px;
  transition: all 500ms linear;
}


div.projectdescriptionvisible {
    /* display: grid; */
    height: 150px;
    /* height: auto; does not work with transition */
}


/* element inside an element selector
div.projectdescription > div {
  overflow: hidden;
}
*/

div.projectcontent {
  /* height: 10px; */
  overflow: auto;
}

div.projectdescription:hover {
  border-color: red;
  /* grid-template-rows: 2fr;*/
  background-color: white;
}

div.eventdate {
  position:absolute;
  left:10px;
  top:10px;
}

div.eventplaces {
  position:absolute;
  left:10px;
  top:10px;
}

div#volunteerinfo {
  display: inline;
  border:solid;
/*    border-color: #1b5c7f;
  border-width: 3px; */
  background-color:white;
  overflow:hidden;
  width:50%;
/*  height:200px; */
  
  max-width:100%;
  max-height:100%;
  margin-left:auto;
  margin-right:auto;
  /* display:block */
  
}

div#quotes {
  display: inline;
  border:solid;
/*    border-color: #1b5c7f;
    border-width: 3px; */
  background-color:white;
  overflow:scroll;
  width:30%;
/*  height:400px; */
}

div#robotcheck {
  display: block;
  /* background-color: #1b5c7f; */
  background-image: linear-gradient(135deg, #1b5c7f, #604000);
  border-style: solid;
  border-color: #e6eef2;
  max-width: 75%;
}

div.tablerow {
  display: inline-block;
  vertical-align: text-top;
  padding: 10px;
  max-height: 800px;
  overflow: scroll;
}

div.eventscorestext {
  /* display: block; */
  white-space: pre-wrap;
  border:1px solid black;
  padding: 2px;
}

div.clock {
  color:#e6eef2;
  font:32pt Verdana;
  padding: 5px 10px;
}

div.alert {
  font:20pt Verdana;
  padding: 5px 10px;
  max-width: 50%;
}

div.dashboard {
  /* color:#e6eef2; */
  font:16pt Verdana;
  padding: 5px 10px;
}

div.dashboardlabel {
  color:#e6eef2;
  font:16pt Verdana;
  padding: 5px 10px;
}

span.user {
  color:#e6eef2;
  font:10pt Verdana;
  padding: 5px 10px;
}

span.clickable {
  color:#e6eef2;
  font:10pt Verdana;
  padding: 5px 10px;
  cursor: pointer;
}

.fadeup {
  opacity: 1;
  -webkit-transition: opacity 3s linear;
}

.imgstart {
  opacity: 0;
}

.headerimage {
  background-image: url("header.jpg");
  background-size: 100%;
}

/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #1B3643;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: #2687b0;
  color: #ffffff;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 5px 10px;
  transition: 0.3s;
  font: 10pt "Tahoma", Helvetica, sans-serif;
  font-weight: bold;
  /* font-size: 12px; */
  border-radius: 5pt 5pt 2pt 2pt;
  margin: 1px;
}

.tab button.tablinks {
  color:#e6eef2;
}

.tab button.tabadmin {
  color:#ffffc0;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #4ca6cd;
  color: #000000;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #1b5c7f;
}

/*
.row {
  float: inherit;
}
*/

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 33.33%;
  padding: 0px;
}

/* different columns */
.columnleft {
  float: left;
  width: 50%;
  height: 100%;
  overflow: scroll;
  padding: 0px;
  border: none;
}

/* different columns */
.columnright {
  float: left;
  width: 40%;
  height: 320px;
  overflow: scroll;
  padding: 15px 0;
  border: none;
/*   background-color: white; */
  margin: auto;
}

/* different columns */
.columnrightquote {
  float: left;
  width: 40%;
  max-height: 600px;
  overflow: visible;
  padding: 15px 0;
  border:none;
  background-color: white;
  transition: background-color 2s;
/*  margin: auto; */
}

.columnrightquote:hover {
  background-color: #ffffc0;
}

/* Create three equal columns that floats next to each other */
.scorepanel {
  float: left;
  width: 23%;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 10px;
  padding: 5px;
  border-style: solid;
  border-color: white;
  background-color: #1b5c7f;
  border-radius: 10px;
}

.bingopanel {
  display: inline-block;
  float: left;
  width: 22%;
  height: 20%;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 10px;
  padding: 5px;
  border-style: solid;
  border-color: white;
  color: white;
  background-color: #1b5c7f;
  border-radius: 10px;
  font-size: 24pt;
}

.sectionheader {
  float: inherit;
  width: 23%;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 10px;
  padding: 5px;
  border-style: solid;
  border-color: white;
  background-color: #ffffff;
  border-radius: 5px;
  text-align: left;
  white-space: pre-wrap;
}

.textonebox {
  float: inherit;
  width: 75%;
  height: auto;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 5px;
  padding: 5px;
  border-style: solid;
  border-color: white;
  background-color: #1b5c7f;
  border-radius: 10px;
  text-align: left;
  white-space: pre-wrap;
  font: 18pt "Tahoma", Helvetica, sans-serif;
}

.texttwothirdswidth {
  float: left;
  width: 65%;
  height: auto;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 5px;
  padding: 5px;
  border-style: solid;
  border-color: white;
  background-color: #1b5c7f;
  border-radius: 10px;
  text-align: left;
  white-space: pre-wrap;
  font: 18pt "Tahoma", Helvetica, sans-serif;
}


.textfullwidth {
  color: white;
  float: inherit;
  width: 75%;
  height: auto;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 5px;
  padding: 5px;
  border-style: solid;
  border-color: white;
  background-color: #1b5c7f;
  border-radius: 10px;
  display: block;
  text-align: left;
  white-space: pre-wrap;
  font: 18pt "Tahoma", Helvetica, sans-serif;
}


/* for uploaded image files */
.imagedescription {
  float: left;
  width: 45%;
  margin: 5px;
  text-align: left;
  white-space: pre-wrap;
  font: 12pt "Tahoma", Helvetica, sans-serif;
}

.imagedisplay {
  float: left;
  width: 45%;
  margin: 10px;
}

.imagedisplaysmall {
  float: right;
  border-style: solid;
  border-color: white;
  background-color: #1b5c7f;
  border-radius: 10px;
  width: 30%;
  margin: 5px;
}

/* for uploaded image files */
.textinputdescription {
  color: black;
  float: left;
  width: 100%;
  /* margin: 10px; */
  margin: 0px;
  padding: 5px;
  text-align: left;
  white-space: pre-wrap;
  font: 12pt "Tahoma", Helvetica, sans-serif;
}

.textinputanswer {
  color: white;
  float: left;
  width: 100%;
  border-style: groove;
  border-width: 2px;
  /* border-color: white; */
  border-radius: 5px;
  /* margin: 10px; */
  background-color: transparent;
  margin: 0px;
  padding: 5px;
  text-align: left;
  display: block;
  white-space: pre-wrap;
  font: 12pt "Tahoma", Helvetica, sans-serif;
}

/* styling for a checkbox. This overrides the browser default. Lifted from W3schools */
.container {
  font-family: Pavanam, Verdana, sans-serif;
  color:#000020;
  font-size: 14pt;  
  display: inline-block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox (an input inside an element of class container) */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

.pagebreak {
  display: block;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* styling for a select drop-down. Lifted from W3 Schools https://www.w3schools.com/howto/howto_custom_select.asp */
/* The container must be positioned relative: */
.custom-select {
  position: relative;
  font-family: Arial;
  /* border: solid green; */
}

.custom-select select { /* a select element inside an element with class custom-select */
  /* hide original SELECT element: This doesn't work. It hides the new select element too. Currently using appearnce: none to remove default styles */
  appearance: none;
}

select {
  font-size: 1rem;
  padding: 1em 1.5em;
}

select.voting {
  font-size: 1.2rem;
  padding: 0.5em 4em 0.5em 0.5em;
  background: #1b5c7f;
  color: #e6eef2;
  /* appearance: none; */
  border: 0;
  border-radius: 0;
  width: 100%;
}

option {
  background-color: yellow;
  color: MidnightBlue;
}

.custom-arrow {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  background: #183643;
  height: 100%;
  width: 2em;
  pointer-events: none;
}

.custom-arrow::before,
.custom-arrow::after {
  --size: 0.5em;
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.custom-arrow::before {
  border-left: var(--size) solid transparent;
  border-right:  var(--size) solid transparent;
  border-bottom:  var(--size) solid #cad8de;
  
  top: 30%;
}

.custom-arrow::after {
  border-left: var(--size) solid transparent;
  border-right:  var(--size) solid transparent;
  border-top:  var(--size) solid #cad8de;
  
  top: 60%;
}

.select-selected { /* class */
  background-color: Red;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid green;
  border-color: #fff transparent yellow transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
  color: #ffffff;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: DodgerBlue;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
  /* display: none; */
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 800px) {
  .scorepanel, .textonebox, .imagedescription, .imagedisplay, .bingopanel {
    width: 90%;
  }
}

@media print {
  @page {
    size: A4 portrait;
    /*
    margin-top: 0mm;
    margin-bottom: 0mm;
    margin-left: 0mm;
    margin-right: 0mm;
    */
  }
  
  #pagebreak, .pagebreak {
    page-break-after: always;
  }
  body {
    margin: 0mm;
    border: none;
  }
  div {
    margin: 0mm;
    border: 0mm;
    padding: 0mm;
  }
}

/* Clear floats after the columns
.row:after {
  content: "";
  display: table;
  clear: both;
}
*/

iframe {
  border:none;
/*    border-color: #1b5c7f;
  border-width: 3px; */
  background-color:transparent;
  overflow:visible;
/*  width:100%; */
/*  height:10000px; */
}

iframe#maincontent {
  border:none;
/*    border-color: #1b5c7f;
  border-width: 3px; */
  background-color:transparent;
  overflow:visible;
  width:100%;
  height:10000px;
}

iframe.quotes {
  border:none;
/*    border-color: #1b5c7f;
  border-width: 3px; */
  background-color:transparent;
  overflow:visible;
  width:100%;
  height:500px;
}



