
/* Light mode - default */
:root {
   --body-bg: #cccccc;
   --body-color: #000000;
   --content-bg: #ffffff;
}

/* Dark mode 
@media (prefers-color-scheme: dark) {
   :root {
       --body-bg: #333333;
       --body-color: #FFFFFF;
	   --content-bg: #000000;
   }
}
*/

body
{
	background-color: #0074d9;
	color: var(--body-color);
	width: 100%;
	margin: 0px;
    padding: 0px;
    font-family: 'Roboto', helvetica, arial, sans-serif;
	font-size: 14px;
	line-height 20px;
	font-weight: 400;
	letter-spacing: 0.2px;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	flex-direction: row;
	justify-content: center;
	box-sizing: border-box;
}

.loadergif {
	height: 50px;
	filter: blur(1px);
}

.bluebutton {
    background-color: rgb(0, 120, 231);
    border-radius: 2px;
    padding: 7px 14px 7px 14px;
    border-style: none;
    color: white;
}

.redbutton {
    background-color: rgb(238, 51, 51);
    border-radius: 2px;
    padding: 7px 14px 7px 14px;
    border-style: none;
    color: white;
}

.greybutton {
    background-color: rgb(238, 238, 238);
    border-radius: 2px;
    padding: 7px 14px 7px 14px;
    border-style: none;
    color: black;
}

.button-delete {
	background-color: rgb(222, 60, 60);
	color: white;
	padding-left: 30px;
	padding-right: 30px;
}

.button-cancel {
	background-color: #eeeeee;
}

#modal-dialog {
  border-radius: 5px;
  background-color: white;
  box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 5px 10px, rgba(15, 15, 15, 0.2) 0px 15px 40px;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}

#modal {
  display: grid;
  place-items: center;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 999;
}

#modal-window {
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 20px 0px;
    z-index: 1000;
    box-sizing: border-box;
    max-width: 900px;
    min-width: 500px;
    border-width: 0px;
}

#modal-shadow {
    display: none;
    place-items: center;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.45);
    z-index: 999;
}


#modalheader {
    display: flex;
    background-color: royalblue;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    padding: 5px 10px 5px 10px;;
    color: white;
    line-height: 150%;
    border-width: 0px;
}

#modaltitle {
    flex: 1;
    text-align: center;
    font-weight: 300;

}

#modalcontent {
    padding: 20px;
    background-color: white;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

#modalcontrols {
    font-size: 150%;
    cursor: pointer;
}


aside {
    background: #1f8dd6;
    border-radius: 3px;
    color: #fff;
    padding: .3em 1em;
	margin-left: 2em;
	margin-right: 2em;
	margin-top: 2em;
	margin-bottom: 2em;
}

span.admin-level {
	border: 1px dotted grey;
	display: inline-block;
	padding: 2px;
}

span.admin-level a {
	display: inline-block;
	background-color: lightgrey;
	padding: 3px;
	text-decoration: none;
}

span.admin-level a.active {
	background-color: royalblue;
	color: white;
}


div#titlebar {
	background-color: royalblue;
	text-align: center;
	padding: 10px;
	padding-top: 10px;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 1200px;
	height: 50px;
	box-sizing: border-box;
	padding-bottom: 5px;
	color: #eeeeee;
	font-size: 80%;
	overflow: hidden;
	
}

.sessions_to_suit {
	display: inline-block;
	position: absolute;
	bottom: 0px;
	right: 0px;
	color: white;
	background-color: #EE3333;
	padding: 2px 5px;
	border-top-left-radius: 5px;
	text-align: center;
}

.more_than_zero {
	background-color: #66CC66;
}

.transparent_session_number {
	background-color: rgba(0,0,0,0.3);
}

.tt_days_table {
	border-collapse: collapse;
	margin: 10px;
	font-face: arial, helvetica, sans-serif;
	font-weight: 500;
	font-size: 15px;
	line-height: 26.1px;
}

.tt_days_table th {
	background-color: #0074d9;
	color: rgb(179, 219, 255);
	font-weight: bold;
}

.tt_days_table td {
	border: 1px solid rgba(200,200,200,.8);
	padding: 3px 6px;
	vertical-align: top;
}

.tt_days_table td.name {
	min-width: 200px;
}

.tt_days_table tr:nth-child(even) td {
	background-color: rgba(100,100,100,0.1);
}

.periods_table {
	border-collapse: collapse;
	font-size: 13px;
	line-height: 20px;
	margin: 10px;
}

