﻿body {
    overflow-y: hidden;
    overflow-x: hidden;
}

/* width */
::-webkit-scrollbar {
    border-radius: 5px;
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.editor-play-fullscreen
{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100vw;
    height: 100vh;
    background-color: rgb(0 0 0 / 0.49);
    z-index: 1000;
}
.editor-gamecontainer 
{
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    padding-top: 20px;
    pointer-events: auto;
}
.editor-gamecontainer-mobile {
	pointer-events: auto;
}
.editor-gamewindow
{
    width: 1540px;
    height: 904px;
    border: 2px solid white;
    box-shadow: 10px 10px 10px black;
}
.editor-gamewindow-mobile {
	width: 100vw;
	height: 100vh;
	
}
.editor-mouseDebug
{    
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
}
.ability-ui {
    display: inline-block;
    position: relative;
    top :0px;
    left: -20px;
    height: 0px;

}
.ability-ui-mobile {
	display: inline-block;
	position: absolute;
	top: 20px;
	left: 10px;
	height: 0px;
}

.ability-icon {
    background-color: black;
    border-radius: 10px;
    display: inline-block;
    
    margin-right: 20px;
    vertical-align: top;
	margin-bottom: 10px;
}
.ability-icon-standard {
	position: relative;
    width: 80px;
    height: 80px;
}

.ability-icon-cover {

    position: relative;
    top: 0px;
    left: 0px;
    border-radius: 8px;
    
}
.ability-icon-mobile {
		width: 40px;
		height: 40px;
		
		
}
.ability-title {
    font-size: 120%;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-shadow: 0px 0px 6px black;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    text-align: center;
    width: 140px;
    margin-top: 10px;
    pointer-events: none;
    border-right: 2px solid black;
    
}
.ability-exp {
    position: relative;   
    padding: 10px;
    width: 200px;
    font-size: 150%;
    border-radius: 10px;
    border-top-left-radius: 0px;
    text-shadow: 0px 0px 10px black;
    pointer-events: none;
    color: white;
    text-align: center;
}
.ability-title-mobile {
	position: absolute;
	left: 10px;
	top: 30vw;
	height: 12vw;
	font-size: 8vw;
	width: 80vw;
}
.ability-exp-mobile {
	position: absolute;
	left: 10px;
	top: 42vw;
	width: 90vw;
	font-size: 6vw;
	
	
}


.ability-image {
    position: relative;
    left: 0px;
    top: 0px;
    border-radius: 10px;
    background-color: white;
}
.ability-disabled {
    background-color: #00000088;
    opacity: 0.2;
    border: 1px solid black;
}
.ability-enabled {
    background-color: #0033ffff;
    border: 1px solid white;
}
.editor-gamebutton {
    background-color: lightcyan;
    width: 200px;
    padding: 20px;
    color: black;
    font-size: 90%;
    border-radius: 20px;
}
.editor-gamebutton:disabled {
    background-color: #111 !important;
}
.editor-gamebutton-mobile {
    width: 60vw;
    height: 10vh;
    font-size: 150%;
    border-radius: 5vw;
}
.editor-gamebutton-mobile:disabled {
    background-color: #111 !important;
    color: #333;
    border: 2px solid #333;
}
.editor-gamebutton-retry {
    width: 400px;
    height: 100px;
    font-size: 110%;
    background-color: #81d1ff;
}
.editor-gamebutton-retry-mobile {
    width: 80vw;
    font-size: 110%;
    background-color: #81d1ff;
}

.editor-gamebutton:hover {
    background-color: cyan;
}

.goal-ui {
    position: absolute;
    top: -10px;
    right: 0px;
    pointer-events: none;
}
.goal-ui-mobile {
	position: absolute;
	pointer-events: none;
	right: 10px;
	bottom: 10px;
	
}
.goal-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    padding-top: 10px;
    text-align: center;
    margin: 10px;
    border-radius: 10px;
    font-size: 150%;
    color: white;
    float: right;
font-family: sans-serif;

    
}
.points-div {
    color: white;
    font-size: 200%;
    text-align: right;
    padding-right: 30px;
    pointer-events: none;
}
.goal-enabled {
    border: 2px solid white;
    background-color: gold;
   font-weight: bold;
   color: black;
    
}
.goal-disabled {
    border: 2px solid #8080806b;
    background-color: #8b451357;
}

