
.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
  }

  .footer {
    text-align: center;
    position: fixed;
    bottom: 0;
    margin: 0 auto;
    width: 2000;
    background-color: #3a606c;
    color: white;
    text-align: center;
    left: 50%;
    display: grid;
    justify-items: center;
    transform: translateX(-50%);
  }
 
.footer p{
    font-size: 1.2rem;
    margin: 0.3rem;
    color: yellow;
}  

h4{text-align: center;font-size: 1.5rem;margin: 1rem auto;}

h5{
    font-size: 1.5rem;
    font-style: italic;
    font-weight: normal;
    margin: 0.6rem 0 0.4rem;
    font-family: 'Oswald';
}

h5::before{
    content: "\00e6  ";
    font-weight: bolder;
    font-family: 'tutorSym';
}

h5::after{
    font-family: 'tutorSym';
    font-weight: bolder;
    content: "  \00e6 ";
}

h6{
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0.6rem 0 0.4rem;
    font-family: 'Oswald';
}

li{
    margin-bottom: 0.3rem;
    text-align: left;
}

a:link{
    color: lightgreen;
    height: 2rem;
}

a:hover{
    color: yellowgreen;
}

html{
    display: grid;
    grid-template-columns: 100%;
    justify-items: center;
}

body{
    overflow-x: hidden;
    /* Max-width: 51rem; */
    margin: 0 auto;
    /* position: fixed; */
    font-family: arial;
    background: rgb(209, 220, 250);
    background-image: linear-gradient(
        black 2.4rem,
        white 2.4rem,
        white 4.8rem, rgb(209, 220, 250) 4.8rem);
    font-size: 1rem;
    background-repeat: no-repeat;
    height: 100%;
    width: 62rem;
    /* transform: translate(-50%, 0); */
    left: 50%;
}

.invisible{
    display: none;
}

/* 
svg{
    filter: drop-shadow(-0.2rem 0.2rem 0.5rem black);
    width: 37rem;
} */

/* text styles */
span.l{
    text-decoration: underline;
}

span.b{
    font-weight: bold;
}

span.i{
    font-style: italic;
}

span.k{
    color: black;
}
span.y{
    color: yellow;
}
span.u{
    color: blue;
}
span.o{
    color: orange;
}
span.r{
    color: red;
}
span.g{
    color: green;
}
span.w{
    color: white;
}
span.c{
    color: cyan;
}
span.m{
    color: maroon;
}

span.p{
    color: purple;
}

span.n{
    color: navy;
}

span.t{
    color: lightgreen;
}

span.sup{
    vertical-align: super;
    font-size: 60%;
}

span.sub{
    vertical-align: sub;
    font-size: 60%;
}

span.plus{
    font-size: 130%;
}

span.minus{
    font-size: 70%;
}

span.pre{
    white-space: pre-wrap;
}

span.keep{
    white-space: nowrap;
}

span.s20{
    width: 20%;
    display: table-cell;
}

span.SH{
    width: 20rem;
    display: table-cell;
    text-align: center;
}

span.ST{
    width: 13.3rem;
    display: table-cell;
    text-align: center;
}

span.SQ{
    width: 9.5rem;
    display: table-cell;
    text-align: center;
}

span.SF{
    width: 8rem;
    display: table-cell;
    text-align: center;
}

span.S6th{
    width: 6.6rem;
    display: table-cell;
    text-align: center;
}

span.S7th{
    width:5.8rem;
    display: table-cell;
    text-align: center;
}

span.S8th{
    width: 5rem;
    display: table-cell;
    text-align: center;
}

span.S9th{
    width: 4.5rem;
    display: table-cell;
    text-align: center;
}

span.S0{
    width: 2rem;
    display: table-cell;
    text-align: center;
}

span.para0{
    width: 2.5rem;
    display: table-cell;
    text-align: lect;
}

span.para1{
    width: 2.5rem;
    display: table-cell;
    text-align: left;
    padding-left: 1rem;
}

span.SFill{
    display: table-cell;
    text-align: center;
    width: auto;
    white-space: pre;
    text-wrap: wrap;
}

span.spacer{
    padding-top: 5rem;
    display: table-cell;
}

span.right{
    display: table-cell;
    text-align: right;
}

span.left{
    text-align: left;
    display: table-cell;
}

li.indent{
    list-style-type: none;
    margin-left: 0rem;
}



/* bidding box */
#biddingBox{
    color: black;
    position: absolute;
    width: 18.5rem;
    height: 20.3rem;
    top: 29rem;
    right: -4rem;
    border-radius: 0.3rem;
    cursor: pointer;
    /* background: linear-gradient(to right, transparent 0%, black 2.2%); */
    background: black;
}

#biddingBox p{
    font-size: 2rem;
    font-weight: bold;
    margin-top: -0.2rem;
    height: 2rem;
    margin: -2.6px 0rem;
}

#biddingBox div{
    height: 1.8rem;
    width: 3.5rem;
    background-color: white;
    /* margin-bottom: 2px; */
    border-color: black;
    border-width: 0.1rem 0.1rem 0rem 0.1rem;
    border-style: solid;
    border-radius: 0.3rem 0.3rem 0rem 0rem;
    text-align: center;
    /* float: right; */
    transition: 0.2s;
}

#biddingBox div.used{
    filter: contrast(0.3);
    transition: 0.2s;
    /* opacity: 0; */
}

#biddingBox div.tried p{
    transition: 0.5s;
    opacity: .3;
    background: darkgrey;
    filter: blur(3px);
}

#biddingBox div.pass{
    width: 98.2%;
    background-color: green;
    color: white;
    font-variant: small-caps;
    font-size: 1rem;
    grid-column: 3/span 3;
}

#biddingBox div.double{
    background-color: red;
    color: white;
    font-variant: small-caps;
    font-size: 1rem;
}

