@import url('https://fonts.googleapis.com/css?family=Nova+Square|Risque|Chivo+Mono&display=swap');

.two-length {
    flex: 1.5;
}

.anchor {
    display: block;
    position: relative;
    top: -90px;
    visibility: hidden;
}

a.co_portrait:hover {
    text-decoration: none;
}

a.co_portrait:hover {
    filter: brightness(85%);
}

a.co_portrait_small:hover {
    filter: brightness(85%);
}

img.co_portrait {
    height: 32px;
    width: 32px;
}

img.co_portrait_small {
    height: 24px;
    width: 24px;
}

#button_blue {
    background-color: rgb(191, 237, 255);
    color: rgb(1, 30, 63);
    font-weight: bold;
    height: 20px;
    cursor: pointer;
}

#button_gray {
    background-color: rgb(235, 235, 235);
    color: rgb(1, 30, 63);
    font-weight: bold;
    height: 20px;
    cursor: pointer;
}

#button_red {
    background-color: rgb(255, 217, 217);
    color: rgb(75, 0, 0);
    font-weight: bold;
    height: 20px;
    cursor: pointer;
}

#button_blue:hover {
    filter: brightness(90%);
}

.bold {
    font-weight: bold !important;
}

#bottom-main {
    text-align: center;
    width: 100%;
}

#bottom-main a {
    text-decoration: none;
}

.center {
    align-items: center;
    display: flex;
    justify-content: center;
}

#clear-missiles {
    display: none;
    margin-left: 4px;
}

#clear-missiles img {
    transform: scale(1.5);
}

#co-powers,
#planner-missiles-selector {
    margin: 0 4px;
}

#co-tiers-co-image:hover {
    filter: brightness(90%);
}

.social-media-icon {
    align-self: center;
    color: #d3d3d3;
    font-size: 50px;
    left: 5px;
    position: absolute;
    top: 50px;
}

.social-media-icon:hover {
    filter: brightness(90%);
}

#features-list {
    background: #faf5dd;
    list-style-type: none;
    padding: 5px 0;
}

#features-list li {
    margin: 16px 0;
    font-size: 16px;
}

#features-title {
    font-weight: bold;
}

#fog_canvas {
    /* position: absolute; */
    left: 0px;
}

.footer-buffer {
    background: none;
    border: none;
    display: flex;
    height: 400px;
    width: 100%;
}

#gamecontainer {
    align-items: center;
    display: flex;
    flex-direction: column;
    font-family: "Nova Square", cursive !important;
    width: 100%;
}

#do-game-row-container {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    padding-top: 5px;
}

#do-game-player-row {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
}

.do-game-co-image {
    height: 35px;
    width: 35px;
    margin-left: 5px;
    position: relative;
}

.do-game-tag-co-image {
    width: 30px;
    margin-left: 1px;
    margin-right: 2px;
    position: relative;
    top: 5px;
}

.do-game-country-logo {
    width: 18px;
    margin-left: 1px;
    position: relative;
    top: 5px;
}

.do-game-username {
    margin-left: 3px;
    /* overflow-x: hidden; */
    position: relative;
    text-align: left;
    top: 12px;
    width: 100px;
}

.do-game-ready-span {
    display: block;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
}

.do-game-extras {
    background-color: white;
    display: flex;
    flex-direction: row;
    margin-left: auto;
    position: relative;
    text-align: left;
}

.do-game-row-cobans {
    background-color: black;
    color: white;
    font-size: 13px;
    height: 20px;
}

#gamemap {
    position: absolute;
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}

#overDiv {
    position: relative;
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}

#gamemap-container {
    border: 1px solid black;
    display: flex;
    margin-bottom: 15px;
    position: relative;
    /* touch-action: none; */
}

#game-player-info {
    visibility: visible;
}

#grant-vision-btn,
#remove-vision-btn {
    align-items: center;
    border: 1px solid rgb(161, 161, 161);
    border-radius: 4px;
    background: #FFFFFF;
    cursor: pointer;
    display: flex;
    font-size: 13px;
    font-weight: bold;
    height: 32px;
    justify-content: center;
    margin: 4px 0;
    width: 90%;
}