.editor-popup-window-comboselect {
    width: 1080px!important;
    
}
.editor-notification {
    color: white;
    background-color: #00002288;
    width: 500px;
    position: absolute;
    margin: auto;
    left: 50%;
    top: 50%;
    font-size: 200%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: 2px solid white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 15px 4px 4px #33333333;
    text-align: center;
}
.editor-tutorialMessageText {
    padding-top: 1em;
}
.editor-notification-mobile {
	    color: white;
    background-color: #00002288;
    width: 80vw;
    position: absolute;
    margin: auto;
    left: 50%;
    top: 50%;
    font-size: 10vw;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: 1px solid gray;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 15px 4px 4px #33333333;
    text-align: center;
	z-index: 1000;
}
.editor-tutorialContinue {
    display: inline-block;
    width: 100%;

}
.editor-notification-tutorial {
    left: 25% !important;
    top: 20% !important;
    text-align: center;
}
.editor-notification-tutorial-mobile {
    position: absolute;
    left: 0px;
    bottom: 25px;
    width: 80vw;
    background-color: #000000af;
    color: white;
    margin: 4vw;
    padding: 4vw;
    border-radius: 4vw;
    text-align: center;
}
.editor-combo-selector
{
    margin-top: 20px;
    width: 1050px;
    height: 650px;
    overflow-y: scroll;
    position: relative;
}
.editor-combo-selector-window {
    animation-name: editor-combo-selector-main;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
.window-combo-editor-window-img
{
    width: 84px;
    height: 84px;
}

@keyframes editor-combo-selector-main {
    from {
        border-color: red;
    }

    to {
        border-color: yellow;
    }
}
.editor-combo-selector-mouse {
    animation-name: editor-combo-selector-mouse-anim;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes editor-combo-selector-mouse-anim {
    from {
        border-color: lime;
    }

    to {
        border-color: blue;
    }
}


.editor-dungeon-popup {
    width: 900px !important;
    height: 900px !important;
}
.editor-dungeon-layer-area {
    position: relative;
    width: 360px;
    height: 770px;
    overflow-y: scroll;
    background-color: #0008;
    padding-top: 16px;
    padding-bottom: 16px;
}
.editor-dungeon-layer {
    pointer-events: none;
    position: relative;
    width: 320px;
    height: 320px;
    border-right: 1px solid gray;
    border-bottom: 1px solid gray;
    margin-left: 16px;
    background-image: linear-gradient(to right, grey 1px, transparent 1px), linear-gradient(to bottom, grey 1px, transparent 1px);
    background-size: 32px 32px;
    margin-bottom: 32px;
}
.editor-dungeon-layer:last-child
{
    margin-bottom: 0px;
}
.editor-dungeon-layer-label
{
    position: relative;
    display: inline-block;
    top: -20px;
    font-size: .8em;
}
.editor-dungeon-layer-delete
{
    position: relative;
    float: right;
    top: -20px;
    font-size: .8em;
    width: 20px;
    transition: .1s;
    background-color: #f003;
    text-align: center;

}
.editor-dungeon-layer-delete:hover
{
    cursor: pointer;
    background-color: red;
    color: black;
}
.editor-dungeon-cursor {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 32px;
    height: 32px;
    background-color: rgb(240 16 242 / 0.3);
    pointer-events: none;
}

.editor-overworld-popup {
    width: 1320px !important;
    height: 900px!important;
}

.editor-overworld-editor-background {
    position: relative;
    width:770px;
    height: 770px;
    overflow: hidden;
    background-size: 48px 48px;
    background-image: linear-gradient(to right, grey 1px, transparent 1px), linear-gradient(to bottom, grey 1px, transparent 1px);
    border: inset 1px;
}
.editor-overworld-cursor
{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 48px;
    height: 48px;
    background-color: rgb(240 16 242 / 0.3);
    pointer-events: none;
}
.editor-overworld-moveable-map
{
    pointer-events: none;
    position: absolute;
    background-color: #ddd8;
}

.editor-playbar
{
    position: absolute;
    left: 257px;
    top: 0px;
    width: 190px;
    height: 40px;
    background-color: #000c;
    padding: 5px;
    z-index: 1001;
}
.editor-playbar > button
{
    width: 80px;
    text-align: center;
    margin-left: 10px;

}
.window-combo-editor
{
    position: absolute;
    left: 30px;
    top: 30px;
    height: 600px;
    min-width: 1000px;
    padding: 40px;
    margin: 30px;
    background-color: orange;
}
.window-combo-editor-window
{
    display: inline-block;
    width: 90px;
    height: 90px;
    background-color: black;
    margin-right: 20px;
    position: relative;    
    cursor: pointer;
}
.window-combo-editor-window:hover
{    
    background-color: #666;   
}
.window-combo-editor-window:active
{
    background-color: darkblue;
}
.window-editor
{
    padding: 30px;
    padding-top: 40px;
    pointer-events: auto;
}
#collision-window
{
    position: relative;
}
.editor-coll
{
    position: absolute;
    width: 42px;
    height: 42px;
    cursor: pointer;
    background-color: orange;
}
.editor-coll:hover
{
    border: 1px solid red;
}
.editor-coll-ul
{
    top: 0;
    left: 0;
}
.editor-coll-ur
{
    top: 0;
    right: 0;
}
.editor-coll-dr
{
    bottom: 0;
    right: 0;
}
.editor-coll-dl
{
    bottom: 0;
    left: 0;
}
.window-editormain
{
    background-color: white;
    border: 1px solid gray;
}

.window-project
{
    position: absolute;
    right: 0px;
    width: 200px;
    height: 99vh;
    overflow-y: scroll;
}

.window-combos
{
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 256px;
    
}
.window-mapeditor
{
    position: absolute;
    left: 260px;
    top: 50px;
    bottom: 10px;
    right: 210px;

}
.window-editor-map-options
{
    position: absolute;
    top: 0px;
    left: 450px;
    min-width: 700px;

}
.map-option-control
{
    margin-bottom: 0px!important;
    padding-bottom: 0px!important;
}
.window-map-option
{
    display: inline-block;
    font-size: 80%;

}
.window-map-flag-list
{
    display: inline-block;
}
.window-map-flag
{
    display: inline-block;
    width: 40px;
    height: 32px;
    margin: 3px;
    font-size: .6em;
    border: 1px solid gray;
    border-top-right-radius: 20px;
    cursor: pointer;
    vertical-align: bottom;
    position: relative;
    top: 6px;
    line-height: 4;
}
.window-map-flag-active
{
    border-color: cyan;
}

#flag-player-start
{
    background-color: rgb(243 106 106 / 0.45)
}
#flag-2
{
    background-color: rgb(12 44 200 / 0.45);
}
#flag-doorway
{
    background-color: rgb(0 255 127 / 0.45);
}
#flag-treasure {
    background-color: rgb(212 175 55 / 0.45);
}
#flag-secret {
    background-color: pink;
}
.editor-popup-container {
    top: 0%;
    left: 0%;
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 2000;
}
.editor-overworld-moveable-name-container {
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    position: relative;
}


