@media screen and (min-width: 1366px)
{
html, body {
    background-color: black;
    color: white;
    height: 100%;
}

body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(48, 27, 8, 0.9);
    border-radius: 10px;
    background-color: #100903;
}

body::-webkit-scrollbar {
    width: 12px;
    background-color: #000000;
}

body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #63391b;
    background-image: -webkit-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.6) 50%, transparent, transparent);
}

#fight-entire-window {
    border: 0px dotted blue;
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    width: 100%;    
}

.avatar-fight-normal img {
    max-height: 90px;
    max-width: 90px;
}

.avatar-fight-big img {
    max-height: 122px;
    max-width: 122px;
}

/* ************************************************************************** */
#fight-results-frame {
    border: 1px solid rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.8); 
    margin: auto auto;
    min-width: 1200px;
    /* width: 80%; */
    min-height: 500px;
    /* height: 60%; */
    box-sizing: border-box;   
}

#fight-results-frame-top-header {
    border: 3px outset rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.9);    
    width: 100%;
    height: 40px;
    box-sizing: border-box;
}

#fight-results-frame-top-header-left {
    border: 0px dotted red;
    float: left;
    padding-left: 20px;
    padding-top: 5px;
    font-size: large;
    font-weight: 900;
}

#fight-results-frame-top-header-right {
    border: 0px dotted red;
    float: right;
}

#fight-results-frame-top-header-right button {
    margin-right: 5px;
}

#fight-results-frame-middle-teams {
    border: 0px dotted blue;
    margin-top: 10px;
}

#fight-results-frame-middle-teams-left {
    border-top: 3px outset rgba(205, 134, 63, 0.9);
    border-bottom: 3px outset rgba(205, 134, 63, 0.9);
    border-left: 3px outset rgba(205, 134, 63, 0.9);
    border-right: 0px dotted rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.9);
    float: left;
    width: calc(50% - 30px);
    padding: 10px;
    margin-top: 10px;
}

.fight-results-frame-middle-teams-left-item {
    float: left;
    margin-left: 20px;
}

.fight-results-frame-middle-teams-dead {
    filter: grayscale(1);
}

.fight-results-frame-middle-teams-right-item {
    float: right;
    margin-right: 20px;
}

#fight-results-frame-middle-teams-middle {
    border-top: 3px outset rgba(205, 134, 63, 0.9);
    border-bottom: 3px outset rgba(205, 134, 63, 0.9);
    border-right: 0px dotted rgba(205, 134, 63, 0.9);
    border-left: 0px dotted rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.9);
    float: left;
    width: 60px;
    padding-top: 10px;
    padding-bottom: 18px;
    margin-left: 0px;
    margin-top: 10px;
}

#fight-results-frame-middle-teams-right {
    border-top: 3px outset rgba(205, 134, 63, 0.9);
    border-bottom: 3px outset rgba(205, 134, 63, 0.9);
    border-right: 3px outset rgba(205, 134, 63, 0.9);
    border-left: 0px dotted rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.9);
    float: right;
    width: calc(50% - 30px);
    padding: 10px;
    margin-top: 10px;
}

#fight-results-frame-middle-stats {
    border: 0px dotted red;
    width: 100%;
    height: 150px;
    margin-top: 10px;
}

#fight-results-frame-middle-status {
    border: 0px dotted red;
    width: 100%;
    height: 50px;
    margin-top: 10px;
    text-align: center;
    font-size: xx-large; 
    font-variant: small-caps;
}

#fight-results-frame-bottom-loot {
    border: 0px dotted red;
    margin: auto auto;
    margin-top: 10px;
    inline-size: fit-content;
}

/* ************************************************************************** */
#fight-top-menu {
    border: 3px outset rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.9);    
    width: 100%;
    height: 40px;
    box-sizing: border-box;
}

#fight-top-menu-left-part {
    float: left;
    min-width: 350px;
    width: 75%;
}

#fight-top-menu-left-part-left {
    float: left;
    padding-left: 20px;
    padding-top: 5px;
    font-size: large;
    font-weight: 900;
    width: 19%;
}

#fight-chat-input {
    border-color: rgba(205, 134, 63, 0.75);
    border-style: solid;
    border-width: 1px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    color: rgba(205, 134, 63, 0.75);
    background-color: rgb(0, 0, 0);
    font-size: small;
    padding: 1px 5px 1px 5px;
    margin-top: 5px;
    width: 90%;
}

#fight-top-menu-left-part-right {
    float: right;
    width: 80%;
}

#fight-top-menu-right-part {
    float: right;
    margin-right: 15px;
    min-width: 200px;
}

#fight-top-menu-right-part button {
    margin-right: 5px;
}

/* ************************************************************************** */
#fight-opposition {
    border-bottom: 1px solid rgba(205, 134, 63, 0.9);
    width: 100%;
    height: 125px;
    background-color: rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
}

.fight-opposition-left-part,
.fight-friendlies-left-part {
    border: 0px solid yellow;
    width: 35%;
    float: left;
    max-height: 123px;
    padding: 5px;
}

.fight-opposition-right-part,
.fight-friendlies-right-part {
    border: 0px dotted yellow;
    width: 35%;
    float: right;
    max-height: 123px;
    padding: 5px;
}

.fight-opposition-leader,
.fight-friendlies-leader {
    border: 0px dotted yellow;
    width: 30%;
    float: left;
    max-height: 123px;
    padding-left: 5px;
}

