/*
 * $Id: fb42268374dea63aac4c781eb823eca728eed56b $
 *
 * @(#) facdev.css: HEAD -> master, tag: R_0.5.0 [d7d2b0d35482defd97b9893b58367bcb61f17417]
 *
 *      Mathias Path 2024-02-15 16:33:38 +0100
 *      Mathias Path 2024-02-15 16:38:18 +0100
 */

/* override typo3 weirdness */
body > div.center > div.content > div.center-background > div.center-box-content {
    max-width: inherit;
}

div.center-box-content input[type=button], input[type=reset], input[type=submit], input[type=file], div.center-box-content button {
    padding: .25ex;
}

div.center-box-content form.delayed_expiry {
    display: none;
}

/*
 * variables
 */

:root {
    /*--uke-blue: #014a93; */ /* from uke.de */
    --uke-fg-lvl-1: #004992;  /* blue from ci document */
    --uke-fg-lvl-2: #aa9c8f;
    --uke-fg-lvl-3: #575756;
    --uke-bg-lvl-1: #e3e5f2;    /* close to lavender (#e6e6fa [+3, +1, +8]) */
    --uke-bg-lvl-2: #e9e4e1;    /* close to seashell2 (#eee5de [+6, +1, -3]) */
    --uke-bg-lvl-3: #e6e7e8;    /* clode to grey91 (#e8e8e8 [+2, +1, 0]) */
    --uke-alert: #ab2328;
    --uke-attn: #f6be00;
    //--uke-success: #84bd00;
    --uke-success: #71cc98;
    --uke-emph: var(--uke-fg-lvl-1);
    --uke-edit: LemonChiffon;
    --uke-visited: #551A8B; /* uke's default purple (#ba9cc5) is way too bright */
    --uke-text: var(--uke-fg-lvl-3);
    --uke-text-light: #bbbbbb;
    --uke-font: opensans, calibri, sans-serif;

    /* --uke-newitem: seagreen; */
    --uke-newitem: darkviolet;

    --uke-gap: 2em;
    --uke-centerfoot: inline-block;
    --uke-header-height: 1.4em;
    --uke-footer-height: 2.6em;
}

/*
 * media
 */

@media (max-width: 600px) {

    :root {
        --uke-gap: 0px;
    }

    body span.global_actions, body span.group_select {
        display: none;
    }

    body details.module_accord.enrolled > summary::marker,
    body details.course_accord.enrolled > summary::marker,
    body details.ticket_accord.enrolled > summary::marker {
        display: none;
        content: '';
    }

    body details.accord > summary::marker {
        display: none;
        content: '';
    }

    body span.condbr1::before, body span.condbr2::before {
        content: '\A';
        white-space: pre-wrap;
    }
}

@media (max-width: 750px) {
    :root {
        --uke-centerfoot: none;
    }
}

@media (max-width: 900px) {
    body span.condbr1::before {
        content: '\A';
        white-space: pre-wrap;
    }
}

/*
 * general behaviour
 */

code {
    font-family: monospace;
}

blockquote {
    margin-left: 2em;
}

div.center-box-content * {
    font-family: var(--uke-font);
    color: var(--uke-text);
}

[contenteditable] {
    background-color: yellow;
}

input::placeholder {
    color: var(--uke-text-light);
    opacity: 1;
}

select:focus, button:focus, input[type=button]:focus, input[type=reset]:focus, input[type=submit]:focus, input[type=text]:focus, input[type=number]:focus, textarea:focus {
    border: 2px solid var(--uke-text);
}

label {
    white-space: nowrap;
}

span.condbr1::before, span.condbr2::before, span.condbr3::before {
    content: '';
}

span.ticket_dow_0 label {
    color: var(--uke-alert);
}
span.ticket_dow_6 label {
    color: var(--uke-fg-lvl-1);
}

input[type=checkbox].ticket_day {
    margin-right: 1em;
}

span.ticket_info_name {
    user-select: none;
}

select {
    -webkit-padding-before: 4px;
    -webkit-padding-after: 4px;
}

/*
form, fieldset,  option, input, textarea, button, aside.topbar span {
    max-width: 100%;
}

select {
    max-width: 100%;
}
*/