#grant-vision-conf-btns {
    display: flex;
    justify-content: center;
}

#grant-vision-conf-btns button {
    align-items: center;
    border: rgb(161, 161, 161);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    font-weight: bold;
    height: 32px;
    justify-content: center;
    margin: 2px 6px;
    width: 40%;
}

#grant-vision-conf-btns img {
    margin: 0 2px;
}

#grant-vision-conf-btns button:hover {
    filter: brightness(90%);
}

#grant-cancel {
    color: rgb(70, 14, 14);
    background: rgb(250, 200, 200)
}

#grant-confirm {
    color: rgb(0, 107, 27);
    background: rgb(193, 255, 208);
}

#grant-vision-confirmation {
    display: none;
    flex-direction: column;
}

#grant-vision-err {
    color: red;
}

#grant-vision-menu {
    background: white;
    border: 1px solid #888888;
    flex-direction: column;
    margin-top: 60px;
    margin-left: 2px;
    padding: 2px;
    width: 200px;
}

#grant-vision-menu-toggle {
    cursor: pointer;
    height: 26px;
    text-align: left;
}

#grant-vision-msg,
#grant-vision-conf-friend {
    font-weight: bold;
}

#grant-vision-msg {
    background: rgb(235, 235, 235);
    border: 1px solid #A5A5A5;
    border-radius: 8px;
    display: none;
    padding: 4px 4px;
}

#grant-vision-select {
    display: flex;
    flex-direction: column;
}

#grant-vision-select div {
    align-items: center;
    display: flex;
    flex-direction: column;
}

#find-target {
    display: none;
}

.italic {
    font-style: italic;
}

#load-error {
    color: red;
    left: 0;
    position: absolute;
    top: 6px;
}

.menu_option {
    align-items: center;
    display: flex;
}

.mid-text {
    vertical-align: middle;
}

#missiles-coords {
    background: rgb(236, 236, 236);
    border: 1px solid rgb(187, 187, 187);
    border-radius: 8px;
    box-shadow: 0 0 4px 4px rgba(0, 0, 0, 0.25);
    display: none;
    flex-direction: column;
    padding: 4px;
    position: absolute;
    right: 0;
    z-index: 121;
}

#missiles-coords p {
    font-weight: bold;
    margin: 0;
    padding: 0;
}

#missiles-coords ul {
    margin: 4px 0 0 0;
    padding: 0;
}

#missiles-coords li {
    border-bottom: 1px solid #C9C9C9;
    display: block;
    margin: 2px 0;
    padding: 2px, 0;
}

#planner-load-manager {
    align-items: center;
    display: flex;
    flex-direction: row;
}

#planner-reload-state {
    display: none;
}

#planner-load-section+td {
    padding: auto;
    position: relative;
}

.planner-state-btn {
    width: 200px;
}

#replay-container {
    align-items: start;
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
    position: relative;
}

#map-controls-container {
    display: flex;
    margin-bottom: 12px;
}

#design-map-controls-container {
    background-color: #CDCDCD;
    border: solid 1px #888888;
    border-top: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 2px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 1198px;
    gap: 4px;
}

#search-map-name {
    position: relative;
}

#search-map-suggestions {
    background: #f1f1f1;
    border: 1px solid #9c9c9c;
    border-radius: 8px;
    list-style-type: none;
    padding: 2px 4px;
    position: absolute;
    top: 8px;
}

#search-map-suggestions li {
    background: #f1f1f1;
    cursor: pointer;
    margin: 2px 0;
    padding: 2px 0;
    text-align: left;
}

.striked {
    text-decoration: line-through;
}

.underline {
    text-decoration: underline;
}

.zoom-buttons,
.planner-calc-toggle {
    align-items: center;
    background-color: #FFFFFF;
    border: 1px solid #888888;
    cursor: pointer;
    display: flex;
    font-size: 24px;
    font-weight: 900;
    height: 30px;
    justify-content: center;
    position: relative;
    width: 34px;
    z-index: 120;
}

.zoom-buttons:hover,
.planner-calc-toggle:hover,
#unwait-all:hover,
#apply-power:hover,
#grant-vision-btn:hover {
    filter: brightness(90%);
}

