body {
    background: #efefef;
    font-family: 'Open Sans', sans-serif;
    max-height: 100%;
    margin: 0;
}

#main,
#modal-container,
header .content {
    position: relative;
    margin: auto;
    width: 90%;
    max-width: 700px;
}

#main {
    padding-top: 55px;
    padding-bottom: 15px;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #667e97;
    border-bottom: 2px solid #dedede;
    padding: 10px 0 10px 0;
    color: #ecf0f1;
    z-index: 1100;
}

header .title {
    float: left;
}

header h1 {
    margin: 0;
    font-size: 1.4em;
}

header .navbar {
    float: right;
    font-size: 1.4em;
    cursor: pointer;
    transition: all 0.2s ease;
}

header .navbar:hover {
    color: #fff;
}

header a:link,
header a:visited {
    color: #ecf0f1;
}

header a:hover,
header a:active {
    color: #ecf0f1;
    text-decoration-color: #ecf0f1;
}

#navbar-modal {
    display: none;
    position: absolute;
    top: 60px;
    left: 5%;
    width: 90%;
    background: #fff;
    border: 3px solid #dedede;
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
    z-index: 1001;
}

#modal-dimmer {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.3;
    z-index: 1000;
}

section h2,
section h3 {
    margin-top: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

h2 .emphasize,
h3 .emphasize,
p .emphasize {
    color: #2a69ff;
}

p .emphasize {
    font-weight: bold;
}

h2 .emphasize-negative,
h3 .emphasize-negative,
p .emphasize-negative {
    color: #ad4e4e;
}

section .header-with-toolbar h3 {
    margin-bottom: 0;
    border-bottom: 0;
}

section {
    margin-bottom: 20px;
}

section.comfortable {
    line-height: 1.5;
}

section.breadcrumb {
    margin-top: 15px;
}

section.summary {
    margin-top: -10px;
}

section.summary td {
	vertical-align: top;
}

section.summary td:first-child {
    text-align: center;
}

table.item-list {
    width: 100%;
    border-collapse: collapse;
}

table.item-list tr {
    border-bottom: 1px solid #efefef;
}

table.item-list tr:last-child {
    border-bottom: 0;
}

table.item-list tr:hover {
    background: #efefef;
}

table.item-list td:last-child {
    width: 1%;
    white-space: nowrap;
    padding-left: 10px;
    opacity: 0.6;
}

table.item-list td {
    padding: 5px 2px;
}

.error-notice {
    display: table;
    width: 100%;
    box-sizing: border-box;
    background: #ffd7d7;
    color: #450000;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
}

.error-notice .icon-cell {
    display: table-cell;
    width: 22px;
}

.error-notice .note-cell {
    display: table-cell;
}

.content-box {
    position: relative;
    line-height: 1.3;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
}

.content-box .message {
    text-align: center;
}

p:first-child {
    margin-top: 0;
}

p:last-child {
    margin-bottom: 0;
}

.form-row {
    padding-bottom: 15px;
}

.form-row .form-row-title {
    padding-bottom: 5px;
}

.form-row .checkbox-container {
    float: left;
    margin-top: 1px;
    background: #efefef;
    border-radius: 4px;
    padding: 4px 3px 2px 3px;
}

.form-row .checkbox-label {
    float: left;
    margin-top: 4px;
    margin-left: 6px;
    cursor: pointer;
}

.form-row .form-field-error {
    display: table;
    width: 100%;
    box-sizing: border-box;
    color: #b30000;
    padding-top: 5px;
}

.form-row .form-field-error .icon-cell {
    display: table-cell;
    width: 22px;
}

.form-row .form-field-error .note-cell {
    display: table-cell;
}

.button-row {
    padding-bottom: 15px;
    text-align: center;
}

.form-row.button-row {
    padding-top: 15px;
    margin-top: 10px;
    border-top: 1px solid #ccc;
}

.button-row .left,
.button-row .right {
    width: 48%;
}

.header-with-toolbar {
    position: relative;
    margin-bottom: 18px;
}

.toolbar {
    position: absolute;
    right: 0;
    top: -10px;
    font-size: 0.9em;
}

.editor-toolbar {
    margin-top: 18px;
}

.toolbar button,
.editor-toolbar button {
    background: #cfcfcf;
    opacity: 0.7;
    border: 0;
    min-width: 45px;
    min-width: 45px;
    margin-left: 3px;
	padding: 10px;
}

#change-sort-selector {
    margin: 10px 0 10px 0;
    width: 100%;
    text-align: right;
}

