/* DISABLE SELECTION & DRAGGING */
*, *::after, *::before {
    -webkit-user-select: none; /* Safari, Chrome */
    -khtml-user-select: none; /* Konqueror */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE */
    user-select: none; /* CSS3 */
    
    -webkit-user-drag: none;
	-webkit-app-region: no-drag;
	cursor: default;
}


.hideMe { opacity: 0!important; }

/* Add nice vignette around screen */
.vignette {
    position: fixed;
    -moz-box-shadow: 0 0 4em rgba(0, 0, 0, 0.5) inset;
    -webkit-box-shadow: 0 0 4em rgba(0, 0, 0, 0.5) inset;
    box-shadow: 0 0 4em rgba(0, 0, 0, 0.5) inset;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;

    /* Don't Block Mouse Events */
    pointer-events:none;
}

#FadeOverlay {
  position: absolute;
  background-color: black;
  width: 1920px;
  height: 1080px;
  /* z-index: 2000; */
  z-index: 15;
  top: 0;
  left: 0;
  margin: 0;
  display: block;
  bottom: 0;
  pointer-events: none;
  visibility: hidden;
}

.md-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    /*background: rgba(0, 16, 23, 0.6) !important;*/
    background: rgba(0, 0, 0, 0.65) !important;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.NavButton.disabled {
    opacity: 0.7!important;
    pointer-events: none;
}

.disabled {
  opacity: 0.5;
  pointer-events:none;
}


.timewarp-spin {
  animation: rotatewarp 2s linear infinite;
}

@keyframes rotatewarp {
  to {
    transform: rotate(360deg);
  }
}



/*#container {
    display: block;
    margin: 0 auto;
    width: 1280px;
}*/

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

:focus {
    outline: 0;
}

* {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    user-select: none;

    /* Hide Mouse */
    /*cursor: none !important;*/
}


input {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -o-user-select: text;
    user-select: text;
}


/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

/* applies to GIF and PNG images; avoids blurry edges */
img[src$=".gif"], img[src$=".png"] {
    /*image-rendering: crisp-edges;*/
    /*image-rendering: -webkit-optimize-contrast;*/
}

html, body {
    height: 100%;
    padding: 0;
    margin: 0;
}

body {
    color: #ECECEC;
    overflow: hidden;
}

body {
    margin: 0;
    padding: 0;
    /*background-image: url('../images/FoodWebGame-Intro.jpg');*/
    background-color: #000000;
    background-repeat: no-repeat;
}


.ui_button {
    background: -webkit-gradient(linear,50% 19.71% ,50% 119.71% ,color-stop(0,rgba(255, 255, 153, 1) ),color-stop(0.0634,rgba(255, 223, 107, 1) ),color-stop(0.1269,rgba(255, 196, 69, 1) ),color-stop(0.19,rgba(255, 174, 39, 1) ),color-stop(0.2519,rgba(255, 159, 17, 1) ),color-stop(0.3118,rgba(255, 150, 4, 1) ),color-stop(0.3675,rgba(255, 147, 0, 1) ),color-stop(1,rgba(255, 51, 0, 1) ));
    /*background : -webkit-linear-gradient(-90deg, rgba(255, 255, 153, 1) 0%, rgba(255, 223, 107, 1) 6.34%, rgba(255, 196, 69, 1) 12.69%, rgba(255, 174, 39, 1) 19%, rgba(255, 159, 17, 1) 25.19%, rgba(255, 150, 4, 1) 31.18%, rgba(255, 147, 0, 1) 36.75%, rgba(255, 51, 0, 1) 100%);*/
    /*background : linear-gradient(180deg, rgba(255, 255, 153, 1) 0%, rgba(255, 223, 107, 1) 6.34%, rgba(255, 196, 69, 1) 12.69%, rgba(255, 174, 39, 1) 19%, rgba(255, 159, 17, 1) 25.19%, rgba(255, 150, 4, 1) 31.18%, rgba(255, 147, 0, 1) 36.75%, rgba(255, 51, 0, 1) 100%);*/

    border-style: Solid;
    border-color: #000000;
    border-color: rgba(0, 0, 0, 1);
    border-width: 6px;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Button Animation Code */
.ui_button{
    box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, .3);
    /*-webkit-transition: all .1s linear;*/
    /*transition: all .1s linear;*/
    transform-origin: 50% 50%;
}

