﻿
.profile-actions-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}


.profile-actions-row .alien-button,
.profile-actions-row .delete-button {
    padding-top: 4px;
    padding-bottom: 4px;
}

body {
    background-color: #C0C9B6; 
    background-image: url('../bg1.png'), url('../bg2.png');
    background-repeat: repeat-x, repeat;
    background-position: top, top;
    color: #111111;
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 10px; 
    margin: 0;
    padding: 20px 0;
    line-height: 1.3; 
}


a {
    color: #337ab7;
    text-decoration: none;
}
a:active {
    color: #b73434;
    text-decoration: underline;
}
a:hover {
    text-decoration: underline;
}


.page-container {
    width: 1024px; 
    margin: 0 auto;
    overflow: hidden; 
}


body.fullwidth .page-container {
    
    width: calc(100% - 10px);
    margin: 0 5px; 
}


body.fullwidth .sidebar {
    width: 15%;
    float: left; 
    margin-right: 10px;
}
body.fullwidth .right-sidebar {
    width: 15%;
    float: right; 
    margin-left: 10px;
}
body.fullwidth .main-content {
    float: none !important; 
    width: auto !important;  
    margin: 0;               
    overflow: hidden;        
    display: block;
}


body.fullwidth .sidebar:empty { display: none; }
body.fullwidth .right-sidebar:empty { display: none; }


.header-images {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
}

.header-logo-left img {
    display: block;
}

.header-image-right {
    display: block;
    max-height: 243px;
    height: auto;
    position: relative; 
    z-index: 1; 
    cursor: pointer; 
}


@keyframes jitterY {
    0% { transform: translateY(0); }
    25% { transform: translateY(-1px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(1px); }
    100% { transform: translateY(0); }
}
.header-image-right.jitter {
    animation: jitterY 120ms linear infinite;
}

.sidebar {
    float: left;
    width: 170px; 
    margin-right: 10px;
}

.main-content {
    float: right;
    width: 844px; 
}

.main-content.has-right {
    float: left;
    width: 664px;
}


.right-sidebar {
    float: right;
    width: 170px;
    margin-left: 10px; 
}


.banner-announcement {
    margin: 6px 0 8px 0;
    padding: 4px 8px;
    text-align: center;
    font-weight: bold;
    font-size: 11px;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-bottom: 1px solid #000000;
    border-right: 1px solid #000000;
}


.panel {
    background-color: #E4E9E0; 
    margin-bottom: 8px; 
    padding: 4px; 
    
    
    border-top: 1px solid #F4F8F1; 
    border-left: 1px solid #F4F8F1; 
    border-bottom: 1px solid #7A8478; 
    border-right: 1px solid #7A8478; 
}

.panel-header {
    background-color: #B0BBAD; 
    font-weight: bold;
    padding: 2px 4px; 
    margin: -4px -4px 4px -4px; 
    border-bottom: 1px solid #A0A89A; 
}


.panel-header.no-bottom {
    margin-bottom: 0;
}


.user-header-panel {
    text-align: center;
    padding: 5px; 
    font-size: 16px; 
    font-weight: bold;
    color: #333;
}


.top-nav {
    background-color: #E4E9E0; 
    padding: 5px;
    margin-bottom: 8px;
    position: relative; 
    z-index: 10; 
    
    border-top: 1px solid #F4F8F1; 
    border-left: 1px solid #F4F8F1;
    border-bottom: 1px solid #7A8478; 
    border-right: 1px solid #7A8478;
    text-align: center;
}

.top-nav a {
    padding: 0 8px;
    border-right: 1px solid #C0C0C0; 
    color: #555;
    font-weight: bold;
    text-transform: uppercase;
}

.top-nav a:last-child {
    border-right: none;
}


.content-block {
    padding: 5px;
    border: 1px solid #B0BBA0; 
    margin-bottom: 5px;
}


.sidebar-links {
    padding: 2px 0;
    margin-bottom: 4px;
    border-bottom: 1px solid #A0A89A; 
}

.sidebar-links .item {
    padding: 1px 0; 
}


.sidebar-stats div {
    display: flex;
    justify-content: space-between;
    line-height: 1.5;
}


.avatar {
    width: 50px;
    height: 50px;
    background-color: #ccc;
    border: 1px solid #7A8478; 
    float: left;
    margin-right: 5px;
    object-fit: cover; 
}

.friend-avatar {
    width: 45px;
    height: 45px;
    background-color: #B0BBAD; 
    border: 1px solid #7A8478;
    margin: 0 5px 5px 0;
    float: left;
    text-align: center;
    line-height: 45px;
    font-size: 10px;
    overflow: hidden; 
}

.friend-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-item {
    margin-bottom: 8px;
    
    overflow: visible;
    border-bottom: 1px dashed #dddddd;
    padding-bottom: 5px;
}
.comment-item::after {
    content: "";
    display: block;
    clear: both; 
}

.comment-item:last-child {
    border-bottom: none;
}


.form-container {
    padding: 10px;
    background-color: #F4F8F1; 
}
.form-container div {
    margin-bottom: 5px;
}
.form-container label {
    display: block;
    font-weight: bold;
    margin-bottom: 2px;
}
.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="password"],
.form-container textarea {
    width: 95%;
    padding: 3px;
    border: 1px solid #7A8478; 
    background-color: #FFF;
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 10px;
}
.form-container input[type="submit"] {
    background-color: #B0BBAD; 
    border-top: 1px solid #F4F8F1;
    border-left: 1px solid #F4F8F1;
    border-bottom: 1px solid #7A8478;
    border-right: 1px solid #7A8478;
    padding: 4px 8px;
    font-weight: bold;
    cursor: pointer;
}
.form-container input[type="submit"]:hover {
    background-color: #A0A89A;
}


