/**
 * philosophy.srv.if.ua - Joomla 6 template "philosophy": the look of the DokuWiki template "dokuwiki" (Anika Henke,
 * Andreas Gohr, Clarence Lee; GPL 2) that the site had until November 2026, rebuilt for Joomla's markup.
 * Values from the wiki's style.ini: text #333, links #2b73b7, links to site pages #080, site background #fbfaf9,
 * borders #ccc, site width 75em, font Arial 87.5%/1.4, tablet 800px, phone 480px.
 */

/*____________ basic ____________*/

html {
    overflow-x: auto;
    overflow-y: scroll;
}
html,
body {
    color: #333;
    background: #fbfaf9 url(../images/page-gradient.png) top left repeat-x;
    margin: 0;
    padding: 0;
}
body {
    font: normal 87.5%/1.4 Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    padding: 0;
    line-height: 1.2;
    clear: left;
}
h1 { font-size: 2em;     margin: 0 0 .444em; }
h2 { font-size: 1.5em;   margin: 0 0 .666em; }
h3 { font-size: 1.125em; margin: 0 0 .888em; }
h4 { font-size: 1em;     margin: 0 0 1em; }
h5 { font-size: .875em;  margin: 0 0 1.1428em; }
h6 { font-size: .75em;   margin: 0 0 1.333em; }

p, ul, ol, dl, pre, table, hr, blockquote, figure, details, fieldset, address {
    margin: 0 0 1.4em 0;
    padding: 0;
}
div { margin: 0; padding: 0; }

ul, ol { padding: 0 0 0 1.5em; }
li, dd { padding: 0; margin: 0 0 0 1.5em; }
dt { font-weight: bold; margin: 0; padding: 0; }
li ul, li ol, li dl, dl ul, dl ol, dl dl { margin-bottom: 0; padding: 0; }
ul { list-style: square outside; }
ol { list-style: decimal outside; }
ol ol { list-style-type: lower-alpha; }

table { border-collapse: collapse; empty-cells: show; border-spacing: 0; border: 1px solid #ccc; }
th, td { padding: .3em .5em; margin: 0; vertical-align: top; border: 1px solid #ccc; }
th { font-weight: bold; background-color: #eee; text-align: left; }

a { outline: none; }
a:link,
a:visited {
    text-decoration: none;
    color: #2b73b7;
}
a:link:hover, a:visited:hover,
a:link:focus, a:visited:focus,
a:link:active, a:visited:active {
    text-decoration: underline;
}

img {
    border-width: 0;
    vertical-align: middle;
    color: #666;
    background-color: transparent;
    font-style: italic;
}
img, object, embed, iframe, video, audio { max-width: 100%; }

hr {
    border-top: solid #ccc;
    border-bottom: solid #fff;
    border-width: 1px 0;
    height: 0;
    text-align: center;
    clear: both;
}
blockquote {
    padding: 0 .5em;
    border: solid #ccc;
    border-width: 0 0 0 .25em;
}
sub, sup { font-size: .8em; line-height: 1; }
sup { vertical-align: super; }
sub { vertical-align: sub; }
small { font-size: .8em; }
mark { background-color: #ff9; color: inherit; }

form { display: inline; margin: 0; padding: 0; }
input, textarea, button, select {
    font: inherit;
    font-weight: normal;
    color: #333;
    background-color: #fff;
    line-height: normal;
    margin: 0;
    vertical-align: middle;
    box-sizing: border-box;
}
input, textarea, select {
    border: 1px solid #ccc;
    box-shadow: inset 0 0 1px #eee;
    border-radius: 2px;
}
input:focus, textarea:focus, select:focus { border-color: #999; }
input[type=submit], input[type=button], button, a.button {
    color: #333;
    background-color: #eee;
    background-image: linear-gradient(to bottom, #fff 0%, #f4f4f4 30%, #eee 99%, #ccc 99%);
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: .1em .5em;
    cursor: pointer;
}
input[type=submit]:hover, input[type=button]:hover, button:hover, a.button:hover {
    border-color: #999;
    background-color: #ddd;
    background-image: linear-gradient(to bottom, #fff 0%, #f4f4f4 30%, #ddd 99%, #bbb 99%);
}

/* hidden for the eye, there for screen readers */
.a11y,
.visually-hidden {
    position: absolute !important;
    left: -99999em !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/*____________ structure ____________*/

#dokuwiki__site {
    margin: 0 auto;
    max-width: 75em;
}
#dokuwiki__site > .site {
    padding: 0 2.5em; /* the right side holds the page tools, as in the wiki */
}
.group:before,
.group:after {
    content: " ";
    display: table;
}
.group:after {
    clear: both;
}
#dokuwiki__site .wrapper {
    position: relative;
    margin-bottom: 1.4em;
}

/*____________ header ____________*/

#dokuwiki__header {
    width: 100%;
    padding: 2em 0 1.5em;
}
#dokuwiki__header .headings {
    float: left;
}
#dokuwiki__header .tools {
    float: right;
    text-align: right;
    margin-top: .2em;
}
#dokuwiki__header .headings,
#dokuwiki__header .tools {
    margin-bottom: 1.5em;
    width: 49%;
}
#dokuwiki__header .logo {
    margin: 0;
    font-size: 1.5em;
    font-weight: normal;
    line-height: 1.2;
}
#dokuwiki__header .logo img {
    float: left;
    margin-right: .5em;
    height: 64px;
    width: auto;
}
#dokuwiki__header .logo span {
    display: block;
    padding-top: 10px;
}
#dokuwiki__header .logo a {
    text-decoration: none;
    color: #333;
    background-color: inherit;
}
#dokuwiki__header a {
    color: #2b73b7;
    background-color: inherit;
}
#dokuwiki__header .tools ul {
    padding-left: 0;
    margin-bottom: 0;
}
#dokuwiki__header .tools li {
    font-size: 0.875em;
    margin-left: 1em;
    list-style: none;
    display: inline;
    vertical-align: top;
}
#dokuwiki__sitetools {
    text-align: right;
}
#dokuwiki__sitetools form.search {
    font-size: 0.875em;
}

