
/* These are the correct colours approved by the CU marketing team */
:root {
	--blue: #005EB8;
	--orange: #F2A900;
	--purple: #A52C87;
	--teal:  #008EAA;
	--lime: #B5BD00;
	--grey: #898D8D;
	--indigo: #3F2A56;
	--red: #EF3340;
	--darkblue: #21324c;
	--darkgrey: #323433;
	--lightgrey: #8695ad;
	--verydarkgrey: #1e1e1e;
	--paleGreen: #d7d5c7;
	--midGreen: #b2b094;
	--darkGreen: #455715;
	--skin: #fdf3e8;
}

@font-face {
  font-family: HelveticaNeueMedium;
  src: url(../fonts/HelveticaNeue-Medium.ttf);
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url(fonts/MaterialIcons-Regular.ttf) format('truetype');
}

html {
	width: 100%;
}

body {
	font-family: sans-serif;
	width: 100vw;
	background-color: white;
	overflow-x: hidden;
	overscroll-behavior: none;
}

body, p, h1, h2, h3, ul, li {
	font-family: Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	/* user-select: none;
	-moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none; */
}

main {
	background-color: white;
	/* margin-top: 0;
	padding-top: 6em;
	padding-bottom: 1em; */
}

/* aside {
	position: absolute;
	right: 0;
	top:0;
	border: 0.1em solid white;
	padding: 1em;
	margin: 1em;
	color: white;
	font-size: 1em;
	border-radius: 0.5em;
}

.hidden {
	display: none;
} */

p a {
	display: inline-block;
	margin-top: 1em;
	text-indent: 0;
}

button {
	cursor: pointer;
	background-color: var(--lightgrey);
	color: white;
	padding: 1em;
	margin-left: 35%;
	margin-right: 35%;
	width: calc(100% - 70%);
	font-weight: bold;
	border-radius: 10px;
	border: none;
	margin-bottom: 0.5em;
	margin-top: 0.5em;
}

button.selected {
	background-color: var(--blue);
}

button.menu {
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}

button.login {
	background-color: var(--blue);
}

button.action {
	margin-left: 0;
	margin-right: 0;
	width: auto;
	background-color: var(--blue);
}

button.subaction {
	margin-left: auto;
	margin-right: 0;
	width: auto;
	float: right;
	background-color: var(--blue);
}

button:hover {
	background-color: var(--darkblue);
}

button:focus {
	outline: none;
}

button.subbutton {
	background-color: white;
	color: var(--blue);
	border: var(--blue) 1px solid;
}

button.viewSurvey, button.video, button.delete {
	margin: 0px;
	width: 100px;
}

button.delete {
	background-color: var(--paleGreen)
}

button.confirm {
	background-color: var(--red)
}

button.delete:hover {
	background-color: var(--red)
}

#topheader {
	width: 100%;
	background-color: var(--blue);
	position: fixed;
	top: -10em;
	height: 12em;
	z-index: 5;
}

header {
	background-color: var(--blue);
	color: white;
	width: 100%;
	padding: 2em;
	box-sizing: border-box;
}

h1 {
	font-size: 1.6em;
}

h2 {
	font-size: 1.0em;
}

h2.title {
	margin-top: 1em;
	margin-bottom: 1em;
}

article.page {
	display: grid;
	grid-template-columns: 20vw 80vw;
	justify-content: left;
}

section.leftpanel {
	grid-column-start: 1;
	width: 20vw;
	background-color: white;
	padding: 1vw;
	box-sizing: border-box;
}

section.rightpanel {
	grid-column-start: 2;
	width: 80vw;
	background-color: white;
	padding: 1vw;
}

div.colourpanel{
	width: 60%;
	background-color: var(--lightgrey);
	padding: 2em;
	border-radius: 10px;
}

div.clearpanel{
	width: 60%;
	background-color: white;
	padding: 2em;
	border-radius: 10px;
}

input, select {
	display: block;
	width: calc(100% - 2.2em);
	font-size: 1em;
	padding: 1em;
	border: 0.1em solid var(--darkGreen);
	border-radius: 0.3em;
	font-family: Arial, Helvetica, sans-serif;
}

select {
	width: 100%;
}

select.smallselect {
	display: inline;
	width: 20vw;
	margin-right: 1vw;
}

input:focus {
	outline: none;
}

label { /*section.login */
	position: relative;
	top: 0.6em;
	left: 1em;
	background-color: white;
	width: 60%;
	padding-left: 0.5em;
	padding-right: 0.5em;
	border: 0.1em solid var(--darkGreen);
	border-radius: 0.3em;
}

textarea {
	display: block;
	width: calc(100% - 2.2em);
	font-size: 1em;
	padding: 1em;
	border: 0.1em solid var(--darkGreen);
	border-radius: 0.3em;
	height: 10em;
	font-family: Arial, Helvetica, sans-serif;
}

input[type="checkbox"] {
	margin: 1em 1em 1em 0;
	/* zoom: 1.5; */
}

input[type="checkbox"]:checked {
	background-color: var(--darkGreen);
	filter: hue-rotate(230deg);
}

p.cookies {
	margin-top: 1em;
}

p.login, p.forgot, p.warning {
	margin-top: 1em;
	margin-bottom: 1em;
}

img.photo {
	width: 40vw;
	height: auto;
	background-size: contain;
	background-repeat: no-repeat;
}

.map {
	width: 50vw;
	height: 50vw;
}

td.heading {
	font-weight: bolder;
	text-align: right;
	padding-right: 10px;
}

td.left {
	text-align: left;
}

/* table.video {
	margin-left: auto;
	margin-right: auto;
	padding: 1vw;
	background-color: var(--darkGreen);
}

ul.actionList {
	padding-left: 10px;
} */

.tablespacer {
	margin-bottom: 1em;
	margin-right: 1em;
}

table {
	border-collapse: collapse;
}

table th {
	text-align: center;
	padding: 1em;
}

td.max_width {
	max-width: 250px; 
	word-wrap: break-word;
}

table td {
	border: 1px solid black;
	padding: 1em;
}

table td.center {
	text-align: center;
}

table input.supercheckbox {
	padding: 0px;
	margin: 0px;
	width: 2em;
}

table input.activecheckbox {
	padding: 0px;
	margin: 0px;
	width: 2em;
}

td.tableicons {
	font-size: 2em;
	padding: 1vw;
	text-align: center;
}

th.right {
	text-align: right;
}

td.noborder {
	border: none;
}

div#notification {
	text-align: center;
}

img.previewImage {
	width: 30vw;
	height: auto
}

img.thumbnail {
	width: 10vw;
	height: auto
}

@media print {

}

@media (max-width: 600px) {

}

@media (prefers-color-scheme: dark) {

} 
