@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap");

.group-page,
.groups2016-page {
    width: 100%;
    min-height: calc(100vh - 40px);
    padding: 10px 12px 25px;
    background-color: #fff;
    color: #343434;
    font-family: "Source Sans Pro", "Source Sans 3", Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.428;
}

.group-page input,
.group-page select,
.group-page textarea,
.group-page button,
.groups2016-page input,
.groups2016-page select,
.groups2016-page textarea,
.groups2016-page button {
    font-family: "Source Sans Pro", "Source Sans 3", Arial, Helvetica, sans-serif;
}

.group-page a,
.groups2016-page a {
    color: #7b2cbf;
    font-weight: 400;
    text-decoration: none;
}

.group-page a:hover,
.groups2016-page a:hover {
    text-decoration: underline;
}

.group-page h2,
.group-page h3 {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.group-page h2 {
    color: #343434;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -1px;
}

.group-page h3 {
    font-size: 18px;
    font-weight: 700;
}

.group-page pre {
    margin: 0;
    font-family: "Source Sans Pro", "Source Sans 3", Arial, Helvetica, sans-serif;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.group-container {
    display: flex;
    width: 100%;
    max-width: 970px;
    min-height: 550px;
    margin: 0 auto;
}

.group-mid {
    flex: 0 0 800px;
    width: 800px;
    min-height: 650px;
    margin-right: 10px;
}

.group-side {
    flex: 0 0 160px;
    width: 160px;
}

.group-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 34px;
    margin: 0 0 15px;
    padding: 2px 0;
    border: 1px solid #ccc;
    background-color: #efefef;
}

.group-search-keyword {
    width: 350px;
    padding: 2px 2px 2px 10px;
    border: 1px solid #a7a7a7;
    background-color: #fff;
    color: #343434;
    font-size: 14px;
    line-height: 18px;
}

.group-search-keyword::placeholder {
    color: #999;
}

.group-button,
.group-search-button {
    padding: 3px 10px;
    border: 1px solid #333;
    background-color: #fff;
    color: #333;
    font-size: 13px;
    line-height: 16px;
    cursor: pointer;
}

.group-button:hover,
.group-search-button:hover {
    border-color: #000;
    background-color: #9d4edd;
    color: #fff;
}

.group-button:disabled {
    border-color: #ccc;
    background-color: #fff;
    color: #a7a7a7;
    cursor: default;
}

.group-alert {
    margin: 0 0 10px;
    padding: 6px 10px;
    border: 1px solid;
    font-size: 13px;
}

.group-alert.error {
    border-color: #efb7b7;
    background-color: #fff0f0;
    color: #9b1c1c;
}

.group-alert.success {
    border-color: #b7dfbe;
    background-color: #f0fff2;
    color: #287a38;
}

.group-panel {
    display: flex;
    margin-bottom: 15px;
    padding: 10px;
    overflow: hidden;
}

.group-left {
    flex: 0 0 150px;
    width: 150px;
    margin-right: 10px;
    overflow: hidden;
}

.group-thumb img {
    display: block;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.group-owner {
    width: 100%;
    margin-top: 10px;
    color: gray;
    text-align: left;
}

.group-owner-name {
    font-style: italic;
}

.group-join {
    display: inline-block;
    min-width: 70px;
    height: 39px;
    margin-top: 10px;
    padding: 0 13px;
    border: 1px solid #6a1b9a;
    border-radius: 0;
    background-color: #7b2cbf;
    background-image: linear-gradient(#9d4edd, #7b2cbf);
    color: #fff;
    font-size: 23px;
    line-height: 27px;
    text-align: center;
    cursor: pointer;
}

.group-join:hover {
    background-image: linear-gradient(#7b2cbf, #5a189a);
}

.group-join:disabled {
    border-color: #b8b8b8;
    background-color: #b8b8b8;
    background-image: none;
    cursor: default;
}

.group-leave {
    font-size: 20px;
}

.group-bc-only {
    margin: 10px 0 0;
}

.group-bc-only img {
    width: 24px;
    height: 12px;
    vertical-align: middle;
}

.group-configure {
    margin-top: 10px;
}

.group-right {
    flex: 1 1 auto;
    width: 575px;
    min-width: 0;
    margin-left: 35px;
}

.group-description {
    min-height: 103px;
    overflow-wrap: break-word;
}

.group-report {
    font-size: 11px;
    text-align: right;
}

.group-report a {
    padding-left: 16px;
    padding-bottom: 2px;
    color: #f99;
}

.group-report a:hover {
    background: url("/img/groups/abuse.png") 0 2px / 14px 14px no-repeat;
    color: #f00;
}

.group-status {
    margin-top: 10px;
}

.group-status-top {
    position: relative;
    width: 317px;
    max-width: 100%;
    padding: 8px 10px;
    border: 1px solid #a7a7a7;
    border-radius: 6px;
    background-color: #fff;
}

.group-status-top::after {
    content: "";
    position: absolute;
    left: 28px;
    bottom: -9px;
    width: 14px;
    height: 14px;
    border-right: 1px solid #a7a7a7;
    border-bottom: 1px solid #a7a7a7;
    background-color: #fff;
    transform: rotate(45deg) scaleY(0.6);
}

.group-status-text {
    display: block;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.group-status-empty {
    color: gray;
}

.group-status-by {
    display: block;
    margin-top: 4px;
    color: gray;
    font-size: 11px;
}

.group-status-by span {
    margin-left: 4px;
}

.group-status-form {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    margin-top: 16px;
}

.group-status-form textarea {
    width: 375px;
    height: 53px;
    padding: 2px;
    border: 1px solid #a7a7a7;
    resize: none;
    font-size: 14px;
}

.group-people {
    margin-bottom: 20px;
}

.group-tabs {
    display: flex;
    align-items: flex-end;
    height: 36px;
}

.group-tab,
.group-page a.group-tab {
    position: relative;
    top: 1px;
    margin: 0 2px 0 1px;
    padding: 7px;
    border: 1px solid #9e9e9e;
    border-bottom: 0;
    background-color: #d6d6d6;
    color: #343434;
    font-size: 15px;
    font-weight: 700;
    line-height: 17px;
    text-decoration: none;
}

.group-tab:hover {
    background-color: #e9e9e9;
}

.group-tab.active,
.group-tab.active:hover {
    z-index: 1;
    margin: 0 1px 0 0;
    padding: 9px 7px;
    border-color: #ccc;
    background-color: #fff;
}

.group-tab-content {
    position: relative;
    min-height: 240px;
    padding: 10px 0;
    border-top: 1px solid #ccc;
    background-color: #fff;
}

.group-members-dropdown {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    margin-bottom: 5px;
}

.group-members-dropdown select {
    max-width: 100%;
    padding: 1px 2px;
    border: 1px solid #a7a7a7;
    background-color: #fff;
    font-size: 13px;
}

.group-members-dropdown .group-report {
    margin-right: 6px;
}

.group-members {
    display: flex;
    flex-wrap: wrap;
    min-height: 69px;
}

.group-member {
    width: 100px;
    margin: 12px 14px;
}

.group-member-avatar img {
    display: block;
    width: 100px;
    height: 100px;
}

.group-member-name {
    display: block;
    width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.group-no-results {
    padding: 10px;
    line-height: 1.3em;
    text-align: center;
}

.group-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-top: 10px;
    text-align: center;
}

.group-pager-arrow {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    background: url("/img/groups/pager-arrows.png") no-repeat;
    cursor: pointer;
}

.group-pager-arrow.next {
    background-position: 0 0;
}

.group-pager-arrow.next:hover {
    background-position: 0 -12px;
}

.group-pager-arrow.next:disabled {
    background-position: 0 -48px;
    cursor: default;
}

.group-pager-arrow.previous {
    background-position: 0 -24px;
}

.group-pager-arrow.previous:hover {
    background-position: 0 -36px;
}

.group-pager-arrow.previous:disabled {
    background-position: 0 -60px;
    cursor: default;
}

.group-pager-pages {
    margin: 0 5px;
}

.group-pager-pages input {
    width: 30px;
    height: 16px;
    padding: 0;
    border: 1px solid #a7a7a7;
    font-size: 12px;
    text-align: center;
}

.group-store-instructions {
    padding: 0 14px;
}

.group-store-items {
    display: flex;
    flex-wrap: wrap;
}

.group-store-item {
    width: 132px;
    padding: 4px 11px 32px;
    text-align: center;
}

.group-store-item img {
    display: block;
    width: 110px;
    height: 110px;
    margin: 0 auto 4px;
    border: 1px solid #e3e3e3;
    object-fit: contain;
}

.group-store-name {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.group-store-price,
.group-store-free {
    display: block;
    font-size: 12px;
    font-weight: 700;
}

.group-store-free {
    color: #505050;
}

.group-store-price {
    position: relative;
    color: #060;
}

.group-store-price::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 3px;
    vertical-align: -3px;
    background: url("/img/nonebux-green.png") center / contain no-repeat;
}

.group-store-price.tix {
    color: #c39300;
}

.group-store-price.tix::before {
    background-image: url("/img/tix-gold.png");
}

.group-store-none {
    padding: 10px 14px;
}

.group-store-more {
    clear: both;
    padding-top: 25px;
    text-align: center;
}

.group-text-button {
    padding: 0;
    border: 0;
    background: none;
    color: #7b2cbf;
    font-size: 12px;
    cursor: pointer;
}

.group-text-button:hover {
    text-decoration: underline;
}

.group-box {
    display: block;
    margin-bottom: 8px;
    padding: 5px;
    border: 1px solid #ccc;
    background-color: #efefef;
}

.group-box-header {
    display: block;
    clear: both;
    margin: 0 0 5px 14px;
    padding: 3px;
    font-size: 18px;
    font-weight: 700;
}

.group-box-body {
    background-color: #fff;
}

.group-not-found {
    padding: 20px;
    text-align: center;
}

.group-wall-box {
    margin-bottom: 0;
    border-bottom: 0;
}

.group-wall-box .group-box-header {
    margin-bottom: 0;
}

.group-wall {
    position: relative;
    padding-bottom: 10px;
    border-top: 0;
    background-color: #fff;
    overflow: hidden;
}

.group-wall-form {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    padding: 10px;
}

.group-wall-text {
    width: 375px;
    height: 53px;
    padding: 2px;
    border: 1px solid #a7a7a7;
    resize: none;
    font-size: 14px;
}

.group-wall-post-button {
    padding: 3px 6px;
}

.group-wall-note {
    padding: 10px;
    color: gray;
}

.group-wall-row {
    display: flex;
    clear: both;
    padding: 10px;
    background-color: #fff;
}

.group-wall-row.odd {
    background-color: #f2f2f2;
}

.group-wall-avatar {
    flex: 0 0 120px;
    width: 120px;
    margin: 5px;
    overflow: hidden;
}

.group-wall-avatar img {
    display: block;
    width: 100px;
    height: 100px;
}

.group-wall-body {
    flex: 1 1 auto;
    min-width: 0;
    margin: 5px;
}

.group-wall-post {
    width: 100%;
    min-height: 78px;
    margin-bottom: 5px;
    overflow: hidden;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.group-wall-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.group-wall-time {
    color: gray;
}

.group-wall-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.group-settings .group-box-body {
    overflow: hidden;
}

.group-admin-tabs {
    display: flex;
    min-height: 36px;
    border-bottom: 1px solid #ccc;
    background-color: #f6f6f6;
}

.group-admin-tabs a {
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-right: 1px solid #ddd;
    color: #555;
    text-decoration: none;
}

.group-admin-tabs a:hover {
    background-color: #fff;
    color: #222;
    text-decoration: none;
}

.group-admin-tabs a.active {
    background-color: #fff;
    box-shadow: inset 0 -3px 0 #7b2cbf;
    color: #222;
}

.group-admin-pane {
    padding: 16px;
}

.group-admin-pane > h3 {
    display: block;
    margin: 0 0 13px;
    font-size: 18px;
    font-weight: 700;
}

.groups-settings-form label {
    display: block;
    margin: 0 0 5px;
    color: #555;
}

.groups-settings-form textarea {
    width: 100%;
    margin-bottom: 13px;
    padding: 8px 10px;
    border: 1px solid #a7a7a7;
    resize: vertical;
    font-size: 14px;
}

.group-emblem-setting {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 12px 0 16px;
}

.group-emblem-setting img {
    width: 92px;
    height: 92px;
    border: 1px solid #ccc;
    object-fit: cover;
}

.group-check {
    display: block;
    margin: 8px 0;
    color: #444;
}

.group-check input {
    margin-right: 7px;
    vertical-align: -1px;
}

.groups-settings-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.group-role-row {
    display: grid;
    grid-template-columns: 86px minmax(130px, 1fr) repeat(4, auto) auto;
    align-items: center;
    gap: 9px;
    padding: 10px 0;
    border-bottom: 1px solid #e2e2e2;
}

.group-role-rank {
    color: #888;
    font-size: 12px;
}

.group-role-row input[type="text"],
.group-role-create input[type="text"],
.group-role-create input[type="number"],
.group-manage-member select {
    min-height: 28px;
    padding: 3px 8px;
    border: 1px solid #a7a7a7;
    background-color: #fff;
}

.group-role-row label,
.group-role-create label {
    margin: 0;
    color: #555;
    font-size: 12px;
    white-space: nowrap;
}

.group-role-row label input,
.group-role-create label input {
    margin-right: 4px;
}

.group-role-delete {
    margin: 4px 0 12px 95px;
}

.group-role-delete button,
.group-danger-link {
    padding: 3px 10px;
    border: 1px solid #a7a7a7;
    background-color: #f5f5f5;
    color: #b42323;
    cursor: pointer;
}

.group-role-create {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 13px;
    border: 1px solid #ddd;
    background-color: #f7f7f7;
}

.group-role-create input[type="text"] {
    min-width: 160px;
}

.group-role-create input[type="number"] {
    width: 85px;
}

.group-manage-member,
.group-join-request {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 8px 0;
    border-bottom: 1px solid #e5e5e5;
}

.group-manage-member > a,
.group-join-request > a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 220px;
}

.group-manage-member > a img,
.group-join-request > a img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #eee;
    object-fit: cover;
}

.group-manage-member form {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

.group-manage-member .group-danger-link {
    margin-left: auto;
}

.group-join-request > span {
    flex: 1;
    color: #999;
    font-size: 12px;
}

.group-danger-zone {
    margin: 0 16px 16px;
    padding: 13px 14px;
    border: 1px solid #dfb9b9;
    background-color: #fff8f8;
}

.group-danger-zone h3 {
    display: block;
    margin: 0 0 4px;
    color: #9f2424;
    font-size: 17px;
    font-weight: 400;
}

.group-danger-zone p {
    margin: 0 0 10px;
    color: #777;
}

.group-delete-button {
    padding: 6px 12px;
    border: 1px solid #9f2424;
    background-color: #bd2d2d;
    color: #fff;
    cursor: pointer;
}

.group-empty {
    padding: 20px 10px;
    color: #888;
    text-align: center;
}

.group-link-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 14px 16px;
}

.group-link-form input {
    width: 125px;
    padding: 3px 6px;
    border: 1px solid #a7a7a7;
}

.group-linked-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 14px;
}

.group-linked-card {
    width: 150px;
    padding: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
}

.group-linked-card a {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #333;
}

.group-linked-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.group-linked-card strong {
    overflow: hidden;
    font-weight: 400;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.group-linked-card .group-text-button {
    margin-top: 8px;
}

.group-tab-content > h3 {
    display: block;
    margin: 16px 14px 6px;
}

.group-link-request {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-top: 1px solid #ddd;
}

.group-link-request a {
    flex: 1;
}

.groups2016-shell {
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
}

.groups2016-card {
    border: 1px solid #ccc;
    background-color: #fff;
}

.groups2016-btn {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid #333;
    background-color: #fff;
    color: #333;
    font-size: 13px;
    line-height: 16px;
    cursor: pointer;
}

.groups2016-btn.primary {
    border-color: #6a1b9a;
    background-color: #7b2cbf;
    color: #fff;
}

.groups2016-page a.groups2016-btn,
.groups2016-page a.groups2016-btn:hover {
    color: #333;
    text-decoration: none;
}

.groups2016-page a.groups2016-btn.primary {
    color: #fff;
}

.groups2016-btn:hover {
    border-color: #000;
    background-color: #9d4edd;
    color: #fff;
}

.groups2016-alert {
    margin: 0 0 10px;
    padding: 6px 10px;
    border: 1px solid;
    font-size: 13px;
}

.groups2016-alert.error {
    border-color: #efb7b7;
    background-color: #fff0f0;
    color: #9b1c1c;
}

.groups2016-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
}

.groups2016-page-heading h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -1px;
}

.groups-list-section {
    margin-bottom: 25px;
}

.groups-list-section > h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 400;
}

.groups-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.groups-list-card {
    display: flex;
    gap: 12px;
    min-height: 112px;
    padding: 11px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
}

.groups2016-page a.groups-list-card {
    color: #333;
    text-decoration: none;
}

.groups-list-card:hover {
    border-color: #999;
}

.groups-list-card > img {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    border: 1px solid #ddd;
    background-color: #eee;
    object-fit: cover;
}

.groups-list-info {
    min-width: 0;
    padding-top: 3px;
}

.groups-list-info h3 {
    margin: 0 0 4px;
    overflow: hidden;
    color: #222;
    font-size: 19px;
    font-weight: 400;
    line-height: 23px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.groups-list-info p {
    margin: 0 0 4px;
    color: #777;
}

.groups-list-info span {
    color: #999;
    font-size: 12px;
}

.groups-empty {
    padding: 24px;
    color: #888;
    text-align: center;
}

.groups-create-card {
    padding: 18px;
}

.groups-create-form {
    max-width: 720px;
}

.groups-create-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 15px;
}

.groups-create-row > label {
    padding-top: 7px;
    color: #555;
    text-align: right;
}

.groups-create-row input[type="text"],
.groups-create-row textarea {
    width: 100%;
    padding: 5px 9px;
    border: 1px solid #a7a7a7;
    font-size: 14px;
}

.groups-create-row textarea {
    resize: vertical;
}

.groups-create-row small {
    display: block;
    margin-top: 4px;
    color: #999;
}

.groups-create-actions {
    display: flex;
    gap: 8px;
    margin-left: 134px;
}

@media (max-width: 991px) {
    .group-container {
        display: block;
    }

    .group-mid {
        width: 100%;
        margin-right: 0;
    }

    .group-side {
        display: none;
    }

    .group-right {
        width: auto;
        margin-left: 10px;
    }
}

@media (max-width: 700px) {
    .group-panel {
        flex-wrap: wrap;
    }

    .group-right {
        flex-basis: 100%;
        margin: 10px 0 0;
    }

    .group-search-keyword {
        width: 60%;
    }

    .group-status-form textarea,
    .group-wall-text {
        width: 100%;
    }

    .group-role-row {
        grid-template-columns: 80px 1fr;
    }

    .group-role-row label,
    .group-role-row button {
        grid-column: 2;
    }

    .group-manage-member,
    .group-join-request {
        flex-wrap: wrap;
    }

    .groups-list-grid {
        grid-template-columns: 1fr;
    }

    .groups-create-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .groups-create-row > label {
        padding: 0;
        text-align: left;
    }

    .groups-create-actions {
        margin-left: 0;
    }
}