/* search box (Google site search, the wiki's own search until 2026) */
form.search {
    display: block;
    position: relative;
    margin-bottom: 0.5em;
}
form.search input[type=search],
form.search input[type=text] {
    width: 18em;
    padding: .35em 22px .35em .1em;
}
form.search button {
    background: transparent url(../images/search.png) no-repeat 0 0;
    border-width: 0;
    width: 19px;
    height: 14px;
    text-indent: -99999px;
    margin-left: -20px;
    box-shadow: none;
    padding: 0;
    overflow: hidden;
}
form.search button:hover {
    background: transparent url(../images/search.png) no-repeat 0 0;
}

/* "You are here" */
.dokuwiki div.breadcrumbs {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #fff;
    margin-bottom: .5em;
    font-size: 0.875em;
    clear: both;
}
.dokuwiki div.breadcrumbs div {
    padding: .1em .35em;
}
.dokuwiki div.breadcrumbs div:only-child {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #ccc;
}
.dokuwiki div.breadcrumbs .bcsep {
    font-size: 0.75em;
}
.dokuwiki div.breadcrumbs .curid {
    font-weight: bold;
}
.dokuwiki div.breadcrumbs nav,
.dokuwiki div.breadcrumbs ol {
    display: inline;
    margin: 0;
    padding: 0;
}
.dokuwiki div.breadcrumbs li {
    display: inline;
    margin: 0;
    list-style: none;
}

/*____________ content ____________*/

.dokuwiki .pageId {
    float: right;
    margin-right: -1em;
    margin-bottom: -1px;
    margin-top: -1.5em;
    overflow: hidden;
    padding: 0.5em 1em 0;
}
.dokuwiki .pageId span {
    font-size: 0.875em;
    border: solid #eee;
    border-width: 1px 1px 0;
    background-color: #fff;
    color: #999;
    padding: .1em .35em;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    box-shadow: 0 0 .5em #999;
    display: block;
}
.dokuwiki div.page {
    clear: both;
    background: #fff;
    color: inherit;
    border: 1px solid #eee;
    box-shadow: 0 0 .5em #999;
    border-radius: 2px;
    padding: 1.556em 2em 2em;
    margin-bottom: .5em;
    overflow-x: clip;
    overflow-y: visible;
    word-wrap: break-word;
}
.dokuwiki .docInfo {
    font-size: 0.875em;
    text-align: right;
    overflow-wrap: break-word;
}