.periods_table th {
	background-color: #0074d9;
	color: rgb(179, 219, 255);
	font-weight: bold;
}

.periods_table td {
	border: 1px solid rgba(200,200,200,.8);
	padding: 3px 6px;
	vertical-align: top;
}

.periods_table td.name {
	min-width: 200px;
}

#sidemenu {
	margin-top: 0px;
	margin-bottom: 0px;
	background-color: rgb(0,116,217);
	width: 150px;
	min-width: 150px;
	box-sizing: border-box;
	text-align: left;
	padding: 10px 0px 0px 0px;
}

#sidemenu ul {
	list-style-type: none;
	margin-top: 3px;
	margin-bottom: 0px;
	padding: 20px 0px 20px 0px;
	background-color: #363636;
	border-top-left-radius: 7px;
	border-bottom-left-radius: 7px;
}

#sidemenu span.sectionheading {
	display: block;
	padding-left: 10px;
	margin-left: 10px;
}

.centercontent {
	text-align: center;
}

.weekchanger {
    width: 100%;
	margin-bottom: 20px;
}

#sidemenu a {
	text-decoration: none;
	color: rgb(50,50,50);
	color: #a5a5a5;
	color: rgb(179, 219, 255);
	color: #eeeeee;
	line-height: 30px;
	height: 30px;
	display: block;
	padding-left: 8px;
	position: relative;
}

#sidemenu a.active {
	background-color: #ffffff;
	color: #333333;
}

#sidemenu a img {
	filter: brightness(0.8) sepia(1) saturate(10000%) hue-rotate(175deg);
	vertical-align: absmiddle;
	margin-top: -2px;
	margin-right: 10px;
}

#sidemenu a.active img {
	filter: brightness(0.8) sepia(1) saturate(10000%) hue-rotate(175deg) invert(1);
	vertical-align: absmiddle;
	margin-top: -2px;
	margin-right: 10px;
}

#sidemenu a.submenuparent {
    background-color: #999999;
    color: white;
}

#sidemenu a.submenuitem {
    background-color: #666666;
    color: #eeeeee;
    padding-left: 16px;
}

#sidemenu a.submenuitem.active {
    background-color: white;
    color: black;
}

.submenuindicator {
    width: 20px;
    display: inline-block;
    padding-left: 3px;
}

div#contentdiv
{
	background-color: var(--content-bg);
	border-bottom-right-radius: 7px;
	border-top-right-radius: 7px;
	border-top-left-radius: 7px;
	
	text-align: left;
	z-index: 100;
	line-height: 1.5em;
	min-height: 100%;
	left: 220px;
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	/* width: 1000px; */
	
}

div#content {
	padding: 20px;
	width: 980px;
}

div#contentdiv22
{
	padding: 0px;
	text-align: left;
	z-index: 100;
	line-height: 1.5em;
	min-height: 100vh;
	box-sizing: border-box;
	flex: 6;
    display: grid;
    grid-template-rows: 1fr;
	/* max-width: 1030px; */
	border-top-left-radius: 9px;
	border-top-right-radius: 9px;
}

div#contentdiv22 > div:nth-last-child(2) {
  padding: 20px;
}

div#contentbody {
    padding: 0px;
	display: grid;
	grid-template-rows: auto 1fr auto;
	margin-top: 15px;
	margin-bottom: 15px;
}

.moodle_logon_form {
    width: 340px;
    margin: 80px auto 0px auto;
    color: #cccccc;
    background-color: white;
    border-radius: 10px;
    padding-top: 48px;
    padding-bottom: 10px;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.5);
}

.moodle_logon_form li {
	color: black;
}

.moodle_logon_form img {
    margin-bottom: 20px;
}

.moodle_logon_submit {
    width: 100%;
    background: transparent;
    background-image: url(../images/20transparenttile.png);
    border-width: 0px;
    color: #ffffff;
    /*margin-top: 20px;*/
    border-radius: 5px;
    font-size: 14px;
    height: 50px;
    display: inline-block;
    line-height: 40px;
    cursor: pointer;
}

::-webkit-input-placeholder {
    color:    #ccc;
}
:-moz-placeholder {
    color:    #ccc;
}
::-moz-placeholder {
    color:    #ccc;
}
:-ms-input-placeholder {
    color:    #ccc;
}

