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

#rightdiv{
  height:100%;
}
#vplayer{
  /*border-bottom:3px solid #799f7c;
  height:90%;*/
}

#videobox {
  margin-bottom:0px;
  background-size: 100% 100%;
}

#livegamechat_input {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

#localbox {
  background-color: #72bedd;
}
#writebox{
  margin:5px;
  margin-bottom: 0px;
}
#writebox:focus {outline: none; }

body {
    font-family: 'Arial';
    /*background-color: #f6f6f6;*/
    background-color: #ffffff;
    margin: 0px;
    padding: 0px;
}

#admincontrolsouter > #admincontrols {
  visibility: hidden;
}
#admincontrolsouter:hover > #admincontrols {
  visibility: visible;
}

.admincontrol{
  cursor:pointer;
}

#overallinner-bottom img{
  display:block;
  width:100%;
  max-width:500px;
  margin-left: auto;
  margin-right: auto;
}

img.user-imgs{
  display:block;
  width:100%;
  max-width:500px;
  margin-left: auto;
  margin-right: auto;
}

.popupbtn {
    cursor:pointer;
}

/*results button is always popupbtn*/
.resultsbtn {
    color:#26397a;
}

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

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

.popupbtn-red:hover {
    background-color: #ff3232;
}

.popupbtn-blue {
    padding:10px;
    background-color: #26397a;
    color: #ffffff;
    border-radius: 6px;
	  -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    text-decoration: none;
    cursor:pointer;
}

.popupbtn-blue:hover {
    background-color: #516094;
}

.playername {
  color:#26397a;
  cursor:pointer;
  text-decoration: none;
}

.profiletest {
  color:#26397a;
  cursor:pointer;
  text-decoration: none;
}

.following {
  color:blue;
  text-decoration: underline;
}

/*textarea*/
.popup_new_comment{
    font-family: 'Arial';
	  margin-bottom: 10px;
	  height:169px;
	  border-color: #c4c4c4;
	  -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    font-size:16px;
    padding:5px;
    width: 100%;
}

/*button*/
.add_comment{
    border-color: #058BD3 !important;
    background-color: #058BD3 !important;
    color: #FFFFFF !important;
    border: 0px none;
    padding: 12px 32px;
    display: inline-block;
    padding: 11px 30px;
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    margin-bottom: 15px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    margin-right: 7px;
    background: none repeat scroll 0% 0% transparent;
    transition: all 0.5s ease 0s;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.add_comment:hover {
    background-color: #26397a !important;
}

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

#gamebody {
    position: relative;
}

.gametext {
  font-size: 12px;
}

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

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

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

#overallinner {
   font-family: 'Noto Sans', sans-serif;
   background-color: white;
   color: #000000;
   text-align: left;
   cursor: auto;
}

.overallouteradministrator #overallinner {
  min-height: 100%;
}

#overallinner-top{
  height:100px;
  padding-top: 10px;
  padding-left: 5%;
  padding-right: 5%;
  padding-bottom: 5%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
#overallinner-bottom{
	padding: 5%;
}

#ladder {
    margin: auto;
    border-collapse: collapse;
    font-size:12px;
}

#ladder th {
    color:#26397a;
    cursor:pointer;
}

.popupladder {
    margin: auto;
    width:100%;
    border-collapse: collapse;
}

.popupladder th {
    background-color:#adf;
    color:#26397a;
    cursor:pointer;
}

.popupladder div {
  display:none;
}

.ladder {
    margin: auto;
    width:100%;
    border-collapse: collapse;
    font-size:12px;
}

.ladder th {
    color:#26397a;
    cursor:pointer;
}

.pastresults{
  width:100%;
  border-collapse: collapse;
}

.pastresults thead tr {
  background-color:#72bedd;
}

.pastresults thead tr th:first-child {
  text-align:left;
}

.toosmall {
    display:none;
}

.largescreen {
    display:none;
}

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

.gamelink {
    cursor: pointer;
}

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

.lessonlink {
    text-decoration: underline;
    color : #26397a;
    cursor: pointer;
}

#biggerdiv {
    font-size: 12px;
}

#bigdiv {
    font-size: 12px;
    background-color: #ffffe8;
    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;
}

#playscreen_gamemenu td.gamemenu {
    font-weight: bold;
    color: #26397a;
    text-align: center;
    cursor:pointer;
}

