/** modifiers **/
@media(max-width:567px) {
    .container {
        padding-right: 3px;
        padding-left: 3px;
    }

    .row {
        margin-right: 0;
        margin-left: 0;
    }

    .row .col, .row [class*="col-"] {
        padding-right: 0;
        padding-left: 0;
    }
}

/* User public profile */
.user-profile__profile-heading {
    width: 100%;
    margin-bottom: 10px;
}

.user-profile__profile-heading-row {
    display: flex;
    justify-content: center;
}

.user-profile__profile-heading-row.has-hero-image {
    margin-top: -150px;
}

.user-profile__profile-heading-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.user-profile__profile-heading.avatar-content {
    width: 75%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}

.user-profile__profile-heading.avatar-content:has(>.avatar-image.has-background) {
    margin-bottom: 20px;
}

.user-profile__profile-heading-col.hero-image {
    display: flex;
    justify-content: center;
}

.user-profile__profile-heading-col.hero-image img {
    max-height: 300px;
}

.user-profile__profile-heading-col .avatar-image {
    height: auto;
    max-width: 220px;
    aspect-ratio: 55 / 58;
}

.user-profile__profile-heading-col .avatar-image.has-background {
    z-index: 2;
}

.user-profile__profile-heading-col .avatar-border-background {
    position: absolute;
    z-index: 1;
    background-color: var(--card-background-color);
    height: 250px;
    width: 158px;
    aspect-ratio: 79 / 125;
}

.user-profile__profile-heading-col .avatar-border-image {
    position: absolute;
    z-index: 3;
    max-height: 250px;
    max-width: 180px;
    aspect-ratio: 79 / 125;
}

.user-profile__profile-user-info {
    width: 75%;
    text-align: center;
}

.user-profile__profile-heading-col .username {
    color: white;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 5px;
    margin: 0;
    margin-top: 10px;
    margin-bottom: 5px;
}

.user-profile__profile-heading-col .tier-image {
    max-width: 125px;
    height: auto;
}

.user-profile__profile-heading-col .lifetime-arp {
    color: white;
    text-align: center;
    margin-top: 5px;
}

.user-profile__profile-about-me-col {
    display: flex;
    align-items: center;
    padding-left: 0;
    margin-top: 140px;
    margin-bottom: 0.5rem;
    padding-right: 45px;
}

.user-profile__about-me {
    background-color: var(--card-background-color);
    border: solid 1px var(--card-border-color);
    width: 95%;
    border-radius: 10px;
    padding: 15px;
    max-height: 800px;
    overflow-y: hidden;
}

.user-profile__about-me p {
    margin: 0;
}

.user-profile__profile-card-col {
    display: flex;
    justify-content: center;
}

.user-profile__card-header h3 {
    color: white;
    font-size: 1.2em;
    margin-bottom: 0;
}

.user-profile__card-body .artifacts {
    justify-content: center;
    align-items: center;
}

.user-profile__card-body .artifacts .artifact-details {
    margin-right: 20px;
    margin-left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.user-profile__card-body .artifacts .artifact-details img {
    width: 200px;
    height: auto;
    cursor: default;
}

.user-profile__card-body .artifacts .artifact-details p {
    color: white;
    font-size: 0.8rem;
    margin-bottom: 5px;;
}

.user-profile__card-body #friends {
    min-height: 320px;
}