.hover-lower-bright:hover {
    filter: brightness(80%);
}

#replay-log-row {
    text-align: left;
    border: solid 1px #888888;
    border-top: none;
    cursor: pointer;
    padding-left: 2px;
    padding-right: 2px;
    font-size: 13px;
    white-space: normal;
}

#replay-coords {
    width: 60px;
    position: relative;
    margin-right: 5px;
    padding: 6px;
    border: solid 1px #888888;
    font-size: 16px;
    background-color: white;
    /* height: 100%; */
    vertical-align: middle;
}

#coords {
    width: 70px;
    position: relative;
    margin-right: 5px;
    padding: 6px;
    border: solid 1px #888888;
    font-size: 16px;
    background-color: white;
    /* height: 100%; */
    vertical-align: middle;
    font-family: 'Chivo Mono', monospace;
}

#replay-day-controls {
    background-color: #FFFFFF;
    border: solid 1px #888888;
    display: flex;
    height: 24px;
    margin-right: 5px;
    padding: 3 5 3 5;
    vertical-align: middle;
}

#replay-misc-controls {
    background-color: #FFFFFF;
    border: solid 1px #888888;
    display: flex;
    height: 30px;
    margin-left: 5px;
    vertical-align: middle;
}

#game-menu-controls {
    align-items: start;
    background-color: none;
    border: none;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    vertical-align: middle;
}

#game-menu-controls section {
    display: flex;
    margin: 1px 0;
}

#game-map-menu-dropdown {
    background-color: white;
    border: 1px solid #888888;
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 96px;
    text-align: left;
}

#design-help-button {
    background-color: #FFFFFF;
    border: solid 1px #888888;
    display: flex;
    height: 30px;
    margin-left: 5px;
    vertical-align: middle;
}

#design-help-button:hover {
    filter: brightness(90%);
}

#replay_canvas {
    /* position: absolute; */
    left: 0px;
}

#games-box {
    background: white;
    border: 1px solid black;
    display: flex;
    flex-flow: row;
    margin: 0 auto;
    position: relative;
    width: 900px;
}

.header-text {
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    line-height: 40px;
    vertical-align: middle;
}

#homepage-chat-text {
    color: black;
    align-self: center;
    left: 52px;
    position: absolute;
    top: 60px;
}

#homepage-chat-text:hover {
    color: #0066CC;
}

#homepage-games-box {
    /* background: white; */
    font-size: 16px;
}

.homepage-section-title {
    position: relative;
}

.homepage-section-title header {
    align-items: center;
    background: #cccca8;
    /* border-top: solid 1px #5a5a17; */
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#homepage-recent-maps {
    width: 25%;
    vertical-align: top;
    text-align: center;
    padding-top: 3px;
    padding-bottom: 5px;
}

.line {
    color: #DDDDDD;
    margin: 35px 2px;
}

#main-buttons {
    text-align: center;
    cursor: default;
}

#main {
    box-shadow: 2px 2px 4px 4px rgba(0, 0, 0, 0.2);
    align-items: center;
    display: inline-flex;
    flex-flow: column;
    justify-content: center;
    /* margin-top: 10px; */
    width: 100%;
}

.main-small {
    color: #009966;
    font-size: 13px;
}

#nell-help {
    position: relative;
}

#nell-text {
    font-size: 16px;
    left: 40;
    margin: 0 auto;
    position: absolute;
    right: 0;
    top: 25px;
}

.game-header-header {
    background: #0066CC;
    border-bottom: 1px solid #888888 !important;
    color: white;
    font-size: 16px;
    padding: 4px 0;
}

.game-header-day {
    font-size: 18px;
}

#game-header-table {
    background: white;
    border: 1px solid #888888 !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 10px;
    padding: 0px;
    width: 100%;
}

#game-header-table-old {
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
}

#game-header-table div {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#game-header-table span {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    margin-left: 2px;
    position: relative;
}

.game-header-info {
    margin: 4px 2px;
    padding: 0 4px;
}

#game-controls-table {
    margin: 0;
}

#replay-header-text {
    text-align: left;
}