.message {
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #7A8478;
    font-weight: bold;
}
.error {
    background-color: #ffcccc;
    color: #990000;
}
.success {
    background-color: #ccffcc;
    color: #006600;
}



.form-container {
    padding: 10px;
    background-color: #F4F8F1; 
}
.form-container div {
    margin-bottom: 5px;
}
.form-container label {
    display: block;
    font-weight: bold;
    margin-bottom: 2px;
}
.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="password"],
.form-container textarea {
    width: 95%;
    padding: 3px;
    border: 1px solid #7A8478; 
    background-color: #FFF;
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 10px;
}
.form-container input[type="file"] {
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 10px;
}
.delete-button {
    background-color: #B0BBAD;
    border-top: 1px solid #F4F8F1;
    border-left: 1px solid #F4F8F1;
    border-bottom: 1px solid #7A8478;
    border-right: 1px solid #7A8478;
    padding: 1px 4px;
    cursor: pointer;
    font-family: Verdana;
    font-size: 9px;
    margin-bottom: 2px;
    float: right;
    position: relative;
    color: black;
}
.delete-button:hover {
    background-color: #9aa897;
}
.delete-button:active {
    background-color: #B0BBAD;
    border-top: 1px solid #7A8478;
    border-left: 1px solid #7A8478;
    border-bottom: 1px solid #F4F8F1;
    border-right: 1px solid #F4F8F1;
}
.comment-form input {
    background-color: #B0BBAD;
    border-top: 1px solid #F4F8F1;
    border-left: 1px solid #F4F8F1;
    border-bottom: 1px solid #7A8478;
    border-right: 1px solid #7A8478;
    padding: 1px 6px;
    cursor: pointer;
    font-family: Verdana;
    font-size: 9px;    
}
.comment-form input:hover {
    background-color: #9aa897;
}
.comment-form input:active {
    background-color: #B0BBAD;
    border-top: 1px solid #7A8478;
    border-left: 1px solid #7A8478;
    border-bottom: 1px solid #F4F8F1;
    border-right: 1px solid #F4F8F1;
}
.form-container input[type="submit"] {
    background-color: #B0BBAD;
    border-top: 1px solid #F4F8F1;
    border-left: 1px solid #F4F8F1;
    border-bottom: 1px solid #7A8478;
    border-right: 1px solid #7A8478;
    padding: 1px 6px;
    cursor: pointer;
    font-family: Verdana;
    font-size: 9px;   
}
.form-container input[type="submit"]:hover {
    background-color: #9aa897;
}
.form-container input[type="submit"]:active {
    background-color: #B0BBAD;
    border-top: 1px solid #7A8478;
    border-left: 1px solid #7A8478;
    border-bottom: 1px solid #F4F8F1;
    border-right: 1px solid #F4F8F1;
}
.form-section-header {
    font-size: 11px;
    color: #333;
    border-bottom: 1px solid #B0BBA0;
    padding-bottom: 2px;
    margin-top: 10px;
    margin-bottom: 5px;
}