.user-profile__card-body .friend {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.user-profile__card-body .friend p {
    color: white;
    font-size: 0.7rem;
    margin: 0;
}

.user-profile__card-body .friend img {
    max-width: 75px;
    height: auto;
}

button.friends-pagination {
    background: transparent;
    border: none;
    color: gray;
}

button:disabled.friends-pagination {
    color: darkslategray;
}

.user-profile__card-body .content-image {
    width: 75px;
    height: auto;
    cursor: default;
}

.user-profile__card-body .card-table-row .created-at {
    text-align: end;
}

.user-profile__card-body .achievement-image {
    width: 75px;
    height: auto;
    cursor: default;
}

.user-profile__card-body .default-message {
    color: gray;
    padding: 0;
    margin: 0;
}

.user-profile__card-body .relay-post-divider {
    width: 100%;
    height: 0.5rem;
    background-color: var(--card-background-color);
    border-bottom: 1px solid var(--card-divider-color);
}

.relay-link {
    color: white!important;
}

a.relay__post-link {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    white-space: nowrap;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (min-width: 992px) and (max-width: 1245px) {
    .user-profile__profile-heading-col .username {
        width: 100% !important;
    }

    .user-profile__profile-heading-col .tier-banner {
        width: 100% !important;
    }

    .user-profile__profile-heading-col .lifetime-arp {
        width: 100% !important;
    }

    .user-profile__profile-about-me-col {
        padding-left: 35px;
        padding-right: 10px;
    }
}

@media (max-width: 767px) {
    .user-profile__profile-heading.avatar-content,
    .user-profile__profile-user-info {
        width: 100%;
    }

    .user-profile__profile-about-me-col {
        padding: 0 25px;
        margin-top: 15px;
    }
}

@media(max-width:900px) {
    .user-profile__profile-heading-row.has-hero-image {
        margin-top: -150px;
    }
    
    .user-profile__profile-about-me-col {
        margin-left: 5px;
    }

    .user-profile__about-me {
        font-size: 0.8rem;
        width: 100%;
    }

    .user-profile__card-body .card-table-row {
        font-size: 0.8rem;
    }
}

@media(max-width:567px) {
    .user-profile__profile-heading-col {
        display: flex;
        align-items: center;
    }

    .user-profile__profile-heading-row.has-hero-image {
        margin-top: -140px;
    }

    .user-profile__profile-about-me-col {
        margin-top: 5px;
    }

    .user-profile__about-me {
        width: 100%;
    }

    .user-profile__card-header h3 {
        font-size: 0.9rem;
    }

    .user-profile__card-header a {
        font-size: 0.9rem;
    }

    .user-profile__card-body .artifacts {
        display: flex;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .user-profile__card-body .artifacts img {
        width: 115px;
        margin: 0;
    }

    .user-profile__card-body .card-table-heading {
        font-size: 0.6rem;
    }

    .user-profile__card-body .card-table-row {
        flex-wrap: nowrap;
        font-size: 0.8rem;
    }
}

/** user profile **/
.user-profile__user-content {
    padding-bottom:1rem;
}

.user-profile__user-content.borderized {
    border-bottom: 1px solid hsla(165,6%,86%,0.4);
    padding-bottom:unset;
}

.user-profile__user-content.borderized .user-profile__user-content-post {
    margin-bottom:.5rem;
    margin-top:.5rem;
}

.user-profile__user-content-post {
    text-align:center;
    padding-top:2rem;
}

.user-profile__user-content-post:first-child {
    border-left: unset;
}

.user-profile__user-content-post img {
    width:100%;
    height:125px;
    object-fit:cover;
}

.user-profile__user-content-post h1 {
    color:white;
    margin-top:1rem;
    font-size:.9em;
}

.user-profile__user-content-post h2 {
    color:white;
    font-size:.7em;
}

@media(max-width:992px) {
    .user-profile__user-content-post {
        border-left: unset;
    }

    .user-profile__user-content-post h1 {
        font-size:1.2em;
    }

    .user-profile__user-content-post h2 {
        font-size:.7em;
    }
}

/** user profile inbox section **/
.user-profile__inbox {
    margin-top: 1rem;
    padding-left: 4rem;
    padding-right: 4rem;
    border-top: 1px solid hsla(165,6%,86%,0.4);
}

.user-profile__inbox * {
    color:white;
}

.user-profile__inbox-messages {
    margin-top: 15px;
    width: 100%;
    max-height: 400px;
}

.user-profile__inbox-message {
    margin-top:1rem;
}

.user-profile__inbox-message h1 {
    font-size: .9em;
}

.user-profile__inbox-message p {
    font-size:.85em;
}

.user-profile__inbox-actions {
    text-align: center;
    margin-top: 3rem;
}

.user-profile__inbox-actions input {
    background-color: transparent;
    color:white;
    border: 1px solid hsla(165,6%,86%,0.4);
}

.user-profile__inbox-actions input:placeholder {
    color:white;
}

.user-profile__inbox-actions input:focus {
    background-color: transparent;
    color:white;
}

.user-profile__inbox-actions button {
    border: unset;
    border-top: 1px solid hsla(165,6%,86%,0.4) !important;

    margin-top:1.4rem;
    padding-top:1.4rem;
    padding-left:2rem;
    padding-right:2rem;
}

/** user profile about section **/
.user-profile__about {
    color:white;
}

.user-profile__about p {
    padding:1rem;
    background-color:rgba(245,245,245,.1);
    font-size: .9em;
}

/** user profile filter function **/
.user-profile__filter {
    color:white;
    margin-top:5rem;
}

.user-profile__filter h1 {
    font-size: 1em;
}

.user-profile__filter-toggle {
    display:none;
}

/** user menu profile variant **/
.um-profile__header {
    text-align:center;
    padding-top: .5rem;
}

.um-profile__about {
    margin-top:.5rem;
    font-size:.75em;
    text-align: justify;
    text-justify: justify-all;
    padding-top:.25rem;
}

.um-profile__about-read {
    margin-top:1rem;
}

.um-profile__tabs {
    margin-top:2rem;
    margin-bottom:2rem;
}

.um-profile__tab {
    border-top: 1px solid #C0C2C4;
    width:100%;
    padding-top:.4rem;
    font-size:.75rem;
    margin-bottom:1.5rem;
}

.um-profile__tab:hover {
    cursor:pointer;
    color:rgb(212, 163, 44);
}

.um-profile__tab.active {
    border-color: rgb(212, 163, 44);
}

.um-profile .user-about {
    max-height: 90px;
    overflow-y: hidden;
}
#content {
    background-color: hsla(240, 1%, 16%, .5);
}

.um-profile__friends {
    display: flex;
    justify-content: center;
    align-items: center;
}

.um-profile__friends .hexagon {
    background-color: hsla(182, 100%, 46%, 0.9);
}
.um-profile__friends .hexagon:before {
    border-bottom-color: hsla(182, 100%, 46%, 0.9) !important;
}
.um-profile__friends .hexagon:after {
    border-top-color: hsla(182, 100%, 46%, 0.9) !important;
}
.um-profile__friends i {
    color: black !important;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
}

.friend {
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.5));
    transition: all .3s;
}