#biddingBox div.redouble{
    background-color: blue;
    color: white;
    font-variant: small-caps;
    font-size: 1rem;
}

#biddingBox div.pass p{
    font-size: 1.6rem;
    margin-top: 0.03rem;
}

#biddingBox div.pass.tried, #biddingBox div.double.tried, #biddingBox div.redouble.tried{
    background: whitesmoke;
}

#biddingBox p.nt{
    color: green;
    font-variant: small-caps;
}

#biddingBox p.spades{
    color: black;
    font-variant: small-caps;
}

#biddingBox p.spades::before{
    content: "";
    background-image: url(../../cards/SpadeF.png);
    background-size: 1.5rem 1.5rem;
    height: 1.5rem;
    width: 1.5rem;
    display: inline-block;
}

#biddingBox p.spades.tried::after{
    opacity: 0.4;
}

#biddingBox p.hearts{
    color: red;
    font-variant: small-caps;
}

#biddingBox p.hearts::before{
    content: "";
    background-image: url(../../cards/HeartF.png);
    background-size: 1.4rem 1.4rem;
    height: 1.4rem;
    width: 1.4rem;
    display: inline-block;
}

#biddingBox p.diamonds{
    color: #ff5000;
    font-variant: small-caps;
}

#biddingBox p.diamonds::before{
    content: "";
    background-image: url(../../cards/DiamondF.png);
    background-size: 1.5rem 1.5rem;
    height: 1.5rem;
    width: 1.5rem;
    display: inline-block;
    filter: hue-rotate(-8deg);
}

#biddingBox p.clubs{
    color: #606060;
    font-variant: small-caps;
}

#biddingBox p.clubs::before{
    content: "";
    background-image: url(../../cards/ClubF.png);
    background-size: 1.5rem 1.5rem;
    height: 1.5rem;
    width: 1.5rem;
    display: inline-block;
}

span.cc::after{
    font-size: 98%;
    display: inline-block;
    font-family: 'tutorSym';
    font-weight: bold;
    content: '\00DF';
}

span.cd::after{
    font-size: 98%;
    display: inline-block;
    font-family: 'tutorSym';
    font-weight: bold;
    content: '\00AE';
}

span.ch::after{
    font-size: 98%;
    display: inline-block;
    font-family: 'tutorSym';
    font-weight: bold;
    content: '\00A9';
}

span.cs::after{
    font-size: 98%;
    display: inline-block;
    font-weight: bold;
    font-family: 'tutorSym';
    content: '\2122';
}


#biddingBox div.boxBase{
    background-color: forestgreen;
    border-width: 0;
    width: 19.1rem;
    margin-right: -0.3rem;
    margin-top: -0.07rem;
    height: 4.5rem;
    margin-bottom: -0.2rem;
    border-radius: 0rem 0rem 0.7rem 0.7rem;
    position: relative;
    grid-column: 1/span 5;
}

#biddingBox div.boxBase *{
    position: absolute;
}

#slider{
    width: 50%;
    left: 3.8rem;
    transition: 0.7s;
    opacity: 0.6;
}

#slider.two{
    left: 5.3rem;
}

#slider.one{
    left: 6.7rem;
}

#biddingBox.hidden{
    opacity: 0;
    pointer-events: none;
    transform: translateX(4rem);
    transition: 0.4s;
    cursor: auto;
    /* overflow: hidden; */
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    direction: rtl;
    border-radius: 0.3rem;
}

#biddingBox:not(.hidden){
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
    transition: 0.4s;
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    direction: rtl;
    border-radius: 0.3rem;
}

#biddingBox div.spacer{
    height: 0.4rem;
    background: darkgreen;
    width: 18.95rem;
    float: right;
    margin-right: -0.3rem;
    clip-path: polygon(0 100%, 100% 100%, 98.4% 0, 2.2% 0  );
    grid-column: 1/span 5;
}

#boxBase *{
    position: absolute;
}

#correctBoxBid.showing{
    opacity: 1;
    transition: 0.3s;
}

#correctBoxBid:not(.showing){
    opacity: 0;
    transition: 0.0s;
}

#correctBoxBid{
    left: 6.9rem;
    top: 0.3rem;
}

#bidsLeft{
    direction: ltr;
    color: yellow;
    top: 1rem;
    left: 7.6rem;
}

input{
    height: 1.2rem;
    width: 1.2rem;
    cursor: pointer;
    vertical-align: -2px;
}

.version{
    transform: translate(0px, 0.33rem);
    display: inline-block;
    margin-top: -0.2rem;
}

.quickHelp{
    font-size: 1.4rem;
}

.quickHelp#quickStartHelp .quickHelp#notAgain{
     display: none;
}

.quickHelp img{
    height: 2rem;
    transform: translateY(0.5rem);
    margin-right: 1rem;
}

.handMetrics{
    display: grid;
    grid-template-columns: 50% 50%;
    margin: 2rem;
}

.handMetrics div.basic{
    display: grid;
    grid-template-columns: 80% 20%;
    row-gap: 0.8rem;
    margin-right: 2rem;
}

.handMetrics div.basic p:nth-child(2n-1){
    font-style: italic;
}

.handMetrics div.basic p:nth-child(2n){
    text-align: center!important;
}

.handMetrics div.bySuit{
    display: grid;
    grid-template-columns: 52% 12% 12% 12% 12%;
    row-gap: 0.8rem;
    margin: -2px 0 0 0px;
}

.handMetrics div.bySuit p:nth-child(5n-4){
    font-style: italic;
}

.handMetrics div.bySuit p:not(:nth-child(5n-4)){
    text-align: center!important;
}

.handMetrics div.basic p, .handMetrics div.bySuit p{
    height: 2rem;
}