select, option, input, textarea, button, summary, aside.topbar span {
    outline: none;
    font-size: medium;
    border-radius: 0;
}

label, span.more_info {
    font-size: medium;
}

span.label {
    cursor: default;
}

span.pseudo_link {
    cursor: pointer;
}

input:invalid, textarea:invalid, select:invalid {
    border: 2px solid var(--uke-alert) !important;
}

input.erroneous, textarea.erroneous, select.erroneous {
    border: 3px dotted var(--uke-alert) !important;
}

input.invalid, textarea.invalid, select.invalid, span.full {
    color: var(--uke-alert) !important;
}

input[type=checkbox] + label {
    padding: 1px;
}

input[type=checkbox]:focus + label, input[type=radio]:focus + label {
    border: 1px dotted var(--uke-text) !important;
}

span.group_select:focus-within {
    border: 1px dotted var(--uke-text) !important;
}

input[type=button]:disabled, input[type=reset]:disabled, input[type=submit]:disabled, input[type=file]:disabled, button:disabled, button:disabled span {
    color: var(--uke-text-light);
}

select:disabled {
    color: var(--uke-text);
    background-color: white;
}

hr.top-separator, hr.bottom-separator {
    margin: 1ex 0 1ex 0;
}

hr.plain {
    border-bottom: 1px solid var(--uke-text);
    height: 0;
    margin: 0.5ex 0 0.5ex 0;
}

hr.double {
    border-bottom: 1px solid var(--uke-text);
    border-top: 1px solid var(--uke-text);
    height: 2px;
    margin: 0.5ex 0 0.5ex 0;
}

hr.visible {
    border: 1px solid var(--uke-bg-lvl-3);
    height: 0;
}

hr.invisible {
    border: 0;
    height: 0;
}

hr {    /* vertical space in minimarkdown */
    background-color: transparent;
    border: 1px solid transparent;
    height: 1ex;
}

span.nobr {
    white-space: nowrap;
    margin-bottom: 1ex;
}

span.wrap {
    white-space: normal;
    margin-bottom: 1ex;
}

a.preview  {
    font-size: small;
    color: var(--uke-visited);
    cursor: pointer;
}

a.preview:hover {
    text-decoration: underline;
}

legend, details.popup_details summary {
    cursor: default;
}

footer.button_row {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    overflow: auto;

}

footer.button_row span.edit_actions {
    flex: 0 0 1;
}

footer.button_row span.local_actions {
    flex: 0 0 1;
}

footer.button_row span.global_actions {
    flex: 0 0 2;
    text-align: right;
}

/*
 * topbar head area (filter)
 */

aside.topbar {
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 1em;
    margin-top: 1em;
    justify-content: space-between;
    align-items: baseline;
    row-gap: 1ex;
}

form.date_filter,
form.sort,
form.role_filter,
form.user_filter {
    display: inline-block;
    padding-left: 1ex;
    padding-right: 1ex;
}

span.distance {
    padding-left: 1em;
    padding-right: 1em;
}

select.role_switch {
    color: var(--uke-alert);
}

button.filter,
input[type=button].filtered,
input[type=text].user_switch,
select.user_switch,
select.filter,
input.filter {
    color: var(--uke-emph);
}

button.hascontent,
input[type=button].hascontent {
    font-weight: bold;
}

/*
 * all kind of lists
 */

summary span.past,
summary span.past span.module_ro_info,
summary span.past span.course_ro_info,
summary span.past span.ticket_ro_info,
summary span.past input[type=text].module_summary:not(.active),
summary span.past input[type=text].ticket_summary:not(.active),
summary span.past input[type=text].course_summary:not(.active) {
    color: var(--uke-text-light);
}

span.hidden {
    display: none;
}

div.module_list, div.course_list, div.ticket_list {
    margin-top: 1em;
    margin-left: var(--uke-gap);
}

details.module_accord.enrolled > summary::marker,
details.course_accord.enrolled > summary::marker,
details.ticket_accord.enrolled > summary::marker {
    color: var(--uke-text);
}

summary.module_head.new::marker,
summary.course_head.new::marker,
summary.ticket_head.new::marker {
    content: "+ ";
    font-weight: bold;
    font-size: larger;
    color: var(--uke-text);
}

