@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: OpenSansRegular;
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/OpenSans-Regular.ttf') format('truetype');
}

@font-face
{
  font-family: Creepster;
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Creepster-Regular.ttf') format('truetype');
}

@font-face
{
  font-family: SairaSemiCondBold;
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/SairaSemiCondensed-Bold.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 OpenSansRegular, 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;
}

.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;
  background: url("images/bg-scene.jpg");
  background-size: 166vh;
  background-position-x: center;
  background-position-y: -19vh;
  background-repeat: no-repeat;
  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 SairaSemiCondBold, sans-serif;
  position: absolute;
  margin: auto;
  top: 68vh;
  left: 0;
  right: 0;
}

#loadingProgressText
{
  position: absolute;
  left: 0;
  right: 0;
}

#loadingLogo
{
  max-height:25vh;
  margin-top: 3vh;
}

#loadingProgressText
{
  top: 69vh;
  font: 4.2vh Creepster, 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;
}

#loadingLegalText
{
  font: 1.7vh OpenSansRegular, sans-serif;
  color:#ccc;
  line-height: 2.2vh;
  position: absolute;
  top: 85vh;
  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;
}

#hud_curtain
{
  width: 672px;
  height: 729px;
  background-color: black;
  z-index: 15;
  position: absolute;
}

#curtainSpinner, #curtainImg
{
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  margin:auto;
}

#curtainSpinner
{
  height:12vh;
}

#curtainImg
{
  height: 50vh;
  width: 42vh;
  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");
  color:white;
  border-width: 0;
  font: 2.2vh OpenSansCondBold, sans-serif;
}

#side_frame
{
  position:relative;
  width: 100%;
  height: 100%;
  max-width: 93vh;
  margin: auto;
  z-index:-1;
}

.textval_changing
{
  transform: scale(0.98);
}

.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 Creepster, 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: 45%;
}

#hud_msg_bot
{
  top: 75%;
}

#epic_win
{
  pointer-events: none;
  width:58.2vh;
  height: 44vh;
  top: 6vh;
  left: 0;
  right: 0;
  margin: auto;
  background-position: 0% 55%;
  background-size: 100vh;
  animation: growIn 0.6s;
}

.fx_bat
{
  pointer-events: none;
  width: 10.8vh;
  height: 10.8vh;
  position: absolute;
  background: url("../gltfs/roulette_table/text_spooky.png");
  border-width: 0;
  background-position: 28.9% 28%;
  background-size: 96vh;
}

.fx_bat_cell2
{
  background-position: 42.8% 28%;
}

.fx_bat_cell3
{
  background-position: 57% 28%;
}

.fx_bat_cell4
{
  background-position: 28.9% 41.9%;
}

.fx_bat_cell5
{
  background-position: 42.8% 41.9%;
}

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

#hud_conf_panel
{
  width: 40vh;
  height: 20vh;
  z-index: 4;
  top: 24vh;
  left: 0;
  right: 0;
  margin: auto;
  background-position: 0.29% 9.2%;
  background-size: 157.1vh;
}

.conf_btn
{
  position: absolute;
  top: 12vh;
  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_txt
{
  position: absolute;
  top: 2vh;
  left: 0;
  right: 0;
  margin: auto;
  width: 85%;
  font-size: 3vh;
}

#btn_conf_OK
{
  left: 2vh;
}

#btn_conf_CANCEL
{
  right: 2vh;
}

#bottom_play_buttons, #top_hud_bar
{
  position: absolute;
  left:0px;
  right:0px;
  margin: auto;
}

#top_hud_bar
{
  top: 0.35vh;
  height:8vh;
  width: 55.25vh;
}

.sq_btn, .hud_btn
{
  position: absolute;
  width: 6.4vh;
  height: 6.4vh;
  padding:0px;
  z-index: 2;
}

.sq_btn
{
  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;
}

#panel_FAV
{
  background: rgba(0, 0, 0, 0.67);
  position: absolute;
  top: 10.5vh;
  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;
}

.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 OpenSansRegular, 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 OpenSansRegular, 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: 8.5vh;
  
  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
{
  top:2vh;
}

#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: 0.2% 85.1%;
  width: 90%;
}

.ico_sett_dimmed
{
  background-position: 8.7% 85.1%;
}

.ico_fav
{
  background-position: 89.0% 71.1%;
  width: 90%;
}

.fav_lit
{
  background-position: 99.2% 71.1%;
}

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

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

.top_meter
{
  width: 19.69vh;
  height: 8.8vh;
  text-align: center;
  font-size:2.5vh;
  padding-top:1vh;
  border-radius: 1vh;
  background-position: 0.29% 9.2%;
  background-size: 78.1vh;
}

#meter_BALANCE
{
  left:7.2vh;
}

#meter_WIN
{
  right:7.2vh;
}

#bottom_play_buttons
{
  bottom: 0vh;
  width: 52vh;
  height: 16vh;
}

