@font-face
{
  font-family: OpenSansCondLight;
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/OpenSans-CondLight.ttf') format('truetype');
}

@font-face
{
  font-family: OpenSansCondBold;
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/OpenSans-CondBold.ttf') format('truetype');
}

@font-face
{
  font-family: OpenSans;
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/OpenSans-Regular.ttf') format('truetype');
}

@font-face
{
  font-family: OpenSansBold;
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/OpenSans-Bold.ttf') format('truetype');
}

@font-face
{
  font-family: EBGaramond;
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/EBGaramond-Medium.ttf') format('truetype');
}

@font-face
{
  font-family: KanitExtraBoldItalic;
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/Kanit-ExtraBoldItalic.ttf') format('truetype');
}

@font-face
{
  font-family: Saira;
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Saira-Regular.ttf') format('truetype');
}

@font-face
{
  font-family: Saira;
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/Saira-Bold.ttf') format('truetype');
}

@font-face
{
  font-family: Saira;
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/Saira-Black.ttf') format('truetype');
}


body
{
  overflow-x: hidden;
  overflow-y: hidden;
  touch-action: none;
  user-select:none;
  background-color:#000;
  position: fixed;
  overscroll-behavior-y:contain;
  overscroll-behavior-x:contain;
  width:100%;
}

html,body{
	-webkit-overflow-scrolling : touch !important;
	height: 100% !important;
}

input {
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  box-sizing: border-box;
}

/* for custom buttons - fake and in and out move */
.btn {
  -webkit-transition: all .1s ease-out; /* Safari and Chrome */
  -moz-transition: all .1s ease-out; /* Firefox */
  -ms-transition: all .1s ease-out; /* IE 9 */
  -o-transition: all .1s ease-out; /* Opera */
  transition: all .1s ease-out;
  touch-action: manipulation;
}

.btn:active{
  -webkit-transform:scale(.95); /* Safari and Chrome */
  -moz-transform:scale(.95); /* Firefox */
  -ms-transform:scale(.95); /* IE 9 */
  -o-transform:scale(.95); /* Opera */
   transform:scale(.95);
}

a, a:visited, a:hover, a:active {
  color: inherit;
  text-decoration:none;
  touch-action: manipulation;
}

#three_canvas
{
  z-index: -1;
  position: absolute;
  top:0px;
  left:0px;
  touch-action: none;
}
/* IMPORTANT: This disables all events, right click, click etc on images in our UI */
/* If we ever need to do that, we should catch the event with another div */
img {
  pointer-events: none;
}

/* Also prevent text select of everything in uihost */
.no_select
{
  -webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
  user-select: none;          /* Likely future */

  -webkit-user-drag: none;
  touch-action: manipulation;
}

#fps_tab
{
  position: fixed;
  width:150px;
  z-index: 5;
  background-color: #444444;
  color:#FFFFFF;
  min-height:40px;
  top:40px;
  left:200px;
  font-size:0.8em;
}

.tooltip
{
  padding: 0.5vh;
  font:1.5vh OpenSans, sans-serif;
  color: black;
  background: whitesmoke;
  border-radius: 0.5vh;
  z-index: 5;
}

#uihost
{
  position: relative;
  width : 384px;
  height: 640px;
  overflow: hidden;
  z-index: 0;
}

.testPanel
{
  position: fixed;
  z-index: 30;
  width: 30vh;
  top:0;
  right: 0;
  height: 100vh;
  transition: right .45s cubic-bezier(.19,1.46,1,1.17);
  background-color: #2C2C2C;
  font: 3vh SairaSemiCondBold, sans-serif;
  color: white;
}

.testPanelTitle
{
  font-size: 4vh;
}

.testButton
{
  width:10vh;
  font: 3vh SairaSemiCondBold, sans-serif;
  margin-left: 1vh;
  margin-right: 1vh;
}

.testSpinValues
{
  width:90%;
  font: 2.5vh OpenSansRegular, sans-serif;
}

.testCheckbox
{
  width: 2.2vh;
  height: 2.2vh;
  background-color: white;
  -webkit-appearance: checkbox
}

.testDropdown
{
  font: 2vh SairaSemiCondBold, sans-serif;
  width: 22vh;
  height: 4vh;
  margin-bottom: 0.5vh;
  margin-left: 3vh;
  margin-right: 3vh;
}

.slideRight
{
  right:-30vh;
}

.caption_label
{
  position: fixed;
  color : #FFFFFF;
  font-weight: bold;
}

#loadingUI
{
  display:none;
  position:absolute;
  top:0px;
  width: 100vw;
  height: 100vh;
  left: 0px;
  color:white;
  text-align:center;
  text-shadow: 2px 2px 3px black;
}

.loadingUI
{
  background-size: 166vh;
  background-position-x: center;
  background-position-y: -19vh;
  z-index: 10;
}


#loadingPlayBtn
{
  border-width: 0.4vh;
  border-style: outset;
  border-color: #ddd;
  background-color: #111111;
  width: 24vh;
  height: 9vh;
  border-radius: 2vh;
  text-align: center;
  font: 3.5vh EBGaramond, sans-serif;
  position: absolute;
  margin: auto;
  top: 68vh;
  left: 0;
  right: 0;
}

#loadingLogo
{
  margin-top: 1vh;
  height: 31vh;
  background-position: top;
  background-size:78vh;
  background-repeat: no-repeat;
}

#loadingLegalText
{
  font: 1.7vh OpenSans, sans-serif;
  color:#ccc;
  line-height: 2.2vh;
  position: absolute;
  top: 82vh;
  width: 90%;
  left: 0;
  right: 0;
  margin: auto;
}

#loadingFonts
{
  color: black;
  bottom: 0px;
  position: absolute;
}

#loadingPreFont1
{
  font: 0.5vh OpenSansCondBold, sans-serif;
}

#loadingPreFont2
{
  font: 0.5vh OpenSansCondLight, sans-serif;
}

#loadingProgress
{
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  color:white;
  text-align:center;
  z-index: 20;
}

#loadingProgressText
{
  position: absolute;
  left: 0;
  right: 0;
  top: 69vh;
  font: 4.2vh KanitExtraBoldItalic, sans-serif;
}

#loadingProgressBar
{
  background: #333;
  width: 27vh;
  height: 1.2vh;
  border-radius: 0.6vh;
  top: 75vh;
  left: 0;
  right: 0;
  position: absolute;
  margin: auto;
}

#loadingProgressFilled
{
  background: white;
  height: 100%;
  width: 20%;
  border-radius: inherit;
}

#hud_curtain
{
  width: 672px;
  height: 729px;
  z-index: 15;
  position: absolute;
  color:white;
  text-align:center;
  text-shadow: 2px 2px 3px black;
  background-color: black;

}

.hud_curtain
{
  background-size: 166vh;
  background-position-x: center;
  background-position-y: -19vh;
  background-color: black;
}

.hud_curtain-us-pa, .loadingUI-us-pa
{
  background-size: 166vh;
  background-position-x: center;
  background-position-y: -19vh;
  background-color: black;
}

.hud_curtain-us-pa
{
  background-color: black;
}

.loadingUI-us-pa
{
  z-index: 10;
}

#curtainSpinner, #curtainImg
{
  position:absolute;
  left:0;
  right:0;
  margin:auto;
}

#curtainSpinner
{
  height:7vh;
  top:85vh;
}

#curtainImg_bg
{
  background: black;
  width: 100%;
  height: 100%;
  top: 0;
  position: fixed;
  z-index: 20;
}

#curtainImg
{
  height: 50vh;
  width: 42vh;
  top:0;
  bottom:0;
  background: url("images/ui_atlas.png");
  background-size: 200vh;
  background-position: 48% 100%;
}

.hideButton
{
  position: inherit;
  right:5px;
  top:5px;
  z-index: 6;
}

.greyed_out
{
  background-color: #777 !important;
  pointer-events:none;
}

/* DraftKings Roulette UI elements */
/* used for all atlas based elements */
.atlas
{
  position: absolute;
  background: url("images/ui_atlas.png");
  border-width: 0;
}

.rico_bolt
{
  background: url(images/ui_atlas.png);
  background-position: 60% 99.2%;
  width: 32pt;
  height: 32pt;
  margin: auto;
  background-size: 360pt;
}

#side_frame
{
  position:relative;
  width: 100%;
  height: 100%;
  max-width: 93vh;
  margin: auto;
}

.textval_changing
{
  transform: scale(1.25);
}

