/* =============================================================================
    dribdat custom styles
   ========================================================================== */

/* universal */

section {
    overflow: auto;
}
textarea {
    resize: vertical;
}

.container.with-event {
    margin-top: 2em;
    clear: both;
}

.hidden {
    display: none;
}
.bigger {
    font-size: 125%;
}
.huge {
    font-size: 4rem;
    opacity: 0.6;
}
.float-right {
    float: right;
    position: relative;
    z-index: 1;
}

sp {
    box-shadow: 2px 2px 0px rgb(0 0 0 / 30%);
    padding: 1px 5px;
    color: black;
    background: #eee;
    margin: 1px 2px;
    font-family: monospace;
}

p > code {
    padding: 3px 3px 0px 3px;
    border-radius: 3px;
}

.btn-default {
    color: inherit;
}

/* Navigation anchors */
.section-header a,
.card-title a,
.widget a,
.timeline-item a,
.project-score a,
.project-category a,
.project-name a {
    text-decoration: none;
}

/* Forms */
form input[type="checkbox"] {
    margin-right: 0.5em;
}
.navbar-form input[type="text"],
.navbar-form input[type="password"] {
    width: 180px;
}
.form-passwordless {
    max-width: 33em;
}

.userform form > .form-group p {
    max-width: 50em;
    display: inline-block;
}