.fight-character-sheet-selector {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.fight-character-sheet-dead {
    border: 1px solid rgba(0, 0, 0, 0.05);
    filter: grayscale(1);
}

.fight-character-friendly-unlocked:hover,
.fight-character-self-unlocked:hover {
    border: 1px solid green;
    cursor: pointer; 
}

.fight-character-enemy-unlocked:hover {
    border: 1px solid maroon;
    cursor: pointer; 
}

/* ************************************************************************** */
#fight-friendlies {
    border-top: 1px solid rgba(205, 134, 63, 0.9);
    width: 100%;
    height: 125px;
    background-color: rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
}

/* ************************************************************************** */

.fight-character-sheet {
    float: left;
    width: 49%;
}

.fight-character-sheet-main {
    float: left;
    width: 100%;
}

.fight-character-sheet-avatar {
    float: left;
    max-width: 123px;
}

.fight-character-sheet-avatar-main {
    float: left;
    max-width: 123px;
}

.fight-character-sheet-stats {
    float: left;
    font-size: x-small;
    padding-left: 20px;
}

.fight-character-sheet-stats-main {
    float: left;
    font-size: small;
    padding-left: 35px;
}

.fight-character-sheet-in-order {
    float: left; 
    margin-left: 5px; 
    color: orange; 
    font-size: x-large; 
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    margin-top: -40px;
    position: relative;
    z-index: 5;
}

.fight-character-sheet-combo-counter {
    float: right; 
    margin-right: 5px; 
    color: red; 
    font-size: x-large; 
    font-weight: bold; 
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    margin-top: -40px;
    position: relative;
    z-index: 5;
}

/* ************************************************************************** */
#fight-left-side {
    border-right: 1px solid rgba(205, 134, 63, 0.9);
    width: 200px;
    min-width: 200px;
    background-color: rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
    overflow-y: auto;
}

.fight-frame-left-avatar {
    margin-top: 7px;
    margin-left: 55px;
}

#fight-middle-chat {
    border: 0px dotted red;
    background-color: rgba(0, 0, 0, 0.5);
    /* flex: 1; */
    box-sizing: border-box;
    overflow: auto; 
    /* min-width: 1040px; */
    /* min-height: 0px; */
    padding: 10px 20px 10px 20px;
}

.fight-middle-chat-message {
    padding: 3px 0px 3px 10px;
    margin-bottom: 4px
}

.fight-middle-chat-message-0 {
    border-left: 5px solid white;
}

.fight-middle-chat-message-1 {
    border-left: 5px solid maroon;
}

.fight-middle-chat-message-2 {
    border-left: 5px solid blue;
}

.fight-middle-chat-message-inner-left {
    width: 50px;
    float: left;
}

.fight-middle-chat-message-inner-right {
    width: calc(99% - 50px);
    float: right;
}

#fight-right-side {
    border-left: 1px solid rgba(205, 134, 63, 0.9);
    width: 200px;
    min-width: 200px;
    background-color: rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
    overflow-y: auto;
}

.fight-frame-right-avatar {
    margin-top: 7px;
    margin-right: 55px;
}

/* ************************************************************************** */
#fight-variable-area {
  display: flex;
  flex: 1;
  overflow: auto;
}

#fight-middle-content-inner::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(48, 27, 8, 0.9);
    border-radius: 10px;
    background-color: #100903;
}

#fight-middle-content-inner::-webkit-scrollbar {
    width: 12px;
    background-color: #000000;
}

#fight-middle-content-inner::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #63391b;
    background-image: -webkit-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.6) 50%, transparent, transparent);
}

#fight-middle-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

#fight-middle-content-inner {
    flex: 1;
    overflow-y: auto;
    min-height: 0px;
    justify-content: flex-start;
    align-items: stretch;     
}

/* ////////////////////////////////////////////////////////////////////////// */
#fight-middle-actionbar {
    border: 0px solid rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    height: 65px;
}

#fight-actionbar-quickbar {
    float: left;
    border: 0px dotted silver;
    padding: 1px 10px 1px 10px;    
}

.fight-actionbar-quickbar-cell {
    float: left;
    position: relative;
    border: 2px groove darkgrey;
    background-color: black;
    height: 60px;
    width: 60px;
    border-radius: 3px;
    margin-left: 10px;
    cursor: pointer;
}

.fight-actionbar-quickbar-cell-cooldown-text,
.fight-skillbook-result-spell-cooldown-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    font-size: xx-large;
    font-weight: bolder;
    text-shadow: 5px 5px 3px black; 
    pointer-events: none;   
}

#fight-actionbar-execute-turn {
    float: right;
    padding: 7px 8px 5px 10px;
    margin-right: 10px;
    border: 3px outset darkgrey;    
    background-color: #131313;
    height: 60px;
    width: 120px;
    font-variant: small-caps;
    font-size: x-large;
    font-weight: bolder;
    color: #aaaaaa;
}

#fight-actionbar-execute-turn:hover {
    border: 3px inset lightgrey;    
    background-color: #030303;
    color: #cccccc;
    padding: 8px 7px 4px 11px;
    cursor: pointer;
}

#fight-actionbar-selection {
    float: right;
    border: 0px dotted silver;
    padding: 1px 10px 1px 10px;
    margin-right: 10px;
}

#fight-actionbar-spellbook {
    float: left;
    border: 0px dotted silver;
    margin-right: 0px;
    margin-left: 20px;
    height: 60px;
    width: 60px;
    background-image: url(arena/WitchCraftIcons_13_t.png);
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
}

