/* Título especial */
.aurebesh-text {
    text-align: center;
    font-size: 1.23rem;
}

.aurebesh-text .upper-section {
    text-transform: uppercase;
}

.aurebesh-text .lower-section {
    font-family: var(--font-three);
    font-size: 60%;
}

.aurebesh-text * {
    line-height: 100%;
    white-space: nowrap;
}

/* Widgets */
#sq-img::after {
    content: attr(data-phrase);
    text-align: center;
    display: block;
    padding: .5rem;
    text-transform: uppercase;
    font-size: .8rem;
    color: var(--color-two);
    line-height: 1rem;
    width: 100%;
}

#sq-img.up::after {
    position: absolute;
    top: 0;
}

#sq-img.down::after {
    position: absolute;
    bottom: 0;
}

/* Bloque del separador */
.forumseparator-block>* {
    display: block;
}

.forumseparator-block .forumseparator-text {
    font-family: var(--font-three);
    font-size: 1.25rem;
    cursor: default;
}

.forumseparator-block .forumseparator-icon {
    font-size: 3rem;
    margin: 0 1rem;
}

/* Topbar */
#topbar .is-hidden-tablet h3 {
    display: flex;
    flex-flow: column;
    text-align: center;
}

#topbar .is-hidden-tablet h3 .lower-section {
    font-size: 60%;
}

#topbar .is-hidden-tablet h3 .upper-section {
    text-transform: uppercase;
}

/* Perfil de usuario */
.profile-section {
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 2.5rem;
}

.profile-section h2 {
    font-size: 1.6rem;
}

.profile-section h3 {
    font-size: 1.4rem;
}

.profile-section h4 {
    font-size: 1.2rem;
}

#profile-items {
    max-width: 725px;
}

.profile-section:last-child {
    margin-bottom: 0;
}

#profile-main .field-name {
    max-width: 194px;
}

#profile-main .field-content {
    display: flex;
    align-items: center;
    font-family: var(--font-one);
    border-bottom: 2px solid;
}

.profile-imglist {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    margin: -.5rem 0;
}

.profile-imglist>li {
    margin: .5rem;
}

.profile-imglist img {
    display: block;
}

#profile-backgrounds .profile-imglist>li {
    min-width: 30%;
    text-align: center;
}

.profile-dots {
    display: flex;
    justify-content: space-around;
    min-width: 180px;
    margin-top: .5rem;
}

.profile-dot {
    display: flex;
    border: 3px solid;
    width: 2rem;
    height: 2rem;
    border-radius: 100%;
    padding: .25rem;
}

.profile-dots .is-active .profile-dot::before {
    content: '';
    width: 100%;
    height: 100%;
    background: var(--color-two);
    border-radius: 100%;
}

.profile-special {
    display: flex;
}

.profile-special img {
    flex: 0 0 auto;
    margin-right: 1rem;
    width: 30%;
    max-width: 100px;
    align-self: flex-start;
}

.profile-gac {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
}

.profile-gac:last-child {
    margin: 0;
}

.profile-gac i {
    position: absolute;
    top: .15rem;
    left: 1rem;
    font-size: 1.25rem;
    color: var(--color-contrast);
}

#profile-user {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

#profile-user img {
    flex: 0 0 auto;
    width: 194px;
    height: 194px;
    border: 2px solid;
    margin-right: 1rem;
}

#profile-userfields {
    flex: 1 1 auto;
    align-items: center;
}

#profile-userfields ul li {
    margin-bottom: .75rem;
}

#profile-userfields ul li:last-child {
    margin-bottom: 0;
}

.profile-userfield {
    display: flex;
    align-items: center;
    color: var(--color-two) !important;
}

.profile-userfield i {
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    background: var(--color-two);
    color: var(--color-one);
    margin-right: .5rem;
}

.profile-userfield .text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#profile-adminfields::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-two);
    margin-bottom: 1.5rem;
}

.rp-master {
    display: flex;
}

.rp-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--color-contrast);
    color: var(--color-one);
    font-size: 1.125rem;
    margin-right: .5rem;
}