.editor-popup {
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);

}

.editor-popup-button-area
{
    right: 20px;
    position: absolute;
    bottom: 20px;
    text-align: center;
}
.editor-popup-button
{
    position: relative;
    background-color: #222;
    border: 1px solid #ddd;
    border-radius: 20px;
    height: 40px;
    transition: .2s;
    color: white;
    font-weight: bold;
    padding-left:20px;
    padding-right: 20px;
    margin-left: 20px; 
    margin-right: 20px;
    

}
.editor-popup-button:hover
{
    background-color: #444;
    border: 1px solid #eee;
    
}
.editor-popup-button:active
{
    background-color: #666;
    border: 1px solid white;
    top: 2px;
    left: 2px;
}
.editor-popup-button-cancel
{
    background-color: #c229;
}
.editor-popup-window
{
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    position: relative;
    width: 600px;
    height: 400px;
    background-color: #000b;
    border-top: 1px solid gray;
    border-left: 1px solid gray;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    padding: 20px;

    color: white;
}
.editor-popup-window-big
{
    width: 800px;
    height: 850px;
}
.editor-popup-content
{
    margin: 20px;
    display: flex;
    flex-direction: row;

}
.editor-popup-content > .form-row
{
    margin: 10px;
}



.editor-popup-title
{
    padding-bottom:12px;
    font-size: 1.5em;
    color: white;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #666;
}
.editor-popup-left
{
    display: inline-block;
    padding-right: 30px;
}
.editor-popup-right
{
    display: inline-block;
    position: relative;
    flex: 1;

}
.editor-overworld-moveable-map-name
{
    width: 100%;
    text-align: center;
    color: white;
    text-shadow: 0px 0px 10px black;
    overflow-wrap: break-word;
    font-size: 60%;
}

