/* ---------- Generic ---------- */

body,
html {
    margin: 0px;
    height: 100%;
    font-family: 'Roboto Condensed', sans-serif;
    background-color: #F2F2F2;
    color: black;
}

body {
    position: relative;
}

a,
a:hover {
    color: #ab4247;
}

.errorlist {
    color: #ab4247;
}

.detail-back {
    margin-top: 2em;
}

.detail-back a {
    color: #404040;
    font-weight: bold;
}

.detail-back a:hover {
    color: #ad182f;
}

table {
    border: 1px solid #202020;
    margin: 2em auto;
}

table p {
    margin: 0;
}

td,
th {
    border: 1px solid #202020;
    padding: 0.3em;
}

.socialmedia-links {
    text-align: center;
}

.facebook-share-button,
.twitter-share-button,
.rss-follow-button {
    margin: 1em;
}

.rss-follow-button {
    background: #a46a00;
    color: white;
    display: inline-block;
    
    border-radius: 0.25em;
    vertical-align: top;
}

.rss-follow-button:hover {
    background: #FF8C00;
}

.rss-follow-button a {
    color: white;
    padding: 0.27em 1em;
    font-size: 0.9em;
    display: inline-block;
}

.rss-follow-button a:hover {
    text-decoration: none;
}

.loader {
    width: fit-content;
    margin: 20vh auto;
    text-align: center;
}

.loader-container {
    display: inline-block;
    margin-bottom: 2em;
}

.loader-spinner {
    width: 70px;
    aspect-ratio: 1;
    display: grid;
    border: 4px solid #0000;
    border-radius: 50%;
    border-color: #BBB #0000;
    animation: l16 1s infinite linear;
}

.loader-spinner::before,
.loader-spinner::after {
    content: "";
    grid-area: 1/1;
    margin: 2px;
    border: inherit;
    border-radius: 50%;
}

.loader-spinner::before {
    border-color: #ab4247 #0000;
    animation: inherit; 
    animation-duration: .5s;
    animation-direction: reverse;
}

.loader-spinner::after {
    margin: 8px;
}

@keyframes l16 { 
    100%{transform: rotate(1turn)}
}

.loader-title {
    color: #606060;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 1em;
}

.loader-text {
    color: #606060;
    font-size: 0.95em;
}

/* ---------- Header ---------- */

header {
    z-index: 1000;
    width: 100%;
    background: white;
}

#header-content-logo {
    display: inline-block;
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
}

#header-content-logo a {
    color: #303030;
}

#header-content-logo a:hover {
    text-decoration: none;
    color: #ad182f;
}

nav {
    font-size: 1.3em;
    font-weight: bold;
}

nav ul {
    padding: 0;
}

nav ul li {
    list-style-type: none;
    text-transform: uppercase;
}

nav ul li a {
    text-decoration: none;
    color: #303030;
}

nav ul li.icon {
    margin: 0;
    padding: 0;
}

nav ul li.icon a i {
    font-size: 1.5em;
    line-height: 1rem;
    vertical-align: middle;
}

/* ---------- Main ---------- */

main {
    min-height: 100vh;
}

#main-content {
    padding-top: 3.4em;
}

section {
    margin: 0 auto 6em auto;
}

h1,
h2,
h3 {
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.05em;
}

h1 {
    font-size: 3em;
    margin: 1em auto 0 auto;
    padding-bottom: 0.2em;
    color: #ad182f;
    background-color: #F2F2F2;
}

h2 {
    font-size: 1.5em;
    background-color: #ad182f;
    color: white;
    padding: 0.2em;
}

h3 {
    margin: 1.5em 0 1em;
    font-size: 2.3em;
    color: #ad182f;
}

h4 {
    margin: 1.5em 0 1em 0;
    font-size: 1.7em;
    color: #ad182f;
    font-weight: bold;
}

#main-content p,
#main-content ul {
    font-size: 1.2rem;
    line-height: 1.3rem;
    opacity: 0.8;
}

.quote {
    background: #404040;
    padding: 1em;
    color: #DDD;
    font-size: 1em;
    margin: 1em 0;
}

.list-filter {
    text-align: center;
    margin: 5em 0 1em 0;
}

.list-filter input {
    width: 40em;
    max-width: 100%;
    padding: 0.5em;
    text-align: center;
}

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

#welcome-main {
    background: url("../images/welcome-background.cd3e9da88b9f.png");
    background-size: 100%;
    background-repeat: no-repeat;
    padding: 0;
    width: 100%;
    height: 100vh;
    max-height: calc(100vh - 3.4em);
}

#welcome-main-more {
    font-size: 3em;
    position: absolute;
    bottom: 0.3em;
    left: calc(50% - 1.5em);
    width: 3em;
    text-align: center;
    background-color: #ad182f;
    color: white;
    padding: 0;
    cursor: pointer;
}