summary.module_head.new > span.module_detail:has(input[readonly]) {
    border: 3px solid var(--uke-fg-lvl-1);
}
summary.module_head.new input[readonly]::placeholder {
    color: var(--uke-text);
    font-weight: bold;
}

summary.course_head.new > span.course_detail:has(input[readonly]) {
    border: 3px solid var(--uke-fg-lvl-2);
}
summary.course_head.new span.course_new:has(input:not([readonly])) {
    color: var(--uke-text);
}
summary.course_head.new span.course_new:has(input[readonly]),
summary.course_head.new input[readonly]::placeholder {
    color: transparent;
}
summary.course_head.new span.prefix:has(+span input[readonly]) {
    color: var(--uke-text);
    font-weight: bold;
}
summary.course_head.new span.prefix:has(+span input:not([readonly])) {
    display: none;
}


summary.ticket_head.new > span.ticket_detail:has(input[readonly]) {
    border: 3px solid var(--uke-fg-lvl-3);
}
summary.ticket_head.new input[readonly]::placeholder {
    color: var(--uke-text);
    font-weight: bold;
}

/*
summary.module_head.new > span {
    border: 3px solid var(--uke-fg-lvl-1);
}
summary.course_head.new > span {
    border: 3px solid var(--uke-fg-lvl-2);
}
summary.ticket_head.new > span {
    border: 3px solid var(--uke-fg-lvl-3);
}
*/

/*
 * module list
 */

details.accord {
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 1em;
    justify-content: space-between;
    overflow: auto;
    max-width: 100%;
}

details.accord > summary::marker {
    color: transparent;
}

summary.acc_head {
    width: 100%;
}

span.module_detail {
    vertical-align: middle;
    display: inline-block;
    width: calc(100% - (1.5 * var(--uke-gap)));
    background-color: var(--uke-bg-lvl-1);
    color: var(--uke-text);
    pointer-events: none;
}

span.module_variable {
    display: inline-block;
    width: 95%;
    background-color: var(--uke-bg-lvl-1);
    color: var(--uke-text);
}

span.module_ro_variable {
    max-width: 90%;
}

input[type=text].module_title {
    display: inline-block;
    width: 100%;
    border-style: solid;
    border-color: var(--uke-bg-lvl-1);
    background-color: var(--uke-bg-lvl-1);
    color: var(--uke-text);
    pointer-events: none;
}

span.module_ro_info {
    width: 9%;
    text-align: right;
}

summary.module_head:hover span.module_detail,
summary.module_head:hover span.module_summary:not(.active),
summary.module_head:hover span.module_new:not(.active),
summary.module_head:hover input[type=text].module_title:not(.active),
summary.module_head:hover span.module_info {
    background-color: var(--uke-fg-lvl-1);
    border-color: var(--uke-fg-lvl-1);
    color: white;
}

input[type=text].course_ro_info {
    display: inline-block;
    border-style: solid;
    border-color: var(--uke-bg-lvl-2);
    background-color: var(--uke-bg-lvl-2);
    color: var(--uke-text);
    pointer-events: none;
}

section.module_details {
    background-color: var(--uke-bg-lvl-1);
    margin-right: var(--uke-gap);
}

/*
 * course rw list
 */

span.course_detail {
    vertical-align: middle;
    display: inline-block;
    width: calc(100% - (2.5 * var(--uke-gap)));
    background-color: var(--uke-bg-lvl-2);
    color: var(--uke-text);
    pointer-events: none;
}

span.course_ro_detail {
    overflow: auto;
    //white-space: nowrap;
    pointer-events: none;
}


span.course_variable {
    display: inline-block;
    background-color: var(--uke-bg-lvl-2);
    color: var(--uke-text);
}

input[type=date].course_begin_date, input[type=date].course_end_date,
input[type=time].course_begin_time, input[type=time].course_end_time,
input[type=text].course_begin_date, input[type=text].course_end_date,
input[type=text].course_begin_time, input[type=text].course_end_time {
    display: inline-block;
    padding-right: 1em;
    border-style: solid;
    border-color: var(--uke-bg-lvl-2);
    background-color: var(--uke-bg-lvl-2);
    color: var(--uke-text);
    pointer-events: none;
}

