:root {
  --background-surface-color: #fdfdff;
}

#wrap {
  height: auto;
  min-height: 100%;
  width: 100%;
  box-sizing: border-box;
}

/*FixedMenu bug when menu hidden*/

#menu,
#selectedModuleLink + .wp-submenu,
.menu-top,
.menu-top:focus,
.menu-top:hover {
  background-image: none;
  /* background-image: url(menu-shadow.png);
    background-position: top right;
    background-repeat: repeat-y; */
}

#menu.fixedmenu-fixed.hide + div {
  width: 0 !important;
}

#menu {
  width: 205px;
  border-width: 0 1px 0 0;
  border-style: solid;
}

#menu {
  background-color: var(--background-surface-color);
  position: relative;
  float: left;
  overflow: visible;
  z-index: 1 !important;
  min-height: 100vh;
  /* 100% of browser screen height */
}

#menu-top select {
  width: 100%;
}

#body {
  margin-bottom: 38px;
}

#footer {
  background-color: var(--background-surface-color);
  clear: both;
  position: fixed;
  z-index: 99;
  bottom: 0;
  left: 0;
  /*height: 40px;*/
  width: 100%;
}

#footerwrap {
  height: 32px;
  padding: 3px;
  text-align: center;
  border-width: 1px 0;
  border-style: solid;
}

#footerhelp {
  display: none;
  max-height: 210px;
  max-height: 33vh;
  overflow-y: scroll;
  height: auto;
}

/* Better readability: format Help text in 3 columns max., 480px width min. (70 to 100 characters). */

#footerhelp .footerhelp-content {
  padding: 6px 8px;
  columns: 3 480px;
  widows: 6;
}

.footerhelp-content p:first-child {
  margin-top: 0;
}

.mod {
  overflow: hidden;
}

.mod:after {
  content: "";
  display: table;
  clear: both;
}

input,
.fixed-col select {
  max-width: 100%;
}

/* @link https://stackoverflow.com/questions/10672586/how-to-make-select-elements-shrink-to-max-width-percent-style-within-fieldset */

select {
  max-width: 340px;
}

#search input,
#search select {
  max-width: 217px;
}

#search label {
  max-width: 217px;
  display: inline-block;
}

