/* wordpress override star */

* {
    /* box-sizing: border-box; */
    box-sizing:inherit;
}
div#boxed-wrapper {
  background: #000000 !important;
  background-color: #000000 !important;
}
div#wrapper {
  background: #000000 !important;
  background-color: #000000 !important;
}
main#main {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* wordpress override end */





body {
  background: #000000 !important;
  text-align: center;
}

@media screen and (min-width: 545px) {
  div.___row {
    width: 430px !important;
  }
  div#_timerCell {
    width: 214px !important;
  }
  div#_helperCell {
    width: 211px !important;
  }
  div#cards {
    float: left !important;
  }
  div#spacerWrapper {
    margin-left: 3px !important;
    float: left !important;
  }
}

@media screen and (max-width: 545px) {
  div.___row {
    width: 360px !important;
  }
  div#_timerCell {
    width: 179px !important;
  }
  div#_helperCell {
    width: 174px !important;
  }
  div#cards {
    float: none !important;
  }
  div#spacerWrapper {
    float: none !important;
  }
}

div.___row {
  width: 430px;
  display: block;
  overflow: auto;
  overflow-x: hidden;
  margin-bottom: 10px;
}
div.___cell {
  width:50% !important;
  float: left;
  text-align: center;
}

p.___p {
  padding: 0 !important;
  margin: 0 !important;
}

/* the canvas itself */
div#cardTable {
  background: black;
  display: block;
  padding: 10px;
  margin: 0 auto;
}

div#cards {
  width: 240px;
  display: block;
  padding-bottom: 20px;
  margin: 0 auto;
}

div#spacerWrapper {
  width: 180px;
  min-height: 150px;
  background: black;
  margin: 0 auto;
  display: block;
}

div#gameSpace {
  width: 200px;
  min-height: 100px;
  display: block;
}

div#gameSpace .card.bgGrey {
  background: white !important;
}

div#gameSpace .card.bgGrey .circle.empty.cGrey {
  background: #CAC1C1 !important;
  opacity: 0;
}

div#resultsWrapper {
  width: 300px;
  display: block;
}

div#resultsTitle, div#spacerTitle {
  padding: 10px;
}

div#results {
}

div#spacer {
  width: 200px;
}

div#desktop {
  width: 250px;
  min-height: 150px;
  display: block;
  overflow: auto;
}

/* div#gameSpaceWrapper {
  width: 380px;
  display: block;
  overflow: auto;
  margin-bottom: 10px;
  text-align: center;
} */

div#timeHolder {
  padding-bottom: 0px;
}

span#timePre, span#helpPre {
  color: #FDC300;
  font-size: 15px;
  font-weight:bold;
  text-align:left;
  padding-bottom: 0px;
  line-height: 0;
}

span#timing, span#useOfHelp {
  color: #FFFFFF;
  font-size: 14px;
  font-weight:bold;
  text-align:left;
  padding-bottom: 0px;
  line-height: 0;
}

div#_timerCell {
  width: 215px;
}

div#_cellBorder {
  width: 2px !important;
  height: 20px;
  /* margin-top: 12px; */
  background: red;
  display: none;
}

/* colorZ */
.cRed {
  color: #C24100;
}

.cGreen { /* #037443 */
  color: #169E4F;
}

.cBlue { /* #2D588E */
  color: #2887DC;
}

.cGrey {
  color: #B0AEAE;
}

/* backgroundZ */
.bgYellow {
  background-color: #CB9F00;
}

.bgWhite {
  background-color: #D9D9D9;
}

.bgBlack {
  background-color: #161719;
}

.bgGrey {
  background-color: #B0AEAE;
}

/* card */
.card {
  overflow: auto;
  border-radius: 5%;
  display: block;
  padding-top: 7px;
  padding-left: 7px;
  padding-right: 7px;
}

.cardWrapper {
  position: relative;
  display:flex;
  border-radius: 5%;
  background-color: #484848;
  float: left;
  padding: 3px;
}

.indicator {
  position: absolute;
  border-radius: 5%;
  left:0px;
  top:0px;
  display:flex;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  opacity: 0;
  cursor: pointer;
}