#fight-actionbar-spellbook:hover {
    background-image: url(arena/WitchCraftIcons_06_t.png);
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    background-color: rgba(255, 96, 144, 0.2);
    box-shadow: 0px 0px 30px 10px rgba(255, 96, 144, 0.2);
}


/* ************************************************************************** */
#fight-helper-effects {
    border: 0px dotted red;
}

#fight-helper-auras {
    border: 0px dotted red;
}

/* ************************************************************************** */

#fight-skillbook-frame {
    position: fixed;
    top: 18%;
    left: 50%;
    margin-left: -525px;
    width: 1056px;
    height: 556px;
    background-color: rgba(0, 0, 0, 0.8);
    border: 3px double #cd853f;
    z-index: 100;
}

#fight-skillbook-frame-whole {
    border: 0px dotted blue;
    width: 1050px;
    height: 550px;
    overflow: hidden;
    position: relative;
}

#fight-skillbook-frame-header-left {
    float: left;
    margin-left: 20px;
    font-variant: small-caps;
}

#fight-skillbook-frame-header-right {
    float: right;
}

#fight-skillbook-frame-silencer {
    margin-right: 0px;
    border: 1px solid rgba(205, 134, 63, 0.75);
    border-radius: 0px 0px 0px 5px;
    background-color: #111111;
    padding: 3px 7px 3px 7px;
    color: rgba(205, 134, 63, 1);
    font-size: x-small;
}

#fight-skillbook-fulltext-filter {
    width: 250px;
    height: calc(1.5em + 0.5rem + 2px);
    color: rgba(205, 134, 63, 1);
    background-color: rgb(0, 0, 0);
    background-clip: padding-box;
    border: 1px solid rgba(205, 134, 63, 0.75);
    border-radius: 0.2rem;
    line-height: 1.5;
    padding: 0.25rem 0.5rem;
}

.fight-skillbook-category-select-filter {
    height: calc(1.5em + 0.5rem + 2px);
    color: rgba(205, 134, 63, 1);
    background-color: rgb(0, 0, 0);
    border: 1px solid rgba(205, 134, 63, 0.75);
    border-radius: 0.2rem;
    line-height: 1.5;
    padding: 0.25rem 0.5rem;
    margin-right: 3px;
    margin-top: 4px;
    }

.fight-skillbook-selected-category {
    float: left;
    margin-right: 5px;
    margin-top: 3px;
    padding: 2px 5px 2px 5px;
    border: 1px solid rgba(150, 150, 150, 0.9);
    border-radius: 5px;
    cursor: pointer;
}

.fight-skillbook-result-spell {
    float: left;
    position: relative;
    border: 2px groove darkgrey;
    background-color: black;
    height: 60px;
    width: 60px;
    border-radius: 3px;
    margin-left: 10px;
    cursor: pointer;    
}

#fight-skillbook-frame-picker {
    padding-left: 30px;
}

#fight-skillbook-frame-technical-filter {
    padding-left: 30px;
}

#fight-skillbook-frame-results {
    padding: 20px;
}
}




/*@media screen and (max-width: 1899px) {
html, body {
    background-color: black;
    color: white;
    height: 100%;
}

body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(48, 27, 8, 0.9);
    border-radius: 10px;
    background-color: #100903;
}

body::-webkit-scrollbar {
    width: 12px;
    background-color: #000000;
}

body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #63391b;
    background-image: -webkit-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.6) 50%, transparent, transparent);
}

#fight-entire-window {
    border: 0px dotted blue;
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    width: 100%;    
}

.avatar-fight-normal img {
    max-height: 80px;
    max-width: 80px;
}

.avatar-fight-big img {
    max-height: 90px;
    max-width: 90px;
}

/* ************************************************************************** */
/*#fight-results-frame {
    border: 1px solid rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.8); 
    margin: auto auto;
    min-width: 1200px;
    /* width: 80%;*/
/*    min-height: 500px;
    /* height: 60%; */