input[type="text"],
input[type="password"],
textarea {
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

input[type="checkbox"],
input[type="radio"] {
  margin-bottom: 2px;
  margin-right: 0;
  vertical-align: middle;
  height: 16px;
  width: 16px;
  cursor: pointer;
}

input[type="number"] {
  width: 50px;
}

input[type="number"][name*="AMOUNT"],
input[type="number"][name*="amount"],
input[type="number"][name*="balance"],
input[type="number"][name*="PRICE"] {
  width: 80px;
}

input[type="color"] {
  border-width: 0px;
  border-style: solid;
  width: 30px;
  height: 20px;
  padding: 0;
  cursor: pointer;
}

fieldset[disabled] button,
button[disabled],
fieldset[disabled] input,
input[disabled],
fieldset[disabled] select,
select[disabled],
fieldset[disabled] textarea,
textarea[disabled] {
  cursor: not-allowed;
}

.color-input-value {
  width: 30px;
  height: 20px;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  word-wrap: break-word;
  /* Do NOT use global word-break, is awful!
	   Use it wisely, only on specific elements which will not overflow nicely */
  /*word-break: break-word;*/
}

html,
body,
input,
select,
textarea,
/* Chosen JS select */

div.chosen-container,
/* JS calendar */

.calendar,
.calendar table {
  font-size: 14px;
  /* Fix font size auto-adjust on iPhone. */
  -webkit-text-size-adjust: none;
}

body,
textarea,
input,
select {
  font-family: "Open Sans", sans-serif;
  line-height: 1.4em;
}

/* https://stackoverflow.com/questions/61992025/google-chrome-showing-black-border-on-focus-state-for-button-user-agent-styles */

a {
  -webkit-transition: color 0.2s ease-out 0s;
  transition: color 0.2s ease-out 0s;
}

iframe,
img {
  border: 0;
}

/* Responsive image */

img {
  max-width: 100%;
  height: auto;
}

td {
  line-height: inherit;
}

input,
select,
textarea {
  line-height: 1.3;
  margin: 1px 1px 1px 0;
  padding: 3px;
}

select {
  padding: 0 3px;
  height: 26px;
}

a,
input,
select:focus {
  text-decoration: none;
}

blockquote,
q {
  quotes: none;
}

p {
  margin: 1em 0;
}

blockquote {
  margin: 1em;
}

label {
  cursor: pointer;
}

legend {
  font-weight: bold;
}

li,
dd {
  margin-bottom: 6px;
}

small,
small * {
  font-size: 70%;
}

h1,
h2,
h3,
h4 {
  display: block;
  font-weight: bold;
  line-height: 1em;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

h2 {
  font-size: 1.58em;
  margin: 0.83em 0;
}

h3 {
  font-size: 1.17em;
  margin: 1em 0;
}

h4 {
  font-size: 1.05em;
  margin: 1.33em 0;
}

/*ul,ol{
	padding:0
}
*/

code {
  font-family: Consolas, Monaco, monospace;
  padding: 1px 3px;
  margin: 0 1px;
  font-size: 13px;
}

hr {
  height: 2px;
  border: 0 none;
  margin: 14px 0;
}

sub,
sup {
  font-size: smaller;
}

summary {
  cursor: pointer;
}

summary::marker {
  cursor: pointer;
}

/* Fix place cellpadding-5 before widefat */

.cellpadding-5 td {
  padding-right: 5px;
  padding-bottom: 5px;
}

.widefat,
div.updated,
div.error,
textarea,
input[type="text"],
input[type="password"],
input[type="file"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="time"],
select,
.postbox {
  border-radius: 3px;
  border-width: 1px;
  border-style: solid;
}

.postbox {
  border-bottom-width: 2px;
}

.widefat {
  clear: both;
  margin: 0;
  /* Move .cellspacing-0 directly here */
  border-spacing: 0;
}

.widefat a {
  text-decoration: none;
}

.widefat thead th:first-of-type {
  border-top-left-radius: 3px;
}

.widefat thead th:last-of-type {
  border-top-right-radius: 3px;
}

.widefat tfoot th:first-of-type {
  border-bottom-left-radius: 3px;
}

.widefat tfoot th:last-of-type {
  border-bottom-right-radius: 3px;
}

/* listOutput sorting icon */

.widefat th a[href*="LO_dir"]:after {
  font-family: monospace;
  font-size: larger;
  line-height: 0.5em;
  content: "\0000a0";
  /**
	 * Prevent wrapping to next line
	 * @link https://stackoverflow.com/questions/16100956/prevent-after-element-from-wrapping-to-next-line
	 */
  display: inline-block;
  width: 10px;
  padding-left: 3px;
  margin-right: -13px;
}

.widefat th a[href*="LO_dir"] {
  padding-right: 13px;
}

.widefat th a[href*="LO_dir=1"]:hover:after {
  content: "\25b4";
}

.widefat th a[href*="LO_dir=-1"]:hover:after {
  content: "\25be";
}

/*empty header link (checkbox / checkAll)*/

.widefat th a:empty:after {
  content: "";
  padding-left: 0;
}

.widefat td,
.widefat th {
  text-align: left;
  border-width: 1px 0;
  border-style: solid;
  padding: 4px 7px;
  vertical-align: top;
}

/* @since 7.0 CSS Add .widefat.files class */

.widefat.files td {
  padding: 1px 7px;
  font-weight: normal;
}

.widefat.files td .button + b {
  font-weight: normal;
}

.widefat tfoot th {
  border-bottom: none;
}

.widefat th {
  overflow: hidden;
  font-weight: normal;
  line-height: 1.4em;
}

.widefat th,
.widefat th a {
  font-size: 16px;
}

.widefat td p {
  margin: 2px 0 0.8em;
}

/* Lists */

.list-wrapper {
  overflow-x: auto;
}

.list-nav,
.list {
  /* Move .width-100p here */
  width: 100%;
  border-spacing: 0;
}

.list-nav {
  margin-top: 16px;
}

.list-nav td {
  padding: 4px 8px;
}

.list {
  margin-bottom: 16px;
}

.list-no-nav {
  margin-top: 24px;
}

.list-header {
  margin-bottom: 0;
  border-bottom: solid 1px #f1f1f1;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.list-header + .postbox {
  padding: 5px;
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: none;
}

#LO_search {
  padding-right: 28px;
  height: 24px;
  width: 160px;
  float: right;
}

#LO_search + .button {
  position: relative;
  left: 157px;
  top: 3px;
  cursor: pointer;
  height: 22px;
  float: right;
}

