@font-face {
    font-family: 'Cinzel-Regular';
    src: url('/font/Cinzel-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
html{
    scrollbar-gutter: stable;
}
body {
    min-height: 100vh;
    background: #242424 url('/img/background.png') repeat fixed;
}
body>.container:first-of-type {
    min-height: 100vh;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}
body#oembed {
    min-height: auto;
    background: none;
}
body#oembed > .container:first-of-type {
    min-height: auto;
    box-shadow: none;
    padding:0;
}
body#oembed *{
    max-height: inherit;
}
.container>.row,
.container>.row>.col {
    min-height: inherit;
}

.container>.row>.col {
    align-content: space-between;
    display: grid;
}

.container>.row>.col>.row>.col>h2 {
    margin-top: 2rem;
}
.container>.row>.col>.row>.col>h3 {
    margin-top: 1.5rem;
}
.container>.row>.col>.row>.col>h4 {
    margin-top: 1rem;
}
.navbar-brand {
    width: 100%;
    background: url('/img/logo.png') no-repeat center center;
    background-size: contain;
    align-items: center;
    justify-content: center;
                                                                    text-shadow: 0 0 2px RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1)),
        2px 0 2px RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1)),
        -2px 0 2px RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1)),
        0 2px 2px RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1)),
        0 -2px 2px RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1));

    font-size: 200%;
    line-height: 2;
    white-space: nowrap;
    text-align: center;
    font-family: 'Cinzel-Regular', sans-serif;
    font-weight: bold;
}

ul.navbar-nav {
    width: 100%;
}
button.nav-link {
    width: 100%;
    text-align: inherit;
}
[class*="bi-"]:not(:empty)::before {
    padding: 0 .625em 0 0;
}
/* #content > * {
    padding-left: 0;
} */
.form-floating label{
    color: #212529;
}
.form-floating > .form-select {
    padding-bottom: .6rem;
}
input.apikey {
    font-family: monospace;
}
ul.api-permissions {
    display:inline-block;
    padding: 0px;
}
.api-permissions .invalid {
    color: var(--bs-red);
}

.api-permissions .valid {
    color: var(--bs-green);
}
ul.api-permissions li {
    display:inline-block;
    padding: 0 0 0 10px;
}
ul.api-permissions li abbr {
    text-decoration-line: none;
}
ul.api-permissions li abbr span {
    border-bottom: 1px dotted currentcolor;
}
.strike {
    text-decoration: line-through;
}
.form-control.is-warning {
  border-color: #ffc107;
  padding-right: calc(1.5em + .75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ffc107'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ffc107' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}
.form-control.is-warning:focus {
  border-color: #ffc107;
  box-shadow: 0 0 0 .25rem rgba(255, 193, 7, .25) !important;
}
.warning-feedback {
  display:none;
  width: 100%;
  margin-top: .25rem;
  font-size: .875em;
  color: #ffc107;
}
.is-warning ~ .warning-feedback {
  display:block;
}
#confirmationOverlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    cursor: pointer;
}
#confirmationOverlay > div {
  position: absolute;
  padding: 3em;
  top: 50%;
  left: 50%;
  text-align: center;
  border-radius: 1em;
  background-color: rgba(0,0,0,0.7);
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
}
#previewsHeader{
    margin: 2rem 0 .5rem 0;
}
#previewsHeader > * {
    padding: 0;
}
a[href^='/profile'] {
    display:inline-block;
}
#profileName::first-letter,
a[href^='/profile']::first-letter {
    text-transform:capitalize;
}
#profileToggles{
    font-size: 1.25rem;
}
#profileToggles .form-check-inline{
    margin: 0;
    padding: 0;
}
#profileToggles .form-check-inline:first-of-type{
    margin-left: .5em;
}
#profileToggles .form-check-inline:last-of-type{
    margin-right: .5em;
}
#profileToggles .btn{
    font-size: inherit;
    background: none;
    border-radius: 6px;
    border-width: 1px;
}
#profileToggles .form-check-inline:first-child:not(:only-child) .btn{
    border-radius: 6px 0 0 6px;
    border-width: 1px 0 1px 1px;
}
#profileToggles .form-check-inline:last-child:not(:only-child) .btn{
    border-radius: 0 6px 6px 0;
    border-width: 1px 1px 1px 0;
}
#profileToggles input:checked + .btn{
    background: #0a58ca;
    border-color: #0a58ca;
}

