* {
    --rhythm: 1.8rem;
    --line-height-ratio: 1.4;
    border-radius: 16px;
}

h1 {
    --line-height-ratio: 1.18;
    --sub-rhythm: calc(1.18 * var(--rhythm));
    margin: var(--rhythm-half);
}

h2 {
    --line-height-ratio: 1;
    --sub-rhythm: var(--rhythm);
    margin-bottom: 16px;
}

p {
    padding: 10px 20px;
    margin-bottom: 6px;
}

ul,
ol {
    padding: 10px 30px;
    margin-bottom: 6px;
}

#container {
    margin: 5px 20px;
    padding-top: 10px;
    background-color: rgb(253, 253, 253);
}

#header {
    background-color: white;
    text-align: center;
    overflow: hidden;
    width: 100%;
}

#header p {
    line-height: 1.26em;
    margin: 6px 0;
}

a.external {
    background: url(/images/extlink.gif) center right no-repeat;
    padding-right: 16px;
}

a:hover {
    background-color: #cfc;
}

dt {
    float: left;
    clear: left;
    width: 100px;
    text-align: right;
    font-weight: bold;
    font-style: normal;
    color: green;
}

dt::after {
    content: ":";
}

dd {
    margin: 0 0 0 112px;
    padding: 0 0 0.5em 0;
}

tr td {
    text-align: left;
    padding-bottom: 1em;
}

fieldset {
    padding: 1em;
}

#form-pdb-entry fieldset {
    border: 2px dotted #999;
    background-color: #f6f6f6;
}

#form-coord-file fieldset {
    border: 1px solid #999;
    background-color: white;
}

.error {
    margin: 1em 0.25em;
    padding: 0.5em;
    color: #ff0000;
    border: 1px dotted red;
}

input::placeholder {
    color: #ccc;
    font-style: italic;
}

.flex-title {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-title h1 {
    flex-grow: 1;
}

.flex-title img {
    max-height: 120px;
}

.flex-title a:hover {
    background-color: white;
}

.view-center a:hover {
    background-color: white;
}

.view-center {
    align-items: center;
    text-align: center;
}

.columns2 {
    --columns: 2;
}

.columns3 {
    --columns: 3;
}

img.zoom {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
}

.transition {
    --factor: 3.0;
    -webkit-transform: scale(var(--factor));
    -moz-transform: scale(var(--factor));
    -o-transform: scale(var(--factor));
    transform: scale(var(--factor));
    position: relative;
    z-index: 100;
}

footer p {
    background-color: #eee;
    margin: 0;
    padding-bottom: 6px;
    border-radius: 0;
}

footer {
    margin: 16px 0;
}

body {
    background-color: white;
}

.gray {
    color: #999;
}

@media (max-width: 680px) {
    .grid {
        display: block;
    }

    #header p {
        display: none;
    }
}

a {
    text-decoration: none;
    color: blue;
    border: none;
}

table td img {
    width: 92%;
}

.one_view {
    width: 36%;
}

.highlight {
    font-weight: bold;
    background-color: black;
    color: white;
    padding: 5px;
    border-radius: 5px;
}

.highlight a {
    color: red;
}

/* to put labels and the search box/#-entries-per-page on the same line */
#dt-length-0,
#dt-search-0 {
    display: inline;
}

.dt-length label,
.dt-search label {
    display: inline;
}

.word-spacing-l {
    word-spacing: 12px;
}

/* for snap-methyl */
.mC-image {
    width: 600px;
    /* not height */
}

.viewer_3Dmoljs {
    height: 600px;
    /* not width */
    position: relative;
}