.form-register .form-control {
    position: relative;
    font-size: 16px;
    height: auto;
    padding: 10px;
    max-width: 50em;
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.form-project-post {
    clear: both;
}
.form-project-post h4 {
    margin-top: 1em;
    font-weight: normal;
    text-align: center;
    font-size: 250%;
}
.projectform textarea[id="note"],
.projectform textarea[id="summary"],
.form-project-post textarea {
    height: 4em;
}
.form-project-post .checkbox input {
    opacity: 1;
    margin-right: 1em;
}
.form-project-post .checkbox input:checked {
    opacity: 0;
}
.form-project-post .checkbox:before {
    font-family: "FontAwesome";
    font-weight: bold;
    color: orange;
    height: 1em;
    content: "\f005";
    margin-left: -0.2em;
    position: absolute;
    font-size: 2em;
    margin-top: -0.36em;
    z-index: 11;
}
.form-project-post .post-image-btn {
    float: left;
    margin-right: -15em;
    position: relative;
    top: -5px;
}
@media (max-width: 760px) {
    .form-project-post .post-image-btn {
        margin-right: 0em;
    }
}
.template-select .card-body .fa {
    font-size: 1.4em;
    float: right;
    opacity: 0.5;
}

/* File upload dialog */
.upload-note {
    font-size: 90%;
    margin: 1em 0;
    opacity: 0.8;
}
.uploader .file-preview tr {
    width: 100%;
    vertical-align: top;
    border-top: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
}
.uploader .image-upload-preview input {
    display: block;
    margin-top: 1em;
    width: 100%;
}
.uploader .image-upload-preview {
    overflow: hidden;
}
.uploader .image-upload-confirm {
    margin-top: 1em;
}

.admin tr[data-href] {
    cursor: pointer;
    cursor: hand;
}

.admin .form-group .control-label {
    font-size: 175%;
    margin-top: 1em;
}
.admin .form-group .radio-inline {
    margin-right: 1em;
    display: block;
    text-align: left;
    border-bottom: 1px solid lightgrey;
    padding: 0.3em;
}
.admin .form-group .help-inline {
    margin: 0.5em 0em;
    display: block;
}
.admin .form-group .checkbox .help-inline {
    margin: 0em;
    padding-left: 2em;
    display: inline-block;
}
.admin .form-group .checkbox {
    text-align: left;
}
.admin .form-group .checkbox label {
    font-weight: bold;
}
.admin .form-group .checkbox label:hover {
    background: #ff3;
}
.admin-events .event-name {
    font-size: 150%;
    line-height: 1em;
}
.admin-projects .projects-extra {
    float: right;
    clear: both;
    margin-bottom: 1em;
}

.scroll-after-200 {
    overflow-y: auto;
    max-height: 200px;
}
.scroll-after-500 {
    overflow-y: auto;
    max-height: 500px;
}

.alert .close {
    font-size: 1.6rem;
    margin: -0.2em -0.3em;
    padding-left: 0.5em;
    text-decoration: none;
}
.alert.project-tips {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin-top: -1em;
    color: black;
    background: lightyellow;
}
.alert.project-tips .close {
    position: relative;
    z-index: 99;
}
.alert.project-tips .user-score {
    margin: -1em 0em 1em -1em;
}
.alert.project-tips.profile-projects::before {
    font-size: 250%;
    position: relative;
    left: -1em;
    top: -1em;
    width: 0em;
    float: left;
}

/* pagination */
.admin-search,
.pagination {
    margin-bottom: 1em;
    clear: both;
}
.pagination > * {
    margin-right: 0.5em;
    padding: 0.5em 0.8em;
    background: #eee;
}

.admin .container table td {
    vertical-align: middle;
}

.admin .card.stat {
    display: inline-block;
    vertical-align: bottom;
    background: #999;
    color: #fff;
    text-decoration: none;
    border-radius: 0px;
    margin-bottom: -1px;
    border-top-left-radius: 20px;
}
.admin .card.stat:hover {
    background: #f55;
}

.btn-group.admin-area {
    padding: 5px;
    border: 1px solid rgba(200, 0, 0, 0.1);
    box-shadow: 5px 5px 0px rgba(200, 0, 0, 0.5);
}
.nav-item.admin-area {
    box-shadow: 0px 5px 0px rgba(200, 0, 0, 0.5);
}
.admin .navbar {
    box-shadow: 0px 5px 0px rgba(200, 0, 0, 0.5);
}
.admin .navbar .nav-item.admin-area {
    box-shadow: none;
}
.nav-link.active {
    font-weight: bolder;
}
.nav-fill .nav-item .nav-link {
    line-height: 2em;
}
/* footer */

footer {
    margin-top: 45px;
    padding-top: 5px;
}
footer a {
    text-decoration: none;
    margin-left: 1em;
}
footer p {
    float: right;
    margin-right: 25px;
}
footer ul {
    list-style: none;
}
footer ul li {
    margin-left: 10px;
    display: inline-block;
}
footer .company {
    float: left;
    margin-left: 25px;
}
footer .footer-nav {
    list-style: none;
    text-align: right;
}
footer .footer-nav a {
    text-decoration: none;
}
footer .dribdat-logo {
    float: left;
}
footer .dribdat-logo img {
    height: 1.4em;
    margin-top: -0.2em;
}
footer .dribdat-logo:hover {
    -webkit-filter: invert(100%);
    -moz-filter: invert(100%);
    -o-filter: invert(100%);
    -ms-filter: invert(100%);
}

ul.help-block {
    background-color: red;
    color: white;
    padding: 5px;
}

/* Overall layout headings and navigation */
.section-header .section-header-logo {
    float: left;
    margin-right: 45px;
}
.section-header .section-header-logo img {
    height: 8em;
    margin-bottom: 2em;
    margin-top: 1em;
}
.section-header .section-header-content span {
    display: inline-block;
    margin-right: 1em;
    opacity: 0.8;
}
.section-header .section-header-content .fa {
    opacity: 0.5;
    width: 1.2em;
}
.section-header .event-name {
    font-size: 400%;
    text-decoration: none;
}
.section-header .section-header-content .event-date {
    display: block;
    font-size: 125%;
    margin-top: -1em;
    margin-left: 0.2em;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
}

@media (max-width: 760px) {
    .section-header .section-header-logo {
        position: relative;
        margin: 0px 10px 0 0;
    }
    .section-header .section-header-logo img {
        height: 4em;
        margin-right: 1em;
    }
    .section-header .event-name {
        font-size: 200%;
        line-height: 1em;
    }
}

nav.navbar {
    margin-bottom: 2em;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    border: 0px;
}
nav.navbar .navbar-brand {
    border-radius: 10px;
    font-size: 150%;
    line-height: 0px;
}
nav.navbar .navbar-brand span {
    font-size: 0px;
}
nav.navbar .navbar-brand:hover i:nth-child(1) {
    margin-left: 2px;
    margin-right: -2px;
}
nav.navbar .navbar-brand:hover i:nth-child(3) {
    margin-left: -2px;
    margin-right: 2px;
}
nav.navbar .navbar-brand:hover i:nth-child(even) {
    text-shadow: 1px 1px 10px yellow;
    box-shadow: 0px 0px 20px orange;
    border-radius: 30px;
}
nav .navbar-nav .fa {
    margin-left: 0.2em;
}
nav .navbar-nav .nav-item {
    margin-right: 0.4em;
    padding-right: 0.4em;
}
nav .navbar-nav .nav-item .fa.text-white {
    border-radius: 0.8em;
    padding: 0.3em;
    width: 1.6em;
}
nav .nav-login {
    font-weight: bolder;
}
@media (min-width: 992px) {
    nav.navbar {
        padding: 0rem 1rem;
    }
}

/* Home page titles */

.home .body-content h2 {
    text-align: center;
    padding-bottom: 0.3rem;
    margin-bottom: 1.6rem;
    border-bottom: 1px solid lightgrey;
}
.home-page .home-nav {
    display: block;
    text-align: center;
}
.home-page .home-description p:only-child {
    margin: 0px;
}
.home-page .home-description {
    margin: 1em;
    font-size: 125%;
}
.home .home-buttons {
    font-size: 120%;
    z-index: 1;
    position: relative;
}
.home .start-event {
    margin: 1em;
}
.home .an-event .card {
    width: 100%;
    margin-bottom: 1em;
}
.home .an-event .card-img-top {
    height: 10em;
    /* max-height: 10em; */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
.home .an-event .card-img-top.gallery-img {
    background-size: cover;
}
.an-event-meta b {
    display: block;
}
.card .an-event-meta {
    color: black;
    text-shadow: -1px 1px 1px white;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    margin-top: 3px;
    padding: 1px 4px;
    right: 3px;
    font-size: 90%;
    text-decoration: none;
}
@media (min-width: 600px) {
  .home .home-teams {
      position: absolute;
      z-index: 999;
      left: 50%;
      margin-left: -12em;
      margin-top: 1em;
  }
}

/* Customize the flipclock widget */
.event-countdown {
    margin-top: 20px;
    display: inline-block;
}
.event-countdown .rotor-group-heading {
    display: none;
}
@media (max-width: 400px) {
    .event-countdown {
        display: none;
    }
}
.container-countdown {
    width: 100%;
    display: block;
    text-align: center;
}
@media (max-width: 1190px) {
    .event-footer .event-countdown {
        transform: scale(0.5);
        position: initial;
        left: initial;
        margin: 0px;
    }
}
@media (min-width: 2000px) {
    .event-footer .event-countdown {
        display: none;
    }
}

.community-embed {
    margin-top: 4em;
}
.community-embed .fa-comment {
    position: relative;
    color: rgba(255, 255, 255, 0.1);
    font-size: 50px;
    line-height: 0px;
    clear: none;
    display: inherit;
}
@media (max-width: 760px) {
    .community-embed .fa-comment {
        display: none !important;
    }
}

/* Home page carousel */
.home-page .carousel-caption .event-header {
    top: 0px;
    left: 0px;
}
.home-page .carousel-caption .section-header-logo {
    display: inline;
    position: absolute;
    left: -90px;
    top: 10px;
}
.home-page .carousel-caption .section-header-logo img {
    width: 100%;
    max-height: 100%;
}
.home-page .carousel-caption a {
    text-decoration: none;
}
.home-page .carousel-caption .event-header .section-header-content {
    text-align: left;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1em 0 1em 2em;
    width: 60%;
    left: 50%;
    position: relative;
    margin-left: -27%;
}
.home-page .carousel-caption .home-description {
    max-height: 8.2em;
    overflow: hidden;
}
.home-page .carousel-caption .home-description p {
    text-align: left;
    color: initial;
    display: inline-block;
    clear: both;
}
.home-page .carousel-item {
    height: 32rem;
}
.home-page .carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 32rem;
}
.home-page .carousel-caption .event-countdown {
    margin-bottom: -50px;
}
.home-page .carousel-caption .honeycomb .hexagon {
    opacity: 1;
    box-shadow: none;
}
.home-page .carousel-caption .project-count {
    display: inline;
}
@media (max-width: 600px) {
    .home-page .carousel-caption {
        top: 0px;
    }
    .home-page .carousel-caption .section-header-logo {
        position: relative;
        float: none;
        left: 0px;
        top: -5px;
    }
    .home-page .carousel-caption .event-header .section-header-content {
        position: relative;
        height: 100%;
        width: 100%;
        left: 0px;
        margin: 0px;
    }
}
@media (max-width: 1000px) {
    .home-page .carousel-caption .event-header .section-header-content {
        width: 100%;
    }
}

.jumbotron.home-page {
    background: none;
    padding: 1rem;
}
.jumbotron.event-page {
    margin-top: 40px;
    padding: 30px;
}
.with-event .start-project {
    text-align: center;
    display: block;
}
/*
.event-home .event-info {
    box-shadow: 3px 3px 0px rgb(0 0 0 / 30%);
    border: 1px solid rgba(0, 0, 0, 0.3);
}
*/
.event-home .event-info .event-summary {
    text-align: center;
    margin: 1em 10%;
    font-size: 180%;
}
.event-home .event-info .event-description {
    font-size: 110%;
    padding: 1em;
}
.event-home .event-info .event-description img {
    max-width: 100%;
}

/* ---- Hexagonal hawtness ---- */

.with-event .honeycomb {
    width: 780px;
    margin-top: 30px;
}
.hexagon.blank {
    display: none;
}
@media (max-width: 999px) {
    .with-event .honeycomb {
        margin-top: 0px;
        width: 600px;
    }
    .hexagon.blank {
        display: inline-block;
    }
}
.honeycomb .hexagon.challenge.new::after,
.honeycomb .hexagon.challenge.new::before,
.honeycomb .hexagon.challenge.new {
    opacity: 0.8;
    border: none;
    background: none;
    box-shadow: none;
}
.hexagon.challenge.new .hexagontent i {
    color: orange;
}
@media (max-width: 560px) {
    .with-event .honeycomb {
        margin-top: 0px;
        width: 300px;
    }
}
@media (max-width: 480px) {
    .with-event .honeycomb {
        text-align: center;
    }
}

/* Styles for an event in preparation */
.event-prep {
}
/* Styles for an event that has started */
.event-started {
}
/* Styles for an event that has finished */
.event-finished .project .progress {
    display: none;
}

.hexagon {
    background-size: cover;
    background-position: center;
    margin-bottom: 73px;
    border-bottom: 4px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.event-home .hexagon {
    margin-bottom: 4px;
}
.hexagon.gridfix {
    visibility: hidden;
    margin-top: 2em;
}
.hexagon:hover {
    box-shadow:
        0 4px 9px rgb(0 0 0 / 5%),
        0 9px 15px rgb(0 0 0 / 17%);
    transform: scale(1.1);
}
.hexagon.blank {
    visibility: hidden;
}
.project.hexagon:hover .hexagontent .team-boost {
    display: inline-block;
}
.project.hexagon .hexagontent .team-boost {
    display: none;
    background: white;
    left: -3em;
    right: auto;
    top: 50%;
    margin-top: -1em;
}
.hexagon .hexagontent .team-boost {
    top: -1em;
    right: -1em;
    min-width: 2.5em;
    position: absolute;
    color: black;
    font-size: 80%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow:
        0 4px 9px rgb(0 0 0 / 2%),
        0 9px 15px rgb(0 0 0 / 7%);
}
.project.hexagon .team-counter {
    color: white;
}
.team-counter {
    font-size: 13pt;
    color: whitesmoke;
    text-shadow: 1px 1px 1px rgba(0, 0, 200, 0.7);
    position: absolute;
    text-align: right;
    width: 94%;
    bottom: 0.3em;
    z-index: 99;
}

.challenge.hexagon .progress {
    display: none;
}
.hide-challenges .challenge {
    opacity: 0.1 !important;
}

.challenge.hexagon .hexagontent {
    color: #35a;
    font-weight: normal;
    padding: 4px 0px;
}
.challenge.hexagon {
    background-color: white;
    border-top: 1px dashed rgba(0, 0, 200, 0.4);
    border-bottom: 1px dashed rgba(0, 0, 200, 0.4);
}
.challenge.hexagon::before {
    background-color: white;
    border-top: 1px dashed rgba(0, 0, 200, 0.4);
    border-bottom: 1px dashed rgba(0, 0, 200, 0.4);
}
.challenge.hexagon::after {
    background-color: white;
    border-top: 1px dashed rgba(0, 0, 200, 0.4);
    border-bottom: 1px dashed rgba(0, 0, 200, 0.4);
}
.challenge.hexagon:hover {
    box-shadow: none;
}

/* Fade out unapproved hexagons */
.honeycomb .hexagon.challenge.stage--1,
.honeycomb .hexagon.challenge.stage--100 {
    opacity: 0.6;
    border-bottom: 3px solid red;
}

/* Hexagon inner content */
.hexagon .hexagontent {
    color: black;
    line-height: 1.5;
}
.hexagon .hexagontent.with-icon {
    line-height: 1.4;
}
.hexagon .hexagontent.with-icon .project-name {
    max-height: 4.5em;
    position: relative;
    z-index: 99;
}
.hexagon .hexagontent div {
    max-height: 5.4em;
}
.hexagon .hexagontent .fa {
    font-size: 240%;
}

.hexagon .hexagontent span {
    display: inline-block;
    max-height: 7em;
    overflow: hidden;
}
.hexagon .hexagontent.text-md span {
    font-size: 80%;
    line-height: 140%;
}
.hexagon .hexagontent.text-sm span {
    font-size: 60%;
    line-height: 100%;
}

.honeycomb {
    text-align: left;
}
.honeycomb .hexagon {
    opacity: 0.4;
    box-shadow: none;
    margin: 3px 21px;
    clear: none;
}
.honeycomb .hexagon,
.hexagon::before,
.honeycomb .hexagon::after {
    width: 82px;
    height: 142px;
}
.honeycomb .hexagon:nth-child(even) {
    top: 73px;
    clear: both;
}
.honeycomb .hexagon.category-highlight {
    opacity: 1;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.15),
        0 1px 2px rgba(0, 0, 0, 0.3);
}
.honeycomb .hexagontent {
    font-size: 1rem;
    text-shadow: 1px 1px 1px rgb(255, 255, 255);
}
.honeycomb .hexagon.hexalist {
    display: none;
    background: white !important;
    color: black;
}
.honeycomb .hexagon.hexalist.category-highlight {
    display: block;
}
.hexagon.hexalist .hexagontent {
    overflow: visible;
    position: relative;
    transform: none;
    left: 10%;
    width: auto;
    text-align: left;
    margin-bottom: 10px;
}
.hexagon.hexalist .hexagontent i.fa,
.hexagon.hexalist .hexagontent br {
    display: none;
}
.hexagon.hexalist .hexagontent small {
    font-size: 100%;
}
.challenge.hexalist .progress {
    visibility: hidden;
}
.project.hexalist .progress {
    float: left;
    position: initial;
    margin-right: 20px;
}

.hexagon {
    background-size: cover;
    background-position: center;
}
.hexagon .hexaicon {
    position: relative;
    left: 50%;
    margin-left: -40%;
}
.hexagon .hexaicon .fa,
.hexagon .hexaicon .logo_icon {
    margin-right: 40%;
    font-size: 200%;
}
.hexagon .hexaicon.im {
    width: 2em;
    height: 2em;
    margin: 0.5em 0 0 -1em;
    background-color: transparent;
    background-size: cover;
    box-shadow: -2px -2px 1px rgb(0 0 0 / 20%);
    border-radius: 1em;
}

/* Adjust brightness of every other hexagon */
.project.hexagon:nth-child(even) {
    filter: brightness(105%);
    /* background-color: rgba(230, 200, 160, 0.95);  */
}
/* .project.hexagon:nth-child(odd) { background-color: rgba(230, 210, 200, 0.95); } */

/* --- Hexagon default palette --- */
.project.hexagon {
    background-color: #ebd8c3;
} /* primary color */
.hexagon.stage-5 {
    background-color: #ebd8c3;
}
.hexagon.stage-10 {
    background-color: #ffeeba;
}
.hexagon.stage-20 {
    background-color: #ffd9ba;
}
.hexagon.stage-30 {
    background-color: #ffe7ba;
}
.hexagon.stage-40 {
    background-color: #fff5ba;
}
.hexagon.stage-50 {
    background-color: #fbffba;
}
/* hhttps://colorkit.co/palette/ffeeba-ffd9ba-ffe7ba-fff5ba-fbffba/ */

/* --- Tooltips used on honeycomb --- */

.tooltip .tooltip-inner {
    border-radius: 10px;
    text-align: center;
}
.tooltip .tooltip-inner div {
    /* Summary */
    hyphens: auto;
}
.tooltip .tooltip-inner span {
    /* Hashtag */
    overflow: hidden;
    max-height: 1.5em;
    display: block;
}
.tooltip .tooltip-inner span,
.project-hashtag {
    font-weight: bold;
    font-size: 150%;
    color: red;
    text-shadow: 1px 1px 1px white;
    font-family: monospace;
}
.hexagon .hexagontent span.project-ident {
    font-size: 90%;
    opacity: 0.5;
    text-shadow: 1px 1px 1px white;
    font-family: monospace;
    padding-top: 0.3em;
}
.event-home .hexagon .hexagontent span.project-ident {
    text-shadow: 2px 1px 1px white;
    color: black;
    font-weight: bold;
    margin-left: -5em;
}
.tooltip .tooltip-inner img {
    max-width: 100%;
    max-height: 13em;
    margin: 0.5em 0;
    background: whitesmoke;
}
.tooltip .tooltip-inner p {
    /* Status as icon
  font-size: 150%;
  letter-spacing: 0.8em;
  margin: 0px 0px 5px 0.7em;
*/
    margin-bottom: 5px;
}

/* --- Progress bars on projects --- */

/*
.project .progress {
    z-index: 999;
    opacity: 0;
    position: absolute;
    margin-top: 1em;
    margin-bottom: 0px;
    height: 10px;
    width: 100px;
    margin-left: -52px;
    left: 50%;
    border: 1px solid white;
    bottom: 5%;
    box-shadow: 3px 3px 3px rgb(0 0 0 / 50%);
}
.project:hover .progress {
    opacity: 0.8;
}
*/
.project .progress .progress-bar {
    background-color: #aaa;
}

.progress-container {
    display: inline-block;
    text-align: center;
    margin-bottom: -5px;
    margin-left: 1em;
    margin-right: 5px;
}
.project-info .progress {
    width: 100px;
    display: block;
}
.progress-bar {
    background-color: #3399f3;
    color: #fff;
}
.project-info .project-score {
    display: inline-block;
    text-align: center;
    margin-left: 1em;
    margin-right: 5px;
}
.project-score .label-info {
    color: #aaa;
    font-size: 140%;
}
.project-score .progress-bar {
    min-width: 2em;
}

/* --- Project page --- */

.project-page .project-headline {
    margin-top: 0.5em;
    overflow-x: hidden;
}
.project-page .project-name {
    text-shadow: 1px 1px 1px white;
    font-weight: bold;
    font-size: 3rem;
}
.project-page .project-summary {
    font-size: 125%;
    hyphens: auto;
    width: 85%;
}
.project-page .project-ident {
    display: inline-block;
    margin-bottom: 0.5em;
    font-size: 250%;
    opacity: 0.6;
}
.project-home .project-headline .logo_icon,
.project-home .project-headline i.fa {
    float: left;
    font-size: 2.8rem;
    margin-right: 0.2em;
}
.project-home .project-image-container {
    margin-top: 0px;
    margin-bottom: -15px;
    height: 200px;
    width: 100%;
    display: block;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    background-size: cover;
    opacity: 0.1;
}
.jumbotron.project-page {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border: 4px solid transparent;
    margin-top: 0em; /* to overlap slightly with image */
    position: relative;
}
.project-home .jumbotron.project-page.phase-Ask {
    border: 4px dotted #ccc;
}

/* Image effects */
.project-home .project-image-container.underlay {
    filter: blur(2px);
    z-index: -1;
}
.project-home .project-image-container.overlay {
    opacity: 1;
}
.project-home #overlayImage {
    position: absolute;
    margin-top: -170px;
    margin-left: 10px;
    height: 160px;
    max-width: 320px;
    overflow: hidden;
}
.project-page .details {
    font-size: 80%;
    margin-top: 1em;
    text-align: right;
}
.project-page .details p {
    margin: 0px;
}
.project-page .details a {
    font-size: 120%;
}
.project-page .project-info {
    min-height: 240px;
    overflow-x: auto;
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    padding: 5px;
    /* When shown in tabs */
    border-top: none;
    border-radius: 0px;
    clear: both;
}
.project-page .project-star i {
    padding-right: 5px;
}
.jumbotron.projectnew-boilerplate {
    border: 10px solid lightseagreen;
}
a.media {
    text-decoration: none;
}
.media .media-body {
    display: inline-block;
}
.project-page img {
    max-width: 100%;
}
.theme-dark .alert-light a {
    color: initial;
}
.project-page.jumbotron {
    overflow-x: hidden;
    padding: 1rem;
}
.project-info .project-team {
    font-weight: normal;
    list-style: none;
    margin: 0px;
    padding: 0px;
}

