/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 10.08.2024, 22:51:53
    Author     : robert
*/

.overlay {
    position: absolute;
    top: 0px;
    bottom:0px;
    left: 0px;
    right: 0px;
}
.overlay > .shade {
    background: black;
    opacity: 0.6;
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}
.overlay > .content {
    margin: auto;
    position: fixed;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    width: fit-content;
    background: rgb(57, 41, 64);
    border: 1px solid black;
    padding: 0px;
    border-radius: 5px;
    overflow: auto;
}

.fighter-owned-icon {
    width: 25px !important;
    padding: 3px 27px 6px;
}

.fighter-icon-container {
    position: relative;
    width: fit-content;
    display: inline-flex;
}
.fighter-icon-container > button {
    position: absolute;
    background: none;
    border: none;
    margin-left: 95px;
    margin-top: 9px;
    opacity: 0.4;
}
.fighter-icon-container > button:hover,
.fighter-icon-container .fighter-icon-selected {
    opacity: 1;
}
.fighter-icon-container > button > img {
    height: 40px;
}



@media screen and (max-width: 374px) {
    #fighter_overlay .tabcontent > div > div {
        width: 122px;
        margin: auto;
    }
}
@media screen and (min-width: 375px) {
    #fighter_overlay .tabcontent > div > div {
        width: 245px;
        margin: auto;
    }
}
@media screen and (min-width: 500px) {
    #fighter_overlay .tabcontent > div > div {
        width: 369px;
        margin: auto;
    }
}
@media screen and (min-width: 640px) {
    #fighter_overlay .tabcontent > div > div {
        width: 494px;
        margin: auto;
    }
}
@media screen and (min-width: 803px) {
    #fighter_overlay .tabcontent > div > div {
        width: 618px;
        margin: auto;
    }
}
@media screen and (min-width: 944px) {
    #fighter_overlay .tabcontent > div > div {
        width: 743px;
        margin: auto;
    }
}
@media screen and (min-width: 1107px) {
    #fighter_overlay .tabcontent > div > div {
        width: 867px;
        margin: auto;
    }
}
@media screen and (min-width: 1270px) {
    #fighter_overlay .tabcontent > div > div {
        width: 992px;
    }
}
@media screen and (min-width: 1423px) {
    #fighter_overlay .tabcontent > div > div {
        width: 1116px;
    }
}
@media screen and (min-width: 1586px) {
    #fighter_overlay .tabcontent > div > div {
        width: 1247px;
    }
}
@media screen and (max-width: 807px) {
    .content .tab {
        width: 92px;
        left: -91px;
        top: 0px;
        padding-top: 37px;
        position: absolute;
    }
    .content {
        overflow: unset !important;
        left: 100px !important;
        right: 10px !important;
        width: calc(100% - 111px) !important;
    }
    .tabcontent {
        height: calc(100% - 70px) !important;
        width: calc(100% - 113px) !important;
    }
}
@media screen and (min-width: 808px) {
    #fighter_overlay .tab {
        margin: auto;
        width: 644px;
    }
    #fighter_overlay .tab-header-background {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        height: 105px;
        background: rgb(255, 251, 255);
        z-index: -3;
    }
}  
.overlay > .content {
    width: 80%;
}  

.hide {
    display: none;
}

.tab-overlay .overlay-header {
    background: rgb(255, 251, 255);
    margin: 0px;
    padding: 10px;
    border-bottom: 1px solid black;
    height: 17px;
}
.tab-overlay .overlay-header > button {
    right: 10px;
    border-bottom: 2px solid rgb(57, 41, 64);
}
.tab-overlay .overlay-header > button:hover {
    right: 10px;
    border: none;
    border-top: 2px solid rgb(255, 251, 255);
    
}

.weapon_overlay > .content {
    width: fit-content;
    height: fit-content;
    min-width: unset;
    padding: 0px 10px 5px 10px;
}
.weapon_overlay > .content > div > div > div {
    position: relative;
    width: 200px;
    margin: 15px auto;
    height: 40px;
}
.weapon_overlay > .content > div > div > div > div:first-child {
    z-index: 1;
    background: #fffbff;
    border-bottom: 3px solid rgb(189, 143, 255);
    border-radius: 5px;
    height: 100%;
}
.weapon_overlay > .content > div > div >  div > div:first-child:hover {
    border: none;
    transform: translate(0, 3px);
    margin-top: 13px;
    background: rgb(222, 199, 255);
}

