@import url('https://fonts.googleapis.com/css?family=Noto+Sans');

.button_red {
    padding:10px;
    background-color: #ff0000;
    color: #ffffff;
    border-radius: 6px;
	  -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    text-decoration: none;
    cursor:pointer;
}

.playbutton {
    text-align:center;
    text-transform: uppercase;
    margin: 10px;
}

table {
    white-space: normal;
    line-height: normal;
    font-weight: normal;
    font-size: inherit;
    font-variant: normal;
    font-style: normal;
}


.outline {
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
    font-size: 1em;
}

#gamebody {
    position: relative;
}

.gametext {
  font-size: 12px;
}

#overall {
    top: 0px;
    left: 0px;
    position: absolute;
    width:100%;
    height:100%;
    z-index: 200000;
}

#overallouter {
    background-color: rgba(0,0,0,0.3);
    padding: 5%;
    padding-top:5%;
    color: #ffffff;
    text-align: right;
    cursor: pointer;
}

#overallinner {
   font-family: 'Noto Sans', sans-serif;
   padding: 5%;
   background-color: white;
   -moz-border-radius: 6px;
   -webkit-border-radius: 6px;
   border-radius: 6px;
   color: #000000;
   text-align: left;
   cursor: auto;
}

.resultsbtn {
    color:#26397a;
    cursor:pointer;
}

.resultsbtn:hover {
    text-decoration:underline;
}

img.displayed {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.floatleft {
    float: left;
    width: 15%;
    padding: 5px 25px;
}
.floatleftbutton {
    background-color: blue;
}

.toosmall {
    display:none;
}

.hintlink {
    font-weight: bold;
    color:#26397a;
    cursor: pointer;
}

.gamelink {
    cursor: pointer;
}
/*
#biggerdiv {
    font-size: 12px;
}
*/
#bigdiv {

    font-size: 12px;

    background-color: #48B8D5;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;/* for live players */
}

#closeall {
    cursor:pointer;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: .3;
    z-index: 100000;
}

/* menu */

#playscreen_gamemenu {
    table-layout: fixed;
	  width:100%;
    height: 52px;
    border-spacing: 5px;
    border-collapse: separate;
    z-index: 20000;
}

#playscreen_gamemenu td {
    text-align: center;
    background-clip: padding-box;
    border: none;
}

#playscreen_gamemenu td.gamemenu {
    font-weight: bold;
    color: #26397a;
    text-align: center;
}
#playscreen_gamemenu td.gamemenu#playscreen_handinfo_home {
    text-align: left;
}
#playscreen_gamemenu td.gamemenu#playscreen_handinfo_deal {
    text-align: right;
}
.joanbtn {
  width: 60px;
  text-align: center;
  padding: 3px;
  border-radius: 5px;
  margin-left: 10px;
  margin-right: 10px;
  background-color: #D7E9F7;
  color: #3A3A3B;
}
#playscreen_gamemenu td#menu_contract {
    font-weight:bold;
}


#playscreen_gamemenu td#menu_contract:hover{

}
.menu_contract_info {
    color:#757d97;
}

#playscreen_gamemenu td#menu_tricks {
  /*
    text-align: left;
    padding-left:15px;
*/
    color: #26397a;
    /*color: #ffffff;*/
    font-weight:bold;
}

#playscreen_gamemenu td#menu_tricks:hover
.menu_contract_info {
    color:#757d97;
}

#playscreen_gamemenu td.hashover:hover {
    color: #516094;
}

#playscreen_table_new {
    position: relative;
    margin: auto;
}

#allcards {
    position:absolute;
    width:100%;
    height:100%;
}

#playscreen_auction {
    display:none;
    z-index: 70000;
    position: absolute;
    left: 10%;
    width: 80%;
    bottom: 20%;
    min-height: 32%;
    background-color:rgba(255, 255, 255, .9);
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}
@media screen and (min-width: 600px) {
  #playscreen_auction {
    left: 20%;
    width: 60%;
  }
}

#playscreen_auction.review {
    z-index: 120000;
}

#playscreen_auction.currentlyredealing {
    background-color:#ffffff;
}

table.auctiontable {
    margin: 4px auto 0;
    width: 96%;
	  table-layout:fixed;
}

table.auctiontable td {
    text-align: center;
    color: #244f4f;
    border:none;
}

#gamebody table td{
  border: none;
}

.auctiontable .thisplayersbid {
    opacity: 1;
    font-weight:bold;
}

