body {
  background-color: rgb(255, 255, 255);
  font-family: Arial, sans-serif;
}

#pageheadmenu {
  margin: 0;
  padding: .4em;
  background: #CC0033;
  width: 100%;
}

#pageheadmenu>a {
  float: left;
}

.headlogo {
  height: 4em;
  padding: 0 1em 0 0;
  float: left;
}

.page {
  padding: 1em;
}

/*
nav {
  background: #CC0033;
  padding: 5px;
  AEK tried change to 20 
}

nav a {
  color: rgb(0, 0, 0);
  background: #ffffff;
  margin-right: 20px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid rgb(0, 0, 0);
  border-radius: .4em;
  padding: .2em .6em;
}
*/

nav {
  background: #CC0033;
  text-align: center;
}

nav a {
  display: inline-block;
  rgb(0, 0, 0);
  padding: .1em .4em;
  margin: 0em .3em .3em 0;
  background: #ffffff;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid rgb(0, 0, 0);
  border-radius: .4em;
  white-space: nowrap;
}

nav a:hover {
  background: #dfc500;
  color: black;
}


nav a.active {
  text-decoration: underline;
}

#pagehead {
  padding: 0.4em;
  background: #FFFFFF;
  width: 100%;
  height: 4em;
  margin-bottom: 0.4em;
}

.clearfix:before,
.clearfix:after {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden
}

.clearfix:after {
  clear: both
}

.clearfix {
  zoom: 1
}

h1 {
  margin-bottom: .4em;
  font-size: 24px;
}

#Date-Navigation {
  /* color: #ffffff; */
  color: #000000;
}

#Date-Line {
  display: inline-block;
}

#pagefoot {
  margin: 0;
  clear: both;
  padding: 0.1em;
  background: #CC0033;
  width: 100%;
  font-size: 16px;
  text-align: center;
}

#Page-Navigation {
  margin-bottom: 10px;
  text-align: center;
}

#Page-Navigation span {
  font-weight: bold;
}

/*AEK!!!!!!!!!!!!!!!!!!!! >>> */
.pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Arial, sans-serif;
}

h2 {
  margin-top: .5em;
  margin-bottom: .5em;
  font-size: 16px;
  text-align: center;
}

/*HTML check objected to H4 being used without H2 and H3 AEK 14/06/2026 */
h4 {
  margin-top: .5em;
  margin-bottom: .5em;
  font-size: 16px;
  text-align: center;
}

/* Base button styling */
.nav-btn {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  border: 2px solid #000;
  background-color: #ffffff;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

/* Hover only when enabled */
.nav-btn:not(:disabled):hover {
  background-color: #dfc500;
}

/* Disabled state */
.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f0f0f0;
  /* #eaeaea; */
  color: #777;
  border-color: #ddd;
}

/* Page text */
.page-info {
  font-size: 14px;
  color: #555;
}

/*AEK!!!!!!!!!!!!!!!!!!!! <<< */



#Page-Of-Total-Pages {
  white-space: nowrap;
}

#allarticlecontent {
  margin: 5px;
}

#metadata table,
.player-table table,
#bidding table {
  border-collapse: collapse;
}

.player-table {
  min-height: 5em;
}

#cardtable {
  border-collapse: collapse;
  margin: 0em auto;
  /*AEK temp change from 1em*/
}

#cardtable #Dealer-Vuln-Scoring {
  float: right;
  min-width: 10em;
  margin-right: 1.4em;

}

#cardtable td,
#cardtable th {
  border: 0px solid black;
  padding: 0;
  vertical-align: top;
}

#cardtable th {
  font-weight: bold;
  text-align: left;
}

#cardtable ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

#cardtable ol li {
  white-space: nowrap;
}

#cardtable ol li span.suit {
  padding: 0 0.1em 0 0.1em;
}

img.suit {
  height: 1em;
  display: inline;
}

#cardtable ol li span {
  height: 1em;
}

#cardtable ol li span.club,
#cardtable ol li span.spade {
  color: black;
}

#cardtable ol li img {
  width: 1em;
  height: 1em;
  float: left;
  max-width: 1em;
}

#cardtable #hand-container {
  min-width: 10em;
}

#cardtable #East-cards {
  margin-left: .4em;
  float: left;
  min-width: 10em;
}

#cardtable #Contract-Lead {
  margin-top: 1em;
  margin-right: 1.4em;
  float: right;
  min-width: 11em;
}

#cardtable #West-cards {
  width: auto;
  float: right;
  margin-right: .4em;
}

.noshow {
  visibility: hidden;
  display: none;
}

/* AEK change to introduce show class Start*/
.show {
  visibility: visible;
  /* display: unset;*/
}

/* AEK change to introduce show class End*/


#cardtable #South-cards {
  margin-top: .2em;
}

/* #greenNESWtd {
  max-height: 4.0em;
  max-width: 4.0em;
} */

/* #ddacontainer {} */

.wife-container {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  text-align: center;
}

.wife-container img {
  max-width: 400px;
  max-height: 400px;
  display: block;
  border-width: 10px;
  border-color: #b09d0d;
  border-style: solid;
  object-fit: cover;
}



#dda {
  position: absolute;
  /* top: 50%;
  right: 50%; */
  background-color: #e2ffd6;
  border: 1px black;
  font-size: .7em;
  font-weight: normal;
  float: left;
}

#dda th {
  text-align: center;
  font-weight: bold;
}

#dda th {
  text-align: center;
  font-weight: bold;
}

#dda td {
  text-align: center;
}

/* .ddatip {
} */

.ddatip-text {
  background: #5cef2249;
  color: #000;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  position: absolute;
}

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

#ddabtn {
  align-self: center;
  /* position: absolute;
  top: 50%; */
  /*Moves button to the middle vertically */
  /* left: 50%; */
  /* Moves button to the middle horizontally */
  /* transform: translate(-50%, -50%); */
  /* Centers the button */
  /* padding: 1px 1px; */
}

#Bidding {
  border-collapse: collapse;
  margin: 1em auto;
}

#Bidding th {
  font-weight: bold;
  text-align: left;
  padding: 0 0 0 1em;
}

#Bidding td {
  padding: 0 0 0 1em;

}

#greenNESW {
  height: 4.8em;
  width: 4.8em;
}

#greenNESW img {
  margin: 0em;
}

#Bidding-notes {
  margin: 0.5em 0 1em 1em;
}

#Commentary {
  margin: 1em 0;
}

.no-wrap {
  white-space: nowrap;
}

#Forum {
  margin: 1em 0;
}


.article-header {
  text-align: center;
}

@media screen and (min-width: 760px) {
  #deal-container {
    width: 50%;
    float: left;
  }
}

@media screen and (min-width: 760px) {
  #Commentary {
    width: 50%;
    float: left;
  }
}

@media screen and (min-width: 760px) {
  #Forum {
    width: 50%;
    float: left;
    color: green;
  }
}