/*    box-sizing: border-box;   
}

#fight-results-frame-top-header {
    border: 3px outset rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.9);    
    width: 100%;
    height: 40px;
    box-sizing: border-box;
}

#fight-results-frame-top-header-left {
    border: 0px dotted red;
    float: left;
    padding-left: 20px;
    padding-top: 5px;
    font-size: large;
    font-weight: 900;
}

#fight-results-frame-top-header-right {
    border: 0px dotted red;
    float: right;
}

#fight-results-frame-top-header-right button {
    margin-right: 5px;
}

#fight-results-frame-middle-teams {
    border: 0px dotted blue;
    margin-top: 10px;
}

#fight-results-frame-middle-teams-left {
    border-top: 3px outset rgba(205, 134, 63, 0.9);
    border-bottom: 3px outset rgba(205, 134, 63, 0.9);
    border-left: 3px outset rgba(205, 134, 63, 0.9);
    border-right: 0px dotted rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.9);
    float: left;
    width: calc(50% - 30px);
    padding: 10px;
    margin-top: 10px;
}

.fight-results-frame-middle-teams-left-item {
    float: left;
    margin-left: 20px;
}

.fight-results-frame-middle-teams-dead {
    filter: grayscale(1);
}

.fight-results-frame-middle-teams-right-item {
    float: right;
    margin-right: 20px;
}

#fight-results-frame-middle-teams-middle {
    border-top: 3px outset rgba(205, 134, 63, 0.9);
    border-bottom: 3px outset rgba(205, 134, 63, 0.9);
    border-right: 0px dotted rgba(205, 134, 63, 0.9);
    border-left: 0px dotted rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.9);
    float: left;
    width: 60px;
    padding-top: 10px;
    padding-bottom: 18px;
    margin-left: 0px;
    margin-top: 10px;
}

#fight-results-frame-middle-teams-right {
    border-top: 3px outset rgba(205, 134, 63, 0.9);
    border-bottom: 3px outset rgba(205, 134, 63, 0.9);
    border-right: 3px outset rgba(205, 134, 63, 0.9);
    border-left: 0px dotted rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.9);
    float: right;
    width: calc(50% - 30px);
    padding: 10px;
    margin-top: 10px;
}

#fight-results-frame-middle-stats {
    border: 0px dotted red;
    width: 100%;
    height: 150px;
    margin-top: 10px;
}

#fight-results-frame-middle-status {
    border: 0px dotted red;
    width: 100%;
    height: 50px;
    margin-top: 10px;
    text-align: center;
    font-size: xx-large; 
    font-variant: small-caps;
}

#fight-results-frame-bottom-loot {
    border: 0px dotted red;
    margin: auto auto;
    margin-top: 10px;
    inline-size: fit-content;
}

/* ************************************************************************** */
/*#fight-top-menu {
    border: 3px outset rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.9);    
    width: 100%;
    height: 30px;
    box-sizing: border-box;
}

#fight-top-menu-left-part {
    float: left;
    min-width: 250px;
    width: 55%;
}

#fight-top-menu-left-part-left {
    float: left;
    padding-left: 15px;
    padding-top: 2px;
    font-size: small;
    font-weight: 900;
    width: 19%;
}

#fight-chat-input {
    border-color: rgba(205, 134, 63, 0.75);
    border-style: solid;
    border-width: 1px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    color: rgba(205, 134, 63, 0.75);
    background-color: rgb(0, 0, 0);
    font-size: smaller;
    padding: 1px 5px 1px 5px;
    margin-top: 2px;
    width: 80%;
}

#fight-top-menu-left-part-right {
    float: right;
    width: 70%;
}

#fight-top-menu-right-part {
    float: right;
    margin-right: 10px;
    min-width: 150px;
    margin-top: -4px;
}

#fight-top-menu-right-part button {
    margin-right: 5px;
}

/* ************************************************************************** */
/*#fight-opposition {
    border-bottom: 1px solid rgba(205, 134, 63, 0.9);
    width: 100%;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
}

.fight-opposition-left-part,
.fight-friendlies-left-part {
    border: 0px solid yellow;
    width: 35%;
    float: left;
    max-height: 100px;
    padding: 5px;
}

.fight-opposition-right-part,
.fight-friendlies-right-part {
    border: 0px dotted yellow;
    width: 35%;
    float: right;
    max-height: 100px;
    padding: 5px;
}

.fight-opposition-leader,
.fight-friendlies-leader {
    border: 0px dotted yellow;
    width: 30%;
    float: left;
    max-height: 100px;
    padding-left: 5px;
}

.fight-character-sheet-selector {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.fight-character-sheet-dead {
    border: 1px solid rgba(0, 0, 0, 0.05);
    filter: grayscale(1);
}

.fight-character-friendly-unlocked:hover,
.fight-character-self-unlocked:hover {
    border: 1px solid green;
    cursor: pointer; 
}

.fight-character-enemy-unlocked:hover {
    border: 1px solid maroon;
    cursor: pointer; 
}

/* ************************************************************************** */
/*#fight-friendlies {
    border-top: 1px solid rgba(205, 134, 63, 0.9);
    width: 100%;
    height: 125px;
    background-color: rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
}

/* ************************************************************************** */

/*.fight-character-sheet {
    float: left;
    width: 49%;
}

.fight-character-sheet-main {
    float: left;
    width: 100%;
}

.fight-character-sheet-avatar {
    float: left;
    max-width: 123px;
}

.fight-character-sheet-avatar-main {
    float: left;
    max-width: 100px;
    margin-top: 3px;
}

.fight-character-sheet-stats {
    float: left;
    font-size: x-small;
    padding-left: 10px;
    margin-top: -3px;
}

.fight-character-sheet-stats-main {
    float: left;
    font-size: 0.7rem;
    padding-left: 15px;
    margin-top: 0px;
}

.fight-character-sheet-in-order {
    float: left; 
    margin-left: 5px; 
    color: orange; 
    font-size: x-large; 
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    margin-top: -40px;
    position: relative;
    z-index: 5;
}

.fight-character-sheet-combo-counter {
    float: right; 
    margin-right: 5px; 
    color: red; 
    font-size: x-large; 
    font-weight: bold; 
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

/* ************************************************************************** */
/*#fight-left-side {
    border-right: 1px solid rgba(205, 134, 63, 0.9);
    width: 150px;
    min-width: 150px;
    background-color: rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
    overflow-y: auto;
    font-size: small;
}

.fight-frame-left-avatar {
    margin-top: 7px;
    margin-left: 55px;
}

#fight-middle-chat {
    border: 0px dotted red;
    background-color: rgba(0, 0, 0, 0.5);
    /* flex: 1; */
/*    box-sizing: border-box;
    overflow: auto; 
    /* min-width: 1040px; */
    /* min-height: 0px; */
