/* CSS for WebAssembly build of XRoar. */

/* Because styling inputs is hard for reasons I don't understand, file inputs
 * are surrounded by a label (with class button, see below), and the actual
 * input itself is hidden. */

.xroar {
    margin-left: auto;
    margin-right: auto;
    width: 640px;
    margin-bottom: 20px;
}

.xroar h2, .xroar h3 {
    text-align: center;
}

.xroar-loader {
	font-size: 24px;
	text-align: center;
	position: absolute;
	width: 260px;
	height: 45px;
	top: 300px;
	left: calc(50% - 130px);
}

.xroar input[type="file"] { 
    display: none; 
}

/* Trivial multi-column. */

.xroar .column { 
    float: left; 
    width: 300px;
}

.xroar .breakfloat {
    clear: both; 
    height: 0; 
}

.button {
    font-size: 0.96em !important;
    background-color: #2e4c75;
    border: solid 1px transparent;
    color: #fff;
	display: inline-block;
	padding: 4px 10px;
	border-radius: 3px;
	cursor: pointer;
	font: caption;
	margin-top: 1px;
	margin-bottom: 1px;
}

.button:hover { 
    background-color: #C35824;
}

.button-bar {
    text-align: center;
    margin-top: 10px;
}

.xroar select {
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;*/
    appearance: none;
    font-size: 0.9em !important;
    height: 25px;
    color: #FFF;
    border: solid 2px #2e4c75;
    margin: 0;
	border-radius: 3px;
    padding: 0 20px 0 10px;
    background-image: url(../icons/arrow-down.png);
    background-repeat: no-repeat;
    background-position: calc(100% - 5px) center;
}

.xroar select:hover {
    border: solid 2px #C35824;
}

.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

#canvas {
/*
    width: 640px;
    height: 480px;
*/
    border-radius: 6px;
    outline: none;
}

#controls .panel,
.xroar .notes {
    margin: 15px 0;
    padding: 5px 15px;
    background: #3B4551;
    border-radius: 6px;
}

#controls .panel .title {
    background-color: #95DB54;
    padding: 0 -10px;
    color: #fff;
}

kbd {
  align-items: center;
  border: 1px solid #6D6D6D;
  background: #A8A8A8;
  border-bottom-width: 2px;
  border-radius: 3px;
  box-sizing: border-box;
  color: #F0F0F0;
  display: inline-flex;
  font-size: 14px;
  justify-content: center;
  /*line-height: $line-height-large;*/
  margin: 0 0.15em;
  min-width: 24px;
  padding: 0.15em 0.6em;
}

.vheader {
  width: 100%;
}

.vheader td:nth-child(odd) {
  font-weight: bold;
  width: 60px;
}