.moodle_logon_form input {
    border: 1px solid #9da3a6;
    color: #000000;
    width: 300px;
    margin-left: 10px;
    font-size: 14px;
    border-radius: 2px;
    padding: 0px 10px;
    height: 40px;
    box-sizing: border-box;
    background: #fff;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.moodle_logon_form input {
    margin-bottom: 5px;
}

.moodle_logon_form input[type=submit] {
    background-color: rgb(65, 105, 225);
    color: white;
    border-width: 0px;
    border-radius: 2px;
}

*:focus {
    outline: 0;
}

table.timetable {
	width: 100%;
	//border-top: 1px solid rgba(0,0,0,0.2);
	//border-left: 1px solid rgba(0,0,0,0.2);
	//border-collapse: collapse;
	border-collapse: separate; border-spacing:0;
	background-image: url(/system/images/linedback4.jpg);
	background-position: top left;
	table-layout: fixed;
	margin-top: 20px;
}

table.timetable th.cornerheader {
	background-color: white;
}

table.timetable th.periodheader {
	
	height: 77px;
	background-color: white;
}

table.timetable th.dayheader {
	
	height: 77px;
	background-color: white;
	color: rgba(0,0,0,0.8);
	border: 1px solid rgba(0,0,0,0.2);
	text-align: center;
}

table.timetable td {
	border: 1px solid rgba(0,0,0,0.2);
	
	height: 80px;
	padding: 0px;
	box-sizing: border-box;
	margin: 0px;
}

table.timetable td.prevweek {
	width: 20px;
	background-color:  white;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
	text-align: center;
	font-weight: 700;
	height: 100%;
}


table.timetable td.prevweek a {
	display: inline-block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: rgba(0,0,0,0.8);
	
}

div.centercontent {
	text-align: center;
}

table.timetable td.nextweek {
	width: 20px;
	background-color:  white;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	text-align: center;
	font-weight: 700;
	height: 100%;
}

table.timetable td.nextweek a {
	display: inline-block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: rgba(0,0,0,0.8);

}


table.timetable .timetabled_class {
	text-align: left;
	box-sizing: border-box;
	padding: 0px;
	font-size: 90%;
	position: relative;
	background-color: white;
	box-shadow: 3px 4px 6px -4px rgba(0,0,0,0.3);
	padding-left: 5px;
	padding-bottom: 25px;
	border: 1px solid rgba(0,0,0,0.2);
	border-bottom: 1px solid #333333;
	
}

ingredients {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    grid-template-rows: masonry;
}

ingredient {
    break-inside: avoid;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid black;
    border-radius: 3px;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 14px;
    padding-right: 14px;
    transition: opacity 1.2s ease-in-out;
    margin: -1px 0 0 -1px;
}

ingredients>ingredient>name {
    display: block;
    font-size: 16px;
}

ingredients>ingredient>info {
    display: block;
    font-size: 12px;
}

.foodie_button {
    box-sizing: border-box;
    padding: 7px 14px 7px 14px;
    border: 0px;
    background-color: #0078e7;
    color: white;
    border-radius: 2px;
}

table.timetable td.timetabled_class>div {
	padding: 3px;
	min-height: 100%;
	

}

table.timetable td.notimetabled_class {
	text-align: left;
	position: relative;

	box-sizing: border-box;
	padding: 10px;
}

.logo_large {
    height: 100px;
    vertical-align: middle;
    position: absolute;
    left: 50%;
    margin-left: -93px;
    margin-top: -107px;
    display: block;
    <!-- transform: rotate(-9deg); -->
}

.logo_small {
    height: 55px;
    vertical-align: middle;
	filter: brightness(95%);
	margin-bottom: 5px;
	margin-top: 5px;
	margin-left: auto;
	margin-right: auto;
	color: white;
}

.moodle_logon_header {
    color: #ffffff;
    line-height: 25px;
    margin-bottom: 30px;
}

.shadowed {
    -webkit-filter: drop-shadow(3px 3px 4px rgba(0,0,0,0.5));
    filter: drop-shadow(3px 3px 4px rgba(0,0,0,0.5));
}

@keyframes blinker {
  0% {
    background-color: lightgrey;
  }
  50% {
    background-color: lightgrey;
  }
  100% {
	background-color: white;
  }
}

.recently-added-ingredient {
	animation: blinker 5s linear 1;
}

.moodle_logon_footer {
    margin-top: 5px;
    margin-bottom: 40px;
    /*margin-right: 10px;*/
    color: #ffffff;
    line-height: 20px;
    font-size: 10px;
    /*text-align: right;
    position: absolute;
    bottom: 5px;
    right: 5px;*/
}

