@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700;800&display=swap');

.text_align_center{ text-align:center;}

#bkg_game_board{
  position:relative;
  font-family: proxima-nova,'Montserrat', sans-serif;
  color: #373737;
  min-height:600px;
  max-width: 1280px;
  margin:0px auto;
  padding: 0 40px 40px;
}
#bkg_game_board p{
  font-family: proxima-nova,'Montserrat', sans-serif;
  color: #373737;
  font-size: 16px;
  line-height: 27px;
}

#bkg_game_header{
  position: relative;
  min-height:85px;
}
#bkg_game_header:before{
  position: absolute;
  content: "";
  display: block;
  background-image: url("http://www.playpoliticalcapital.com/wp-content/uploads/2024/07/stars.svg");
  background-size: 150px 150px;
  width: 150px;
  height: 150px;
  z-index: -1;
}
#bkg_game_header:after{
  position: absolute;
  content: "";
  display: block;
  background-image: url("http://www.playpoliticalcapital.com/wp-content/uploads/2024/07/stars.svg");
  background-size: 150px 150px;
  width: 150px;
  height: 150px;
  right: 0;
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  z-index: -1;
}

#bkg_game_header, .bottomhr {
  display: flex;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
  color: #373737;
}

#bkg_game_header img{ 
  max-width:75px;
}
#bkg_game_header h1{ 
  color: #373737;
  font-weight: bold;
  font-family: proxima-nova,'Montserrat', sans-serif;
  font-size: 60px;
  line-height: 72px;
  margin-bottom: 15px;
  text-transform: capitalize;
  margin:0 auto;
  padding:3% 150px;
}

#bkg_game_board h2 {
  color: #373737;
  font-weight: bold;
  font-family: proxima-nova,'Montserrat', sans-serif;
  font-size: 40px;
  line-height: 50px;
}
#bkg_game_board .start_msg{
  display:block;
  font-weight:bold;
  font-size: 30px;
  color: #103d47;
  padding: 200px 0;
  text-align:center;
  text-transform: capitalize;
}
#bkg_game_board h2.token_header{
  margin-bottom: 20px;
}

#bkg_game_board h2.round_title{
  margin-top: -15px;
  margin-bottom: 15px;
  font-size: 35px;
}
#bkg_game_board h2.round_title span {
  font-size: 25px;
  color: #e07026;
}

#bkg_game_board h3 {
  color: #103d47;
  font-weight: bold;
  font-family: proxima-nova,'Montserrat', sans-serif;
  font-size: 30px;
  line-height: 35px;
  text-transform: capitalize;
}
#bkg_game_board h3.reset_warning {
  font-size: 24px;
}
#bkg_game_board .waiting_message {
  margin-top: 125px;
  text-align: center;
  color: #E07026;
}
#bkg_game_board h4 {
  color: #373737;
  font-weight: bold;
  font-family: proxima-nova,'Montserrat', sans-serif;
  font-size: 24px;
  line-height: 30px;
}

#bkg_game_board ul{
  margin-left: 30px;
  margin-bottom:20px;
}
#bkg_game_board ul li{
  list-style: disc;
}


#player_screen{
  position:relative;
  padding: 20px 0;
  border-top: 5px solid #E07026;
  border-bottom: 5px solid #E07026;
  min-height: 400px;
  margin-bottom: 30px;
}

#player_screen #roundofround {
    text-align: right;
    font-weight: bold;
    color: #E07026;
    margin-top: -15px;
    margin-right: 30px;
}
#player_screen #roundofround span{
  font-size: 10pt;
  color:#000;
}

#bkg_game_board .roundintro{ 
  display:block;
  text-align:center;
  padding:150px 50px;
}
#bkg_game_board .roundintro h2{
  color:#ffffff;
  font-size:40px;
  padding:20px 50px;
}
#bkg_game_board .roundintro p{
  color:#ffffff;
  font-size:35px;
}
#bkg_game_board .waitinground{
  display:block;
  text-align:center;
  padding:150px 50px;
}
#bkg_game_board .waitinground h2{
  font-size:40px;
  padding:20px 50px;
}
#bkg_game_board .wildcardintro{
  display:block;
  text-align:center;
  padding:180px 50px;
}
#bkg_game_board .wildcardintro h2{
  font-size:50px;
  padding:20px 50px;
}

#register_player_form_div{
  text-align:center;
  padding: 50px;
}


