.grid-container {
    max-width: 120rem;
}

label:not(.h2, .block-label) {
    display: flex;
    align-items: baseline;
    line-height: inherit;
    margin-bottom: 0.5rem;
}

.mandatory {
    margin-left: 3px;
}

select, select:focus {
    border: 1px solid;
}

.powermail_fieldwrap.nolabel {
    margin-top: -3rem;
}

.powermail_legend + .powermail_fieldwrap.nolabel {
    margin-top: auto;
}

::-webkit-input-placeholder {
    color: #8a8a8a;
    font-weight: 400;
    font-size: 1rem;
}

:-ms-input-placeholder {
    color: #8a8a8a;
    font-weight: 400;
    font-size: 1rem;
}

::-ms-input-placeholder {
    color: #8a8a8a;
    font-weight: 400;
    font-size: 1rem;
}

::placeholder {
    color: #8a8a8a;
    font-weight: 400;
    font-size: 1rem;
}

.slider {
    /*margin-bottom: 1.25rem;*/
    margin-top: 2.25rem;
}

.rating {
    display: flex;
    align-items: center;
}

.rating-value {
    margin-bottom: 0;
}
/* powermail 12+ renders checkboxes and radios as <input> + <label for>, siblings inside a
   .form-check wrapper. Until powermail 10 the input sat inside the label, so the generic
   "label:not(.h2, .block-label) { display: flex }" rule above put the box and its text on one
   line. With the new markup that rule only makes the text a full width flex box and the input
   ends up on its own line, so the flex container moves to the wrapper. */
.powermail_form .form-check {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.powermail_form .form-check .form-check-input {
    flex: 0 0 auto;
}

.powermail_form .form-check .form-check-label {
    display: inline-block;
    margin-bottom: 0;
}

/* pw_comments vote and reply icons. Moved out of plugin.tx_pwcomments._CSS_DEFAULT_STYLE
   in comment.typoscript: that CSS is generated into typo3temp/assets/css/, from where the old
   ../../../typo3conf/ext/pw_comments/... paths no longer resolve in composer mode. Here the
   url()s are relative to this stylesheet, so they survive any _assets hash change. */
.comment-actions a.upvote:before,
.comment-actions a.downvote:before,
.comment-actions a.reply:before {
    content: '';
    background: url('../img/pw_comments/thumbs-up.svg') no-repeat;
    background-size: cover;
    opacity: 0.6;
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: text-bottom;
    margin-right: 4px;
}

.comment-actions a.upvote:hover:before,
.comment-actions a.downvote:hover:before,
.comment-actions a.reply:hover:before {
    opacity: 1;
}

.comment-actions a.downvote:before {
    background-image: url('../img/pw_comments/thumbs-down.svg');
}

.comment-actions a.reply:before {
    background-image: url('../img/pw_comments/reply.svg');
}

.comment-actions a.upvote.voted:before {
    opacity: 1;
    background-image: url('../img/pw_comments/thumbs-up-active.svg');
}
.comment-actions a.downvote.voted:before {
    opacity: 1;
    background-image: url('../img/pw_comments/thumbs-down-active.svg');
}
