/*
 * style for metaf2xml UI
 * copyright (c) 2013-2019 metaf2xml
 */

@media screen {
    #head_logo h1 {
        font-size: 100%;
        font-weight: 600;
    }
}
@media screen and (min-width: 877px) {
    #head_logo h1 {
        font-size: 130%;
        font-weight: 700;
    }
}

html {
    font-family: "Source Sans Serif", sans-serif;
    font-size: 14px;
}

body {
    background-color: #EEF;
    margin: 8px 1%;
    padding: 0;
    -webkit-text-size-adjust: 100%;
}

h1 {
    font-size: 140%;
    margin: 0;
}

h2, h3, h4 {
    background-color: #CCF;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    margin-bottom: 0.5em;
    padding: 0.5em 1% 0 1%;
}

h2 {
    border-bottom: 1px solid #000;
    font-size: 120%;
}

h3 {
    font-size: 110%;
    text-decoration: underline;
}

a[href]:link, a[href]:visited {
    text-decoration: none;
}

a[href]:hover {
    text-decoration: underline;
}

#head_logo h1:before {
    border: 0;
    content: url(images/metaf2xml48x48.png); /* alt: "metaf2xml Logo"; */
    float: left;
    height: 48px;
    margin: 0 1% 0 0;
    width: 48px;
}
#head_logo {
    background-color: #EEF;
    margin: 0;
    min-height: 60px; /* prevents further floating. works for all browsers */
    padding: 8px 0 0;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

#info p {
    padding: 0.5em;
    margin: 0;
}

#info {
    border-bottom: 1px solid #000;
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
}

.nowrap { white-space: nowrap; }
.left   { text-align: left; }
.right  { text-align: right; }
.top    { vertical-align: top; }
.bottom { vertical-align: bottom; }

form table {
    border-spacing: 0;
    border-width: 0;
}
form table:nth-child(2) {
    width: 100%;
}

.output {
    margin-top: 1em;
}

.output table {
    /* "outset" colors vary from browser to browser */
    background-color: #FFF;
    border: 1px solid;
    border-color: #AAA #000 #000 #AAA;
    margin: 0 0 1em 0;
    padding: 0;
}

.output td, .output th {
    /* "inset" colors vary from browser to browser */
    border: 1px solid;
    border-color: #000 #AAA #AAA #000;
    padding: 2px;
}

.outputsum td, .outputsum th {
    padding: 3px;
}

.output pre {
    background-color: #FFF;
    border: 3px double;
    border-color: #AAA #000 #000 #AAA;
    display: table-cell;
    font-size: 90%;
    margin: 0;
    padding: 0.3em;
}

.output p {
    padding: 0;
    margin: 0.1em 0 0.1em 0.3em;
}

.output dl {
    margin: 0;
}

.output .msg {
    font-family: "Source Code Pro", monospace;
    font-size: 90%;
}

code, .mono {
    font-family: "Source Code Pro", monospace;
}

.button, select {
    font-family: inherit;
    font-size: 100%;
}

.button {
    padding: 2px;
}

input[type="radio"]    + input[type="radio"],
input[type="checkbox"] + input[type="checkbox"] {
    margin-left: 1em;
}
input[type="text"] {
    border-width: 1px;
}

footer {
    margin-top: 1em;
}

img[alt="SourceForge.net Logo"] {
    border: 0;
    vertical-align: text-bottom;
}