#error_message {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 12px;
}

.submenu {
	height: 40px;
	margin-bottom: 10px;
	text-align: left;
	background-color: #cccccc;
	padding: 0px;
	padding-left: 10px;
    padding-top: 15px;
    
}

#submenu {
	height: 40px;
	margin: 0px;
	background-color: #cccccc;
}

#nosubmenu {
	height: 2px;
}

.zebraTable {
	width: 100%;
	border-collapse: collapse;
}

.zebraTable td, .zebraTable th {
	//font-size: 13px;
	margin: 0px;
	text-align: left;
	padding: 10px;
	padding-bottom: 9px;
	border-bottom: 1px solid #D7D2CB;
}

.zebraTable tr {
	margin: 0px;
	padding: 0px;
}

.zebraTable td.odd_item {
	background-color: #FFF;
}

.zebraTable td.even_item {
	background-color: #EFEDEA;
}

input, select, textarea
{
	/* font-size: 14px; */
}

.textSubmitWhite {
	border:0;
    background-color:transparent;
	color: white;
}

.existingClass {
	background-color: lightgrey;
	display: inline-block;
	margin: 5px;
	padding: 5px;
	color: black;
}

.existingClass a {
	color: red;
	text-decoration: none;
}

.addClass {
	background-color: salmon;
	display: inline-block;
	margin: 5px;
	padding: 3px;
	color: white;
}

.addClass a {
	color: white;
	text-decoration: none;
}

.calendar_table
{
	background-color: #eeeeee;
	border-collapse: collapse;
	border-left: 1px solid #eeeeee;
	border-top: 1px solid #eeeeee;
	width: 100%;
	table-layout: fixed;
}

.calendar_table td
{
	<!-- line-height: 30px;
	height: 30px; -->
	border-right: 1px solid #eeeeee;
	border-bottom: 1px solid #eeeeee;
	vertical-align: top;
	padding: 5px;
}

.calendar_table th
{
	line-height: 30px;
	height: 30px;
	background-color: white;
	border-right: 1px solid #eeeeee;
	border-bottom: 1px solid #eeeeee;
}

div.appcontainer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0px;
}

div#appheader {
	flex: 0 1 auto;
	/* border: 1px solid grey; */
	background-color: #ffffff;
	border-top-left-radius: 9px;
	border-top-right-radius: 9px;
	min-height: 10px;
	position: relative;
}

div#appcontent {
	flex: 1 1 auto;
	background-color: #ffffff;
	padding: 20px;
	text-align: left;
	z-index: 100;
	line-height: 1.5em;
	min-width: 1000px;
}

div#appfooter {
	flex: 0 1 auto;
	bottom: 0px;
	color: #333333;
    background-color: #ffffff;
	text-align: right;
	padding: 10px;
    bottom: 0px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
	border-bottom-left-radius: 9px;
	border-bottom-right-radius: 9px;

}

div#appfooter a
{
	color: #0074D9;
}

div.app {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#nomegamenu {
	height: 2px;
}

#megamenu {
	background-color: #363636;
	color: #ffffff;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
	grid-template-rows: 35px; 150px;
	grid-template-areas: "controls controls controls controls controls controls" "sessions printing core scheduling settings help" "menufooter menufooter menufooter menufooter menufooter menufooter";
	padding: 0px 10px 10px 10px;
	gap: 10px;
	height: 25px;
	line-height: 2em;
	overflow: hidden;
	user-select: none;
	border-radius: 8px;
	transition: height 0.2s ease-out;
	margin: 10px;
	position: relative;
}

#appheader img.logo_small {
	position: absolute;
	top: -9px; 
	right: 10px;
	z-index: 10000;
	container-overflow: visible;
	filter: drop-shadow(4px 4px 3px #222);
    height: 55px;
	transform: rotate(-7deg);
}

#megamenushowcontrol {
	display: none;
	line-height: 25px;

}

#appheader img.logo_small:hover + #megamenu {
	height: 210px;
}

#megamenu:not(hover) {
	height: 25px;
}

#megamenu:hover {
	height: 210px;
}

#megamenu:hover + #modal-shadow {
	display: block;
}

#megamenushowcontrol + label {
	color: #eeeeee;
	line-height: 25px;
	cursor: pointer;
	user-select: none;
}