/* links to the site's own pages: green, like the wiki's links to existing pages */
.dokuwiki div.page a:link,
.dokuwiki div.page a:visited {
    color: #080;
}
/* external links: blue with the arrow icon */
.dokuwiki div.page a.urlextern:link,
.dokuwiki div.page a.urlextern:visited {
    color: #2b73b7;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232b73b7' d='M14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3m-2 16H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7h-2v7Z'/%3E%3C/svg%3E") no-repeat 0 center;
    background-size: 1.2em;
    padding: 0 0 0 1.4em;
}

/* lists in the text: grey bullets (square) and numbers, dark text */
.dokuwiki div.page ul li::marker {
    color: #999;
}
.dokuwiki div.page ol li::marker {
    color: #666;
}

/* citations [N; page] link to item N of the essay's source list (ids dzherelo-N, refs.php);
   the item opened by such a link is highlighted */
.dokuwiki div.page a.ref:link,
.dokuwiki div.page a.ref:visited {
    text-decoration: none;
    border-bottom: 1px dotted #080;
}
.dokuwiki div.page a.ref:hover,
.dokuwiki div.page a.ref:focus {
    border-bottom-style: solid;
}
.dokuwiki div.page li[id^="dzherelo-"] {
    scroll-margin-top: 1.5em;
}
.dokuwiki div.page li[id^="dzherelo-"]:target {
    background-color: #ffc;
    outline: .3em solid #ffc;
}

/* the table of contents box on the start page (the wiki's TOC) */
#dw__toc {
    float: right;
    margin: -1.556em -2em .5em 1.4em;
    width: 16em;
    border-left: 1px solid #ccc;
    background: #fff;
    color: inherit;
}
#dw__toc summary.toggle {
    display: block;
    list-style: none;
    cursor: pointer;
    padding: .5em 1em;
    margin-bottom: 0;
    font-size: .875em;
    letter-spacing: .1em;
    font-weight: bold;
    line-height: 1.2;
}
#dw__toc summary.toggle::-webkit-details-marker {
    display: none;
}
/* the wiki's open/closed arrow */
#dw__toc summary.toggle::after {
    content: "";
    float: right;
    width: 8px;
    height: 5px;
    margin: .4em 0 0;
    background: transparent url(../images/toc-arrows.png) 0 0;
}
#dw__toc:not([open]) summary.toggle::after {
    background-position: 0 -5px;
}
#dw__toc > div {
    font-size: 0.875em;
    padding: .5em 1em 1em;
}
#dw__toc ul {
    padding: 0 0 0 1.2em;
    margin: 0;
}
#dw__toc ul li {
    list-style: none;
    list-style-image: url(../images/toc-bullet.png);
    padding: .2em 0;
    margin: 0;
    line-height: 1.1;
}
#dw__toc ul ul {
    padding-left: 1em;
}
#dw__toc ul ul li {
    padding-bottom: 0;
}
.dokuwiki div.page #dw__toc a:link,
.dokuwiki div.page #dw__toc a:visited {
    color: #2b73b7;
}
.category-desc h1,
.category-desc h2 {
    scroll-margin-top: 1em;
}

/* an essay: the list of its sections */
ul.essay-pages li {
    margin-bottom: .2em;
}

/* previous / next section of the essay */
nav.pagenavigation {
    clear: both;
    margin: 2em 0 0;
    padding-top: .7em;
    border-top: 1px solid #eee;
    font-size: .875em;
    overflow: hidden;
}
nav.pagenavigation .previous {
    float: left;
    max-width: 48%;
}
nav.pagenavigation .next {
    float: right;
    max-width: 48%;
    text-align: right;
}