/* Conditions of project */
#project-terms {
    float: left;
}
@media (min-width: 576px) {
  #project-terms {
    margin-right: -10em;
  }
}
#project-terms a {
    color: initial;
    display: block;
    text-decoration: none;
    border: 1px dashed black;
    padding: 5px;
    margin-top: 3px;
}
#project-terms a:hover {
    border-color: blue;
    box-shadow: 3px 3px 0px black;
    margin-left: -3px;
    margin-right: 3px;
    margin-top: 0px;
    margin-bottom: 3px;
}

/* Content blocks on project page */
.project-page .project-autotext img,
.project-page .project-longtext img {
    max-width: 100%;
    max-height: 400px;
}
.theme-dark .sl-wrapper.simple-lightbox {
    background: #aaa;
}
.sl-wrapper.simple-lightbox {
    background: white;
}
.timeline .lightboxed {
    clear: both;
    display: block;
}
/*.project-page .lightboxed:hover:before {
    content: "🔍";
    font-size: 2rem;
    position: absolute;
    vertical-align: top;
    margin-left: 0.4rem;
}*/
.project-page .project-autotext .card,
.project-page .project-longtext .card {
    background: none;
}
.project-page .project-autotext iframe,
.project-page .project-longtext iframe {
    max-width: 100%;
}
.project-page .project-autotext blockquote,
.project-page .project-longtext blockquote {
    border-left: 3px solid lightgrey;
    padding-left: 1em;
    color: #555;
}
@media (min-width: 576px) {
    .project-home #overlayImage {
        max-width: 500px;
    }
    .project-page.jumbotron {
        padding: 2rem;
    }
    .project.hexalist .hexagontent {
        left: 35%;
    }
    .project-page .project-autotext,
    .project-page .project-longtext {
        margin: 2em;
    }
    .project-page .project-ident {
        line-height: 0px;
    }

    .nav-projects-abs-next,
    .nav-projects-abs-prev {
        visibility: visible !important;
    }
}
@media (min-width: 1000px) {
    .project-home #overlayImage {
        max-width: 800px;
    }
}
.project-page .project-info td,
.project-page .project-info th {
    padding: 0.2em 1.4em 0 0;
}
.project-page .project-info thead {
    border-bottom: 1px solid black;
}