div.error {
  padding: 0 0.6em;
  margin: 16px 0;
}

div.updated {
  padding: 2px 9px;
  margin: 16px 0;
}

.postbox > thead th,
.widefat th {
  font-family: Georgia, "Times New Roman", Times, serif;
}

select option {
  padding: 2px;
}

/* input[type="submit"],
input[type="reset"],
input[type="button"] {
  text-decoration: none;
  line-height: 14px;
  padding: 6px 10px;
  margin: 0 8px;
  cursor: pointer;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  -ms-box-sizing: content-box;
  box-sizing: content-box;
  /* Display button text on multiple lines if too long * /
  white-space: normal;
  /* Do not break text inside button * /
  word-break: normal;
} */

input[type="submit"],
input[type="reset"],
input[type="button"] {
  background-color: #2563eb; /* bg-blue-600 */
  color: #ffffff; /* text-white */
  padding: 0.5rem 1.5rem; /* py-2 px-6 */
  border-radius: 0.375rem; /* rounded-md */
  font-weight: 500; /* font-medium */
  transition: background-color 0.2s ease; /* transition-colors */
  border: none;
  outline: none;
  line-height: normal;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
  background-color: #1d4ed8; /* hover:bg-blue-700 */
}

input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  box-shadow: 0 0 0 2px #3b82f6, 0 0 0 4px white; /* focus:ring-2 + focus:ring-offset-2 */
  outline: none; /* focus:outline-none */
}

select {
  background-color: #ffffff; /* bg-white */
  border: 1px solid #d1d5db; /* border-gray-300 */
  border-radius: 0.375rem; /* rounded-md (6px) */
  padding: 0.1rem 1rem; /* py-0.1 px-4 */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
  font-size: 0.875rem; /* text-sm */
  color: #374151; /* text-gray-700 */
  /*appearance: none;*/ /* Remove native arrow (optional) */
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus style */
select:focus {
  outline: none; /* focus:outline-none */
  border-color: #3b82f6; /* focus:border-blue-500 */
  box-shadow: 0 0 0 2px #3b82f6, 0 0 0 4px #ffffff; /* focus:ring-2 + focus:ring-offset-2 */
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="date"],
input[type="time"],
input[type="datetime-local"] {
  background-color: #ffffff; /* bg-white */
  border: 1px solid #d1d5db; /* border-gray-300 */
  border-radius: 0.375rem; /* rounded-md (6px) */
  padding: 0.5rem 1rem; /* py-2 px-4 */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* shadow-sm */
  font-size: 0.875rem; /* text-sm */
  color: #374151; /* text-gray-700 */
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="number"] {
  background-color: #ffffff; /* bg-white */
  border: 1px solid #d1d5db; /* border-gray-300 */
  border-radius: 0.375rem; /* rounded-md (6px) */
  padding: 0.5rem 0.5rem; /* py-2 px-4 */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* shadow-sm */
  font-size: 0.875rem; /* text-sm */
  color: #374151; /* text-gray-700 */
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus style */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus {
  outline: none; /* focus:outline-none */
  border-color: #3b82f6; /* focus:border-blue-500 */
  box-shadow: 0 0 0 2px #3b82f6, 0 0 0 4px #ffffff; /* focus:ring-2 + focus:ring-offset-2 */
}

input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  color: #2563eb; /* text-blue-600 */
  border: 1px solid #d1d5db; /* border-gray-300 */
  border-radius: 0.25rem; /* rounded (4px) */
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  display: inline-block;
  vertical-align: middle;
  position: relative;
}

input[type="checkbox"]:checked {
  background-color: #2563eb; /* blue-600 */
  border-color: #2563eb;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 75%;
}

input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6; /* focus:ring-2 focus:ring-blue-500 */
}

input[type="radio"] {
  width: 1rem;
  height: 1rem;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #d1d5db; /* border-gray-300 */
  border-radius: 9999px; /* full rounded */
  background-color: #fff;
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

input[type="radio"]:checked {
  border-color: #2563eb; /* blue-600 */
  background-color: #2563eb;
  background-image: radial-gradient(
    white 0%,
    white 40%,
    transparent 50%,
    transparent 100%
  );
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
}

input[type="radio"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6; /* focus:ring-2 focus:ring-blue-500 */
}

form table td {
  padding: 0.5rem 1rem; /* équivalent à px-4 py-2 */
 
  font-size: 0.875rem; /* text-sm */
  color: #374151; /* text-gray-700 */
  vertical-align: middle;
}

form#search table td {
  border-bottom: 1px solid #e5e7eb; /* border-gray-200 */
}

