* {
	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
	font-size: 15px;
	margin: 0px;
	padding: 0px;
	color: #d6d4d0;
}

body#body
{
	/*background: linear-gradient(to bottom right, white, rgba(10,121,181, 0.2));*/
	background-image: linear-gradient(to right bottom, rgb(24, 26, 27), rgba(8, 97, 145, 0.2));
    background-color: #181a1b;
}

body#body.page-login
{
	background: url("/Includes/Images/backgrounds/NT_Blurred_17.jpg");
	background-size: cover;
}

.Clear
{
	display: block;
	clear: both;
}

hr 
{
	border-top: 1px dashed gray;
	border-bottom: 0px solid;
}

.galaxy-font-color
{
	background: linear-gradient(to bottom right, rgb(50,201,189), rgb(10,121,181));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.submit.galaxy-font-color
{
	display: block;
	margin: 5px auto;
	padding: 3px 5px;
	font-size: 32px;
	border: none;
	text-align: center;
	cursor: pointer;
	transition: 0.3s;
}
input[type="submit"].galaxy-font-color:hover,
.submit.galaxy-font-color:hover
{
	text-shadow: 0px 0px rgba(255, 255, 255, 0.1);
}

.wrapper
{
	height: 100vh;
}
body#body.page-home .wrapper
{
	height: calc(5 * 150px);
}

.wrapper .menu
{
	width: 150px;
	height: 100%;
	float: left;
	box-shadow: -10px -10px 60px -10px rgba(0, 0, 0, 0.4)
}
body#body.page-login .menu
{
	display: none;
}
body#body.page-home .menu
{
	height: calc(5 * 150px);
}

.wrapper .content
{
	width: calc(100% - 150px);
	height: 100vh;
	float: right;
	overflow: auto;
}
body#body.page-login .wrapper .content
{
	width: 100vw;
}

	.menu ul li
	{
		height: 150px;
		list-style: none;
		border: none;
		transition: 0.3s;
	}
		.menu ul li a
		{
			display: block;
			padding-top: 88px;
			padding-bottom: 40px;
			background-repeat: no-repeat;
			background-position: center 40px;
			text-decoration: none;
		}
		.menu ul li a span
		{
			display: block;
			text-align: center;
			font-size: 19px;
		}
		.menu ul li a.insert
		{
			background-image: url("/Includes/Images/icons/edit.png");
		}
		.menu ul li a.overview
		{
			background-image: url("/Includes/Images/icons/home.png");
		}
		.menu ul li a.statistics
		{
			background-image: url("/Includes/Images/icons/chart.png");
		}
		.menu ul li a.logout
		{
			background-image: url("/Includes/Images/icons/arrow-left_basic_blue.png");
		}
		.menu ul li:hover
		{
			background-color: rgba(0, 0, 0, 0.025);
		}



.cashflow .entry
{
	display: block;
	margin-bottom: 3px;
	height: 36px;
	padding: 5px;
	color: black;
	text-decoration: none;
	border-right: 2px solid rgba(0, 0, 0, 0);
	overflow: hidden;
	cursor: pointer;
}

.cashflow div.year .entry:first-child
{
	margin-bottom: 32px;
	padding-bottom: 10px;
}

.cashflow .entry.in.automated
{
	border-right: 2px solid rgba(0, 255, 0, 1);
}
.cashflow .entry.uit.automated
{
	border-right: 2px solid rgba(255, 0, 0, 1);
}
	.cashflow .entry span
	{
		display: block;
		width: 90px;
		float: left;
		margin-right: 12px;
		text-align: right;
	}

	.cashflow .entry span.month,
	.cashflow .entry span.year
	{
		text-align: left;
	}
	.cashflow .entry span.month
	{
		position: relative;
		margin-left: 20px;
	}
	.cashflow .entry:first-child span.month
	{
		margin-left: 0px;
	}
	.cashflow .entry span.month:before
	{
		position: absolute;
		content: " ";
		width: 3px;
		height: 3px;
		top: 8px;
		left: -15px;
		border-radius: 3px;
		background-color: grey;
	}
	.cashflow .entry:first-child span:first-child:before
	{
		top: 35px;
		left: 5px;
	}
	.cashflow .entry.in span.month:before
	{
		background-color: rgba(0, 255, 0, 0.4);
		box-shadow: 0px 0px 5px 3px rgba(0, 255, 0, 0.4);
	}
	.cashflow .entry.uit span.month:before
	{
		background-color: rgba(255, 0, 0, 0.4);
		box-shadow: 0px 0px 5px 3px rgba(255, 0, 0, 0.4);
	}

	.cashflow .entry span.in
	{
		/*color: green;*/
		color: rgb(114, 255, 114);
	}
	.cashflow .entry span.out
	{
		/*color: rgb(204, 0, 0);*/
		color: rgb(255, 61, 61);
	}
	.cashflow .entry span.total
	{
		margin-right: 0px;
		font-weight: bold;
	}
	.cashflow .entry span.category,
	.cashflow .entry span.description
	{
		width: calc(100% - 105px - 90px - 45px);
	}
	.cashflow .entry a.edit-entry
	{
		display: block;
		margin-top: 10px;
	}


.cashflow div.year,
.cashflow div.month
{
	width: 90%;
	max-width: 320px;
	margin: 60px auto;
}
.cashflow div.year
{
	border-radius: 10px;
}
.cashflow div.year.positive
{
	border-bottom: 2px solid rgba(0, 255, 0, 0.5);
}
.cashflow div.year.negative
{
	border-bottom: 2px solid rgba(255, 0, 0, 0.5);
}
.cashflow div.year a:first-child span:first-child b
{
	font-size: 22px;
}



.cashflow .month-name
{
	margin-bottom: 20px;
}
	.cashflow .month h3
	{
		display: block;
		width: 70%;
		float: left;
		padding: 22px 0px;
		font-size: 32px;
	}
	.cashflow .month-name .totals-container
	{
		display: block;
		float: right;
	}
	.cashflow .month-name .totals-container .middle-border
	{
		display: block;
		float: right;
	}
	.cashflow .month-name .totals-container span
	{
		display: block;
		float: right;
		margin: 3px 0px;
		border: 0px solid black;
		text-align: right;
		clear: both;
	}
	.cashflow .month-name .totals-container *
	{
		clear: both;
	}
	.cashflow .month .month-name span.in
	{
		color: green;
	}
	.cashflow .month .month-name span.uit
	{
		color: crimson;
	}
	.cashflow .month .month-name span.total
	{
		color: black;
	}

	.cashflow .month .entry .date
	{
		width: 26px;
		margin-top: -2px;
		margin-right: 18px;
		text-align: center;
	}
		.cashflow .month .entry .date .big
		{
			font-weight: bold;
			font-size: 20px;
		}
		.cashflow .month .entry .date .small
		{
			margin-top: -3px;
			color: rgba(0, 0, 0, 0.6);
		}
	.cashflow .month .entry .text-container
	{
		width: calc(100% - 26px - 18px - 12px - 65px);
	}
		.cashflow .month .entry .text-container .category
		{
			width: 100%;
			text-align: left;
			font-weight: bold;
		}
		.cashflow .month .entry .text-container .description
		{
			width: 100%;
			text-align: left;
		}

	.cashflow .month .entry .total
	{
		width: 65px;
		text-align: right;
		font-size: 16px;
	}


	.cashflow .month .edit
	{
		float: left;
		margin-top: 10px;
	}
	.cashflow .month .expanded
	{
		height: auto;
	}
		.cashflow .month .expanded .edit
		{

		}

	.cashflow .year > .in,
	.cashflow .month .in
	{
		border-left: 2px solid rgba(0, 0, 0, 0);
		transition: 0.3s;
	}
		.cashflow .month .in span.total
		{
			color: green;
		}
	.cashflow .year > .uit,
	.cashflow .month .uit
	{
		border-left: 2px solid rgba(0, 0, 0, 0);
		transition: 0.3s;
	}
	.cashflow .year > .in:hover,
	.cashflow .month .in:hover
	{
		border-left: 2px solid rgba(0, 255, 0, 0.5);
	}
	.cashflow .year > .uit:hover,
	.cashflow .month .uit:hover
	{
		border-left: 2px solid rgba(255, 0, 0, 0.5);
	}
		.cashflow .month .uit span.total
		{
			color: crimson;
		}

.cashflow form
{
	width: 80%;
	max-width: 300px;
	margin: 30px auto;
	opacity: 0;
	transform: scale(0.5);

	animation-name: fadeFormIn;
	animation-duration: 0.35s;
	animation-delay: 0.1s;
	animation-iteration-count: 1;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards;
}
@keyframes fadeFormIn {
	0% {
		opacity: 0;
		transform: scale(0.5);
	}
	70% {
		opacity: 1;
		transform: scale(1.05);
	}
	100% {
		opacity: 1;
		transform: scale(1.0);
	}
}

.cashflow form.fadeOut
{
	opacity: 1;
	transform: scale(1.0);
	
	animation-name: fadeFormOut;
	animation-duration: 0.35s;
	animation-delay: 0.1s;
	animation-iteration-count: 1;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards;
}
@keyframes fadeFormOut {
	0% {
		opacity: 1;
		transform: scale(1.0);
	}
	30% {
		opacity: 1;
		transform: scale(1.05);
	}
	100% {
		opacity: 0;
		transform: scale(0.5);
	}
}

	.cashflow .edit {
		display: block; 
		width: 22px;
		height: 22px;
		margin-right: -45px;
		float: right;
	}
		.cashflow .edit img {
			width: 100%;
			height: 100%;
		}

	.cashflow form select
	{
		width: 100%;
		margin-bottom: 10px;
	}
	.cashflow form input.bedrag
	{
		width: calc(100% - 60px - 40px);
		text-align: right;
	}
	.cashflow form textarea
	{
		width: calc(100% - 10px);
		clear: both;
		margin-bottom: 10px;
	}
	.cashflow form input[type="date"]
	{
		display: block;
		width: calc(100% - 10px);
		margin: 0 auto 20px;
		clear: both;
	}

	.cashflow form select,
	.cashflow form input.bedrag,
	.cashflow form input[type="date"],
	.cashflow form textarea
	{
		padding: 5px;
		background: transparent;
		border-width: 0px 0px 2px 0px;
		border-color: rgb(10,121,181);
		border-radius: 0px;
	}
		.cashflow form select option
		{
			background-color: rgba(73, 189, 222, 0.1);
		}
		.cashflow form select option[selected]
		{
			background-color: rgba(73, 189, 222, 0.16);
		}



	.cashflow form .budget span
	{
		width: 123px;
		display: block;
		float: left;
		margin-top: 21px;
		text-align: right;
		margin-right: 10px;
	}
	.cashflow form .budget input
	{
		width: 123px;
	}



.onoffswitch
{
	position: relative;
	width: 60px;
	float: right;
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select: none;
}
.onoffswitch-checkbox
{
	display: none;
}
.onoffswitch-label
{
	display: block;
	overflow: hidden;
	cursor: pointer;
	border: 1px solid #888;
	border-radius: 20px;
}
.onoffswitch-inner
{
	display: block;
	width: 200%;
	margin-left: -100%;
	transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before,
.onoffswitch-inner:after
{
	display: block;
	float: left;
	width: 50%;
	height: 20px;
	padding: 0;
	line-height: 20px;
	font-size: 14px;
	color: white;
	font-family: Trebuchet, Arial, sans-serif;
	font-weight: bold;
	box-sizing: border-box;
}
.onoffswitch-inner:before
{
	content: "IN";
	padding-left: 10px;
	background-color: rgba(150, 255, 150, 0.7);
	color: #2C3335;
}
.onoffswitch-inner:after
{
	content: "UIT";
	padding-right: 10px;
	background-color: rgba(255, 50, 50, 0.8);
	color: #2C3335;
	text-align: right;
}
.onoffswitch-switch
{
	display: block;
	width: 12px;
	margin: 6px;
	background: #181a1b;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 33px;
	border: 1px solid #888;
	border-radius: 20px;
	transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner
{
	margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch
{
	right: 0px;
}


.page-statistics .statistics
{
	width: 90%;
	max-width: 750px;
}
.page-statistics .wrapper,
.page-statistics .statistics.wide
{
	width: 98%;
	max-width: inherit;
}

	.statistics h4
	{
		width: 200px;
		float: left;
	}
		.statistics h4 a
		{
			color: inherit;
			text-decoration: inherit;
			font-weight: inherit;
		}

	.statistics .monthlyTotal
	{
		float: left;
		text-align: right;
		border-right: 1px solid rgba(232, 230, 227, 0.2);
		padding-right: 6px;
		font-weight: bold;
	}

	.column,
	.row
	{
		width: auto;
		float: left;
	}
	.row
	{
		border-bottom: 1px solid rgba(232, 230, 227, 0.2);
	}
		.cell
		{
			width: auto;
			height: 18px;
			padding: 3px 6px;
			border-bottom: 1px solid rgba(232, 230, 227, 0.2);
			text-align: right;
			transition: 0.2s;
		}
		.cell.horizontal
		{
			float: left;
			height: auto;
			min-height: 18px;
			border-bottom: 0px solid rgba(232, 230, 227, 0.2);
		}
		.cell.horizontal.uit
		{
			color: red;
		}
		.cell.horizontal.in
		{
			color: green;
			font-weight: bold;
		}
		.cell.horizontal:nth-child(1)
		{
			width: 75px;
		}
		.cell.horizontal:nth-child(2)
		{
			width: 140px;
			text-align: left;
		}
		.cell.horizontal:nth-child(3)
		{
			width: 60px;
		}
		.cell.hover
		{
			background-color: rgba(31,73,124, 0.3);
		}
		.cell.value-0
		{
			color: rgba(232, 230, 227, 0.4);
		}

		.cell[data-heading="cumulative"],
		.cell[data-heading="gemiddelde"]
		{
			border-left: 1px solid grey;
		}
		.cell[data-heading="categorie"] a
		{
			display: block;
			color: rgb(232, 230, 227);;
			text-decoration: none;
		}
		.cell.budgetstatus-exceeded
		{
			color: red;
		}



.login
{
	width: 447px;
	height: 170px;
	margin: calc(10%) auto;
	border-radius: 10px;
}
.login.error .errorborder
{
	position: absolute;
	background-color: red;
}
.login.error .errorborder.top,
.login.error .errorborder.bottom
{
	height: 2px;
	width: 0px;
	margin-left: 0px;
	animation: animateErrorborderHorizontal 1.0s 2;
}
.login.error .errorborder.bottom
{
	margin-top: 170px;
	animation-delay: 0.5s;
}
@keyframes animateErrorborderHorizontal
{
	50% {
		width: 447px;
		margin-left: 0px;
	}
	100% {
		width: 0px;
		margin-left: 447px;
	}
}

.login.error .errorborder.left,
.login.error .errorborder.right
{
	height: 0px;
	width: 2px;
	margin-top: 0px;
	animation: animateErrorborderVertical 1.0s 2;
}
.login.error .errorborder.right
{
	margin-left: 444px;
	animation-delay: 0.5s;
}
@keyframes animateErrorborderVertical
{
	50% {
		height: 172px;
		margin-top: 0px;
	}
	100% {
		height: 0px;
		margin-top: 170px;
	}
}

.login .container
{
	padding-top: 25px;
	padding-left: 120px;
	padding-right: 27px;
	background-image: url("/Includes/Images/icons/security.png");
	background-repeat: no-repeat;
	background-position: 0px 8px;
	background-size: 110px;
}

	.login input[type="email"],
	.login input[type="text"],
	.login input[type="password"]
	{
		width: 100%;
	}
	.login input[type="password"]::placeholder
	{
		opacity: 0.5;
	}
	.login input[type="submit"]
	{
		display: none;
	}
	
	
.categories form h5 
{
	margin-left: -25px;
	margin-top: 14px;
	margin-bottom: -15px;	
}
.categories form .submit
{
	text-align: left;
}


.footer
{
	display: none;
	width: 100%;
	height: calc(100vh - 5 * 150px);
	/*background-image: url(http://worldpreneur.com/wp-content/uploads/2017/04/slider-1.jpg);*/
	background-size: cover;
	background-position: bottom right;
	box-shadow: 0px 20px 40px -10px rgba(0, 0, 0, 0.4) inset;
}

body#body.page-home .footer
{
	display: block;
}

.budget-visual
{
    display: block;
	width: 150px;
	height: 120px;
	margin: 0px auto;
    text-decoration: none;
	padding: 5px;
	transition: 0.3s;
}
.budget-visual.overview
{
	float: left;
	margin: 10px 50px;
}
.budget-visual:hover
{
	background-color: rgba(255, 255, 255, 0.1);
}
	.budget-visual .container
	{
		width: 50%;
		margin: 0px auto;
		border-right: 1px solid rgb(10, 125, 187);
		border-bottom: 1px solid rgb(10, 125, 187);
	}/*  */
		.budget-visual .bar
		{
			height: 6px;
			width: 25%;
			margin-bottom: 2px;
			margin-top: 3px;
			background-color: rgb(10, 125, 187);
			border-radius: 0px 5px 5px 0px;
		}
			.budget-visual .bar.status-ok
			{
				background: linear-gradient(to bottom right, rgb(50,201,189), rgb(10,121,181));
			}
			.budget-visual .bar.status-exceeded
			{
				background: linear-gradient(to bottom right, rgba(80,1,1,1), rgba(252,70,107,1));
			}
		.budget-visual div[class$=-text]
		{
			width: 100%;
			text-align: center;
		}
		.budget-visual .title-text
		{
			font-size: 16px;
			color: rgb(123, 175, 222);
		}
		.budget-visual .date-text
		{
			font-size: 12px;
		}
		.budget-visual .surplus-text
		{
			margin-top: 10px;
		}
		.budget-visual .description-text
		{
			text-align: center;
		}
		.budget-visual .description-text.status-exceeded
		{
			color: red;
		}

.upload-option
{
    display: block;
    float: left;
    padding: 2px 5px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin: 5px;
    cursor: pointer;
}
.upload-option:hover
{
    background-color: rgba(255, 255, 255, 0.3);
}


@media only screen and (max-width: 500px) {
	.login
	{
		position: absolute;
		bottom: 0;
		width: 90%;
		margin-top: 170%;
		margin-left: 5%;
		padding-left: 0px;
		background-position: -9px 42px;
		background-size: 50px;
	}

		.login.error .errorborder.top,
		.login.error .errorborder.bottom
		{
			animation-name: animateErrorborderHorizontalCompact;
		}
		@keyframes animateErrorborderHorizontalCompact
		{
			50% {
				width: 100%;
				margin-left: 0px;
			}
			100% {
				width: 0px;
				margin-left: 100%;
			}
		}
		.login.error .errorborder.right
		{
			margin-left: calc(100% - 3px);
		}

	.login .container
	{
		padding-left: 50px;
		background-position: -9px 42px;
		background-size: 50px;
	}

	body#body.page-home .footer
	{
		display: none;
	}


	.wrapper,
	body#body.page-home .wrapper
	{
		height: 100vh;
		width: 100vw;
	}

	.wrapper .content,
	body#body.page-home .wrapper .content
	{
		height: calc(100vh - 110px);
		width: 100vw;
	}
	.page-home .wrapper .content
	{
		height: calc(100vh - 110px);
	}
	.wrapper .menu,
	body#body.page-home .menu
	{
		width: 100vw;
		height: 50px;
		/* margin-top: -60px; */
	}
		.menu ul li
		{
			width: calc(100vw / 4);
			height: 50px;
			float: left;
		}
			.menu ul li a
			{
				padding-top: 28px;
				padding-bottom: 0px;
				background-size: 20px;
				background-position: center 10px;
			}
			.menu ul li a span
			{
				font-size: 16px;
			}


	.cashflow div.year:first-child
	{
		margin-top: 20px;
	}

	.cashflow div.year, .cashflow div.month {
		margin-top: 20px;
	}
}
