/*
#
#  UK Particle Physics Travel Management System and UKLO Administrative Portal
#  Version 2.0
#  travel.css
#
#  This contains css definitions
#
#  The order of components is top right bottom left or top/bottom left/right
#
#  Copyright (c) 2013-24 Steve Lloyd, Queen Mary University of London. 
#  All rights reserved.
#
#===========================================================================
*/

* {
  box-sizing: border-box;
}

html, body {
    background-color: #ffffff;
}
h4 {
	margin: 10px 0px 10px 0px;
}
pre {
	font-family: "Courier New", "Courier", monospace;
}

#container {
	background-color: #ffffff; 
	margin-left:0px;
	margin-right:0px;
}
/*
#main {
	padding:0px 10px 40px 10px;
}
*/
#heading{
    background-color: #116abc;
    color: #ffffff;
    padding: 15px 20px 0px 20px;
    text-align: center;
    height: 80px;
}
/*
#announce{
    display: inline-block;
    font-size: 11px;
	margin:10px 0px 0px 0px;
	padding: 3px;
    border: 1px solid #000000;
}
*/
.login_form{
    background-color: #116abc;
    color: #000000;
    padding: 15px 20px 0px 20px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    align: center;
    border: 1px solid #000000;
    border-radius: 5px;
    width: 400px;
}
.login_header {
    color: #ffffff;
	font-size: 18px;
}
.login_text {
    color: #ffffff;
    padding: 5px 0px 5px 0px;
	font-size: 12px;
}
.center_table{
	margin: 0 auto;
}
#footer{
    background-color: #116abc;
    color: #ffffff;
	padding:0px 10px 0px 10px;
	border-top: 1px solid #000000;
	margin-top: 10px;
}

td[rowspan] {
/*  vertical-align: top; */
/*  text-align: left;*/
}
.w3-table {
	width: auto;
}
tr {
	height: 30px;
}
td {
	padding: 0px 10px 0px 10px;
}
th {
	padding: 0px 10px 0px 10px;
/*	min-width: 25px;*/
}