#outer {
    background: #fafadd;
    /* background: rgb(116, 116, 116); */
    /* margin: 10 auto; */
    /* margin: auto; */
    margin-bottom: 20px;
    width: 1200px;
    position: relative;
    text-align: center;
    width: 1200px;
}

@media screen and (min-width: 800px) {
    #outer {
        margin: auto;
    }

    #game-header-table {
        text-align: center;
    }

    #game-controls-table {
        margin: auto;
    }

    #replay-header-text {
        text-align: center;
    }

    #design-map-header-table {
        text-align: center;
    }

    #design-map-name {
        margin-left: 125px;
    }

    #design-map-controls-container {
    }
}

.planner-calc-toggle {
    margin-right: 8px;
}

#prevmaps-links {
    border: 1px solid#888888;
    background-color: #FFFFFF;
    color: #000330;
    font-size: 12px;
    height: 30px;
    width: 90px;
    text-align: center;
    vertical-align: middle;
    padding-left: 3px;
    cursor: default;
}

#prevmaps-links:hover {
    filter: brightness(90%);
}

#suggested-game {
    border-right: 1px solid #888888;
    width: 50%;
}

#suggested-game-info {
    list-style-type: none;
    padding: 0;
    margin-left: 4px;
    text-align: left;
}

#suggested-game-info li {
    margin: 2px 2px
}

#suggested-game-settings,
#sug-game-bans-limits {
    display: inline-flex;
    flex-flow: row;
    font-size: 14px;
    list-style-type: none;
    padding: 0;
}

#suggested-game-settings li,
#sug-game-bans-limits li {
    border: 1px solid black;
    height: 38px;
    padding: 0 8px;
    text-align: center;
}

#sug-game-bans-limits li {
    align-items: center;
    display: inline-flex;
}

#sug-game-title {
    align-items: center;
    background: rgb(193, 255, 208);
    display: flex;
    height: 30px;
    justify-content: center;
    padding: 0;
}

#suggested-map {
    align-items: center;
    display: inline-flex;
    flex-flow: column;
    justify-content: center;
    padding: 15px;
}

#suggested-map img {
    width: 100%;
}

table.outer-container {
    align-self: center;
    margin: 10 auto 20 auto;
    padding: 0px;
    width: 80%;
}

span[id^="square"] a {
    cursor: inherit
}

span[id^="unit"] a {
    cursor: inherit
}

span[id^="hidden"] a {
    cursor: inherit
}

table.inner-container {
    align-self: center;
    margin: 10 auto 0 auto;
    padding: 0px;
    width: 1100px;
}

#homepage-games-box-top {
    border-bottom: none;
    column-span: 3;
    text-align: center;
    padding-bottom: 5px;
    font-size: 16px;
}

#homepage-maps-box-top {
    border-bottom: none;
    column-span: 3;
    text-align: center;
    padding-bottom: 5px;
    font-size: 16px;
    vertical-align: top;
    font-size: 14px;
}

#homepage-games-box-content {
    border-top: none;
    text-align: center;
    padding-bottom: 5px;
    font-size: 16px;
}

#homepage-league-info {
    display: block;
    white-space: normal;
    word-wrap: break-word;
    padding-right: 5px;
    padding-left: 5px;
    text-align: left;
    /* vertical-align: middle; */
}

.planner-tools-btn-lg {
    align-items: center;
    background: #FFFFFF;
    border: 1px solid rgb(161, 161, 161);
    cursor: pointer;
    display: flex;
    font-size: 13px;
    font-weight: bold;
    height: 20px;
    justify-content: center;
    margin-left: 8px;
    position: relative;
    padding: 2px 4px;
}

.planner-tools-btn-lg:hover {
    filter: brightness(90%);
}

.planner-tools-btn-lg img {
    margin: 0 4px;
}

#unwait-all img,
#apply-power img {
    transform: scale(1.25);
}

#your_games {
    float: left;
}

#welcome-text {
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    line-height: 40px;
    vertical-align: middle;
}

.clock-warning {
    display: inline;
    font-weight: 900;
    z-index: 120;
    text-align: center;
    cursor: pointer;
}

.clock-warning-text,
.hover-text {
    color: white;
    visibility: hidden;
    position: absolute;
    background: rgb(75, 74, 74, 0.9);
    font-weight: 400;
    z-index: 120;
    padding: 5px;
    text-align: right;
    margin-right: 0;
}