.favGradient
{
  background: linear-gradient(to bottom, #FFFFAA 45%, #a69b45 50%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.whiteGradient
{
  background: linear-gradient(to bottom, #FFFFFF 45%, #a69b95 50%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ui_msg
{
  pointer-events: none;
  z-index: 9;
  color: white;
  position: absolute;
  top: 45vh;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  font: 4.5vh OpenSansCondBold, sans-serif;
  text-shadow:
    0px 3px 0 #222,
    0px 0 5px rgba(255,255,120,0.6),
    0px 0px 15px rgba(255,255,70,0.8),
    0px 0px 15px #000,
    0px 0px 15px #000;
}

.hud_msg
{
  top: 34%;
}

.hud_msg_help
{
  top: 28%;
}

#hud_msg_special
{
  top: 0.5%;
  line-height: 4.2vh;
}

.hud_msg_bg
{
  background-position: 99% 92%;
  width: 60vh;
  background-size: 260vh;
}

.glowtext
{
  animation: reveal 2000ms ease-in-out forwards 200ms,
    glow 1500ms linear infinite 1000ms;
}

@keyframes reveal {
  80%{
    letter-spacing: 8px;
  }
}

@keyframes glow {
  40% {
    text-shadow: 0 0 8px #fff;
  }
}

.hidden_msg
{
  animation: shrinkOut 0.6s;
}

@keyframes growIn
{
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@keyframes shrinkOut
{
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0);
  }
}

.intro_panel
{
  position: absolute;
  width: 49vh;
  height: 52vh;
  z-index: 4;
  top: 16vh;
  padding:3vh;
  left: 0;
  right: 0;
  margin: auto;
  color:white;
  font: 2.4vh OpenSansCondBold, sans-serif;
  border-style: inset;
  border-color: tan;
  border-radius: 2.5vh;
  border-width: 0.5vh;
  background-color: rgba(1,1,1,0.55);
  transition:0.65s;
}

.intro_list
{
  text-indent: -3vh;
  margin-left: 3vh;
}

.intro_shrink
{
  transform: scale(0.05,0.07);
  top: -26vh;
  left: -49vh;
}

.intro_sq_ico
{
  background: url(images/ui_atlas.png);
  width: 6vh;
  height: 6vh;
  background-size: 68vh;
  border-width: 0;
  display: inline-block;
  top: 1.5vh;
  position: relative;
}

#STR_INTRO_TITLE
{
  font: 3.2vh OpenSansBold, sans-serif;
  left: 0;
  right: 0;
  margin: auto;
  width: 38vh;
  text-align: center;
  margin-bottom: 2vh;
}

#hud_conf_panel
{
  width: 44vh;
  height: 25.3vh;
  z-index: 4;
  top: 24vh;
  left: 0;
  right: 0;
  margin: auto;
  background-position: 0.29% 9.2%;
  background-size: 175.1vh 192.61vh;
}

.conf_btn
{
  position: absolute;
  top: 16.5vh;
  background-position: 0.2% 23.7%;
  background-size: 60vh;
  width: 16vh;
  height: 6vh;
  border-radius: 0.5vh;
  font-size: 2.6vh;
  font-weight: 600;
  z-index: 5;
}

.conf_noshowagain
{
  position: absolute;
  bottom: 1.5vh;
  width: 24vh;
  height: 4vh;
  border-radius: 0.5vh;
  z-index: 5;
  left:0;
  right:0;
  margin: auto;
}

.conf_checkmark {
  position: absolute;
  background-color: #000;
  z-index: 5;
}

.conf_txt
{
  position: absolute;
  top: 2vh;
  left: 0;
  right: 0;
  margin: auto;
  width: 75%;
  font-size: 3vh;
  color: white;
}

#btn_INTRO_CHECK,
#btn_conf_CHECK
{
  top: 4vh;
  width: 2.2vh;
  height: 2.2vh;
  z-index: 5;
  background-color: white;
  -webkit-appearance: checkbox
}

.checkbox_txt
{
  color:#ccc;
}

#btn_conf_OK
{
  left: 4vh;
}

#btn_conf_CANCEL
{
  right: 4vh;
}

#bottom_play_buttons, 
#top_hud_bar,
#history_area,
#chip_selector_area
{
  position: absolute;
  left:0px;
  right:0px;
  margin: auto;
}

#top_hud_bar
{
  top: 0.35vh;
  height:6vh;
  width: 55.25vh;
}

.score_box
{
  position: absolute;
  top: 12.5vh;
  width: 8vh;
  height: 4vh;
  border-radius: 1vh;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font: 3vh OpenSansBold, sans-serif;
  text-align: center;
  transition: 0.8s;
  transition-timing-function: ease-in;
}

#score_p
{
  left:14vh;
}

#score_b
{
  right:14vh;
}

#help_tap_table_p
{
  left:18vh;
}

#help_tap_table_b
{
  right:18vh;
}

.help_tap_arrow
{
  width: 7vh;
  height: 7vh;
  background-size: 110vh;
  background-position: 30% 12%;
  opacity: 0;
}

.help_tap_table
{
  position: absolute;
  top: 18vh;
  transition: top 1s ease-out;
  height:7vh;
  width:100%;
}

.help_tap_shift
{
  top:11vh;
}

.help_show
{
  transition: opacity .85s cubic-bezier(.1,2.0,1.0,-1.0);
  opacity: 1;
}

.scores_hist_shift
{
  top:8.5vh;
}

.hud_btn
{
  position: absolute;
  width: 6.4vh;
  height: 6.4vh;
  padding:0px;
  z-index: 2;
}

.sq_btn
{
  position: absolute;
  width: 5.8vh;
  height: 5.8vh;
  padding:0px;
  z-index: 2;
  border-radius: 1.5vh;
  border-width: 0.2vh;
  border-style: outset;
  border-color: #ddd;
  background-color: #111111;
}

.hud_btn
{
  background-color: transparent;
  border: 0px;
}

#btn_FAV
{
  left:0;
}

.hud_btn_l1
{
  left:6vh;
}

#panel_FAV
{
  background: rgba(0, 0, 0, 0.67);
  position: absolute;
  left: 0.1vh;
  width: 23vh;
  z-index: 4;
  min-height: 17vh;
  border-radius: 1.5vh;
  border-width: 0.2vh;
  border-style: outset;
  border-color: #cc6;
}

.panel_FAV
{
  top: 10.5vh;
}



.popup_title
{
  position: relative;
  font: 2.4vh OpenSansCondBold, sans-serif;
  top: 1vh;
  color: #ff9;
  text-align: center;
  height: 7vh;
  width:100%;
}

#saved_favs
{
  position: relative;
  width:100%;
}

.fav_item
{
  position: relative;
  width: 100%;
  height: 4vh;
  z-index: 5;
}

.fav_item_btn
{
  width: 20vh;
  left: 1.5vh;
  position: relative;
  background: black;
  border-radius: 1.5vh;
  border-width: 0.2vh;
  border-color: #ddd;
  border-style: outset;
  font: 2vh OpenSans, sans-serif;
}

.fav_txt
{
  text-align:left;
  overflow: hidden;
  white-space: nowrap;
  display: block;
  width: 18.5vh;
  text-overflow: ellipsis;
  padding-left: 0.5vh;
}

.fav_input
{
  position: absolute;
  border-radius: inherit;
  top: 0;
  left: 0%;
  width: 99%;
  height: 97%;
  font: 2vh OpenSans, sans-serif;
  padding-left: 0.5vh;
  color:black;
  background-color: lightgoldenrodyellow;
}

.fav_input::selection
{
  background-color:goldenrod;
  color:black;
}

#fav_edit_btns
{
  position: relative;
  height: 7vh;
}

.fav_edit_btn
{
  position: absolute;
  height: 4.5vh;
  width: 6.5vh;
  border-radius: 1.5vh;
  border-width: 0.2vh;
  border-style: outset;
  border-color:#ff4;
  background-color: black;
  background-size:70vh;
}

.fav_selected
{
  border-color: #ff4;
  font-size:2.2vh;
  color:#ff9;
}

#btn_EDITFAV
{
  top: 1vh;
  right: 4vh;
  background-position-x: 35.1%;
}

#btn_DELFAV
{
  top: 1vh;
  left: 4vh;

  background-position: 20% 0.8%;
}

.fav_button_icon
{
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 4vh;
  height: 4vh;
}

#btn_icon_EDITFAV
{
  background-position: 35.6% 0.8%;
  background-size: 72vh;
}

#btn_icon_DELFAV
{
  background-position: 20.7% 0.8%;
  background-size: 60vh;
}

#btn_ADDFAV
{
  font-family: OpenSansCondBold;
  font-size: 2.2vh;
  border-color: #cc6;
  height:3.5vh;
}

#btn_FAVINPUT
{
  top: -0.2vh;
  right: -7.1vh;
  background-position: 73% 0.8%;
}

#add_item_txt
{
  vertical-align: middle;
}

#btn_LOAD
{
  position: relative;
  width: 18.2vh;
  height: 6.4vh;
  font-size: 2.2vh;
  font-weight: 600;
  border-radius: 1.5vh;
  border-width: 0.2vh;
  background-position: 0.2% 23.7%;
  background-size: 68.5vh;
  margin-top: 1.5vh;
  margin-bottom: 1vh;
  left: 2.4vh;
}

#btn_SETTINGS, #btn_DEL
{
  right:0;
}

#btn_FAV, #btn_SETTINGS, #btn_BOLT
{
  top:0vh;
}

#btn_DEL
{
  top:10.15vh;
}

.top_button_icon
{
  position: absolute;
  height: 90%;
  top: 5%;
  left: 0px;
  right:0px;
  margin: auto;
  background-size: 72vh;
}

.ico_sett
{
  background-position: 61.4% 37.5%;
  width: 90%;
}

.ico_sett_dimmed
{
  background-position: 69.5% 37.1%;
}

.ico_fav
{
  background-position: 89.0% 71.1%;
  width: 90%;
}

.fav_lit
{
  background-position: 99.2% 71.1%;
}

.ico_bolt
{
  background-position: 60% 99.2%;
  width: 70%;
}

.bolt_halflit
{
  background-position-x: 50%;
}

.bolt_lit
{
  background-position-x: 40%;
}

.ico_del
{
  background-position: 83.8% 20.7%;
  width: 90%;
  background-size: 68vh;
}

.ico_del_glow
{
  background-position: 94.2% 20.7%;
}

.border_red
{
  border-color: red;
}

.border_yellow
{
  border-color: #ff4;
}

.meter
{
  vertical-align: -webkit-baseline-middle;
  font: 2.2vh OpenSansCondBold, sans-serif;
}

.meter_label
{
  color:goldenrod;

  /* Also implement Yellow orange gradient */
  background: linear-gradient(to bottom, #f6f649 33%, #d7692a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.meter_value
{
  color:white;
  transition: transform .45s cubic-bezier(.19,1.46,1,1.17);
}

.side_meter
{
  width: 18.5vh;
  height: 4.8vh;
  text-align: center;
  font-size: 2.5vh;
  padding-top: 1vh;
  border-radius: 1vh;
  background-position: 1.5% 14.4%;
  background-size: 78vh;
}

#meter_BALANCE
{
  right: -0.3vh;
}

#meter_WIN
{
  left: 18.7vh;
  bottom: 11vh;
}

#chip_selector_area
{
  width: 55.8vh;
  height: 13vh;
}

.chip_selector_area
{
  bottom: 27vh;
}

.chip_selector_shift_up
{
  bottom:45vh;
}

.chip_selector_shift_dn
{
  bottom:19vh;
}

#bottom_play_buttons
{
  width: 55.8vh;
  height: 12vh;
}

.bottom_play_buttons
{
  bottom: 18vh;
  transition: bottom .5s cubic-bezier(.55,-0.12,.23,1.29);
}

.buttons_shift_up
{
  bottom:36vh;
}

.buttons_shift_dn
{
  bottom:10vh;
}

.buttons_shift_dn_min
{
  bottom:4.8vh;
}

.fly
{
  bottom: -40vh;
}

.side_elem
{
  width: 16.5vh;
  height: 5.6vh;
  background-size: 78vh;
  font-size: 2.2vh;
  font-weight: 600;
  border-radius: 2.5vh;
  background-position: 34.3% 29.5%;
  z-index: 1;
}

.btn_txt
{
  font: 2.2vh OpenSansBold, sans-serif;
  width: 94%;
  text-align: center;
}

.btn_txt_sm
{
  font-size: 70%;
  letter-spacing: -0.4vh;
}

.btn_txt_lg
{
  font-size:125%;
}

.rside
{
  right:0.5vh;
}

.lside
{
  left:0.5vh;
}

.top_row
{
  top:2vh;
}

.bottom_row
{
  bottom:0.4vh;
}

.bottom_bg
{
  width: 20.5vh;
  height: 8.9vh;
  bottom: 0.1vh;
  background-position: 100% 59.2%;
  background-size: 69vh;
}

#bg_l
{
  left:0h;
}

#bg_r
{
  right:0vh;
}

#btn_PLAY
{
  position: absolute;
  background:transparent;
  width: 20.3vh;
  height: 10vh;
  left: 0vh;
  right: 0vh;
  bottom:0.1vh;
  margin: auto;
  border-radius: 4.5vh;
  border-width: 0px;
  z-index: 3;
  transition: text-shadow 1.75s;
  -webkit-transition : text-shadow 1.75s;
}

.btn_PLAY
{
  text-shadow:
   rgba(0,0,0,0.75) 2px 0 3px,
   rgba(0,0,0,0.75) 0 -2px 3px,
   rgba(255,255,255,0.25) 0 2px,
   rgba(0,0,0,0.3) 0px 3px 2px;
}

.btn_PLAY_bg
{
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-position: 0.2% 24.5%;
  background-size: 78vh;
  -webkit-filter: brightness(1.01);
  filter: brightness(1.01);
  transition: filter 1.75s;
  -webkit-transition : -webkit-filter 1.75s;
}

.btn_PLAY_bright
{
  text-shadow:
  rgba(32, 32, 32, 0.75) 2px 0 3px,
  rgba(32, 32, 32.75) 0 -2px 3px,
  rgba(255,255,255,0.25) 0 2px,
  rgba(32, 32, 32,0.3) 0px 3px 2px,
  0 -1px 3px rgb(255, 253, 222),
  0 1px 3px rgb(247, 242, 203),
  0px 0px 6px rgb(226, 226, 178)
}

.btn_PLAY_bg_bright
{
  -webkit-filter: brightness(1.15);
  filter: brightness(1.15);
}

.btn_PLAY_bg_down
{
  background-position-y: 39.5%;
}

.btn_txt_PLAY
{
  line-height: 4.6vh;
  font-size: 5vh;
  height: 9.5vh;
  width: 20.3vh;
  display: table-cell;
  vertical-align: middle;
}

.btn_txt_PLAY_post
{
  line-height: 3.5vh;
  font-size: 4vh;
}

#btn_txt_CLEAR
{
  font-size: 140%;
  bottom: 0.7vh;
}

#btn_txt_CLEAR,
#STR_REBET
{
  position: absolute;
  text-shadow:
  rgba(0,0,0,0.75) 2px 0 3px,
  rgba(0,0,0,0.75) 0 -2px 3px,
  rgba(255,255,255,0.25) 0 2px,
  rgba(0,0,0,0.3) 0px 3px 2px;
}

#STR_REBET
{
  left: 0;
  right: 0;
  font-size: 112%;
  color: white;
  bottom: 0vh;
}

#btn_txt_X2
{
  position: absolute;
  font-size: 125%;
  bottom: 0.7vh;
  left: 0.7vh;
  letter-spacing: -0.1vh;
}

#btn_X2
{
  color:#9CFFB1;
  text-shadow:
  rgba(0,0,0,0.75) 2px 0 3px,
  rgba(0,0,0,0.75) 0 -2px 3px,
  rgba(255,255,255,0.25) 0 2px,
  rgba(0,0,0,0.3) 0px 3px 2px,
  #9CFFB1 0px -4px 12px
}

#btn_X2:disabled
{
  color:gray;
  text-shadow:
  rgba(0,0,0,0.75) 2px 0 3px,
  rgba(0,0,0,0.75) 0 -2px 3px,
  rgba(255,255,255,0.25) 0 2px,
  rgba(0,0,0,0.3) 0px 3px 2px;
}

#btn_txt_UNDO
{
  font: 1.8vh OpenSansCondBold, sans-serif;
  position: absolute;
  bottom: 0.5vh;
}

#meter_BET
{
  left: -0.3vh;
}

#btn_icon_CLEAR, #btn_icon_UNDO, #btn_icon_CLEAR_gray, #btn_icon_UNDO_gray
{
  background-size: 62vh;
  height: 4vh;
  z-index: 5;
}

#btn_icon_CLEAR, #btn_icon_CLEAR_gray
{
  background-position: 21% 1%;
  width: 4vh;
  left: 6vh;
  top: 1vh;
}

#btn_icon_CLEAR_gray
{
  background-position-x: 57.3%;
}

#btn_UNDO
{
  position: absolute;
  width: 6vh;
  height: 7vh;
  top: 10vh;
  border: none;
  background: transparent;
}

#btn_icon_UNDO, #btn_icon_UNDO_gray
{
  background-position: 28.25% 1%;
  width:5vh;
  height: 5vh;
  left: 0.5vh;
  top: -0.5vh;
  background-size: 84vh;
}

#btn_icon_UNDO_gray
{
  background-position-x: 64.55%;
}

#history_area
{
  min-width: 55.8vh;
  max-width: 58.8vh;
  bottom: 0;
  z-index: 4;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  justify-content: center;
  font: 2vh EBGaramond, serif;
  transition: height .5s cubic-bezier(.55,-0.12,.23,1.29);
}

.hist_area
{
  height: 18vh;
}

.hist_area_tall
{
  height: 36vh;
}

.hist_area_short
{
  height: 10vh;
}

.hist_area_min
{
  height: 4.8vh;
}

#history_area .tooltipwindow
{
  position: absolute;
  bottom:100%;
  width:38vh;
  padding-left: 1vh;
  background-color: #000000d0;
  border-radius: 1vh;
  color: white;
  border: #7f6761 0.2vh solid;
  z-index: 8;
}

.tooltiphidden
{
  visibility: hidden;
}

.hist_ttrow
{
  position: relative;
  width: 100%;
  height: 3vh;
}

.hist_ttsq1,
.hist_ttsq2,
.hist_ttsq2h,
.hist_ttsq3
{
  position: absolute;
  top:0.5vh;
  width: 2vh;
  height:2vh;
  background: url(images/ui_atlas.png);
  background-size: 42vh;
}

.hist_ttsq1
{
  left:0vh;
}

.hist_ttsq2
{
  left:13vh;
}

.hist_ttsq2h
{
  left:18vh;
}

.hist_ttsq3
{
  left:26.5vh;
}

.hist_label1,
.hist_label2,
.hist_label2h,
.hist_label3
{
  position: absolute;
  font-size: 90%;
  top:0.4vh;
}

.hist_label1
{
  left:2.3vh;
}

.hist_label2
{
  left:15.4vh;
}

.hist_label2h
{
  left:20.4vh;
}

.hist_label3
{
  left:28.9vh;
}

.hist_ttsq_sum_p
{
  background-position: 25% 63%;
}

.hist_ttsq_sum_b
{
  background-position: 25% 69%;

}

.hist_ttsq_sum_t
{
  background-position: 30% 63%;
}

.hist_ttsq_det_p,
.hist_ttsq_det_b,
.hist_ttsq_det_t,
.hist_ttsq_det_bp,
.hist_ttsq_det_pp
{
  background-size: 75vh;
  background-position-x: 62.9%;
}


.hist_ttsq_det_p
{
  background-position-y:45.1%;
}

.hist_ttsq_det_b
{
  background-position-y:48.6%;
}

.hist_ttsq_det_t
{
  background-position-y:52.1%;
}

.hist_ttsq_det_bp
{
  background-position-y:62.6%;
}

.hist_ttsq_det_pp
{
  background-position-y:66.1%;
}

.hist_ttsq_pro_p,
.hist_ttsq_pro_b,
.hist_ttsq_pro_t,
.hist_ttsq_pro_t2,
.hist_ttsq_pro_bp,
.hist_ttsq_pro_pp,
.hist_ttsq_pro_nat
{
  background-size: 75vh;
}

.hist_ttsq_pro_p
{
  background-position:80.4% 44.9%;
}

.hist_ttsq_pro_b
{
  background-position:83.6% 44.9%;
}

.hist_ttsq_pro_t
{
  background-position:99.8% 44.9%;
}

.hist_ttsq_pro_t2
{
  background-position:99.8% 48.1%;
}

.hist_ttsq_pro_bp
{
  background-position:96.4% 44.9%;
}

.hist_ttsq_pro_pp
{
  background-position:96.4% 48.1%;
}

.hist_ttsq_pro_nat
{
  background-position:93.3% 48.1%;
}

.hist_ttsq_pro_be_b,
.hist_ttsq_pro_be_r,
.hist_ttsq_pro_sr_b,
.hist_ttsq_pro_sr_r,
.hist_ttsq_pro_cr_b,
.hist_ttsq_pro_cr_r
{
  background-size: 88vh;
  width: 1.5vh;
  height: 1.5vh;
  margin-left: 0.5vh;
  margin-top: 0.3vh;
  background-position-y: 52.3%;
}

.hist_ttsq_pro_be_r
{
  background-position-x: 79.4%;
}

.hist_ttsq_pro_be_b
{
  background-position-x: 81%;
}

.hist_ttsq_pro_sr_r
{
  background-position-x: 82.65%;
}

.hist_ttsq_pro_sr_b
{
  background-position-x: 84.1%;
}

.hist_ttsq_pro_cr_r
{
  background-position-x: 85.65%;
}

.hist_ttsq_pro_cr_b
{
  background-position-x: 87.2%;
}

.hist_btn_help
{
  position: absolute;
  right: -0.3vh;
  top: -0.3vh;
  height: 4vh;
  width: 4vh;
  background: url(images/ui_atlas.png);
  background-size: 70vh;
  z-index: 10;
  background-position-x: 60.5%;
  background-position-y: 72.6%;
}

.hist_btn_help_detailed,
.hist_btn_help_summary
{
  right: 7.4vh;
}

.hist_btn_help_dn_state
{
  background-position-y: 78.3%;
}

.hist_btn_help_lefty
{
  right:0;
}

.hist_btn_up,
.hist_btn_dn
{
  position: absolute;
  right: 0;
  height: 4.9vh;
  width: 7.8vh;
  background: url(images/ui_atlas.png);
  background-size: 75vh;
  z-index: 7;
}

.hist_btn_up
{
  top:0vh;
  background-position-x: 0.7%;
  background-position-y: 63.9%;
}

.hist_btn_up_text
{
  font: 1.3vh OpenSansBold, sans-serif;
  color: white;
  text-shadow: rgba(0,0,0,0.75) 2px 0 3px, rgba(0,0,0,0.75) 0 -2px 3px, rgba(255,255,255,0.25) 0 2px, rgba(0,0,0,0.3) 0px 3px 2px;
  top: -0.4vh;
  padding-left: 1.3vh;
  padding-top: 1.5vh;
  width: 6.7vh;
  height: 3.4vh;
  margin-bottom: 1vh;
  background-position-x: 12.9%;
  background-position-y: 84.2%;

}

.hist_btn_up_dn_state
{
  background-position-y: 92.1%;
}

.hist_btn_dn
{
  bottom:0.2vh;
  background-position-x: 0.7%;
  background-position-y: 84.2%;
}

.hist_btn_dn_dn_state
{
  background-position-y: 99.5%;
}

.hist_side_lefty
{
  right:unset;
  left:-0.6vh;
}

.hist_lspacer_lefty
{
  width: 7.8vh;
  height: 9.4vh;
}

.hist_summary_bgl, .hist_summary_bgr, .hist_summary_bgm,
.hist_summary_topl, .hist_summary_topr, .hist_summary_topm
{
  height: 9.4vh;
  background: url(images/ui_atlas.png);
  background-size: 81vh;
  background-position-y: 54%;
}

.hist_summary_bgl, .hist_summary_bgm,
.hist_summary_topl, .hist_summary_topr
{
  width: 4.7vh;
}

.hist_summary_bgl
{
  background-position-x: 18%;
}

.hist_summary_bgm
{
  width: 4vh;
  background-position-x: 23.8%;
}

.hist_summary_bgr
{
  width:4.8vh;
  background-position-x: 29.7%;
}

.hist_summary_rspc_righty
{
  height: 9.4vh;
  width:7vh;
}

.hist_summary_topl, .hist_summary_topr, .hist_summary_topm,
.hist_summary_scoreht, .hist_summary_scorep, .hist_summary_scoreb
{
  position: absolute;
  top:0;
}

.hist_summary_colh, .hist_summary_colt, .hist_summary_colp, .hist_summary_colb
{
  z-index: 6;
  width: 4.2vh;
  height: 8.2vh;
  background: url(images/ui_atlas.png);
  background-size: 82vh;
  background-position-y: 66.7%;
  top: 0.7vh;
  position: relative;
}

.hist_summary_colh
{
  background-position-x: 24.5%;
  right: -0.6vh;
}

.hist_summary_colp
{
  background-position-x: 18.8%;
  right: -0.1vh;
}

.hist_summary_colb
{
  background-position-x: 12.9%;
  top: 4.7vh;
  right: -0.1vh;
}

.hist_summary_colt
{
  background-position-x: 30.1%;
  right: -0.1vh;
}

.hist_summary_scoreht
{
  color: white;
  font-size: 3.2vh;
  font-weight:bold;
  margin-left: 1.5vh;
  margin-top: 0.8vh;
  line-height: 4vh;
  z-index: 7;
}

.hist_summary_scorep, .hist_summary_scoreb
{
  width: 4.4vh;
  height: 4.1vh;
  color: white;
  font-size: 2.2vh;
  font-weight:bold;
  line-height: 2vh;
  z-index: 7;
}

.hist_summary_scorep
{
  top: 0.5vh;
}

.hist_summary_scoreb
{
  top: 4.6vh;
}

.hist_score_winner
{
  position: absolute;
  left: 0.9vh;
  top: 0.35vh;
}

.hist_score_loser
{
  position: absolute;
  right: 0.9vh;
  bottom: 0.2vh;
}

.hist_summary_topl, .hist_summary_topr, .hist_summary_topm
{
  z-index: 8;
}

.hist_summary_topl
{
  background-position-x: 0%;
}

.hist_summary_topm
{
  width: 4.2vh;
  background-position-x: 6.1%;
}

.hist_summary_topr
{
  background-position-x: 11.6%;
}

.hist_detail_tally_bg,
.hist_detail_col_bgl,
.hist_detail_col_bgt,
.hist_detail_col_bgm,
.hist_detail_col_bgr
{
  height: 18vh;
  background: url(images/ui_atlas.png);
  background-size: 75vh;
  background-position-y: 57.3%;
  z-index: 5;
}

.hist_detail_tally_bg
{
  width: 13vh;
  background-position-x: 41%;
}

.hist_detail_tally_bgt
{
  position: relative;
  left: 6.5vh;
  width: 4vh;
}

.hist_detail_col_bgl
{
  width: 2.6vh;
  padding-left: 0.4vh;
  background-position-x: 51.9%;
}

.hist_detail_col_bgm
{
  width: 2.2vh;
  background-position-x: 55%;
}

.hist_detail_col_bgr
{
  width: 3.3vh;
  background-position-x: 58.5%;
}

.hist_detail_col_rspc
{
  height: 18vh;
  width: 0.2vh;
}

.hist_detail_last_righty
{
  height: 18vh;
  width: 8.4vh;
  z-index: 5;
}

.hist_detail_last_bg
{
  position: absolute;
  top: 4.8vh;
  right: 0vh;
  height: 8.3vh;
  width: 7.8vh;
  background: url(images/ui_atlas.png);
  background-size: 75vh;
  background-position-x: 0.7%;
  background-position-y: 75.5%;
  z-index: 6;
}

.hist_detail_score
{
  position: absolute;
  top: 0.7vh;
  right: 1.2vh;
  height: 4.8vh;
  width: 5.2vh;
  color:white;
  font-size: 2.8vh;
  font-weight: bold;
  line-height: 2.6vh;
  background: url(images/ui_atlas.png);
  background-size: 75vh;
  background-position-x: 40%;
  background-position-y: 75.6%;
  z-index: 7;
}

.hist_detail_score_p
{
  background-position-x: 32.4%;
}

.hist_detail_score_b
{
  background-position-x: 24.8%;
}

.hist_detail_score_label
{
  color: white;
  text-align: center;
  font-size: 1.8vh;
  position: absolute;
  top: 5vh;
  width: 5.2vh;
}

.hist_detail_topspc,
.hist_detail_sq,
.hist_detail_sq_tie,
.hist_detail_sq_p,
.hist_detail_sq_b,
.hist_detail_sq_pp,
.hist_detail_sq_bp
{
  height:2.2vh;
  width:2.1vh;
  z-index: 7;
}

.hist_tally_sq
{
  height:2.2vh;
  width: 4vh;
  z-index: 7;
  font-weight:bold;
  color: white;
}
.hist_tally_topspc
{
  height:1.9vh;
}

.hist_detail_sq_tie,
.hist_detail_sq_p,
.hist_detail_sq_b,
.hist_detail_sq_bp,
.hist_detail_sq_pp
{
  background: url(images/ui_atlas.png);
  background-size: 75vh;
  background-position-x: 63%;
}

.hist_detail_sq_tie,
.hist_detail_sq_p,
.hist_detail_sq_b
{
  position: relative;
}

.hist_detail_sq_p
{
  background-position-y: 44.9%;
}

.hist_detail_sq_b
{
  background-position-y: 48.5%;
}

.hist_detail_sq_tie
{
  background-position-y: 52%;
}

.hist_detail_sq_bp
{
  position: absolute;
  top: 0;
  left: 0;
  background-position-y: 55.5%;
  z-index:9;
}

.hist_detail_sq_pp
{
  position: absolute;
  top: 0;
  left: 0;
  background-position-y: 59.1%;
  z-index:10;
}

.hist_pro_table
{
  display: flex;
  width: 55.8vh;
  left:0;
  right:0;
  margin: auto;
}

.hist_pro_dn_btn
{
  transform: scale(0.7);
  right: -1.2vh;
  bottom: 0vh;
}

.hist_pro_label_br,
.hist_pro_label_bb,
.hist_pro_label_sr,
.hist_pro_label_cr
{
  color: rgba(255,255,255,0.3);
  font-size: 150%;
  position: absolute;
  z-index: 6;
}

.hist_pro_label_br
{
  top:10.5vh;
}

.hist_pro_label_bb
{
  top:17.4vh;
}

.hist_pro_label_sr
{
  top:24.3vh;
}

.hist_pro_label_cr
{
  top:31.2vh;
}

.hist_pro_leftspc,
.hist_pro_col_bgl,
.hist_pro_col_bgm,
.hist_pro_col_bgr
{
  height: 36vh;
  background: url(images/ui_atlas.png);
  background-size: 75vh;
  background-position-y: 83.4%;
  z-index: 5;
}

.hist_pro_leftspc
{
  width: 0.5vh;
  background-position-x:65.4%;
}

.hist_pro_col_bgl
{
  width: 2.4vh;
  background-position-x: 68%;
}

.hist_pro_col_bgm
{
  width: 2.4vh;
  background-position-x: 71.05%;
}

.hist_pro_col_bgr
{
  width: 3vh;
  background-position-x: 74.9%;
}

.hist_pro_col_rspc
{
  height: 36vh;
  width: 0.2vh;
}

.hist_pro_topspc,
.hist_pro_sq,
.hist_pro_sq_p,
.hist_pro_sq_b,
.hist_pro_sq_pn,
.hist_pro_sq_bn,
.hist_pro_sq_tie
{
  position: relative;
  left: -0.2vh;
  width:2.2vh;
  z-index: 7;
}

.hist_pro_topspc
{
  height:0.6vh;
}

.hist_pro_sq,
.hist_pro_sq_p,
.hist_pro_sq_b,
.hist_pro_sq_pn,
.hist_pro_sq_bn,
.hist_pro_sq_tie,
.hist_pro_sq_tie2,
.hist_pro_sq_pp,
.hist_pro_sq_bp
{
  height: 2.27vh;
}

.hist_pro_sq_p,
.hist_pro_sq_b,
.hist_pro_sq_pn,
.hist_pro_sq_bn,
.hist_pro_sq_pp,
.hist_pro_sq_bp,
.hist_pro_sq_tie,
.hist_pro_sq_tie2
{
  background: url(images/ui_atlas.png);
  background-size: 75vh;
  background-position-y: 45%;
}

.hist_pro_sq_pn,
.hist_pro_sq_bn,
.hist_pro_sq_pp,
.hist_pro_sq_tie2
{
  background-position-y: 48.25%;
}

.hist_pro_sq_p,
.hist_pro_sq_pn
{
 background-position-x: 80.4%;
}

.hist_pro_sq_b,
.hist_pro_sq_bn
{
 background-position-x: 83.6%;
}


.hist_pro_sq_pp,
.hist_pro_sq_bp
{
  position: absolute;
  top: 0;
  width: 2.2vh;
  background-position-x: 86.8%;
  z-index: 8;
}

.hist_pro_sq_tie,
.hist_pro_sq_tie2
{
 background-position-x: 89.7%;
}

.hist_pro_sm_sq_tl,
.hist_pro_sm_sq_tr,
.hist_pro_sm_sq_bl,
.hist_pro_sm_sq_br
{
  position: absolute;
  height:1.1vh;
  width: 1.1vh;
}

.hist_pro_sm_sq_tl
{
  top:0.1vh;
  left:0.1vh;
}

.hist_pro_sm_sq_tr
{
  top:0.1vh;
  left:1.2vh;
}

.hist_pro_sm_sq_bl
{
  bottom:0.1vh;
  left:0.1vh;
}

.hist_pro_sm_sq_br
{
  bottom:0.1vh;
  left:1.2vh;
}

.hist_pro_be_red,
.hist_pro_be_blue,
.hist_pro_sr_red,
.hist_pro_sr_blue,
.hist_pro_cr_red,
.hist_pro_cr_blue
{
  background: url(images/ui_atlas.png);
  background-size: 75vh;
  background-position-y: 52.3%;
}

.hist_pro_be_red
{
  background-position-x: 79.4%;
}

.hist_pro_be_blue
{
  background-position-x: 80.9%;
}

.hist_pro_sr_red
{
  background-position-x: 82.45%;
}

.hist_pro_sr_blue
{
  background-position-x: 84.2%;
}

.hist_pro_cr_red
{
  background-position-x: 85.6%;
}

.hist_pro_cr_blue
{
  background-position-x: 87.2%;
}

.sett_wide_btn
{
  height: 4.5vh;
  width: 16vh;
  text-align: center;
  border-radius: 1vh;
  border-width: 0.2vh;
  border-style: outset;
  border-color: #ddd;
  position: absolute;
}

.btn_gradient
{
  background-color: rgb(179, 0, 0);
  background-image: linear-gradient(#f00, #622);
}

#btn_FELT
{
  left:0;
  right: 0vh;
  margin:auto;
  top: 0.5vh;
}

#btn_RULES
{
  left: 2vh;
  bottom: 9.2vh;
  background-color: darkorange;
  background-image: linear-gradient(#fd7b08, #2c1601);
}

#btn_PAYTABLE
{
  right: 2vh;
  bottom: 9.2vh;
  background-color: green;
  background-image: linear-gradient(#57be03, #122501);
}

#btn_ADVANCED
{
  left:0;
  right:0;
  margin:auto;
  bottom: 2vh;
  background-color: rgb(85, 25, 116);
  background-image: linear-gradient(#8216ff, #1c013a);
}

#btn_BACK_TO_SETT
{
  left:0;
  right:0;
  margin:auto;
  bottom: 2vh;
  background-color: rgb(85, 25, 116);
  background-image: linear-gradient(#8216ff, #1c013a);
}

.state_btn, .state_btn_adv
{
	position: relative;
  width: 40vh;
  margin: 1vh auto;
}

.state_btn
{
  height: 9vh;
}

.state_btn_adv
{
  height: 9vh;
}

.state_btn_label
{
	position: relative;
  font-size: 3.5vh;
  left:1vh;
}

.state_btn_wrapper
{
  width: 10vh;
  height: 8vh;
  right: 0;
  position: absolute;
  top: 0;
}

.state_cycle_btn
{
  right: 1.9vh;
  top: 0;
  background-size: 71.1vh;
  background-position: 62.8% 70.6%;
}

.state_btn_value, .state_btn_value_adv
{
  width: 10vh;
  right: 0;
  left: 0;
  margin: auto;
  position: absolute;
  text-align: center;
}

.state_btn_value
{
  top: 6.2vh;
  font-size: 2.2vh;
}

.state_btn_value_adv
{
  top: 6.2vh;
  font-size: 2.2vh;
}

.view_3d
{
  background-position: 79.6% 70.6%;
}

.view_ovr
{
  background-position: 71.2% 70.6%;
}

.custom_val
{
  background-position: 0.1% 85.5%;
}

.anim_default
{
  background-position: 60% 99.2%;
}

.anim_fast
{
  background-position: 49.7% 99.2%;
}

.anim_off
{
  background-position: 39.4% 99.2%;
}

.ico_peel
{
  background-position: 39.5% 88.2%;
}

.ico_scratch
{
  background-position: 48% 88.2%;
}

.peel_all
{
  background-position: 57.5% 21%;
}

.peel_hit
{
  background-position: 65.8% 21%;
}

.scratch_all
{
  background-position: 74.3% 21%;
}

.scratch_hit
{
  background-position: 82.6% 21%;
}

.squeeze_off
{
  background-position: 91% 21%;
}

.left-hand
{
  background-position: 92.5% 61.6%;
}

.right-hand
{
  background-position: 100% 61.6%;
}

.check_on
{
  background-position: 99% 0.8%;
  background-size: 108vh;
}

.check_off
{
  background-position: 91.5% 0.9%;
  background-size: 108vh;
}

.sound_off
{
  background-position: 58.3% 11.3%;
}

.sound_lo
{
  background-position: 66.65% 11.3%;
}

.sound_hi
{
  background-position: 75% 11.3%;
}

.music_off
{
  background-position: 83.4% 11.3%;
}

.music_lo
{
  background-position: 91.8% 11.3%;
}

.music_hi
{
  background-position: 100% 11.3%;
}

.gfx_hi
{
  background-position: 49.85% 11.8%;
}

.gfx_lo
{
  background-position: 41.5% 11.8%;
}

.window
{
  z-index: 11;
  height: 100%;
  width: 100%;
  background-color: white;
  color: black;
  top: 0;
  position: absolute;
  left: 0;
  overflow-x: auto;
  overflow-y: auto;
  font: 2.2vh OpenSans, sans-serif;
}

.window p, h1, h2, h3, h4
{
  width: 98%;
  padding-left:1%;
}

.window_title,  .panel_title, .title_area
{
  padding-top: 1.5vh;
  padding-bottom: 1.5vh;
  font: 3vh OpenSansCondBold, sans-serif;
  font-weight: 600;
}

.window_title, .panel_title
{
  width: 100%;
  text-align: center;
  color: white;
  background: black;
}

.panel_title
{
  position: absolute;
}

.window_title
{
  position:fixed;
}

.window_header
{
  font: 2.8vh OpenSansCondBold, sans-serif;
}

.window_subheader
{
  font: 2.8vh OpenSans, sans-serif;
}

.table_header
{
  background-color: #303030;
  color: white;
}

.table_row
{
  background-color: #ededed;
}

.table_width
{
  max-width: 50vh;
}

#settings_blocker
{
  background:transparent;
}

#settings_panel, #adv_settings_panel
{
  font: 3vh OpenSansCondBold, sans-serif;
  padding-bottom: 3vh;
  width: 44vh;
  left: 0;
  right: 0;
  margin: auto;
  position: relative;
  background:rgba(0, 0, 0, 0.67);
  height: 76.5vh;
  color: white;
}

#settings_footer
{
  font: 1.8vh OpenSansCondLight, sans-serif;
  position: absolute;
  bottom: 3vh;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
}

.x_button
{
  position: absolute;
  top: 0;
  right: 0;
  width: 5vh;
  height: 5vh;
  margin: 0.5vh;
  border-radius: 1vh;
  border-width: 0.2vh;
  border-style: outset;
  border-color: #ddd;
  background-color: #111111;
}

.x_icon
{
  position: absolute;
  margin: 0.3vh;
  top:0;
  left:0;
  background: url(images/ui_atlas.png) 13% 0.2%;
  width: 4vh;
  height: 4vh;
  background-size: 58vh;
}

.blocker
{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0, 0, 0, 0.67);
}

#errorPage
{
  position:absolute;
  width:100%;
  height:100%;
  left:0;
  top:0;
  padding-top: 10vh;
  font: 3vh EBGaramond, sans-serif;
  background-color: #444;
  z-index:20;
}

#errorMessage
{
  font-size:2.5vh;
  width:80%;
  margin-top: 3vh;
  padding: 2vh;
  display: block;
  background: #eff;
  border-radius: 1vh;
  margin: auto;
  max-height: 30vh;
  overflow: hidden;
  position: relative;
  top: 2vh;
  text-align: center;
}

#errorIcon
{
  top:10vh;
  height: 20vh;
  width: 20vh;
  margin: auto;
  background-size: cover;
}

#errorButton
{
  width : 70%;
  padding:3vh;
  font-size: 4vh;
  white-space: nowrap;
  color:white;
  border-radius: 2vh;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-width: 0.4vh;
  border-style: outset;
  border-color: #ddd;
  background-color: #111111;
  margin: auto;
  top:10vh;
}

/* Start of state overrides */
/* Add default values above*/
button
{
  color:white;
}

button:focus
{
  /* future highlight of focus element if desired */
  /* box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.1); */
  outline:none;
}

button:disabled
{
  box-shadow: inset 0 0 100px 100px rgba(0, 0, 0, 0.3);
  color:gray;
}

/* iPhone 13s / 12 / 12 pro / 11/ X / XS / XR / XS Max PORTRAIT support */
/* Override values for windows that get thinner than a 16:9 phone display */
/* Return to height based values for windows that get thinner than we support */
/* Defined before thinner than 9:16 rules so those can win over these */
@media 
only screen and (max-aspect-ratio: 14/25),
only screen and (device-width : 390px) and (device-height : 844px) and (-webkit-device-pixel-ratio : 3) and (orientation : portrait),
only screen and (device-width : 428px) and (device-height : 926px) and (-webkit-device-pixel-ratio : 3) and (orientation : portrait),
only screen and (device-width : 375px) and (device-height : 812px) and (-webkit-device-pixel-ratio : 3) and (orientation : portrait),
only screen and (device-width : 375px) and (device-height : 812px) and (-webkit-device-pixel-ratio : 2) and (orientation : portrait),
only screen and (device-width : 414px) and (device-height : 896px) and (orientation : portrait) 
{
  .ui_msg
  {
    font-size:4vh;
  }

  .intro_panel
  {
    width: 40.5vh;
    height: 43.2vh;
    top: 13.3vh;
    padding:2vh;
    font-size:2vh;
    border-radius: 2.1vh;
    border-width: 0.4vh;
  }
  
  .intro_list
  {
    text-indent: -2.5vh;
    margin-left: 2.5vh;
  }
  
  .intro_shrink
  {
    top: -21.6vh;
    left: -40.7vh;
  }
  
  .intro_sq_ico
  {
    width: 5vh;
    height: 5vh;
    background-size: 56.5vh;
    top: 1.25vh;
  }
  
  #STR_INTRO_TITLE
  {
    font-size:2.7vh;
    width: 31.6vh;
    margin-bottom: 1.7vh;
  }

  #top_hud_bar
  {
    top:0.29vh;
    width: 45.93vh;
  }

  #help_tap_table_p
  {
    left:14vh;
  }
  
  #help_tap_table_b
  {
    right:14vh;
  }

  .help_tap_table
  {
    top:15vh;
  }

  .help_tap_shift
  {
    top:9vh;
  }

  .hud_btn
  {
    width: 5.32vh;
    height: 5.32vh;
  }

  .sq_btn
  {
    width: 4.8vh;
    height: 4.8vh;
    border-width: 0.17vh;
    border-radius: 1.25vh;
  }

  #panel_FAV
  {
    top: 8.73vh;
    left: 0.083vh;
    width: 19.12vh;
    min-height: 14.13vh;
    border-radius: 1.25vh;
    border-width: 0.166vh;
  }

  .popup_title
  {
    font-size: 2vh;
    top: 0.83vh;
    height: 5.82vh;
  }

  .fav_item
  {
    height: 3.33vh;
  }

  .fav_item_btn
  {
    width: 16.63vh;
    left: 1.25vh;
    border-radius: 1.25vh;
    border-width: 0.17vh;
    font-size: 1.66vh;
  }

  .fav_txt
  {
    width: 15.38vh;
  }

  .fav_input
  {
    font-size: 1.67vh;
  }

  #fav_edit_btns
  {
    height: 5.82vh;
  }

  .fav_edit_btn
  {
    height: 3.5vh;
    width: 4.5vh;
    border-radius: 1.25vh;
    border-width: 0.17vh;
    background-size: 49.88vh;
  }

  .fav_button_icon
  {
    width: 3.3vh;
    height: 3.3vh;
  }

  #btn_icon_EDITFAV
  {
    background-size: 60vh;
  }

  #btn_icon_DELFAV
  {
    background-size: 50vh;
  }

  .fav_selected
  {
    font-size:1.83vh;
  }

  #btn_EDITFAV
  {
    top: 0.83vh;
    right: 4.16vh;
  }

  #btn_DELFAV
  {
    top: 0.83vh;
    left: 4.16vh;
  }

  #btn_ADDFAV
  {
    height:3vh;
    font-size:1.83vh;
  }

  #btn_LOAD
  {
    width: 15.13vh;
    height: 5.32vh;
    font-size: 1.83vh;
    border-radius: 1.25vh;
    border-width: 0.17vh;
    background-size: 56.94vh;
    margin-top: 1.25vh;
    margin-bottom: 0.83vh;
    left: 2vh;
  }

  #btn_DEL
  {
    top:8.44vh;
  }

  #chip_selector_area
  {
    width: 46.314vh;
    height: 10.79vh;
  }

  .chip_selector_area
  {
    bottom: 22.5vh;
  }

  .chip_selector_shift_up
  {
    bottom:40.5vh;
  }

  .chip_selector_shift_dn
  {
    bottom:19vh;
  }

  #bottom_play_buttons
  {
    width: 46.314vh;
    height: 9.96vh;
  }

  .bottom_play_buttons
  {
    bottom:14.9vh;
  }

  .buttons_shift_up
  {
    bottom:33.2vh;
  }

  .buttons_shift_dn
  {
    bottom:11.6vh;
  }

  .buttons_shift_dn_min
  {
    bottom:4.3vh;
  }

  .side_meter
  {
    width: 15.35vh;
    height: 3.98vh;
    font-size: 2.075vh;
    padding-top: 0.83vh;
    border-radius: 0.83vh;
    background-size: 64.74vh;
  }
  
  #meter_BALANCE
  {
    right: -0.25vh;
  }
  
  #meter_WIN
  {
    left: 15.5vh;
    bottom: 9.13vh;
  }

  .top_button_icon
  {
    background-size: 59.85vh;
  }

  .ico_del
  {
    background-size: 56.53vh;
  }

  .side_elem
  {
    width: 13.7vh;
    height: 4.7vh;
    font-size: 1.83vh;
    border-radius: 2.17vh;
    background-size: 64.74vh;
  }

  .rside
  {
    right:0.42vh;
  }
  
  .lside
  {
    left:0.42vh;
  }
  
  .top_row
  {
    top:1.67vh;
  }
  
  .hud_msg_bg
  {
    width: 46.2vh;
    background-size: 215.8vh;
  }

  .bottom_row
  {
    bottom:0.34vh;
  }

  .bottom_bg
  {
    width: 17.04vh;
    height: 7.4vh;
    bottom: 0.083vh;
    background-size: 57.36vh;
  }

  #btn_PLAY
  {
    width: 16.85vh;
    height: 8.3vh;
    border-radius: 3.74vh;
  }

  .btn_PLAY_bg
  {
    background-size: 64.74vh;
  }

  .btn_txt_sm
  {
    letter-spacing: -0.33vh;
  }

  .btn_txt_PLAY
  {
    line-height: 3.8vh;
    font-size: 4.15vh;
    width: 16.85vh;
    height: 7.89vh;
  }

  .btn_txt_PLAY_post
  {
    line-height: 2.95vh;
    font-size: 3.32vh;
  }

  #btn_txt_CLEAR
  {
    bottom:0.4vh;
    left: 0.5vh;
  }

  #btn_txt_X2
  {
    bottom: 0.4vh;
    left: 0.58vh;
  }

  #meter_BET
  {
    left: -0.25vh;
  }

  #btn_icon_CLEAR, #btn_icon_UNDO, #btn_icon_CLEAR_gray, #btn_icon_UNDO_gray
  {
    background-size: 51.54vh;
    height: 3.33vh;
  }

  #btn_icon_CLEAR, #btn_icon_CLEAR_gray
  {
    width: 3.33vh;
    left: 4.99vh;
    top: 0.83vh;
  }

  #btn_icon_UNDO, #btn_icon_UNDO_gray
  {
    width: 4.15vh;
    left: 0.42vh;
    top: 0.42vh;
    height: 4.15vh;
    top: -0.42vh;
    background-size: 69.72vh;
  }

  .state_cycle_btn
  {
    right: 2.5vh;
    background-size: 59vh;
  }

  .state_btn_value
  {
    top:5.2vh;
    font-size: 2.1vh;
  }

  .check_on
  {
    background-size: 89.7vh;
  }

  .check_off
  {
    background-size: 89.7vh;
  }

  #history_area
  {
    min-width: 46.3vh;
    max-width: 49vh;
    font-size:1.67vh;
  }

  .hist_area
  {
    height: 14.95vh;
  }

  .hist_area_tall
  {
    height: 33.2vh;
  }

  .hist_area_short
  {
    height: 11.6vh;
  }

  .hist_area_min
  {
    height: 4.2vh;
  }


  .hist_btn_help
  {
    right: -0.25vh;
    top: -0.25vh;
    height: 3.32vh;
    width: 3.32vh;
    background-size: 58.1vh;
  }
  
  .hist_btn_help_detailed,
  .hist_btn_help_summary
  {
    right: 6.14vh;
  }
  
  .hist_btn_help_lefty
  {
    right:0;
  }

  .hist_btn_up,
  .hist_btn_dn
  {
    height: 4.07vh;
    width: 6.47vh;
    background-size: 62.3vh;
  }

  .hist_btn_up_text
  {
    font-size: 1.1vh;
    top: -0.33vh;
    padding-left:1.1vh;
    padding-top: 1.25vh;
    width: 5.5vh;
    height: 2.8vh;
    margin-bottom: 0.8vh;
  }

  .hist_btn_dn
  {
    bottom:0.17vh;
  }

  .hist_side_lefty
  {
    right:unset;
    left:-0.5vh;
  }

  .hist_lspacer_lefty
  {
    width: 5.5vh;
    height: 7.8vh;
  }


  .hist_summary_bgl, .hist_summary_bgr, .hist_summary_bgm,
  .hist_summary_topl, .hist_summary_topr, .hist_summary_topm
  {
    height: 7.8vh;
    background-size: 67.2vh;
  }

  .hist_summary_bgl, .hist_summary_bgm,
  .hist_summary_topl, .hist_summary_topr
  {
    width: 3.9vh;
  }

  .hist_summary_bgm
  {
    width: 3.32vh;
  }

  .hist_summary_bgr
  {
    width:3.98vh;
  }

  .hist_summary_rspc_righty
  {
    height: 7.8vh;
    width: 5.5vh;
  }

  .hist_summary_colh, .hist_summary_colt, .hist_summary_colp, .hist_summary_colb
  {
    width: 3.49vh;
    height: 6.81vh;
    background-size: 68.1vh;
    top: 0.58vh;
  }

  .hist_summary_colh
  {
    right: -0.5vh;
  }

  .hist_summary_colp
  {
    right: -0.08vh;
  }

  .hist_summary_colb
  {
    top: 3.9vh;
    right: -0.08vh;
  }

  .hist_summary_colt
  {
    right: -0.08vh;
  }

  .hist_summary_scoreht
  {
    font-size: 2.66vh;
    margin-left: 1.25vh;
    margin-top: 0.66vh;
    line-height: 3.32vh;
  }

  .hist_summary_scorep, .hist_summary_scoreb
  {
    width: 3.65vh;
    height: 3.4vh;
    font-size: 1.83vh;
    line-height: 1.66vh;
  }

  .hist_summary_scorep
  {
    top: 0.42vh;
  }

  .hist_summary_scoreb
  {
    top: 3.82vh;
  }

  .hist_score_winner
  {
    left: 0.75vh;
    top: 0.29vh;
  }

  .hist_score_loser
  {
    right: 0.75vh;
    bottom: 0.17vh;
  }

  .hist_summary_topm
  {
    width: 3.49vh;
  }

  .hist_detail_tally_bg,
  .hist_detail_col_bgl,
  .hist_detail_col_bgt,
  .hist_detail_col_bgm,
  .hist_detail_col_bgr
  {
    height: 14.9vh;
    background-size: 62.3vh;
  }

  .hist_detail_tally_bg
  {
    width: 10.8vh;
  }

  .hist_detail_tally_bgt
  {
    left: 5.4vh;
    width: 3.32vh;
  }

  .hist_detail_col_bgl
  {
    width: 2.16vh;
    padding-left: 0.33vh;
  }

  .hist_detail_col_bgm
  {
    width: 1.83vh;
  }

  .hist_detail_col_bgr
  {
    width: 2.74vh;
  }

  .hist_detail_col_rspc
  {
    height: 14.9vh;
    width: 0.17vh;
  }

  .hist_detail_last_righty
  {
    height: 14.9vh;
    width: 6.97vh;
  }

  .hist_detail_last_bg
  {
    top: 3.98vh;
    height: 6.89vh;
    width: 6.47vh;
    background-size: 62.3vh;
  }

  .hist_detail_score
  {
    top: 0.58vh;
    right: 1vh;
    height: 3.98vh;
    width: 4.32vh;
    font-size: 2.32vh;
    line-height: 2.16vh;
    background-size: 62.3vh;
  }

  .hist_detail_score_label
  {
    font-size: 1.49vh;
    top: 4.15vh;
    width: 4.32vh;
  }

  .hist_detail_topspc,
  .hist_detail_sq,
  .hist_detail_sq_tie,
  .hist_detail_sq_p,
  .hist_detail_sq_b,
  .hist_detail_sq_pp,
  .hist_detail_sq_bp
  {
    height:1.83vh;
    width:1.74vh;
  }

  .hist_tally_sq
  {
    height:1.83vh;
    width: 3.32vh;
  }
  .hist_tally_topspc
  {
    height:1.58vh;
  }

  .hist_detail_sq_tie,
  .hist_detail_sq_p,
  .hist_detail_sq_b,
  .hist_detail_sq_bp,
  .hist_detail_sq_pp
  {
    background-size: 62.3vh;
  }

  .hist_pro_table
  {
    width: 46.3vh;
  }

  .hist_pro_label_br
  {
    top:8.72vh;
  }

  .hist_pro_label_bb
  {
    top:14.4vh;
  }

  .hist_pro_label_sr
  {
    top:20.2vh;
  }

  .hist_pro_label_cr
  {
    top:25.9vh;
  }

  .hist_pro_leftspc,
  .hist_pro_col_bgl,
  .hist_pro_col_bgm,
  .hist_pro_col_bgr
  {
    height: 29.9vh;
    background-size: 62.3vh;
  }

  .hist_pro_leftspc
  {
    width: 0.42vh;
  }

  .hist_pro_col_bgl
  {
    width: 1.99vh;
  }

  .hist_pro_col_bgm
  {
    width: 1.99vh;
  }

  .hist_pro_col_bgr
  {
    width: 2.49vh;
  }

  .hist_pro_col_rspc
  {
    height: 29.9vh;
    width: 0.17vh;
  }

  .hist_pro_topspc,
  .hist_pro_sq,
  .hist_pro_sq_p,
  .hist_pro_sq_b,
  .hist_pro_sq_pn,
  .hist_pro_sq_bn,
  .hist_pro_sq_tie
  {
    left: -0.17vh;
    width:1.83vh;
  }

  .hist_pro_topspc
  {
    height:0.5vh;
  }

  .hist_pro_sq,
  .hist_pro_sq_p,
  .hist_pro_sq_b,
  .hist_pro_sq_pn,
  .hist_pro_sq_bn,
  .hist_pro_sq_tie,
  .hist_pro_sq_tie2,
  .hist_pro_sq_pp,
  .hist_pro_sq_bp
  {
    height: 1.88vh;
  }

  .hist_pro_sq_p,
  .hist_pro_sq_b,
  .hist_pro_sq_pn,
  .hist_pro_sq_bn,
  .hist_pro_sq_pp,
  .hist_pro_sq_bp,
  .hist_pro_sq_tie,
  .hist_pro_sq_tie2
  {
    background-size: 62.3vh;
  }

  .hist_pro_sq_pp,
  .hist_pro_sq_bp
  {
    width: 1.83vh;
  }

  .hist_pro_sm_sq_tl,
  .hist_pro_sm_sq_tr,
  .hist_pro_sm_sq_bl,
  .hist_pro_sm_sq_br
  {
    height:0.91vh;
    width: 0.91vh;
  }

  .hist_pro_sm_sq_tl
  {
    top:0.08vh;
    left:0.08vh;
  }

  .hist_pro_sm_sq_tr
  {
    top:0.08vh;
    left:1vh;
  }

  .hist_pro_sm_sq_bl
  {
    bottom:0.08vh;
    left:0.08vh;
  }

  .hist_pro_sm_sq_br
  {
    bottom:0.08vh;
    left:1vh;
  }

  .hist_pro_be_red,
  .hist_pro_be_blue,
  .hist_pro_sr_red,
  .hist_pro_sr_blue,
  .hist_pro_cr_red,
  .hist_pro_cr_blue
  {
    background-size: 62.3vh;
  }
}
