/* Page Layout */
.portal-footer-powered-by {
    font-size: 0.8rem;
    color: var(--spacewalk-dark-grey);
}

.portal-footer-powered-by a:hover {
    text-decoration: underline;
}

.portal-footer-powered-by a:not(:hover) {
    color: var(--spacewalk-dark-grey);
}

.portal-footer-powered-by img {
    height: 1.5rem;
}

/* focus-pulse: draw attention to an element with focus
/* don't allow direct clicks to steal focus thus triggering pulse */
.focus-pulse {
    pointer-events: none;
}

/* let clicks through to anchors though */
.focus-pulse a {
    pointer-events: auto;
}

/* pulse when receives focus */
.focus-pulse:focus {
    outline: none;
    border-radius: 5%;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(36, 134, 255, 0.4);
    animation: focus-pulse 1.5s 10;
}

@keyframes focus-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(36, 134, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(36, 134, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(36, 134, 255, 0);
    }
}

.section {
    background-color: var(--spacewalk-white);
    color: var(--spacewalk-text);
    box-shadow: 0 0 0.5rem 0.2rem var(--spacewalk-shadow-grey);
    padding: 0.5rem;
}

.section.section-inverted {
    box-shadow: inset 0 0 0.05rem 0.05rem var(--spacewalk-shadow-grey);
}

.section:not(:last-child) {
    margin-bottom: 0.5rem;
}

.section-header h1,
.section-header h2,
.section-header h3,
.section-header h4,
.section-header h5,
.section-header h6 {
    background-color: var(--spacewalk-light-grey);
    padding: 0.6rem;
    font-size: 1.2rem;
}

.section-header h5 {
    font-size: 1rem;
}

.section .section-header {
    font-size: 1rem;
    text-align: center;
}

.section .section-content {
    font-size: 0.9rem;
    margin: 0.5rem;
    font-weight: 300;
}

.section.section-inverted .section-content {
    margin: 0.5rem;
}

.section .section-footer {
    margin-top: 0.5rem;
    border-top: 1px solid var(--spacewalk-light-grey);
    padding: 0.5rem;
}

.comment-form-button {
    border-radius: 0.2rem;
    padding: 0.4rem 0.6rem;
    text-align: center;
    font-weight: bold;
    transition: color 0.1s, background-color 0.1s;
}

.comment-form-button:not(:last-child) {
    margin-right: 1rem;
}

.comment-form-button.comment-form-button-sm {
    padding: 0.1rem 0.5rem;
    font-size: 0.7rem;
    font-weight: normal;
}

.comment-form-button.comment-form-button-success {
    border: 1px solid var(--spacewalk-dark-green);
    background-color: var(--spacewalk-pale-green);
    color: var(--spacewalk-dark-green);
}

.comment-form-button.comment-form-button-success:hover {
    background-color: var(--spacewalk-green);
    color: var(--spacewalk-white);
}

.comment-form-button.comment-form-button-danger {
    border: 1px solid var(--spacewalk-red);
    background-color: var(--spacewalk-light-red);
    color: var(--spacewalk-red);
}

.comment-form-button.comment-form-button-danger:hover {
    background-color: var(--spacewalk-red);
    color: var(--spacewalk-white);
}

.comment-form-button.comment-form-button-primary {
    border: 1px solid var(--spacewalk-blue);
    background-color: var(--spacewalk-pale-blue);
    color: var(--spacewalk-blue);
}

.comment-form-button.comment-form-button-primary:hover {
    background-color: var(--spacewalk-blue);
    color: var(--spacewalk-white);
}

.comment-form-button.comment-form-button-disabled {
    border: 1px solid var(--spacewalk-grey);
    background-color: var(--spacewalk-light-grey);
    color: var(--spacewalk-dark-grey);
}

#content-header {
    font-size: 0.8em;
    background-color: var(--spacewalk-white);
    padding: 1rem;
    border-bottom: 1px solid var(--spacewalk-shadow-grey);
}

dl.profile-items dt {
    font-weight: normal;
}

dl.profile-items dt:not(:last-child) {
    margin-bottom: 0.2rem;
}

dl.profile-items dd {
    font-weight: bold;
    margin-left: 2rem;
    margin-top: 0.1rem;
}

.info-section {
    border: 1px solid var(--spacewalk-shadow-grey);
    border-radius: 0.4rem;
    padding-top: 0.3rem;
}

.info-section:not(:last-child) {
    margin-bottom: 2rem;
}

.info-section h5 {
    text-align: center;
    font-size: 0.9rem;
}

.info-section li {
    font-size: 0.8rem;
}

.info-section li:not(:last-child) {
    margin-bottom: 0.2rem;
}

.info-section li i {
    color: var(--spacewalk-dark-grey);
    width: 20px;
    margin-right: 0.3rem;
    text-align: center;
}

.info-section li a {
    text-decoration: none;
}

#info-legal-links {
    border: none !important;
    text-align: center;
}

#info-legal-links a {
    text-decoration: underline;
    color: var(--spacewalk-dark-grey);
}

#info-legal-links #info-legal-links-copyright {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.7rem;
    color: var(--spacewalk-dark-grey);
}

ul.header-information li {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--spacewalk-dark-grey);
    margin-bottom: 0.2rem;
}

ul.header-information li span {
    margin-left: 0.3rem;
}

#content-header h2 {
    color: var(--spacewalk-black);
    font-size: clamp(1.6rem, 1.0333rem + 2.2667vw, 3.3rem);
    font-weight: 600;
}

#marketplace-info h1,
#content-header h1 {
    margin-top: 1rem;
    color: var(--spacewalk-black);
    font-size: clamp(1.6rem, 1.0333rem + 2.2667vw, 3.3rem);
    font-weight: 600;
}

#marketplace-info h1 {
    text-align: center;
    text-wrap: balance;
}