.project-page .project-longtext {
    margin: 1em 0em;
}
.project-page .project-autotext {
    margin: 0em;
}

.project-page .latest-drib {
    padding: 1em;
}

.nav-projects-abs-prev,
.nav-projects-abs-next {
    visibility: hidden;
    position: absolute;
    height: 6em;
    top: 12em;
}
.nav-projects-abs-prev {
    left: 0px;
    border-left: none !important;
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
}
.nav-projects-abs-next {
    right: 0px;
    border-right: none !important;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
}
.nav-project-helper .btn {
    max-width: 20em;
    vertical-align: top;
    height: 4em;
    line-height: 1.5em;
    overflow: hidden;
    text-align: left;
}

/* -- Timeline (dribs) -- */

.timeline-img {
    width: 2em;
    height: 2em;
    background: #baa;
    color: white;
    opacity: 1;
    border-radius: 1em;
    margin-top: 0.5em;
    margin-left: -1em;
    text-align: center;
    line-height: 2em;
    font-size: 150%;
}
.project-page .timeline-content {
    overflow: hidden;
}
.timeline-content .content img {
    width: 100%;
}
.timeline-content .content > * {
    color: black;
}
.timeline-content .challenge-posted {
    font-weight: bold;
}
.timeline-notext {
    background: none;
    border: none;
    box-shadow: none;
    text-align: center;
}
.timeline-notext h1 {
    opacity: 0.6;
    padding-top: 0.2em;
}

/* Hides the triangle pointers in the timeline */
.timeline-card::after {
    display: none;
}
.timeline-start .timeline-card::after,
.timeline-finish .timeline-card::after,
.timeline-progress .timeline-card::after {
    display: initial;
}
.timeline-card .close {
    margin: 0.5em 1em;
    color: dimgrey;
    text-decoration: none;
    float: right;
}
.timeline-card.timeline-content {
    overflow: hidden;
}
/* Other project timeline customizations */
.project-page .timeline-finish .timeline-content,
.project-page .timeline-start .timeline-content {
    background: #aaa;
}
.project-page .timeline-finish .date,
.project-page .timeline-start .date {
    color: white;
}
.project-page .timeline-progress .timeline-img-header {
    border: 5px solid #aaa;
}
.project-page .timeline-progress .timeline-content .date {
    display: none;
}
.project-page .timeline-item {
    margin-bottom: 20px;
}
.timeline-boost .timeline-img-header {
    background: teal;
}
.timeline-review .timeline-content {
    background: #f2fef2;
    border-top: none;
}
.timeline-pencil .timeline-content {
    background: #ffc;
    border-top: none;
}
.timeline-content .date a,
.timeline-content .content a {
    color: #333;
    border-bottom: 1px dotted #777;
}
.timeline-diamond .content {
    font-family: monospace;
    font-size: 80%;
    line-height: 1.7em;
    border-bottom: 3px white dashed;
    margin-bottom: 14px;
    background: aliceblue;
}