#register_player_form div{
  padding: 3px;
}
#register_player_form .f_input{
  display: inline-block;
  width: 300px;
  border: none;
  background: #ddd;
  padding: 11px;
}
#register_player_form .f_label{
  display:inline-block;
  width: 100px;
  text-align:left;
}

#start_game_button{
  position: absolute;
  left: 50%;
  transform: translate( -50%, -200px);
}


.bkg-button{
	background: #103d47;
	color:#ffffff;
	padding: 10px 20px;
	text-transform: uppercase;
	border: solid 1px #103d47;
	margin:20px 0;
  cursor:pointer;
}
.bkg-button:hover{
	color: #103d47;
	background: #fff;
}
.red-button{
  background-color:#cd4815;
  border: solid 1px #cd4815;
}
.center-button{
  display:block;
  margin: 20px auto;
}


/**********************************************************************************************
/* GAME TOKENS 
 *********************************************************************************************/
h2.tokens_header{
  margin-bottom: 20px;
}
.bkg_game_tokens{
  display: flex;
  /* gap: 30px; */
  margin-top: 20px;
  margin-bottom: 40px;
  justify-content: center;
}
.bkg_game_tokens > * + * { margin: 0 0 0 4%; }  /* USE INSTEAD OF GAP */

.bkg_game_token{
  position: relative;
  border-width: 2px;
  border-style: solid;
  border-color: #373737;
  border-radius: 10px;
  text-align: center;
  min-height: 228px;
  min-width: 175px;
  width: 100%;
  background-color: #ffffff;
}
.bkg_game_token_row{
  position: relative;
  width: 23%;
}
.bkg_game_token_group{
  margin-bottom: 30px;
}
.bkg_game_token_label{
  color: #fff;
  padding: 8px 0 8px 0;
  font-size: larger;
  font-weight: 700;
  border-radius: 10px 10px 0 0;
}
.bkg_game_token_icon{
  padding: 48px 0 15px 0;
}
.bkg_game_token_value{
  position: absolute;
  margin-top:10px;
  font-weight: bold;
  font-size: 24px;
  color: #373737;
  text-align: center;
  display: block;
  width: 100%;
}
.bkg_game_token_type{
  font-weight: 500;
  margin-bottom: 20px;
}
.bkg_game_token_desc{
  padding: 15px 0 20px;
}
.bkg_game_token_select{
  position: absolute;
  bottom: 0;
}
.bkg_game_token_select select{
  padding: 5px;
  border-radius: 5px;
  background:#f1f1f1;
  margin-left: 10px;
}

/**********************************************************************************************
/* WILD CARDS
 *********************************************************************************************/
#wild_cards_container .bkg_game_token_icon{
  position:relative;
}
#wild_cards_container .wildcard_cards_desc{
  margin-bottom: 20px;
  text-align:center;
}
#wild_cards_container .bkg_game_token_icon:before {
  position: absolute;
  top: 11px;
  content: ' -1 ';
  font-weight: bold;
  font-size: 24px;
  color: #950000;
  text-align: center;
  display: block;
  width: 100%;
}


/**********************************************************************************************
/* GAME OPPONENTS TOKEN RESULTS PAGE 
 *********************************************************************************************/
.bkg_game_results_table_div{
  display: flex;
  margin-top:10px;
  margin-bottom: 40px;
  justify-content: center;
}
.bkg_results_token{
  position: relative;
  text-align: center;
  min-height: 228px;
 /* min-width: 175px; */
  width: 100%;
  padding-bottom: 20px;
  background-color: #ffffff;
}
.bkg_results_token div{
  display:flex;
  justify-content: center;
  align-items: center;
}
.bkg_results_token .bkg_game_results_icon{
  height: 130px;
}
.bkg_results_token .bkg_game_results_type{
  height:50px;
  font-weight:bold;
  color:#fff;
}

.bkg_results_token .bkg_game_results_value{
  height:50px;
  border: solid 1px #c7c7c7;
}

/**********************************************************************************************
/* GAME RESULTS PAGE
 *********************************************************************************************/