#fashionsPreview{
    clear:both;
}
.fashion-preview{
    display: flex;
        align-items: center;
        justify-content: center;
        height: 350px;
        width: 200px;
        overflow: hidden;
    border-radius: 10px;
    color: #FFF2;
    border: 3px solid currentcolor;
    background: currentcolor;
    position: relative;
    transition: all .4s;
}
.fashion-preview img{
    height: 100%;
    width: 100%;
        object-fit: cover;
}
.fashion-preview span{
    opacity: 0.2;
    position: absolute;
    bottom: 0px;
    right: 0px;
    border-radius: 0 0 9px 9px;
    width:100%;
    padding: .5rem 1rem;
    background: rgba(0,0,0,.8);
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    transition: all .4s;
}
.fashion-preview:hover{
    color: inherit;
}
.fashion-preview:hover span{
    opacity: 1;
}
.separator {
    text-align: center;
    height: .8em;
    border-bottom: 2px solid currentcolor;
    margin-bottom: 0.5em;
    vertical-align: top;
}
.separator:first-line {
    background-color: RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1)) !important;
}
.separator:before {
    content: "__";
    color: transparent;
}
.separator:after {
    content: "__";
    color: transparent;
}
#bigForm,
#fashionPreviewSection {
    min-height: 800px;
}
#fashionViewSection h1,
#fashionViewSection h3,
#fashionViewSection h5 {
    text-align:center;
}
.guildTag {
    padding-left: .5em;
}
.guildTag img {
    height: 1em;
    margin-top: .1em;
    vertical-align: top;
}
.spinner-border{
    height:4rem;
    width:4rem;
}
.gear .equipment {
    float:left;
    clear: left;
    margin: 3px 0;
}
.equipment.boots-slot,
.equipment.weaponA2-slot,
.equipment.weaponB2-slot {
    margin-bottom:20px;
}
.gear .equipment .dropdown-toggle {
    appearance: none;
    border: none;
    padding: 0;
    line-height: 0;
}
.gear .equipment .dropdown-toggle::after {
    display:none !important;
}
.gear .equipment .dropdown-header {
    font-size:1.25rem;
    color:inherit;
    font-weight:bold;
}
.dropdown-menu {
    border-radius: 0 var(--bs-dropdown-border-radius) var(--bs-dropdown-border-radius) var(--bs-dropdown-border-radius);
}
.icon {
    width: 64px;
    height: 64px;
    background-size: cover;
    border: 2px ridge #666;
}
.equipment.helm-slot .icon {
    background-image: url("/img/Head_slot.png");
}
.equipment.shoulders-slot .icon {
    background-image: url("/img/Shoulder_slot.png");
}
.equipment.coat-slot .icon {
    background-image: url("/img/Chest_slot.png");
}
.equipment.gloves-slot .icon {
    background-image: url("/img/Hand_slot.png");
}
.equipment.leggings-slot .icon {
    background-image: url("/img/Leg_slot.png");
}
.equipment.boots-slot .icon {
    background-image: url("/img/Feet_slot.png");
}
.equipment.weaponA1-slot .icon ,
.equipment.weaponB1-slot .icon {
    background-image: url("/img/Sword_slot.png");
}
.equipment.weaponA2-slot .icon ,
.equipment.weaponB2-slot .icon {
    background-image: url("/img/Shield_slot.png");
}
.equipment.backpack-slot .icon {
    background-image: url("/img/Back_slot.png");
}
#fashionInfusions {
    margin-top:20px;
    float:left;
    clear:left;
}
#fashionInfusions > span {
    font-weight:bold;
}
.equipment.infusion {
    display:inline-block;
    float:none;
    margin: 3px;
}
.equipment.infusion .icon {
    width: 48px;
    height: 48px;
}
.dyes {
    display: inline-block;
    vertical-align: top;
    margin: 0 2px;
}
.dyes > .dropend{
    margin: 2px;
    float:left;
    line-height: 0;
}
.dyes-2 > .dropend:nth-of-type(2),
.dyes-3 > .dropend:nth-of-type(2),
.dyes-4 > .dropend:nth-of-type(3){
    clear:left;
}
.dye {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 2px ridge #666;
}
.dyes-1 > .dropend:nth-of-type(1) .dye,
.dyes-2 .dye,
.dyes-3 > .dropend:nth-of-type(1) .dye {
    width:60px;
}
.dyes-1 > span:nth-of-type(1) .dye{
    height:60px;
}
.dyes .dropdown-item{
    line-height: initial;
}
iframe.screenshot {
    width: 95%;
    height: 700px;
    display: flex !important;
}
.screenshot {
    max-width: 95%;
    max-height: 700px;
    vertical-align: middle;
    margin: 6px auto;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
    border-radius: .5em;
    cursor: zoom-in;
}
.carousel-control-prev,
.carousel-control-next{
    background-image: radial-gradient(circle, black 1rem, transparent 1.5rem);
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-image: radial-gradient(circle, black 1rem, transparent 1.5rem),
    radial-gradient(ellipse closest-side, #fff1, transparent)
}
.carousel .carousel-control-prev-icon,
.carousel .carousel-control-next-icon {
    filter: none !important;
}
.carousel-indicators {
    bottom: -1em;
    margin-bottom: 0;
}
[data-bs-theme="dark"] .carousel .carousel-indicators [data-bs-target] {
    background-color: currentColor;
}
#screenshotModal {
    display: none;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Shouldn't be needed but included for safety */
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}
#screenshotModalImage {
    max-width:90vw;
    max-height: 90vh;
    border-radius: 1em;
}
#tagList {
    justify-content: center;
    gap: 1em;
}

