
/* ---------- General ---------- */

body, html {
    margin: 0px;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    color: black;
}
body {
    font-size: 1.2em;
    line-height: 1.5em;
}
hr {
    border: 0;
    clear: both;
    display: block;
    width: 96%;
    background-color: #CCC;
    height: 1px;
    margin: 0.5rem;
}
h2 {
    padding: 1.3em 0em 0.4em 0em;
    font-weight: bold;
    font-size: 1.7em;
    text-transform: uppercase;
}
.form-inline .form-control {
    margin-right: 1rem;
    margin-bottom: 1rem;
}
.hidden {
    display: none;
}


/* ---------- Navigation ---------- */

h1 {
    font-weight: bold;
    font-size: 1.3em;
    text-transform: uppercase;
}
h1 a, h1 a:hover {
    color: black;
    text-decoration: none;
}
nav {
    font-size: 1.3em;
    background: white;
}
nav ul {
    padding: 0em;
}
nav ul li {
    list-style-type: none;
    text-transform: uppercase;
}
nav ul li a {
    text-decoration: none;
}


/* ---------- Welcome ---------- */

#welcome-mainimage {
    width: 100%;
    height: 31vw;
    background: url("../images/home-main2.89fce7b9b304.jpg");
    background-size: 100%;
    background-position: top;
    background-color: white;
    background-repeat: no-repeat;
}
#welcome-twitterfeed {
    width: 50em;
    max-width: 80%;
    border: 1px solid #909090;
    padding: 1em;
    margin: 1em auto;
    max-height: 80vh;
    overflow-y: auto;
}


/* ---------- Ornaments ---------- */

/* List - head */
.ornaments-list-head {
    background: #EEE;
    padding: 1rem;
    margin-top: 5em;
    margin-bottom: 3em;
    font-size: 0.9em;
}
.ornaments-list-head-section {
    padding: 0.5rem;
}
.ornaments-list-head-section-label {
    display: block;
    font-weight: bold;
}
#ornaments-list-head-searchfields-add-container {
    text-align: right;
}
.ornaments-list-head-searchby {
    display: inline-block;
    width: 30%;
}
.ornaments-list-head-search {
    display: inline-block;
    width: calc(70% - 7em);
}
.ornaments-list-head-searchfields-instance-operator {
    background: #CCC;
    padding: 0.2em 0.6em;
    margin: 1em 0 0.5em 0;
    border-radius: 0.3em;
    width: fit-content;
    cursor: pointer;
    display: inline-block;
}
.ornaments-list-head-searchfields-instance-remove {
    background: #CCC;
    padding: 0.3em 0.5em;
    border-radius: 0.3em;
    cursor: pointer;
}
#ornaments-list-head-searchfields-add {
    background: black;
    padding: 0.2em 0.8em;
    color: white;
    text-align: center;
    width: fit-content;
    display: inline-block;
    user-select: none;
    cursor: pointer;
    border-radius: 0.3em;
    font-size: 0.9rem;
}
#ornaments-list-head-searchfields-add:hover {
    background: #272727;
    color: white;
}
.ornaments-list-head-note {
    font-size: 0.7em;
    color: #6c6c6c;
}
#ornaments-list-loading {
    margin-top: 5em;
    margin-bottom: 3em;
    padding: 8rem 0;
    background: #EEE;
    text-align: center;
    display: none;
    font-size: 0.9em;
}
#ornaments-list-loading span {
    display: block;
    font-size: 0.9em;
    text-align: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#ornaments-list-loading-container {
    text-align: center;
}
#ornaments-list-loading-container-icon {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
#ornaments-list-loading-container-icon div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #404040;
    border-radius: 50%;
    animation: animation-ornaments-list-loading 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #404040 transparent transparent transparent;
}
#ornaments-list-loading-container-icon div:nth-child(1) {
    animation-delay: -0.45s;
}
#ornaments-list-loading-container-icon div:nth-child(2) {
    animation-delay: -0.3s;
}
#ornaments-list-loading-container-icon div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes animation-ornaments-list-loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#ornaments-list-hidetext {
    text-align: right;
    font-size: 1rem;
    margin-bottom: 1em;
}
#ornaments-list-hidetext span {
    display: inline-block;
    width: fit-content;
    padding: 0.2em 1em;
    background: #EEE;
    border-radius: 0.5em;
    color: #303030;
    cursor: pointer;
    margin-bottom: 0.5em;
}
#ornaments-list-hidetext span.active {
    background: black;
    color: white;
}
#ornaments-list-hidetext span:hover {
    opacity: 0.9;
}
#ornaments-list-head-submit {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 0.3rem;
    outline: none;
    border: none;
    background: black;
    color: white;
    appearance: none;
    padding: 0.7rem;
    font-size: 1.1em;
    cursor: pointer;
}
#ornaments-list-head-submit:hover {
    background: #272727;
    color: white;
}