#change-sort-selector select {
    padding: 4px;
}

#section-expansion-toolbar {
    text-align: right;
    margin-bottom: 25px;
}

.box-location-header {
    background: #e2ebf8;
    padding: 6px 10px;
    margin-top: 25px;
    margin-bottom: 8px;
    border-radius: 6px;
    border: 2px solid #b8c5d8;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
}

.box-location-header:nth-child(1) {
    margin-top: 0;
}

.box-container {
    padding: 10px;
    margin-bottom: 8px;
    border: 2px solid #dcdcdc;
    border-radius: 10px;
    background: #f7f7f7;
    transition: all 0.1s ease-out;
}

.box-container:hover {
    background: #efefef;
}

.box-container .container-title {
    font-size: 1.2em;
}

.box-container .container-details {
    padding-top: 4px;
    color: #414141;
}

.container-details .detail-line-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
}

.container-details .detail-line-container:last-child {
    padding-bottom: 0;
}

.container-details .detail-line-container::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.container-details .detail-line-container .scrollable-text {
    white-space: nowrap;
}

.item-container {
    margin-bottom: 5px;
}

.search-bar-container {
    position: relative;
}

.search-bar-container .clear-button {
    position: absolute;
    top: 8px;
    right: 6px;
    padding: 0 4px;
    font-size: 1.3em;
    cursor: pointer;
    opacity: 0.4;
}

.search-bar-container .clear-button:hover {
    opacity: 0.7;
    transition: all 0.1s ease-out;
}

input,
select,
textarea,
button {
    box-sizing: border-box;
}

input,
select,
textarea {
    font-size: 1em;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 10px;
    background: #efefef;
    color: #000;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
}

button,
input[type="submit"] {
    font-size: 1em;
    padding: 14px 10px;
    font-weight: bold;
    opacity: 0.8;
    cursor: pointer;
    color: #000;
    background: #a1cbf7;
    border: 2px solid #69abf2;
    border-radius: 10px;
    min-width: 70px;
    transition: all 0.1s ease-out;
    user-select: none;
}

button:hover, input[type="submit"]:hover,
button:active, input[type="submit"]:active,
button.selected {
    opacity: 1.0;
    transition: all 0.1s ease-in;
}

input.error,
textarea.error {
    border-color: #b30000;
}

textarea {
    max-width: 100%;
    min-width: 200px;
    min-height: 100px;
}

.full-width {
    width: 100%;
}

button.large {
    font-size: 1.2em;
    padding: 15px;
}

button.small {
    font-size: 0.9em;
    padding: 8px;
}

button.gray {
    border-color: #ccc;
    background: #efefef;
}

button.green {
    border-color: #46bb3f;
    background: #92fb9f;
}

button.red {
    border-color: #ff2323;
    background: #ff7b7b;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 905;
}

#back-to-top .container {
    cursor: pointer;
    background: #d4d4d4;
    opacity: 0.7;
    font-size: 20px;
    border-radius: 5px;
    padding: 10px;
    padding-top: 7px;
    padding-bottom: 8px;
    color: #4d4d4d;
    transition: all 0.2s ease;
}

#back-to-top .container:hover {
    opacity: 0.95;
    transition: all 0.2s ease;
}

.desktop-only {
    display: inline;
}

.mobile-only {
    display: none;
}

.horizontal-rule {
    border-top: 1px solid #ccc;
    width: 100%;
    height: 1px;
}

.clearfix {
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

a:link,
a:visited {
    color: rgb(22, 113, 187);
    text-decoration-color: transparent;
    transition: color 0.2s, text-decoration-color 0.2s;
}

a:hover {
    color: rgb(27, 139, 231);
    text-decoration-color: rgb(27, 139, 231);
}

a:active {
    color: rgb(38, 38, 38);
    text-decoration-color: rgb(38, 38, 38);
}

a.blended:link,
a.blended:visited {
    color: #000;
}

a.blended:hover,
a.blended:active {
    color: #000;
    text-decoration-color: #000;
}

.element-link {
    cursor: pointer;
    user-select: none;
}

.highlighted-term {
    background: #ffff64;
}

.inline-fa-icon {
    padding-right: 6px;
}

.inline-fa-icon.closer {
    padding-right: 4px;
}

h1 .inline-fa-icon,
h2 .inline-fa-icon,
h3 .inline-fa-icon {
    padding-right: 9px;
    opacity: 0.3;
}

.inline-fa-icon.dim {
    opacity: 0.3;
}

.dim {
    opacity: 0.4;
}

.hidden {
    display: none;
}