form#search div.center label {
  margin: 0.5rem 0.4rem; /* équivalent à Tailwind: py-2 px-4 */
}

.header2.align-right input[type="button"],
.header2.align-right input[type="reset"],
.header2.align-right input[type="submit"] {
  margin: 0 0 0 16px;
}

.button-primary {
  line-height: 16px;
  white-space: nowrap;
  border-radius: 3px;
}

label {
  vertical-align: middle;
}

/* Proper Date, see ProperDate() */

.proper-date {
  white-space: nowrap;
  display: inline-block;
}

.proper-date:first-letter {
  text-transform: capitalize;
}

/**
 * Side Menu form: add CSS classes.
 *
 * @since 3.8
 */

#menu form {
  padding: 0 5px;
}

#menu .username {
  font-weight: bold;
}

#menu .today-date {
  text-transform: capitalize;
}

.adminmenu,
.wp-submenu {
  width: 100%;
  list-style: outside none none;
}

.adminmenu {
  background-color: var(--background-surface-color);
  clear: left;
  margin: 0;
  padding: 0;
  margin-top: 5px;
  margin-bottom: 38px;
}

.adminmenu *,
.widefat th {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.wp-submenu {
  top: -1000em;
  left: 0;
  position: absolute;
  min-width: 215px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  -webkit-transition: top 0s, left 0s, box-shadow 0s;
  transition: top 0s, left 0s, box-shadow 0s;
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
  box-shadow: none;
  border-width: 1px;
  border-style: solid;
  box-sizing: border-box;
}

.adminmenu li {
  margin-bottom: 0;
}

.menu-module {
  position: relative;
}

/* Edge browser fix: Do not merge focus-within styles with hover styles */

.no-touch .menu-module:focus-within .menu-top:after {
  content: "\276F";
  padding-top: 6px;
  position: absolute;
  right: 5px;
}

.no-touch .menu-module:hover .menu-top:after {
  content: "\276F";
  position: absolute;
  right: 5px;
  bottom: 15px;
}

#selectedModuleLink:after {
  content: "\25B4";
  /* position: absolute;
  right: 5px;
  bottom: 15px; */
}

/* Edge browser fix: Do not merge focus-within styles with hover styles */

.no-touch .menu-module:focus-within .wp-submenu {
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
  z-index: 20;
  top: 0;
  left: 205px;
  overflow: visible;
  word-wrap: break-word;
  min-height: 36px;
  width: auto;
}

.no-touch .menu-module:hover .wp-submenu {
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
  z-index: 20;
  top: 0;
  left: 205px;
  overflow: visible;
  word-wrap: break-word;
  min-height: 36px;
  width: auto;
}

/* @since 4.4 Open submenu on touch (mobile & tablet), see warehouse.js */

#selectedModuleLink + .wp-submenu {
  transition-delay: 0s;
  z-index: 1;
  top: 0;
  left: 0;
  position: relative;
  margin-top: 0 !important;
  border: 0;
  min-height: 0;
  min-width: 205px;
  box-shadow: none;
}

.menu-inter {
  border-width: 1px 0 0;
  border-style: solid;
  padding: 0 5px 2.5px;
  margin-top: 2.5px;
}

.adminmenu a {
  display: block;
  line-height: 18px;
  padding: 2.5px 5px;
}

.menu-top {
  font-size: 15px;
  min-width: 10em;
  border-width: 1px 0 1px;
  border-style: solid;
}

.menu-top img {
  height: 32px;
  vertical-align: middle;
}

.wp-submenu a {
  margin: 0;
}

.current-person {
  padding: 1px 5px;
  margin-top: 5px;
  font-weight: bold;
}

.postbox-wrapper {
  overflow-x: auto;
}

.postbox {
  padding: 0;
  margin: 0 auto;
  position: relative;
  min-width: 255px;
  line-height: 1.1;
}

.postbox > thead th {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  padding: 0 5px;
}