.bkg_game_notes{
  background: #f1f1f1;
  padding: 15px;
  margin-bottom: 20px;
  text-align: center;
}
.bkg_game_results_table{
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}
tr.td_type_imgs{
  text-align:center;
}
tr.td_token_types td{
  font-size: 18px;
  font-weight:bold;
  color:#fff;
  text-align:center;
  padding: 20px 0 12px;
}
tr.td_token_value_header td{
  font-weight:bold;
  color:#fff;
  font-size: 7pt;
  padding: 0 3px;
  text-align:center; 
}
tr.td_token_value_header td:nth-child(n+2):nth-child(-n+21){
  width:40px;
}
tr.td_p_values td, tr.td_o_values td, tr.td_token_totals td{
  padding: 20px 0;
  text-align: center;
  border-bottom: solid 1px #c7c7c7;
}
tr.td_p_values td:nth-child(1n+2), tr.td_o_values td:nth-child(1n+2){
  font-size: 14px;  
}
tr.td_p_values td:first-child{
  text-align: left;
  padding-left: 10px;
  padding-right: 10px;
  border-top: solid 1px #c7c7c7;
  border-left: solid 1px #c7c7c7;
}
tr.td_o_values td:first-child{
  text-align: left;
  padding-left: 10px;
  border-left: solid 1px #c7c7c7;
}
tr.td_token_totals td:first-child{
  text-align: left;
  padding-left: 10px;
  padding-right: 10px;
  border-left: solid 1px #c7c7c7;
  border-bottom: solid 7px #000;
}
tr.td_token_totals td:last-child{
  border-bottom: solid 7px #000; 
}
tr.td_p_values td:nth-child(5n+1), tr.td_o_values td:nth-child(5n+1), tr.td_o_values td:last-child, tr.td_token_totals td{
  border-right: solid 1px #c7c7c7;
}
tr.td_o_values td:last-child{
  padding: 0 10px;
}

tr.td_p_values td:nth-child(5n+4), tr.td_o_values td:nth-child(5n+4){
  font-size: 16px;
  color: #28a745;
  font-weight:bold;
}
tr.td_p_values td:nth-child(5n+6), tr.td_o_values td:nth-child(5n+6){
  font-weight:bold;
  font-size:16px;
}

tr.td_token_totals td:nth-child(n+2){
  font-weight:bold;
  font-size:20px
}

.net_votes_sub {
  display: block;
  font-weight: bold;
  font-size: 10pt;
}

.scoregreen{ color: #28a745; }
.scorered { color: #950000; }

#bkg_game_board h2.anyquestions{
  display:block;
  text-align:center;
  color:#ffffff;
  font-size:40px;
  line-height: 50px;
  padding:200px 50px;
  background:#1CA1B8;
}


/**********************************************************************************************
 *  LEADERBOARD
 *********************************************************************************************/
#bkg_game_leaderboard_table_div{
  margin-bottom:40px;
}
#bkg_game_leaderboard_table{
  border-collapse: collapse;
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
}
#bkg_game_leaderboard_table tr.page-item:not(.active){
  display:none;
}
#bkg_game_leaderboard_table th{
  background-color: #e07026;
  border: solid 1px #e07026;
  font-weight: bold;
  color: #fff;
  padding: 10px 30px;
}
#bkg_game_leaderboard_table td{
  border: solid 1px #c7c7c7;
  background: #f5f5f5;
  padding: 5px 10px;
  text-align: center;
}
#bkg_game_leaderboard_table tr:nth-child(odd) td{
  background:#ffffff;
}
#bkg_game_leaderboard_table tr td:first-child{
  text-align: left; 
}
#bkg_game_leaderboard_table tr#leaderboard_pages td{
  background:#fdf2ec;
  border:solid 1px #e9dbd4;
}
#bkg_game_leaderboard_table .navs{
  display:inline-block;
  padding:3px 15px;
  font-weight:bold;
  cursor:pointer;
}
#bkg_game_leaderboard_table .disabled{
  cursor: default;
  color:#d1d1d1;
} 

/**********************************************************************************************
/* LEAST VS MOST IMPORTANT TACTIC TABLE 
 *********************************************************************************************/
#tatic_block.admin{
  margin-bottom: 30px;
}
#tatic_block{
  margin-bottom: 20px;
}
#tatic_block td{
  font-weight:bold;
  font-size: 20px;
  padding: 15px;
}
#tatic_block.admin td{
  padding: 7px;
}
#tatic_block td:first-child{
  text-align:center;
}
#tatic_block table img{
  width: 100%;
  max-width:60px;
  min-width: 35px;
}
#tatic_block.admin table img{
    max-width:40px;
}
#tatic_block .highest_icon, #tatic_block .middle_icon, #tatic_block .lowest_icon{
  margin: 0 auto;
  width:100%;
  max-width: 35px;
  height:auto;
}



/**********************************************************************************************
/* ADMIN PLAYERS TABLE 
 *********************************************************************************************/
