@import url(fonts.css);

/* VARIABLE DEFINITIONS */
:root {
  /* Main color variables when color scheme is NOT dark */
  --cl-wip-bg: yellow; /* work in progress background */
  --cl-wip-fg: black;  /* work in progress foreground */
  --cl-done-bg: green; /* done background */
  --cl-done-fg: white; /* done foreground */

  --banner-bg: var(--banner-bg-personal, var(--banner-bg-instance, #417690)); /* Explore use of multi-layered variables */
  --wallpaper: var(--wallpaper-personal, var(--wallpaper-instance, #79aec8)); /* Explore use of multi-layered variables */
  --page-name: var(--page-name-personal, var(--page-name-instance, #c4dce8)); /* Explore use of multi-layered variables */
  --title-footer-fg: var(--title-footer-fg-personal, var(--title-footer-fg-instance, #66ff66)); /* Explore use of multi-layered variables */

  --logo-aside-top: 37px;
  --logo-aside-right: 5px;
  --logo-aside-height: 120px;
  --logo-aside-width: 120px;
  --logo-canvas-right: 7px;

  /* End of main color variables  when color scheme is NOT dark */

  --primary: var(--wallpaper, #79aec8);
  --primary-fg: var(--primary-fg-personal, var(--primary-fg-instance, black)); /* Explore user of multi-layered variables */
  --secondary: var(--banner-bg, #417690);
  --accent: #f5dd5d;

  --body-fg: #333;
  --body-bg: var(--body-bg-personal, var(--body-bg-instance, #fff)); /* Table - even rows */
  --body-quiet-color: var(--body-quiet-color-personal, var(--body-quiet-color-instance, #666)); /* <h1>, <h3>, <h5> */
  --body-loud-color: #000;

  --header-color: var(--title-footer-fg, #ffc); 
  --header-branding-color: var(--accent);
  --header-bg: var(--secondary, #417690);
  --header-link-color: var(--banner-bg, #FF0000); /* var(--primary-fg); */

  --breadcrumbs-fg: var(--page-name, #c4dce8);
  --breadcrumbs-link-fg: var(--body-bg, #fff);
  --breadcrumbs-bg: var(--primary, #79aec8);

  --link-fg: var(--link-fg-personal, var(--link-fg-instance, #447e9b)); /* Links shown on home page */
  --link-hover-color: var(--link-hover-color-personal, var(--link-hover-color-instance, #FF0000));
  --link-selected-fg: var(--link-selected-fg-personal, var(--link-selected-fg-instance, #5b80b2));

  --hairline-color: var(--hairline-color-personal, var(--hairline-color-instance, #e8e8e8)); /* Table row lines */
  --border-color: var(--border-color-personal, var(--border-color-instance, #ccc)); /* Color of border around icons */

  --error-fg: #ba2121;

  --message-success-bg: #dfd;
  --message-warning-bg: #ffc;
  --message-error-bg: #ffefef;

  --darkened-bg: var(--darkened-bg-personal, var(--darkened-bg-instance, #f8f8f8)); /* A bit darker than --body-bg */
  --selected-bg: #e4e4e4; /* E.g. selected table cells */
  --selected-row: #ffc;

  --button-fg: var(--button-fg-personal, var(--button-fg-instance, #fff));  /* Button foreground */
  --button-bg: var(--button-bg-personal, var(--button-bg-instance, var(--secondary, #417690)));  /* Button background */
  --button-hover-bg: #609ab6;
  --default-button-bg: var(--secondary, #417690);
  --default-button-hover-bg: #205067;
  --close-button-bg: #888; /* Previously #bbb, contrast 1.92 */
  --close-button-hover-bg: #747474;
  --delete-button-bg: #ba2121;
  --delete-button-hover-bg: #a41515;

  --object-tools-fg: var(--button-fg, #fff);
  --object-tools-bg: var(--close-button-bg, #888);
  --object-tools-hover-bg: var(--close-button-hover-bg, #747474);
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #264b5d;
    --primary-fg: #eee;

    --body-fg: #eeeeee;
    --body-bg: #121212;
    --body-quiet-color: #e0e0e0;
    --body-loud-color: #ffffff;

    --breadcrumbs-link-fg: #e0e0e0;
    --breadcrumbs-bg: var(--primary, #79aec8);

    --link-fg: #81d4fa;
    --link-hover-color: #4ac1f7;
    --link-selected-fg: #6f94c6;

    --hairline-color: #272727;
    --border-color: #353535;

    --error-fg: #e35f5f;
    --message-success-bg: #006b1b;
    --message-warning-bg: #583305;
    --message-error-bg: #570808;

    --darkened-bg: #212121;
    --selected-bg: #1b1b1b;
    --selected-row: #00363a;

    --close-button-bg: #333333;
    --close-button-hover-bg: #666666;
  }
}

/* Source start:  django admin */
html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
    color: var(--body-fg);
    background: var(--body-bg);
}

/* LINKS */

a:link, a:visited {
    color: var(--link-fg);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}

a:focus, a:hover {
    color: var(--link-hover-color);
}

a:focus {
    text-decoration: underline;
}

a img {
    border: none;
}

a.section:link, a.section:visited {
    color: var(--header-link-color);
    text-decoration: none;
}

a.section:focus, a.section:hover {
    text-decoration: underline;
}

/* GLOBAL DEFAULTS */

p, ol, ul, dl {
    margin: .2em 0 .8em 0;
}

p {
    padding: 0;
    line-height: 140%;
}
p.justify_para, section#faq > p {
  margin: 0 var(--logo-aside-width, 120px) 0 0;
  padding-bottom: 7px;
  text-align: justify;
  text-justify: inter-word;
}

h1,h2,h3,h4,h5 {
    font-weight: bold;
}

h1 {
    margin: 0 0 20px;
    font-weight: 300;
    font-size: 20px;
    color: var(--body-quiet-color);
}

h2 {
    font-size: 16px;
    margin: 1em 0 .5em 0;
}

h2.subhead {
    font-weight: normal;
    margin-top: 0;
}

h3 {
    font-size: 14px;
    margin: .8em 0 .3em 0;
    color: var(--body-quiet-color);
    font-weight: bold;
}

h4 {
    font-size: 12px;
    margin: 1em 0 .8em 0;
    padding-bottom: 3px;
}

h5 {
    font-size: 10px;
    margin: 1.5em 0 .5em 0;
    color: var(--body-quiet-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

ul > li {
    list-style-type: square;
    padding: 1px 0;
}

li ul {
    margin-bottom: 0;
}

li, dt, dd {
    font-size: 13px;
    line-height: 20px;
}

dt {
    font-weight: bold;
    margin-top: 4px;
}

dd {
    margin-left: 0;
}

form {
    margin: 0;
    padding: 0;
}

fieldset {
    margin: 0;
    min-width: 0;
    padding: 0;
    border: none;
    border-top: 1px solid var(--hairline-color);
}

blockquote {
    font-size: 11px;
    color: #777;
    margin-left: 2px;
    padding-left: 10px;
    border-left: 5px solid #ddd;
}

code, pre {
    font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace;
    color: var(--body-quiet-color);
    font-size: 12px;
    overflow-x: auto;
}

pre.literal-block {
    margin: 10px;
    background: var(--darkened-bg);
    padding: 6px 8px;
}

code strong {
    color: #930;
}

hr {
    clear: both;
    color: var(--hairline-color);
    background-color: var(--hairline-color);
    height: 1px;
    border: none;
    margin: 0;
    padding: 0;
    font-size: 1px;
    line-height: 1px;
}
small {
  font-size: 12px;
}

/* TEXT STYLES & MODIFIERS */

.small {
    font-size: 11px;
}

.mini {
    font-size: 10px;
}

.help, p.help, form p.help, div.help, form div.help, div.help li {
    font-size: 11px;
    color: var(--body-quiet-color);
}

div.help ul {
     margin-bottom: 0;
}

.help-tooltip {
    cursor: help;
}

p img, h1 img, h2 img, h3 img, h4 img, td img {
    vertical-align: middle;
}

.quiet, a.quiet:link, a.quiet:visited {
    color: var(--body-quiet-color);
    font-weight: normal;
}

.clear {
    clear: both;
}

.nowrap {
    white-space: nowrap;
}

.hidden {
    display: none;
}

/* TABLES */

table {
    text-align: left;
    position: relative;
    border-collapse: collapse;
    border-color: var(--border-color, #ccc);
}

td, th {
    font-size: 13px;
    line-height: 16px;
    border-bottom: 1px solid var(--hairline-color);
    vertical-align: top;
    padding: 8px;
}

th {
    font-weight: 600;
    text-align: left;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    position: -ms-sticky;
    position: sticky;
    top: 35px;
}

thead th,
tfoot td {
    color: var(--body-quiet-color);
    padding: 5px 10px;
    font-size: 11px;
    background: var(--body-bg);
    border: none;
    border-top: 1px solid var(--hairline-color);
    border-bottom: 1px solid var(--hairline-color);
}

tfoot td {
    border-bottom: none;
    border-top: 1px solid var(--hairline-color);
}

thead th.required {
    color: var(--body-loud-color);
}

tr.alt {
    background: var(--darkened-bg);
}

tr:nth-child(odd), .row-form-errors {
    background: var(--body-bg);
}

tr:nth-child(even),
tr:nth-child(even) .errorlist,
tr:nth-child(odd) + .row-form-errors,
tr:nth-child(odd) + .row-form-errors .errorlist {
    background: var(--darkened-bg);
}

/* SORTABLE TABLES */

thead th {
    padding: 5px 10px;
    line-height: normal;
    text-transform: uppercase;
    background: var(--darkened-bg);
}

thead th a:link, thead th a:visited {
    color: var(--body-quiet-color);
}

thead th.sorted {
    background: var(--selected-bg);
}

thead th.sorted .text {
    padding-right: 42px;
}

table thead th .text span {
    padding: 8px 10px;
    display: block;
}

table thead th .text a {
    display: block;
    cursor: pointer;
    padding: 8px 10px;
}

table thead th .text a:focus, table thead th .text a:hover {
    background: var(--selected-bg);
}

thead th.sorted a.sortremove {
    visibility: hidden;
}

table thead th.sorted:hover a.sortremove {
    visibility: visible;
}

table thead th.sorted .sortoptions {
    display: block;
    padding: 9px 5px 0 5px;
    float: right;
    text-align: right;
}

table thead th.sorted .sortpriority {
    font-size: .8em;
    min-width: 12px;
    text-align: center;
    vertical-align: 3px;
    margin-left: 2px;
    margin-right: 2px;
}

table thead th.sorted .sortoptions a {
    position: relative;
    width: 14px;
    height: 14px;
    display: inline-block;
    background: url(/static/admin/img/sorting-icons.svg) 0 0 no-repeat;
    background-size: 14px auto;
}

table thead th.sorted .sortoptions a.sortremove {
    background-position: 0 0;
}

table thead th.sorted .sortoptions a.sortremove:after {
    content: '\\';
    position: absolute;
    top: -6px;
    left: 3px;
    font-weight: 200;
    font-size: 18px;
    color: var(--body-quiet-color);
}

table thead th.sorted .sortoptions a.sortremove:focus:after,
table thead th.sorted .sortoptions a.sortremove:hover:after {
    color: var(--link-fg);
}

table thead th.sorted .sortoptions a.sortremove:focus,
table thead th.sorted .sortoptions a.sortremove:hover {
    background-position: 0 -14px;
}

table thead th.sorted .sortoptions a.ascending {
    background-position: 0 -28px;
}

table thead th.sorted .sortoptions a.ascending:focus,
table thead th.sorted .sortoptions a.ascending:hover {
    background-position: 0 -42px;
}

table thead th.sorted .sortoptions a.descending {
    top: 1px;
    background-position: 0 -56px;
}

table thead th.sorted .sortoptions a.descending:focus,
table thead th.sorted .sortoptions a.descending:hover {
    background-position: 0 -70px;
}

/* FORM DEFAULTS */

input, textarea, select, .form-row p, form .button {
    margin: 2px 0;
    padding: 2px 3px;
    vertical-align: middle;
    font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
    font-weight: normal;
    font-size: 13px;
}
.form-row div.help {
    padding: 2px 3px;
}

textarea {
    vertical-align: top;
}

input[type=text], input[type=url], input[type=password], input[type=email], input[type=url],
input[type=number], input[type=tel], textarea, select, .vTextField,
input[type=date] {
    border: 1px solid var(--border-color, #ccc);
    border-radius: 4px;
    padding: 5px 6px;
    margin-top: 0;
    color: var(--body-fg);
    background-color: var(--body-bg);
}
input[type=number] {
  width: 80px;
}
input[type=text]:focus, input[type=url]:focus, input[type=password]:focus, input[type=email]:focus,
input[type=url]:focus, input[type=number]:focus, input[type=tel]:focus,
textarea:focus, select:focus, .vTextField:focus {
    border-color: var(--body-quiet-color);
}
input[type=checkbox] {
  width: 25px;
  height: 25px;
  margin: auto;
}
input[type=radio] {
  margin: 5px 10px 5px 10px;
  background: transparent;
}
input#id_subject, textarea#id_message {
  width: 500px;
  max-width: 100%;
}
ul.volpe_choice > li {
  display: inline;
  position: relative;
  left: 160px;
  top: -31px;
}
select {
    height: 30px;
}

select[multiple] {
    /* Allow HTML size attribute to override the height in the rule above. */
    height: auto;
    min-height: 150px;
}

/* FORM BUTTONS */

.button, button[type=submit], input[type=submit], input[type=button], .submit-row input, a.button {
    background: var(--button-bg, #417690); 
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    color: var(--button-fg);
    cursor: pointer;
    transition: background 0.15s;
}

a.button {
    padding: 4px 5px;
}

.button:active, input[type=submit]:active, input[type=button]:active,
.button:focus, input[type=submit]:focus, input[type=button]:focus,
.button:hover, input[type=submit]:hover, input[type=button]:hover {
    background: var(--button-hover-bg);
}

.button[disabled], input[type=submit][disabled], input[type=button][disabled] {
    opacity: 0.4;
}

.button.default, input[type=submit].default, .submit-row input.default {
    float: right;
    border: none;
    font-weight: 400;
    background: var(--default-button-bg);
}

.button.default:active, input[type=submit].default:active,
.button.default:focus, input[type=submit].default:focus,
.button.default:hover, input[type=submit].default:hover {
    background: var(--default-button-hover-bg);
}

.button[disabled].default,
input[type=submit][disabled].default,
input[type=button][disabled].default {
    opacity: 0.4;
}

/*  Confirm Delete Form and Form buttons */
form#confirm-delete th {
  background-color: var(--message-warning-bg, yellow);
}

form#confirm-delete td, tr#button-row-delete {
  background-color: transparent;
  border: none;
}

button#confirm-delete-button {
  background: var(--message-error-bg, red);
}

input#confirm-delete-input {
  background: var(--message-error-bg, red);
  color: var(--error-fg, black);
}

button#cancel-delete-button {
  background: var(--message-success-bg, green);
}

input#cancel-delete-input {
  background: var(--message-success-bg, green);
  color: var(--primary-fg, black);
}


/* MODULES */

.module {
    border: none;
    margin-bottom: 30px;
    background: var(--primary, #79aec8);
}

.module p, .module ul, .module h3, .module h4, .module dl, .module pre {
    padding-left: 10px;
    padding-right: 10px;
}

.module blockquote {
    margin-left: 12px;
}

.module ul, .module ol {
    margin-left: 1.5em;
}

.module h3 {
    margin-top: .6em;
}

.module h2, .module caption, .inline-group h2 {
    margin: 0;
    padding: 8px;
    font-weight: 400;
    font-size: 13px;
    text-align: left;
    background: var(--primary, #79aec8);
    color: var(--header-link-color);
}

.module caption,
.inline-group h2 {
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.module table {
    border-collapse: collapse;
}

/* MESSAGES & ERRORS */
p.noscript {
  background-color: var(--body-bg);
  text-align: center;
  overflow-wrap: normal;
  position: fixed;
  width: 100%;
  padding-top: 4px;
  padding-bottom: 4px;
  top: 34px;
  left: 0px;
  z-index: 200;
}
strong.noscript {
  background-color: var(--body-bg);
}
ul.messagelist {
    padding: 0 5px 0 0;
    margin: 0 var(--logo-aside-width, 120px) 0 0;
}

ul.messagelist li {
    display: block;
    font-weight: 400;
    font-size: 13px;
    padding: 10px 10px 10px 65px;
    margin: 0 0 10px 0;
    background: var(--message-success-bg) url(/static/admin/img/icon-yes.svg) 40px 12px no-repeat;
    background-size: 16px auto;
    color: var(--body-fg);
}

ul.messagelist li.warning {
    background: var(--message-warning-bg) url(/static/admin/img/icon-alert.svg) 40px 14px no-repeat;
    background-size: 14px auto;
}

ul.messagelist li.error {
    background: var(--message-error-bg) url(/static/admin/img/icon-no.svg) 40px 12px no-repeat;
    background-size: 16px auto;
}

.errornote {
    font-size: 14px;
    font-weight: 700;
    display: block;
    padding: 10px 12px;
    margin: 0 0 10px 0;
    color: var(--error-fg);
    border: 1px solid var(--error-fg);
    border-radius: 4px;
    background-color: var(--body-bg);
    background-position: 5px 12px;
    overflow-wrap: break-word;
}

ul.errorlist {
    margin: 0 0 4px;
    padding: 0;
    color: var(--error-fg);
    background: var(--body-bg);
}

ul.errorlist li {
    font-size: 13px;
    padding-left: 5px;
    display: block;
    margin-bottom: 4px;
    overflow-wrap: break-word;
    background: var(--message-error-bg, --body-bg);
}

ul.errorlist li:first-child {
    margin-top: 0;
}

ul.errorlist li a {
    color: inherit;
    text-decoration: underline;
}

td ul.errorlist {
    margin: 0;
    padding: 0;
}

td ul.errorlist li {
    background: transparent;
    margin: 0;
}
.form-row.errors {
    margin: 0;
    border: none;
    border-bottom: 1px solid var(--hairline-color);
    background: none;
}

.form-row.errors ul.errorlist li {
    padding-left: 0;
}
.form-row > input[type=email], form > p > input[type=email],
form > p > input[type=text], input[type=url], input[type=password], form > p > textarea {
  width: 400px;
  max-width: 100%;
}

.errors input, .errors select, .errors textarea,
td ul.errorlist + input, td ul.errorlist + select, td ul.errorlist + textarea {
    border: 1px solid var(--error-fg);
}
input:focus.fields-different {
    background: var(--message-error-bg);
}
small.fields-different {
    background: var(--message-error-bg);
}

.description {
    font-size: 12px;
    padding: 5px 0 0 12px;
}

/* BREADCRUMBS */

div.breadcrumbs {
    background: var(--breadcrumbs-bg);
    padding: 10px 40px;
    border: none;
    color: var(--breadcrumbs-fg);
    text-align: left;
}

div.breadcrumbs a {
    color: var(--breadcrumbs-link-fg);
}

div.breadcrumbs a:focus, div.breadcrumbs a:hover {
    color: var(--breadcrumbs-fg);
}
ul.k2gomenulink > li {
  list-style-type: none;
  margin-bottom: 20px;
  margin-top: 15px;
}
ul.k2gomenulink > li > a {
  background-color: var(--button-bg, #417690); /* white; */
  color: var(--button-fg, #fff);  /* black; */
  border: 1px solid var(--border-color, #ccc); /* #0000FF; */
  border-radius: 6px;
  padding: 4px 6px 4px 6px;
  font-size: 16px;
  display: inline;
}

/* ACTION ICONS */

.viewlink, .inlineviewlink {
    padding-left: 16px;
    background: url(/static/admin/img/icon-viewlink.svg) 0 1px no-repeat;
}

.addlink {
    padding-left: 16px;
    background: url(/static/admin/img/icon-addlink.svg) 0 1px no-repeat;
}

.changelink, .inlinechangelink {
    padding-left: 16px;
    background: url(/static/admin/img/icon-changelink.svg) 0 1px no-repeat;
}

.deletelink {
    padding-left: 16px;
    background: url(/static/admin/img/icon-deletelink.svg) 0 1px no-repeat;
}

a.deletelink:link, a.deletelink:visited {
    color: #CC3434; /* XXX Probably unused? */
}

a.deletelink:focus, a.deletelink:hover {
    color: #993333; /* XXX Probably unused? */
    text-decoration: none;
}

/* OBJECT TOOLS */

.object-tools {
    font-size: 10px;
    font-weight: bold;
    padding-left: 0;
    float: right;
    position: relative;
    margin-top: -48px;
}

.object-tools li {
    display: block;
    float: left;
    margin-left: 5px;
    height: 16px;
}

.object-tools a {
    border-radius: 15px;
}

.object-tools a:link, .object-tools a:visited {
    display: block;
    float: left;
    padding: 3px 12px;
    background: var(--object-tools-bg);
    color: var(--object-tools-fg);
    font-weight: 400;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.object-tools a:focus, .object-tools a:hover {
    background-color: var(--object-tools-hover-bg);
}

.object-tools a:focus{
    text-decoration: none;
}

.object-tools a.viewsitelink, .object-tools a.addlink {
    background-repeat: no-repeat;
    background-position: right 7px center;
    padding-right: 26px;
}

.object-tools a.viewsitelink {
    background-image: url(/static/admin/img/tooltag-arrowright.svg);
}

.object-tools a.addlink {
    background-image: url(/static/admin/img/tooltag-add.svg);
}

/* OBJECT HISTORY */

table#change-history {
    width: 100%;
}

table#change-history tbody th {
    width: 16em;
}

/* PAGE STRUCTURE */

#container {
    position: relative;
    width: 100%;
    min-width: 980px;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

#container > div {
    flex-shrink: 0;
}

#container > .main {
    display: flex;
    flex: 1 0 auto;
}

.main > .content {
    flex:  1 0;
    max-width: 100%;
}

#content {
    padding: 5px 5px;
}

.dashboard #content {
    width: 600px;
}

#content-main {
    float: left;
    width: 100%;
}
/* 14Nov21: Added div.submit-row in response to password-change page */
/*          having white background around "Change my Password" button */
/*  */
div.submit-row {
  background: var(--primary, #79aec8);
}

#content-related {
    float: right;
    width: 260px;
    position: relative;
    margin-right: -300px;
}

#footer {
    clear: both;
    padding: 5;
}

/* COLUMN TYPES */

.colMS {
    margin-right: 300px;
}

.colSM {
    margin-left: 300px;
}

.colSM #content-related {
    float: left;
    margin-right: 0;
    margin-left: -300px;
}

.colSM #content-main {
    float: right;
}

.popup .colM {
    width: auto;
}

/* HEADER */

#header {
    width: auto;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background: var(--header-bg);
    color: var(--header-color);
    overflow: hidden;
}

#header a:link, #header a:visited {
    color: var(--header-link-color);
}

#header a:focus , #header a:hover {
    text-decoration: underline;
}

#branding {
    float: left;
}

#branding h1 {
    padding: 0;
    margin: 0 20px 0 0;
    font-weight: 300;
    font-size: 24px;
    color: var(--accent);
}

#branding h1, #branding h1 a:link, #branding h1 a:visited {
    color: var(--accent);
}

#branding h2 {
    padding: 0 10px;
    font-size: 14px;
    margin: -8px 0 8px 0;
    font-weight: normal;
    color: var(--header-color);
}

#branding a:hover {
    text-decoration: none;
}

#user-tools {
    float: right;
    padding: 0;
    margin: 0 0 0 20px;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: right;
}

#user-tools a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

#user-tools a:focus, #user-tools a:hover {
    text-decoration: none;
    border-bottom-color: var(--primary, #79aec8);
    color: var(--primary, #79aec8);
}

/* SIDEBAR */

#content-related {
    background: var(--darkened-bg);
}

#content-related .module {
    background: none;
}

#content-related h3 {
    color: var(--body-quiet-color);
    padding: 0 16px;
    margin: 0 0 16px;
}

#content-related h4 {
    font-size: 13px;
}

#content-related p {
    padding-left: 16px;
    padding-right: 16px;
}

#content-related .actionlist {
    padding: 0;
    margin: 16px;
}

#content-related .actionlist li {
    line-height: 1.2;
    margin-bottom: 10px;
    padding-left: 18px;
}

#content-related .module h2 {
    background: none;
    padding: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--hairline-color);
    font-size: 18px;
    color: var(--body-fg);
}

.delete-confirmation form input[type="submit"] {
    background: var(--delete-button-bg, #417690);
    border-radius: 4px;
    padding: 10px 15px;
    color: var(--button-fg);
}

.delete-confirmation form input[type="submit"]:active,
.delete-confirmation form input[type="submit"]:focus,
.delete-confirmation form input[type="submit"]:hover {
    background: var(--delete-button-hover-bg);
}

.delete-confirmation form .cancel-link {
    display: inline-block;
    vertical-align: middle;
    height: 15px;
    line-height: 15px;
    border-radius: 4px;
    padding: 10px 15px;
    color: var(--button-fg);
    background: var(--close-button-bg);
    margin: 0 0 0 10px;
}

.delete-confirmation form .cancel-link:active,
.delete-confirmation form .cancel-link:focus,
.delete-confirmation form .cancel-link:hover {
    background: var(--close-button-hover-bg);
}

/* POPUP */
.popup #content {
    padding: 20px;
}

.popup #container {
    min-width: 0;
}

.popup #header {
    padding: 10px 20px;
}
/* Source end:  django admin */

/* k2go styling */
* {
   box-sizing: border-box;
   background-color: var(--primary, #79aec8);
   color: var(--primary-fg, black);
  }
a.iconlink:hover, a.iconlink:hover > i, i.iconlink:hover {
  color: var(--link-hover-color, #FF0000);
}
html {
  font-family: serif, Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 14pt;
  font-weight: normal;
  line-height: normal;
}
body {
  background-color: var(--body-bg); /* #ccebff; */
  color: var(--body-fg); /* added */
  text-align: left;
  line-height: normal;
  display: block;
  margin: 30px 5px 0px 5px;
}
body > header {
  position: fixed;
  top: 0;
  left: 0;
  height: 37px;
  overflow: hidden;
  text-align: center;
  width: 100%;
  font-size: 16pt;
  font-weight: normal;
  line-height: 35px;
  background-color: var(--header-bg); /* #0099ff; */
  color: var(--header-color); /* white; */
  z-index: 100;
 }
header > span:nth-child(2) {
  background-color: var(--header-bg); /* #0099ff; */
  color: var(--header-color); /* white; */
  width: 30%;
  z-index: 100;
}
header > span:first-child {
  background-color: var(--header-bg); /* #0099ff; */
  color: var(--header-color); /* white; */
  width: 35%;
  float: left;
  text-align: left;
  padding-left: 5px;
  font-size: 14pt;
  font-weight: normal;
  z-index: 100;
}
header > span:last-child {
  background-color: var(--header-bg); /* #0099ff; */
  color: var(--header-color); /* white; */
  width: 35%;
  float: right;
  text-align: right;
  overflow: visible;
  padding-right: 5px;
  font-size: 14pt;
  font-weight: normal;
  z-index: 100;
}
header > span > a.iconexpand {
  padding-left: 4px;
  padding-right: 4px;
}
aside.logo {
  display: none;
}
address {
  margin-bottom: 30px;
  bottom: auto;
  display: block;
  font-style: italic;
  font-size: 12pt;
  font-weight: normal;
  line-height: normal;
  background-color: var(--primary, #79aec8); /* added */
  color: var(--primary-fg, black); /* black; */
}
input[type=text], input[type=url], input[type=email], select, textarea {
  display: block;
  font-style: normal;
  font-family: "Courier New", monospace, serif, Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: normal;
  line-height: normal;
  background-color: var(--body-bg); /* white; */
  color: var(--body-fg); /* black; */
}
#k2go-user-tools {
  background-color: var(--header-bg); /* white; */
  color: var(--header-color); /* black; */
  float: right;
  padding: 10;
  margin: 0 0 0 20px;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: right;
}

#k2go-user-tools a:focus, #user-tools a:hover {
    text-decoration: none;
    border-bottom-color: var(--primary, #79aec8);
    color: var(--body-fg); /* #FF0000 */
}
a {
  text-decoration: underline;
  background-color: transparent;
}
a.iconlink {
  background-color: var(--button-bg, #417690); /* white; */
  color: var(--button-fg);  /* black; */
  border: 1px solid var(--border-color, #ccc); /* #0000FF; */
  border-radius: 4px;
  vertical-align: -2px;
  padding: 2px;
  font-size: 20px;
  display: inline;
}
body >aside.page-footer > span > a.iconlink {
  display: inline;
  vertical-align: -4px;
  padding-left: 8px;
  padding-right: 8px;
  margin-left: 0px;
  margin-right: 8px;
}
a.if_link {
  font-size: 15px;
}
p.if_link {
  text-align: center;
}
i.iconlink {
  background-color: var(--button-bg, #417690); /* white; */
  color: var(--button-fg);  /* black; */
}
button:hover {
  background-color: var(--link-hover-color, --secondary); /* #FF0000; */
  color: var(--primary-fg, var(--banner-bg, #FF0000)); /* var(--primary-fg); */
  cursor: pointer;
}
img canvas {
  float: none;
  max-width: 100%;
  height: auto;
  margin-top: 5px;
}
body > aside.page-footer {
  position: fixed;
  bottom: 15px;
  font-weight: normal;
  left: 0px;
  text-align: center;
  width: 100%;
  font-size: 10px;
  line-height: 35px;
  font-style: normal;
  border: 1px solid var(--border-color, #ccc); /* #0000FF; */
  background-color: var(--header-bg); /* #0099ff; */
  color: var(--header-color); /* black; */
  z-index: 100;
}
body > footer {
  position: fixed;
  bottom: 0px;
  font-weight: normal;
  left: 0px;
  text-align: center;
  width: 100%;
  font-size: 10px;
  line-height: 15px;
  font-style: italic;
  background-color: var(--header-bg); /* #0099ff; */
  color: var(--header-color); /* black; */
  z-index: 100;
}
footer > span:first-child, body > aside.page-footer > span:first-child {
  width: 30%;
  float: left;
  text-align: left;
  margin-left: 5px;
  font-weight: normal;
  background-color: var(--header-bg); /* added */
  color: var(--header-color); /* added */
  z-index: 100;
}
footer > span:nth-child(2), body > aside.page-footer > span:nth-child(2) {
  width: 40%;
  background-color: var(--header-bg); /* added */
  color: var(--header-color); /* added */
  z-index: 100;
}
footer > span:last-child, body > aside.page-footer > span:last-child {
  width: 30%;
  float: right;
  text-align: right;
  font-weight: normal;
  background-color: var(--header-bg); /* added */
  color: var(--header-color); /* added */
  z-index: 100;
}
/*  k2gogroupmemberslist is used in K2go_GroupForm */
ul.k2gogroupmemberslist {
  padding: 0;
  margin: 0;
}
ul.k2gogroupmemberslist > li {
  list-style-type: none;
}
ul.k2gogroupmemberslist > li > label {
  background: transparent;
}
/*  end of k2gogroupmemberslist css refinements */

/* Start of contents moved from contribute.css */
th {
  vertical-align: bottom;
  background-color: var(--secondary);
}
th>label {
  background-color: transparent;
}
td, td>p, td>ul, td>ul>li {
  background-color: transparent;
  color: var(--body-fg);
}
th.middle, td.middle {
  text-align: center;
}
ul {
  padding-left: 20px;
}
ul>li {
  list-style-type: disc;
}
.k2go-bold {
  font-weight: bold;
}
/* End  of contents moved from contribute.css */
@media all and (min-width: 1400px) {
  aside.logo:not(.alwayshide) {
    background-color: var(--primary, #79aec8);
    color: var( --primary-fg, black);
    position: fixed;
    top: var( --logo-aside-top, 35px);
    right: var( --logo-aside-right, 5px);
    height: var( --logo-aside-height, 120px);
    width: var( --logo-aside-width, 120px);
    z-index: 110;
    display: inline;
  }
  div#container > aside.logo > a.logolink {
    background: var(--wallpaper, transparent);
    border: none;
  }
  img.logo {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
  }
  aside.logo:not(.alwayshide) > a.iconlink {
    background-color: var(--button-bg, #417690); /* white; */
    color: var(--button-fg);  /* black; */
    border: 1px solid var(--border-color, #ccc);
    border-radius: 4px;
    padding: 2px;
    font-size: 20px;
    display: inline;
  }
  aside.logo:not(.alwayshide) > a.if_link {
    font-size: 15px;
  }
  input[type=number].smallint {
    width: 80px;
  }
}
@media all and (max-width: 1399px) {
  aside.logo.alwaysdisplay {
    background-color: var(--primary, #79aec8);
    color: var( --primary-fg, black);
    position: fixed;
    top: var( --logo-aside-top, 45px);
    right: var( --logo-aside-right, 5px);
    height: var( --logo-aside-height, 110px);
    width: var( --logo-aside-width, 110px);
    z-index: 110;
    display: inline;
  }
  div#container > aside.logo > a.logolink {
    background: var(--wallpaper, transparent);
    border: none;
  }
  img.logo {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
  }
  aside.logo.alwaysdisplay > a.iconlink {
    background-color: var(--button-bg, #417690); /* white; */
    color: var(--button-fg);  /* black; */
    border: 1px solid var(--border-color, #ccc);
    border-radius: 4px;
    padding: 2px;
    font-size: 20px;
    display: inline;
  }
  aside.logo.alwaysdisplay > a.if_link {
    font-size: 15px;
  }
  p.justify_para, section#faq > p {
    margin: 0 0 0 0;
    padding-bottom: 7px;
    text-align: justify;
    text-justify: inter-word;
  }
  h2.wrap_header {
  margin: 0 var(--logo-aside-width, 120px) 0 0;
  padding-bottom: 7px;
  text-align: justify;
  text-justify: inter-word;
  }
  span#k2go-user-tools > a#bookmarksite {
    display: none;
  }
  input[type=number].smallint {
    width: 55px;
  }
}
@media print {
  table {
    break-after: auto;
  }
  tr {
    break-inside: avoid;
    break-after: auto;
  }
  td {
    break-inside: avoid;
    break-after: auto;
  }
  thead {
    display: table-header-group;
  }
  tfoot {
    display: table-footer-group;
  }
}

/* End of file */