.postbox th h3,
.postbox .h3multi {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.postbox th h3 {
  line-height: 31px;
  height: 34px;
  margin: 0;
  border: 0;
}

.postbox th h3,
.postbox th h3 a {
  display: inline-block;
  font-size: 16px;
  font-weight: normal;
}

.postbox th h3 a {
  padding: 0 10px;
}

.postbox .h3multi {
  overflow-y: hidden;
}

th a {
  display: block;
  overflow: hidden;
}

fieldset {
  border-width: 1px;
  border-style: solid;
  margin: 0;
  padding: 0.35em 0.75em 0.625em;
}

.error a {
  text-decoration: underline;
}

.updated a {
  text-decoration: none;
  padding-bottom: 2px;
}

div.error p,
div.updated p {
  margin: 0.2em 0;
  padding: 2px;
}

h3 span {
  font-weight: normal;
}

.highlight {
  padding: 3px 3px 3px 12px;
  margin-left: -12px;
  font-weight: bold;
  border: 0 none;
}

/*added*/

.hide {
  display: none;
}

.user-photo {
  max-width: 150px;
  max-height: 150px;
}

.alignImg {
  vertical-align: middle;
  height: 32px;
}

.underline-dots .button {
  vertical-align: baseline;
  height: 16px;
}

#body {
  padding: 0 15px 38px;
}

.header {
  /* Move .cellspacing-0 & width-100p directly here */
  border-spacing: 0;
  width: 100%;
}

.header1 h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 30px;
  font-weight: normal;
  margin: 0;
  padding: 14px 15px 14px 0;
  text-shadow: #aaa 0 1px 1px;
}

.header2 {
  padding: 4px 8px;
  word-break: break-word;
}

.header2 .fixed-col {
  word-break: normal;
}

.header2 table {
  line-height: 1;
  margin-left: -3px;
}

.header2 .widefat {
  margin-left: 0;
}

/* Scheduling Requests Courses div */

#courses_div {
  position: absolute;
  border-style: solid;
  border-width: 1px;
  padding: 4px;
  right: 0;
  left: 0;
  display: none;
  max-height: 80px;
  overflow: auto;
  width: auto;
}

.size-3 {
  font-size: 11px;
}

.size-1,
.size-1 * {
  font-size: 13px;
}

.sizep1 {
  font-size: 15px;
}

.sizep2 {
  font-size: 16px;
}

.underline-dots {
  border-bottom-style: dotted;
  border-bottom-width: 1px;
}

/* Textarea MarkDown */

div.underline-dots {
  display: inline-block;
  max-height: 240px;
  max-width: 100%;
  overflow: auto;
  line-height: inherit;
}

.underline-dots,
.checkbox-label,
.no-input-value {
  line-height: 28px;
  padding-bottom: 1px;
}

.span-grade-points + label {
  line-height: 28px;
}

textarea {
  width: 100%;
  min-width: 280px;
  /* Max width: 1024px for PDF */
  max-width: 1024px;
}

/* MarkDown */

.md-preview {
  min-width: 280px;
  /* Max width: 1024px for PDF */
  max-width: 1024px;
}

.md-preview > .tab {
  border-width: 1px;
  border-bottom: 0;
  border-style: solid;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  font-weight: bold;
  padding: 5px 7px;
  margin: 0 2px 0 0;
  line-height: 27px;
}

.md-preview > .tab.disabled {
  pointer-events: none;
  cursor: default;
}

.md-preview .md-link {
  line-height: 27px;
  float: right;
}

.md-preview > div {
  display: none;
  border-width: 1px;
  border-style: solid;
  padding: 2px 7px;
  margin-bottom: 2px;
  box-sizing: border-box;
  overflow-y: auto;
}

.md-preview + textarea {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: 0;
  resize: vertical;
}

/*MarkDown to HTML table styling*/

.markdown-to-html table {
  border-collapse: collapse;
  border-spacing: 0;
}

.markdown-to-html th,
.markdown-to-html td {
  border: 1px solid #bbb;
  padding: 5px;
}

.legend-gray,
.legend-red {
  margin-bottom: 7px;
  display: inline-block;
}

.logo {
  max-width: 150px;
  max-height: 150px;
}

#menu .logo {
  margin-top: 4px;
}

.onclick {
  cursor: pointer;
}

div.onclick {
  display: inline-block;
  max-width: 100%;
}