#tagContainer {
    display: flex;
    gap: .5em;
    flex-wrap: wrap;
}

.tagGroup {
    border-radius: 0 1em;
    border-width: 1px 0 0 1px;
    border-color: #FFF1;
    border-style: solid;
    padding: .5em;
    overflow-x: auto;
    max-width: 100vw;
    /* display: flex;
    gap: .25em;
    flex-wrap: wrap;
    align-items: center; */
}

.tagColumn {
    display: flex;
    gap: .5em;
    flex-direction: column;
}

.tagRow {
    display: flex;
    gap: .5em;
}


.tagType {
    text-transform: capitalize;
    align-self: center;
    padding-bottom: .5em;
}
.tag {
    border-width: 1px 0 0 1px;
    border-color: #FFF3;
    border-style: solid;
    text-transform: capitalize;
    background-color: #FFF1;
    padding: .5em;
    width: revert;
    clip-path: polygon(0 0, calc(100% - .5em) 0, 100% .5em, 100% calc(100% - .5em), calc(100% - .5em) 100%, .5em 100%, 0% calc(100% - .5em));
    display: flex;
    align-items: center;
    gap: .4em;
}

.btn-check+.tag {
    cursor: pointer;
}

.btn-check:not(:checked)+.tag {
    opacity: .6;
}

.btn-check:not(:checked):hover+.tag {
    opacity: .8;
}
.tag::before {
    content: '\200B';
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 32px;
}

.tag.female::before {
    background-image: url('/img/female.png');
}

.tag.male::before {
    background-image: url('/img/male.png');
}

.tag.asura::before {
    background-image: url('https://wiki.guildwars2.com/images/d/d7/Asura_tango_icon_48px.png');
}

.tag.charr::before {
    background-image: url('https://wiki.guildwars2.com/images/f/f5/Charr_tango_icon_48px.png');
}

.tag.human::before {
    background-image: url('https://wiki.guildwars2.com/images/a/a4/Human_tango_icon_48px.png');
}

