﻿/**
	Setup specific styles for the current page 
*/
/* Font settings */
html, body {
	font-size: 20px;
	line-height: 1.5em;
	font-family: 'Georgia', Arial, sans-serif;
	font-weight: 400;
}

/* Links */
a {
	font-weight: bold;
}

/* Body */
body {
	background-color: white;
}
/* 
 * Font colors
*/
/* -- black */
body {
	color: #333333;
}
h2 {
	color: #e53f38;
	font-size: 30px;
	font-weight:normal;
	margin:1em 0px;
}

/* Page layout */
.layout {
	width: 1024px;
	padding: 1em;
	background-color: white;
	z-index:2;
}

.canvas-panel {
	padding: 1em 5px;
}
.form-container {
	padding:1em;
	background-color: #f0f6fd;
}
.form-container .col-right {
	padding-left: 1em;
}
	.form-container .col-left{
		padding-right: 1em;
	}
/* Header bg */
.layout-header {
}

	.layout-header .header-container {
		border-top: dotted 3px #e53f38;
		border-bottom: dotted 3px #e53f38;
		padding: 1em;
	}

	/* Header title */
	.layout-header h1 {
		text-align:center;
		font-size: 24px;
		line-height: 36px;
		font-weight: bold;
		font-style:italic;
		margin:0px;
	}

/* Text elements */
.content-panel {
}

	
.content-panel .panel-text {
	
}

.col {
	display: table-cell;
	vertical-align: top;
	width:50%;
}

.col-left {

}
.canvas-panel {
	display:table;
}
.canvas-container, .decorations
{
	display:table-cell;
	vertical-align:top;

}
#CanvasContainer {
	width: 550px;
	border: dashed 3px #f0f6fd;
}
#ElementsContainer {
	box-sizing:border-box;
	width:auto;
}
.col-full {
	width:100% !important;
	display:block;
}
.full-width .col {
	width: 100%;
}


/* Typo */
p {
	margin: 0px auto 1em auto;
}


/* Tree and Co */
#CanvasPanel {
	position:relative;
}
.tree {
	max-width:100%;
	margin-left:auto;
	margin-right:auto;
	display:block;
}
.copy-container {
	position: relative;
	display: inline-block;
}
.img-wrap {
	position: absolute;
	left: 0px;
	top: 0px;
	display: inline-block;
	text-align: center;
}
.img-wrap img {
	vertical-align:middle;
	max-width:100%;
	max-height:100%;
}
.big-img-container, .big-img {
	height: 95px;
	width: 95px;
}
	.bottom-img.img-even, .bottom-img-container.even-container {
		height: 90px;
		width: 90px;
	}
.small-img, .small-img-container {
	height: 36px;
	width: 36px;
	text-align: center;
	
}
.small-img-container {
	
}
.middle-img, .middle-img-container {
	height: 66px;
	width: 66px;
	text-align: center;
	
}
.presents-img, .presents-img-container {
	height: 130px;
	width: 130px;
	text-align: center;
}
.presents-img-container { margin-right:3px }
.presents-img-2, .presents-img-2-container {
	height: 90px;
	width: 90px;
	text-align: center;
}
.presents-img-2-container { margin-right:10px }

.presents-img-2-container.deco-elem-3 { margin-right:0px }
.presents-img-2-container.deco-elem-0 { margin-left:10px }
.large-img, .large-img-container {
	height: 200px;
	width: 200px;
	text-align: center;
	
}
.large-img-container {}
.smaller-img, .smaller-img-container {
	height: 70px;
	width: 70px;
	text-align: center;
}
.smaller-img-container { margin-right:60px }
.smaller-img-container.deco-elem-2 { margin-right:40px }
.smaller-img-container.deco-elem-0 { margin-left:30px }
/*.decorations img {
	height: 52px;
	position:relative;
}
.decorations .small-deco img {
	height:24px;
}*/
.decorations .col {
	width: 50%;
}
.deco-line {
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	padding: 5px;
	height: 34px;
	
	flex-wrap: wrap;
}
/*#BottomElements .img-even {
	height:68px;
}*/
/* Form */
.form-row {
	padding: 0.5em 0.5em 0px 0.5em;
	display: table;
	width: 100%;
}
	.form-row label span, .form-row label .input {
		display:block;
	}
	.form-row label span {
		margin:10px 0px;
	}
	.form-row label .input {
		width:100%;
		border: 0px none;
		border-bottom: dotted 3px #333333;
		background-color:white;
	}
		/* Buttons */
		.buttons { margin-top:1em; text-align:center; margin-bottom: 1em;}
		.buttons .button {
			margin-top:1em;
			padding: 0.5em 1em;
			background-color: #e53f38;
			color: white;
			border: 0px none;
			
		}
			.buttons .submit {
				font-size: 24px;
			}

			.button {
				cursor:pointer;
			}

			.on span.on { display: inline;}
.on span.off {
	display: none;
}

.off span.on {
	display: none;
}

.off span.off {
	display: inline;
}

.preview {
	display: none;
	max-width: 550px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	top: 100px;
	width: 80%;
	height: 80%;
	min-height: 550px;
	z-index: 3;
	border: solid 1px whitesmoke;
	box-shadow: 1px 1px 9px rgba(128,128,128,0.5);
	background-color: white;
}
	.preview .close {
		position: absolute;
		right: 0px;
		top: 0px;
		background-color: #e53f38;
		color:white;
		border: 0px none;
	}
	.download-image {
		position:absolute;
		z-index:10;
	}
	html body button.loading img.loading-img {
		display:inline-block !important;
	}
	.button-finish .loading-img { display: none; margin-right: 10px; }
		
		.validation-error {
			font-size:0.8em;
			color:red;
		}
		
		button.hidden {
			display: none;
		}
		img.preview-image {
			margin-left: auto;
			margin-right: auto;
			display: block;
		}
		
		.separator {
			display:block;
			height: 10px;
		}
		
		/* Templates */
		.templates-selection { padding: 1em; }
		.templates-selection:after {  display:table; content:""; clear:both; float:none}
		.xmas-template {
			width:140px;
			cursor:pointer;
			margin-right: 1em;
			height:140px;
			float: left;
			background:no-repeat center center;
			background-size: contain;
			outline: 5px solid white;
		}
		.xmas-template.selected {
			outline-color: #e53f38;
		}
		.xmas-template.template-1 {
			background-image:url(../assets/vorlage-1.png)
		}
		.xmas-template.template-2 {
			background-image:url(../assets/vorlage-2.png)
		}
		.mobile-selection { display: none }
		
		
		.image-preview-panel { padding: 1em 5px }