.cellspacing-0 {
  /*cellspacing="0"*/
  border-spacing: 0;
}

.width-100p {
  /*width="100%"*/
  width: 100%;
}

.fixed-col {
  table-layout: fixed;
  word-wrap: break-word;
  /* Fix cell content overflow */
}

.popTable {
  padding: 7px;
}

td.valign-top,
tr.valign-top,
table.valign-top td {
  vertical-align: top;
}

td.valign-bottom,
tr.valign-bottom td,
table.valign-bottom td {
  vertical-align: bottom;
}

.align-right,
.align-right td,
td.align-right,
th.align-right {
  text-align: right;
}

table.col1-align-right > tbody > tr > td:first-child {
  text-align: right;
  vertical-align: middle;
}

.center {
  /*<CENTER> && <td align="center">*/
  text-align: center;
}

span.center,
a.center {
  display: block;
}

img.center {
  display: block;
  margin: 0 auto;
}

table.center {
  text-align: inherit;
  margin-left: auto;
  margin-right: auto;
}

span.nobr {
  white-space: nowrap;
}

div.nobr div {
  display: inline;
}

tr.address > td {
  border-style: none dotted none none;
  border: 1;
  padding: 0 12px 0 12px;
}

.br-after {
  display: block;
}

/*Honor Roll cliparts + frames*/

td.image-radio-list {
  height: 160px;
  padding: 0;
  margin: 0;
  float: left;
  position: relative;
}

label.image-radio-list {
  padding: 0 20px;
}

img.image-radio-list {
  vertical-align: top;
  max-width: 150px;
  max-height: 150px;
}

/*buttons*/

.button {
  vertical-align: middle;
  height: 16px;
  max-width: none;
}

a > .button {
  padding: 1px;
}

.button.bigger {
  height: 24px;
}

.button.smaller {
  height: 14px;
}

.button.cal {
  cursor: pointer;
  height: 32px;
  margin-top: -9px;
}

.login .popTable {
  padding: 8px;
}

.login .popTable td {
  padding-bottom: 16px;
}

.login .popTable tr:last-of-type td {
  padding-bottom: 0;
}

/* Login form */

.login #loginform input[type="text"],
.login #loginform input[type="password"] {
  font-weight: 200;
  font-size: 20px;
  width: 100%;
  max-width: 100%;
  padding: 3px;
  margin-top: 2px;
  margin-right: 6px;
  box-shadow: inset 1px 1px 2px rgba(200, 200, 200, 0.2);
}

/*bottom*/

.BottomButton {
  line-height: 32px;
  margin-right: 8px;
  display: inline-block;
}

.BottomButton span {
  vertical-align: top;
}

.BottomButton img {
  height: 32px;
}

#BottomButtonMenu {
  height: 32px;
  line-height: 28px;
  float: left;
}

#BottomButtonMenu:before {
  content: "\2261";
  font-size: 3rem;
  font-weight: bold;
}

.BottomButton.loading {
  float: right;
  padding-bottom: 13px;
}

/* Loading spinner */

.loading {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url("spinning.gif") no-repeat center;
  visibility: hidden;
}

/* Adjust File input size with spinner on its right */

input[type="file"] {
  padding: 0;
  max-width: calc(100% - 18px);
  height: 25px;
}

/* Reduce File input size when inside list */

.list.widefat input[type="file"] {
  width: 220px;
}

/*bars*/

.bar {
  word-wrap: normal;
}

/*stackable tables*/

div.st {
  float: left;
  padding: 4px;
}

/*Fix list overflow-x scroll inside div.st*/

div.st > .list-outer {
  display: inline-grid;
}

/*student comments*/

#student-comments {
  max-width: 100%;
  width: 500px;
}

#student-comments span {
  font-style: italic;
}

#student-comments div {
  padding: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid;
}

#student-comments div > :first-child {
  margin-top: 0;
}

#student-comments div > :last-child {
  margin-bottom: 0;
}

/*calendar*/

#calendar {
  table-layout: fixed;
  height: 80%;
}

#calendar > thead > tr > th {
  font-size: 1.2em;
  font-weight: 400;
  line-height: 1.6;
}

.calendar-day {
  min-width: 109px;
}

.calendar-day > table {
  height: 100%;
}

.calendar-event {
  height: 32px;
}

