
/* ======================================== PLAY TAB: Match		*/

#PlayViewMatch button {
	margin: 5px;
    border: 2px solid #c8c8ff;	
	border-radius: 4px;
	padding-top:		4px;
	padding-bottom:		4px;	
}

/* ======================================== PLAY TAB: Deals		*/

#PlayViewDeals button {
	padding-top:		4px;
	padding-bottom:		4px;	
}

/* ======================================== DEALS TAB: Deal File List */

#QB_DealFilesList td.timeCell {
	color: #060;
	padding-left:  5px;
	padding-right: 5px;
}
#QB_DealFilesList td.descriptCell {
	color: #006;
}

/* ======================================== Window: DealEntry		*/

#DealEntryWin div {
	border-top: 3px solid #048;
}

#DealEntryWin table {
	border-collapse: collapse;
}

#DealEntryWin td {
	font-size: 120%;
	text-align: center;
	padding: 3px;
	min-width: 30px;
}

#QB_DealEntrySuits td {
	border: 2px solid #4ea;
}
#QB_DealEntrySuits td.DeSuitElem0 {
	min-width: 42px;
}

#QB_DealEntryPlayerArea td {
	border: 2px solid #4ae;
}
#QB_DealEntryPlayerArea td.DePlayerElem0 {
	padding-left: 2px;
	min-width: 42px;
}

#QB_DealEntryFooter {
	background-color:	#6080a0;
	color:				white;
}

#QB_DealEntryFooter button {
	padding-left:		4px;
	padding-right:		4px;
	padding-top:		4px;
	padding-bottom:		2px;
	margin-top:			5px;
	margin-bottom:		5px;
	font-weight:		600;
	background: 		#def;
	border-radius: 		4px;
	min-width:		10%;	
	margin-left:    3%;
}

#QB_DealEntryFooter button.BFtFirst {
	margin-left:    1%;
	margin-right:   2%;
}

#DeDealerVulnEntry td {
	border: 2px solid #8ae;
	padding: 4px;
}

#DeDealerVulnEntry span {
	display: inline-block;
	padding: 4px;
	min-width: 70px;
}

#DeDealIdentEntry td {
	padding: 4px;
}

/* ======================================== Window: DealsSave		*/

#QB_DealsSaveOptions div {
	margin:		5px;
	padding:	5px;
	border: 2px solid #cce;	
}

#QB_DealsSaveOptions input {
	margin:		5px;
	padding:	2px;
}

#QB_DealsSaveOptions #DsIncludingRegion {
	margin-left:	20px;
}

#QB_DealsSaveFooter {
	background-color:	#6080a0;
	color:				white;
}

#QB_DealsSaveFooter button {
	padding-left:		4px;
	padding-right:		4px;
	padding-top:		4px;
	padding-bottom:		2px;
	margin-top:			5px;
	margin-bottom:		5px;
	font-weight:		600;
	background: 		#def;
	border-radius: 		4px;
	min-width:		80px;
}

/* ======================================== Window: UserData	*/

#UserDataWin {
	background-color:	#e4e4e8;
}

#QB_UserDataText td {
    text-align: center;
}

#QB_UserDataText td.UdDataLabel {
    font-size: 90%;
    background: #d4d4d8;	
}

#QB_UserDataText input {
    padding: 4px;
	margin-bottom: 12px;
	background: #e0e0e4;
}

#QB_UserDataButtons {
	background-color:	#6080a0;
}

#QB_UserDataButtons button {
	padding-left:		4px;
	padding-right:		4px;
	padding-top:		4px;
	padding-bottom:		4px;
	margin-top:			5px;
	margin-bottom:		5px;
	margin-right:		10px;	
	font-weight:		600;
	background: 		#def;
	border-radius: 		4px;
	min-width:		80px;
}

/* ======================================== Window: Export/Import Options	*/

#QexoHeader {
	font-weight: 600;
	text-align: center;
}
#QB_ExImOptions td {
	padding: 6px;
}
#QexoPasswdRow td {
	padding-bottom: 12px;
}
#QexoExpirRow {
	background-color:	#eee;
}
#QexoExpirLabelCell {
	text-align: center;
}