.clock-warning:hover .clock-warning-text {
    visibility: visible;
}

.game-tools-btn {
    align-items: center;
    background-color: #FFFFFF;
    border: 1px solid #888888;
    cursor: pointer;
    display: flex;
    font-weight: 900;
    height: 30px;
    justify-content: center;
    position: relative;
    width: 34px;
}

.game-tools-btn .follow_span {
    font-family: Arial, Verdana, Helvetica, Geneva, sans-serif;
    padding-top: 1px;
}

.noborders {
    border: none !important;
}

.game-tools-btn-text {
    bottom: 100%;
    color: white;
    visibility: hidden;
    position: absolute !important;
    background: rgb(75, 74, 74, 0.9);
    font-weight: 400;
    z-index: 120;
    padding: 5px;
    text-align: left;
    margin-right: 0;
    white-space: pre;
    cursor: pointer;
    display: table;
    pointer-events: none;
}

.game-tools-btn:hover .game-tools-btn-text {
    visibility: visible;
}

.game-tools-btn:hover .game-tools-bg {
    filter: brightness(90%);
    background-color: rgb(250, 250, 250);
}

.game-tools-bg {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.game-follow-bg {
    background-color: rgb(193, 255, 208);
    color: rgb(0, 107, 27);
}

.game-follow-bg:hover .game-tools-bg {
    background-color: rgb(193, 255, 208);
    filter: brightness(90%);
}

.game-tools-btn:hover .do-game-pending-ready-bg {
    filter: brightness(90%);
    background-color: rgb(231, 231, 187);
}

.game-menu-btn {
    align-items: left;
    background-color: #FFFFFF;
    /* border: 1px solid #888888; */
    border: none;
    cursor: pointer;
    display: flex;
    font-size: 24px;
    height: 26px;
    justify-content: left;
    position: relative;
    width: 96px;
}

.game-menu-btn-text {
    color: white;
    visibility: hidden;
    position: absolute;
    background: rgb(75, 74, 74, 0.9);
    font-weight: 400;
    z-index: 120;
    padding: 5px;
    text-align: left;
    top: -20px;
    margin-right: 0;
    white-space: nowrap;
    cursor: pointer;
}

.game-menu-btn:hover .game-menu-btn-text {
    visibility: visible;
}

.game-menu-btn:hover .game-menu-bg {
    filter: brightness(90%);
    background-color: rgb(250, 250, 250);
}

.game-menu-bg {
    width: 100%;
    height: 100%;
}

.do-game-pending-ready-bg {
    background-color: rgb(249, 250, 200);
    width: 100%;
    height: 100%;
}

.game-tools-btn:hover .do-game-drop-bg {
    filter: brightness(90%);
    background-color: rgb(218, 175, 175);
}

.do-game-drop-bg {
    background-color: rgb(250, 200, 200);
    width: 100%;
    height: 100%;
}

input.create-ban-co-active {
    border: solid 1px black;
    background-color: rgb(191, 237, 255);
    color: #000330;
    cursor: default;
    font-size: 13px;
    font-family: Arial, Verdana, Helvetica, Geneva, sans-serif;
    font-weight: 900;
    height: 24px;
    margin-left: 8px;
    text-align: center;
    width: 70px;
}

input.create-ban-co-inactive {
    border: solid 1px black;
    background-color: white;
    color: #000330;
    cursor: pointer;
    font-size: 13px;
    font-family: Arial, Verdana, Helvetica, Geneva, sans-serif;
    height: 24px;
    margin-left: 8px;
    text-align: center;
    width: 70px;
}

input.create-ban-co-inactive:hover {
    filter: brightness(90%);
}

.tourney-outer-bracket-container {
    display: flex;
    flex-flow: column;
    max-width: 1200px;
    /* overflow: scroll; */
}

.tourney-inner-bracket-container {
    background-color: #FFFFFF;
    border: solid 1px #888888;
    border-top: none;
    display: flex;
    flex-flow: column;
    max-width: 1200px;
    overflow: scroll;
}

.tourney-bracket-header {
    align-items: center;
    background-color: rgb(198, 241, 248);
    border: solid 1px #888888;
    color: #666666;
    cursor: pointer;
    display: flex;
    flex-flow: row;
    height: 30px;
    justify-content: flex-start;
    width: 1200px;
}

.tourney-round-header {
    display: flex;
    flex-flow: row;
    margin-top: 5px;
}

.tourney-round-box {
    background-color: none;
    color: #444444;
    display: flex;
    flex-flow: column;
    height: 30px;
    justify-content: center;
    text-decoration: underline;
}

.tourney-round-spacer {
    align-items: center;
    display: flex;
    flex-flow: column;
    /* height: 100%; */
    justify-content: space-around;
}

.tourney-rounds-container {
    display: flex;
    flex-flow: row;
    height: 100%;
}

.tourney-games-container {
    display: flex;
    flex-flow: column;
    height: 100%;
    justify-content: space-around;
}

.tourney-game-container {
    align-items: center;
    border: solid 1px #888888;
    cursor: pointer;
    display: flex;
    flex-flow: row;
    height: 60px;
    justify-content: flex-start;
}

.tourney-game-number {
    align-items: center;
    background-color: #DEDEDE;
    border: solid 1px #AAAAAA;
    color: #666666;
    display: flex;
    height: 20px;
    justify-content: center;
    margin-left: -10px;
    width: 20px;
    z-index: 500;
}

.tourney-players-container {
    display: flex;
    flex-flow: column;
    height: 100%;
    justify-content: flex-start;
    margin-left: -12px;
    width: 100%;
}

.tourney-player-box {
    align-items: center;
    color: #666666;
    display: flex;
    flex-flow: row;
    height: 50%;
    padding-left: 16px;
}

.tourney-player-info {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: flex-start;
}

.tourney-player-name {
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tourney-player-co {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: flex-end;
    width: 100%;
}

.tourney-result-box {
    align-items: center;
    background-color: #888888;
    border-left: solid 1px #888888;
    color: #FFFFE0;
    display: flex;
    height: 100%;
    justify-content: center;
    margin-left: 5px;
    width: 20px;
}

.tourney-result-box-win {
    align-items: center;
    background-color: #32a852;
    border-left: solid 1px #888888;
    color: #FFFFE0;
    display: flex;
    height: 100%;
    justify-content: center;
    margin-left: 5px;
    width: 20px;
}

.tourney-bye-container {
    align-items: center;
    border: solid 1px #888888;
    cursor: pointer;
    display: flex;
    flex-flow: row;
    height: 60px;
    justify-content: center;
}

.tourney-bracket-connector {
    background-color: #888888;
    cursor: default;
    display: flex;
    margin-left: -290px;
    width: 1px;
}

#tourney-header-body {
    height: 24px;
}

.tourney-menu-buttons {
    align-items: center;
    background-color: #FFFFFF;
    border: 1px solid #888888;
    cursor: pointer;
    display: flex;
    font-size: 24px;
    font-weight: 900;
    height: 30px;
    justify-content: center;
    position: relative;
    width: 34px;
    z-index: 120;
}

.tourney-menu-buttons:hover {
    filter: brightness(90%);
}

.info-box-main-text {
    display: block;
    white-space: normal;
    word-wrap: break-word;
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: solid 1px #888888;
}

.hover-box {
    position: relative;
    display: inline-block;
    z-index: 120;
    cursor: pointer;
}

.hover-box-text {
    z-index: 9999;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 10px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
    font-size: 16px;
    pointer-events: none;
}

.hover-box:hover
.hover-box-text {
    opacity: 1;
    visibility: visible;
}

.hover-box-text:hover {
    opacity: 0;
    display: none;
    visibility: hidden;
}

/* Tooltip arrow */
.hover-box-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.tournament-bracket {
    max-width: 1150px;
    overflow-x: scroll;
}

.map-stats-co-img {
    background: white;
    height: 26px;
    width: 40px;
}

.map-stats-matrix-item {
    background: #EFEFEF;
    border: solid 1px #888888;
    cursor: pointer;
    height: 26px;
    width: 36px;
}

.map-stats-matrix-item:hover {
    filter: brightness(80%);
}

.map-stats-filter-row {
    height: 32px;
}

.map-stats-matrix-key {
    height: 20px;
    margin: 1px;
    width: 35px;
}

[v-cloak] {
    display: none;
}

#live-queue-status-popup {
    background-color: #FFFFE0;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 110;
    border: solid 2px #888888;
    border-radius: 4px;
    padding: 5px;
}