summary.course_head:hover span.course_detail,
summary.course_head:hover span.course_summary,
summary.course_head:hover span.course_new,
summary.course_head:hover span.course_variable,
summary.course_head:hover input[type=text].course_summary:not(.active),
summary.course_head:hover input[type=text].course_new:not(.active) {
    background-color: var(--uke-fg-lvl-2);
    border-color: var(--uke-fg-lvl-2);
    color: white;
}

section.course_details {
    background-color: var(--uke-bg-lvl-2);
    margin-right: calc(2 * var(--uke-gap));
}

/*
select.course_room {
    max-width: min(calc(100% - 3ex), 40em);
}
*/

/*
 * course ro list
 */ 

span.course_info_date {
    display: inline-block;
    min-width: min(100%, 12em);
}

span.course_info_time {
    display: inline-block;
    min-width: min(100%, 14em);
}

SPan.course_info_free {
    display: inline-block;
    min-width: min(100%, 9em);
}

span.course_info_price {
    display: inline-block;
    min-width: min(100%, 4em);
}

span.course_info_room {
    display: inline-block;
    min-width: min(100%, 32em);
}

/*
 * ticket (rw) list
 */

span.ticket_detail {
    vertical-align: middle;
    display: inline-block;
    width: calc(100% - (3.5 * var(--uke-gap)));
    background-color: var(--uke-bg-lvl-3);
    color: var(--uke-text);
    pointer-events: none;
}

span.ticket_variable {
    display: inline-block;
    width: 60%;
    background-color: var(--uke-bg-lvl-3);
    color: var(--uke-text);
}

summary.ticket_head:hover span.ticket_detail,
summary.ticket_head:hover input[type=text].ticket_summary,
summary.ticket_head:hover pan.ticket_ro_info,
summary.ticket_head:hover input[type=text].ticket_ro_info {
    background-color: var(--uke-fg-lvl-3);
    border-color: var(--uke-fg-lvl-3);
    color: white;
}

span.ticket_info {
    display: inline-block;
    width: 9%;
    text-align: right;
}

span.ticket_ro_info, input[type=text].ticket_ro_info {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

span.ticket_info_name {
    display: inline-block;
    min-width: min(100%, 32em);
}

input[type=text].ticket_info_name {
    display: inline-block;
    width: 95%;
    border-style: solid;
    border-color: var(--uke-bg-lvl-3);
    background-color: var(--uke-bg-lvl-3);
    color: var(--uke-text);
    pointer-events: none;
}

section.ticket_details {
    background-color: var(--uke-bg-lvl-3);
    margin-right: calc(3 * var(--uke-gap));
}

input[type=checkbox].ticket_check.verifying, input[type=checkbox].ticket_check.pending {
     display: none;
}

input[type=text].ticket_info_name.verifying:not(.invalid, .erroneous),
input[type=text].ticket_info_name.pending:not(.invalid, .erroneous) {
    color: var(--uke-emph);
}

summary.ticket_head:hover input[type=text].ticket_info_name.pending:not(.invalid, .erroneous),
summary.ticket_head:hover input[type=text].ticket_info_name.verifying:not(.invalid, .erroneous) {
    color: var(--uke-attn);
}

/*
 * details area
 */

a.preview {
    display: inline-block;
    margin-bottom: 1ex;
}

fieldset.module_preview, fieldset.course_preview, fieldset.ticket_preview {
    display: inline-block;
    min-width: min(100%, 12em);
    /* max-width: 100%; */
    border: none;
}

fieldset.group {
    border: 1px solid var(--uke-text);
    margin-bottom: 1ex;
}

input[type=text].active, input[type=number].active, input[type=date].active, input[type=time].active,
select.active, textarea.active {
    background-color: var(--uke-edit);
    color: var(--uke-text);
    pointer-events: auto;
}

section.module_details, section.course_details, section.ticket_details {
    margin-top: .25em;
    margin-left: var(--uke-gap);
}

div.module_details, div.course_details, div.ticket_details {
    display: flex;
    flex-flow: row wrap;
    justify-content: start;
    overflow: auto;
    max-width: 100%;
}

div.module_preview, div.course_preview, div.ticket_preview {
    margin-top: 1ex;
    margin-bottom: 1ex;
    resize: both;
    display: block;
}

div.module_description, div.course_description {
    margin-bottom: 1em;
}

textarea.module_description {
    display: inline;
    width: 50em;
    min-width: min(100%, 12em);
    min-height: 3.6em;
    line-height: 1.2em;
    margin-bottom: 1ex;
}

textarea.course_description {
    display: inline;
    width: min(100%, 48em);
    min-width: min(100%, 12em);
    min-height: 3.6em;
    line-height: 1.2em;
    margin-bottom: 1ex;
}

textarea.ticket_comment {
    display: inline;
    width: min(100%, 46em);
    min-width: min(100%, 12em);
    min-height: 3.6em;
    line-height: 1.2em;
    margin-bottom: 1ex;
}

fieldset.fields {
    display: flex;
    flex-flow: column wrap;
    align-items: space-between;
    overflow: auto;
}

fieldset.fields:not(.group) {
    border: none;
}

/*
div.course_details > fieldset.fields {
    width: min-content;
}
*/

button.list_button {
    width: 2em;
    height: 1.3em;
    margin-top: 2px;
}

div.edit_buttons {
    margin-bottom: 1ex;
}

div.side_by_side {
    display: flex;
    flex-flow: row nowrap;
    align-content: flex-start;
    column-gap: 0;
    max-width: 100%;
}

div.button_column {
    display: flex;
    flex-flow: column wrap;
    row-gap: 0;
    padding: 1ex 0 0 1ex;
}

div.select {
    max-width: calc(100% - 2.5em);
    overflow: auto;
}

div.select div {
    width: fit-content;
}

select.list {
    min-width: 18em;
}

select.list option.lect:first-child:not(:only-child) {
    font-weight: bold;
}

option.placeholder, option.separator {
    color: var(--uke-text-light);
}

input.search::placeholder {
    text-align: right;
}

option#role_reload {
    color: var(--uke-fg-lvl-1);
}