#QB_ExImFooter {
	background-color:	#6080a0;
	color:				white;
}
#QB_ExImFooter button {
	padding-left:		4px;
	padding-right:		4px;
	padding-top:		4px;
	padding-bottom:		2px;
	margin:			    5px;
	font-weight:		600;
	background: 		#def;
	border-radius: 		4px;
	min-width:		80px;
}

/* ======================================== Edit WINDOW			*/

#EditWin {
	// padding:			0;
	overflow:			hidden;
}

#QB_EditText {
	background-color:	#ffe;
	overflow-y:			scroll;
	height:				calc(100% - 70px);
	width:				calc(100% - 10px);
	position:			relative;
	white-space:		pre;
	font-family:		monospace;
	font-size:			120%;
	padding:			5px;
	padding-bottom: 	5px;
}

#QB_EditFooter {
	background-color:	#6080a0;
	color:				white;
}
#QB_EditFooter button {
	padding-left:		4px;
	padding-right:		4px;
	padding-top:		4px;
	padding-bottom:		2px;
	margin-top:			5px;
	margin-bottom:		5px;
	font-weight:		600;
	background: 		#def;
	border-radius: 		4px;
	min-width:		80px;
}

/* ======================================== PLAY TAB: Score		*/

#PlayViewScore {
	background-color:	#d6d6ff;
}

#ScoreViewOverview {
    font-size:			100%;
}
#QB_ScoreOVFooter {
	position:			absolute;
	left:				0px;
	background-color:	#003070;
	color:				white;
}

#QB_ScoreOVFooter button {
	padding-left:		5px;
	padding-right:		5px;
	padding-top:		4px;
	padding-bottom:		2px;
	margin-top:			5px;
	font-weight:		600;
	background: 		#cde;
	border-radius: 		4px;
	min-width:		8%;	
	margin-left:    8%;
}

#QB_ScoreOVTable tr {
	background-color:	#ddf;
}
#QB_ScoreOVTable tr.scoreTabHead {
	background-color:	#cce;
}
#QB_ScoreOVTable tr.scoreTabSum {
	background-color:	#ddc;
}

#QB_ScoreOVTable td {
	border: 2px solid black;
	border-collapse: collapse;
	text-align: center;
	padding: 5px;
}
#QB_ScoreOVTable td.scoreTabDealId {
	background-color:	#bbc;
}
#QB_ScoreOVTable td.scoreTabNr {
	background-color:	#bbc;
}
#QB_ScoreOVTable td.scoreTabCurrNr {
	background-color:	#bbc;
	color:	#03c;
}

#QB_ScoreOVTable .scoreRubberHeadC1 {
	border: 1px solid grey;
}
#QB_ScoreOVTable .scoreRubberHeadC4 {
	border: 1px solid grey;
}

#QB_ScoreOVTable .scoreRubberAC2, .scoreRubberAC3, .scoreRubberBC2, .scoreRubberBC3 {
	background-color:	#2b6;
}
#QB_ScoreOVTable td.scoreRubberAC1 {
	border: 1px solid grey;
    width:			25%; 
	text-align: right;
	padding-right: 8px;
}
#QB_ScoreOVTable td.scoreRubberAC2 {
    width:			10%; 
	border-bottom: 3px solid black;
}
#QB_ScoreOVTable td.scoreRubberAC3 {
    width:			10%; 
	border-bottom: 3px solid black;
}
#QB_ScoreOVTable td.scoreRubberAC4 {
	border: 1px solid grey;
    width:			25%;
	text-align: left;
	padding-left: 8px; 
}

#QB_ScoreOVTable tr.scoreRubberBelow1 td.scoreRubberBC2 {
	border-top: 3px solid black;
}
#QB_ScoreOVTable tr.scoreRubberBelow1 td.scoreRubberBC3 {
	border-top: 3px solid black;
}
#QB_ScoreOVTable td.scoreRubberBC1 {
	border: 1px solid grey;
	text-align: right;
	padding-right: 8px;
}
#QB_ScoreOVTable td.scoreRubberBC4 {
	border: 1px solid grey;
	text-align: left;
	padding-left: 8px; 
}
#QB_ScoreOVTable .scoreRubberSumC1 {
	border: 1px solid grey;
	text-align: right;
	padding-right: 8px;	
}
#QB_ScoreOVTable .scoreRubberSumC4 {
	border: 1px solid grey;
}