.friend:hover {
    filter: drop-shadow(1px 1px 10px rgba(0,0,0,0.7));
}
.ucc-image {
    flex-basis: 100px;
}
.user-profile__user-content {
    background-color: #1F1F1F;
    color: #fff;
}
.user-profile__user-content:hover {
    cursor: pointer;
    background-color: #353535
}
#user-profile__user-content-list {
    margin-bottom: 15px;
    width: 100%;
}
#user-profile__user-content-container .pagination {
    justify-content: center;
}
#user-profile__user-content-container .pagination a {
    color: #fff !important;
}
#user-profile__user-content-container .page-item.active .page-link {
    color: #000 !important;
    background-color: #fff;
}

/** user profile achievements **/
.selected-achievement {
    border-style: solid;
    border-color: #01f0eb;
}

@media(max-width:576px) {
    #user-profile__user-content-container .pagination .page-link {
        font-size: 1.2rem;
        padding: .25rem 1rem;
    }

    .user-profile__user-content {
        font-size: .9rem;
    }

    .user-profile__filter {
        margin-top:.5rem;
        margin-bottom: 1.5rem;
        padding-top: .7rem;
        border-top: 2px solid #C0C2C4;
        width: 100%;
    }

    .user-profile__filter h1 {
        color: #999;
        text-transform: uppercase;
    }

    .um-profile__tabs {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .user-profile__filter .user-profile__filter-toggle {
        right: -5px;
        top: 10px;
    }

    .user-profile__filter-toggle {
        display: block;
        margin: .5rem;
        position: absolute;
        right: 10px;
    }

    .user-profile__filter-toggle i {
        color:white;
    }

    .user-profile__filter:not(.expanded) .um-profile__tab.filter-default,
    .user-profile__filter:not(.expanded) .um-profile__tab:not(.active),
    .um-profile__section-filters:not(.expanded) .um-profile__tab:not(.active) {
        display: none;
    }

    .user-profile__filter.expanded .filter-expand,
    .um-profile__section-filters.expanded .filter-expand {
        display: none;
    }

    .user-profile__filter:not(.expanded) .filter-collapse,
    .um-profile__section-filters:not(.expanded) .filter-collapse {
        display: none;
    }

    .row-achievements h2 {
        text-align: center;
    }

    .row-achievements .achievement {
        display: flex;
        justify-content: center;
    }

    .row-achievements .achievement-img,
    .row-achievements .achievement-name,
    .row-achievements .achievement-desc {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .row-achievements .achievement-info {
        /* display: flex; */
    }
}
.big-header{
    font-size: 28px;
}
.medium-header{
    font-size: 18px;
}
.small-header{
    font-size: 14px;
}
#profile_artifacts-room {
    margin-top: -97px;
}

@media (max-width: 576px) {
    #profile_artifacts-room .modal-dialog.modal-dialog-centered {
        margin: 0 40px 0 30px;
        width: 80%;
    }
}