#players_table_div{
  border-top: 5px solid #E07026;
  margin-top: 30px; 
  padding-top: 20px;
}
#players_table{
  border-collapse: collapse;
  margin-bottom: 50px;
}
#players_table th, #players_table td{
  padding: 5px 15px;
  border: solid 1px #ebebeb;
  background-color: #fff;
}
#players_table th{
  background-color: #ebebeb;
  text-align:left;
}
#players_table tr:nth-child(odd) td, #players_table tr:nth-child(odd) td{
  background-color: #f1f1f1;
}

#bkg_game_quickview{
  position: absolute;
  left: 0;
  margin-top: -26px;
  border-radius: 5px;
  background: #e07026;
  color: #fff;
  padding: 5px 8px;
}


.highest_value, .middle_value, .lowest_value{
  position:relative;
}
.highest_value:after {
  position: absolute;
  content: "";
  display: block;
  background-image: url(icons/check.png);
  background-size: 35px 35px;
  width: 35px;
  height: 35px;
  top: -10px;
  left: 63%;
}
.middle_value:after {
  position: absolute;
  content: "";
  display: block;
  background-image: url(icons/mediocre.png);
  background-size: 35px 35px;
  width: 35px;
  height: 35px;
  top: -10px;
  left: 63%;
}
.lowest_value:after {
  position: absolute;
  content: "";
  display: block;
  background-image: url(icons/x.png);
  background-size: 35px 35px;
  width: 35px;
  height: 35px;
  top: -10px;
  left: 63%;
}
.winner_icon{ 
  position:relative;
}
.winner_icon:before{
  position: absolute;
  content: "";
  display: block;
  background-image: url(icons/winner-icon.png);
  background-size: 15px 15px;
  width: 15px;
  height: 15px;
  left: -30px;
  top: 50%;
  transform: translate(0, -50%);
}


/**********************************************************************************************
/* RULES SLIDE UP WINDOW 
 *********************************************************************************************/
#rules_slideout{
  position: absolute;
  bottom: -30px;
  width:100%;
}
#rules_slideout_button{
  position: absolute;
  top: -45px;
  right:100px;
  border: solid 1px #4D6266;
  padding: 10px 30px 10px 15px;
  background: #4D6266;
  color: #fff;
  font-weight: bold;
  text-align: center;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
}
#rules_slideout_button:after{
  position:absolute;
  content: ' ';
  display: inline-block;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  height: 6px;
  width: 6px;
  margin-top:9px;
  margin-left: 10px;
  transform: rotate(227deg);
}
#rules_slideout_button.open:after{
  margin-top:5px;
  transform: rotate(45deg);
}
#rules_slideout_content{
  display:none;
  background: #fff;
  height: 525px;
  overflow: auto;
  border: solid 1px #4D6266;
  padding: 30px;
}


/**********************************************************************************************
/* *  POPUP SUBMIT CHECK WINDOW
 *********************************************************************************************/
.popup {
  position:fixed;
  top:0px;
  left:0px;
  background:rgba(0,0,0,0.75);
  width:100%;
  height:100%;
  display:none;
  z-index:999;
}
 
/* Popup inner div */
.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);  
  max-width: 500px;
  min-width: 275px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 25px 40px 10px;
  box-shadow: 0px 2px 6px rgba(0,0,0,1);
  border-radius: 5px;
  background: #fff;  
}
.popup-content h2{
  background: #dfdfdf;
  padding-bottom: 0;
  margin-bottom: 20px;
}
.popup-content div{
  font-weight:bold;
  font-size:24px;
  padding: 5px;
}
 
/* Popup close button */
.close-button {
  width: 35px;
  height: 35px;
  position: absolute;
  top: -12px;
  right: -10px;
  border-radius: 20px;
  background: rgb(255 255 255 / 95%);
  border: solid 1px #d5d5d5;
  font-size: 29px;
  box-shadow: 0px 2px 6px rgb(80 80 80 / 81%);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: #a80000!important;
  text-decoration: none;
}
 
.close-button:hover {
  background: #a80000;
  color:#ffffff !important;
}

#quickview_div{
  display:none;
  background:#f1f1f1;
  border: solid 1px #dddddd;
  padding: 20px 20px 0;
  margin-bottom: 30px;
}
#quickview_screen{background:#f1f1f1; }
#holding_data, #g_status{display:none;}


/**********************************************************************************************
/* *  Mobile Styles
 *********************************************************************************************/

