:root {
  --se-blue: #005AA9;
  --se-gray: #5F7173;
  --bg: #dddddd;
  --shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
}

html {
  font-family: sans-serif;
  background: var(--se-blue);
  padding: 1rem;
}
  
body {
  max-width: 1080px;
  margin: 0 auto;
  background: white;
  
  box-shadow:
    0px 0px 20px rgba(0, 0, 0, 0.05),
    0px 0px 20px rgba(0, 0, 0, 0.05),
    0px 0px 20px rgba(0, 0, 0, 0.05),
    0px 0px 20px rgba(0, 0, 0, 0.05);
}

h1, h2, h3, h4, h5, h6 {
  font-family: monospace;
  color: var(--se-blue);
  margin: 1rem 0;
}

h2 {
  font-size: 18px;
}

h3 {
  font-size: 16px;
  text-decoration: underline;
}

a {
  color: var(--se-blue);
}

hr {
  border: none;
  border-top: 1px solid var(--bg);
}

.titlebar {
  background: var(--bg);
  display: flex;
  align-items: center;
  padding-left: 8px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.titlebar h1 {
  flex: auto;
  margin: 0;
  font-size: 30px;
}

.titlebar h1 a {
  text-decoration: none;
  padding: 0.25rem 0.5rem;
}

.titlebar ul  {
  float: right;
  clear: right;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.titlebar ul li a, .titlebar ul li span, header .action {
  display: block;
  padding: 0.5rem;
}

.content {
  padding: 0 1rem 1rem;
}

.content > header {
  border-bottom: 1px solid var(--bg);
  display: flex;
  align-items: flex-end;
}

.content > header h1 {
  flex: auto;
  margin: 1rem 0 0.25rem 0;
}

.flash {
  margin: 1em 0;
  padding: 1em;
  border: 1px solid;
  border-radius: 2px;
  box-shadow: 3px 3px 3px var(--se-blue);
  
}

.error {
  background: #f86f7b;
  border-color: #fd0000;
}

.info {
  background: #c2fc77;
  border-color: #00be0a;
}

.content:last-child {
  margin-bottom: 0;
}

.content label {
  margin-bottom: 0.5em;
}

.content option {
  padding: 4em;
}

input.danger {
  color: #cc2f2e;
}


label {
  width: 100%;
  display: block;
}

.row {
  display: flex;
  margin: 0px -16px 0px -16px;
}

.cr {
  padding-left: 8px !important;
}

.cl {
  padding-right: 8px !important;
}

.col {
  flex: 50%;
  padding: 0 16px 0 16px;
  padding-bottom: 0px;
}

.col-25 {
  flex: 25%;
  padding: 0 16px 0 16px;
  padding-bottom: 0px;
}

.col-75 {
  flex: 75%;
  padding: 0 16px 0 16px;
  padding-bottom: 0px;
}

.l {
  margin-right: -12px;
}
.r {
  margin-left: -12px;
}

.language-div {
  float: right;
  height: 18px;
  overflow: hidden;
  padding-top: 8px;
  padding-right: 10px;
}


.titlebar li a:link, .titlebar li a:visited {
  padding: 5px 12px;
  margin-left: 4px;
  margin-top: 10px;
  text-align: center;
  text-decoration: none;
  /* display: inline-block; */
}

.active-li a:link, .active-li a:visited {
  background-color: white;
}

.titlebar li:not(.active-li) a:link:hover, .titlebar li:not(.active-li) a:visited:hover {
  background-color: rgb(185, 185, 185);
}

.tdgreen {
  background-color: lawngreen;
}

.tdred {
  background-color: coral;
}

.tdorange {
  background-color: orange;
}

.tdwrap {
  word-wrap: break-word;
  max-width: 120px;
}

.tablesubmit {
  margin: -8px 4px !important;
  padding: 4px 8px !important;
  min-width: 0px !important;
}

.tdcenter {
  text-align: center;
}

.useractionform {
  display: inline;
}

footer {
  text-align: center;
  padding-bottom: 8px;
}
footer > a {
  margin: 0px;
  font-size: small;
  padding: 0px 8px;
}

.center {
  text-align: center;
}

body {
  border-radius: 10px;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltiptext {
  font-family: monospace;
  font-size: 13px;
  font-weight: bold;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 300px;
  background-color: var(--bg);
  color: var(--se-blue);
  text-align: center;
  border-radius: 0px;
  padding: 6px 10px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -160px;
  opacity: 0;
  transition: opacity 0.4s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -10px;
  border-width: 10px;
  border-style: dashed;
  border-color: var(--bg) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.a-small {
  font-size: smaller;
}

.filterform > label {
  display: inline;
}

.logo {
  margin: 8px 0px;
  display: block;
}

.et {
  border: none;
  margin: 0px;
  padding: 0px;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #eee;
  border-bottom: 2px solid var(--se-blue);
  box-shadow: var(--shadow)
}

.noshd {
  box-shadow: none !important;
}

th, td {
    color: var(--se-blue);
    border: 1px solid #eee;
    padding: 12px;
    border-collapse: collapse;
}
th {
    background: var(--se-blue);
    color: #fff;
    font-size: 14px;
}
td {
  
  font-family: monospace;
  font-size: 14px;
}

th:last-child {
  border-right: none;
}

th .tooltip {
  border-color: white !important;
}

.table-vertical {
  border-bottom: none;
}

.table-vertical th {
  width: 1%;
  word-wrap: none;
  white-space: nowrap;
}

.table-vertical td {
  font-size: 15px;
}


.cblock {
  background: white;
  margin: 16px 0px;
  padding: 16px;
  box-shadow: var(--shadow);
  border-bottom: 2px solid var(--se-blue);
}

.cblock > h1, .cblock > h2 {
  margin: -16px -16px 16px -16px;
  padding: 5px 16px;
}

.cblock > h1 {
  color: white;
  background: var(--se-blue);
}

.cblock > h2 {
  color: var(--se-blue);
  border-bottom: 3px solid var(--se-blue);
}

.cblock > h1 > a {
  color: white;
}

.cblock > h2 > a {
  color: var(--se-blue);
}

.cborder {
  border: 3px solid var(--se-blue);
}

.couter > h1 {
  margin-bottom: 0px;
}


input[type="submit"] {
  align-self: start;
  min-width: 10em;
  border: none;
  background: var(--bg);
  color: var(--se-blue);
  border-bottom: 4px solid var(--se-blue);
  font-weight: bold;
  font-family: Arial;
  font-size: 14px;
  padding: 8px;
  transition: box-shadow 0.2s;
}

input[type="submit"]:hover {
  box-shadow: var(--shadow);
}

input[type="submit"]:focus {
  outline: 0px;
  margin-top: 2px;
  border-bottom: 2px solid var(--se-blue);
  transition: margin 0.15s, border 0.15s;
}

.note {
  margin-top: 16px;
  padding: 8px;
  background: var(--bg);
  color: var(--se-blue);
  border-left: 5px solid var(--se-blue);
  font-weight: bold;
}

.note::after {
  content: "\A";
  white-space: pre;
}

input:not([type="submit"]), textarea, select {
  margin-bottom: 12px;  
}

input:not([type]),
input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"],
select, textarea {
  background: #eee;
  padding: 8px;
  width: 100%;
  box-sizing: border-box;
  border: 0px;
  border-bottom: solid 2px var(--se-blue);
  outline: 0;
}

input:not([type]):focus,
input[type="text"]:focus,
input[type="password"]:focus, 
input[type="number"]:focus, 
input[type="date"]:focus, 
select:focus, textarea:focus {
  box-sizing: border-box;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s;
}

input[type="submit"],
input[type="checkbox"],
select, option,
.cb {
  cursor: pointer;
}
input[type="date"]::-webkit-inner-spin-button {
  display: none;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  margin: -8px 0px;
}

input[type="date"] {
  cursor: text;
}

textarea {
  border: solid 2px var(--se-blue);
  box-sizing: border-box;
  min-height: 100px;
  max-height: 176px;
  width: 100%;
  resize: vertical;
}


select {
  display: block;
}

.inline {
  display: inline;
}

.break {
  word-break: break-word;
}

.nowrap, .fullwidth {
  white-space: nowrap;
}

.fullwidth {
  width: 1%;
}

.highlight {
  background: lightcyan;
  box-shadow: var(--shadow);
  transition: box-shadow 1s;
  transition-delay: 0.5s;
}

.vertical-center {
  margin: 0;
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