/*http://stackoverflow.com/questions/9789723/css-text-overflow-in-a-table-cell*/

.calendar-day td {
  max-width: 103px;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.231;
}

.calendar-day .bold {
  font-weight: bold;
}

.calendar-day .number {
  font-size: 1.2em;
}

.calendar-event div {
  border-left-width: 4px;
  border-left-style: solid;
  margin: 1px 0;
}

.calendar-event a,
.calendar-event span {
  padding: 4px 2px;
  display: inline-block;
}

td.calendar-menu {
  white-space: normal;
  max-width: none;
}

/* Legend */

.legend-square {
  width: 32px;
  height: 32px;
  border-radius: 3px;
}

/* colorBox */

#cboxLoadedContent {
  margin: 1px;
  padding: 5px !important;
}

/*responsive tables*/

.rt .link2colorBox {
  display: none;
}

/*portal polls*/

.divPortalPoll {
  max-height: 350px;
  overflow-y: auto;
  min-width: 300px;
}

.divPortalPoll .widefat {
  margin-bottom: 0.8em;
}

.widefat .divPortalPoll > p {
  margin-bottom: 2px;
}

/* Grades */

.span-grade-points {
  float: left;
}

/* Report Cards */

.grade-minmax-wrap {
  min-width: 120px;
}

/* Note: Total width < 100% so to leave space for triangle sort icon (::after). */

.grade-minmax-min {
  float: left;
  width: 23%;
  font-size: 13px;
}

.grade-minmax-grade {
  float: left;
  width: 48%;
  text-align: center;
}

.grade-minmax-max {
  float: left;
  width: 23%;
  text-align: right;
  font-size: 13px;
}

.grade-minmax-min,
.grade-minmax-grade,
.grade-minmax-max {
  /* Do not break grades */
  word-wrap: initial;
}

/* Take Attendance */

/* Attendance Codes */

.attendance-code {
  display: inline-block;
  padding: 2px 8px;
  /* One letter codes: same width */
  min-width: 10px;
  text-align: center;
}

/*arrows*/

.arrow.right:before,
.switchMenu:before {
  content: "\25b6\0000a0";
  vertical-align: 10%;
}

.switchMenu.switched:before {
  content: "\25bc\0000a0";
}

.arrow,
.switchMenu {
  display: inline-block;
}

.switchMenu {
  padding: 5px;
}

/* Chart.js */

.chart {
  position: relative;
  /* 90% viewport width - menu width. */
  width: calc(90vw - 205px);
  max-width: 1024px;
}

/*tipmessage (DO NOT EDIT)*/

#tipMsg {
  visibility: hidden;
  position: absolute;
  z-index: 1000;
  top: -100px;
  max-width: 300px;
}

.tipmsg-label {
  display: inline-block;
  border-bottom: 1px dashed #bbb;
  cursor: default;
}

a > .tipmsg-label {
  cursor: pointer;
}

/* Tooltip */

.tooltip {
  position: absolute;
  display: inline-block;
  margin-left: 5px;
  cursor: help;
}

.tooltip:before {
  content: "i";
  font-family: monospace;
  font-size: 0.85em;
  font-weight: bold;
  width: 16px;
  height: 16px;
  line-height: 16px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
}

.tooltip > i {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 110%;
  left: -90px;
  width: 180px;
  z-index: 999;
  display: inline-block;
  padding: 7px;
  border-radius: 3px;
  transition: opacity 0.3s;
  text-align: left;
  font-size: 1em;
  line-height: 1.5;
}

.tooltip:hover > i {
  visibility: visible;
  opacity: 1;
}

/* @deprecated since 10.0 Toggle, CSS checkbox hack */

.toggle {
  cursor: pointer;
}

input[type="checkbox"].toggle {
  position: absolute;
  left: -9999px;
}

.toggle ~ .toggle-me {
  /* Hidden State */
  display: none;
}

.toggle:checked ~ .toggle-me {
  /* Toggled State */
  display: block;
}

.toggle:before {
  content: "\25b6\0000a0";
  vertical-align: 10%;
}

.toggle:checked + .toggle:before {
  content: "\25bc\0000a0";
}

/* MiniColors */

.minicolors {
  margin: 2px 2px 2px 0;
}

/* Accessibility (a11y) */