/*    padding: 10px 20px 10px 20px;
}

.fight-middle-chat-message {
    padding: 3px 0px 3px 10px;
    margin-bottom: 4px
}

.fight-middle-chat-message-0 {
    border-left: 5px solid white;
}

.fight-middle-chat-message-1 {
    border-left: 5px solid maroon;
}

.fight-middle-chat-message-2 {
    border-left: 5px solid blue;
}

.fight-middle-chat-message-inner-left {
    width: 50px;
    float: left;
}

.fight-middle-chat-message-inner-right {
    width: calc(99% - 50px);
    float: right;
}

#fight-right-side {
    border-left: 1px solid rgba(205, 134, 63, 0.9);
    width: 150px;
    min-width: 150px;
    background-color: rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
    overflow-y: auto;
    font-size: small;
}

.fight-frame-right-avatar {
    margin-top: 7px;
    margin-right: 55px;
}

/* ************************************************************************** */
/*#fight-variable-area {
  display: flex;
  flex: 1;
  overflow: auto;
}

#fight-middle-content-inner::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(48, 27, 8, 0.9);
    border-radius: 10px;
    background-color: #100903;
}

#fight-middle-content-inner::-webkit-scrollbar {
    width: 12px;
    background-color: #000000;
}

#fight-middle-content-inner::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #63391b;
    background-image: -webkit-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.6) 50%, transparent, transparent);
}

#fight-middle-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

#fight-middle-content-inner {
    flex: 1;
    overflow-y: auto;
    min-height: 0px;
    justify-content: flex-start;
    align-items: stretch;     
}

/* ////////////////////////////////////////////////////////////////////////// */
/*#fight-middle-actionbar {
    border: 0px solid rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    height: 40px;
}

#fight-actionbar-quickbar {
    float: left;
    border: 0px dotted silver;
    padding: 1px 10px 1px 10px;    
}

.fight-actionbar-quickbar-cell {
    float: left;
    position: relative;
    border: 2px groove darkgrey;
    background-color: black;
    height: 35px;
    width: 35px;
    border-radius: 3px;
    margin-left: 10px;
    cursor: pointer;
}

.fight-actionbar-quickbar-cell-cooldown-text,
.fight-skillbook-result-spell-cooldown-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    font-size: xx-large;
    font-weight: bolder;
    text-shadow: 5px 5px 3px black; 
    pointer-events: none;   
}

#fight-actionbar-execute-turn {
    float: right;
    padding: 7px 8px 5px 10px;
    margin-right: 10px;
    border: 3px outset darkgrey;    
    background-color: #131313;
    height: 35px;
    width: 100px;
    font-variant: small-caps;
    font-size: medium;
    font-weight: bolder;
    color: #aaaaaa;
    text-align: center;
}

#fight-actionbar-execute-turn:hover {
    border: 3px inset lightgrey;    
    background-color: #030303;
    color: #cccccc;
    padding: 8px 7px 4px 11px;
    cursor: pointer;
}

#fight-actionbar-selection {
    float: right;
    border: 0px dotted silver;
    padding: 1px 10px 1px 10px;
    margin-right: 10px;
}

#fight-actionbar-spellbook {
    float: left;
    border: 0px dotted silver;
    margin-right: 0px;
    margin-left: 20px;
    height: 40px;
    width: 40px;
    background-image: url(arena/WitchCraftIcons_13_t.png);
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
}

#fight-actionbar-spellbook:hover {
    background-image: url(arena/WitchCraftIcons_06_t.png);
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    background-color: rgba(255, 96, 144, 0.2);
    box-shadow: 0px 0px 30px 10px rgba(255, 96, 144, 0.2);
}


/* ************************************************************************** */
/*#fight-helper-effects {
    border: 0px dotted red;
}

#fight-helper-auras {
    border: 0px dotted red;
}

/* ************************************************************************** */

/*#fight-skillbook-frame {
    position: fixed;
    top: 18%;
    left: 50%;
    margin-left: -525px;
    width: 1056px;
    height: 556px;
    background-color: rgba(0, 0, 0, 0.8);
    border: 3px double #cd853f;
    z-index: 100;
}

#fight-skillbook-frame-whole {
    border: 0px dotted blue;
    width: 1050px;
    height: 550px;
    overflow: hidden;
    position: relative;
}

#fight-skillbook-frame-header-left {
    float: left;
    margin-left: 20px;
    font-variant: small-caps;
}

#fight-skillbook-frame-header-right {
    float: right;
}

#fight-skillbook-frame-silencer {
    margin-right: 0px;
    border: 1px solid rgba(205, 134, 63, 0.75);
    border-radius: 0px 0px 0px 5px;
    background-color: #111111;
    padding: 3px 7px 3px 7px;
    color: rgba(205, 134, 63, 1);
    font-size: x-small;
}

#fight-skillbook-fulltext-filter {
    width: 250px;
    height: calc(1.5em + 0.5rem + 2px);
    color: rgba(205, 134, 63, 1);
    background-color: rgb(0, 0, 0);
    background-clip: padding-box;
    border: 1px solid rgba(205, 134, 63, 0.75);
    border-radius: 0.2rem;
    line-height: 1.5;
    padding: 0.25rem 0.5rem;
}

.fight-skillbook-category-select-filter {
    height: calc(1.5em + 0.5rem + 2px);
    color: rgba(205, 134, 63, 1);
    background-color: rgb(0, 0, 0);
    border: 1px solid rgba(205, 134, 63, 0.75);
    border-radius: 0.2rem;
    line-height: 1.5;
    padding: 0.25rem 0.5rem;
    margin-right: 3px;
    margin-top: 4px;
    }

.fight-skillbook-selected-category {
    float: left;
    margin-right: 5px;
    margin-top: 3px;
    padding: 2px 5px 2px 5px;
    border: 1px solid rgba(150, 150, 150, 0.9);
    border-radius: 5px;
    cursor: pointer;
}

.fight-skillbook-result-spell {
    float: left;
    position: relative;
    border: 2px groove darkgrey;
    background-color: black;
    height: 60px;
    width: 60px;
    border-radius: 3px;
    margin-left: 10px;
    cursor: pointer;    
}

#fight-skillbook-frame-picker {
    padding-left: 30px;
}

#fight-skillbook-frame-technical-filter {
    padding-left: 30px;
}

#fight-skillbook-frame-results {
    padding: 20px;
}
}
*/