@media only screen and (max-width: 880px) {
  #bkg_game_header:before, #bkg_game_header:after{
    width: 75px;
    height: 75px;
    background-size: 75px 75px;
  }
  #bkg_game_header h1{ 
    font-size: 45px;
    line-height: 55px;
	padding:0 75px;
  }
  .bkg_game_results_table_div, #bkg_game_leaderboard_table_div{ overflow-x:auto; }

}



@media only screen and (max-width: 767px) {
  #bkg_game_board{ min-height: unset; }
  #bkg_game_header h1{ 
    font-size: 35px;
    line-height: 50px;
    margin-bottom:0;
    padding-bottom:0;
  }
  #bkg_game_board ul{ margin-left: 0px; }
  #bkg_game_header{ margin-bottom: 10px; }
  #bkg_game_board{ margin: 15px auto; padding: 0 15px 20px; }
  #bkg_game_board h2, #bkg_game_board h2.round_title{ font-size: 28px; line-height: 32px; margin-top:0; }
  #bkg_game_board h3{ font-size: 25px; line-height: 30px; }
  #bkg_game_board .start_msg{ padding: 92px 10px; }
  #register_player_form_div{ padding: 15px; }
  #register_player_form{ text-align:left; }
  #register_player_form .f_input{ width: 100%; }
  #player_screen{ min-height: 300px; }
  #player_screen #roundofround span{ font-size: 8pt; }
  #bkg_game_board .waiting_message{ margin-top: 45px; }
  
  .bkg_game_tokens{ flex-wrap: wrap; gap:unset; }
  .bkg_game_token_row{ width: 40%; margin-bottom: 30px; }
  
  .bkg_game_results_table_div{ margin-bottom: 0;}
  .bkg_results_token .bkg_game_results_icon{ height: 50px;}
  .bkg_game_results_table_div .bkg_results_token:first-child .bkg_game_results_icon{ height: unset;}
  .bkg_game_results_table_div .bkg_results_token:first-child .bkg_game_results_type{ height: unset;}
  .bkg_game_results_icon{ position:absolute; margin: 50px 10px 0 50px; }
  .bkg_game_results_icon img{ width: 30px; height:auto; }
  
  #bkg_game_board h2.anyquestions{ font-size: 30px; line-height: 38px; padding: 106px 10px; }
  #bkg_game_board .roundintro{ padding: 75px 10px; }
  #bkg_game_board .roundintro h2{ font-size:32px; padding:20px 10px; }
  #bkg_game_board .roundintro h2 span{ display:block; font-size:24px; padding:10px; }
  #bkg_game_board .roundintro p{ font-size:25px; }
  
  #bkg_game_board .waitinground{ padding:75px 10px; }
  #bkg_game_board .waitinground h2{ font-size:32px; padding:20px 10px; }
  
  #bkg_game_board .wildcardintro{ padding:100px 10px; }
  #bkg_game_board .wildcardintro h2{ font-size:32px; padding:20px 10px; }
  
  #tatic_block tr{ display:flex; flex-direction: column; border-top:solid 1px #c0c0c0; }
  #tatic_block td:first-child{ position:absolute; left: 65px; }
  #tatic_block td:nth-child(2){ padding: 20px 10px 0; }  
  #tatic_block td{ font-size: 18px; padding: 10px; }
  
  .popup-content{ padding: 20px 20px 10px; }
  .popup-content div { font-size: 18px; }

  .bkg_game_results_table_div{ flex-direction: column; }
  .bkg_results_token{ min-height: unset; min-width: unset; }
  
  #bkg_game_leaderboard_table tr td:first-child{ padding-left: 20px; }
  .winner_icon:before{ left: -20px; }
  
  #rules_slideout{ width:90%; }
  #rules_slideout_button{ right: 50px; }
}

@media only screen and (max-width: 600px) {
  #bkg_game_header:before, #bkg_game_header:after{ top:-20px; width: 45px; height: 45px; background-size: 45px 45px; }	
  #bkg_game_header h1{ margin-top: 10px; padding:0;}
}

@media only screen and (max-width: 500px) {
  .bkg_game_tokens { flex-direction: column; align-items: center;}
  .bkg_game_tokens > * + * { margin: 0 0 30px 0; }  /* USE INSTEAD OF GAP */
  .bkg_game_token_row{ width: 100%; }  
  #bkg_game_board h2, #bkg_game_board h2.round_title{ text-align:center; }
  #player_screen #roundofround {text-align:center; margin: -12px auto 7px auto; }
}