.indicator:hover {
  opacity: 0.3;
}

.card.bgYellow {
  background-color: #CB9F00;
}

.card.bgWhite {
  background-color: #D9D9D9;
}

.card.bgBlack {
  background-color: #161719;
}

.card.bgGrey {
  background-color: #B0AEAE;
}

/* invisible (circle) */
.circle.invisible {
  visibility: hidden;
}

/* circleZ */
.circle {
  height: 15px;
  width: 15px;
  border-radius: 50%;
  display: block;
}

/* circle position */
.circle.first {
  margin-left: 20px;
  margin-bottom: 13px;
}

.circle.second {
  margin-left: 10px;
  margin-bottom: 13px;
}

.circle.third {
  margin-left: 0px;
  margin-bottom: 7px;
}

/* empty circle */
.circle.empty.cRed {
  border: 3px solid #C24100;
}

.circle.empty.cBlue {
  border: 3px solid #2887DC;
}

.circle.empty.cGreen {
  border: 3px solid #169E4F;
}

.circle.empty.cGrey {
  border: 3px solid #B0AEAE;
}

.circle.polkaDot.cRed {
  border: 3px solid #C24100;
}

.circle.polkaDot.cBlue {
  border: 3px solid #2887DC;
}

.circle.polkaDot.cGreen {
  border: 3px solid #169E4F;
}

.circle.polkaDot.cGrey {
  border: 3px solid #B0AEAE;
}

/* circle filled */
.circle.filled.cRed {
  background-color: #C24100;
  border: 3px solid #C24100;
}

.circle.filled.cBlue {
  background-color: #2887DC;
  border: 3px solid #2887DC;
}

.circle.filled.cGreen {
  background-color: #169E4F;
  border: 3px solid #169E4F;
}

.circle.filled.cGrey {
  background-color: #B0AEAE;
  border: 3px solid #B0AEAE;
}

/* dot */
.dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  display: flex;
  margin: 0 auto;
  margin-top: 5px;
  margin-left: 5px;
}

.dot.cRed {
  background-color: #C24100;
}

.dot.cBlue {
  background-color: #2887DC;
}

.dot.cGreen {
  background-color: #169E4F;
}

.dot.cGrey {
  background-color: #B0AEAE;
}


@media screen and (max-width: 680px) {
  div#cardTable {

  }
  .modalDialog {
    width: 80% !important;
    margin: 10px auto;
    position: relative;
  }
}
/* modal */
.modalWrapper {
  display: none;
  position: fixed;
  overflow-x: hidden;
  overflow-y: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.5);
  z-index: 20022; /*10011*/
}

.modalDialog {
  width: 600px;
  margin: 30px auto;
  position: relative;
}

.modalContent {
  position: relative;
  background-color: #333;
  background-clip: padding-box;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 1);
  border-radius: 6px;
  outline: 0;
  display: block;
}

.modalHeader {
  padding: 15px;
  padding-left: 30px;
  display: block;
  margin-bottom: 25px;
  color: #D9D9D9;
}

.modalBody {
  position: relative;
  padding: 30px;
  text-align:left;
  border-top: 1px solid #000000;
  color: #D9D9D9;
}

.modalFooter {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #000000;
}

._guiBtn {
  width:94%;
  padding:1px;
  margin: 0 auto;
  font-size: 17px;
  font-weight: bold;
  background: #FDC300;
  border-radius: 8px;
  cursor: pointer;
}

._guiBtn:hover {
  background: #CA9E00;
}

.redHl {
  background-color: #C24100;
  color: #000000;
}

.blueHl {
  background-color: #2887DC;
  color: #000000;
}

.yellowHl {
  background-color: #FDC300;
  color: #000000;
}

.__btn {
  background-color: #FDC300;
  color: #000;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 3px;
  padding-bottom: 6px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
}

.__btn.min {
  background-color: #777;
  color: #D9D9D9;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 2px;
  padding-bottom: 3px;
  border-radius: 6px;
}
.floatLeft {
  float:left;
}
#helperBtn {
  /* margin-left: 0px !important; */
}