.youtube-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 0px;
    height: 0;
    margin: 7em auto;
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ---------- About ---------- */

.about-image {
    width: 100%;
    margin: 1em 0;
    display: block;
}

#about-runbox {
    width: 15em;
    max-width: 100%;
    margin: 3em auto;
    display: block;
}

/* ---------- Social ---------- */

#social-twitterfeed {
    overflow: auto;
    margin: 2em auto;
}

/* ---------- People ---------- */

.people-list-projectrole-title {
    font-size: 1.8em;
    margin: 2.5em 0 0.5em 0;
    color: #202020;
    font-weight: bold;
    cursor: pointer;
    text-align: left;
    background: #DDD;
    padding: 0.2em 0.7em;
}

.people-list-projectrole-title .toggle {
    display: inline-block;
    margin-right: 1em;
    opacity: 0.4;
}

.people-list-item {
    display: block;
    min-height: 8em;
    padding: 1em;
    margin: 1em 0;
}

.people-list-item:hover {
    text-decoration: none;
    background: #E5E5E5;
}

.people-list-item-image {
    width: 80%;
    display: block;
    margin: 0 auto;
}

.people-list-item-text {
    display: block;
    font-weight: 400;
    text-align: center;
}

.people-list-item-text-name {
    font-size: 1.5em;
    color: black;
    font-weight: bold;
    margin-top: 0.5em;
}

.people-list-item-text-details {
    font-size: 0.95em;
    color: #505050;
    margin-top: 0.3em;
    font-size: 1.1em;
}

.people-item-photo {
    max-width: 100%;
    display: block;
    margin: 2em auto;
}

.people-item-intro {
    font-weight: bold;
    font-size: 1.2em;
    margin: 1em auto;
}

.people-item-biography {
    font-size: 1.1em;
}

.people-item-links {
    text-align: center;
    margin: 2em 0;
    padding: 1em 0;
}

.people-item-links a {
    display: inline-block;
    font-size: 1.1em;
    padding: 0.5em 3em;
    margin: 0.5em;
    border: 1px solid #ad182f;
    color: #ad182f;
    font-weight: bold;
    text-align: center;
}

.people-item-links a:hover {
    background: #ad182f;
    color: white;
    text-decoration: none;
}

/* ---------- Blog and Outputs ---------- */

.blog-list-item a,
.outputs-list-item a {
    margin: 1em;
    padding: 1em;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    width: calc(100% - 2em);
}

.blog-list-item a:hover,
.outputs-list-item a:hover {
    background-color: #DDD;
    text-decoration: none;
}

.blog-list-item-imagecontainer,
.outputs-list-item-imagecontainer {
    overflow: hidden;
    width: 100%;
    height: 17em;
    margin: 0.5em 0;
}

.blog-list-item-image,
.outputs-list-item-image {
    object-fit: cover;
    max-height: 17em;
    max-width: 100%;
}

.blog-list-item-title,
.outputs-list-item-title {
    margin-top: 1em;
    font-weight: 600;
    color: black;
    font-size: 1.2em;
    color: black;
    height: 3em;
    overflow: hidden;
}

.blog-list-item-tags,
.outputs-list-item-tags {
    color: #303030;
    font-style: italic;
}

.blog-list-item-date,
.outputs-list-item-date {
    font-weight: 400;
    color: #606060;
    margin: 0.5em 0;
}

.blog-item-subtitle,
.outputs-item-subtitle {
    font-weight: bold;
    text-align: center;
    margin: 0.3em auto;
    font-size: 1.5em;
}

.blog-item-details,
.outputs-item-details {
    text-align: center;
    color: #606060;
}

.blog-item-photo,
.outputs-item-photo {
    max-width: 80%;
    display: block;
    margin: 2em auto;
}

.blog-item-article img,
.outputs-item-article img {
    display: block;
    margin: 2em auto;
    max-width: 100%;
}

.outputs-item-link {
    text-align: center;
    margin: 2em 0;
}

.outputs-item-download {
    text-align: center;
    margin: 2em 0;
}

.outputs-item-download a {
    background: black;
    color: white;
    padding: 0.5em 1em;
    display: inline-block;
}

/* ---------- Resources ---------- */

.resources-list-subheading {
    margin: 1em auto 0.3em auto;
    font-size: 2em;
    text-transform: uppercase;
    font-weight: bold;
}

.resources-list-item {
    border-top: 1px solid #CCC;
    padding: 1em;
    margin: 0 0;
    display: block;
}

.resources-list-item:last-child {
    margin-bottom: 2em;
}

.resources-list-item:hover {
    text-decoration: none;
    background: #DDD;
}

.resources-list-item .hidden {
    display: none;
}

.resources-list-item div {
    display: inline-block;
    padding: 0.5em;
    vertical-align: middle;
}