.artifact-sponsor {
    position: absolute;
    top: 0;
    right: 0;
}
.equipped-artifact-container{
    background: url("../jpg/awa-relics-bg.jpg") center / cover no-repeat;
    padding: 75px 0 62px;
    margin: 0 -30px;
}
.equipped-artifact-section{
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}
.equipped-artifact-section img.sponsor {
    height: 100px;
}
.slots{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.slot{
    width: 300px;
    max-height: 100%;
    position: relative;
    margin: 0 auto;
}
.slot:hover .slot-front{
    transform: rotateY(90deg);
}
.slot:hover .slot-back{
    transform: rotateY(0deg);
}
.slot-front{
    transform: rotateY(0deg);
    transition: .5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slot-front img{
    width: 75%;
    height: 355px;
    background-color: rgba(0, 0, 0, 0.6);
    object-fit: contain;
}
.slot:first-child .slot-front img,
.slot:first-child .slot-back-wrapper{
    box-shadow: 0 0 10px 5px #0dcaf0;
}
.slot:nth-child(2) .slot-front img,
.slot:nth-child(2) .slot-back-wrapper{
    box-shadow: 0 0 10px 5px #20c997;
}
.slot:last-child .slot-front img,
.slot:last-child .slot-back-wrapper{
    box-shadow: 0 0 10px 5px #dc3545;
}
.slot-back-wrapper {
    width: 75%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    background-color: #000;
    white-space: normal;
}
.slot-back{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotateY(90deg);
    transition: .5s ease-in-out;
}
.slot-back p,.artifact-tooltip p{
    font-size: 13px;
    margin-bottom: 0;
    line-height: 1;
    text-align: center;
    color: white;
    font-family: 'Roboto Condensed', sans-serif;
}
.slot-back .title, .slot-back .subtitle, .artifact-tooltip {
    padding: 5px;
}
.slot-back .title,
.slot-back .subtitle,
.artifact-tooltip .title,
.artifact-tooltip .subtitle {
    font-size: 16px;
    margin-bottom: 10px;
}
.slot-back .title {
    font-weight: bold;
}
.slot-back .subtitle {
    text-decoration: underline;
}
.slot-back hr, .artifact-tooltip hr {
    border-color: #888;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.artifact-blurb {
    font-style: italic;
    text-align: left !important;
}
.slot-back .description, 
.artifact-tooltip .description {
    font-size: 13px;
    margin-bottom: 10px;
}
.artifact-footer{
    display: flex;
    justify-content: space-between;
}
.slot-back .description-set:not(.description-perk) {
    color: #888;
}
.artifact-tooltip .description-perk{
    color: #0dcaf0;
}
.slot .slot-back .description-perk {
    font-size: 12px;
}
.slot:first-child .slot-back .description-perk{
    color: #0dcaf0;
}
.slot:nth-child(2) .slot-back .description-perk{
    color: #20c997;
}
.slot:last-child .slot-back .description-perk{
    color: #dc3545;
}
.slot .slot-status {
    position: absolute;
    top: 1px;
    left: 39px;
    background: #a7d6da;
    color: #fff;
    padding: 0 3px;
    font-size: 0.8rem;
    z-index: 1;
}
.perks{
    padding: 20px 10px 40px;
    background: rgba(0,0,0,0.75);
    margin-top: 20px;
}
.perks p{
    color: white;
    text-align: center;
    margin: 0 20px;
    font-size: 18px;
    line-height: 18px;
    padding: 10px;
}
.perks .perk-title {
    margin-top: 15px;
    text-decoration: underline;
}
.artifact-fragments {
    padding: 20px 10px 40px;
    background: rgba(0,0,0,0.75);
    color: white;
    text-align: center;
    margin: 10px 0 30px 0;
    font-size: 18px;
    line-height: 18px;
    padding: 10px;
}
.artifact-section {
    border: 10px solid white;
    margin: 0 -30px;
    padding: 50px 0;
}
.artifact-section:not(.active) {
    display: none;
}
.artifact-section.active-all .artifact-card-static {
    display: none;
}
.artifact-section.active + .artifact-section.active{
    border-top-style: none;
}
.artifact-type-select-wrapper {
    position: absolute;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
}
.artifact-type-select {
    justify-content: center;
    color: #fff;
    font-size: 28px;
    text-transform: uppercase;
}
.artifact-type-select:not(.expanded) .artifact-type:not(.active) {
    display: none;
}
.artifact-type-select.expanded {
    background: rgba(0,0,0,0.75);
  }
.artifact-type-list {
    margin-right: 25px;
}
.artifact-type-select-toggle a {
    color: #fff !important;
}
.artifact-type-select-toggle.expanded .expand-list {
    display: none;
}
.artifact-type-select-toggle:not(.expanded) .collapse-list {
    display: none;
}
.artifact-type {
    padding: 12px 0;
    cursor: pointer;
}
.weapon-bg {
    background: url("../jpg/awa-weapons.jpg") center / cover no-repeat fixed;
}
.clothing-bg {
    background: url("../jpg/awa-clothing.jpg") center / cover no-repeat fixed;
}
.power-bg {
    background: url("../jpg/awa-enrgy.jpg") center / cover no-repeat fixed;
}
.language-bg {
    background: url("../jpg/awa-language.jpg") center / cover no-repeat fixed;
}
.gem-bg {
    background: url("../jpg/awa-gems.jpg") center / cover no-repeat fixed;
}
.tech-bg {
    background: url("../jpg/awa-tech.jpg") center / cover no-repeat fixed;
}
.knowledge-bg {
    background: url("../jpg/awa-knowledge.jpg") center / cover no-repeat fixed;
}
.architecture-bg {
    background: url("../jpg/awa-architecture.jpg") center / cover no-repeat fixed;
}
.social-bg {
    background: url("../jpg/awa-social.jpg") center / cover no-repeat fixed;
}
.artifact-block{
    box-shadow: 0 0 10px 0 rgb(0 0 0);
    padding: 20px;
    background: rgba(0,0,0,0.75);
    width: 75%;
    margin: 0 auto;
}
.equipped-artifact-container .artifact-block {
    width: 100%;
}
@media (max-width: 992px) {
    .equipped-artifact-container {
        padding: 115px 0;
    }
    .equipped-artifact-container .artifact-block .slots {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        padding: 20px 0;
    }
    .equipped-artifact-container .artifact-block .slot {
        display: inline-block;
    }
    .artifact-sponsor {
        position: relative;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
    }
}
.artifact-title{
    font-size: 28px;
    font-family: 'Roboto Condensed', sans-serif;
    text-align: center;
    color: white;
    margin: 0;
    padding: 10px;
}
.artifact-description{
    font-family: 'Roboto Condensed', sans-serif;
    color: white;
    text-align: center;
    font-size: 18px;
    line-height: 18px;
    margin: 0;
}
.artifacts{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .artifacts {
        overflow-x: auto;
        white-space: nowrap;

        /* Prevent tooltip opening on mobile */
        img {
            pointer-events: none;
        }
    }
    .artifact-list-item {
        display: inline-block;
    }
}
.artifacts img{
    width: 100%;
    max-width: 160px;
    padding: 10px;
    height: 240px;
    cursor: pointer;
}

.artifact-modal{
    background: rgba(0,0,0,1);
    border: 1px solid white;
}
.artifact-modal .modal-header{
    display: block;
}
.artifact-modal .close{
    color: white;
    position: absolute;
    top: 10px;
    right: 10px;
}
.artifact-modal .modal-instruction{
    font-size: 24px;
    color: white;
    font-family: 'Roboto Condensed', sans-serif;
    text-align: center;
    margin-bottom: 30px;
}
.artifact-modal .nav {
    margin-top: -15px;
    margin-left: -15px;
    margin-right: -15px;
}
.artifact-modal .nav-list-item {
    flex-grow: 1;
}
.artifact-modal .tab-content {
    padding: 15px;
}
#artifact-upgrade-details strike {
    color: #f00000;
}
.modal-slots{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 20px;
    margin-bottom: 30px;
}
.modal-slot{
    flex-grow: 1;
    overflow: hidden;
    cursor: pointer;
    border-radius: 40px;
    max-height: 100%;
    position: relative;
    margin: 0 auto;
    transition: .3s;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 75px;
}
.modal-slot:hover:not(.disabled),.modal-slot-selected{
    transform: scale(1.1);
}
.modal-slot-selected{
    color: #fff;
}
.modal-slot:first-child{
    box-shadow: 0 0 10px 5px #0dcaf0;
}
.modal-slot:nth-child(2){
    box-shadow: 0 0 10px 5px #20c997;
}
.modal-slot:last-child{
    box-shadow: 0 0 10px 5px #dc3545;
}
.modal-slot img{
    max-width: 100%;
    object-fit: contain;
}
.modal-slot.disabled{
    cursor: not-allowed;
    filter: contrast(0.3);
}