select.course_room:has(option.placeholder:checked) {
    /* requires chrome, or ff 103+ with layout.css.has-selector.enabled set -- mpi 2023-01-03 */
    color: var(--uke-text-light);
}

select.runas, option.separator {
    width: min(100%, 22em);
    overflow: clip;
}

form.lang {
    margin-left: 1em;
    display: inline;
}

/*
 * information blocks
 */

header.status_message {
    position: sticky;
    top: 1ex;
}

footer.status_message_2 {
    position: sticky;
    bottom: 1ex;
}

p.alert {
    display: block;
    text-align: center;
    font-weight: bold;
    color: white;
    background-color: var(--uke-alert);
}

p.attn {
    display: block;
    text-align: center;
    font-weight: bold;
    color: var(--uke-text);
    background-color: var(--uke-attn);
}

p.success {
    display: block;
    text-align: center;
    font-weight: bold;
    color: var(--uke-text);
    background-color: var(--uke-success);
}

p.progress {
    display: block;
    text-align: center;
    font-weight: bold;
    color: white;
    background-color: var(--uke-fg-lvl-1);
}

p.none {
    //display: none;
    color: transparent;
    background-color: transparent;
}

p.footnote {
    margin-top: 0.5in;
    border-top: 1px solid grey;
    width: min(100%, 50em);
}

footer.rootbox {
    width: 100%;
    margin-top: 1ex;
    padding-top: 1em;
    border-top: 1px solid var(--uke-text-light);
    color: var(--uke-text-light);
}

/*
footer.rootbox > details > div > hr {
    margin-bottom: 1ex;
}
*/

div.testarea {
    margin-top: 1ex;
    background-color: lemonchiffon;
}

footer.footstamp {
    width: 100%;
    margin-top: .5in;
    padding-top: 1ex;
    color: var(--uke-text-light);
}

span.footleft {
    display: inline-block;
    text-align: left;
    width: 32%;
}

span.footright {
    display: inline-block;
    text-align: right;
    width: 35%;
}

span.footalign {
    display: inline-block;
    width: 31%;
}

span.footcenter {
    display: var(--uke-centerfoot);
    text-align: center;
    color: var(--uke-text-light);
    width: 100%;
}

span.vdistance {
    line-height: 2em;
}

/*
 * help popup
 */

article.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

