html, body {
    background-color: #1f2326;
    color: #a0aab3;
}

.logo-img {
    max-width: 200px;
    width: 100%;
    display: inline-block;
}

.pLink, .pLink:focus, .pLink:visited {
    text-decoration: none;
}

.pLink:hover {
    text-decoration: underline;
}

.ptxt-mono {
    font-family: monospace, monospace !important;
    white-space: pre;
    text-align: center;
}
.htxt-white {
    color: #c5cdd8 !important;
}
.htxt-green {
    color: #79C447 !important;
}
.btn-green {
    background-color: #79C447 !important;
    color: #262a2f !important;
    font-weight: 600 !important;
}
.htxt-blue {
    color: #20A8D8 !important;
}
.btn-blue {
    background-color: #20A8D8 !important;
    color: #262a2f !important;
    font-weight: 600 !important;
}
.htxt-pink {
    color: #DF0074 !important;
}
.htxt-red {
    color: red !important;
}
.htxt-orange {
    color: #FF7800 !important;
}
.htxt-yellow {
    color: #e4e70a !important;
}
.htxt-lightGrey {
	color: #CCCCCC !important;
}

.block {
    background-color: #262a2f;
    border-radius: .75rem;
    border: 1px solid #333a40;
    padding: 10px;
    margin: 10px;
}
.block340 {
    width: 340px;
    height: 340px;
}

#mainBox {
    width: 800px;
}

#tableLB {
    --bs-table-color: #a0aab3;
    --bs-table-bg: #262a2f;
    --bs-table-striped-color: #f6f7f9;
    --bs-table-striped-bg: #22262b;
    --bs-table-active-color: #f6f7f9;
    --bs-table-active-bg: #333a40;
    --bs-table-hover-color: #f6f7f9;
    --bs-table-hover-bg: #202428;
    color: #f6f7f9;
    border-color: #181b1e;
}

#tableLB td{
    padding-top: 8px;
}

#buttonInfo {
    cursor: pointer;
}

.ptxt-input, .ptxt-select, .ptxt-input::placeholder, .ptxt-select::placeholder {
    color: #dee2e6 !important;
    font-weight: 600 !important;
}

.ptxt-selectHeader {
    cursor: pointer;
    color: #dee2e6 !important;
    font-weight: 600 !important;
}

.form-control:focus {
    border-color: #0284c7;
}
.table thead th {
    text-transform: uppercase;
    letter-spacing: .0625em;
    font-size: .875rem;
}
div.dt-container div.dt-layout-row {
    margin: 0 !important;
}

.dataTables_info {
    padding: 10px;
}

/* Basic styling */
table.dataTable {
	width: 100%;
	border-collapse: collapse;
  }
  
  table.dataTable th,
  table.dataTable td {
	position: relative;
  }
  
  /* Add padding-right only to sortable headers to prevent overlap */
  table.dataTable th.sorting,
  table.dataTable th.sorting_asc,
  table.dataTable th.sorting_desc {
	cursor: pointer;
	padding-right: 20px !important; /* enough space for arrows */
  }
  
  /* Only show arrows on sortable headers */
  table.dataTable th.sorting::before,
  table.dataTable th.sorting_asc::before,
  table.dataTable th.sorting_desc::before,
  table.dataTable th.sorting::after,
  table.dataTable th.sorting_asc::after,
  table.dataTable th.sorting_desc::after {
	content: '';
	position: absolute;
	border-style: solid;
	display: block;
  }
  
  /* Default right offset */
  table.dataTable th.sorting::before,
  table.dataTable th.sorting_asc::before,
  table.dataTable th.sorting_desc::before {
	top: 35%;
	right: 6px;
	border-width: 0 4px 6px 4px;
	border-color: transparent transparent #999 transparent;
  }
  
  table.dataTable th.sorting::after,
  table.dataTable th.sorting_asc::after,
  table.dataTable th.sorting_desc::after {
	top: 60%;
	right: 6px;
	border-width: 6px 4px 0 4px;
	border-color: #999 transparent transparent transparent;
  }
  
  /* Highlight active arrow */
  table.dataTable th.sorting_asc::before {
	border-color: transparent transparent #20A8D8 transparent;
  }
  
  table.dataTable th.sorting_desc::after {
	border-color: #20A8D8 transparent transparent transparent;
  }