.tag.norn::before {
    background-image: url('https://wiki.guildwars2.com/images/c/c9/Norn_tango_icon_48px.png');
}

.tag.sylvari::before {
    background-image: url('https://wiki.guildwars2.com/images/5/5c/Sylvari_tango_icon_48px.png');
}

.tag.elementalist::before {
    background-image: url('https://wiki.guildwars2.com/images/5/55/Elementalist_tango_icon_48px.png');
}

.tag.engineer::before {
    background-image: url('https://wiki.guildwars2.com/images/d/dd/Engineer_tango_icon_48px.png');
}

.tag.guardian::before {
    background-image: url('https://wiki.guildwars2.com/images/5/53/Guardian_tango_icon_48px.png');
}

.tag.mesmer::before {
    background-image: url('https://wiki.guildwars2.com/images/3/38/Mesmer_tango_icon_48px.png');
}

.tag.necromancer::before {
    background-image: url('https://wiki.guildwars2.com/images/e/ea/Necromancer_tango_icon_48px.png');
}

.tag.ranger::before {
    background-image: url('https://wiki.guildwars2.com/images/b/b5/Ranger_tango_icon_48px.png');
}

.tag.revenant::before {
    background-image: url('https://wiki.guildwars2.com/images/5/53/Revenant_tango_icon_48px.png');
}

.tag.thief::before {
    background-image: url('https://wiki.guildwars2.com/images/c/cd/Thief_tango_icon_48px.png');
}

.tag.warrior::before {
    background-image: url('https://wiki.guildwars2.com/images/2/28/Warrior_tango_icon_48px.png');
}

.tag.gray::before {
    background-image: url('/img/any_tango.svg');
    filter: brightness(.5) sepia(1) hue-rotate(0deg) saturate(0);
}

.tag.brown::before {
    background-image: url('/img/any_tango.svg');
    filter: brightness(.2) sepia(1) hue-rotate(10deg) saturate(15);
}

.tag.red::before {
    background-image: url('/img/any_tango.svg');
    filter: brightness(.2) sepia(1) hue-rotate(320deg) saturate(20);
}

.tag.orange::before {
    background-image: url('/img/any_tango.svg');
    filter: brightness(.8) sepia(1) hue-rotate(0deg) saturate(20);
}

.tag.yellow::before {
    background-image: url('/img/any_tango.svg');
    filter: brightness(.9) sepia(1) hue-rotate(15deg) saturate(20);
}

.tag.green::before {
    background-image: url('/img/any_tango.svg');
    filter: brightness(.5) sepia(1) hue-rotate(40deg) saturate(20);
}

.tag.blue::before {
    background-image: url('/img/any_tango.svg');
    filter: brightness(.3) sepia(1) hue-rotate(180deg) saturate(15);
}

.tag.purple::before {
    background-image: url('/img/any_tango.svg');
    filter: brightness(.3) sepia(1) hue-rotate(230deg) saturate(15);
}

.tag.white::before {
    background-image: url('/img/any_tango.svg');
    filter: brightness(1.2) sepia(1) hue-rotate(0deg) saturate(0);
}

.tag.black::before {
    background-image: url('/img/any_tango.svg');
    filter: brightness(.1) sepia(1) hue-rotate(0deg) saturate(1);
}

.tag.lunar_new_year::before {
    background-image: url('https://wiki.guildwars2.com/images/8/88/Lunar_New_Year_Dailies.png');
}

.tag.super_adventure_box::before {
    background-image: url('https://wiki.guildwars2.com/images/7/7d/Super_Adventure_Box.png');
}

.tag.dragon_bash::before {
    background-image: url('https://wiki.guildwars2.com/images/d/d3/Dragon_Bash_Feats.png');
}

.tag.four_winds::before {
    background-image: url('https://wiki.guildwars2.com/images/0/05/Four_Winds_Customs.png');
}

.tag.halloween::before {
    background-image: url('https://wiki.guildwars2.com/images/5/51/Shadow_of_the_Mad_King.png');
}