.resources-list-item-media {
    width: 15em;
}

.resources-list-item-media span {
    display: inline-block;
    color: #BBB;
    padding: 0.1em 0.5em;
    font-size: 1.5em;
}

.resources-list-item-media span.media-active {
    color: #ad182f;
}

.resources-list-item-title {
    color: black;
    font-size: 1.2em;
}

.resources-list-multimedia-item .resources-list-item-title {
    width: calc(100% - 15em);
}

.resources-item-published {
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 1em;
}

.resources-item-link {
    text-align: center;
    margin: 2em auto;
    font-size: 1.2em;
}

.resources-item-image {
    display: block;
    margin: 1em auto;
}

.resources-item-audio {
    position: relative;
    height: 10em;
    width: 100%;
}

.resources-item-audio iframe {
    display: block;
    overflow: hidden;
    height: 10em;
}

/* ---------- Cloud Computing ---------- */

.cloudcomputing-maincontentbox {
    max-width: 100%;
    width: 50em;
    background: rgba(0, 0, 0, 0.03);
    padding: 2em;
    text-align: center;
    border-radius: 0.5em;
}

.cloudcomputing-maincontentbox h4 {
    margin: 0 0 0.5em 0;
}

.cloudcomputing-maincontentbox .btn-primary {
    display: block;
    width: 100%;
    font-size: 1.2em;
    margin: 1.5em 0;
    border: none;
    outline: none;
}

.cloudcomputing-maincontentbox .btn-primary,
.cloudcomputing-maincontentbox .btn-primary:active:focus {
    background: #ad182f;
}

.cloudcomputing-maincontentbox .btn-link,
.cloudcomputing-maincontentbox .btn-link:active:focus {
    color: #ad182f;
    margin: 0.5em auto;
    display: block;
    width: fit-content;
}

.cloudcomputing-maincontentbox form {
    text-align: left;
}

.cloudcomputing-maincontentbox form label {
    font-weight: bold;
}

#cloudcomputing-acknowledgements {
    font-size: 0.9em;
}

#cloudcomputing-acknowledgements-images {
    text-align: center;
}

#cloudcomputing-acknowledgements-images img {
    display: inline-block;
    margin: 2em;
    height: 3.5em;
}

.cloudcomputing-diagram {
    display: block;
    margin: 2em auto;
    max-width: 100%;
}

#cloudcomputing-usermatrices-tablecontainer-weights,
#cloudcomputing-usermatrices-tablecontainer-steps,
#cloudcomputing-usermatrices-tablecontainer-original-data {
    display: inline-block;
    vertical-align: top;
    overflow: auto;
    text-align: center;
}

#cloudcomputing-usermatrices-tablecontainer-weights {
    width: calc(40% - 1em);
}

#cloudcomputing-usermatrices-tablecontainer-steps,
#cloudcomputing-usermatrices-tablecontainer-original-data {
    width: calc(30% - 1em);
}

.cloudcomputing-usermatrices-tablecontainer a {
    display: block;
    margin: 1em 0;
    width: fit-content;
}

.cloudcomputing-usermatrices-tablecontainer table {
    margin: 0;
}

#cloudcomputing-existinguploads table {
    width: 100%;
}

#cloudcomputing-existinguploads thead {
    text-align: center;
}

#cloudcomputing-user-matrix-plot {
    display: block;
    margin: 2em auto;
}

#select-all-cues-checkbox-container {
    margin-bottom: 0.5em;
}

/* ---------- Participate ---------- */

.participate-list-register {
    background: #ad182f;
    color: white;
    padding: 0.4em 0.7em;
}

.participate-list-register:hover {
    color: white;
}

.participate-list-subheading {
    font-size: 2em;
    font-weight: bold;
    margin-top: 2em;
    margin-bottom: 0.2em;
}

.participate-list-past {
    opacity: 0.4;
}

.participate-list-item {
    background: #303030;
    color: #DDD;
    padding: 1em;
    margin: 3em 0;
}

.participate-list-item div {
    margin-top: 0.5em;
}

.participate-list-item div label {
    font-weight: bold;
    line-height: 1em;
}

.participate-list-item div a {
    color: #DDD;
}

.participate-list-item div a:hover {
    color: #AAA;
}

.participate-list-item-title {
    font-weight: bold;
    font-size: 1.5em;
}

.participate-list-item-description {
    padding: 0.5em 0;
    border-bottom: 1px solid #AAA;
}

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

footer {
    text-align: center;
    background: #FFF;
    color: #202020;
}

footer a {
    color: #ad182f;
    font-weight: bold;
}

footer a:hover {
    color: #ad182f;
    opacity: 0.6;
    text-decoration: none;
}

footer img {
    width: 18em;
    max-width: 100%;
    margin: 0.5em auto 1.3em auto;
    display: block;
}
