div, input, textarea {
  box-sizing:border-box;	
}

.status {
	background:#f0f0f0;
	height:10px;
	width:100%;
}

.status_finished {
	height:10px;
	background:#F00;
	width:0;
}

.fb_iframe_widget, .twitter-share-button {
	vertical-align: middle;
	overflow:hidden!important;
}

.twitter-share-button {
	margin-left:15px;
}

.unslider-arrow {
	top:35px;	
}

.unslider {
	position: relative;
	height: 120px;
	overflow:hidden!important;
}

.my-slider {
	width: 80%;
	margin: 0 10%;	
}

img {
	outline:0;	
}

html, body {
  height:100%;
  min-height:100%;
}

body {
	color:#333;
  min-width:320px;
  background:#f0f0f0;
	margin:0;
	padding:0;
	font-family:"Lato";
}

h1 {
	margin: 11px 0;
}

.button {
	margin-bottom:50px;
	margin-top:20px;
	display: block;
	color: #FFF;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	font-size: 110%;
	text-transform: uppercase;
	word-spacing: 2px;
	width:50%;
	padding:15px 0;
}

.button:active {
	position:relative;
	top:3px;
	border:none;	
}

.left-button {
	float:left;
	border-bottom: 3px solid #A40B0E;
	border-radius:5px 0 0 5px;
	background: none repeat scroll 0% 0% #F00;
}

.right-button {
	float:right;
	border-radius:0 5px 5px 0;
	border-bottom: 3px solid #353535;
	background: none repeat scroll 0% 0% #555;
}

.button-wrapper {
  overflow:hidden; margin-left: -48px;
}

.lego-button i {
	font-size: 170%;
	vertical-align: sub;
	margin-right: 10px;
}

.lego-button img {
	height:22px;
	vertical-align:middle;
	margin-right: 2px;
	margin-top: -4px;
}

.lego-button, .lego-button:hover, .lego-button:focus {
	padding: 20px;
	margin-bottom:30px;
	display: block;
	box-shadow: inset 0px -3px 0px rgba(0, 0, 0, 0.2);
	background: none repeat scroll 0% 0% #F00;
	color: #FFF;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	font-size: 110%;
	text-transform: uppercase;
	word-spacing: 2px;
	margin-left: -50px;
	border-radius: 5px;
}

.lego-button:active {
	box-shadow:none;
	position:relative;
	top:3px;
}

.inner {
  max-width:900px;
  margin:0 auto;
  padding:60px 0;
}

#output small {
  font-size:80%;
  display:block;
}

.big {
  font-size:180%;
  font-weight:bold;
}


.fullbg {
  overflow: hidden;
  color:#fff;
  background: url(../assets/fullbg.jpg) no-repeat center center; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  min-height:100%;
  position:relative;
  width:100%;
  box-shadow: inset 0 -10px 10px -10px #000000;
  -moz-box-shadow: inset 0 -10px 10px -10px #000000;
  -webkit-box-shadow: inset 0 -10px 10px -10px #000000;
}

.size {
  margin:0 auto 50px;
  max-width:600px;
  text-align:right;
}

.size label {
  margin-right:10px;
  color:#fff;
}

.size select {
  -webkit-appearance: none;
  background:#fff;
  padding:5px 8px;
  border-radius:4px;
  border:0;
}

.symbol {
  line-height:15pt;
  margin-top:10px;
}

.fa-eur {
  margin-left:-2px; 
  line-height: 65px;  
}

.symbol div {
  display:inline-block;
  margin-left:10px;
  vertical-align: middle;
}

.symbol i {
  display:inline-block;
  vertical-align: middle;
}

.loader {
  background-image:url(../assets/loading.GIF);
  background-repeat:no-repeat;
  background-position: center;
  background-color:rgba(0,0,0,0.85);
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  height:100%;
  display:none;
}

.preview {
  text-align:center;
  height:310px;
  position:relative;
  margin-bottom:50px;
  background:url('../assets/bg.gif');
  padding:30px;
  border-radius: 30px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3) inset;
}

.preview div {
	position:absolute;
	width:100%;
	height:100%;
	text-align:center;
	max-height:250px;
	left: 0;
}

.preview div:before {
	position:absolute;
	left:50%;
	margin-left:-100px;
	width:200px;
	bottom:-25px;
	content:"LEGO Farben";	
}

.preview:hover div:before {
	content:"Original";	
}

#original {
	z-index:1;
}

.preview:hover #lego, .preview:active #lego {
	opacity:0;
	z-index:1000;	
}

