html,
body,
.app {
    height: 100%;
}



body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

dialog {
    background: white;
    border: 0;
    border-radius: .5rem;
    padding: 1rem;
}
dialog::backdrop {
	background: black;
    opacity: 0.4;
}

.main-section {
    height: 100%;
    font-size: 0;
	display: flex;
}

.main {
	flex-grow: 1;
	padding: .5rem;
}
.info {
	width: 450px;
	padding: .5rem;
}
.lijst {
    width: 200px;
	border-left: 2px solid black;
	display: flex;
	flex-direction: column;
}

.main,
.info,
.lijst {
    box-sizing: border-box;
    vertical-align:top;
    font-size: 16px;
    height: 100%;
    overflow: auto;
}

.rij {
    border: 2px solid transparent;
}
.rij.active {
    border-color: #ff0000;
}
hr {
    border: 0;
    border-bottom: 2px solid #888888;
}

.cube-wrap .layer table,
.cube-wrap .layer .buttons {
    display: inline-block;
    vertical-align: top;
}
.cube-wrap .layer .buttons button {
    display: block;
    width: 100px;
    background: white;
    border: 2px solid black;
}
.cube-wrap .layer .buttons button:hover {
    background: #eeeeee;
}
.cube-wrap .layer .buttons button:active {
    background: black;
    color: white;
}
.cube-wrap .layer .buttons div + div button {
    border-top: none;
}

.shortcuts {
    width: 100%;
    background-color: #cccccc; 
    line-height: 25px; 
    text-align: center;
}
.shortcuts .body {
    background: #f2f2f2;
}
.shortcuts .body > div:nth-child(even) {
    background: #e8e8e8;
}

#msg {
    margin-bottom:10px;
    width: 100%;
    padding: 10px 0;
    background-color: #fdf59a; 
    text-align: center;
    white-space: pre-wrap;
	max-height: 35px;
    overflow: auto;
}
#error {
	margin-bottom:10px;
    width: 100%;
    padding: 10px 0;
    background-color: #fd9a9a; 
    text-align: center;
	white-space: pre-wrap;
	max-height: 35px;
    overflow: auto;
}

/* image stuff */
.inline-img {
	display: inline-block;
	position: relative;
	border: 2px solid #888888;
	width: 400px;
	height: 400px;
}
.img-wrap {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}
.overlay-padding {
	padding: 15px;
}
img.cube-image {
	position:absolute;
	width: 400px;
	height: auto;
}
img.overlay-image {
	width: 100%;
	height: auto;
}
.half-transparancy {
	opacity: 0.5;
}
.full-transparancy {
	opacity: 0;
}

.offset-img-1 {
	transform: translate(-45px, 0);
}
.offset-img-2 {
	transform: translate(-22px, 0);
}
.offset-img-3 {
	transform: translate(0, -30px);
}

.inline-settings {
	display: inline-block;
	vertical-align: top;
}

.invoer-modi {
    vertical-align: top;
}
.lijst button.full {
	width: 100%;
	background: #eee;
	color:black;
	border: 0;
	padding: 10px;
}
.lijst button:hover {
	background: #aaa;
}
.lijst button.deactivate {
    background: #d4ffff;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    border: 0;
}
.lijst button.deactivate:hover {
	background: #82c6c6;
}
#cube-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
	flex-grow: 1;
	overflow: auto;
}
#cube-list .item {
	display: flex;
    height: 30px;
    background: #e2e2e2;
	padding: .25rem;
	border-bottom: 1px solid #ccc;
}
#cube-list .item:nth-child(even) {
    background: #f3f3f3;
}
#cube-list .item .info-region {
    display: inline-block;
    width: 48px;
    height: 30px;
    pointer-events: none;
    text-align: center;
    line-height: 30px;
}
#cube-list .item .name {
    width: 100px;
    padding: 3px;
    height: 30px;
    box-sizing: border-box;
    border: 0;
    background: rgba(255, 255, 255, 0.5);
}
#cube-list .item .name:focus {
    outline: 2px solid #4d90fe;
}

#cube-list .item.active {
    background: #ffe000;
}
#cube-list .item button {
    display: inline-block;
    vertical-align: top;
    border: 0;
    padding: 0px 10px;
    height: 30px;
    background: rgba(0, 0, 0, 0.1);
}
#cube-list .dummy {
    display: none;
}

#cube-list .item .save {
    display: none;
}

#cube-list .item.active .save {
    display: inline-block;
}

.mt-1 {
	margin-top: 1rem;
}
.btn {
	display: inline-block;
	outline: 0;
	border: 0;
	cursor: pointer;
	border-radius: 8px;
	padding: 14px 24px 16px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	transition: transform 200ms,background 200ms;
	background: transparent;
	color: #000000;
	margin: 2px 0;
}

.btn:hover {
}
                

.fancy-btn {
	--main-color: #000000;
	--bg-color: #e7e7e7;
	--front-color: black;
	margin: 4px;
	height: 40px;
	border-radius: 5px;
	border: 2px solid var(--main-color);
	background-color: var(--bg-color);
	box-shadow: 4px 4px var(--main-color);
	font-size: 17px;
	font-weight: 600;
	color: var(--font-color);
	cursor: pointer;
}
.fancy-btn.yellow {
	--main-color: #c38a00;
    --bg-color: #fbff57;
}

.fancy-btn.green {
	--main-color: #068700;
	--bg-color: #bdffc0;
}
.fancy-btn.red {
    --main-color: #6d0000;
    --bg-color: #ff0000;
}
.fancy-btn:disabled {
    --main-color: #6f6f6f;
    --bg-color: #cfcfcf;
	box-shadow: 0px 0px var(--main-color);
	transform: translate(3px, 3px);
	cursor: not-allowed;
}
.fancy-btn:disabled.red {
	--main-color: #8e5757;
    --bg-color: #ad8383;
}

.fancy-btn:active {
	box-shadow: 0px 0px var(--main-color);
	transform: translate(3px, 3px);
}

#confirm-new-package .top-wrap {
	display: flex;
	justify-content: right;
}

.p-4px {
	padding: 4px;
}
.flex-grow {
	flex-grow: 1;
}
.dblock {
	display: block;
}
.hidden {
	display: none;
}