@media screen and (max-width: 1365px) {
html, body {
    background-color: black;
    color: white;
/*    height: 100%;*/
}

body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(48, 27, 8, 0.9);
    border-radius: 10px;
    background-color: #100903;
}

body::-webkit-scrollbar {
    width: 12px;
    background-color: #000000;
}

body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #63391b;
    background-image: -webkit-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.6) 50%, transparent, transparent);
}

#fight-entire-window {
    border: 0px dotted blue;
    display: flex;
    flex-direction: column;
    /*height: 100vh;
    max-height: 100vh;*/
/*    width: 100%;*/
    position: absolute;
    height: 2400px;    
}

.avatar-fight-normal img {
    max-height: 120px;
    max-width: 120px;
}

.avatar-fight-big img {
    max-height: 150px;
    max-width: 150px;
}

/* ************************************************************************** */
#fight-results-frame {
    border: 1px solid rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.8); 
    margin: auto auto;
    min-width: 1200px;
    /* width: 80%; */
    min-height: 500px;
    /* height: 60%; */
    box-sizing: border-box;   
}

#fight-results-frame-top-header {
    border: 3px outset rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.9);    
    width: 100%;
    height: 40px;
    box-sizing: border-box;
}

#fight-results-frame-top-header-left {
    border: 0px dotted red;
    float: left;
    padding-left: 20px;
    padding-top: 5px;
    font-size: large;
    font-weight: 900;
}

#fight-results-frame-top-header-right {
    border: 0px dotted red;
    float: right;
}

#fight-results-frame-top-header-right button {
    margin-right: 5px;
}

#fight-results-frame-middle-teams {
    border: 0px dotted blue;
    margin-top: 10px;
}

#fight-results-frame-middle-teams-left {
    border-top: 3px outset rgba(205, 134, 63, 0.9);
    border-bottom: 3px outset rgba(205, 134, 63, 0.9);
    border-left: 3px outset rgba(205, 134, 63, 0.9);
    border-right: 0px dotted rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.9);
    float: left;
    width: calc(50% - 30px);
    padding: 10px;
    margin-top: 10px;
}

.fight-results-frame-middle-teams-left-item {
    float: left;
    margin-left: 20px;
}

.fight-results-frame-middle-teams-dead {
    filter: grayscale(1);
}

.fight-results-frame-middle-teams-right-item {
    float: right;
    margin-right: 20px;
}

#fight-results-frame-middle-teams-middle {
    border-top: 3px outset rgba(205, 134, 63, 0.9);
    border-bottom: 3px outset rgba(205, 134, 63, 0.9);
    border-right: 0px dotted rgba(205, 134, 63, 0.9);
    border-left: 0px dotted rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.9);
    float: left;
    width: 60px;
    padding-top: 10px;
    padding-bottom: 18px;
    margin-left: 0px;
    margin-top: 10px;
}

#fight-results-frame-middle-teams-right {
    border-top: 3px outset rgba(205, 134, 63, 0.9);
    border-bottom: 3px outset rgba(205, 134, 63, 0.9);
    border-right: 3px outset rgba(205, 134, 63, 0.9);
    border-left: 0px dotted rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.9);
    float: right;
    width: calc(50% - 30px);
    padding: 10px;
    margin-top: 10px;
}

#fight-results-frame-middle-stats {
    border: 0px dotted red;
    width: 100%;
    height: 150px;
    margin-top: 10px;
}

#fight-results-frame-middle-status {
    border: 0px dotted red;
    width: 100%;
    height: 50px;
    margin-top: 10px;
    text-align: center;
    font-size: xx-large; 
    font-variant: small-caps;
}

#fight-results-frame-bottom-loot {
    border: 0px dotted red;
    margin: auto auto;
    margin-top: 10px;
    inline-size: fit-content;
}

/* ************************************************************************** */
#fight-top-menu {
    border: 1px solid rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.9);    
    width: 100%;
    height: 100px;
    box-sizing: border-box;
}

#fight-top-menu-left-part {
    float: left;
    min-width: 50px;
    width: 50%;
    height: 100px;
}

#fight-top-menu-left-part-left {
    float: left;
    padding-left: 0.2rem;
    padding-top: 2px;
    font-size: large;
    font-weight: 700;
    width: 20%;
    height: 100px;
}

#fight-chat-input {
    border-color: rgba(205, 134, 63, 0.75);
    border-style: solid;
    border-width: 1px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    color: rgba(205, 134, 63, 0.75);
    background-color: rgb(0, 0, 0);
    font-size: large;
    padding: 1px 5px 1px 5px;
    margin-top: 20px;
    width: 60%;
    height: 50px;
}

#fight-chat-button-sender {
    margin-top: 0.3rem !important;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    width: 80px;
    font-size: large;
    padding: 2px 5px 3px 2px !important;
    height: 50px;
}

#fight-top-menu-left-part-right {
    float: right;
    width: 70%;
    height: 100px;