/* List of badges on project page */
.project-badges .boost {
    display: inline-block;
    width: 2em;
    height: 2em;
    background: teal;
    color: white;
    opacity: 1;
    border-radius: 1em;
    text-align: center;
    line-height: 1.8em;
    font-size: 150%;
}

.project-buttons {
    display: block;
    text-align: center;
}
.project-buttons .btn {
    display: inline-block;
    text-align: center;
    font-size: 140%;
    width: 6em;
    height: 5em;
}
.projectedit form .btn:hover,
.project-buttons .btn:hover {
    border: 1px solid rgba(0, 0, 100, 0.5);
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}
.project-buttons .btn span {
    font-size: 300%;
    display: block;
}

.project-page .widget {
    text-align: center;
    margin: 1em;
}
.project-page .widget iframe {
    max-width: 100%;
    overflow: hidden;
}

.userprofile .nav,
.project-page .nav {
    clear: both;
    /* padding: 20px 5px 5px; */
    border-bottom: 1px solid lightgrey;
    margin-top: 10px;
}
.project-page .nav a {
    text-shadow: 1px 1px 4px white;
    font-weight: bold;
    color: #007bff;
}
.project-page .nav a:not(.active):hover {
    background-color: rgba(200, 200, 200, 0.8);
}
.project-page .nav a.active {
    text-shadow: none;
    background: rgba(85, 200, 200, 0.8);
    border-bottom: 1px solid white;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

/* Autotext fader */
.project-page .project-autotext.active {
    max-height: none;
    overflow: visible;
}
.project-page .project-autotext.active .cover {
    display: none;
}
.project-page .project-autotext .cover {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    cursor: pointer;
    cursor: hand;

    background: rgba(255, 255, 255, 0);
    background: -moz-linear-gradient(
        top,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 1) 92%,
        rgba(255, 255, 255, 1) 100%
    );
    background: -webkit-gradient(
        left top,
        left bottom,
        color-stop(50%, rgba(255, 255, 255, 0)),
        color-stop(92%, rgba(255, 255, 255, 1)),
        color-stop(100%, rgba(255, 255, 255, 1))
    );
    background: -webkit-linear-gradient(
        top,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 1) 92%,
        rgba(255, 255, 255, 1) 100%
    );
    background: -o-linear-gradient(
        top,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 1) 92%,
        rgba(255, 255, 255, 1) 100%
    );
    background: -ms-linear-gradient(
        top,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 1) 92%,
        rgba(255, 255, 255, 1) 100%
    );
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 1) 92%,
        rgba(255, 255, 255, 1) 100%
    );
}
.project-page .project-autotext .cover i {
    position: absolute;
    bottom: 10px;
    left: 50%;
}
/* - Autotext fader */

/* Project embedded content */
.project-page .resizable {
    width: 100%;
    height: 680px;
    box-shadow: 5px 5px 10px #535353;
    margin-bottom: 1em;
    border: 1px silver;
    border-radius: 4px;
    overflow: hidden;
    position: sticky;
}
.project-home .modal-body iframe,
.project-page .resizable iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}
.modal-fullscreen .modal-body {
    padding: 0px;
}
.modal-fullscreen .modal-dialog {
    max-width: 100%;
    margin: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100vh;
    display: flex;
}
.timeline h2 {
    font-size: 1.3rem;
}
@media (max-width: 990px) {
    .project-page .resizable {
        height: 348px;
    }
    .project-page .project-buttons .btn {
      font-size: 120%;
      width: 5em;
    }
}
@media (max-width: 1200px) {
    .project-page .resizable {
        height: 480px;
    }
    .timeline h2 {
        font-size: 1rem;
    }
}
.win-size-grip {
    position: absolute;
    width: 16px;
    height: 16px;
    padding: 4px;
    bottom: 0;
    right: 0;
    cursor: nwse-resize;
    background: url(https://raw.githubusercontent.com/RickStrahl/jquery-resizable/master/assets/wingrip.png)
        no-repeat;
}

/* Resources */
.resource-card {
    display: inline-block;
    background: rgba(0, 0, 0, 0.06);
    width: 90%;
    padding: 0.1em 0.5em;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    margin-right: 0.5em;
}
.resource-card:hover {
    background: rgba(0, 0, 0, 0.03);
    text-decoration: none;
}
.resource-card p {
    font-size: 80%;
    line-height: normal;
    color: #333;
}

/* Oneboxes in content */
.onebox.what {
    border: 2px solid #ddd;
    background: #f0f0f0;
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.3);
    color: black;
    padding: 0.5em;
    margin: 0.5em 1em 1em 0px;
    min-height: 6em;
    width: 50%;
    display: block;
    clear: both;
}
.onebox * {
    text-decoration: none !important;
}
.onebox:hover {
    opacity: 1;
}
.onebox h5 {
    display: inline-block;
    color: #007bff;
    clear: none;
}
.onebox .event-detail {
    font-size: 80%;
    opacity: 0.7;
}
.onebox .phase::before {
    content: " - ";
}
.onebox p {
    font-size: 90%;
}
.onebox.honeycomb {
    max-width: 80%;
    min-height: 8em;
    clear: both;
    display: block;
    margin: 20px 0px 0.8em 20px;
}
.onebox.honeycomb .hexagon {
    float: left;
    margin-top: -0.8em;
    margin-left: 0em;
    margin-right: 3em;
    opacity: 1;
    transform: scale(0.8);
}
.onebox.honeycomb .title {
    margin-top: 1em;
}

/* Project entry form */
.projectform .switch-editor .disabled i {
    display: none;
}
.projectform .fld-progress .radio-inline {
    display: block;
}
.projectform .fld-progress {
    border-width: 25px;
    padding-left: 5px;
    border-top: none !important;
    border-bottom: none !important;
    border-right: none !important;
    border-style: solid;
    -webkit-border-image: -webkit-gradient(
            linear,
            0 100%,
            0 0,
            from(black),
            to(rgba(0, 0, 0, 0))
        )
        1 100%;
    -webkit-border-image: -webkit-linear-gradient(
            bottom,
            black,
            rgba(0, 0, 0, 0)
        )
        1 100%;
    -moz-border-image: -moz-linear-gradient(bottom, black, rgba(0, 0, 0, 0)) 1
        100%;
    -o-border-image: -o-linear-gradient(bottom, black, rgba(0, 0, 0, 0)) 1 100%;
    border-image: linear-gradient(to top, black, rgba(0, 0, 0, 0)) 1 100%;
}
.projectform .fld-progress select {
    font-size: 150%;
}
.projectform form .control-label[for="resource"],
.projectform form .control-label[for="note"] {
    margin-top: 0px;
}
.projectform form .checkbox label[for="is_autoupdate"] {
    margin-left: 30%;
    margin-top: 20px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 0 10px cyan;
}
.projectform form .checkbox label[for="is_autoupdate"] input {
    margin-right: 1em;
}
.projectform form .checkbox label[for="is_webembed"] {
    font-weight: bold;
    margin-bottom: 1em;
}
.projectform form .checkbox label[for="is_webembed"] input {
    margin-right: 0.4em;
}
.projectform form .autotext-indicator {
    display: block;
    margin-top: -3em;
    float: right;
}
.projectform form .autotext-indicator i {
    margin: 0px 1em;
    color: red;
}
.projectform .fld-longtext .help-inline .form-text {
    display: none;
}
.help-inline .text-muted {
    margin-left: 1em;
}
.help-inline .text-muted::before {
    content: "//";
    opacity: 0.5;
}