table.dataTable tr td {
    line-height: 27px;
}
table.dataTable .sorting {
    padding-left: 20px; /* enough space for arrows */
}
table.dataTable .leftFix {
    padding-left: 10px; /* enough space for arrows */
}
.dataTables_info {
    display: none;
}

.td-w-70 {
	width: 70px !important;
    max-width: 70px !important;
}

.td-w-100 {
	width: 100px !important;
    max-width: 100px !important;
}

.td-w-180 {
	width: 180px !important;
    max-width: 180px !important;
}

.col-hidden {
    display: none;
}

.nowrap {
    white-space: nowrap;
}
th.no-sort::before, th.no-sort::after {
  display: none !important;
}

@media (max-width: 576px) {
    .logo {
        font-size: 3.25rem !important;
    }
    .block {
        padding: 7px;
        margin: 7px;
    }
    th {
        font-size: 0.8rem !important;
    }
    .ptxt-TH {
        font-size: 0.7rem !important;
    }
    .ptxt-mono {
        font-size: 0.8rem;
    }
    .hide-phone {
        display: none !important;
    }
}
@media (max-width: 1200px) {
    .hide-ipad {
        display: none !important;
    }
}
@media (min-width: 1200px) {
    .hide-desktop {
        display: none !important;
    }
}
.white-bg {
    background-color: #ffffff !important;
}

.swal2-title {
    font-weight: 100;
}
.swal2-icon-success {
    border: 2px solid #79C447 !important;
}

.swal2-icon-error {
    border: 2px solid #DF0074 !important;
}

.swal2-icon-warning {
    border: 2px solid #FF7800 !important;
}

.swal2-icon-info {
    border: 2px solid #3FC3EE !important;
}

.swalTournamentsInfo .swal2-title {
    font-weight: 100;
}

.swalTournamentsInfo .swal2-subTitle {
    padding: 5px 0px 10px 0px;
    position: relative;
    max-width: 100%;
    margin: 0;
    color: inherit;
    font-size: 24px;
    font-weight: 600 !important;
    text-align: center;
    text-transform: none;
    word-wrap: break-word;
    font-weight: 100;
}

.swalTournamentData {
    border: 2px solid #79C447 !important;
}


.swal2-confirm {
    color: #000000 !important;
}

.hlink, .hlink:hover {
    color: #20A8D8 !important;
    text-decoration: underline;
}

/* login page */
.pattern-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 430px; /* match pattern height */
}

main {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 140px); /* Adjust for your header/footer height */
}
#patternLock {
	background-color: inherit !important;
}
.patt-circ.hovered {
    border: 3px solid #79C447;
}

/* timeout page */
.timer-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    margin: auto;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring__circle {
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}

.countdown-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 72px;
    color: #fff;
}

span, div {
  caret-color: transparent;
}

.th-icon {
    /* width: 20px; */
    height: 18px;
    display: inline-block;
    vertical-align: middle;
}
.svg-icon-small {
    vertical-align: -2px;
    /* width: 18px; */
    height: 14px;
}
.svg-icon-med {
    width: 20px;
    height: 20px;
}
.svg-icon-large {
    /* width: 48px; */
    height: 48px;
}
.svg-icon-128 {
    /* width: 48px; */
    height: 128px;
}
.svg-icon-loader {
  width: 72px;
  height: 72px;
  animation: spin 1s linear infinite;
  transform-origin: center;
}
.svg-icon-position {
    /* width: 10px; */
    height: 20px;
}
.positionIcon {
    position: relative; top: -2px;
    padding-right: 12px;
    padding-left: 12px;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}
.rankImage {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding-top: 2px !important;
    padding-bottom: 0px !important;
    /* width: 28px; */
    height: 40px;
}

.lastGames-win {
	color: #79C447;
}
.lastGames-loss {
	color: #DF0074;
}
.lastGames-draw {
	color: #20A8D8;
}