/*    margin-top: -9px;*/
}

#fight-top-menu-right-part {
    float: left;
/*    margin-right: 10px;
    min-width: 50px;
    margin-top: -5px;*/
    width: 50%;
    font-size: large;
    height: 100px;
}

#fight-top-menu-right-part button {
    margin-right: 2px !important;
/*    margin-top: -5px !important;
    padding: 0.3rem 0.3rem;*/
    font-size: large;
    width: 40px;
    height: 40px;
    margin-left: 0px !important;
    float: left;
}

/* ************************************************************************** */
#fight-opposition {
    border-bottom: 1px solid rgba(205, 134, 63, 0.9);
    width: 100%;
    height: 550px;
    background-color: rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
    display: flex;
}

.fight-opposition-left-part,
.fight-friendlies-left-part {
    border: 0px solid yellow;
    width: 30%;
    float: left;
    max-height: 400px;
    padding: 5px;
    margin: auto;
}

.fight-opposition-right-part,
.fight-friendlies-right-part {
    border: 0px dotted yellow;
    width: 30%;
    float: right;
    max-height: 400px;
    padding: 5px;
    margin: auto;
}

.fight-opposition-leader,
.fight-friendlies-leader {
    border: 0px dotted yellow;
    width: 30%;
    float: left;
    max-height: 400px;
    padding-left: 5px;
    margin: auto;
}

.fight-character-sheet-selector {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.fight-character-sheet-dead {
    border: 1px solid rgba(0, 0, 0, 0.05);
    filter: grayscale(1);
}

.fight-character-friendly-unlocked:hover,
.fight-character-self-unlocked:hover {
    border: 1px solid green;
    cursor: pointer; 
}

.fight-character-enemy-unlocked:hover {
    border: 1px solid maroon;
    cursor: pointer; 
}

/* ************************************************************************** */
#fight-friendlies {
    border-top: 1px solid rgba(205, 134, 63, 0.9);
    width: 100%;
    height: 550px;
    background-color: rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
    display: flex;
}

/* ************************************************************************** */

.fight-character-sheet {
    float: left;
    width: 100%;
    margin: auto;
    text-align: center;
}

.fight-character-sheet-main {
    float: left;
    width: 100%;
    margin: auto;
    text-align: center;
}

.fight-character-sheet-avatar {
/*    float: left;*/
    max-width: 200px;
/*    margin-top: 0px;*/
    margin: auto;
    padding-bottom: 10px;
    padding-top: 10px;
}

.fight-character-sheet-avatar-main {
/*    float: left;*/
    max-width: 200px;
/*    margin-top: 0px;*/
    margin: auto;
    padding-bottom: 10px;
    padding-top: 10px;
}

.fight-character-sheet-stats {
    float: left;
    font-size: x-large;
/*    padding-left: 0.1rem;
    margin-top: 0px;*/
    margin: auto;
    width: 100%;
}

.fight-character-sheet-stats-main {
    float: left;
    font-size: x-large;
/*    padding-left: 0.1rem;
    margin-top: 0px;*/
    margin: auto;
    width: 100%;
}

.fight-character-sheet-in-order {
    float: left; 
    margin-left: 50px; 
    color: orange; 
    font-size: large; 
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    margin-top: -35px !important;
    position: relative !important;
    z-index: 5;
}


.fight-character-sheet-combo-counter {
    float: right; 
    margin-right: 50px; 
    color: red; 
    font-size: large; 
    font-weight: bold; 
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    margin-top: -35px !important;
    position: relative !important;
    z-index: 5;
}

/* ************************************************************************** */
#fight-left-side {
    border-right: 1px solid rgba(205, 134, 63, 0.9);
    width: 50px;
    min-width: 50px;
    background-color: rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
    overflow-y: auto;
    font-size: 0.2rem;
    height: 190px;
    display: none;
}

.fight-frame-left-avatar {
    margin-top: 7px;
    margin-left: 55px;
}

#fight-middle-chat {
    border: 0px dotted red;
    background-color: rgba(0, 0, 0, 0.5);
    /* flex: 1; */
    box-sizing: border-box;
    overflow: auto; 
    min-width: 150px;
    /* min-height: 0px; */
    padding: 3px 5px 3px 5px;
    font-size: large;
}

.fight-middle-chat-message {
    padding: 3px 0px 3px 10px;
    margin-bottom: 4px
}

.fight-middle-chat-message-0 {
    border-left: 5px solid white;
}

.fight-middle-chat-message-1 {
    border-left: 5px solid maroon;
}

.fight-middle-chat-message-2 {
    border-left: 5px solid blue;
}

.fight-middle-chat-message-inner-left {
    width: 50px;
    float: left;
}

.fight-middle-chat-message-inner-right {
    width: calc(99% - 200px);
    float: left;
    padding-left: 0.5rem;
}

#fight-right-side {
    border-left: 1px solid rgba(205, 134, 63, 0.9);
    width: 50px;
    min-width: 50px;
    background-color: rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
    overflow-y: auto;
    font-size: 0.2rem;
    height: 190px;
    display: none;
}

.fight-frame-right-avatar {
    margin-top: 7px;
    margin-right: 55px;
}

/* ************************************************************************** */
#fight-variable-area {
  display: flex;
  flex: 1 100%;
  overflow: auto;
  width: 1080px;
}

#fight-middle-content-inner::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(48, 27, 8, 0.9);
    border-radius: 10px;
    background-color: #100903;
}

#fight-middle-content-inner::-webkit-scrollbar {
    width: 12px;
    background-color: #000000;
}

