body {
    margin: 0;
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}


.screen{
	color : black;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    position: fixed;
    width: 100%;
    height: 100%;
    margin: auto;
}

.subScreen{ display: none;}

#levelscreen h1 {
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
}

.clear { clear: both }

#highScore {margin-top: 30px;}

table, th, td {
    border: 1px solid black;
    text-align: left;
	margin:auto;
}
.levelbutton {
    width: 60px;
    height: 60px;
    color: black;
    font-weight: 400;
    background-color: #F1CA8F;
    border: 1px solid #C6A777;  
    display: inline-block;
    font-size: 20px;
    line-height: 60px;
    margin: 5px;
    border-radius: 50%;
    cursor: pointer;
}

.menubutton{ cursor: pointer;}

.button:hover, .levelbutton:hover .button { 
    cursor: pointer;
}

.levelLock {
    background: none;
    background: url("../img/locked.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.levelStar {
    background: none;
    background: url("../img/star.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.levelLock:hover { box-shadow: none; cursor: default }

.gamebutton { 
    width: 60px; 
    height: 60px;
    margin: 5px;
    display: inline-block;
    cursor: pointer;
}

.scoreTotal, #bestScore { margin-bottom: 10px; margin-top: 0px; }

.scoreTotal, #levelInfo, #levelDescription, #bestScore {
    display: block;
    font-weight: 200;
    margin-top: 0px;
    position: relative;
}

#levelInfo { margin-top: 10px; margin-bottom: 0px; }
#screenInfo{ margin-top: 0px }

#scoreLevel, #parLevel,#starLine {
    color: black;
    font-size: 0.5em;
    display: block;
    line-height: 10%;
}

.star{
    position:absolute;
    height: 50px;
    width: 50px;
    background: url(../img/star2.png);
    background-size: contain;
    background-repeat: no-repeat;
}
#grill #nextLevelMenu {
    z-index: 199;
    margin: 10%;
    width: 80%;
    height: 80%;
    display: none;
    background-color: #e3bb7f;
    border: 1px solid #C6A777;
    border-radius: 10px;
}

#grill #nextLevelMenu span {
    line-height: 250%;
    font-size: 1.3em;
    font-weight: 500;
}

#grill #nextLevelMenu span#LVLEND_TXT {
    font-size: 1.8em;
}

#grill #nextLevelMenu div { 
	margin: 2%;
    margin-top: 10%;
    width: 75px;
    height: 75px;
    z-index: 200;
    display: inline-block;
    position: relative;
    border: 1px solid #C6A777;
}


#undo { background: url("../img/undo.png"); background-size: contain; }
#redo, #win_next { background: url("../img/redo.png"); background-size: contain; }
#home, #win_home { background: url("../img/home.png"); background-size: contain; }
#restart, #win_restart { background: url("../img/restart.png"); background-size: contain; }


@media screen and (orientation: portrait) {
    
    #left { width: 100% }
    #logo { width : 100% }
    #levelscreen { width: 100% }
    #left, #grill, #right { float: none; margin: 0; margin: auto; }
    
    #highScore table { width: 95% }
    
    #helpScreen p { width: 80%; padding-bottom: 30px; margin: auto }
    
    .option { width: 100%; }
    
    body {
        background: url("../img/background_portrait.png"), #A8764B;
        background-size: cover;
        background-repeat: no-repeat;
    }
}

@media screen and (orientation: landscape) {
    
    #grill { top: 5%; margin-left: 42%; }
    
    #leftDiv, #rightDiv { 
        float : left;
        height: 100%;
        margin: 0;
        padding: 1%;
        width : 35%;
    }
    
    body {
        background: url("../img/background_landscape.png"), #A8764B;
        background-size: cover;
        background-repeat: no-repeat;
    }
    
    #helpScreen p { width: 50%; padding-bottom: 30px; margin: auto; }
    
    #logo { width : 520px }
    
    #levelscreen { padding-left: 25%; width: 50%; margin: auto; }
    
    #highScore table { width: 40% }
    
    .option { width: 400px; }
}

#helpScreen p { padding: 5px; text-align: justify; font-weight: 400; }

#logo {
    background: url("../img/logo1.png");
    background-repeat: no-repeat;
    background-size:contain;
    height: 100px;
    margin-top: 5px;
    margin: 0 auto;
}


input[type="text"] {
    cursor:pointer;
    border: 1px solid black;
    background: none;
    color : black;  
}

.button {
    background-color: #F1CA8F;
    border: 1px solid #C6A777; 
    color : black;
    width: 150px;
    height: 50px;
    margin: auto;
    margin-top: 20px;
    font-size: 1.1em;
    line-height: 50px;
    border-radius: 10px;
}

#error { color : #BB1010; display: none; }

#highScore table { border: 1px solid #C6A777; padding: 0; border-spacing: 0; }

#highScore tr td {
    background-color: #F1CA8F;
    border: none;
    padding: 1px;
    text-align: center;
    height: 30px;
    line-height: 30px;
}

#highScore tr#firstLine td {
    background-color: #C6A777;
}

.options { align-content: center; }

.options span { padding: 0; height: 10px; }

.option {
    padding-top: 20px;
    height: 50px;
    margin: auto;
}

.option .name {
    font-size: 1.1em;
}

.option .param {
    font-weight: 400;
}

.option .arrow {
    width: 12.5%;
    padding: 0;
    margin: 0;
    height: 50px;
    display: inline-block;
}

.option .arrow:hover { cursor: pointer }

.option .textContainer {
    width: 55%;
    height: 100%;
    display: inline-block;
}

.option .arrow.a_left { background: url(../img/arrow_left.png); background-size: contain; background-repeat: no-repeat; }

.option .arrow.a_right { background: url(../img/arrow_right.png); background-size: contain; background-repeat: no-repeat; }