#playscreen_gamemenu td.gamemenu#playscreen_handinfo_home {
    text-align: left;


    /*background: url('https://skybridgeclub.com/images/game/logo-sbc.png') no-repeat;*/
	  /*background: url('https://playbridgeonline.com/images/pbo-logo-clear.png') no-repeat;*/
    background: url('https://graemetuffnell.com/play/images/home.png') no-repeat;
    background-position: left center;
    background-size: contain;
    opacity: .4;
}



#playscreen_gamemenu td.gamemenu#playscreen_handinfo_deal {
    text-align: right;
    /*background: url('https://playbridgeonline.com/images/redeal.png') no-repeat;*/
    background: url('https://graemetuffnell.com/play/images/redeal.png') no-repeat;
    background-position: right center;
    background-size: contain;
    opacity: .4;
    color: red;
}
#playscreen_gamemenu td.gamemenu#playscreen_handinfo_home:hover {
    opacity: 1;
}
#playscreen_gamemenu td.gamemenu#playscreen_handinfo_deal:hover {
    opacity: 1;
}

#playscreen_gamemenu td#menu_contract {
    text-align: right;
    padding-right:15px;
    border-right: 1px solid #a3a3a3;
    color: #26397a;
    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;
    font-weight:bold;
}

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

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

/* table */

#playscreen_table_new {
    position: relative;
    margin: 0 auto;
    width: 98%;
}

#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:#e9e9e9;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

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

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

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

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

.auctiontable .canmoveseat{
  background-color:#ffffff;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

.auctiontable .canmoveseat:hover{
  background-color:#f7f7f7;
}

.hintThisBid {
	background-color:#ffffff;
}

.hintThisBid:hover {
	background-color:#f7f7f7;
}

table.auctiontable td.gamebid {
    color: #000000;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
	  background-color:#ffffff;
    cursor:pointer;
}

table.auctiontable td.gamebid:hover {
	background-color:#f7f7f7;
}

table.auctiontable td.alertThisBidLoudly {
	background-color:#72bedd;
}

#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;
	table-layout:fixed;
	vertical-align: middle;
    width:100%;
	background-color:#e9e9e9;
    border-spacing: 5px;
    border-collapse: separate;
}

#playscreen_bidbox_bids {
	  vertical-align: middle;
}

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

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

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

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

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

.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);
}

playscreen_bidbox_bids.eoh .BBBigBlackContact{
  background-color: #ffffff;
  color:#ff0000;
}

.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://skybridgeclub.com/images/game/sbc-cards-s.png') no-repeat; }
.HCardSet { background: url('https://skybridgeclub.com/images/game/sbc-cards-h.png') no-repeat; }
.DCardSet { background: url('https://skybridgeclub.com/images/game/sbc-cards-d.png') no-repeat; }
.CCardSet { background: url('https://skybridgeclub.com/images/game/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://skybridgeclub.com/images/game/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;
}

@media screen and (min-width: 480px) {

    #biggerdiv {
      font-size: 16px;
    }

    #bigdiv {
      font-size: 16px;
    }

    .gametext {
      font-size: 16px;
    }

    #playscreen_gamemenu {
	    height: 52px;
	  }
    .largescreen {
        display:table-cell;
    }
	 .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: 15%;
      padding-top:20px;
    }
    #overallouter.overallouteradministrator {
      padding: 0%;
      padding-top:0px;
    }
    #ladder {
      font-size:16px;
    }
    .ladder {
      font-size:16px;
    }
    #Results {
      max-width: 150px;
    }
}

@media screen and (min-width: 1100px) {
  .bstr{
    display:inline-block;
    margin-right: 10px;
  }
}
@media screen and (min-width: 980px) {

  .toosmall {
    display:inline;
  }
    #biggerdiv {
        font-size: 20px;
    }

    #bigdiv {
      font-size: 20px;
    }

    .gametext {
      font-size: 20px;
    }

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

#gamecomments {
    clear:both;
    margin: 20px auto 0;
    width: 86%;
	  font-family:Arial;
}

.video-container {
	margin:auto;
	max-width:500px;
}

.video {
	margin:auto;
	width: 100%;
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
}

.video iframe, .video object, .video embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}


/* comments.css */

.panel-default {
	margin-bottom:10px;
}

