* {
    font-family: verdana;
}

html {
    width: 100%;
    overflow: hidden;
    
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #999999;
}

img {
    margin 0px;
    padding 0px;
    border: 0px;
}

.hide {
  display: none;
}

.show {
  display: inline;
}

.control-buttons {
    position: relative;
    float: right;
    top: 0;
    right: 0;
    border: 0px;
}

.restart-button {
    border: 0px;
    width: 50px;
    height: 50px;
    background: url('assets/ui/Button_Restart.png') -50px 0;
}

.restart-button:hover {
    background: url('assets/ui/Button_Restart.png') 0px 0;
}

.restart-button-completed {
    border: 0px;
    width: 295px;
    height: 50px;
    margin: 3px;
    display: block;
    background: url('assets/ui/Button_Back_Blank.png') 0px -50px;
    vertical-align: middle;
}

.restart-button-completed:hover {
    background: url('assets/ui/Button_Back_Blank.png') 0 0;
}

.samegame-button-completed {
    border: 0px;
    width: 295px;
    height: 50px;
    margin: 3px;
    display: block;
    background: url('assets/ui/Button_Next_Large_Blank.png') 0px -50px;
    vertical-align: middle;
}

.samegame-button-completed:hover {
    background: url('assets/ui/Button_Next_Large_Blank.png') 0px 0;
}

.domino-header {
    background-color: white;
    padding: 2px;
}

.question-area-container {
    clear: left;
    background-color: white;
}

.answer-area-container {
    background: url('assets/ui/answer_area_background.png') no-repeat;
    background-size: contain;
    background-position: center;
    background-color: #999999;
    clear: left;
}

.game-completed-container {
    text-align: center;
    background-color: white;
}

#completed {
    display: inline-block;
}

.exit-button {
    border: 0px;
    width: 50px;
    height: 50px;
    background: url('assets/ui/Button_Exit.png') -50px 0;
}

.exit-button:hover {
    background: url('assets/ui/Button_Exit.png') 0 0;
}

#sound-button-off {
    border: 0px;
    width: 50px;
    height: 50px;
    background: url('assets/ui/Button_Music_On_Off.png') -50px -50px;
}

#sound-button-off:hover {
    background: url('assets/ui/Button_Music_On_Off.png') 0 -50px;
}

#sound-button-on {
    border: 0px;
    width: 50px;
    height: 50px;
    background: url('assets/ui/Button_Music_On_Off.png') -50px 0;
}

#sound-button-on:hover {
    background: url('assets/ui/Button_Music_On_Off.png') 0 0;
}

#help-button {
    border: 0px;
    width: 50px;
    height: 50px;
    background: url('assets/ui/Button_Help.png') -50px 0;
}

#help-button:hover {
    background: url('assets/ui/Button_Help.png') 0 0;
}


.space-between-rows {
    height: 67px;
    width: 100%;
    display: block;
    width: 100%;
    clear: left;
}

.tile-holder {
    width: 268px;
    height: 134px;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    float: left;
}

.answer-tile-holder {
    width: 260px;
    height: 130px;
    background: url('assets/ui/tile_thin.png') no-repeat;
    background-size: contain;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    float: left;
}

.menu-tile {
    float: left;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

li{
    display: block;
    clear: both;
    padding: 5px;
    overflow: auto;
}

.start-tile-holder {
    width: 134px;
    height: 134px;
    background-color: white;
    position: relative;
    float: left;
}

.start-tile {
    background: url('assets/ui/tile_thin.png') no-repeat;
    background-position: -134px 0px;
    width: 130px;
    height: 130px;
    margin: auto;
    border: 0px;
    padding: 0px;    
}

.end-tile-holder {
    width: 134px;
    height: 134px;
    background-color: white;
    position: relative;
    float: left;
}

.end-tile {
    background: url('assets/ui/tile_thin.png') no-repeat;
    width: 130px;
    height: 130px;
    margin: auto;
    border: 0px;
    padding: 0px;   
}

.dummy-tile-holder {
    background: url('assets/ui/empty.png') no-repeat;
    width: 134px;
    height: 134px;
    position: relative;
    float: left;
}

.fixed-position {
    float: left;
    left: 0px;
}

.tile {
    background: url('assets/ui/tile_thin.png') no-repeat;
    position: relative;
    margin: auto;
    width: 260px;
    height: 130px;
    border: 0px;
    padding: 0px;
    z-index: 100;
    cursor: pointer;
}

.tile img:first-child, .tile img:last-child {
    height: 112px;
    width: 112px;
}

.tile img:nth-child(2) {
    height: 112px;
    width: 4px; 
}

.image-holder {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(3%, -48%);
}

.question_row, .next_row {
    width: 84%;
    position: static;
    margin: auto;
    display: block;
}

.answer-row-wrapper {
    display: flex;
    align-items: center;
}

.answer_row {
    position: static;
    margin: auto;
    display: block;
}

.next_row {
    display: block;
}


#dialog-help, #select-number, #select-set, #select-category, #dialog-success{
    position: relative;
    width: 84%;
    margin: auto;
}

#dialog-help, #dialog-success {
    z-index: 200;
}


.menu-item{
    cursor: pointer;
    padding: 10px;
}

#select-number .menu-item {
    margin: 10px;
    border: 3px solid black;
}

#select-number .menu-item:hover {
    border-color: blue;
}

.menu-name, .menu-introtext {
    margin-left: 17px;
}

#select-number img { 
    height: 128px;
    width: 208px;
    margin-right: 10px;
}

#select-set img {
    margin-right: 10px;
}

.in-focus {
    border: 2px solid rgb(86, 180, 239);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05) inset, 0px 0px 8px rgba(82, 168, 236, 0.6);
}
/* jquery ui -dialogeista close -nappi pois */
.ui-dialog-titlebar-close {
    visibility: hidden;
}
