/* --------------------------------------------------------------------------
 * XMLmind core styles
 * -------------------------------------------------------------------------- */

body {
    font-family: apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    color: #212529;
    background-color: #FFFFFF;
    margin:0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #394986;
    font-weight: 600;
    margin: 1em 0;
}

h1 {
    font-size: 1.33em;
    line-height: 1.13; /* 1.5/1.33 */
    margin: 0.75em 0; /* 1/1.33 */
}

h2 {
    font-size: 1.25em;
    line-height: 1.2; /* 1.5/1.25 */
    margin: 0.8em 0; /* 1/1.25 */
}

h3 {
    font-size: 1.17em;
    line-height: 1.28; /* 1.5/1.17 */
    margin: 0.85em 0; /* 1/1.17 */
}

h4 {
    font-size: 1.08em;
    line-height: 1.39; /* 1.5/1.08 */
    margin: 0.92em 0; /* 1/1.08 */
}

h5,
h6 {
    font-size: 1em;
    line-height: 1.5;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 0;
}

p,
pre,
ol,
dl,
ul,
table,
hr {
    margin: 1em 0;
}

caption {
    font-style: italic;
    text-align: center;
    margin-top: 1em;
    margin-bottom: 0.25em;
}

hr {
    height: 1px;
    border-style: none;
    background-color: #D0D0D0;
}

blockquote {
    margin: 2em 4em;
}

code,
tt,
kbd,
samp,
var,
pre {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.917em;
    /*No line-height change for inlines*/
}

kbd {
    font-weight: bold;
    background-color: #F0F0F0;
    border: 1px solid #808080;
    border-radius: 3px;
    padding: 0.125em 0.25em;
}

samp {
    background-color: #F0F0F0;
    padding: 0.125em 0.25em;
}

var {
    font-style: italic;
}

abbr {
    font-weight: bold;
    text-decoration: none;
}

cite {
    font-style: italic;
}

dfn {
    font-style: italic;
    border-bottom: 1px dotted #808080;
}

pre {
    line-height: 1.63; /* 1.5/0.917 */
    white-space: pre;
    background-color: #F0F0F0;
    border: 1px dotted #D0D0D0;
    padding: 0.25em 0.5em;
    margin: 1.1em 0; /* 1/0.917 */
}

ul {
    list-style-type: disc;
    list-style-image: none;
}

ul ul {
    list-style-type: square;
}

ul ul ul {
    list-style-type: circle;
}

ul ul ul ul {
    list-style-type: disc;
}

ul ul ul ul ul {
    list-style-type: square;
}

ul ul ul ul ul ul {
    list-style-type: circle;
}

ul ul ul ul ul ul ul {
    list-style-type: disc;
}

ol {
    list-style-image: none;
}

li {
    margin: 1em 0;
}

*[compact] > li,
.xmcompact > li {
    margin-top: 0;
    margin-bottom: 0;
}

dt {
    margin-top: 1em;
    margin-bottom: 0;
}

dt + dt {
    margin-top: 0;
}

dd {
    margin-top: 0;
    margin-bottom: 1em;
}

dt > *:last-child {
    margin-bottom: 0;
}

dd  > *:first-child {
    margin-top: 0;
}

*[compact] > dt,
.xmcompact > dt {
    margin-top: 0;
}

*[compact] > dd,
.xmcompact > dd {
    margin-bottom: 0;
}

a:link:hover,
a:visited:hover {
    text-decoration: underline;
}

a:link {
    text-decoration: none;
    color: #004668;
}

a:visited {
    text-decoration: none;
    color: #135678;
}

/* --------------------------------------------------------------------------
 * XMLmind style classes
 * -------------------------------------------------------------------------- */

/* A page must start with a h1.title. */

.xmtitle {
    border-bottom: 1px solid #394986;
    padding-bottom: 0.25em;
    margin-top: 0;
}

/* Used in licenses. */

.xmtitlebox {
    border: 2px solid #8795cc; /*Dimmer #394986*/
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 1em;
    margin: 1em 0;
}