.panel-avatar{
	width:60px;
}

.panel-avatar img{
	width:60px;
	height:60px;
	margin:0;
	border-radius: 60px;
	filter: brightness(0.95);
}

.panel-avatar img:hover{
	filter: brightness(1);
}

.panel-main {
	background-color:#ffffff;
	padding:10px;
}

.panel-heading {
	background-color:#ffffff;
}

.panel-heading a:hover {
	text-decoration:underline;
}

.says {
	color:#gray;
}

.panel-body {
	background-color:#ffffff;
}

.panel-reply {
	width:100%;
	border-spacing: 0;
    border-collapse: collapse;
}

.panel-footer {
	margin-top:5px;
	margin-right:0px;
}
/*
.panel-footer-1 {
	margin-left:30px;
}
.panel-footer-2 {
	margin-left:60px;
}
.panel-footer-3 {
	margin-left:90px;
}
.panel-footer-4 {
	margin-left:120px;
}
.panel-footer-5 {
	margin-left:150px;
}
*/
.panel-footer-1 {
	margin-left:10px;
}
.panel-footer-2 {
	margin-left:20px;
}
.panel-footer-3 {
	margin-left:30px;
}
.panel-footer-4 {
	margin-left:40px;
}
.panel-footer-5 {
	margin-left:50px;
}

@media screen and (min-width: 600px) {
  /*
	.panel-footer-1 {
		margin-left:30px;
	}
	.panel-footer-2 {
		margin-left:60px;
	}
	.panel-footer-3 {
		margin-left:90px;
	}
	.panel-footer-4 {
		margin-left:120px;
	}
	.panel-footer-5 {
		margin-left:150px;
	}
  */
}

@media screen and (min-width: 800px) {
	.panel-footer {
		margin-top:5px;
	}

	.panel-footer-1 {
		margin-left:60px;
	}
	.panel-footer-2 {
		margin-left:120px;
	}
	.panel-footer-3 {
		margin-left:180px;
	}
	.panel-footer-4 {
		margin-left:240px;
	}
	.panel-footer-5 {
		margin-left:300px;
	}
}


.singlereply{
	float:right;
	display:block;
	width:40px;
	font-size:.9em;
	text-align:center;
	margin:auto;
	padding:3px;
  	background-color:#ffffff;
	color:#3854b4;
	text-decoration:none;
	cursor: pointer;
	border:none;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

.singlereply:hover{
  	background-color:#3854b4;
	color:#ffffff;

}


#comment_content  {
  font-family: inherit;
  font-size: inherit;
  height:60px;
  width:100%;
  padding: 5px;
  border: 2px solid #3854b4;
      -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.replytext{
  font-family: inherit;
  font-size: inherit;
  height:60px;
  width:100%;
  padding: 5px;
  border: 2px solid #3854b4;
      -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

input[type="submit"] {
    width:12em;
  	background-color:#3854b4;
	color:#ffffff;
	padding:10px;
	cursor: pointer;
	border:none;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	float:right;
}

input[type="submit"]:hover, input[type="submit"]:active {
  background: #344ea7;
  color: #ffffff;
}

input[type="submit"]:active {
  background: #eee;
  -moz-box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset;
  -webkit-box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset;
  box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset;
}

button.reply, button.comment{
	width:10.5em;
  	background-color:#3854b4;
	color:#ffffff;
	padding:10px;
	cursor: pointer;
	border:none;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	float:right;
}

button.reply:hover, button.comment:hover{
  background: #344ea7;
  color: #ffffff;
}

.dailylesson{
	margin-top:10px;
	padding:10px;
	background-color: #ccc;
}

#groovyslideshow h1 {
  text-align:center;
  margin-top:150px;
}
#groovyslideshow h2 {
  text-align:center;
  margin-top:150px;
}
#groovyslideshow h3 {
  text-align:center;
  margin-top:150px;
}
#groovyslideshow div{
  text-align:center;
  margin-top:150px;
  font-size: 1.5em;
}
#groovyslideshow div.hand{
  margin-top:0px;
}
#groovyslideshow p{
  text-align:center;
  margin-top:150px;
  font-size: 1.5em;
}
#groovyslideshow p.shorthand{
  text-align:center;
  margin-top:20px;
  font-size: 1em;
}
#groovyslideshow img{
  /*margin-top:50px;*/
}