.auctiontable .canmoveseat{
  background-color:rgba(255, 255, 255, .6);
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

.auctiontable .canmoveseat:hover{
  background-color:rgba(255, 255, 255, 1);
}

table.auctiontable td.gamebid {
    color: #000000;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background-color:rgba(255, 255, 255, .6);
    cursor:pointer;
    border:none;
}

td.redealimg {
    background: url('https://bridgeonline.co.nz/assets/images/reload.png') no-repeat;
    background-position: left center;
    background-size: auto 100%;
    width:10%;
}

td.settingsimg {
    background: url('https://bridgeonline.co.nz/assets/images/cog.png') no-repeat;
    background-position: right center;
    background-size: auto 100%;
    width:10%;
}

.gamebid:hover {
    background-color:rgba(255, 255, 255, 1);
}

table.auctiontable td.alertThisBidLoudly {
    background-color:rgba(137, 189, 235, .6);
}

#playscreen_userinfo {
	/*padding:10px;*/
	position: static;
	background-color: #ffffff;
	text-align:center;
	margin:5px auto 0;
	min-height:28px;
}

/* bidding */

.bidwheel {
    margin:5px auto 0;
    padding-bottom:1px;
    max-width:800px;
}

#playscreen_bidbox {
    margin: 5px;
    visibility:hidden;
}


#playscreen_bidbox_top {

   -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    display: table;
	  table-layout:fixed;
	  vertical-align: middle;
    width:100%;
    background-color:rgba(255, 255, 255, 0.8);
    border-spacing: 5px;
    border-collapse: separate;
    /*border-color: black;*/
    border: none;
}

#playscreen_bidbox_bids {
    display:table-row;
	  vertical-align: middle;
}

#playscreen_bidbox_top .bidbtn {
  border: none;
}

.bidbtn {
	  display: table-cell;
	  vertical-align: middle;
    text-align: center;
    font-weight: normal;
    font-family: Arial;
    color: #000000;
    cursor: pointer;
    border: none;
}

.bidbtnarrow {
	display: table-cell;
	vertical-align: middle;
    text-align: center;
    font-weight: normal;
    font-family: Arial;
    color: #000000;
}

.bidbtnMid {
	  display: table-cell;
	  vertical-align: middle;
    text-align: center;
    font-weight: normal;
    font-family: Arial;
    color: #ffffff;
}

