html,
body {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    color: #000;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Raleway, sans-serif;
}

#main {
    height: 100%;
    width: 100%;
    font-family: Raleway, sans-serif;
}

#toolbar {
    height: 60px;
    width: 100%;
    background-image: linear-gradient(rgba(196, 220, 251, 1), rgba(51, 153, 221, 1));
}

#logo {
    height: 60px;
    width: 60px;
    float: left;
	background-image: url('/img/yngf.png');
    background-size: 40px 40px;
    background-repeat: no-repeat;
    background-position: center;
}

#curcalcbutton {
    height: 40px;
    width: 40px;
	float: left;
    top: 8px;
    left: 200px;
    position: fixed;
	background-image: url('/img/icons8-currency-50.png');
    background-color: #fff;
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid aquamarine;
    border-radius: 25%;
    cursor: pointer;
}

#menu {
    height: 60px;
    width: 60px;
    float: left;
	background-image: url('/img/icons8-folder-48.png');
    background-size: 40px 40px;
    background-repeat: no-repeat;
    background-position: center;
    display: none;
}

#title {
    padding-top: 1.2em;
    float: left;
}

#logout {
	display: none;
    height: 60px;
    width: 60px;
    float: right;
	background-image: url('/img/icons8-logout-48.png');
    background-size: 40px 40px;
    background-repeat: no-repeat;
    background-position: center;
}

#loginbtn {
    height: 60px;
    width: 60px;
    float: right;
	background-image: url('/img/icons8-login-50.png');
    background-size: 40px 40px;
    background-repeat: no-repeat;
    background-position: center;
}

#deleteuser {
	display: block;
    height: 60px;
    width: 60px;
    float: right;
	background-image: url('/img/icons8-delete-48.png');
    background-size: 40px 40px;
    background-repeat: no-repeat;
    background-position: center;
}

button#login, button#register {
	margin-top: 1em;
}

#icons8 {
	bottom: 0.5em;
	right: 0.5em;
	position: fixed;
	font-size: 12px;
}

#leftpane {
    float: left;
    height: 100%;
	font-size: 18px;
    background: #f4f6e4;
    overflow: hidden;
}
.jstree-node {
	line-height: 26px !important;
}
#rightpane {
    float: left;
    height: 100%;
    background: #f4f4f4;
}

#functions {
	position: absolute;
	z-index: 1;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	display: none;
}

#logregform {
	position: absolute;
    top: 20%;
    left: 40%;
    border: 2px solid #ddd;
	width: fit-content;
	height: fit-content;
	overflow: none;
    line-height: 1.5em;
    font-size: 1.2em;
    background-color: #f4f6e4;
    padding: 1em;
    box-shadow: 0px 0px 20px #999;
	z-index: 2;
}

.split {
    height: 100%;
}

.split>div {
    float: left;
    height: 100%;
}

.gutter {
    background-color: #eee;
    background-repeat: no-repeat;
    background-position: 50%;
}

.gutter.gutter-horizontal {
    cursor: col-resize;
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');
    background-color: rgb(229, 231, 235);
    background-repeat: no-repeat;
    background-position: 50% center;
    height: 100%;
    float: left;
    width: 10px;
}

.linkcontainer {
    float: left;
    width: 120px;
    height: 120px;
    margin: 20px;
}

#branchtitle {
    padding: 0.3em;
    font-size: 2em;
}

.linkicon {
    width: 80%;
    height: 80%;
    border-radius: 25%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #0CF;
    cursor: pointer;
    background-repeat: no-repeat !important;
    background-size: 64px 64px !important;
    background-color: #f4f4f4 !important;
}

.linkicon:hover {
    box-shadow: 0px 0px 30px 0px rgba(0, 255, 0, 0.67);
}

.linklabel {
    width: 100%;
    font-size: 0.9em;
    text-align: center;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

#linkform {
    position: absolute;
    top: 20%;
    left: 40%;
    border: 2px solid #ddd;
    line-height: 1.5em;
    font-size: 1.2em;
    background-color: #f4f6e4;
    padding: 2px;
    box-shadow: 0px 0px 20px #999;
	z-index: 2;
}

.linkform {
    width: 20em;
    border: 2px solid #ddd;
    line-height: 1.5em;
    font-size: 1.2em;
    background-color: rgba(255,255,255);
    padding: 2px;
    box-shadow: 0px 0px 20px #999;
}

fieldset {
    border: none;
}

.linkformlabel {
    display: block;
    padding-bottom: 7px;
}

.formtitle {
    display: block;
    /*color: #fff;*/
    font-size: 11px;
    line-height: 18px;
}

.formfield {
    background: #ddd;
    border-bottom: 1px solid #333;
    border-left: 1px solid #000;
    border-right: 1px solid #333;
    border-top: 1px solid #000;
    color: #000;
    border-radius: 3px 3px 3px 3px;
    font: 13px Arial, Helvetica, sans-serif;
    padding: 6px 6px 4px;
    width: 25em;
}

.notesarea {
    height: 13em;
    min-width: 25em;
}

#copymovetree {
	position: absolute;
    top: 20%;
    left: 40%;
    border: 2px solid #ddd;
	width: fit-content;
	max-height: 60%;
	overflow: none;
    line-height: 1.5em;
    font-size: 1.2em;
    background-color: #f4f6e4;
    padding: 1em;
    box-shadow: 0px 0px 20px #999;
	z-index: 2;
}

.choicetreeheader {
	font-style: italic;
}

.treestructure {
	height: 300px;
	width: fit-content;
	overflow: auto;
	border: 1px solid black;
}

#currencycalc {
	position: absolute;
    top: 20%;
    left: 40%;
    border: 2px solid #ddd;
	width: fit-content;
	max-height: 50%;
	overflow: auto;
    line-height: 1.5em;
    font-size: 1.2em;
    background-color: #f4f6e4;
    padding: 1em;
    box-shadow: 0px 0px 20px #999;
	z-index: 2;
}

#confirmation {
	position: absolute;
    top: 20%;
    left: 40%;
    border: 2px solid #ddd;
	width: fit-content;
	max-height: 25%;
	overflow: none;
    line-height: 1.5em;
    font-size: 1.2em;
    background-color: #ff8080;
    padding: 1em;
    box-shadow: 0px 0px 20px #999;
	z-index: 2;
}


@media screen and (orientation: portrait) {
	body {
		zoom: 250%;
	}
	.split {
		display: none;
	}
	#main {
		zoom: 100%;
		overflow: auto;
	}
	#leftpane {
		zoom: 150%;
		display: none;
		width: 100%;	
		overflow: auto;
		padding-bottom: 20em;
	}

	#rightpane {
		display: block;
		zoom: 120%;
		width: 100%;
		height: fit-content;
		padding-bottom: 30em;
		overflow: auto;
	}
	#menu {
		display: block;
	}

	#currencycalc {
		width: 350px;
		left: 0px;
	}

	.context-menu-root {
		width: 200px !important;
		top: 300px !important;
		left: 150px !important;
	}
	
	.vakata-context {
		left: 150px !important;
		top: 300px !important;
	}

	#linkform {
		width: 380px;
		left: 0px;
	}
	
	#copymovetree {
		width: 250px;
		left: 10%;
	}

	#confirmation {
		width: 250px;
		left: 10%;
	}

	#logregform {
		width: 350px;
		left: 0px;
	}
}