.side_elem
{
  width: 18.2vh;
  height: 6.4vh;
  font-size: 2.2vh;
  font-weight: 600;
  border-radius: 1.5vh;
  background-position: 0.2% 23.7%;
  background-size: 68.5vh;
  z-index: 1;
}

.btn_txt
{
  text-align: center;
}

.rside
{
  right:0vh;
  text-align: right;
  padding-right: 1vh;
}

.lside
{
  left:0vh;
  text-align: left;
  padding-left: 1vh;
}

.top_row
{
  top:2vh;
}

.bottom_row
{
  bottom:1.5vh;
}

.bottom_bg
{
  width: 20.5vh;
  height: 8.9vh;
  bottom: 0.1vh;
  background-position: 100% 59.2%;
  background-size: 69vh;
}

#bg_l
{
  left:-1.9vh;
}

#bg_r
{
  right:-1.9vh;
}

#btn_PLAY
{
  width: 28vh;
  height: 32vh;
  top: 0vh;
  left: 0px;
  right: 0px;
  margin: auto;
  border-radius: 14vh;
  z-index: 3;
  background-position: 99.5% 53%;
  background-size: 68vh;
  text-shadow: 
  0 -1px 0 #866, 
  0 -2px 0 #896969, 
  0 -3px 0 #977, 
  0 -4px 0 #997979, 
  0px -5px 3px rgba(255,255,120,0.6), 
  0px 3px 10px rgba(255,255,70,0.8);
}

#btn_PLAY:active
{
  background-position-y: 144%;
}

#btn_PLAY:disabled
{
  text-shadow: 
  0 -1px 0 #7d2020, 
  0 -2px 0 #7d2020,
  0 -3px 0 #7d2020,
  0 -4px 0 #7d2020,
  0px -5px 3px rgba(255,255,120,0.6),
  0px 3px 10px rgba(255,255,70,0.8);
}

#btn_txt_PLAY
{
  position: relative;
  bottom:6vh;
  line-height: 3.3vh;
  font-size: 3.8vh;
  letter-spacing: 0.2ex;
  
}

#btn_txt_X2
{
  padding-right: 4vh;
}

#btn_txt_CLEAR
{
  text-align: right;
  padding-right: 1vh;
}

#btn_txt_UNDO
{
  padding-left: 6vh;
}

#meter_BET
{
  height:4.8vh;
  width:16.2vh;
  padding-top:1.6vh;
  font-size:2.2vh;
  background-position-x: 37.4%;
  padding-left:2vh;
}

#btn_icon_X2, #btn_icon_CLEAR, #btn_icon_UNDO, #btn_icon_X2_gray, #btn_icon_CLEAR_gray, #btn_icon_UNDO_gray
{
  background-size: 62vh;
  height: 4vh;
  z-index: 5;
}

#btn_icon_X2, #btn_icon_X2_gray
{
  background-position: 46% 1.5%;
  width: 8vh;
  height: 4.5vh;
  left:2vh;
  top:0.5vh;
}

#btn_icon_X2_gray
{
  background-position-x: 84.8%;
}

#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_icon_UNDO, #btn_icon_UNDO_gray
{
  background-position: 28.25% 1%;
  width: 4vh;
  left: 4vh;
  top: 1vh;
}

#btn_icon_UNDO_gray
{
  background-position-x: 64.55%;
}

#win_history_panel
{
  position: absolute;
  right: 0.1vh;
  top: 23vh;
  width: 8vh;
  height: 40vh;
  font: 3vh OpenSansCondBold, sans-serif;
}

/* The most recent winning number appears in its own special div */
#win_history_top_result
{
  display:table;
  border: 0.2vh solid #2C2C2C;
  border-radius: 1vh 1vh 0 0;
  width: 100%;
  height: 6vh;
  margin-bottom: 0.5vh;
  padding: 0vh 0.8vh;
  box-sizing: border-box;
  font-size: 150%;
  background-color: #050405;
  opacity: 0.9;
  /* glow */
  text-shadow: currentColor 0 0 2px, currentColor 0 0 5px;
}

#win_history_entries_container
{
  padding-top: 0.8vh;
  position: relative;
  width: inherit;
  height: 37vh;
  box-sizing: border-box;
  border: 0.2vh solid #2C2C2C;
  border-radius: 0vh 0vh 1.5vh 1.5vh;
  background-color: #050405;
  opacity: 0.8;
}

.win_history_entry
{
  position: relative;
  margin: 0;
  width: inherit;
  padding: 0 0.8vh;
  box-sizing: border-box;
  line-height: 3.5vh;
}

.winning_number_black
{
  color: #FFFFFF;
  text-align: left;
}

.winning_number_red
{
  color: #FF0000;
  text-align: right;
}

.winning_number_green
{
  color: #00FF0C;
  text-align: center;
}

