.aorenters {
    background-color: #f3f5f1;
    color: #171717;
    font-size: 24px;
    line-height: 180%;
}

.aorenters {
    padding: 30px;
}

.aorenters h1 {
    color: #171717;
}

.aorenters h3 {
    color: #171717;
}

.aorenters_form {
    text-align: center;
}

.aorenters_box {
    padding: 20px;
    margin: 0 auto;
    max-width: 600px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

.aorenters_subtitle {
    font-size: 18px;
    color: #666;
    line-height: 150%;
    text-transform: none;
    padding: 20px;
}

.aorenters input[type="password"],
.aorenters input[type="text"],
.aorenters input[type="email"],
.aorenters input[type="date"],
.aorenters select,
.aorenters textarea {
    margin: 0 auto;
    width: 100%;
    max-width: 420px;
    font-size: 18px;
}

    .aorenters textarea:focus {
        font-size: 18px;
    }

.max-420 {
    width: 100% !important;
    max-width: 420px !important;
}

.aorenters input[type="button"],
.aorenters input[type="submit"] {
    width: 208px;
    white-space: normal;
}

@media (max-width: 600px) {
    .aorenters input[type="button"],
    .aorenters input[type="submit"] {
        display: inline-block;
        margin-top: 8px;
        width: 180px;
    }
}

@media (max-width: 600px) {
    input[type="button"],
    input[type="submit"] {
        display: inline-block;
        margin-top: 8px;
    }
}


.aorenters_bandlist {
    color: #171717;
    font-size: 24px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.1);
}

.aorenters input[type="text"]::-moz-placeholder {
    color: #999999;
    text-transform: none;
}

.aorenters input[type="text"]::-webkit-input-placeholder {
    color: #999999;
    text-transform: none;
}

.aorenters textarea::-webkit-input-placeholder {
    color: #999999;
    text-transform: none;
}

.aorenters textarea::-moz-placeholder {
    color: #999999;
    text-transform: none;
}


/*-------------------------------------------------------
 For styling the templated online contract fields
 when they appear in the the contract edit page.
 (For styling the real contract, use onlinecontract.css)
-------------------------------------------------------*/

.aorenters .versionbody,
.aorenters .versiontext p,
.aorenters .versionheader b,
.aorenters .versiontext b {
    font-family: Montserrat, Sans-Serif;
    font-size: 18px;
    color: #171717;
    line-height: 26px;
    letter-spacing: -0.5px;
}

.aorenters .versiontitle {
    font-family: Montserrat, Sans-Serif;
    font-size: 36px;
    color: #171717;
    line-height: 70px;
}

.aorenters .versionsubheader {
    font-family: Montserrat, Sans-Serif;
    font-size: 20px;
    color: #171717;
    line-height: 32px;
    font-weight: bold;
    margin: 30px 0 8px 0;
}


/*-------------------------------------------------------
 * Contract HTML preview (version* classes) inside portal
-------------------------------------------------------*/

.ao-contract-preview .versionbody,
.ao-contract-preview .versiontext p,
.ao-contract-preview .versionheader b,
.ao-contract-preview .versiontext b {
    font-family: Calibri, sans-serif;
    font-size: 17px;
    color: #171717;
    line-height: 140%;
}

.ao-contract-preview .versiontitle {
    font-family: Calibri, sans-serif;
    font-size: 28px;
    color: #171717;
    line-height: 1.3;
    margin-bottom: 20px;
}

.ao-contract-preview .versionsubheader {
    font-family: Calibri, sans-serif;
    font-size: 17px;
    color: #171717;
    font-weight: bold;
    margin: 20px 0 8px 0;
}

.ao-contract-preview .versiontextmissing {
    background-color: #eeebea;
    color: #cc0000;
}

.ao-contract-preview .versionindent {
    padding-left: 40px;
}

.ao-contract-preview .versionhide {
    display: none;
}

/*-------------------------------------------------------
 * For bandmembers list and subrenters list
-------------------------------------------------------*/

.grid-view-pub.Beendet {
    background-color: #e5e5e1;
    color: #171717;
}

