﻿ @font-face {
      font-family: 'bpreplaybold';
      src: url('font/rubikmonooneregular.woff2') format('woff2'),
           url('font/rubikmonooneregular.woff') format('woff');
      font-weight: 100;
      font-style: normal;
   
   }
 @font-face {
      font-family: 'opengosttypeattregular';
      src: url('font/opengosttypeattregular.woff2') format('woff2'),
           url('font/opengosttypeattregular.woff') format('woff');
      font-weight: 800;
      font-style: normal;
   
   }
 @font-face {
      font-family: 'ubuntu';
      src: url('font/ubuntumedium.woff2') format('woff2'),
           url('font/ubuntumedium.woff') format('woff');
      font-weight: 800;
      font-style: normal;
   
   }

#canvas-wrap {
    height: 100%;
    overflow: hidden;
    background: url(art_assets/felt.png);
-webkit-box-shadow: 0px 2px 64px 40px rgba(18, 18, 19, 0.27) inset;
-moz-box-shadow: 0px 2px 64px 40px rgba(18, 18, 19, 0.27) inset;
box-shadow: 0px 2px 64px 40px rgba(18, 18, 19, 0.27) inset;
}

#canvas-resources {
    display: none;
}

.inner-div {
    height: 50px;
    width: 400px;
    margin: 10px;
 position: relative;

  }

p {
    margin: 0;
    font-size: 100px;
    font-family: sans-serif;
    text-align: center;
    vertical-align: middle;
  }
.container {
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
}
.flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
 .second {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
}
#ui-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}

.lite-red {
    color: #fff2f2;
    border: 10px solid red;
}

.lite-green {
    color: #ffbf00;
}
.score-text{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1.2rem); 
font-family: "ubuntu";    
}

.lite-yellow {
    color: #ffbf00;
}

.clear:after {
    content: "";
    display: block;
    clear: both;
}

/* MODAL */

.modal {
    opacity: 1.0;
   /* display: inline-block;*/
    display: none;
    position: absolute;
    pointer-events: auto;
}

.modal:hover {
    opacity: 1;
}


.hide {display:none;}
.show {display:block;}


.modal-controls, .modal-control, .modal-title, .modal-left, .modal-right {
    display: inline-block;
}

/* MODAL - left */

/* MODAL -left - top */

.modal-left-top, .modal-right-top {
    font-size: .8em;
    vertical-align: bottom;
    position: relative;
    z-index: 5;
    opacity: .6;
    color: #e7f2c3;
    border-radius: .5em .5em 0 0;
}

.modal-left-top {
    background-color: #333333;
    border: black solid .1em;
}

.modal-left-top, .modal-title {
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.modal-left-top:active, .modal-title:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

.modal-left-top:hover, modal-right-top:hover {
    opacity: 1;
}

.modal-title {
    float: left;
    color: lightgray;
    padding: 0 .1em;
}

.modal-controls {
    cursor: default;
    text-align: center;
    float: right;
    margin: 0 0 .1em .25em;
}

.modal-control {
    cursor: default;
    text-align: center;
    vertical-align: bottom;
    opacity: 1.0;
    padding: 0 .1em;
    margin: 0 .1em;
}

.modal-control:hover {
    opacity: 1;
    color: black;
    background-color: white;
}

/* MODAL - left - bottom */

.modal-left-bottom {
    padding: .2em .35em;
    background: black;
    opacity: 1.0;
    color: white;
    border-radius: 0 0 .4em .4em;
}

.modal-left-bottom:hover {
    opacity: 1;
}

/* MODAL - right */
.modal-right {
    vertical-align: top;
    opacity: 0.7;
    color: #ffffff;
}

.modal-right:hover {
    opacity: 1;
}

/* MODAL - right - top */
.modal-right-top {
    min-height: 1.45em;
}

/* MODAL - right - bottom */

.modal-right-bottom {
    background-color: black;
    border-top-right-radius: .4em;
    border-bottom-right-radius: .4em;
}

.modal-drag-handle {
    width: .55em;
    height: 1.3em;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.modal-drag-handle:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

.modal-btn {
    cursor: default;
}

/* MODAL */

.modal
{
	display: none;
	position: fixed;
	z-index: 9999;
	padding-top: 100px; /* Location of the box - BOGUS: center vertically*/
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto; /* Enable scroll if needed */
	background-color: rgba(0,0,0,0.3);
}

.modal-content
{
	background-color: #fefefe;
	margin: auto;
	padding-top: 2px;
	padding-left: 8px;
	padding-right: 8px;
	padding-bottom: 16px;
	border: 8px solid rgba(0,0,0,0.5);
	border-radius: 16px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding;
	background-clip: padding-box;
	width: 480px;
}

.close_modal
{
	color: black;
	float: right;
	font-size: 24px;
	font-weight: bold;
}

.close_modal:hover,
.close_modal:focus
{
	color: #C00;
	text-decoration: none;
	cursor: pointer;
}

.modal_header
{
	font-family: arial;
	font-size: 20px;
	font-weight: bold;
	color: #C00;
}

.modal_text
{
	font-family: arial;
	font-size: 14px;
	font-weight: bold;
	color: black;
}

/* Global Options Dlg */

#global-settings-open-wrap {
    position: absolute;
    background: black;
    opacity: 0.8;
    border-radius: .5em;
    pointer-events: auto;
    bottom: 1em;
    right: 1em;
}

#global-settings-open-wrap1 {
    background: black;
    opacity: 1;
    border-radius: .1em;
    pointer-events: auto;
position:absolute;
left:50%;
top:50%;
transform: translate(-50%,-50%);
     padding: 0px 10px 0px 10px;   
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1.2rem);
    font-family: 'ubuntu';
}