/* Editor styles */
form .EasyMDEContainer .editor-toolbar {
    background: white;
}
form .EasyMDEContainer .editor-toolbar .fa {
    color: black;
}
form .EasyMDEContainer {
    text-align: left;
}
form .EasyMDEContainer .editor-preview-side {
    width: 51%;
}

/* General form styles */
main form .control-label {
    font-weight: 400;
    font-size: 140%;
    display: block;
    text-align: center;
    margin-top: 1em;
    clear: both;
}
main form .form-group .checkbox {
    text-align: left;
}
main form > .form-group {
    margin-top: 1rem;
    margin-bottom: 0px;
    text-align: center;
}
main form .help-inline {
    display: block;
    margin-top: 0.5em;
    opacity: 0.4;
    text-align: left;
}
main form .form-group:hover .help-inline {
    opacity: 1;
}
main form .form-group .form-control {
    font-size: 125%;
    box-shadow: 5px 5px 5px #ccc;
}
main form input[type="date"] {
    font-size: 150%;
}
main form .form-group .checkbox {
    text-align: center;
}
main form .form-group .checkbox label {
    box-shadow: 5px 5px 5px #ccc;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
}
main form .form-group .checkbox label:hover {
    background-color: lightyellow;
    color: black;
    cursor: pointer;
}

.userform main .form-group input {
    margin-right: 0.5em;
}
.userform main .form-actions {
    clear: both;
    display: block;
    margin-top: 1em;
    text-align: center;
}
.userform main #submit {
    min-width: 7em;
    font-size: 150%;
}
main .form-actions input.btn {
    margin-top: 1em;
    font-size: 150%;
    width: 100%;
}
.with-event .form-group label.required::after {
    color: #ff0000;
    content: " *";
}
.form-group .g-recaptcha > div {
    display: inline-block;
}

/* Inline "README" */
#team-md::before {
    content: "Team";
}
#dribs-md::before {
    content: "Log";
}
#suggest-md::before {
    content: "Resources";
}
#readme-md::before {
    content: "Readme";
}
#project-md::before {
    content: "Pitch";
}
.resource-page #project-md::before {
    display: none;
}
.phase-Challenge #project-md::before {
    content: "Challenge";
}
#team-md::before,
#dribs-md::before,
#readme-md::before,
#suggest-md::before,
#project-md::before {
    width: 100%;
    display: block;
    text-align: center;
    font-size: large;
    font-weight: bold;
    color: rgba(150, 190, 250, 1);
    border: 3px solid rgba(150, 190, 250, 0.4);
    border-left: none;
    border-right: none;
    padding: 1em;
    margin: 0.5em 0em;
}
.tab-content {
    clear: both;
}
a.go-up {
    position: fixed;
    display: inline-block;
    text-decoration: none;
    font-size: 125%;
    top: 0.7em;
    right: 1em;
    opacity: 0.5;
}

/* Badges */
.challenge-badge {
    display: block;
    height: 3em;
    width: 100%;
    text-indent: -9999px;
    color: transparent;
    margin-right: 0.3em;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.challenge-badge.level-1 {
    background-image: url("/static/img/badge-green.png");
}
.challenge-badge.level-2 {
    background-image: url("/static/img/badge-blue.png");
}
.challenge-badge.level-3 {
    background-image: url("/static/img/badge-black.png");
}
.challenge-badge.level-4 {
    background-image: url("/static/img/badge-red.png");
}

/*.navbar-collapse .navbar-nav li {
    text-align: center;
}*/
.nav-categories .btn,
.project-category.btn {
    opacity: 0.6;
    font-size: 16px;
    margin-bottom: 10px;
    min-height: 64px;
}
.nav-categories label {
    border: 1px solid #ddd;
}
.nav-categories label.active {
    border: 1px solid #777;
}
.nav-categories label input {
    display: none;
}
.nav-categories {
    margin: 10px;
    max-width: 97%;
    overflow-x: auto;
}
.project-score {
    float: right;
}
.project-page .project-score {
    text-align: center;
    min-width: 8em;
    margin-top: -1em;
    margin-right: -1em;
    margin-bottom: 1em;
}
.project-page .project-category {
    float: right;
    font-size: 150%;
    margin-top: 1.4em;
    text-align: right;
    clear: both;
}
.project-page .project-category a:hover {
    text-decoration: none;
}
.project-page .project-category-hexagon {
    opacity: 0.3;
}
.profile-projects .stage-conditions .stage-no {
    font-weight: bold;
}
.profile-projects .stage-conditions .stage-ok .fa {
    color: green;
}
.profile-projects .stage-conditions .stage-no .fa {
    color: orange;
}
.project-image-container {
    background-color: grey;
}
div.project-edit-buttons {
    float: right;
    left: -3em;
}
.project-edit-buttons,
.project-tab-buttons {
    display: inline-block;
    clear: none;
    left: 3em;
    float: left;
    height: 3.3em;
}
.project-edit-buttons > *,
.project-tab-buttons > * {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    box-shadow: none !important;
    border-bottom: 1px solid transparent !important;
    opacity: 0.8;
}
.project-tab-buttons i {
    padding: 0.5em;
}
@media only screen and (max-width: 460px) {
    div.project-edit-buttons,
    div.project-tab-buttons {
        float: none;
        left: 0px;
        right: 0px;
        margin: 0px;
        width: auto;
        display: inline-block;
    }
    .container .jumbotron {
        padding: 0.3em;
        border: none;
    }
    .jumbotron section {
        overflow: hidden;
    }
    .project-home .jumbotron.project-page {
        border-width: 1px;
    }
    .timeline .timeline-item .timeline-img {
        margin-left: 0em;
        margin-top: -1em;
    }
    #homeCarousel .carousel-caption {
        left: 0%;
        width: 100%;
    }
    #homeCarousel,
    #homeCarousel .bd-placeholder-img {
        height: 360px;
    }
}
.category-info {
    padding: 0 10%;
    text-align: left;
}
.category-info img {
    max-width: 100%;
}
.event-home .category-info {
    margin-top: 8em;
    margin-bottom: -3em;
}
.category-tip {
    opacity: 0.8;
}

.event-participants.jumbotron {
    padding: 2rem;
    border: 4px dashed lightgray;
}
.event-participants h1 {
    margin: 1em;
    text-align: center;
    display: none;
}
.event-participants .participant-box {
    padding: 2em;
    margin-bottom: 2em;
    text-align: center;
}

.event-instruction .container p:last-child {
  margin-bottom: 0px;
}

@media (max-width: 760px) {
    .category-info {
        margin-top: 0px;
    }
    .project-page .project-score {
        float: none;
        margin: 0.5em;
    }
}

/* big stylish jumbotrons! */

.jumbotron {
    padding: 2rem;
    border-radius: 0px;
    border: 2px dotted lightblue;
    box-shadow: 5px 5px 0px lightblue;
}
.alert.jumbotron {
    padding: 1rem;
}

/* tip section */

.join-tip {
    padding: 0.5em;
    text-align: center;
}

/* avatar and profile styles */

.team-gravatar img {
    vertical-align: top;
    width: 3.8em;
    height: 3.8em;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.team-gravatar span {
    width: 48%;
    display: inline-block;
    padding-left: 0.2em;
}
.team-gravatar {
    color: initial;
    width: 14em;
    height: 5em;
    font-size: 125%;
    display: inline-block;
    border: 1px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.1);
    border-right-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 0.5em;
    margin-right: 5px;
    overflow: hidden;
    text-align: left;
    text-decoration: none;
}
.theme-dark .team-gravatar {
    color: white;
}
.team-gravatar:hover {
    border: 1px solid white;
    box-shadow: 2px 2px 2px rgba(0, 0, 200, 0.5);
}