.tag.wintersday::before {
    background-image: url('https://wiki.guildwars2.com/images/5/5e/Wintersday_achievement.png');
}
.tag.help_wanted::before,
.tag.images::before,
.tag.nsfw::before {
    font-family: bootstrap-icons !important;
}

.tag.help_wanted::before {
    content: "\F8F7";
}

.tag.images::before {
    content: "\F42A";
}
.tag.nsfw {
    text-transform: uppercase;
}

.tag.nsfw::before {
    content: "\F336";
    color: red;
    background: radial-gradient(circle, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 60%, transparent 60%)
}
#fashionDescription {
    margin: 30px;
    /* width: fit-content; */
}
#fashionDescription h1,
#fashionDescription h3,
#fashionDescription h5 {
    text-align: left;
}
footer {
    padding: 3em 0 1em;
/* justify-content: space-between; */
}

#anet-content-disclaimer {
    font-size: 75%;
    flex: 1 1 300px;
}

#mylinks {
    align-self: flex-end;
    margin-left: auto;
}
.social {
    box-sizing: content-box;
    display: inline-block;
    padding: 6px;
    margin: 0 3px;
    border-radius: 6px;
    transition: all .4s;
}
.social img{
    display: inherit;
    max-width: 32px;
    max-height: 32px;
}
.social:hover {
    background-color: #0a58ca;
}
.fashions-preview-toggle {
    display: inline-block;
    padding: 6px;
    margin: 0 3px;
    border-radius: 6px;
    cursor: pointer;
}

.thumbnails-container {
    display: flex;
    flex-wrap: wrap;
    gap: .25em;
    justify-content: center;
}
.hidden {
    display: none !important;
}
#fashionViewSection h5.dropdown-header {
  text-align: left;
}
/* #fashionViewSection>div {
    padding-right: 0;
} */
#fashionViewSection .row.content {
    flex-direction: row-reverse;
    justify-content: space-evenly;
    /* padding-right: 0; */
}
.copy-links a {
    box-sizing: content-box;
    display: inline-block;
    padding: 5px;
    margin: 0 3px;
    border-radius: 5px;
    transition: all .4s;
    vertical-align: middle;
}
.copy-links a:hover {
    background-color: #0a58ca;
}
.copy-links a img {
    display: inline-block;
    height: 25px;
    width: 25px;
}
.input-group.api-key>input+.input-group-text {
    padding: 0;
    border: none;
    margin-left: 0;
}
.input-group.api-key>input+.input-group-text > label {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.tagType>small,
label>small {
    margin-left: .5em;
    text-transform: none;
}

.tagGroup.equipment .tag::before {
    content: none;
}

.tagGroup.equipment img.icon {
    width: 32px;
    height: 32px;
    border: none;
}

.tag-container.Helm {
    order: 1;
}

.tag-container.Shoulders {
    order: 2;
}

.tag-container.Coat {
    order: 3;
}

.tag-container.Gloves {
    order: 4;
}

.tag-container.Leggings {
    order: 5;
}

.tag-container.Boots {
    order: 6;
}

.tag-container.Weapon {
    order: 7;
}

.tag-container.Backpack {
    order: 8;
}

.tag-container.INFUSION {
    order: 9;
}
.equipment-search {
    padding: .5em;
}

.equipment-search input {
    padding: 0.5rem;
    width: 300px;
}

.search-results {
    position: absolute;
    z-index: 1000;
    overflow-y: auto;
    border-width: 1px;
    border-bottom-style: solid;
    border-radius: 0 0 2px 2px;
    padding: 0;
    width: 300px;
}

.result-item {
    padding: 2px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--bs-border-color-translucent);
    display: flex;
    align-items: center;
    cursor: pointer;
}
.result-item.active {
    color: var(--bs-dropdown-link-hover-color);
    background-color: var(--bs-dropdown-link-hover-bg);
}
.result-item img.icon {
    margin-right: 8px;
    vertical-align: middle;
}

.result-item:last-child {
    border-bottom: none;
}
.search-controls {
    height: fit-content;
    align-self: end;
    justify-self: end;
}