#lego {
	z-index:1000;	
}

.logo {
  max-width:900px;
  text-shadow:0 0 5px #000;
  color:#fff;
  margin:0 auto;
  text-align:center;
  margin-top:70px;
  font-size:250%;
  font-weight:bold;
  text-transform:uppercase;
}

.logo-img {
  display:inline-block;
  vertical-align:middle;
  padding:0 5px;
  background-position:center;
  background-repeat:no-repeat;
  background-image:url(../assets/logo_gr.png);
  width:70px;
  height:58px;
  background-size: 100%;
  background-repeat:no-repeat;
  margin-top:-3px;
}

img {
  max-width:100%;
  height:auto;
}

.img {
	cursor:pointer;
	height:100%;
  image-rendering:optimizeSpeed;             /* Legal fallback */
  image-rendering:-moz-crisp-edges;          /* Firefox        */
  image-rendering:-o-crisp-edges;            /* Opera          */
  image-rendering:-webkit-optimize-contrast;
  image-rendering:optimize-contrast;         /* CSS3 Proposed  */
  image-rendering:crisp-edges;               /* CSS4 Proposed  */
  image-rendering:pixelated;                 /* CSS4 Proposed  */
  -ms-interpolation-mode:nearest-neighbor;   /* IE8+           */
}

.example {
	text-align:center;	
}

.scroll {
	position:absolute;
	left:50%;
	width:200px;
	margin-left:-100px;
	text-align:Center;
	bottom:10px;
	font-weight:bold;
	z-index:1;
	font-size:150%;
}

.brick {
  display:table-cell;
  background-size:100px 100px;
  width:100px;
  height:100px;
}

.amount {
  display:table-cell;
  height:100px;
  vertical-align:middle;
  padding-left: 10px;
}

h2 {
  font-size:120%;
}

.error {
  max-width: 600px;
  background: rgba(255,148,148,0.6);
  font-weight:bold; 
  color: #990000;
  padding: 15px 20px;
  border-radius:4px;
  display: none;
  margin:30px auto 0;
}

#file_form input[type=url] {
  background:transparent;
  border:2px solid #fff;
  margin:0 auto 20px;
  display:block;
  color:#fff;
  outline:0;
  font-size:90%;
  padding:15px;
  max-width:600px;
  width:100%;
  border-radius:10px;
}

.fileContainer {
  overflow: hidden;
  position: relative;
	border:3px dashed #fff;
	border-radius:20px;
	color:#fff;
  max-width:600px;
  margin:0 auto;
	text-align:center;
	padding:100px 40px;
}

#file_form strong {
  font-size:130%;
}

.fileContainer [type=file] {
    cursor: inherit;
    display: block;
    font-size: 999px;
    filter: alpha(opacity=0);
    min-height: 100%;
    min-width: 100%;
    opacity: 0;
    position: absolute;
    right: 0;
    text-align: right;
    top: 0;
}

#file_form {
  padding:0 20px;
}

footer .inner {
  margin:0 auto;
  padding:40px 20px;
}

.subfooter {
  color:#333;
  font-size:12px;
  text-align:center;
  background:#000;
}

.subfooter .inner {
  padding:15px 20px;
}

.subfooter a, .subfooter a:visited {
  color:#555;
}

.subfooter a:hover  {
  text-decoration: none;
}

footer {
  width:100%;
  color:#777;
  background: #111;
}

footer input {
  padding:15px 20px;
  border:0;
  height: 55px;
  outline:0;
  border-radius:4px;
  border-bottom:2px solid #000;
  -webkit-appearance: none;
  display:inline-block;
  color:#888;
  background:rgba(50,50,50,0.7);
}

footer input[type=text] {
  width:100%;
}

footer input[type=submit] {
  display:none;
}

#nachoben:hover {
  color:#fff;
}

/* Comparsion Slider
-------------------------------------- */

.image-slider {
	position:relative;
	display: inline-block;
	line-height: 0;
	width: 400px;
height: 400px;
}

/* Could use a pseudo-element, but they’re currently
   super buggy. See: http://dabblet.com/gist/ab432c3f6a8f672cd077 */
.image-slider > div {
	position: absolute;
	top: 0; bottom: 0; left: 0;
	width: 25px;
	max-width: 100%;
	overflow: hidden;
	resize: horizontal;
}

/* Cross-browser resizer styling */
.image-slider > div:before {
	content: '';
	position: absolute;
	right: 0; bottom: 0;
	width: 13px; height: 13px;
	padding: 5px;
	background: linear-gradient(-45deg, white 50%, transparent 0);
	background-clip: content-box;
	cursor: ew-resize;
	-webkit-filter: drop-shadow(0 0 2px black);
	filter: drop-shadow(0 0 2px black);
}