/* Colours */
.bg-default{ background-color: #ffffff;}
.bg-ok{ background-color: #00ff00;}
.bg-grey{ background-color: #cccccc;}
.bg-weekend{ background-color: #cce6ff;}
.bg-select { background-color: #ccffcc; }
.title-colour { 
	background-color: #116abc;
    color: #ffffff;
}
.text-red{ color: #ff0000;}

.big-box {
    border: 1px solid #000000;
	border-radius: 5px;
	padding: 5px 10px 10px 10px;
	width: fit-content;
}
.dashboard-box {
	display: inline-block;
    border: 1px solid #000000;
	border-radius: 5px;
	padding: 10px 10px 10px 10px;
	margin: 10px 10px 10px 10px;
	width: fit-content;
}
.dashboard-box td {
	padding: 5px 10px 5px 5px;
}

.dashboard-heading {
	font-size: 14pt;
	font-weight: bold;
	margin: auto;
	padding: 10px 10px 0px 10px;
	width: fit-content;
}

.max-height-300 {
	overflow: auto;
	max-height: 300px;
}

.sort-link {
	cursor: pointer;
	text-decoration: none;
	color: #000000;
}
.sort-link:hover {
	background: #ffffff;
}
.divider-row {
	height: 5px !important;
	border-width: 1px 0px 1px 0px;
}
/*
.sticky	th {
	position: sticky;
	top: 0;
	background: #ffffff;
    border-bottom: 1px solid #aaaaaa;
	padding: 0px 10px 0px 10px;
}
.sticky {
	border-collapse: collapse;
}
*/
.x-scroll {
/*	height: 100vh; */
	overflow-x:auto;
}
.sticky-col thead tr:nth-child(1) th:nth-child(1)  {
  z-index: 3;
}
.sticky-col thead tr:nth-child(2) th:nth-child(1)  {
  z-index: 3;
}

.sticky thead tr:nth-child(1) th { 
	position: sticky;
	top: 0; 
	padding: 0px 10px 0px 10px;
	z-index: 2;
}

.sticky-col thead tr:nth-child(1) th { 
	position: sticky;
	top: 0; 
	left: 0;
	padding: 0px 10px 0px 10px;
	z-index: 2;
}
.sticky thead tr:nth-child(2) th { 
	position: sticky; 
	top: 30px;
	padding: 0px 10px 0px 10px;
	z-index: 2;
}
.sticky-col thead tr:nth-child(2) th { 
	position: sticky; 
	top: 30px;
	left: 0;
	padding: 0px 10px 0px 10px;
	z-index: 2;
}
.sticky-col tbody td:nth-child(1) { 
	position: sticky;
	left: 0;
	z-index: 1;
}

.editable {
  background: #ffffdd;
}
.editable-border {
	padding-left: 5px !important;
	border: 1px solid #aaaaaa !important;
}
.fixed-table {
	table-layout: fixed;
}

table.occupancy {table-layout:fixed; width:1060px; word-break:break-all;}/*Setting the table width is important!*/
table.occupancy td {overflow:hidden;}/*Hide text outside the cell.*/
table.occupancy td:nth-of-type(1) {width:140px;}
table.occupancy td:nth-of-type(2) {width:80px;}
table.occupancy td:nth-of-type(3):nth-of-type(58) {width:20px;}
.hidden-row {height:0; margin:0; padding:0; visibility:collapse; line-height:0;}
/*
table.occupancy td:nth-of-type(4) {width:20px;}
table.occupancy td:nth-of-type(5) {width:20px;}
table.occupancy td:nth-of-type(6) {width:20px;}
table.occupancy td:nth-of-type(7) {width:20px;}
table.occupancy td:nth-of-type(8) {width:20px;}
table.occupancy td:nth-of-type(9) {width:20px;}
table.occupancy td:nth-of-type(10) {width:20px;}
table.occupancy td:nth-of-type(11) {width:20px;}
table.occupancy td:nth-of-type(12) {width:20px;}
table.occupancy td:nth-of-type(13) {width:20px;}
table.occupancy td:nth-of-type(14) {width:20px;}
table.occupancy td:nth-of-type(15) {width:20px;}
table.occupancy td:nth-of-type(16) {width:20px;}
table.occupancy td:nth-of-type(17) {width:20px;}
table.occupancy td:nth-of-type(18) {width:20px;}
table.occupancy td:nth-of-type(19) {width:20px;}
table.occupancy td:nth-of-type(20) {width:20px;}
table.occupancy td:nth-of-type(21) {width:20px;}
table.occupancy td:nth-of-type(22) {width:20px;}
table.occupancy td:nth-of-type(23) {width:20px;}
table.occupancy td:nth-of-type(24) {width:20px;}
table.occupancy td:nth-of-type(25) {width:20px;}
table.occupancy td:nth-of-type(26) {width:20px;}
table.occupancy td:nth-of-type(27) {width:20px;}
table.occupancy td:nth-of-type(28) {width:20px;}
table.occupancy td:nth-of-type(29) {width:20px;}
table.occupancy td:nth-of-type(30) {width:20px;}
table.occupancy td:nth-of-type(31) {width:20px;}
table.occupancy td:nth-of-type(32) {width:20px;}
table.occupancy td:nth-of-type(33) {width:20px;}
table.occupancy td:nth-of-type(34) {width:20px;}
table.occupancy td:nth-of-type(35) {width:20px;}
table.occupancy td:nth-of-type(36) {width:20px;}
table.occupancy td:nth-of-type(37) {width:20px;}
table.occupancy td:nth-of-type(38) {width:20px;}
table.occupancy td:nth-of-type(39) {width:20px;}
table.occupancy td:nth-of-type(40) {width:20px;}
table.occupancy td:nth-of-type(41) {width:20px;}
table.occupancy td:nth-of-type(42) {width:20px;}
table.occupancy td:nth-of-type(43) {width:20px;}
table.occupancy td:nth-of-type(44) {width:20px;}
table.occupancy td:nth-of-type(45) {width:20px;}
table.occupancy td:nth-of-type(46) {width:20px;}
table.occupancy td:nth-of-type(47) {width:20px;}
table.occupancy td:nth-of-type(48) {width:20px;}
table.occupancy td:nth-of-type(49) {width:20px;}
table.occupancy td:nth-of-type(50) {width:20px;}
table.occupancy td:nth-of-type(51) {width:20px;}
table.occupancy td:nth-of-type(52) {width:20px;}
table.occupancy td:nth-of-type(53) {width:20px;}
table.occupancy td:nth-of-type(54) {width:20px;}
table.occupancy td:nth-of-type(55) {width:20px;}
table.occupancy td:nth-of-type(56) {width:20px;}
table.occupancy td:nth-of-type(57) {width:20px;}
table.occupancy td:nth-of-type(58) {width:20px;}
*/
.drop-area {
  border: 2px dashed #ccc;
  border-radius: 20px;
  width: 480px;
  font-family: sans-serif;
  margin: 3px;
  padding: 20px;
  text-align: center;
}
.highlight {
  border-color: purple;
}
.box-section {
    border: 1px solid #aaaaaa;
    padding: 0px 10px 10px 10px;
    margin: 10px 20px 0px 0px;
}

.column-container {
  column-count: 3;
	}

.doc-button {
  display: inline-block;
  padding: 2px 4px 2px 4px;
  background: #ffffff;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.sticky-notes {
	width: 100%;
	height: 100%;
	display: flex;
	flex-flow: row wrap; /* Align on the same line */
	align-items: center;
}	
.sticky-note {
	border: 1px solid #ccc;
	border-radius: 5px;
	display: inline-block;
	box-shadow: 10px 10px #eeeeee;
	width: 300px;
	height: 300px;
	margin: 15px;
	padding: 5px;
	Overflow: hidden;
}
.sticky-note-header {
	width: 100%;
	border-bottom: 1px solid #ccc;
	padding-bottom: 5px;
	margin-bottom: 5px;
	display: flex;
	flex-flow: row nowrap; /* Align on the same line */
	justify-content: space-between; /* Equal margin between the child elements */
	align-items: center;
}
.sticky-note-sharing {
	cursor: pointer;
}
.sticky-note-editing {
	cursor: pointer;
}
.sticky-note textarea {
	width: 100%;
	height: 85%;
}
.sticky-note-details {
	white-space: pre-wrap;
}

.circle-colour {
    width: 12px;
    height: 12px;
    border-radius: 50%;
	border: 1px solid #aaaaaa;
	display: inline-block;
	margin: 0px 0px -1px 0px;
	cursor: pointer;
}
.circle-green {
    background: #90ee90;
}
.circle-yellow {
    background: #ffff00;
}
.circle-pink {
    background: #ffb6c1;
}
.circle-cyan {
    background: #00ffff;
}
.no-link {
	text-decoration: none;
	color: #000000;
}

.sticky-note-green {
	background-color: #90ee90;
}
.sticky-note-yellow {
	background-color: #ffff00;
}
.sticky-note-pink {
	background-color: #ffb6c1;
}
.sticky-note-cyan {
	background-color: #00ffff;
}

.text-color-black {
	color: #000000;
}
.text-color-red {
	color: #ff0000;
}
.text-color-green {
	color: #00aa00;
}

.file-elem {
  display: none;
}

a.linkbox:hover, a.linkbox:active {
    background-color: #dddddd;
    border: 1px solid #aaaaaa;
}
input[type="submit"] {
    display: inline-block;
	font-size: 11px;
    color: #000000;
    background-color: #ffffff;
    border-radius: 6px;
	min-width: 50px;
    text-align: center;
    padding: 4px;
    text-decoration: none;
    white-space:nowrap;
    border: 1px solid #aaaaaa;
}

input[type="submit"]:hover,input[type="submit"]:active {
    background-color: #dddddd;
    border: 1px solid #aaaaaa;
}
.message-div{
	padding: 0px 0px 6px 0px;
}

table a:hover, table a:active {
    background-color: #E3F2FD;
}
/*
nav {
	background-color: #333333;
}
nav ul {
	background-color: #333333; 
	z-index: 1000;
}
nav ul ul {
	top: 30px;
}

nav ul ul li {
	background-color: #333333; 
}
nav ul li:hover {
	background-color: #4b545f;
}
nav ul li:hover a {
	color: #ffffff;
}
nav ul ul li a:hover {
	background-color: #4b545f;
}
*/

.plotdiv {
    border: 1px solid #aaaaaa;
    margin: 10px 10px 10px 0px;
    display: inline-block;
}

.togglebox {
    display: inline-block;
	font-size: 11px;
    color: #ffffff;
    color: #000000;
    background-color: #96a0b0;
    background-color: #ffffff;
    border-radius: 6px;
	min-width: 50px;
    text-align: center;
    padding: 4px;
    text-decoration: none;
    white-space:nowrap;
    border: 1px solid #aaaaaa;
}
.togglebox:hover {
    background-color: #dddddd;
    border: 1px solid #cccccc;
}

/* Help Pages */

.help-h2 {
	font-size: 1.5em;
	font-weight: bold;
    color: #3874CB;
	width: 100%;
	padding-bottom: 5px;
	margin-bottom: 5px;
	border-bottom: 1px solid #3874CB;
}
.help-h3 {
	font-size: 1.25em;
	font-weight: bold;
	width: 100%;
	color: #3874CB;
	padding: 5px 0px 5px 0px;
	margin-bottom: 5px;
	border-bottom: 1px solid #3874CB;
}
.help-h4 {
	margin: 10px 0px 10px 0px;
}

.help-code-class{
	width: 100%;
	font-size: 1.2em;
	font-weight: bold;
    color: #3874CB;
	padding-bottom: 3px;
	border-bottom: 1px solid #3874CB;
}
.help-code-name{
	font-size: 1em;
	font-weight: bold;
    color: #3874CB;
}

.help-code-func{
	font-family: monospace;
	font-size: 1.2em;
	padding: 3px 0px 3px 10px;
}

.help-code-desc{
	padding: 0px 0px 3px 10px;
}

.help-code-head{
	padding: 0px 0px 0px 10px;
}

.help-code-param{
	padding: 0px 0px 0px 10px;
}

.help-code-return{
	padding: 0px 0px 0px 10px;
}

.help-side-h2{
	margin-block-start: 0.83em;
	margin-block-end: 0.83em;
	font-size: 1.5em;
	font-weight: bold;
    color: #3874CB;
}

.help-side-h3{
	margin-block-start: 1em;
	margin-block-end: 1em;
	font-size: 1.17em;
	font-weight: bold;
    color: #3874CB;
}

h-apos::before {
	content: "’";
}

h-box {
	padding: 1px 3px 1px 3px;
	border-radius: 5px;
	border: 1px solid #cccccc;
}

h-code{
	font-family: "Courier New", "Courier", monospace;
	font-size: 16px;
}

h-quote::before {
	content: "‘";
}

h-quote::after {
	content: "’";
}

h-menu::before {
	content: "‘";
}

h-menu::after {
	content: "’";
}

#help-container{
	display: flex;
	height: 100%;
}

#help-side{
    border-right: 1px solid #000000; 
	height: 100%; 
    padding: 0px 10px 0px 0px;
    flex: 0 0 210px
}
#help-side-head{
	padding: 0px 10px 0px 10px;
	height: 90px; 
    width: 100%;
}
#help-contents{
	padding: 0px 10px 0px 10px;
	height: 90vh; 
    overflow-y: scroll;
    width: 100%;
}

#help-body{
	padding: 0px 10px 0px 10px;
	height: 100%;
	flex: 1;
    overflow-y: scroll;
}
.help-title {
	padding: 5px 0px 0px 0px;
}
.help-topic {
	padding: 5px 0px 0px 0px;
}
.help-section {
	padding: 0px 0px 0px 13px;
}
.help-expand {
	padding: 0px 3px 0px 0px;
	cursor: pointer;
}
.help-box {
	padding: 1px 3px 1px 3px;
	border-radius: 5px;
	border: 1px solid #cccccc;
}
.help-image {
	width: calc(100% - 10px);
    border: 1px solid #aaaaaa;
    margin: 10px 0px 10px 0px; 
    padding: 5px 5px 5px 5px;
}
.help-image-fixed {
    border: 1px solid #aaaaaa;
    margin: 10px 0px 10px 0px; 
    padding: 5px 5px 5px 5px;
}
.help-image-25 {
	width: 25%;
}
.help-image-40 {
	width: 50%;
}
.help-image-50 {
	width: 50%;
}
.help-image-60 {
	width: 50%;
}
.help-image-75 {
	width: 75%;
}
.help-link {
	cursor: pointer;
    text-decoration: none;
    color: #3874CB;
}
.help-link:hover, .action-link a:active {
    background-color: #eeeeee;
}
.help-link-highlight {
	cursor: pointer;
    text-decoration: none;
	font-weight: bold;
    color: #3874CB;
/*	color: #0000ff;*/
}
.help-link-highlight:hover {
    background-color: #eeeeee;
}

/* Tooltips */

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
 margin-left: -100px; 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -8px;
  border-width: 8px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

.show {
	display: inline-block;
}
.hide {
	display: none;
}