.weapon_overlay > .content > div > div > div > div > .weapon-icon {
    width: 30px;
    margin: 0px 10px;
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    z-index: 1;
}
.weapon_overlay > .content > div > div > div > div > label {
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    z-index: 1;
    color: black;
    left: 50px;
}

.dragon-overlay .content {
    width: 278px;
}
.dragon-overlay .tabcontent {
    width: 266px;
    
}
.dragon-overlay .tab {
    margin: auto;
    width: 278px;
    border-right: 0px !important;
    border-left: 0px !important;
}
.dragon-overlay .tab-header-background {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 105px;
    background: rgb(255, 251, 255);
    z-index: -3;
}
.dragon-overlay .tabcontent > div {
    display: inline;
}
.dragon-overlay .tabcontent > div > div {
    position: relative;
    width: 200px;
    margin: 15px auto;
    background: #fffbff;
    height: 40px;
    border-bottom: 3px solid rgb(189, 143, 255);
    border-radius: 5px;
}
.dragon-overlay .tabcontent > div > div:hover {
    border: none;
    transform: translate(0, 3px);
    margin-top: 18px;
    background: rgb(222, 199, 255);
}
.dragon-overlay .tabcontent > div > div > img{
    width: 60px;
    margin: 0px -20px;
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    z-index: 1;
}
.dragon-overlay .tabcontent > div > div > label {
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    z-index: 1;
    color: black;
    left: 50px;
}

.overlay-header {
    position: relative;
    margin: 10px 0px;
    height: 15px;
}
.close-button {
    position: absolute;
    right: 0px;
    background: rgb(189, 143, 255);
    border: none;
    border-bottom: 3px solid #fffbff;
    border-radius: 20px;
    height: 15px;
    width: 40px;
}
.close-button:hover {
    border-top: 3px solid rgb(57, 41, 64);
    border-bottom: 3px solid rgb(189, 143, 255);
}

#rank_overlay > .content {
    max-height: 90%;
    max-width: 90%;
}
.rank-item > .rank-icon {
    height: 30px;
    width: unset !important;
    margin: 0px -10px !important;
}
.rank-item > label {
    left: 60px !important;
}
#rank_overlay > .content > div > div > div:nth-child(3) img,
#rank_overlay > .content > div > div > div:nth-child(4) img,
#rank_overlay > .content > div > div > div:nth-child(5) img,
#rank_overlay > .content > div > div > div:nth-child(6) img {
    left: -40px;
    object-position: 26px 0;
}

.fighter-container img {
    z-index: -2;
}
.rank-container img {
    z-index: -1;
}
.dragon-container img {
    z-index: -2;
}

.fighter-icon-container {
    width: 120px;
    margin-top: 10px;
}
.fighter-icon-img {
    width: inherit;
}

.fighter-faction-seperator {
    text-align: center;
    background: rgb(255, 251, 255);
    border-radius: 5px;
    height: 20px;
    margin-top: 40px;
    margin-bottom: 7px;
}
.fighter-faction-seperator > img {
    width: 80px;
    border: 1px solid black;
    border-radius: 5px;
    margin-top: -38px;
}

.owned-rank-container {
    height: 40px;
    width: 117px;
    z-index: 1;
    bottom: 1px;
    overflow: hidden;
}
.owned-rank-container > img {
    height: inherit;
    margin-top: 1px;
}

.weapon-state {
    position: absolute;
    right: 0px;
    z-index: 0;
    background: #bd8fff44;
    margin: 5px 5px;
    width: 40px;
    border-radius: 5px;
    top: 0px;
    text-align: center;
}
.weapon-state > img {
    height: 22px;
    margin: 2px 5px 2px 5px;
}
.weapon-state > .locked-weapon {
    display: unset;
}
.weapon-state > .unlocked-weapon {
    display: none;
}

.unlocked > .locked-weapon {
    display: none !important;
}
.unlocked > .unlocked-weapon {
    display: unset !important;
}