#megamenu:has(#megamenushowcontrol:checked) {
    height: 210px;
}

#megamenushowcontrol:checked + label::after {
	content: "📌"; /* Adds a checkmark character after the label */
	color: white; /* Optional: Changes the color of the added content */
	margin-left: 3px;
}

<!-- 
@media (max-width: 500px) {
	#megamenu {
		grid-template-rows: 35px; 150px 150px;
		grid-template-areas: "controls controls controls" "sessions printing core" "scheduling settings help" "menufooter menufooter menufooter";
	}

}

-->



#megamenu div.space {
	height: 10px;
}

#megamenu div.heading {
	color: white;
	padding-bottom: 5px;
	font-weight: bold;
}

#megamenu a {
	display: block;
	color: #eeeeee;
	text-decoration: none;
	padding-left: 0px;
}

#megamenu a:hover {
	color: #eeeeee;
	text-decoration: underline;
}

#megamenu > controls {
	grid-area: controls;
	height: 45px;
	line-height: 25px;
	margin-top: 5px;
}

#megamenu > menufooter {
	grid-area: menufooter;
	height: 1px;
}

#megamenu > sessions {
	grid-area: sessions;
	padding-left: 15px;
}

#megamenu > printing {
	grid-area: printing;
	border-left: 1px solid grey;
	padding-left: 15px;
}

#megamenu > core {
	grid-area: core;
	border-left: 1px solid grey;
	padding-left: 15px;
}

#megamenu > settings {
	grid-area: settings;
	border-left: 1px solid grey;
	padding-left: 15px;
}

#megamenu > scheduling {
	grid-area: scheduling;
	border-left: 1px solid grey;
	padding-left: 15px;
}

#megamenu > help {
	grid-area: help;
	border-left: 1px solid grey;
	padding-left: 15px;
}

#megamenu > admin {
	grid-area: admin;
} 

div.container {
  width: 1200px;
  display: flex;
  margin-top: 0px;
  min-height: 100vh;
  place-content: center;
  align-items: flex-start;
	box-sizing: border-box;
}

<!-- 
@media (max-width: 1180px) {
  div.container {
		flex-direction: column;
		width: 100%;
  }

  div#sidemenu {
	width: 100%;
  }

  div#sidemenu ul {
	columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2	;
  border-radius: 0px;
  margin: 0px;
  }

  div#contentdiv22 {
	width: 100%;
	max-width: 100%;
  }
}

-->






div#contentshadowcaster
{
	box-shadow: 0px 0px 30px -4px Black;
}

div.widthconstrainer
{
	max-width: 1200px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	position: relative;
}

div#menudiv
{
	text-align: left;
	padding-left: 15px;
	width: 100%;
	height: 55px;
	line-height: 50px;
	margin-top: 5px;
	z-index: 5;
	color: #ffffff;
}

div#menudiv img {
	  filter: drop-shadow(2px 2px 3px #222);
}

a img
{
	vertical-align: middle;
	border-width: 0px;
}




div#footerdiv
{
	bottom: 0px;
	margin-top: 5px;
	color: #333333;
    background-color: #ffffff;
	text-align: right;
	padding: 10px;
    bottom: 0px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}

div#footerdiv a
{
	color:  #0074D9;
}

li.studentlist-1to1
{
	float: left;
	width: 450px;
	height: 60px;
	display: inline-block;
	border: 1px solid grey;
	margin-right: 5px;
	margin-left: 5px;
	margin-bottom: 5px;
	background-color: WhiteSmoke;
}


li.studentlist-1to1 div
{
margin: 5px;
}

li.studentlist-1to1 div img.student_photo
{
margin-right: 5px;
float: left;
}

li.studentlist-1to1 div img.device_photo
{
margin-right: 5px;
float: right;
}

a.selectedform
{
background-color: royalblue;
background-image: url(../images/20transparenttile.png);
padding: 3px;
border-radius: 3px;
color: white;
}

submenu > a {
    
}

a.activesubmenuitem
{
	line-height: 30px;
	height: 35px;
	padding-right: 15px;
	padding-left: 15px;
	margin-left: 10px;
	display: inline-block;
	background-color: white;
    color: black;
	margin-top: 5px;
	margin-bottom: 0px;
	border-top-left-radius: 7px;
	border-top-right-radius: 7px;
	color: black;
	text-decoration: none;
	position: relative;
}