.team-roles {
    display: inline-block;
    float: right;
    margin: -7px;
    z-index: 99;
}
.team-roles em {
    display: block;
    font-size: 90%;
    font-style: normal;
    text-align: center;
    color: #333;
    padding: 1px 3px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom: 1px solid #999;
    margin-bottom: 1px;
}

.widget-team .kick-user {
    vertical-align: top;
    font-size: 150%;
}
.widget-team .kick-user:hover {
    font-weight: bold;
    text-decoration: none;
}
.widget-team .project-owner {
    position: absolute;
    padding: 3pt;
    color: lightyellow;
    font-size: 125%;
    text-shadow: 1px 1px 2px black;
}
.missing-roles .role {
    width: 200px;
    height: auto;
    display: inline-block;
    border-top: 2px solid rgba(0, 0, 100, 0.2);
    border-left: 2px solid rgba(0, 0, 100, 0.2);
    border-radius: 10px;
    padding: 1em;
    margin-right: 5px;
    overflow: hidden;
    text-align: left;
    opacity: 0.5;
    cursor: pointer;
    text-decoration: none;
}
.missing-roles .role:hover {
    opacity: 1;
}

.profile-picture img {
    width: 125px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 1em;
}

.profipic::after,
.profipic::before {
    width: 50px;
    height: 50px;
    border-top: 5px solid rgba(0, 0, 0, 0.5);
    content: "";
    position: absolute;
}
.profipic::before {
    left: 0;
    transform: rotate(-60deg);
}
.profipic::after {
    right: 0;
    bottom: 40px;
    transform: rotate(-240deg);
}

.profile-header .user-name {
    font-size: 3rem;
}

.profile-skills,
.profile-wishes {
    font-size: 125%;
}

.profile-skills .skill,
.profile-wishes .wish {
    margin: 3px 3px;
    padding: 0px 8px;
    border-radius: 8px;
    display: inline-block;
    text-decoration: none;
    color: black;
}

.profile-skills .skill {
    background-color: #d0e4d9;
}

.profile-wishes .wish {
    background-color: #e8dab9;
}

.profile-social {
    margin-top: 1em;
    line-height: 26px;
}
.profile-social img,
.profile-social i {
    width: 26px;
    font-size: 26px;
    display: inline-block;
    float: left;
    color: #333;
    margin-right: 5px;
}
.profile-roles {
    margin: 0;
    padding: 0;
    min-width: 10em;
}
.profile-roles li {
    list-style: none;
    line-height: 2em;
    font-size: 140%;
    font-weight: bold;
}
.userprofile h1 {
    margin-top: 0.5em;
}
#get-certified {
    background-image: url("/static/img/certificate.png");
    background-repeat: no-repeat;
    background-size: cover;
    font-size: 0px;
    height: 79px;
    width: 90px;
    margin: 10px;
}
.drib-count,
.team-boost,
.user-score {
    min-width: 2.3em;
    text-align: center;
    display: inline-block;
    background: #007bff;
    color: #fff;
    border-radius: 2em;
    padding: 0.4em;
}
.category-tip .user-score {
    background: #fff;
}
.project-score .drib-count {
    font-size: 80%;
    margin-top: -0.5em;
    text-decoration: none;
    color: #fff;
}
.project-tips {
    margin-top: -4em;
}
.project-tips {
    margin-top: 1em;
    padding: 1em 1.4em;
    border-radius: 0px;
    border-left: 1px dotted rgba(0, 0, 0, 0.5);
}
.home-page .profile-projects {
    padding-left: 25px;
}
.stages-page .profile-projects {
    margin-left: 5em;
    border: none;
}
.theme-dark .profile-projects {
    border-color: rgba(255, 255, 255, 0.5);
}
.bg-light.text-dark a,
.theme-dark .btn-light,
.theme-dark .bg-white a,
.theme-dark .bg-white {
    color: black;
}
.profile-projects.honeycomb {
    padding: 0px;
    background: transparent;
}
.profile-projects.honeycomb .row {
    padding: 10px 40px;
    overflow: hidden;
    background: none;
}
.profile-projects.honeycomb .hexagon {
    margin-bottom: 80px;
}
.profile-projects .flex-row::-webkit-scrollbar {
    display: none;
}
.profile-projects .flex-row .card.challenge:first-child,
.profile-projects .flex-row .card.project:first-child {
    margin-left: 20px;
}
.profile-projects .flex-row .card.challenge,
.profile-projects .flex-row .card.project {
    height: 8em;
    width: 20em;
    margin-right: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    display: inline-block;
    padding: 0px;
    border-left: 1px solid #ccc;
}
a.card,
.card > a {
    text-decoration: none;
}
.profile-projects .card {
    background-size: 120px auto;
    background-repeat: no-repeat;
    background-position: 0 3px;
    border-color: transparent;
    background-color: transparent;
    border: 1px solid #ccc;
    padding-right: 0px;
}
.profile-projects .card:hover {
    box-shadow: 3px 3px 3px lightblue;
    border-color: orange;
    z-index: 1;
}
.profile-projects .card .card-img-left {
    max-height: 200px;
    max-width: 200px;
    padding: 0px;
    margin-right: 1em;
    float: left;
}
.profile-projects .card-text {
    font-size: 12pt;
}
.profile-projects .project-stats th {
    min-width: 3em;
}
.profile-projects a:hover {
    text-decoration: none;
}
.profile-projects .project-score {
    margin: 5px;
    text-align: center;
    width: 100px;
    display: block;
}
.profile-projects center {
    margin-top: 5px;
}
.userprofile .profile-text {
    font-size: 125%;
    padding: 1em 1em 0.1em;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}
.userprofile .profile-goals {
    min-width: 13em;
    display: inline-block;
    font-family: monospace;
    font-size: 120%;
    padding: 1em 1em 0.1em;
    margin-bottom: 1.5em;
    border-left: 1px solid rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 0.5em;
    background: #eed;
    color: #333;
}
.userprofile .profile-goals:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-top-color: #eed;
    border-bottom: 0;
    border-left: 0;
    margin-bottom: -20px;
}
@media (max-width: 760px) {
    .profile-projects .project-score,
    .profile-projects .card .project-image {
        display: none;
    }
    .profile-projects .card {
        padding-left: 0px !important;
        background-image: none !important;
    }
    .profile-projects.honeycomb .row {
        min-height: 240px;
    }
    .profile-projects.honeycomb .hexagon {
        margin-bottom: 0px;
    }
}

/* Embed view of the projects */
.embed-view footer,
.embed-view .navbar {
    display: none;
}
.embed-view h2 {
    margin-bottom: 0px;
}
.embed-event {
    text-align: center;
    background: transparent;
    padding-top: 10px;
}
.embed-view,
.embed-view .container {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    background: none;
}
.embed-view .honeycomb {
    transform: scale(0.52);
    transform-origin: top left;
    padding-left: 20%;
    margin-top: 0px !important;
}
.embed-event .event-countdown {
    bottom: 0px;
    position: absolute;
    transform: scale(0.5);
    display: block;
}
.embed-view .section-header {
    display: none;
}
.carousel-caption .embed-view {
    max-height: 13em;
    overflow: hidden;
}
.carousel-caption .embed-view .ibws-fix {
    width: 800px;
}

/* Print view of projects */
.print-page .project-meta {
    float: right;
    width: 50%;
    list-style-type: none;
    border-left: 1px dashed #999;
    padding-left: 15px;
}
.print-page .full-content {
    padding: 2em;
    margin: 0 1em;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 5px 5px 0px #ccc;
}
.print-page .full-content > tt {
    display: block;
    text-align: center;
    margin-bottom: 1em;
}
@media only print {
    .no-print,
    footer {
        display: none !important;
    }
}