.image-slider img {
	user-select: none;
	max-width: 400px;
}

/* Responsive
-------------------------------------- */

@media only screen and (max-width: 600px) {
  .logo {
    font-size:150%;
    margin-top:40px;
  }
  .subfooter {
	text-align:center;  
  }
  .logo-img {
    height:45px;
    width:50px;
  }

  .fileContainer {
    padding:50px 20px;
  }

  #file_form strong {
    font-size:100%;
  }
  
  .left-button, .right-button {
		border-radius:0;  
		width: 100%;
		margin-bottom:30px;
  }

  .preview {
    min-height:100%;
  }
  
  .error {
	margin: 30px 20px 0;  
  }
  
  #example {
	  display:block;
	padding-top:30px;  
  }

  .subfooter .inner span {
    float:none!important;
    display:block;
    text-align:center;
  }
  
  .button-wrapper {
	  margin-left: 0;
  }
  
  .preview div:before {
	  	bottom:-60px;
  }
  
  .size {
	  padding-right: 20px;
  }
}

/* -- Begin grids
------------------------------------------------------------- */


/* -- Setup grids with base class -- */
.grid-wrap {
  margin-left: -3em;
  overflow: hidden;
  clear: both; }

#output .grid-wrap {
  padding:25px 20px;
  margin-bottom:30px;
  background:#fff;
  box-shadow:0 2px 0px #e5e5e5;
  border-radius:4px;
}

.grid-col {
  float: left;
  padding-left: 3em;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.large-gutter {
  margin-left: -6em; }
  .large-gutter .grid-col {
    padding-left: 6em; }

.half-gutter {
  margin-left: -1.5em; }
  .half-gutter .grid-col {
    padding-left: 1.5em; }

.no-gutter {
  margin-left: 0; }
  .no-gutter .grid-col {
    padding-left: 0; }

.col-full,
.col-set-full .grid-col {
  width: 100%; }

.col-one-half,
.col-set-one-half .grid-col {
  width: 50%; }

.col-one-third,
.col-set-one-third .grid-col {
  width: 33.333%; }

.col-one-quarter,
.col-set-one-quarter .grid-col {
  width: 25%; }

.col-two-thirds {
  width: 66.666%; }

.col-three-quarters {
  width: 75%; }

/* -- Breakpoint (.bp1)
------------------------------------------------------------- */
@media only screen and (min-width: 30em) {
  .bp1-col-full,
  .bp1-col-set-full .grid-col {
    width: 100%; }

  .bp1-col-one-half,
  .bp1-col-set-one-half .grid-col {
    width: 50%; }

  .bp1-col-one-third,
  .bp1-col-set-one-third .grid-col {
    width: 33.333%; }

  .bp1-col-one-quarter,
  .bp1-col-set-one-quarter .grid-col {
    width: 25%; }

  .bp1-col-two-thirds {
    width: 66.666%; }

  .bp1-col-three-quarters {
    width: 75%; } }
/* -- Breakpoint 2 (.bp2)
------------------------------------------------------------- */
@media only screen and (min-width: 48em) {
  .bp2-col-full,
  .bp2-col-set-full .grid-col {
    width: 100%; }

  .bp2-col-one-half,
  .bp2-col-set-one-half .grid-col {
    width: 50%; }

  .bp2-col-one-third,
  .bp2-col-set-one-third .grid-col {
    width: 33.333%; }

  .bp2-col-one-quarter,
  .bp2-col-set-one-quarter .grid-col {
    width: 25%; }

  .bp2-col-two-thirds {
    width: 66.666%; }

  .bp2-col-three-quarters {
    width: 75%; } }
/* -- Breakpoint 3 (.bp3)
------------------------------------------------------------- */
@media only screen and (min-width: 60em) {
  .bp3-col-full,
  .bp3-col-set-full .grid-col {
    width: 100%; }

  .bp3-col-one-half,
  .bp3-col-set-one-half .grid-col {
    width: 50%; }

  .bp3-col-one-third,
  .bp3-col-set-one-third .grid-col {
    width: 33.333%; }

  .bp3-col-one-quarter,
  .bp3-col-set-one-quarter .grid-col {
    width: 25%; }

  .bp3-col-two-thirds {
    width: 66.666%; }

  .bp3-col-three-quarters {
    width: 75%; } 

  .preview {
    margin-bottom:0px; }
  }