.rp-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1 1 auto;
    height: 2.5rem;
    color: var(--color-two);
    font-family: var(--font-one);
    border-bottom: 2px solid;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rp-content {
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rp-manager {
    cursor: default;
}

.rp-manager .rp-content {
    max-width: 375px;
}

.rp-controls {
    font-family: var(--font-one);
    text-transform: uppercase;
    margin-left: 1rem;
}

.rp-controls span {
    color: var(--color-contrast);
    cursor: pointer;
}

.rela-master {
    display: flex;
}

.rela-master.rela-manager {
    cursor: default;
}

.rela-list .rela-master img {
    flex: 0 0 auto;
    align-self: flex-start;
    max-width: 20% !important;
    margin-right: 1rem !important;
    padding: .5rem;
    border: 2px solid var(--color-contrast);
    border-radius: 100%;
}

.rela-title h4 {
    max-width: 300px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rela-content {
    flex: 1 1 auto;
    color: var(--color-two);
}

.rela-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rela-list {
    margin-bottom: 1.5rem !important;
}

.rela-list:last-child {
    margin-bottom: 0 !important;
}

.rela-list::after {
    content: '';
    display: block;
    width: 30%;
    height: 2px;
    background: var(--color-two);
    margin-top: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

.rela-list:last-child::after {
    display: none;
}

.small-text {
    font-size: 14px;
    line-height: 21px;
}

.rela-text.is-content ul,
.rela-text.is-content ol {
    padding-left: 1.5rem;
}

.rela-text.is-content ol li::before,
.rela-text.is-content ul li::before {
    left: -1.5rem;
    width: 1.5rem;
}

.rela-text.is-content ol li,
.rela-text.is-content ul li {
    margin-bottom: .5rem;
}

/* Tablillas */
.is-content .user-coolquote {
    flex-flow: column;
}

.is-content .coolquote-quote,
.is-content .coolquote-from {
    flex: 0 0 auto;
    width: 100%;
    padding: .5rem;
}

.is-content .coolquote-quote {
    position: relative;
}

.is-content .coolquote-from {
    text-align: right;
    font-style: italic;
}

.is-content .coolquote-from::before {
    content: '— ';
}

.is-content .coolquote-quote .fas {
    position: absolute;
    color: var(--color-contrast);
    font-size: 1.5rem;
}

.is-content .coolquote-quote .fa-quote-left {
    left: -2rem;
    top: .5rem;
}

.is-content .coolquote-quote .fa-quote-right {
    right: -2rem;
    bottom: .5rem;
}

/* Mapa Galáctico */
#map-block {
    border: 2px solid var(--color-two);
    position: relative
}

#buttons-container {
    position: absolute;
    z-index: 30;
    top: 15px;
    right: 10px
}

#buttons-container *:not(.selected) {
    color: var(--color-two);
    border-color: var(--color-two);
}

#sectors-container {
    position: absolute;
    bottom: 0;
    height: 100%;
    width: 100%
}

#sectors-container * {
    position: absolute;
    margin: 0;
    opacity: 0;
    font-size: .75rem;
    display: block
}

#sector-1 {
    left: 370px;
    top: 290px
}

#sector-2 {
    left: 465px;
    top: 300px
}

#sector-3 {
    left: 460px;
    top: 400px
}

#sector-4 {
    top: 470px;
    left: 405px
}

#sector-5 {
    left: 310px;
    top: 450px
}

#sector-6 {
    left: 285px;
    top: 315px
}

#sector-7 {
    left: 390px;
    top: 220px
}

#sector-8 {
    top: 115px;
    left: 420px
}

#sector-9 {
    left: 575px;
    top: 170px
}

#sector-10 {
    top: 250px;
    left: 540px
}

#sector-11 {
    left: 545px;
    top: 390px
}

#sector-12 {
    top: 520px;
    left: 485px
}

#sector-13 {
    left: 335px;
    top: 545px
}