.a11y-hidden {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

#footerwrap a.a11y-hidden:active,
#footerwrap a.a11y-hidden:focus {
  clip: auto !important;
  position: absolute;
  text-decoration: underline;
  left: 9%;
}

/* Login, First login & Password Reset pages */

.login,
.first-login,
.password-reset {
  height: auto;
}

.login #body,
.first-login #body,
.password-reset #body {
  padding: 64px 2px;
  margin-bottom: 0;
}

.password-reset #body {
  padding-top: 0;
}

.login .postbox,
.password-reset .postbox {
  max-width: 320px;
}

/* Create account page */

.create-account {
  padding: 0 2px;
}

/* AJAX error message */

.ajax-error {
  position: fixed;
  top: 0;
  right: 0;
  padding: 11px;
  background-color: red;
  font-weight: bold;
  color: #fff;
  z-index: 100000;
  display: none;
}

/**
 * TinyMCE
 */

.tinymce {
  min-height: 200px;
}

.mce-tinymce.mce-container {
  /* Max width: 1024px for PDF */
  max-width: 1024px;
}

.tinymce-horizontal .mce-tinymce.mce-container {
  /* Max width: 1448px for Horizontal PDF */
  max-width: 1448px;
}

/* Hide "Powered by TinyMCE" */

.mce-branding {
  display: none !important;
}

.mce-tinymce.mce-fullscreen,
.tinymce-horizontal .mce-tinymce.mce-fullscreen {
  max-width: none;
}

/* TinyMCE responsive toolbar buttons */

.mce-btn-group .mce-btn {
  float: left;
}

.tinymce-html img,
.markdown-to-html img {
  /* Responsive image for TinyMCE & Markdown HTML. */
  height: auto;
}

/* Select2 select */

.select2-dropdown,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  border-radius: 3px !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  border-bottom-width: 1px !important;
  min-height: 26px !important;
}

.select2-container--default li {
  margin-bottom: 0;
}

/* Fix Select2 dropdown hidden when inside colorBox (has z-index 9999) */

.select2-dropdown {
  z-index: 10051 !important;
}

/* Chosen/Select2 select: add 15px to original width so Chosen options ALL fit */

.chosen-select,
.select2-select {
  min-width: 55px;
  padding-right: 15px;
}

/* Add 23px to multiple Chosen/Select2 select */

.chosen-select[multiple],
.select2-select[multiple] {
  padding-right: 23px;
}

/**
 * Disguise phone number "tel" links on desktop
 * http://stackoverflow.com/questions/15425356/how-to-disable-link-to-phone-number-when-on-desktop
 */

.no-touch .phone-link {
  color: #333;
  /*pointer-events: none;*/
  cursor: default;
}

/* Dashboard */

.dashboard-module-title {
  font-weight: 400;
  margin: 0.85em 0;
}

.dashboard-module-data {
  padding-left: 8px;
}

.dashboard-module-data-tipmsg .legend-gray {
  margin-bottom: 5px;
}

.dashboard-module-title img {
  vertical-align: middle;
}

/* Teacher Programs */

.teacher-programs-wrapper {
  /*border-width: 3px;*/
  border-style: dashed;
  padding: 7px;
  width: 100%;
  margin-left: -9px;
}

/* Password Input */

.password-input-wrapper {
  display: inline-block;
}

.password-strength-bars {
  /*height: 6px;*/
  line-height: 5px;
  font-size: 5px;
}

.password-strength-bars + br {
  display: none;
}

.password-toggle {
  float: right;
  margin-left: -22px;
  margin-top: 5px;
  cursor: pointer;
  position: relative;
  margin-right: 3px;
  background: #fff;
}

.password-hide {
  display: none;
}

.password-strength-bars span {
  display: inline-block;
  width: 18.5%;
  line-height: 5px;
  height: 5px;
  padding: 0 1px 0 0;
  visibility: hidden;
}

.password-strength-bars ~ label {
  display: inline-block;
  margin-top: -2px;
}

#body {
  background-image: url(../bg_school.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgba(255, 255, 255, 0.5);
  background-blend-mode: lighten;
  background-position: center;
}

.login {
  height: 100%;
}

/* Pour parer le reset de tailwind */
table {
  border-collapse: separate;
  text-indent: initial;
  border-spacing: 2px;
}

audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
  display: initial;
  vertical-align: middle;
}

*,
::after,
::before {
  border-color: initial;
}