/* ------------
Code of Conduct
--------------- */
.codeofconduct {
    margin-top: 20px;
    padding: 10px;
    border-radius: 10px;
    box-shadow:
        0 0 0 4px orange,
        0 0 0 6px yellow,
        0 0 0 10px cyan;
}

.creativecommons {
    margin-top: 1em;
    padding-left: 120px;
    min-height: 50px;
    background: url("/static/img/cc-by.svg") no-repeat 0px 6px;
    background-size: 106px auto;
}

/* ------------
Issues list view
--------------- */
.list-data .list-group-item {
    border-left: none;
    border-right: none;
    border-top: none;
    /* border-bottom: 1px solid #aaa; */
    border-radius: 0px;
    margin-right: 1em;
    text-align: left;
    color: inherit;
    text-decoration: none;
}
.list-data .list-group-item.link-more {
    color: blue;
}
.list-data .list-group-item:hover {
    background: lightyellow;
}
.list-data .list-group-item img {
    height: 1em;
    padding-right: 0.5em;
}
@media (min-width: 1000px) {
    .list-data .list-group-item {
        display: inline-block;
        overflow: hidden;
        height: 3em;
        line-height: 2em;
        padding-top: 0.4em;
    }
}
.list-data a.list-group-item:nth-child(1) {
    /* border-top: 1px solid #aaa; */
}
.widget.widget-github {
    text-align: left;
}
.widget.widget-github .list-group-item:last-child {
    border: none;
}

/* -------------
Instruction page
---------------- */

.instruction-page .resource-list {
    margin: 0;
    padding: 0;
    margin-top: 1em;
}
.instruction-page .event-resources {
    padding: 2rem;
    margin: 0;
    font-size: 125%;
}

@media (min-width: 1000px) {
  .list-stages {
    padding-left: 5rem;
  }
}
.list-stages .step {
    margin-top: 3em;
}
.list-stages .step .title {
    padding: 3px;
    display: block;
    opacity: 0.7;
    width: 100%;
    z-index: 1;
    cursor: pointer;
    font-size: 2rem;
}
.stages-page .list-stages .step .title {
    font-size: 1rem;
    position: absolute;
    margin-left: -3pt;
    margin-top: 30pt;
}
.list-stages .step .emoji {
    position: absolute;
    margin-left: -2em;
    font-size: 300%;
    opacity: 0.5;
}
.list-stages .step:hover .emoji,
.list-stages .step:hover .number,
.list-stages .step:hover .title {
    opacity: 1;
}
.list-stages .step.active .title {
    font-weight: bold;
}
.list-stages .step .number {
    font-size: 3rem;
    position: absolute;
    z-index: 0;
    margin-top: -1rem;
    opacity: 0.5;
}
.list-stages .step .agree-list,
.list-stages .step .subtitle {
    margin: 0em 6em;
    font-size: 125%;
    padding-bottom: 1em;
}
.list-stages .step .agree-list li {
    clear: both;
    list-style: disclosure-closed;
    font-size: 70%;
}
.list-stages .step .card {
    min-height: 7em;
    min-width: 16em;
    vertical-align: top;
}
.form-project-stage {
    /* margin-top: 1em; */
    font-size: 125%;
    text-align: left;
    /* border: 3px dashed lightgray; */
    /* padding: 1em; */
}
.form-project-confirm input {
    transform: scale(1.5);
    position: absolute;
    left: 24px;
}
.form-project-confirm label {
    clear: both;
    /*
  margin-top: 0.5em;
  cursor: pointer;
  padding: 0 0 0 2em;*/
}
.projectpost alert {
    margin-top: 0.5em;
}
.projectpost .project-name {
    color: #777;
}
.projectpost .form-project-post .checkbox {
    float: right;
}

/* ------------
Search engine
--------------- */

.navbar .form-inline .form-control {
    background-color: transparent;
    border-color: transparent;
}
.navbar .form-inline .form-control:focus {
    background-color: white;
    color: black;
}

#search-results .card-image {
    width: 48px;
    height: 7em;
    background-repeat: no-repeat;
    display: inline-block;
    background-size: contain;
    margin-right: 8px;
}
#search-results sm {
    font-weight: normal;
    font-size: 80%;
    display: block;
}
#search-results tr {
    cursor: pointer;
}
#search-results tr:hover {
    filter: invert(100%);
}

/* ------------
Global alerts
--------------- */

#global-notifications-alert .alert {
    display: inline-block;
    text-align: center;
    font-size: 125%;
    min-width: 20em;
    position: fixed;
    margin: 0 1em;
    z-index: 1000;
    bottom: 10px;
}
#global-notifications-alert i {
    font-size: 150%;
    float: left;
}
#global-notifications-alert p {
    margin-bottom: 0px;
}

/* ------------
Data Packages view
--------------- */

/* .list-datapackage { max-height: 14.7em; overflow: auto } */
#datacentral .btn {
    color: white;
}

.list-datapackage .list-group-item {
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid #333;
    border-radius: 0px;
    background: transparent;
}
@media (min-width: 1000px) {
    .list-datapackage .list-group-item {
        width: 100%;
        display: inline-block;
        min-height: 3em;
        line-height: 2em;
        padding-top: 0.4em;
    }
    .list-datapackage a.list-group-item:nth-child(2) {
        border-top: 1px solid #333;
    }
}
.list-datapackage a.list-group-item:nth-child(1) {
    border-top: 1px solid #333;
}
.list-datapackage .list-infos {
    font-size: 80%;
    color: #999;
}
.datapackage .card-text.description {
    max-height: 12em;
    overflow: auto;
}
.datapackage .schema-fields {
    max-width: 9em;
    overflow: hidden;
    display: inline-block;
    max-height: 1.2em;
}
.datapackage .schema-fields b[title="date"] {
    color: green;
}
.datapackage .schema-fields b[title="string"] {
    color: blue;
}
.datapackage .schema-fields b[title="number"] {
    color: orange;
}
.datapackage .schema-fields b[title="integer"] {
    color: darkred;
}

/* -----------
SlackIn button
-------------- */

.sso-login .btn.signin-slack {
    background-image: url("/static/img/sso/slack-sign-in.png");
    background-position: left;
    font-size: 0px;
    height: 40px;
}
.sso-login .btn.signin-azure {
    background-image: url("/static/img/sso/azure_teams.svg");
    height: 50px;
}
.sso-login .btn.signin-github {
    background-image: url("/static/img/sso/github-sign-in.png");
    background-position: left;
    font-size: 0px;
}
.sso-login .btn.signin-gitlab {
    background-image: url("/static/img/sso/gitlab-logo.svg");
}
.sso-login .btn.signin-oauth2 {
    background-image: url("/static/img/sso/oauth.png");
    height: 60px;
}
.sso-login .btn.signin-mattermost {
    background-image: url("/static/img/sso/mattermost-icon.png");
    height: 60px;
    background-position: 16em;
}
.sso-login .btn.signin-hitobito {
    background-image: url("/static/img/sso/hitobito.png");
}

.sso-login .btn:hover {
    color: red;
}
.sso-login .btn {
    height: 50px;
    width: 100%;
    max-width: 460px;
    font-weight: bold;
    font-size: 125%;
    text-align: left;
    background-position: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 1em;
}

#loginForm {
    max-width: 32em;
}

.account-register a {
    margin-left: 3.5em;
    font-size: 125%;
}

.login .sso-login::after,
.login .account-register::before {
    content: "or";
    display: block;
    margin: 0.5em 5em;
    font-size: 200%;
    font-family: cursive;
    font-style: italic;
}

.__slackin {
    margin-bottom: 10px;
    display: block;
}

.attribution {
    font-size: 80%;
    font-family: monospace;
    position: absolute;
    right: 2.5em;
}