a.activesubmenuitem span:before 
{
	content: " ";
	display: inline-block;
	background-color: white;
	width: 10px;
	height: 10px;
	position: absolute;
	left: -10px;
	bottom: 0px;
	z-index: 200;
}

a.activesubmenuitem:before 
{
	content: " ";
	display: inline-block;
	background-color: #cccccc;
	width: 10px;
	height: 10px;
	position: absolute;
	left: -10px;
	bottom: 0px;
	border-bottom-right-radius: 7px;
	z-index: 201;
}

a.activesubmenuitem span:after 
{
	content: " ";
	display: inline-block;
	background-color: white;
	width: 10px;
	height: 10px;
	position: absolute;
	right: -10px;
	bottom: 0px;
	z-index: 200;
}

a.activesubmenuitem:after 
{
	content: " ";
	display: inline-block;
	background-color: #cccccc;
	width: 10px;
	height: 10px;
	position: absolute;
	right: -10px;
	bottom: 0px;
	border-bottom-left-radius: 7px;
	z-index: 201;
}

.greenpill
{
	display: inline-block;
	text-align: center;
	background-color: #00CC00;
	color: white;
	font-weight: bold;
	padding-left: 10px;
	padding-right: 10px;
	border-radius: 7px;
	margin-top: 2px;
	text-decoration: none;
}

.redpill
{
	display: inline-block;
	text-align: center;
	background-color: #CC0000;
	color: white;
	font-weight: bold;
	padding-left: 10px;
	padding-right: 10px;
	border-radius: 7px;
	margin-top: 2px;
	text-decoration: none;
}

.greypill
{
	display: inline-block;
	text-align: center;
	background-color: lightgrey;
	color: white;
	font-weight: bold;
	padding-left: 10px;
	padding-right: 10px;
	border-radius: 7px;
	margin-top: 2px;
	text-decoration: none;
}

.royalbluepill
{
	display: inline-block;
	text-align: center;
	background-color: royalblue;
	color: white;
	font-weight: bold;
	padding-left: 10px;
	padding-right: 10px;
	border-radius: 7px;
	margin-top: 2px;
	text-decoration: none;
}

a.inactivesubmenuitem
{
	line-height: 30px;
	height: 30px;
	padding-right: 15px;
	padding-left: 15px;
	display: inline-block;
	color: black;
	text-decoration: none;
	margin-left: 10px;

}

.loading
{
	background-image: url(/system/images/editable/loader.gif);
}

.changed
{
	background-image: url(/system/images/editable/pencil_go.png);
}

.saved
{
	background-image: url(/system/images/editable/tick.png);
}

.edit
{
	background-image: url(/system/images/editable/pencil_faded.png);
}

.editable-iconleft
{
    text-align: right;
	margin: 1px;
	background-repeat: no-repeat;
	background-position: left center;
	background-color: lightgrey;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	display: inline-block;
	padding-left: 24px;
}

.editable-iconright
{
    text-align: left;
	background-repeat: no-repeat;
	background-position: right center;
	margin: 1px;
	background-color: lightgrey;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	display: inline-block;
	padding-right: 24px;
}

.has-tooltip {
 /* position: relative;
  display: inline-block; */
  padding: 4px;
}

.has-tooltip > .tooltip {
  visibility: hidden;
  transition: all 0.2s linear;
  position: absolute;
  opacity: 0;
  top: 30px;
  left: 30px;
  margin-top: 0px;
  margin-left: -50%;
  color: white;
  content: attr(tooltip-content);
  display: block;
  /*white-space: pre;*/
  background-color: #333333;
  border-radius: 10px;
  padding: 15px;
    box-shadow: 1px 2px 5px #666666;
	z-index: 1000;
	max-width: 400px;
	word-wrap: break-word;
}

.has-tooltip > .tooltip::before {
  /* visibility: hidden; */
  /* transition: opacity 0.2s linear; */
  /* opacity: 0; */
    content: "";
  display: block;
  width: 20px;
  height: 20px;
  border: 10px solid #000;
  border-color: transparent transparent #333333 transparent;
  position: absolute;
  left: 50%;
  top: -10px;
  margin-top: -10px;
  box-sizing: border-box;
}

.has-tooltip:hover > .tooltip {
  visibility: visible;
  opacity: 1;
  margin-top: 10px;
}

.has-tooltip:hover > .tooltip::before {

    visibility: visible;

  opacity: 1;
  
}


html {
    visibility: visible;
    opacity: 1;
}


@media print {
	#sidemenu {
		display: none;
	}
}