.message {
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #7A8478;
    font-weight: bold;
}
.error {
    background-color: #ffcccc;
    color: #990000;
}
.success {
    background-color: #ccffcc;
    color: #006600;
}
.delete-form {
    display: inline;
    float: right;
}


.feed-container {
    padding: 5px;
    background-color: #F4F8F1; 
    margin-top: 5px;
}
.post-item {
    background-color: #E4E9E0; 
    border: 1px solid #B0BBA0; 
    padding: 5px;
    margin-bottom: 10px;
}
.post-header {
    
    overflow: visible;
    border-bottom: 1px dashed #B0BBA0;
    padding-bottom: 5px;
    margin-bottom: 5px;
}
.post-header::after {
    content: "";
    display: block;
    clear: both; 
}
.post-header .avatar {
    margin-bottom: 0;
}
.post-header div {
    overflow: hidden;
    margin-left: 0px;
}

.post-header.image-post {
    border-bottom: none;
    padding-bottom: 0 !important;
}
.post-title {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin-top: 0;
    margin-bottom: 5px;
    
    overflow-wrap: anywhere; 
    word-wrap: break-word;   
    word-break: break-word;  
    hyphens: auto;
}
.post-content {
    line-height: 1.4;
    font-size: 11px; 
    
    overflow-wrap: anywhere; 
    word-wrap: break-word;   
    word-break: break-word;  
    hyphens: auto;
}
.post-content p {
    margin-top: 0;
    margin-bottom: 5px;
}
.post-image {
    max-width: 100%;
    border: 1px solid #7A8478;
    margin-top: 5px;
}

.custom-audio-player {
    background-color: #E4E9E0;
    border: 1px solid #B0BBA0;
    padding: 8px;
    margin-top: 5px;
    position: relative;
}


.custom-video-player {
    background-color: #E4E9E0;
    border: 1px solid #B0BBA0;
    padding: 8px;
    position: relative;
}

.custom-video-player video {
    width: 100%;
    display: block;
    background: #000;
}

.video-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.video-progress {
    flex-grow: 1;
    height: 16px;
    background-color: #F4F8F1;
    border: 1px solid #7A8478;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.video-time {
    font-family: Verdana;
    font-size: 9px;
    color: #555;
    text-align: right;
    min-width: 60px;
    white-space: nowrap;
}

.custom-video-player .volume-control {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 0;
}

.custom-video-player .volume-label {
    font-family: Verdana;
    font-size: 9px;
    color: #555;
}

.custom-video-player .volume-slider {
    width: 80px;
    height: 12px;
    background-color: #F4F8F1;
    border: 1px solid #7A8478;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.play-button {
    background-color: #B0BBAD;
    border-top: 1px solid #F4F8F1;
    border-left: 1px solid #F4F8F1;
    border-bottom: 1px solid #7A8478;
    border-right: 1px solid #7A8478;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-size: 14px;
    user-select: none;
}

.play-button:active {
    background-color: #A0A89A;
    border-top: 1px solid #7A8478;
    border-left: 1px solid #7A8478;
    border-bottom: 1px solid #F4F8F1;
    border-right: 1px solid #F4F8F1;
}

.audio-progress {
    flex-grow: 1;
    height: 16px;
    background-color: #F4F8F1;
    border: 1px solid #7A8478;
    position: relative;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background-color: #B0BBAD;
    width: 0%;
    transition: width 0.1s linear;
}