.BBhovertable-PlusMinus {
    color:red;
    cursor: pointer;
    background-color: #ffffff;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

.BBhovertable-PlusMinus:hover{
    background-color: #e50000;
    color:#ffffff;
}

.BBBigBlackContact {
	padding: 4px;
    background-color: #ff0000;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;

}

.BBBigBlackContact:hover {
    background-color: #e50000;
}

.selectBid {
    background-color:rgba(255, 255, 255, 0.6);
    color: #000000;
}

.selectBid:hover{
    background-color:rgba(255, 255, 255, 1);
    color: #ff0000;
}

.FullBidImages {
    display:none;
}

.selectBid .FullBidImages {
    display:inline;
}

.bidsurroundmid {
    margin:5px auto 0;
    margin-top:0px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

.bidsurround {
    background-color:rgba(255, 255, 255, 0.6);
    margin:5px auto 0;
    margin-top:0px;
    max-width: 50px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

.bidsurround:hover{
    background-color:rgba(255, 255, 255, 1);
}

.newcard {
    position: absolute;
    height:16%;
    width:7.5%;
    cursor:pointer;
    opacity: 0;
}

.newcardm {
    opacity: 1;
}

.cardactive {
    -moz-box-shadow: 0 0 1px 1px #ffff00;
    -webkit-box-shadow: 0 0 1px 1px #ffff00;
    box-shadow: 0 0 1px 1px #ffff00;

}

#playscreen_table_new.hashover .cardactive:hover {
    transform: scale(1.2);
}

.cardselected {
    transform: scale(1.2);
}

.SCardSet { background: url('https://bridgeonline.co.nz/assets/images/sbc-cards-s.png') no-repeat; }
.HCardSet { background: url('https://bridgeonline.co.nz/assets/images/sbc-cards-h.png') no-repeat; }
.DCardSet { background: url('https://bridgeonline.co.nz/assets/images/sbc-cards-d.png') no-repeat; }
.CCardSet { background: url('https://bridgeonline.co.nz/assets/images/sbc-cards-c.png') no-repeat; }

.SCardSet { background-size: 1300% 100%;}
.HCardSet { background-size: 1300% 100%;}
.DCardSet { background-size: 1300% 100%;}
.CCardSet { background-size: 1300% 100%;}

.front {
    position: absolute;
    height:100%;
    width:100%;
}

.frontm {
    position: absolute;
    height:100%;
    width:100%;
	  width:100%;
	  height:100%;
	  opacity: 1;
}

.back {
	width:100%;
	height:100%;
	opacity: 0;
	background: url('https://bridgeonline.co.nz/assets/images/sbc-cards-back.png') no-repeat;
	background-size: 100% 100%;
}

.backm {
    position: absolute;
	  display: none;
}

.newc14 {
    background-position: 0% 0%;
}
.newc02 {
    background-position: 8.33% 8.33%;
}
.newc03 {
    background-position: 16.66% 16.66%;
}
.newc04 {
    background-position: 25% 25%;
}
.newc05 {
    background-position: 33.33% 33.33%;
}
.newc06 {
    background-position: 41.66% 41.66%;
}
.newc07 {
    background-position: 50% 50%;
}
.newc08 {
    background-position: 58.33% 58.33%;
}
.newc09 {
    background-position: 66.66% 66.66%;
}
.newc10 {
    background-position: 75% 75%;
}
.newc11 {
    background-position: 83.33% 83.33%;
}
.newc12 {
    background-position: 91.66% 91.66%;
}
.newc13 {
    background-position: 100% 100%;
}

.newd14 {
    background-position: 0% 0%;
}
.newd02 {
    background-position: 8.33% 8.33%;
}
.newd03 {
    background-position: 16.66% 16.66%;
}
.newd04 {
    background-position: 25% 25%;
}
.newd05 {
    background-position: 33.33% 33.33%;
}
.newd06 {
    background-position: 41.66% 41.66%;
}
.newd07 {
    background-position: 50% 50%;
}
.newd08 {
    background-position: 58.33% 58.33%;
}
.newd09 {
    background-position: 66.66% 66.66%;
}
.newd10 {
    background-position: 75% 75%;
}
.newd11 {
    background-position: 83.33% 83.33%;
}
.newd12 {
    background-position: 91.66% 91.66%;
}
.newd13 {
    background-position: 100% 100%;
}
.newh14 {
    background-position: 0% 0%;
}
.newh02 {
    background-position: 8.33% 8.33%;
}
.newh03 {
    background-position: 16.66% 16.66%;
}
.newh04 {
    background-position: 25% 25%;
}
.newh05 {
    background-position: 33.33% 33.33%;
}
.newh06 {
    background-position: 41.66% 41.66%;
}
.newh07 {
    background-position: 50% 50%;
}
.newh08 {
    background-position: 58.33% 58.33%;
}
.newh09 {
    background-position: 66.66% 66.66%;
}
.newh10 {
    background-position: 75% 75%;
}
.newh11 {
    background-position: 83.33% 83.33%;
}
.newh12 {
    background-position: 91.66% 91.66%;
}
.newh13 {
    background-position: 100% 100%;
}
.news14 {
    background-position: 0% 0%;
}
.news02 {
    background-position: 8.33% 8.33%;
}
.news03 {
    background-position: 16.66% 16.66%;
}
.news04 {
    background-position: 25% 25%;
}
.news05 {
    background-position: 33.33% 33.33%;
}
.news06 {
    background-position: 41.66% 41.66%;
}
.news07 {
    background-position: 50% 50%;
}
.news08 {
    background-position: 58.33% 58.33%;
}
.news09 {
    background-position: 66.66% 66.66%;
}
.news10 {
    background-position: 75% 75%;
}
.news11 {
    background-position: 83.33% 83.33%;
}
.news12 {
    background-position: 91.66% 91.66%;
}
.news13 {
    background-position: 100% 100%;
}

* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

* {
    -webkit-touch-callout: none !important;
}


#gamebody {
  /*margin-top:150px;*/
  height:100%;
}

#startgamescreen{
  margin: auto;
}
@media screen and (max-width: 960px) {
  #startgamescreen{
  }
}
@media screen and (max-width: 600px) {
  #startgamescreen{
  }
}


#bigdiv {
  /*height:100%;*/
  height:calc(100% - 40px);
}
#playscreen_table_new{
  height:calc(100% - 94px);
}

.bidwheel{
  height:52px;
}
/*
@media screen and (min-width: 480px) {

    #biggerdiv {
      font-size: 16px;
    }

    #bigdiv {
      font-size: 16px;
    }

    .gametext {
      font-size: 16px;
    }

    #playscreen_gamemenu {
	    height: 52px;
	  }
	  .toosmall {
	    display:inline;
	  }
	 .trailingspace {
        display: inline;
    }
    #playscreen_auction {
	    left: 15%;
	    width: 70%;
	  }
}
@media screen and (min-width: 770px) {
    #biggerdiv {
        font-size: 18px;
    }

    #bigdiv {
      font-size: 18px;
    }

    .gametext {
      font-size: 18px;
    }

    #playscreen_auction {
	    left: 27%;
	    width: 46%;
	  }
    #overallouter {
      padding: 20%;
      padding-top:20px;
    }
    #ladder {
      font-size:16px;
    }
    #Results {
      max-width: 150px;
    }
}

@media screen and (min-width: 980px) {
    #biggerdiv {
        font-size: 20px;
    }

    #bigdiv {
      font-size: 20px;
    }

    .gametext {
      font-size: 20px;
    }

    #playscreen_auction {
	    left: 35%;
	    width: 30%;
	  }
}
*/