article.popup section.popup_content {
    display: none;
    position: absolute;
    z-index: 1000;
    width: auto;
    min-width: 3em;
    max-width: calc(100vw-4rem);
    height: auto;
    min-height: 3em;
    max-height: calc(100vh-4rem);
    /* padding: 1ex; */
    border: 1px solid var(--uke-fg-lvl-3);
    background-color: #f0f0f0;
    flex-flow: column nowrap;
    box-shadow: 20px 20px 10px rgba(50, 50, 50, 0.75);
    box-sizing: border-box;
    overflow: auto;
    resize: both;
}

dialog.popup_content {
    padding: 0;
    box-shadow: 10px 10px 5px rgba(50, 50, 50, 0.75);
    box-sizing: border-box;
    overflow: auto;
    height: fit-content;
    resize: both;
    min-width: 3em;
    min-height: 3em;
    border: 1px solid var(--uke-fg-lvl-3);
}

dialog.popup_content::backdrop {
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.popup_content form {
    margin: 0;
}

.popup_content header.popup_header {
    cursor: default;
    box-sizing: border-box;
    height: var(--uke-header-height);
}

.popup_content span.popup_title {
    display: inline-block;
    padding: 0 1ex 0 1ex;
    color: var(--uke-text);
    background-color: var(--uke-bg-lvl-1);
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}

dialog.popup_content span.popup_title {
    width: calc(100% - 2ex);
    cursor: default;
}

section.popup_content span.popup_title {
    width: calc(100% - 1em - 2ex);
}

.popup_content span.closebox {
    color: var(--uke-text);
    vertical-align: top;
    font-weight: bold;
    text-align: center;
    font-size: 1.2em;
}

dialog.popup_content span.closebox {
    display: none;
}

.popup_content div.popup_body {
    padding: 1ex;
    box-sizing: border-box;
    overflow: auto;
}

section.popup_content div.popup_body {
    height: calc(100% - var(--uke-header-height));
}

section.popup_content div.popup_body.with_footer {
    height: calc(100% - var(--uke-header-height) - var(--uke-footer-height));
}

dialog.popup_content form.popup_form {
    height: calc(100% - var(--uke-header-height));
    box-sizing: border-box;
}

dialog.popup_content div.popup_body {
    height: calc(100% - var(--uke-footer-height));
}

article.popup span.closebox:hover {
}

select#select_result, select#list_result {
    margin-top: 1ex;
}

.popup_content footer.popup_buttons {
    padding: 1ex;
    box-sizing: border-box;
    height: var(--uke-footer-height);
}

.popup_content footer.popup_buttons button.popup_button {
    min-width: 4em;
}

input[type=button].ticket_button, input[type=button].course_button, input[type=button].module_button {
    min-width: 4em;
}

span.edit_buttons {
    margin-right: 1ex;
}

span.edit_buttons button {
    min-width: 3ex;
    padding: 0;
    margin: 0;
}

details.popup_details {
    font-size: smaller;
    margin: 1ex 1em 1ex 1em;
}

section#help_popup table {
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
}

section#help_popup tr {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

section#help_popup td,
section#help_popup td * {
    margin: 0;
    font-family: var(--uke-font);
}

section#help_popup td code,
section#help_popup td tt {
    font-family: monospace;
}

table.history th {
    background-color: lavender;
}

table.history td.current {
    background-color: var(--uke-edit);
}

table.history td.modified {
    color: var(--uke-alert);
}

/*
 * external view
 */

div.ext_module_type {
    font-size: normal;
    padding: 0 0 1ex 0;
    color: var(--uke-text-light);
}

div.ext_module_title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

div.ext_module_title > a {
    color: var(--uke-fg-lvl-1);
    font-weight: bold;
    font-size: large;
    text-decoration: none;
}

div.ext_module_title > a:hover {
    text-decoration: underline;
}

div.ext_module_title div.ext_module_subtitle {
    margin: 0 0 1ex 0;
    font-size: normal;
    font-weight: bold;
    white-space: normal;
    overflow: auto;
    text-overflow: unset;
}

div.ext_module_more {
    font-size: normal;
}

div.ext_list_row {
    border-bottom: 1px solid var(--uke-bg-lvl-3);
    padding: 2ex 1ex 2ex 1ex;
}