.audio-time {
    font-family: Verdana;
    font-size: 9px;
    color: #555;
    text-align: right;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.volume-label {
    font-family: Verdana;
    font-size: 9px;
    color: #555;
}

.volume-slider {
    flex-grow: 1;
    height: 12px;
    background-color: #F4F8F1;
    border: 1px solid #7A8478;
    position: relative;
    cursor: pointer;
}

.volume-level {
    height: 100%;
    background-color: #B0BBAD;
    width: 100%;
}

.post-comments {
    border-top: 1px dashed #B0BBA0;
    padding-top: 5px;
    margin-top: 8px;
}
.post-comments h5 {
    margin: 0 0 5px 0;
    font-size: 10px;
    font-weight: bold;
}
.comment-form {
    margin-top: 8px;
    padding-top: 5px;
    border-top: 1px solid #D0D8C8;
}
.comment-form textarea {
    width: 98%;
    height: 30px;
    font-size: 10px;
    padding: 3px;
    border: 1px solid #7A8478;
}
.comment-form input[type="submit"] {
    padding: 2px 5px;
    font-size: 10px;
    font-weight: normal;
    margin-top: 3px;
}


.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    align-items: start;
}
.gallery-item {
    background-color: #E4E9E0;
    border: 1px solid #B0BBA0;
    padding: 6px;
    text-align: center;
}
.gallery-thumbnail-link {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}
.gallery-thumbnail {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.gallery-thumbnail.music-thumbnail {
    width: 122px;
    height: 122px;
    margin: 0 auto; 
    object-fit: cover; 
    border: 1px solid #7A8478; 
    box-sizing: border-box; 
}
.gallery-item-title {
    margin-top: 6px;
    font-size: 11px;
}


.music-gallery-container {
    display: block;
}

.music-item {
    background-color: #F4F8F1;
    border: 1px solid #B0BBA0;
    padding: 10px;
    margin-bottom: 15px;
}

.music-item .post-title {
    margin-top: 0;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #B0BBA0;
}

.music-item .music-description {
    margin: 10px 0;
    font-size: 11px;
    line-height: 1.4;
}

.music-item .music-item-footer {
    margin-top: 10px;
    padding-top: 5px;
    border-top: 1px dashed #B0BBA0;
    font-size: 10px;
    color: #666;
}

.music-item .custom-audio-player {
    margin: 10px 0;
}


.pagination {
    margin-top: 10px;
}
.pagination a {
    padding: 4px 4px;
    margin: 0 2px;
    text-decoration: none;
    color: #555;
}
.pagination a:hover {
    text-decoration: underline;
}
.pagination strong {
    padding: 4px 6px;
    margin: 0 2px;
    color: #fff;
}


.like-button {
    background-color: #B0BBAD;
    border-top: 1px solid #F4F8F1;
    border-left: 1px solid #F4F8F1;
    border-bottom: 1px solid #7A8478;
    border-right: 1px solid #7A8478;
    padding: 2px 6px;
    cursor: pointer;
    font-family: Verdana;
    font-size: 9px;
    margin-right: 5px;
    display: inline-block;
}

.like-button.liked {
    background-color: #9aa897;
    border-top: 1px solid #7A8478;
    border-left: 1px solid #7A8478;
    border-bottom: 1px solid #F4F8F1;
    border-right: 1px solid #F4F8F1;
}

.like-button:hover {
    background-color: #9aa897;
}

.like-count {
    font-size: 9px;
    color: #666;
    margin-left: 3px;
}

.dislike-button {
    background-color: #B0BBAD;
    border-top: 1px solid #F4F8F1;
    border-left: 1px solid #F4F8F1;
    border-bottom: 1px solid #7A8478;
    border-right: 1px solid #7A8478;
    padding: 2px 6px;
    cursor: pointer;
    font-family: Verdana;
    font-size: 9px;
    margin-left: 10px;
    margin-right: 5px;
    display: inline-block;
}

.dislike-button.disliked {
    background-color: #9aa897;
    border-top: 1px solid #7A8478;
    border-left: 1px solid #7A8478;
    border-bottom: 1px solid #F4F8F1;
    border-right: 1px solid #F4F8F1;
}

.dislike-button:hover {
    background-color: #9aa897;
}

.dislike-count {
    font-size: 9px;
    color: #666;
    margin-left: 3px;
}

.favorite-count {
    font-size: 9px;
    color: #666;
    margin-left: 3px;
}


.favorite-star {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('../uploads/special/star-sprite.png');
    background-size: 16px 32px; 
    background-position: 0 0; 
    background-repeat: no-repeat;
    background-color: transparent;
    cursor: pointer;
    vertical-align: middle;
    margin-left: 10px;
    border: none;
    padding: 0;
    position: relative;
    top: -2px; 
    transition: none;
}

.favorite-star.favorited {
    background-position: 0 -16px; 
}

.favorite-star:active {
    top: -1px; 
}


.user-icon {
    display: inline-block;
    vertical-align: text-bottom;
    margin: 0;
    padding: 0;
    line-height: 0;
}
.user-icon img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: none;
    margin: 0;
    padding: 0;
    background: transparent;
    display: inline-block;
}