#QB_ScoreOVTable span.rubberTextLast {
	color: #02d;
}

#QB_ScorePairResults tr {
	background-color:	#ddf;
}
#QB_ScorePairResults tr.scoreTabHead {
	background-color:	#cce;
}
#QB_ScorePairResults td {
	border: 2px solid black;
	border-collapse: collapse;
	text-align: center;
	padding: 5px;
}

#QB_ScorePairSums tr {
	background-color:	#ddf;
}
#QB_ScorePairSums tr.scoreTabHead {
	background-color:	#cce;
}
#QB_ScorePairSums tr.scoreCurrent {
	background-color:	#def;
}
#QB_ScorePairSums td {
	border: 2px solid black;
	border-collapse: collapse;
	text-align: center;
	padding: 5px;
}

/* ======================================== BIDDING SYSTEMS 	*/

#QBidsysGroup {
	padding:			2px;
	margin-top:			2px;
	margin-bottom:		5px;
	background-color:	#ddddf0;
	border: 1px dotted black;	
}
#QBidsysList {
	padding:			2px;
}

/* ======================================== BID EXPLANATIONS		*/

#ExplainPWin {
	padding:			2px;
	background-color:	#d4def0;
}

#BidExplanations {
	margin-top:		3px;
}

#BidExplanations div {
	margin-left:	2px;
	border:	1px solid grey;
	padding:         3px;	
}

#BidExplanations .legend {
	display:			inline-block;
	vertical-align:		top;
	padding-left:		5px;
}

/* ======================================== Analyse Window		*/

#QB_ShowAnalys tr {
	border: 1px solid red;
	border-collapse: collapse;
}
#QB_ShowAnalys td {
    padding: 2px;
	border-bottom: 1px solid grey;	
	border-top: 1px solid grey;		
	border-collapse: collapse;
}
#QB_ShowAnalys td:nth-child(1) {
	width: 60px;
}
#QB_ShowAnalys td:nth-child(2) {
	padding-right: 5px;
	border-right: 1px dotted grey;
}
#QB_ShowAnalys td:nth-child(3) {
	padding-left: 5px;
	min-width: 80px;
	border-right: 1px solid grey;
}

#QAnalyseWin button {
	padding-left:		10px;
	padding-right:		10px;
	padding-top:		4px;
	padding-bottom:		4px;
	margin-top: 		4px;
	margin-right:		20px;
	margin-bottom:		0px;
	background: 		#cde;
	border-radius: 		4px;
}

/* ======================================== LEAD CONVENTIONS	*/

#QB_LeadConvTable tr {
	/* background-color:	#d4def0; */
}

#QB_LeadConvTable td {
	text-align: center;
	min-width: 60px;
	padding: 5px;
}

#QB_LeadConvTable #QBLcHead2 td {
	padding-bottom: 10px;	
	border-bottom: 1px solid #888;		
}
#QB_LeadConvTable #QBLcAceFromAK td {
	padding-top: 10px;	
}
#QB_LeadConvTable #QBLcKingFromAK td {
	padding-bottom: 10px;
	border-bottom: 1px solid #888;	
}
#QB_LeadConvTable #QBLc4FromLength td {
	padding-top: 10px;
}
#QB_LeadConvTable #QBLc35FromLength td {
	padding-bottom: 10px;
	border-bottom: 1px solid #888;
}
#QB_LeadConvTable #QBLcHighFrom3 td {
	padding-top: 10px;
}
#QB_LeadConvTable #QBLcLowFrom3 td {
	padding-bottom: 10px;
	border-bottom: 1px solid #888;
}

/* ======================================== WARNING WINDOW */

#BPWarnWin #BPWarnText {
	display:			flow-root;
	background-color:	#fdd;	
	padding:		3px;
}

#BPWarnWin #BPButtonLine {
	display:			flow-root;
	background-color:	#4070a0;
	padding:		3px;
}

#BPWarnWin button {
	padding-left:		5px;
	padding-right:		5px;
	padding-top:		2px;
	padding-bottom:		2px;
	margin-top:			5px;
	margin-bottom:		5px;
	font-weight:		600;
	background: 		#def;
	border-radius: 		4px;
	min-width:		30%;	
}
