@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap");

.group-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;
}

:where(.group-page) div {
    line-height: inherit;
}

:where(.group-page) p {
    margin: 12px;
    line-height: 1.5em;
}

:where(.group-page) a {
    color: #5a189a;
    font-weight: 400;
    text-decoration: none;
}

:where(.group-page) a:hover {
    text-decoration: underline;
}

:where(.group-page) :is(input, select, textarea, button) {
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13.333px;
    line-height: normal;
}

.group-page h2,
.group-page h3 {
    display: inline-block;
    margin: 0;
    padding: 0;
    color: #343434;
    line-height: 1.3em;
}

.group-page h2 {
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -1px;
}

.group-page h3 {
    font-size: 18px;
    font-weight: 700;
}

.group-text-link {
    color: #7b2cbf;
}

.group-text-link:hover {
    color: #9d4edd;
}

.group-container {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
}

.group-mid {
    flex: 0 0 800px;
    width: 800px;
    min-height: 650px;
    margin-right: 10px;
}

.group-my .group-mid {
    flex-basis: 630px;
    width: 630px;
    margin: 0 10px;
}

.group-side {
    flex: 0 0 160px;
    width: 160px;
    min-height: 650px;
}

.group-button {
    display: inline-block;
    height: 21px;
    padding: 0 7px;
    border: 1px solid #707070;
    border-radius: 0;
    background: #e6e6e6 linear-gradient(#fff, #e6e6e6);
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13.333px;
    font-weight: 400;
    line-height: 19px;
    text-align: center;
    white-space: nowrap;
    vertical-align: top;
    cursor: pointer;
}

.group-button:hover {
    border-color: #505050;
    background: #dcdcdc linear-gradient(#fafafa, #dcdcdc);
    color: #000;
    text-decoration: none;
}

.group-button:disabled {
    border-color: #adadad;
    background: #f4f4f4;
    color: #838383;
    cursor: default;
}

.group-search {
    height: 34px;
    margin: 0 0 15px;
    padding: 2px 0;
    border: 1px solid #ccc;
    background-color: #efefef;
    text-align: center;
}

.group-search-keyword {
    width: 364px;
    height: 21px;
    padding: 2px 2px 2px 10px;
    border: 1px solid #a7a7a7;
    background-color: #fff;
    vertical-align: top;
}

.group-search-keyword::placeholder,
.group-status-input::placeholder {
    color: #888;
    font-style: italic;
    opacity: 1;
}

.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-none {
    padding: 10px;
}

.group-panel {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px;
    overflow: hidden;
}

.group-left {
    flex: 0 0 150px;
    width: 150px;
    margin-right: 10px;
    overflow: hidden;
}

.group-emblem {
    display: inline-block;
}

.group-emblem img {
    display: inline-block;
    width: 150px;
    height: 150px;
    vertical-align: baseline;
    object-fit: cover;
}

.group-owner {
    margin-top: 10px;
    color: gray;
}

.group-owner-name {
    font-style: italic;
}

.group-rank {
    margin-top: 10px;
    color: gray;
}

.group-rank span {
    color: #000;
}

.group-join {
    display: inline-block;
    min-width: 70px;
    height: 50px;
    margin-top: 10px;
    padding: 9px 13px 12px;
    border: 1px solid #5a189a;
    border-radius: 0;
    background: #7b2cbf linear-gradient(#9d5fd6, #7b2cbf 45%, #6a1fb0);
    box-shadow: inset 0 1px 0 #b98ae6;
    color: #fff;
    font-family: "Source Sans Pro", "Source Sans 3", Arial, Helvetica, sans-serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 27px;
    text-align: center;
    white-space: nowrap;
    vertical-align: top;
    cursor: pointer;
}

.group-join:hover {
    background: #9d4edd linear-gradient(#b67de6, #9d4edd 45%, #8a3bd0);
    box-shadow: inset 0 1px 0 #d4b4f2;
    color: #fff;
    text-decoration: none;
}

.group-join:disabled {
    border-color: #c9a6e8;
    background: #c9a6e8;
    box-shadow: none;
    cursor: default;
}

.group-bc-only img {
    vertical-align: middle;
}