.grid-view-pub {
    border: 1px solid #ccc;
    padding: 4px;
    background-color: #ebebe7;
    color: #171717;
}

    .grid-view-pub h4 {
        color: #171717;
    }


    .grid-view-pub P {
        font-family: 'Montserrat',arial,sans-serif;
        color: #171717;
        font-size: 16px;
        font-weight: 100;
        line-height: 19px;
        letter-spacing: 0px;
        margin: 4px;
    }

        .grid-view-pub P A IMG {
            margin: 0 4px 0 4px;
            display: inline-block;
        }

    .grid-view-pub TH /*header rows*/ {
        border: 1px solid #ccc;
        color: #171717;
        background-color: #f6f6f6;
        font-family: 'Open Sans',arial,sans-serif;
        font-size: 20px;
        font-weight: 300;
        line-height: 26px;
        letter-spacing: -1px;
        margin: 6px;
        padding: 6px;
        text-align: left;
    }

    .grid-view-pub TD /*body rows*/ {
        border: 1px solid #ddd;
        color: #171717;
        background-color: #fff;
        margin: 4px;
        padding: 4px;
        vertical-align: top;
    }

    .grid-view-pub A:link,
    .grid-view-pub A:visited,
    .grid-view-pub A:active {
        color: #666;
        text-decoration: underline;
        white-space: nowrap;
    }

    .grid-view-pub A:hover {
        color: #27337B;
        text-decoration: none;
        white-space: nowrap;
    }

    .grid-view-pub .link-button {
        background: none;
        border: none;
        padding: 0;
        margin: 0;
        cursor: pointer;
        font-family: inherit;
        font-size: inherit;
        color: #666;
        text-decoration: underline;
        white-space: nowrap;
        vertical-align: middle;
        line-height: 1;
    }

    .grid-view-pub .link-button:hover {
        color: #27337B;
        text-decoration: none;
    }

/*-------------------------------------------------------
 * Validation
-------------------------------------------------------*/
.text-danger {
    color: red;
    font-weight: bold;
    font-size: 16px;
}

/*-------------------------------------------------------
 * Portal pages (dark theme matching the static site)
-------------------------------------------------------*/

.ao-portal-section {
    background-color: #22262a;
    padding: 60px 30px;
    max-width: 860px;
    margin: 0 auto;
}

.ao-portal-header {
    text-align: center;
    margin-bottom: 50px;
}

.ao-portal-intro {
    font-family: Roboto, sans-serif;
    font-size: 18px;
    line-height: 160%;
    font-weight: 300;
    color: #aaa;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.ao-portal-empty {
    font-family: Roboto, sans-serif;
    font-size: 20px;
    line-height: 160%;
    font-weight: 300;
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

.ao-member-section-label {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.ao-member-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    margin-bottom: 8px;
}

.ao-member-card--deleted {
    opacity: 0.45;
}

.ao-member-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ao-member-name {
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
}

.ao-member-detail {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #888;
    line-height: 1.4;
}

.ao-portal-section--light .ao-member-card {
    background-color: #fff;
    border: 1px solid #e0e0da;
}

.ao-portal-section--light .ao-member-name {
    color: #22262a;
}

.ao-portal-section--light .ao-member-detail {
    color: #666;
}

.ao-member-actions .link-button,
.ao-member-actions .link-button:hover,
.ao-sub-card-actions .link-button,
.ao-sub-card-actions .link-button:hover {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 1;
}

/*-------------------------------------------------------
 * Portal pages — light mode variant
-------------------------------------------------------*/

.ao-portal-section--light {
    background-color: #f5f6f3;
    padding: 60px 30px;
    max-width: 860px;
    margin: 0 auto;
}

.ao-portal-section--light input[type="submit"],
.ao-portal-section--light input[type="button"] {
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-weight: 500;
    background: none;
    border: 1px solid #bbb;
    border-radius: 3px;
    color: #171717;
    height: auto;
    padding: 7px 14px;
    cursor: pointer;
    letter-spacing: 0.3px;
    width: auto !important;
    white-space: normal;
    text-transform: none;
}

.ao-portal-section--light input[type="submit"]:hover,
.ao-portal-section--light input[type="button"]:hover {
    background-color: #f0f0ec;
    border-color: #22262a;
    color: #22262a;
}

.ao-heading-dark {
    color: #22262a !important;
}

.ao-heading-dark::after {
    background-color: #22262a !important;
}

.ao-portal-intro--dark {
    color: #171717;
}

.ao-portal-stats {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #171717;
    text-align: center;
    margin-top: 16px;
    letter-spacing: 0.5px;
}

.ao-stats-divider {
    color: #bbb;
    margin: 0 4px;
}

.ao-portal-stats-warning {
    color: #c0392b;
}

.ao-portal-success {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    color: #27ae60;
    font-weight: 500;
    text-align: center;
    margin-bottom: 24px;
}

.ao-portal-empty--dark {
    color: #171717;
}

.ao-sub-card {
    background-color: #fff;
    border: 1px solid #e0e0da;
    padding: 20px 24px;
    margin-bottom: 12px;
}

.ao-sub-card--ended {
    opacity: 0.55;
}

.ao-sub-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 6px;
}