.editor-gov-container
{
    padding-top: 20px;
    padding-left: 20px;
    position: absolute;
    left: 0px;
    top: 0px;
    background-color: white;
    width: 170px;
    font-size: 60%;
    z-index: 1000;
    display: none;
}
.editor-gov-gameObj
{
    position: relative;
    height: 12px;
}
.editor-gov-gameObj > .caret
{
    background-color: aliceblue;
}
.editor-gov-spacer {
    position: relative;
    height: 12px;
}

.editor-sprite-popup {
    width: 900px !important;
    height: 600px !important;
}
.editor-sprite-tree
{
    background-color: white;
    width: 250px;
    height: 400px;
    color: black;
    border: 2px inset;
    padding-left: 4px;
}
.popup-window-help
{
    background-color: white;
    border-radius: 40px;
    width: 20px;
    height: 20px;
    color: orange;
    text-shadow: 0px 0px 1px red;
    font-weight: bold;
    text-align: center;
    line-height: 1.2em;
    cursor: pointer;
}

.popup-help-text
{
    position: absolute;
    min-width: 300px;

    background-color: #000d;
    border-radius: 10px;
    
    border: 2px solid white;
    right: 20px;
    bottom: 30px;
    color: white;

   font-weight: 100;
   text-shadow: none;
   margin: 10px;
   padding: 10px;

   opacity: 0;
   transition: .2s;
   text-align: left;
   pointer-events: none;
}

.popup-window-help:hover .popup-help-text
{
   opacity: 1;
}
.click_sprite_image
{
    display: inline-block;
     max-width: 20px;
     max-height: 20px;
     margin-right: 4px;
   
}

.editor-context-menu-container
{
    width: 100vw;
    height: 100vh;
    z-index: 50000;
    position: absolute;
}
.editor-context-menu
{
    background-color: #f1f3f4;
    border: 1px outset;
    padding: 2px;
    position: relative;
    width: 200px;
    word-break: keep-all;
}
.editor-context-menu-option
{
    border-radius: 3px;
    padding: 3px;
    cursor: pointer;
}
.editor-context-menu-option:hover
{
    background-color: rgb(0 60 255 / 0.12);
}
.editor-context-menu-option:active
{
    background-color: rgb(0 60 255 / 0.4);
}