#global-settings-open-wrap2 {
    background: black;
    opacity: 1;

    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1.2rem);
    border-radius: .1em;
    pointer-events: auto;
position:absolute;
left:50%;
top:50%;
transform: translate(-50%,-50%);     
     padding: 0px 10px 0px 10px;    
      font-family: 'ubuntu';

   
}

#global-settings-open-wrap3 {
    font-family: 'opengosttypeattregular';
    font-size: 2 em; 
    opacity: 1;
    border-radius: .5em;
    pointer-events: auto;
position:absolute;
left:50%;
top:50%;
transform: translate(-50%,-50%);    
}

#global-settings-open-wrap4 {


    position: absolute;
    opacity: 1;
    
    pointer-events: auto;
         position: absolute;
    

    bottom: 1em;
    left: 1em;

}


#global-settings-open-wrap5 {
    opacity: 1;
    border-radius: .5em;
    pointer-events: auto;
position:absolute;
left:50%;
top:50%;
transform: translate(-50%,-50%);     
}

#global-settings-open-wrap6 {
    position: absolute;
    background: black;
    opacity: 1;
    border-radius: .5em;
    pointer-events: auto;
    top: 1em;
    right: 60em;       
}

#global-settings-open-wrap:hover {
    opacity: 1;
}

#global-settings-open-btn {
    font-size: 2.5em;
}

#global-settings-open-btn1 {

}

#dim-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: black;
    opacity: 0.5;
    z-index: 1000;
    pointer-events: auto;
}

#global-options-dlg {
    opacity: 1.0;
    position: absolute;
    top: 30%;
    left: 40%;
    width: 21em;
    height: 23em;
    z-index: 1001;
    background: black;
    border-radius: .75em;
    padding: .3em;
    color: white;
    border: #191919 solid .15em;
    box-shadow: #3b3b3b .1em .1em;
    pointer-events: auto;
}

#global-options-dlg1 {
    opacity: 1.0;
    position: absolute;
    top: 30%;
    left: 40%;
    z-index: 1001;
    background: black;
    border-radius: .75em;
    padding: .3em;
    color: white;
    border: #191919 solid .15em;
    box-shadow: #3b3b3b .1em .1em;
    pointer-events: auto;
}

#global-message-dlg {
    opacity: 1.0;
    position: absolute;
    top: 30%;
    left: 40%;
    z-index: 1001;
    background: black;
    border-radius: .75em;
    padding: .3em;
    color: white;
    border: #191919 solid .15em;
    box-shadow: #3b3b3b .1em .1em;
    pointer-events: auto;
}

#global-options-header {
    width: 100%;
    height: 1.5em;
    position: relative;
    background-color: #161600;
    border-top-left-radius: .75em;
    border-top-right-radius: .75em;
    padding: 0 .2em;
    margin: -.2em -.2em -.2em -.2em;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

#global-message-header {
    width: 100%;
    height: 1.5em;
    position: relative;
    background-color: #161600;
    border-top-left-radius: .75em;
    border-top-right-radius: .75em;
    padding: 0 .2em;
    margin: -.2em -.2em -.2em -.2em;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

#global-options-header:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

#global-options-close-btn {
    cursor: default;
    border-radius: .3em;
    padding: 0.1em;
}

#global-options-close-btn:hover {
    background: white;
    color: black;
}

.global-options-section {
    border-radius: .5em;
    margin-bottom: -.25em;
    padding: .4em;
}

.global-options-section legend {
    font-size: 1em;
    color: white;
    display: block;
}

.global-options-section button {
    width: 100%;
}

/* Global Options Dlg */

/* Custom Buttons */
/* http://www.bestcssbuttongenerator.com/ */
button {
    border-radius: .3em;
    background-color: #191919;
    color: white;
    border: gray solid .1em;
    font-family: 'ubuntu';
    padding: 3px 30px 3px 30px;
}

button:hover {
    background-color: black;
}

button:disabled {
    background-color: #4e4e4e;
    color: #797979;
}

/* Custom Buttons */


.soundimg{
    width: 40px;
}

.message-table{
width: 100%;
}

.message-td{
width:50%;
}