#live-queue-accept-popup {
    /* background-color: #FFFFE0; */
    background-color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 130;
    border: solid 2px #888888;
    border-radius: 4px;
    /* padding: 20px; */
    width: 400px;
    height: 100px;
}

#live-queue-match-popup {
    /* background-color: #FFFFE0; */
    background-color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 120;
}

#live-queue-match-popup div {
    padding: 0.2em;
}

#live-queue-select-popup {
    /* background-color: #FFFFE0; */
    background-color: white;
    border: solid 2px #888888;
    border-radius: 4px;
}

.live-queue-blocker-popup {
    background-color: #ffffe054;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 120;
}

.live-queue-match-player-status {
    margin-right: 0;
    margin-left: auto;
}

.live-queue-match-player-ready {
    font-size: 14px;
    border: solid 1px #888888;
    cursor: default;
    background-color: rgb(193, 255, 208);
    color: rgb(0, 107, 27);
}

.live-queue-match-player-waiting {
    font-size: 14px;
    border: solid 1px #888888;
    cursor: default;
    background-color: rgb(249, 250, 200);
    color: rgb(85, 77, 30);
}

.live-queue-select-co-image {
    cursor: pointer;
    border: 1px solid black;
    margin: 2px;
}

.live-queue-error-message {
    color: red;
}