#sector-14 {
    transform: rotate(270deg);
    top: 390px;
    left: 240px
}

#sector-15 {
    top: 90px;
    left: 560px
}

#sector-16 {
    top: 200px;
    left: 700px
}

#sector-17 {
    top: 340px;
    left: 590px
}

#sector-18 {
    transform: rotate(270deg);
    left: 630px;
    top: 495px
}

#sector-19 {
    transform: rotate(270deg);
    left: 575px;
    top: 505px
}

#sector-20 {
    left: 480px;
    top: 585px
}

#sector-21 {
    left: 315px;
    top: 595px
}

#sector-22 {
    transform: rotate(270deg);
    top: 305px;
    left: 705px
}

#sector-23 {
    left: 660px;
    top: 560px
}

#sector-24 {
    top: 655px;
    left: 475px
}

#sector-25 {
    top: 655px;
    left: 310px
}

#sector-26 {
    top: 385px;
    left: 650px
}

#sector-27 {
    top: 100px;
    left: 650px
}

#sector-info {
    border: 2px solid var(--color-contrast);
    width: 265px;
    background: var(--color-one);
    padding: 0;
    position: absolute;
    top: 20px;
    left: 20px
}

#sector-info table {
    width: 100%
}

#sector-header {
    padding: 10px;
    font-family: var(--font-one);
    color: var(--color-one);
    font-size: 22px;
    background: var(--color-contrast)
}

#sector-info small {
    font-size: 60%;
    display: block
}

#sector-info tbody tr {
    display: flex;
    flex-flow: column;
}

#sector-info tbody tr td {
    padding: 10px
}

#sector-info tbody tr td:last-child {
    padding-top: 0;
    font-size: 13px;
    border-bottom-color: var(--color-contrast)
}

#sector-info tbody tr td:first-child {
    border-bottom: none;
    padding-bottom: 0;
    font-family: var(--font-one);
    font-size: 16px;
}

/* Bloque de registros */
#forum-registry>li::before,
.registry-character::before {
    display: none;
}

.registry-veteran,
.registry-users {
    padding: 0 !important;
}

.registry-users li>ul {
    margin-top: .5rem;
}

.registry-character .icon {
    position: absolute;
    left: -1.725rem;
    border: 0;
}

/* Widgets */
.plank-element .aurebesh-text {
    height: 36px;
    margin-bottom: 1rem;
}

/* Generador de expediente */
.modal-content h4,
#forum-record h4 {
    margin-bottom: 2rem;
}

/* Ajustes responsive */
@media only screen and (max-width: 487px) {

    .forumseparator-block .forumseparator-icon {
        font-size: 2rem;
    }

    .forumseparator-block .forumseparator-text {
        font-size: .9rem;
    }

    #profile-user {
        flex-flow: column;
        align-items: center;
    }

    #profile-user img {
        margin-bottom: 2rem;
        margin-right: 0;
    }

    #profile-userfields {
        width: 100%;
    }

    #profile-block .field-name {
        margin-bottom: .25rem;
    }

    #profile-block .field-content {
        padding-bottom: .5rem;
    }

    .is-content .user-coolquote {
        max-width: calc(100% - 4rem) !important;
    }

    .topic-title h3 {
        font-size: 1.23rem !important;
    }

    .rela-title {
        flex-flow: column-reverse;
        align-items: flex-start;
    }

    .rela-master img {
        display: none;
    }

    .rela-title h4 {
        max-width: 2s30px;
    }

    .rela-title>* {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .rp-controls {
        text-align: right;
    }
}

@media only screen and (max-width: 799px) {
    .rp-master {
        align-items: center;
        border-bottom: 2px solid var(--color-two) !important;
        padding-bottom: .5rem;
    }

    .rp-name {
        height: auto;
        flex-flow: column;
        align-items: flex-start;
        border: 0;
    }

    .rp-name .rp-controls {
        margin: 0;
        font-size: 90%;
        line-height: 95%;
    }

    .rp-content {
        max-width: calc(100vw - 5.5rem) !important;
    }
}