/*Button Pressed*/
.ui_button:active {
    /*background : -webkit-gradient(linear,50% 19.71% ,50% 119.71% ,color-stop(0,rgba(255, 51, 0, 1) ),color-stop(0.6325,rgba(255, 147, 0, 1) ),color-stop(0.6882,rgba(255, 150, 4, 1) ),color-stop(0.7481,rgba(255, 159, 17, 1) ),color-stop(0.81,rgba(255, 174, 39, 1) ),color-stop(0.8731,rgba(255, 196, 69, 1) ),color-stop(0.9366,rgba(255, 223, 107, 1) ),color-stop(1,rgba(255, 255, 153, 1) ));*/
    box-shadow: 0 3px 5px 0 rgba(0,0,0,.4);
    transform: scale(0.99);
    transform-origin: center center;
    /*border-width: 3px;*/
}

.ui_button.center-h:active {
    box-shadow: 0 3px 5px 0 rgba(0,0,0,.4);

    position: absolute;
    left: 50%;
    /*top: 50%;*/
    /*transform: translate(-50%, 0%);*/
    -webkit-transform: translateX(-50%) scale(0.99);
    -moz-transform: translateX(-50%) scale(0.99);
    transform: translateX(-50%) scale(0.99);
}

/* Button Font Face */
.ui_button {
    font-family: WildAndCrazyInt;
    font-size: 23px;
    color: #000000;

    text-align: center;
    position: relative;
    display: inline-block;
}
.ui_button.auto-fit-width {
    /*Adjust Width automatically*/
    width: auto !important;
    padding: 5px 30px !important;
}

/* Specific Button Position & Sizing */

/* PLAY button */
.ui_button.play {
    left: 516px;
    top: 708px;
    width: 250px;
    /* height: 50px; */
    /*opacity: .5;*/
    font-size: 23px;
}
/* Learn Screen CLOSE button */

.ui_button.learn-close {
    /* left: 528px; */
    top: 530px;
    width: 250px;
    height: 56px;
}
/* MAIN button */
/*.button.main {
    left: 100px;
    top: -366px;
    width: 220px;
}*/
/*.ui_button.main {
    left: 350px;
    top: 30px;
    width: 220px;
}*/
.ui_button.main {
    left: 398px;
    top: 26px;
    width: 250px;
    /* opacity: .5; */
    height: 56px;
}
.ui_button.long-text {
    left: 398px;
    top: 26px;
    width: 224px;
}

/* LEARN button */
.ui_button.learn {
    left: 430px;
    top: 26px;
    width: 250px;
    height: 56px;
}

/* Back to the start! */
.ui_button.intro {
    left: 430px;
    top: 26px;
    width: 250px;
    height: 56px;
}

/* Bottom NavBar */
/* .BottomNavBar {
     background-image: url(/assets/images/ui/NavBar_bottom/images/nav_bar.png);
    position: absolute;
    left: 0px;
    top: 901px;
    width: 1280px;
    height: 123px;
} */

.BottomNavBar {
    /* background-image: url(../images/FSG-Intro-Bottom-Nav-Bar.png); */
    background-image: url(/assets/images/ui/NavBar_bottom/images/nav_bar.png);
    position: absolute;
    left: 0px;
    top: 956px;
    width: 1920px;
    height: 123px;
    /* z-index: 9; */
    /* opacity: .5; */
}

.button-wrapper {
    margin: 30px 0;
}

.button-wrapper .ui_button {
    position: initial;
    display: block !important;
    float: left !important;
    margin: 0 20px !important;
}
.button-wrapper.three-button {
    width: 884px !important;
}
#GameLogo {
    background-image: url(../images/GameLogo.png);
    position: relative;
    left: 361px;
    top: 27px;
    width: 625px;
    height: 469px;
    z-index: 47;
    background-repeat: no-repeat;
    pointer-events: none;
    display: inline-block;
    /*opacity: .5;*/
}

/* Introduction Info Background */
#Main_InfoPanel {
    background-image: url(../images/Intro_Panel.png);
    position: relative;
    left: 225px;
    top: -140px;
    width: 796px;
    height: 443px;
    background-repeat: no-repeat;
    /*opacity: .5;*/
}

body {
 max-width: 1280px;
 width: 1280px;
}

#MagnifyingGlass {
    position: absolute;
    width: 220px;
    height: 322px;
    top: 55px;
    left: 255px;
    pointer-events: none;
    z-index: 100;
}