.live-queue-settings-row {
    /* border: solid 1px #888888; */
    padding: 3px;
}

.live-queue-settings-label {
    align-items: center;
    display: flex;
    justify-content: start;
    width: 75px;
}

.live-queue-settings-item {
    border: solid 1px #888888;
    color: black;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
    margin: 2px;
    min-height: 42px;
    min-width: 50px;
}

.live-queue-settings-limit {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
}

.live-queue-unit-restrictions {
    padding: 3px;
}

.live-queue-player-row {
    border-bottom: solid 1px #888888;
}

.live-queue-button-image {
    padding: 0px;
    margin: 2px;
    border: solid 1px #888888;
}

.live-queue-button-ready {
    background-color: rgb(191, 237, 255);
    border: solid 1px #666666;
    color: rgb(1, 30, 63);
    font-weight: bold;
    font-size: 18px;
    height: 40px;
    width: 160px;
}

.live-queue-button-cancel {
    background-color: rgb(255, 217, 217);
    border: solid 1px #666666;
    color: rgb(75, 0, 0);
    font-weight: bold;
    font-size: 18px;
    height: 40px;
    width: 160px;
}

.live-queue-button-enabled:hover {
    cursor: pointer;
    filter: brightness(90%);
}

.live-queue-button-disabled {
    cursor: not-allowed;
}

.live-queue-button-inflight {
    cursor: wait;
}

.live-queue-admin-subheader {
    background-color: #C9C9C9;
    width: 75px;
}

.live-queue-admin-col {
    width: 75px;
}

.userinfo-blocker-popup {
    background-color: #ffffe054;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 120;
}

#userinfo-delete-popup {
    /* background-color: #FFFFE0; */
    background-color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 130;
    border: solid 2px #888888;
    border-radius: 4px;
    /* padding: 20px; */
    width: 700px;
    height: 200px;
}

.userinfo-button-cancel {
    background-color: rgb(191, 237, 255);
    border: solid 1px #666666;
    color: rgb(1, 30, 63);
    font-weight: bold;
    font-size: 18px;
    height: 40px;
    width: 160px;
    cursor: pointer;
}

.userinfo-button-delete {
    background-color: rgb(255, 217, 217);
    border: solid 1px #666666;
    color: rgb(75, 0, 0);
    font-weight: bold;
    font-size: 18px;
    height: 40px;
    width: 160px;
    cursor: pointer;
}