.xmqna {
    border: 2px solid #8795cc; /*Dimmer #394986*/
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 1em;
    margin: 2em 0;
}

.xmnote,
.xmsidebar {
    background-color: #f0f4f7;
    border: 1px solid #dce4ec;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 1em;
    margin: 2em 4em;
}

.xmqna  > *:first-child,
.xmnote > *:first-child,
.xmsidebar > *:first-child {
    margin-top: 0;
}

.xmqna > *:last-child,
.xmnote > *:last-child,
.xmsidebar > *:last-child {
    margin-bottom: 0;
}

.xmtable {
    border-collapse: collapse;
    border: 1px solid #808080;
    margin-left: auto;
    margin-right: auto;
}

.xmtable th,
.xmtable td {
    border: 1px solid #808080;
    padding: 0.25em 0.5em;
}

.xmtable tbody th,
.xmtable td {
    vertical-align: baseline;
}

.xmthead1 {
    background-color: #E0E0E0;
}

.xmthead2 {
    background-color: #F0F0F0;
}

.xmfig {
    text-align: center;
    margin: 2em 0;
}

.xmfnsepar {
    width: 4em;
    background-color: #D0D0D0;
    margin-top: 2em;
    margin-bottom: 0.5em;
    margin-left: 0;
    margin-right: auto;
}

.xmfn {
    font-size: 0.83em;
    line-height: 1.81;
    color: #808080;
}
/* --------------------------------------------------------------------------
 * XMLmind navigation styles
 * ----------------------------------------------------------------------- */

#xmnheader {
    line-height: 1;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #c9e6f5;
    border-bottom: 1px solid #D0D0D0;
    margin: 0;
}

td#xmnmenu {
    display: none;
    width: 32px;
    padding: 8px 4px;
}

img#xmnmenuicon {
}

td#xmnlogo {
    width: 80px;
    padding: 0;
}

img#xmnlogoicon {
    width: 48px;
}

td#xmntitle {
    font-size: 1.25em;
    line-height: 0.8; /* 1/1.25 */
    color: #394986;
    font-weight: bold;
    padding: 0.4em 0; /* 0.5/1.25 */
}

td#xmnlinks,
td#xmntools {
    font-size: 0.917em;
    line-height: 1.1; /* 1/0.917 */
}

td#xmnlinks {
    padding: 0.54em 0.54em 0 0; /* 0.5/0.917 */
}

td#xmntools {
    padding: 0 0.54em 0.54em 0; /* 0.5/0.917 */
}

a.xmnlink {
    color: #394986;
}

.xmntoolsep {
    color: #a3becc;
}

.xmntoolsep {
    padding-left: 0.54em; /* 0.5/0.917 */
    padding-right: 0.54em;
}

#xmnsearchfields {
    background-color: white;
    border: 1px solid #D0D0D0;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding: 3px;
    margin: 0;
}

#xmnsearchbutton,
#xmnsearchfield,
#xmnconverticons {
    vertical-align: middle;
    border-style: none;
    padding: 0;
    margin: 0;
}

#xmnsearchfield {
    font-family: inherit;
    font-size: inherit;
    margin-left: 3px;
}

#xmnbody {
    display: flex;
    position: relative;
}

#xmnleft {
    flex: none;
    width: 16em;
    white-space: nowrap;
    font-size: 0.917em;
    line-height: 1.36; /* 1.25/0.917 */
    border-right: 1px solid #D0D0D0;
    padding: 1.1em 0; /* 1/0.917 */
    background-color: #fff;
    opacity: 1;
}

#xmnright {
    padding: 1em;
}

.xmnentry1,
.xmnentry2 {
    margin-left: 3em;
    margin-right: 0;
}

div + .xmnentry1 {
    margin-top: 1.63em; /* 1.5/0.917 */
}

.xmnentry2 {
    margin-top: 0.27em; /* 0.25/0.917 */
    margin-bottom: 0.27em;
}