.ao-sub-name {
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #22262a;
}

.ao-sub-status {
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #171717;
    margin-left: 8px;
}

.ao-sub-dates {
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #171717;
    white-space: nowrap;
}

.ao-sub-card-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 16px;
}

.ao-sub-detail {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #171717;
    line-height: 1.5;
    text-decoration: none;
}

a.ao-sub-detail:hover {
    color: #22262a;
    text-decoration: underline;
}

.ao-sub-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f0f0ec;
    padding-top: 12px;
}


.ao-sub-card-actions .link-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 1;
}

/*-------------------------------------------------------
 * Detail edit sections
-------------------------------------------------------*/

.ao-detail-card {
    background-color: #fff;
    border: 1px solid #e0e0da;
    padding: 20px 24px;
    margin-bottom: 12px;
}

.ao-detail-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.ao-detail-edit-btn {
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-weight: 500;
    background: none;
    border: 1px solid #bbb;
    color: #666;
    padding: 4px 12px;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.ao-detail-edit-btn:hover {
    background-color: #f0f0ec;
    border-color: #22262a;
    color: #22262a;
}

.ao-detail-view {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ao-detail-note {
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #171717;
    line-height: 1.6;
    margin-bottom: 14px;
}

.ao-detail-note a {
    color: #171717;
}

.ao-detail-note a:hover {
    color: #22262a;
}

.ao-detail-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ao-portal-section--light .ao-detail-form input::-webkit-input-placeholder {
    color: #999;
    text-transform: none;
}
.ao-portal-section--light .ao-detail-form input::-moz-placeholder {
    color: #999;
    text-transform: none;
    opacity: 1;
}
.ao-portal-section--light .ao-detail-form input::placeholder {
    color: #999;
    text-transform: none;
}

.ao-detail-form input[type="text"],
.ao-detail-form input[type="email"],
.ao-detail-form input[type="password"],
.ao-detail-form input[type="date"],
.ao-detail-form textarea,
.ao-detail-form select {
    width: 100%;
    max-width: 380px;
    font-size: 15px;
    font-family: Roboto, sans-serif;
    padding: 7px 6px;
    height: auto;
    border: 1px solid #d0d0cc;
    color: #22262a;
    background-color: #fafafa;
    margin: 0;
}

.ao-detail-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ao-detail-form label {
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

.ao-detail-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

/*-------------------------------------------------------
 * Icon-only add button
-------------------------------------------------------*/

.ao-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #6fa832;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.22);
    font-size: 15px;
    transition: filter 150ms;
}

.ao-add-btn:hover,
.ao-add-btn:visited {
    color: #fff;
    filter: brightness(1.12);
    text-decoration: none;
}

/*-------------------------------------------------------
 * Drummers Edit
-------------------------------------------------------*/
select.drummers-time {
    display: inline;
    width: 204px;
}