.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_FELT
{
  right: 0vh;
  top: 0.5vh;
  background-color: #666;
  background-image: linear-gradient(#bbb, #222);
}

#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
{
	position: relative;
  height: 11vh;
  width: 38vh;
  margin: 1vh auto;
}

.state_btn_label
{
	position: relative;
	font-size: 3.8vh;
}

.state_btn_wrapper
{
  width: 8.8vh;
  height: 8vh;
  right: 0;
  position: absolute;
  top: 0;
}

.state_cycle_btn
{
  right: 1vh;
  top: 0;
  background-size: 79vh;
  background-position: 62.8% 70.6%;
}

.state_btn_value
{
  width: 8vh;
  top: 7vh;
  right: 0;
  left: 0;
  margin: auto;
  position: absolute;
  text-align: center;
  font-size: 2.5vh;
}

.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: 65.8% 19.7%;
}

.anim_fast
{
  background-position: 74.1% 19.7%;
}

.anim_off
{
  background-position: 57.5% 19.7%;
}

.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.6%;
}

.music_lo
{
  background-position: 91.8% 11.6%;
}

.music_hi
{
  background-position: 100% 11.6%;
}

.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 OpenSansRegular, 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 OpenSansRegular, 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: 9vh;
  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 SairaSemiCondBold, 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: url("images/DK_small.png");
  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;
}

/* Start of media overrides */
/* iPhone X / XS / XR / XS Max 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 */
@media 
only screen and (max-aspect-ratio: 14/25),
only screen and (device-width : 375px) and (device-height : 812px) and (-webkit-device-pixel-ratio : 3) and (orientation : portrait),
only screen and (device-width : 414px) and (device-height : 896px) and (orientation : portrait) 
{
  #top_hud_bar
  {
    top:0.29vh;
    width: 45.93vh;
  }

  .sq_btn, .hud_btn
  {
    width: 5.32vh;
    height: 5.32vh;
  }

  .sq_btn
  {
    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: 7.1vh;
  }

  #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_FAV, #btn_SETTINGS
  {
    top:1.66vh;
  }
  
  #btn_DEL
  {
    top:8.44vh;
  }

  #bottom_play_buttons
  {
    width: 43.25vh;
    height: 13.3vh;
  }
  
  .top_meter
  {
    width: 16.37vh;
    height: 7.32vh;
    background-size: 64.92vh;
    font-size:2.08vh;
    padding-top:0.83vh;
    border-radius:0.83vh;
  }

  #meter_BALANCE
  {
    left:5.99vh;
  }
  
  #meter_WIN
  {
    right:5.99vh;
  }

  .top_button_icon
  {
    background-size: 59.85vh;
  }
  
  .ico_del
  {
    background-size: 56.53vh;
  }

  .side_elem
  {
    width: 15.13vh;
    height: 5.32vh;
    font-size: 1.83vh;
    border-radius: 1.25vh;
    background-size: 56.94vh;
  }

  #epic_win
  {
    width: 48.38vh;
    height: 36.58vh;
    background-size: 83.13vh;
  }

  .rside
  {
    padding-right: 0.83vh;
  }
  
  .lside
  {
    padding-left: 0.83vh;
  }
  
  .top_row
  {
    top:1.66vh;
  }

  .bottom_row
  {
    bottom:1.25vh;
  }

  .bottom_bg
  {
    width: 17.04vh;
    height: 7.4vh;
    bottom: 0.083vh;
    background-size: 57.36vh;
  }

  #bg_l
  {
    left:-1.58vw;
  }

  #bg_r
  {
    right:-1.58vw;
  }

  #btn_PLAY
  {
    width: 23.28vh;
    height: 26.6vh;
    border-radius: 11.64vh;
    background-size: 56.63vh;
  }

  #btn_txt_PLAY
  {
    bottom:4.99vh;
    line-height: 2.74vh;
    font-size: 3.16vh;
  }

  #btn_txt_X2
  {
    padding-right: 3.33vh;
  }
  
  #btn_txt_CLEAR
  {
    padding-right: 0.83vh;
  }
  
  #btn_txt_UNDO
  {
    padding-left: 4.99vh;
  }
  
  #meter_BET
  {
    height:3.99vh;
    width:13.47vh;
    padding-top:1.33vh;
    font-size:1.83vh;
    padding-left:1.66vh;
  }
  
  #btn_icon_X2, #btn_icon_CLEAR, #btn_icon_UNDO, #btn_icon_X2_gray, #btn_icon_CLEAR_gray, #btn_icon_UNDO_gray
  {
    background-size: 51.54vh;
    height: 3.33vh;
  }
  
  #btn_icon_X2, #btn_icon_X2_gray
  {
    width: 6.65vh;
    height: 3.74vh;
    left:1.66vh;
    top:0.42vh;
  }
  
  #btn_icon_CLEAR, #btn_icon_CLEAR_gray
  {
    width: 3.33vh;
    left: 4.99vh;
    top: 0.83vh;
  }
  
  #btn_icon_UNDO, #btn_icon_UNDO_gray
  {
    width: 3.33vh;
    left: 3.33vh;
    top: 0.83vh;
  }

  .state_cycle_btn
  {
    right: 0.83vh;
    background-size: 65.67vh;
  }
}