.group-right {
    flex: 0 0 575px;
    width: 575px;
    margin-left: 35px;
}

.group-my .group-right {
    flex-basis: 450px;
    width: 450px;
    margin-left: 0;
}

.group-description {
    min-height: 103px;
    overflow-wrap: break-word;
}

.group-description pre {
    margin: 14px 0;
    overflow: visible;
    color: inherit;
    font-family: inherit;
    font-size: 14px;
    line-height: inherit;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.group-more {
    padding: 0;
    border: 0;
    background: none;
    color: #343434;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    cursor: pointer;
}

.group-report {
    font-size: 11px;
    text-align: right;
}

.group-report a {
    padding: 0 0 2px 16px;
    color: #f99;
}

.group-report a:hover {
    background: url("/img/catalog/abuse.png") no-repeat 0 2px;
    color: #f00;
}

.group-status-top {
    width: 327px;
    padding: 5px;
    overflow: hidden;
    background: url("/img/groups/speech-top.png") no-repeat;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.group-status-bottom {
    padding: 5px 0 5px 5px;
    background: url("/img/groups/speech-bottom.png") no-repeat;
}

.group-status-by {
    float: left;
    position: relative;
    left: 28px;
}

.group-status-by a {
    font-style: italic;
}

.group-status-by span {
    color: gray;
    font-size: 9px;
}

.group-status .group-report {
    display: inline-block;
    float: right;
}

.group-status-form {
    clear: both;
    padding-top: 2px;
}

.group-status-input {
    width: 232px;
    height: 21px;
    padding: 1px 3px;
    border: 1px solid #a9a9a9;
    background-color: #fff;
    vertical-align: top;
}

.group-people {
    margin-bottom: 20px;
}

.group-tabs {
    display: flow-root;
}

.group-page .group-tab {
    float: left;
    position: relative;
    top: -1px;
    margin: 4px 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: 1.428;
    text-decoration: none;
}

.group-page .group-tab:hover {
    background-color: #e9e9e9;
}

.group-page .group-tab.active {
    z-index: 1;
    top: 1px;
    margin: 0 1px 0 0;
    padding: 9px 7px;
    border-color: #ccc;
    background-color: #fff;
    cursor: default;
}

.group-tab-content {
    position: relative;
    top: -1px;
    border-top: 1px solid #ccc;
    background-color: #fff;
}

.group-my .group-tab-content {
    border-bottom: 1px solid #ccc;
}

.group-tab-content h3 {
    display: block;
    margin: 16px 14px 6px;
}

.group-places {
    display: flow-root;
    min-height: 140px;
    margin: 0 14px;
}

.group-place {
    float: left;
    max-width: 100px;
    margin: 5px;
}

.group-place img {
    display: inline-block;
    width: 100px;
    height: 100px;
    vertical-align: baseline;
    object-fit: cover;
}

.group-place-name {
    overflow: hidden;
    font: 700 12px Arial, Helvetica, sans-serif;
}

.group-place-name a {
    display: block;
    width: 100px;
    overflow: hidden;
    font-weight: 400;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.group-members-dropdown {
    margin-bottom: 5px;
    text-align: right;
}

.group-members-dropdown select {
    margin-right: 5px;
}

.group-members-dropdown .group-report {
    margin-right: 6px;
}

.group-members {
    display: flow-root;
}

.group-members-spacer {
    float: left;
    width: 1px;
    height: 69px;
    visibility: hidden;
}

.group-member {
    float: left;
    width: 100px;
    margin: 12px 14px;
}

.group-my .group-member {
    margin: 12px 11px;
}

.group-member-status {
    position: absolute;
    padding: 2px;
}

.group-member-status img {
    vertical-align: baseline;
}

.group-member-avatar a {
    display: inline-block;
    width: 100px;
    height: 100px;
}

.group-member-avatar a img,
.group-wall-avatar img {
    display: inline-block;
    width: 100px;
    height: 100px;
    vertical-align: baseline;
}

.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 {
    clear: both;
    padding-top: 10px;
    text-align: center;
}

.group-pager-inner {
    display: inline-block;
    min-height: 20px;
    padding-right: 9px;
    vertical-align: top;
}

.group-pager-arrow {
    float: left;
    position: relative;
    top: 4px;
    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 {
    float: left;
    position: relative;
    top: 2px;
    height: 11px;
    margin: 0 5px;
    line-height: 1em;
}

.group-pager-pages input {
    width: 38px;
    height: 17px;
    padding: 0 2px;
    border: 1px solid #a9a9a9;
    text-align: center;
}

.group-allies {
    display: flow-root;
    margin-bottom: 10px;
}

.group-ally {
    float: left;
    width: 58px;
    height: 58px;
    padding: 8px;
}

.group-ally a {
    display: inline-block;
    width: 42px;
    height: 42px;
}

.group-ally img {
    width: 42px;
    height: 42px;
    vertical-align: top;
    object-fit: cover;
}

.group-store {
    display: flow-root;
}

.group-store-item {
    float: left;
    width: 132px;
    padding: 4px 11px 32px;
}

.group-store-item img {
    display: block;
    width: 110px;
    height: 110px;
    margin-bottom: 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 {
    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-more {
    clear: both;
    padding-top: 25px;
    text-align: center;
}

.group-text-button {
    padding: 0;
    border: 0;
    background: none;
    color: #5a189a;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
}

.group-text-button:hover {
    text-decoration: underline;
}

.group-link-form {
    margin: 10px 14px;
}

.group-link-form input[type="number"] {
    width: 125px;
    height: 21px;
    margin: 0 3px;
    padding: 1px 3px;
    border: 1px solid #a9a9a9;
    vertical-align: top;
}

.group-link-request {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-top: 1px solid #ddd;
}

.group-link-request a {
    flex: 1;
}

.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-header {
    margin-bottom: 0;
    border-bottom: 0;
}

.group-wall-form {
    display: flex;
    align-items: flex-end;
    margin-left: 14px;
}

.group-wall-text {
    width: 519px;
    height: 59px;
    padding: 2px;
    border: 1px solid #a7a7a7;
    background-color: #fff;
    resize: none;
}

.group-wall-post-button {
    height: 25px;
    margin-left: 5px;
    line-height: 23px;
}

.group-wall {
    margin-bottom: 8px;
    padding: 5px 5px 10px;
    overflow: hidden;
    border: 1px solid #ccc;
    border-top: 0;
    background-color: #fff;
}

.group-wall-note {
    color: gray;
}

.group-wall-row {
    display: flow-root;
    padding: 10px;
    background-color: #fff;
}

.group-wall-row.odd {
    background-color: #f2f2f2;
}

.group-wall-avatar {
    float: left;
    width: 120px;
    margin: 5px;
    overflow: hidden;
}

.group-wall-avatar a {
    display: inline-block;
    width: 100px;
    height: 100px;
}

.group-wall-body {
    float: left;
    width: 610px;
    margin: 5px;
}

.group-my .group-wall-body {
    width: 450px;
}

.group-wall-post {
    width: 100%;
    min-height: 78px;
    margin-bottom: 5px;
    overflow: hidden;
    overflow-wrap: break-word;
}

.group-wall-time {
    color: gray;
}

.group-wall-date .group-report {
    float: right;
}

.group-wall .group-report a {
    color: #f00;
}

.group-controls {
    margin-bottom: 10px;
    border: 1px solid #ccc;
    background-color: #efefef;
}

.group-controls div {
    margin: 6px 0;
    text-align: center;
}

.group-controls .group-button {
    width: 125px;
}

.group-list-column {
    flex: 0 0 160px;
    width: 160px;
    min-height: 650px;
}

.group-list {
    width: 162px;
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #efefef;
    text-align: center;
}

.group-create {
    display: inline-block;
    width: 148px;
    height: 50px;
    margin: 5px 0 10px;
    padding: 9px 13px 12px;
    border: 1px solid #007001;
    background: #007001 url("/img/catalog/bg-btn-green.png") repeat-x left 0;
    color: #fff;
    font-size: 23px;
    line-height: 27px;
    text-align: center;
    vertical-align: top;
}

.group-create:hover {
    background-position: left -48px;
    color: #fff;
    text-decoration: none;
}

.group-list-pager {
    height: 28px;
    padding-top: 5px;
}

.group-list-arrow {
    display: block;
    width: 36px;
    height: 13px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: url("/img/groups/list-arrows.png") no-repeat;
    cursor: pointer;
}

.group-list-arrow.up {
    background-position: left top;
}

.group-list-arrow.down {
    background-position: right top;
}

.group-list-arrow.up:hover {
    background-position: left -13px;
}

.group-list-arrow.down:hover {
    background-position: right -13px;
}

.group-list-arrow.up:disabled {
    background-position: left bottom;
    cursor: default;
}

.group-list-arrow.down:disabled {
    background-position: right bottom;
    cursor: default;
}

.group-list-items {
    height: 528px;
    overflow: hidden;
    text-align: left;
}

.group-page .group-list-item {
    display: flow-root;
    padding: 5px 0 5px 14px;
    color: #000;
    text-decoration: none;
}

.group-page .group-list-item:hover {
    background-color: #fff;
}

.group-page .group-list-item.selected {
    background: url("/img/groups/list-arrow.png") 4px center no-repeat;
}

.group-page .group-list-item.selected:hover {
    background-color: #fff;
}

.group-list-emblem {
    float: left;
}

.group-list-emblem img {
    display: block;
    width: 44px;
    height: 44px;
    border: 1px solid #fff;
    background-color: #fff;
    object-fit: cover;
}

.group-list-name {
    float: left;
    width: 102px;
    height: 56px;
    padding: 12px 6px;
    overflow: hidden;
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.selected .group-list-name {
    font-weight: 700;
}

.group-create-page {
    display: block;
}

.group-create-form {
    width: 604px;
    max-width: 100%;
}

.group-create-form h2 {
    margin-bottom: 4px;
}

.group-create-form label {
    display: block;
    margin: 12px 0 8px 11px;
    font-weight: 700;
}

.group-create-form input[type="text"],
.group-create-form textarea {
    display: block;
    width: 100%;
    border: 1px solid #a9a9a9;
    background-color: #fff;
}

.group-create-form input[type="text"] {
    height: 21px;
    padding: 1px 3px;
}

.group-create-form textarea {
    height: 205px;
    padding: 2px;
    resize: none;
}

.group-create-form p {
    margin: 6px 11px;
}

.group-create-buttons {
    margin: 14px 0 0 11px;
}

.group-settings .group-box-body {
    overflow: hidden;
}

.group-admin-tabs {
    display: flex;
    min-height: 36px;
    border-bottom: 1px solid #ccc;
    background-color: #f6f6f6;
}

.group-page .group-admin-tabs a {
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-right: 1px solid #ddd;
    color: #555;
    text-decoration: none;
}

.group-page .group-admin-tabs a:hover {
    background-color: #fff;
    color: #222;
}

.group-page .group-admin-tabs a.active {
    background-color: #fff;
    box-shadow: inset 0 -3px 0 #7b2cbf;
    color: #222;
}

.group-admin-pane {
    padding: 16px;
}

.group-page .group-admin-pane > h3 {
    display: block;
    margin: 0 0 13px;
}

.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-page .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;
}

@media (max-width: 991px) {
    .group-container {
        display: block;
    }

    .group-mid,
    .group-my .group-mid,
    .group-side,
    .group-list-column {
        width: auto;
        min-height: 0;
        margin: 0 0 10px;
    }

    .group-list {
        width: auto;
    }

    .group-list-items {
        height: 264px;
    }

    .group-panel {
        flex-wrap: wrap;
    }

    .group-right,
    .group-my .group-right {
        flex: 1 1 100%;
        width: auto;
        margin: 10px 0 0;
    }

    .group-wall-body,
    .group-my .group-wall-body {
        float: none;
        width: auto;
        overflow: hidden;
    }

    .group-wall-text {
        width: 100%;
    }

    .group-search-keyword {
        width: 60%;
    }
}

@media (max-width: 700px) {
    .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;
    }

    .group-status-top {
        width: 100%;
    }

    .group-status-input {
        width: 60%;
    }
}
