body {
    font-size: 10pt;
}

@page {
    size: auto;
    margin: 0 2cm;
}

body,
input,
select,
textarea,
button,
a,
a:visited,
#header,
#group-form li a,
#group-form li a:visited,
#header #nav .active a,
#header #nav .active a:visited {
    color: #000;
}

ul {
    margin: 0;
    padding: 0 2em;
}

#content h1 {
    margin-top: 2em;
    font-size: 16px;
}

/* RESET --------------------------------------------------------- */
body,
.mojeid,
#header,
#wrapper #content,
#wrapper #footer,
#wrapper #content-wrapper-no-css3,
input,
fieldset,
select,
#nav-wrapper,
#header #nav .active,
.messagelist {
    background: none;
}

/* Navigation and tools items that should not be printed */
.no-print,
#tb-projects-bar,
#nav-wrapper,
#account-nav,
#breadcrumb,
#header h1,
#header .lang,
#header #user-tools,
div#header,
.messagelist,
#id-show-again,
#bottom {
    display: none;
}

div#header.clear-fix::after,
.logo-print::after {
    display: none;
}

#header #user-tools {
    float: right;
}

div#header,
div#content,
div#footer {
    border: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: none;
    margin: 1pt auto;
    padding: 0;
}

/* FORMS
/* profile page */
fieldset div label,
fieldset div input,
fieldset div select {
    display: inline-block;
    font-size: 1em;
    overflow: visible;
}

fieldset div label {
    width: 110pt;
    margin-right: 10pt;
}

fieldset div input.number-prefix[type='text'] {
    width: 34pt;
}

fieldset div input,
fieldset div select {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0%);
    border-radius: 0;
    border: 0;
    border-bottom: 1px dotted #ddd;
    font-weight: bold;
}

/* HEADER ---------------------------------- */
#header #logo {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0%);
    display: block;
    padding: 2pt;
}

#header .support {
    display: none;
}

/* CONTENT ------------------------------------------------------- */
#content h1,
#content h2 {
    border: 0;
}

#content .disabled {
    opacity: 1;
}

#content .contact {
    margin-top: 0;
}

#content .contact h2 {
    margin: 0;
}

#content .contact table {
    margin: 0;
}

.js .add-button,
.js .buttonimage,
.js .delete,
.submit-block,
.printpage {
    display: none;
}

.white-table th,
.white-table td {
    border: 1pt solid #000;
}

.js .checked,
.js .unchecked,
.js .somechecked {
    background: #fff;
}

.checked input,
.unchecked input,
.somechecked input,
#group-form ul input,
#auth-method-select li input,
#auth-method-select li {
    margin-right: 0.5em;
}

.column {
    float: none;
}

.js .delete,
.js .add-button {
    display: none;
}

/* history page */
.results-counter {
    display: none;
}

fieldset#search-form,
div.paginate {
    display: none;
}

.js #change-history .details {
    padding-left: 0;
}

#history-filter .form-fields li {
    display: inline;
}

#trust-attributes-form .attributes-table {
    overflow: visible;
}

#trust-attributes-form .submit-row {
    position: static;
    clear: both;
    padding-top: 2em;
}

/* registration */
#reg #auth-method-select li,
#reg #auth-method-select label {
    background: #fff;
    padding: 0;
}

#content #auth-method-explanation li {
    display: block;
}

/* authentication */
.cert-details,
#details-popup,
#content #details-popup-content .submit-row {
    display: none;
}

#content #details-popup-content {
    display: block;
    background: #fff;
    border: none;
    margin: 0 0 1.5em;
    position: static;
}

#content section.address p:nth-child(1) {
    display: none;
}

#details-popup-content h5 {
    background: #fff;
    border-bottom: 1px solid #000;
    color: #000;
    margin: 0 0 1em;
    padding: 0;
}

#content #details-popup-content .cert-details {
    margin: 0;
    display: block;
}

/* trusts */
#remove-realm-form,
#trust-attributes-form #left-column {
    display: none;
}

#attributes-table .attr,
#attributes-table .group-heading {
    display: block;
}

#group-form p {
    display: block;
}

#trust-attributes-form #right-column p,
#group-form div {
    padding-left: 0;
}

#editor #right-column #group-form li {
    display: inline;
    margin-right: 1em;
}

/* mogrify */
section.address p:first-of-type {
    display: none;
}

section.info {
    margin: 0;
}

section.bottom .comment {
    margin: 0 0 20px;
}

section.bottom .signature {
    margin: 40px 0 70px;
    margin: 60px 0 15px;
}

div.validation-request-print {
    display: block;
    page-break-inside: avoid;
}

.validation-request,
#validation-title {
    display: none;
}

#content .validation-request-print h1 {
    margin-top: 2em;
}

#content .validation-request-print section:nth-child(3) {
    margin-top: 0;
}

.turn-note {
    text-align: right;
}