.xmnentryselected {
    font-weight: bold;
    background-color: #e3f5ff;
}

span.xmnbullet {
    color: #6b7599;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
    vertical-align: 0.125ex;
    padding-left: 0.54em; /* 0.5/0.917 */
    padding-right: 0.27em; /* 0.25/0.917 */
}

a.xmntext {
    color: #394986;
    padding: 0.27em; /* 0.25/0.917 */
}

img.xmnclickableimg {
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    cursor: pointer;
}

img.xmnclickableimg:hover {
    border-color: #004668;
}

img.xmnemailaddr {
    height: 1.1em;
    vertical-align: middle;
    border-style: none;
}

img.xmnwideimg {
    /*width > 400px*/
}

#xmncontents {
}

span.xmnterm[title] {
    font-style: italic;
    text-decoration: underline dotted;
}

div.xmfn#xmncopyright {
    margin-top: 9.64em; /* 8/0.83 */
}

/* --------------------------------------------------------------------------
 * XMLmind navigation styles
 * -------------------------------------------------------------------------- */

/*
 * Extra small devices (portrait phones, etc).
 */
@media (max-width: 575.98px) { 
    td#xmnmenu {
        display: table-cell;
    }

    #xmnleft {
        display: none;
    }

    img.xmnwideimg {
        width: 400px;
    }
}

/*
 * Small devices (landscape phones, etc).
 */
@media (max-width: 767.98px) { 
    td#xmnlogo {
        width: 32px;
        padding: 8px 4px;
    }

    img#xmnlogoicon {
        width: 24px;
    }

    td#xmnlinks,
    td#xmntools {
        display: none;
    }
}

/*
 * Portrait tablets.
 */
@media (max-width: 1023.98px) { 
    #xmnleft {
        width: 12em;
    }

    .xmnentry1,
    .xmnentry2 {
        margin-left: 0;
    }
}
/* --------------------------------------------------------------------------
 * Styles which are specific to this Web site
 * -------------------------------------------------------------------------- */

a.button,
a.button:link,
a.button:visited {
    font-weight: bold;
    text-decoration: none;
    color: black;
    background-color: #D0D0D0;
    background-image: linear-gradient(#F0F0F0, #D0D0D0);
    padding: 0.5ex 1.5ex;
    border: 1px solid #808080;
    border-radius: 3px;
}

/*
 * Gallery
 */

#screenshot-gallery td {
    width: 300px;
    padding: 1.5em;
}

#screenshot-gallery td > p {
    font-style: italic;
    font-size: 0.917em;
    line-height: 1.2;
    padding-top: 0.25em;
    margin: 0;
}

/*
 * Features
 */

#features-legend {
    margin: 1em 0;
}

#features-legend td {
    padding: 0.125em 0.25em;
}

/*
 * Testimonials
 */

.quote {
    margin: 4em;
}

.quote > p {
    margin-top: 0;
    margin-bottom: 0;
}

.quote > p + p {
    clear: both;
    text-indent: 36px;
}

.quote > p.quote-author {
    text-indent: 0;
    margin-top: 0.5em;
}

.quote-author,
.quote-author > a {
    font-weight: bold;
    color: #004668;
}

img.open-quote {
    float: left;
    margin-right: 8px;
}

/*
 * Tutorial
 */

table.lesson-entries {
    margin: 0;
}

div.lesson-entry {
    text-align: center;
    width: 30ex;
    height: 17ex;
    background-color: #FFFBE1;
    background-image: linear-gradient(#FFFBE1, white);
    border: 1px solid #EDE8CC;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    border-radius: 1em;
    padding: 0.5em;
    margin: 0.5em;
}

div.lesson-entry img {
    border-style: none;
}

/*
 * Used for the management of user contributions.
 */

#upload-page {
     margin: 1em;
}

#upload-page form table {
    font-size: 1em;
    border: 1px solid #D0D0D0;
    background-color: #F0F0F0;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
}

#upload-page form table td {
    padding: 1em;
}

#upload-page input[type=file] {
    background-color: white;
}