/* edit icons and messages for the logged-in editor */
.dokuwiki .icons {
    float: right;
    font-size: .875em;
}
.dokuwiki .icons ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#system-message-container {
    margin-bottom: 1em;
}
#system-message-container joomla-alert,
#system-message-container .alert {
    display: block;
    padding: .5em 1em;
    border: 1px solid #ccc;
    background: #ffc;
    border-radius: 2px;
}
.alert-info {
    padding: .5em 1em;
    background: #eef;
    border: 1px solid #ccd;
}

/*____________ page tools: back to top ____________*/

#dokuwiki__pagetools {
    position: absolute;
    right: -2.5em;
    top: 2em;
    width: 2.5em;
}
#dokuwiki__pagetools div.tools {
    position: fixed;
    width: 2.5em;
}
#dokuwiki__pagetools ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#dokuwiki__pagetools li {
    margin: 0;
    list-style: none;
}
#dokuwiki__pagetools a {
    display: block;
    padding: 4px 0 4px 4px;
}
#dokuwiki__pagetools svg {
    width: 28px;
    height: 28px;
    fill: #ccc;
}
#dokuwiki__pagetools a:hover svg,
#dokuwiki__pagetools a:focus svg {
    fill: #2b73b7;
}

/*____________ footer ____________*/

#dokuwiki__footer {
    clear: both;
    margin-bottom: 1em;
    text-align: center;
}
#dokuwiki__footer > .pad {
    font-size: 0.875em;
}
#dokuwiki__footer div.buttons a img {
    opacity: 0.5;
}
#dokuwiki__footer div.buttons a:hover img,
#dokuwiki__footer div.buttons a:active img,
#dokuwiki__footer div.buttons a:focus img {
    opacity: 1;
}

/*____________ narrow screens (tablet) ____________*/

@media only screen and (max-width: 800px) {
    #dw__toc {
        float: none;
        margin: 0 0 1em 0;
        width: auto;
        border-left-width: 0;
        border-bottom: 1px solid #ccc;
    }
    #dw__toc summary.toggle {
        padding: 0 .5em .5em 0;
    }
    #dw__toc > div {
        padding: .2em 0 .5em;
    }
    .dokuwiki div.page {
        padding: 1em;
    }
}

/*____________ phones ____________*/

@media only screen and (max-width: 480px) {
    body {
        font-size: 100%;
    }
    #dokuwiki__site {
        max-width: 100%;
    }
    #dokuwiki__site > .site {
        padding: 0 .5em;
    }
    #dokuwiki__pagetools {
        display: none;
    }
    #dokuwiki__header {
        padding: .5em 0;
    }
    #dokuwiki__header .headings,
    #dokuwiki__header .tools {
        float: none;
        text-align: left;
        width: auto;
        margin-bottom: .5em;
    }
    #dokuwiki__sitetools {
        text-align: left;
    }
    #dokuwiki__sitetools form.search {
        float: left;
        margin: 0 .2em .2em 0;
        width: 49%;
    }
    #dokuwiki__sitetools form.search input {
        width: 100% !important;
        height: 2.1em;
    }
    #dokuwiki__sitetools ul {
        float: right;
        width: 49%;
        text-align: right;
        line-height: 2.1em;
    }
    .dokuwiki div.breadcrumbs,
    .dokuwiki .pageId {
        display: none;
    }
    .dokuwiki div.page {
        padding: .5em;
    }
}

/*____________ print ____________*/

@media print {
    html, body {
        background: #fff;
        color: #000;
        font-size: 11pt;
    }
    #dokuwiki__header .tools,
    .dokuwiki div.breadcrumbs,
    .dokuwiki .pageId,
    #dokuwiki__pagetools,
    #dokuwiki__footer,
    nav.pagenavigation,
    #dw__toc {
        display: none;
    }
    .dokuwiki div.page {
        border: 0;
        box-shadow: none;
        padding: 0;
    }
    .dokuwiki div.page a:link,
    .dokuwiki div.page a:visited {
        color: #000;
    }
}