.alien-button {
    display: inline-block;
    background-color: #B0BBAD;
    border-top: 1px solid #F4F8F1;
    border-left: 1px solid #F4F8F1;
    border-bottom: 1px solid #7A8478;
    border-right: 1px solid #7A8478;
    padding: 2px 6px 2px 23px;
    cursor: pointer;
    font-family: Verdana;
    font-size: 9px;
    position: relative;
}

.alien-button:hover {
    background-color: #9aa897;
}

.alien-button:active {
    background-color: #B0BBAD;
    border-top: 1px solid #7A8478;
    border-left: 1px solid #7A8478;
    border-bottom: 1px solid #F4F8F1;
    border-right: 1px solid #F4F8F1;
}

.alien-icon {
    width: 15px;
    height: 15px;
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url('images/alien-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.alien-count {
    font-size: 9px;
    color: #666;
    margin-left: 3px;
    vertical-align: middle;
}

.panel-header input {
    background-color: #B0BBAD;
    border-top: 1px solid #F4F8F1;
    border-left: 1px solid #F4F8F1;
    border-bottom: 1px solid #7A8478;
    border-right: 1px solid #7A8478;
    padding: 2px 6px;
    cursor: pointer;
    font-family: Verdana;
    font-size: 11px;
    margin-right: 5px;
    display: inline-block;
}
.panel-header input:hover {
    background-color: #9aa897;
}
.panel-header input:active {
    background-color: #B0BBAD;
    border-top: 1px solid #7A8478;
    border-left: 1px solid #7A8478;
    border-bottom: 1px solid #F4F8F1;
    border-right: 1px solid #F4F8F1;
}
#categorySelect {
    background-color: #E4E9E0;
    border: 1px solid #7A8478;
    padding: 2px 6px;
    cursor: pointer;
    font-family: Verdana;
    font-size: 8pt !important;
    margin-right: 5px;
    display: inline-block;    
}

#categorySelect:focus {
    outline: 0;
}
select option:hover {
    background-color: #7A8478 !important;
}
#browseTypeSelect {
    background-color: #E4E9E0;
    border: 1px solid #7A8478;
    padding: 2px 6px;
    cursor: pointer;
    font-family: Verdana;
    font-size: 8pt !important;
    margin-right: 5px;
    display: inline-block;        
}

#browseTypeSelect:focus {
    outline: 0;
}


.panel-header:hover #categorySelect:not(:hover),
.panel-header:hover #browseTypeSelect:not(:hover) {
    background-color: #E4E9E0; 
}


.dropdown-wrap:hover > #categorySelect,
.dropdown-wrap:hover > #browseTypeSelect {
    background-color: #bfc8b8;
}
.delete-button a:hover {
  text-decoration: none;
  color: black;
}
.delete-button a:active {
  text-decoration: none;
  color: black;
}