div.ext_list_row:nth-of-type(1) {
    border-top: 1px solid var(--uke-bg-lvl-3);
}

div.ext_list_row:hover {
    background-color: var(--uke-bg-lvl-1);
}

div.ext_module_list {
    width: 100%;
    margin: auto;
}

div.ext_module_body, div.ext_module_head {
    display: flex;
    flex-flow: row nowrap;
    align-content: center;
}

div.ext_module_head {
    background-color: var(--uke-bg-lvl-1);
    justify-content: space-between;
    align-items: center;
}

div.ext_module_body {
    align-items: baseline;
    justify-content: flex-start;
    padding: 1ex;
    column-gap: 1em;
}

div.ext_module_body:before {
    content: "";
    border: 1px solid var(--uke-bg-lvl-3);
    align-self: stretch;
    flex: 0 0 0
}

div.ext_backlink > a {
    text-decoration: none;
    font-size: 150%;
    color: var(--uke-fg-lvl-1);
    padding: 1ex;
}

div.ext_module_name {
    background-color: var(--uke-bg-lvl-1);
}

div.ext_module_head h3, div.ext_module_title h3 {
    font-weight: bold;
    font-size: 150%;
    /* text-align: center; */
    padding: 1ex 1ex 0 1ex;
    margin: 0;
}

div.ext_module_head div.ext_module_type {
    padding-left: 4ex;
    color: var(--uke-fg-lvl-3);
}

div.ext_module_left {
    order: -1;      /* move onto left side of separator in >flex-container>:before */
    flex: 1 0 64%;
}

div.ext_description {
}

div.ext_module_right {
    order: 1;
    flex: 0 0 31%;
}

div.ext_contact {
}

div.ext_section {
    padding-top: 2ex;
}

div.ext_sect_title {
    padding: .75ex 0 .5ex 0;
    font-weight: bold;
}

div.ext_term {
    padding-top: 1ex;
    border-top: 1px solid var(--uke-bg-lvl-3);
    color: var(--uke-fg-lvl-1);
    background-color: white;
}


div.ext_term:hover {
    background-color: var(--uke-bg-lvl-2);
}

div.ext_term_info {
}

span.ext_important {
    font-weight: bold;
}

div.ext_info_block {
    padding-bottom: 1ex;
}

div.ext_info_block > a {
    font-weight: bold;
    text-decoration: none;
}

div.ext_info_block > a:hover {
    text-decoration: underline;
}

div.ext_remarks {
}

a.ext_preview {
    text-decoration: none;
    font-size: normal;
    color: var(--uke-fg-lvl-1);
}

div.ext_module_info {
    width: 100%;
    margin: auto;

}

details.modal_details {
    /* border-radius: 0px; */
    /* border-bottom: 1px solid var(--uke-fg-lvl-1); */
    margin-bottom: 1ex;
}

details.modal_details summary {
    cursor: default;
}


/*
details.modal_details:nth-of-type(1) {
    border-top: 1px solid var(--uke-fg-lvl-1);
}
*/

details.modal_details > summary {
    background-color: var(--uke-bg-lvl-3);
}

div.modal_info {
    margin-bottom: 1ex;
}

div.modal_warn {
    /* background-color: var(--uke-alert); */
    border: 2px solid var(--uke-alert);
    color: var(--uke-alert);
    text-align: center;
}

input[type=text].buy:read-only {
    background-color: var(--uke-bg-lvl-3);
}

a.jslink:hover {
    text-decoration: underline;
}

a.jslink {
    text-decoration: none;
    color: var(--uke-emph);
}

.pin:focus {
    background-color: var(--uke-emph);
    color: white;
}

.pin {
    font-size: 6pt;
    cursor: default;
}

select.toolbox {
    /* appearance: none; */
}

.mailtext {
    font-family: monospace;
}

input[type=file]::file-selector-button:focus {
    border: 2px solid var(--uke-text);
}

input[type=file]:focus {
    border: 1px dotted var(--uke-text) !important;
}

input[type="file"]::file-selector-button {
    font-family: var(--uke-font);
    color: var(--uke-text);
    outline: none;
    font-size: medium;
    border-radius: 0;
}

/* vim:et:ts=4:sw=4:sts=4:tw=0:ft=css
 */