#fight-middle-content-inner::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #63391b;
    background-image: -webkit-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.6) 50%, transparent, transparent);
}

#fight-middle-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: auto;
  height: 100%;
}

#fight-middle-content-inner {
    flex: 1;
    overflow-y: auto;
    min-height: 0px;
    justify-content: flex-start;
    align-items: stretch;   
    /*display: flex;*/
    min-height: 175px;  
}

/* ////////////////////////////////////////////////////////////////////////// */
#fight-middle-actionbar {
    border: 0px solid rgba(205, 134, 63, 0.9);
    background-color: rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    height: 60px;
    width: 100%;
}

#fight-actionbar-quickbar {
    float: left;
    border: 0px dotted silver;
    padding: 1px 1px 1px 1px;    
    width: 500px;
    height: 60px;
}

.fight-actionbar-quickbar-cell {
    float: left;
    position: relative;
    border: 0.5px solid darkgrey;
    background-color: black;
    height: 50px;
    width: 50px;
    border-radius: 0px;
    margin-left: 1px;
    cursor: pointer;
}

.fight-actionbar-quickbar-cell img{
    height: 100%;
    width: 100%;
    position: absolute;
}

.fight-actionbar-quickbar-cell-cooldown-text,
.fight-skillbook-result-spell-cooldown-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    font-size: 0.2rem;
    font-weight: bolder;
    text-shadow: 3px 3px 2px black; 
    pointer-events: none;   
}

#fight-actionbar-execute-turn {
    float: right;
    padding: 2px 2px 2px 1px;
    margin-right: 20px;
    border: 1px outset darkgrey;    
    background-color: #131313;
    height: 50px;
    width: 150px;
    font-variant: small-caps;
    font-size: large;
    font-weight: bolder;
    color: #aaaaaa;
    text-align: center;
}

#fight-actionbar-execute-turn:hover {
    border: 1px solid lightgrey;    
    background-color: #030303;
    color: #cccccc;
    padding: 2px 2px 2px 1px;
    cursor: pointer;
}

#fight-actionbar-selection {
    float: right;
    border: 0px dotted silver;
    padding: 1px 2px 1px 2px;
    margin-right: 100px;
}

#fight-actionbar-spellbook {
    float: left;
    border: 0px dotted silver;
    margin-right: 0px;
    margin-left: 1px;
    height: 50px;
    width: 50px;
    background-image: url(arena/WitchCraftIcons_13_t.png);
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
}

#fight-actionbar-spellbook:hover {
    background-image: url(arena/WitchCraftIcons_06_t.png);
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    background-color: rgba(255, 96, 144, 0.2);
    box-shadow: 0px 0px 30px 10px rgba(255, 96, 144, 0.2);
}


/* ************************************************************************** */
#fight-helper-effects {
    border: 0px dotted red;
}

#fight-helper-auras {
    border: 0px dotted red;
}

/* ************************************************************************** */

#fight-skillbook-frame {
    position: fixed;
    top: 18%;
    left: 50%;
    margin-left: -525px;
    width: 1056px;
    height: 556px;
    background-color: rgba(0, 0, 0, 0.8);
    border: 3px double #cd853f;
    z-index: 100;
}

#fight-skillbook-frame-whole {
    border: 0px dotted blue;
    width: 1050px;
    height: 550px;
    overflow: hidden;
    position: relative;
}

#fight-skillbook-frame-header-left {
    float: left;
    margin-left: 20px;
    font-variant: small-caps;
}

#fight-skillbook-frame-header-right {
    float: right;
}

#fight-skillbook-frame-silencer {
    margin-right: 0px;
    border: 1px solid rgba(205, 134, 63, 0.75);
    border-radius: 0px 0px 0px 5px;
    background-color: #111111;
    padding: 3px 7px 3px 7px;
    color: rgba(205, 134, 63, 1);
    font-size: x-small;
}

#fight-skillbook-fulltext-filter {
    width: 250px;
    height: calc(1.5em + 0.5rem + 2px);
    color: rgba(205, 134, 63, 1);
    background-color: rgb(0, 0, 0);
    background-clip: padding-box;
    border: 1px solid rgba(205, 134, 63, 0.75);
    border-radius: 0.2rem;
    line-height: 1.5;
    padding: 0.25rem 0.5rem;
}

.fight-skillbook-category-select-filter {
    height: calc(1.5em + 0.5rem + 2px);
    color: rgba(205, 134, 63, 1);
    background-color: rgb(0, 0, 0);
    border: 1px solid rgba(205, 134, 63, 0.75);
    border-radius: 0.2rem;
    line-height: 1.5;
    padding: 0.25rem 0.5rem;
    margin-right: 3px;
    margin-top: 4px;
    }

.fight-skillbook-selected-category {
    float: left;
    margin-right: 5px;
    margin-top: 3px;
    padding: 2px 5px 2px 5px;
    border: 1px solid rgba(150, 150, 150, 0.9);
    border-radius: 5px;
    cursor: pointer;
}

.fight-skillbook-result-spell {
    float: left;
    position: relative;
    border: 2px groove darkgrey;
    background-color: black;
    height: 60px;
    width: 60px;
    border-radius: 3px;
    margin-left: 10px;
    cursor: pointer;    
}

#fight-skillbook-frame-picker {
    padding-left: 30px;
}

#fight-skillbook-frame-technical-filter {
    padding-left: 30px;
}

#fight-skillbook-frame-results {
    padding: 20px;
}
}


