body {
  background-color: #303030;
  color: #D4D4D4;
}

#myProgress {
  width: 50%;
  background-color: #D4D4D4;
}

#myBar {
  width: 0%;
  height: 30px;
  background-color: green;
}

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

th{
  position: sticky;
  top: 0;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #444444;
}

#table_id_filter{
  color: #dddddd;
}

#table_id_length{
  color: #dddddd;
}


.sets-container {
  display: grid;
  grid-template-columns: 100px 80px 80px 80px; /* Two columns with equal width */
  grid-gap: 0; /* Adjust as needed */
  margin-bottom: 13px;
}

.sets-container > div {
  text-align: left;
}


.ability-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two columns with equal width */
  grid-gap: 0; /* Adjust as needed */
  margin-top: -17px;
  margin-bottom: 13px;
}

.ability-group {
  display: flex;
  align-items: center;
  width: 240px; /* Set width to fill the grid column */
  margin-bottom: -12px; /* Adjust as needed */
}

.ability-name {
  flex: 1; /* Take up available space */
  margin-right: 10px; /* Add spacing between name and checkbox */
}

.gear-container {
  margin-bottom: 13px;
}

.gear-group {
  display: flex;
  align-items: center;
  width: 750px; /* Set width to fill the grid column */
  margin-bottom: -12px; /* Adjust as needed */
}

.gear-name {
  flex: 1; /* Take up available space */
  margin-right: 10px; /* Add spacing between name and checkbox */
}

#headGemProgress, #chestGemProgress, #shouldersGemProgress, #legsGemProgress,
#weapon1GemProgress, #offHand1GemProgress, #weapon2GemProgress, #offHand2GemProgress {
  width: 50px;
}

.character-sheet-stats-container {
  display: grid;
  grid-template-columns: 1fr 3fr; /* Two columns with equal width */
  grid-gap: 0; /* Adjust as needed */
  margin-top: -17px;
  margin-bottom: 16px;
}

.character-sheet-stats-group-left {
  display: flex;
  align-items: center;
  width: 247; /* Set width to fill the grid column */
  margin-bottom: -15px; /* Adjust as needed */
  margin-right: 35px;
}

.character-sheet-stats-group-right {
  display: flex;
  align-items: center;
  width: 335; /* Set width to fill the grid column */
  margin-bottom: -15px; /* Adjust as needed */
}

.character-sheet-stats-name {
  flex: 1; /* Take up available space */
  margin-right: 25px; /* Add spacing between name and input */
}

.character-sheet-stats-two-container {
  margin-top: -17px;
  margin-bottom: 29px;
}

.character-sheet-stats-two-group {
  display: flex;
  align-items: center;
  width: 700px; /* Set width to fill the grid column */
  margin-bottom: -15px; /* Adjust as needed */
  padding: 0px;
}

.character-sheet-stats-two-name {
  width: 100px;
  margin-right: 10px; /* Add spacing between name and checkbox */
}

#pPvP,
#pTowerOfFortitude,
#pCycleOfStrife {
  background-color: #00913D
}

#pAdvancedSettings,
#pMoreIterations,
#pSimTime,
#pIterations,
#pTimeVar,
#pGearCombatRating,
#pGearDamage,
#pGearLife,
#pExtraDamage,
#pExtraLife {
  background-color: #8c6600
}

#redFieldInfo,
#pCombatRating,
#pDamage,
#pLife {
  background-color: #a3420a
}

#extraRandomInfo,
#pTowerOfFortitude,
#pCycleOfStrife,
#pWbBuff1,
#pWbBuff2,
#pWbBuff3,
#pMoreIterations,
#pSimTime,
#pIterations,
#pTimeVar,
#pGearCombatRating,
#pGearDamage,
#pGearLife,
#pExtraDamage,
#pExtraLife {
  display: none;
}


.patch-notes {
  height: 150px;
  overflow-x: hidden;
  overflow-y: auto;
  word-wrap: break-word;
  padding-right: 25px;
}

.patch-notes ul {
  list-style-type: "- ";
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 30px;
  padding: 0;
  width: 100%;
}

.patch-notes-button {
  cursor: pointer;
  user-select: none;
}

.damage-breakdown-main-container {
  display: flex;
  flex-direction: row;
}

.damage-breakdown-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
}

.damage-breakdown-stats {
  width: 100%;
  background-color: #585858;
  color: white;
  white-space: pre;
  font-family: monospace;
}

.damage-breakdown-columns {
  display: flex;
  flex-direction: row; /* To have the two columns side by side */
  width: 100%;
  justify-content: space-between;
}

.damage-breakdown {
  background-color: gray;
  border: 1px solid #ccc;
  padding: 10px;
  width: 50%; /* Adjust this to control the width of the columns */
  color: white;
}

.damage-breakdown h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.damage-instance {
  display: flex;
  align-items: center;
}

.damage-instance-name {
  flex: 1;
  margin-right: 10px;
}

.damage-bar {
  background-color: #303030;
  border: 1px solid #999;
  height: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Adjusted to make the content right-aligned */
  position: relative; /* Add relative positioning */
}

.damage-fill {
  background-color: #CC0000;
  height: 100%;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.damage-amount {
  position: absolute;
  right: 5px;
  align-self: center;
  color: white;
}


@media only screen and (max-width: 1500px) {

  .damage-breakdown-main-container {
    display: inline;
    flex-direction: row;
  }

  .damage-breakdown-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 900px;
  }
}