#server-maintenance-alert {
    display: block;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 485;
    position: absolute;
}
.design-map-menu-image {
    transform: scale(1.2);
    transform-origin: 0 0;
    margin-right: 3px;
    margin-bottom: 3px; 
}
.design-map-menu-btn {
    height: 30px;
    background-color: rgb(254, 254, 254);
    border-right: solid 1px #888888;
    text-align:left; 
    padding-left: 5px;
    padding-right: 5px;
    cursor: pointer;
}
.design-map-menu-btn:hover{
    filter:brightness(90%);
}
.design-map-terrain-btn {
    background-color:rgb(254, 254, 254);
    cursor: pointer;
    height: 100%;
    padding: 0 3 0 3;
    width: 30px;
}
.design-map-terrain-btn:hover{
    filter:brightness(90%);
}
.design-map-resize-btns {
    position: absolute;
    z-index:110;
}
.design-map-error-display {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid black;
    cursor: pointer;
    left: 50%;
    padding: 1px;
    position: absolute;
    top: 10px;
    transition: opacity 1s ease-in-out;
    width: 200px;
    z-index: 161;
  }
  .design-map-asymm-btn {
    background: rgba(255, 27, 27);
    box-sizing: border-box;
    color: white;
    font-weight: bold;
    padding: 2px;
    z-index: 155;
  }
  .design-map-asymm-square {
    background: rgba(255, 27, 27, 0.4);
    border: 1px solid rgb(155, 0, 0);
    box-sizing: border-box;
    height: 17px;
    position: absolute;
    width: 17px;
    z-index: 155;
  }
  .design-map-loading {
    background: white;
    border: solid 2px #888888;
    box-sizing: border-box;
    font-size: 24px;
    margin-top: 10px;
    padding: 5px;
    width: 150px;
  }

.design-map-palette {
    background-color: #FFFFFF;
    border: #888888 1px solid;
    margin-left: 5px;
    justify-content: space-evenly;
    height: 46px;
    width: 200px;
}

.alt-lookup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.alt-lookup-row {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-column-gap: 12px;
    margin: 12px 0;
}

.alt-lookup-cell {
    padding: 12px;
    max-height: 120px;
    overflow-y: auto;
}

.alt-lookup-subheader {
    background-color: #AAAAAA;
    border: solid 1px #888888;
    color: #666666;
    font-size: 14px;
    min-height: 24px;
}

/* Styling for global league CO selector Vue elements in do_game_row.php */
.co_selector_window {
    background-color: #CDCDCD;
    position: absolute;
    top: 25px;
    left: -50px;
    z-index: 1000;
    justify-content: space-between;
    border: 8px solid black;
}

.co_selector_window .title {
    background-color: black;
    color: white;
    text-align: left;
    font-family: Verdana, Arial, Helvetica;
    font-weight: 800;
    padding-left: 15px;
}

.co_selector_window .close_button {
    padding: 2px;
    cursor: pointer;
}

.do-game-co-image .co_portrait {
    vertical-align: top;
    top: 0px;
    left: 0px;
    border: 1px solid black;
    position: relative;
    z-index: 100;
}

.do-game-co-image .co_caret {
    position: absolute;
    bottom: -1;
    right: -1;
    border: none;
    z-index: 110;
}

.do-game-co-image .co_caret_small {
    position: absolute; top: 20px; left: 20px; border: none; z-index: 110;
}

.co_box {
    /* width: 60px; */
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid black;
    margin-top: 2px;
    margin-bottom: 2px;
    margin-left: 0px;
    margin-right: 4px;
}

.co_box.banned {
    background-color: #7d7c7c;
}

.strikethrough {
    text-decoration: line-through;
}

.twitch-stream-section {
    display: flex;
    flex-direction: column;
    width: 90%;
    background: #1e1e1e;
    color: #fff;
    padding: 0.5rem 2rem 0.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    margin: 2rem auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.twitch-embed {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin: 0 auto;
    width: 100%;
}

.twitch-video {
    flex: 1 1 720px; /* grow/shrink, basis */
    height: 400px;
    border: none;
    border-radius: 8px;
}

.twitch-chat {
    flex: 1 1 30%; /* chat takes ~30% width */
    height: 400px;
    border: none;
    border-radius: 8px;
}

.co-wrap {
    flex-wrap: wrap;
}
