html {
    background-image: url("../img/background2.jpg");
    background-attachment: fixed;
    background-size: cover;
    overflow: auto;
}
body {
    background-image: url("../img/background2.jpg");
    background-size: cover;
    background-attachment: fixed;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 95vw;
    height: 95vh;
    margin: 0;
    padding: 0;
}
.mainwrap {
    box-sizing: border-box;
    width: 100%;
}
.mainwrap td {
    vertical-align: top;
}
#youwon {
    position: absolute;
    top: 35vmin;
    left: 10vmin;
    width: 80vmin;
    font-size: 4vmin;
    color: #000;
    background: rgba(255, 255, 255, 0.93);
    text-align: center;
    cursor: pointer;
    border-radius: 20px;
    border: 4px solid #355BA9;
    padding-top: 10px;
}
#youwon .menubtn {
    margin-top: 5px;
    margin-bottom: 10px;
    box-shadow: 2px 2px 2px #000;
}
#scene {
    position: relative;
    float: left;
    width: 90vmin;
    height: 90vmin;
    border: 4vmin solid white;
    border-radius: 2vmin;
    pointer-events: none;
}
.row {
    margin-bottom: 10px;
}
.row h3, h1{
    color: white;
}
.row hr {
    width: 80%;
    margin-top: -18px;
    color: fff;
    margin-bottom: 15px;
}
.menubtn {
    font-family: sans-serif;
    background: #009444;
    display: inline-block;
    font-size: 2vmin;
    color: white;
    border-radius: 8px;
    border: 0.5vmin solid white;
    cursor: pointer;
    min-width: 8em;
    line-height: 1.5em;
	height: 1.5em;
    font-weight: normal;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-shadow: 3px 3px 5px #000;
	text-align: center;
	margin-bottom: 0.2em;
}
.menubtn:hover {
    background: #040;
}
.newnextbtn {
    color: #fff;
    text-shadow: 1px 1px 2px #000;
}
.newnextbtn:hover{
    background: #009444;
}
.floatleft {
    float: left;
}
.topBox {
	display: inline-block;
    background-color: #355BA9;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    text-align: center;
    color: white;
    font-size: 5vmin;
    font-weight: bold;
    width: 4em;
}
.status {
	display: inline-block;
    background: #fff;
    color: black;
    font-size: 5vmin;
    text-align: center;
    font-weight: bold;
    height: 1.5em;
    line-height: 1.5em;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
	width: 4em;
}
#popup {
	min-width: 4em;
	width: 4em;
}
.selectedDifficulty, .selectedDifficulty:hover {
    background-color: rgba(237, 118, 0, 1);
    text-shadow: 1px 1px 2px #000;
}
.unSelected {
    opacity: 0.7;
}
.moves {
    margin-left: 50px;
	text-align: center;
}
.sidebar {
    font-family: sans-serif;
    width: 100%;
    min-width: 330px;
    text-align: center;
}
.bottombar {
	text-align: center;
}
@media all and (orientation:landscape) {
    .status {
	width: 80%;
        border-bottom-right-radius: 20px;
        border-bottom-left-radius: 20px;
    }
	.topBox {
		width: 80%;
	}
    .bottombar {
        display: none;
    }
	.menubtn {
		width: 70%;
		font-size: 4vmin;
	}
}
@media all and (orientation:portrait) {
	.status {
		border-radius: 10px;
		padding: 0 1em 0 1em;
		font-size: 4vmin;
		width: 40%;
	}
    .sidebar {
        display: none;
    }
}
.againbtn {
    text-shadow: 1px 1px 2px #000;
}
.againbtn:hover{
    background: #009444;
}
#lot {
    width: 100%;
    height: 100%;
    pointer-events: none;
}
#gate {
    background-image: url("../img/background2.jpg");
    background-size: cover;
    background-attachment: fixed;
    position: absolute;
    width: 4vmin;
    height: 15vmin;
    left: 90vmin;
    top: 30vmin;
}
.car0,
.car1,
.car2,
.car3,
.car4 {
    position: absolute;
    background-size: cover;
    cursor: pointer;
    pointer-events: auto;
}
.car0 {
    background-image: url("../img/car0.png");
    width: 30vmin;
    height: 15vmin;
}
.car1 {
    background-image: url("../img/car1.png");
    width: 30vmin;
    height: 15vmin;
}
.car2 {
    background-image: url("../img/car2.png");
    width: 15vmin;
    height: 30vmin;
}
.car3 {
    background-image: url("../img/car3.png");
    width: 45vmin;
    height: 15vmin;
}
.car4 {
    background-image: url("../img/car4.png");
    background-image: url("../img/car4.png");
    width: 15vmin;
    height: 45vmin;
}
.cara,
.carb,
.carc,
.card,
.care,
.carf,
.carg,
.carh,
.cari,
.carj,
.cark {
    width: 30px;
    height: 30px;
    display: inline-block;
    padding: 0;
    margin: 0;
    font-size: 0;
}
.carb {
    background: #00f;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}
.carc {
    background: #00f;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}
.card {
    background: #f00;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.care {
    background: #f00;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
.carf {
    background: #fdd;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}
.carg {
    background: #fdd;
}
.carh {
    background: #fdd;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}
.cari {
    background: #99f;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.carj {
    background: #99f;
}
.cark {
    background: #99f;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
#debug {
    width=10vmin;
    height=10vmin;
    position: absolute;
    display: block;
    left: 100vmin;
    top: 0;
    background: #ddd;
}
.minimap {
    background: #000;
    border: 1px solid #880;
    display: inline-block;
    font-size: 0;
}
#logoPlacement{
    text-align: center;
    width: 105%;
    margin-top: 20%;
}
.playGameBtn{
    width: 200px;
    height: 50px;
    font-size: 30pt;
    margin-top: 60px;
    text-align: center;
}
#playbtnPlacement{
    text-align: center;
    width: 105%;
}
.helpBtn{
    position: absolute;
    right: -40px;
    bottom: -20px;
    text-shadow: 1px 1px 2px #000;
}
/* --- Pop-Up Box --- */

.popup {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 40px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.7);
    /* Black w/ opacity */
    overflow: hidden;
}

/* PopUp Content */

.popup-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    height: 550px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Add Animation */

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */

.close {
    color: #fff !important;
    float: right;
    font-size: 58px;
    font-weight: bold;
    width: 40px;
    margin-right: 10px;
}
.close:hover,
.close:focus {
    color: #fff;
}
.popup-header {
    background-color: deepskyblue;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 65px;
    margin-top: -30px;
}

.popup-header h2{
    text-align: center;
    padding-top: 14px;
    font-size: 25pt;
}

.popup-body {
    margin-top: 10px;
    padding: 2px 16px;
    min-height: 520px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.popUpInfo{
    text-align: left;
}

.popUpInfo h2{
    font-size: 20pt;
}

.popUpInfo p{
    font-size: 16pt;
}

.pictureSlot{
    margin-top: 40%;
}

.infoButtons button{
    background-color: deepskyblue;
    color: white;
    font-size: 16px;
    margin-right: 15px;
}

.together {
	white-space: none;
}

#spinner {
/*    display: block !important;*/
	position: absolute;
	width: 30vmin;
	height: 30vmin;
	border-radius: 40vmin;
	font-size: 60vmin;
	line-height: 80vmin;
	text-align: center;

	color: white;
	top: 83%;
	left: 81%;
	transform: translate(-50%, -50%);

	animation-name: spin;
	animation-duration: 6000ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear;

/*
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
			0 6px 20px 0 rgba(0, 0, 0, 0.19);
*/
    background-image: url(../img/wheel1.png);
    background-size:contain;
    background-position: center;
    background-repeat: no-repeat;
}

@keyframes spin {
	from {
		transform: translate(-50%,-50%) rotate(0deg);
	}
	to {
		transform: translate(-50%,-50%) rotate(359deg);
	}
}