/* List - content */
.list-content-item {
    text-align: center;
    padding: 1em;
    border: 2px solid #EEE;
    color: black
}
.list-content-item:hover {
    text-decoration: none;
    border: 2px solid black;
    color: black
}
.list-content-item:hover {
    text-decoration: none;
}
.list-content-item img {
    max-width: 100%;
    display: inline-block;
}
.list-image-details {
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.3em;
}
.list-image-details label {
    font-weight: bold;
    margin: 1rem 0.2rem 0 0;
    display: inline-block;
}
#list-content-empty {
    text-align: center;
    font-weight: bold;
    font-size: 1.3em;
    width: 100%;
    display: block;
    margin: 3em auto 7em auto;
}

/* List - pagination */
.pagination {
    text-align: center;
    margin: 3em auto;
}
.pagination a {
    color: black;
}
.pagination-action, .pagination-action-disabled {
    display: inline-block;
    margin: 1em;
}
.pagination-action-disabled {
    visibility: hidden;
}
.pagination-action-button {
    font-size: 2em;
    width: 2em;
    height: 1.4em;
    padding: 0.13em 0.2em 0.2em 0.2em;
}
.pagination-right {
    /* Right icons didn't centre properly with even padding */
    padding: 0.13em 0.2em 0.2em 0.3em;
}
.pagination-action .pagination-action-button {
    border: 0.2rem solid black;
}
.pagination-action .pagination-action-button:hover {
    text-decoration: none;
    background: black;
    color: white;
}
.pagination-action-label {
    font-size: 0.7em;
    padding-top: 0.3em;
}
.pagination-current {
    font-size: 1em;
    display: inline-block;
    font-weight: 500;
}

/* Detail */
.ornaments-detail-info {
    margin: 5em 0em 2em 0em;
    font-size: 0.8em;
    vertical-align: top;
}
.ornaments-detail-info div {
    margin-bottom: 1em;
}
.ornaments-detail-info div label {
    font-weight: bold;
    width: 10em;
    vertical-align: top;
}
.ornaments-detail-info div span {
    display: inline-block;
    width: calc(100% - 10em);
}
.ornaments-detail-image {
    text-align: center;
    margin: 6em 0em 3em 0em;
    border: 1px solid #AAA;
}
.ornaments-detail-image img {
    max-width: 100%;
}
.ornaments-detail-adminlink {
    display: block;
    margin: 0em auto;
    text-align: center;
    width: 20em;
    max-width: 90%;
    font-size: 0.8em;
}
.ornaments-detail-adminlink {
    margin-top: 2em;
    padding: 0.5em;
    background: black;
    color: white;
}
.ornaments-detail-adminlink:hover {
    background: #404040;
    text-decoration: none;
    color: white;
}

/* ---------- Footer ---------- */

footer {
    border-top: 1px solid #E4E4E4;
    margin-top: 2em;
    padding: 2em 0em 5em 0em;
    text-align: center;
    background: #FFF;
    color: #202020;
    font-size: 0.8em;
}
footer a {
    color: black;
    font-weight: bold;
}
footer a:hover {
    color: black;
    opacity: 0.75;
    text-decoration: none;
}
#footer-content-text {
    margin-top: 2em;
}
#footer-content img {
    width: 20em;
    max-width: 100%;
    margin: 0em;
    display: inline-block;
}


/* ---------- Error Pages ---------- */

.errorpage-title {
    font-size: 3.3em;
    font-weight: bold;
    margin: 0.5em 0em 1em 0em;
}
.errorpage-path {
    font-weight: bold;
}
.errorpage-code {
    margin-top: 3em;
    font-size: 0.8em;
}
