﻿/* Thomas V2 */
body {
	background-color: #FFFFFF;
	height: 100vh;
	margin: 0;
	position: relative;  
	overflow-y: scroll;
	}

* {
	box-sizing: border-box;
}

main {
	height: 100%;
	display: flex;
	flex-direction: column;
	user-select: none;
}

#top-bar {
	margin: 0px 0px 10px 0px;
	padding: 10px 0px 10px 0px;

}




#center-panel {
  margin: 16px;
  width: 100%;
  height: 100%;
  
  border-radius: 20px;
}

#bottom-panel {
	background-color: white;
	display: block;
	min-height: 180px;
	margin: 0px 16px 45px 16px;
	height: 240px;
	border-radius: 20px;
}



.content {
	flex: 1;
	display: flex;
	align-items: center;
	flex-direction: row;
	justify-content: center;
	
	margin-bottom: 20px;
}




/* DROPAREA */

#zone-1 {   
  /* padding: 10px 10px 0 10px; */
}  
#zone-1 .tile {
    margin: 0 10px 10px 0;
	cursor: move;
} 

#zone-1 {
	justify-content: center;

	display: block;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	position: relative;
	height: 100%;	
	
	background-color: #FFFFFF;
	background-image: url("img/cube-pattern.png");
	background-repeat: repeat;
	background-blend-mode: multiply;
}

#zone-1.drop-zone {
	
	border: 1px solid #666666;
	border-radius: 20px;
	padding: 20px 10px 0 10px;
}

#zone-2 {

	display: block;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	/* align-content: flex-end; */
	justify-content: center;
	position: relative;
	height: 70%;
	
	background-color: #eeeeee;
	background-image: url("img/cube-pattern.png");
	background-repeat: repeat;
	background-blend-mode: multiply;
	

	padding: 10px 10px 0 10px;
	overflow: hidden;
}  
#zone-2 .tile {    
    position: relative; 
	margin-left: 5px;
	margin-right: 5px;
	margin-bottom: 10px;
	cursor: select;
	opacity: 1;
}

.tile.clone.overlap {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.5);
}


#zone-2 .tile.current {
	position: absolute;

	margin-top: -65px;
	top: 50% !important;
	
	left: 0; 
	right: 0; 
	margin-left: auto; 
	margin-right: auto; 
	width: 177px;
	height: 130px;
}

#zone-2 .tile:not(.current) {
	width: 89px;
	height: 65px;	
}
#zone-2 .tile:not(.current) .innerfront, #zone-2 .tile:not(.current) .innerback {
	width: 89px;
	height: 65px;
	
	/* background-size: 22px;	 */
}

#zone-2 .tile:not(.current) {	
	border-radius: 10px !important;
}


#zone-2 .tile:not(.current) .innerback img {
	/* width: 89px; */
	width: auto;
	height: 65px;	
}

.tile .innerfront img {
	height: inherit;
	width: auto;
}

.tile .innerback img {
	height: inherit;
	width: auto;
}

/*
#zone-2 .tile:not(.current) .innerfront span, #zone-2 .tile:not(.current) .innerback span {
	line-height: 28px !important;
	font-size: .5em !important;
	vertical-align: middle;
}
*/


/* hoover effekt */
#zone-2.blend {

	/* border-width: 3px !important; */
	/* padding: 0px !important; */
	
	opacity: .35;
	border-color: #ffffff;
	border-size: 3px;

}

#zone-2.blend > div, #zone-2.blend > span {
	opacity: .35 !important;
}

#zone-2 .tile .innerfront.flipped {
	display: none !important;
}

#zone-2 .tile .innerback.flipped {
	/* display: block !important; */
	display: flex !important;
    justify-content: center !important;
}



#zone-2.drop-zone {
	
	border: 1px solid #666666;
	border-radius: 20px;
	padding: 2px;
}



.drop-zone {

}

.tile {

  display: table;
  
  position: relative;
  width: 177px;
  height: 130px;
/*  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);*/
  overflow: hidden;
  
  border-radius: 20px;
}

.tile .innerfront {
	/* width: 177px; */
	/* height: 130px; */	
	width: inherit;
	height: inherit;

	
	/* background-image: url("img/wood.jpg"); */
	/* background-repeat: no-repeat; */
	/* background-position: center;  */
	
	/* display: table-cell; */
	/* vertical-align: middle; */
	/* line-height: normal; */
	/* text-align: center; */
	/* font-family: "Source Sans Pro"; */
	/* font-weight: 600; */
	/* font-size: 3em; */
	color: #333333;
	overflow: hidden;
	
	display: flex;
    justify-content: center;
}



.tile .innerback {
	/* width: 177px; */
	/* height: 130px; */	
	width: inherit;
	height: inherit;
	
	
	display: none;
	/* font-family: "Source Sans Pro"; */
	/* font-weight: 600; */
	/* font-size: 3em; */
	color: #333333;
	/* text-align: center; */
	
	overflow: hidden;	
}

/* .tile .innerback span {	 */
	/* line-height: 128px; */
/* } */

.tile.clone {
  position: absolute;
  top: 0;
  left: 0;
  cursor: move;
  border: none;
}




/* BODY */
@font-face{font-style:normal; font-weight:400; font-family:Source Sans Pro; src:local("Source Sans Pro"),url(fonts/SourceSansPro-Regular.efa76f83.ttf)}
@font-face{font-style:normal; font-weight:600; font-family:Source Sans Pro; src:local("Source Sans Pro"),url(fonts/SourceSansPro-SemiBold.43cc81b4.ttf)}
@font-face{font-style:normal; font-weight:700; font-family:Source Sans Pro; src:local("Source Sans Pro"),url(fonts/SourceSansPro-Bold.12e6acd2.ttf)}





/* HEADER */
#header {
	height: 120px;	
}

#titlearea {
	font-family: "Source Sans Pro";
	height: 80px;
	text-align: center;

}

#titlearea .innertitle {
    height: 80px;
	padding: 10px 10px 10px 10px;
}


.infogame{
	font-weight:200;
	font-size: 0.8em;
	color: #5c554d;
}
 
.blockelement {
#	display: block;
}
.game-title {
	text-transform: uppercase;
	font-weight:200;
	font-size: 1.3em;
	color: #5c554d;
}

.game-title .small {
	font-size: 0.35em;
	vertical-align: middle;
    margin-bottom: 5px;
}


.game-selection {
#	text-transform: uppercase;
	font-weight:600;
	font-size: 1.8em;
	color: #5c554d;
}


.info {
	display: table;
	width: 179px;
	height: 132px;
	border: 2px dashed #5c554d;
	font-family: "Source Sans Pro";
	font-weight:400;
	font-size: 1.5em;
	opacity: 0;
	text-align: center;
	background-color: rgba(238,238,238, 0.8);
	color: #5c554d;
	border-radius: 20px;
	
}
.info span {
	display: table-cell;
	vertical-align: middle;
	line-height: normal;
}



/* Dialog */
#gameresult {
	position: absolute;
	width: 350px;
	height: 200px;
	background-color: #efebe9;
	border: 3px solid #5c554d;
	left: 0;
	right: 0;
	top: -500px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 20px;
	padding: 8px 16px;
	z-index: 9999;
	box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.5);
}

#gameresult .messages {
	font-family: "Source Sans Pro";
	font-weight: 400;
	font-size: 2em;
	color: #5c554d;
	height: 90px;
	text-align: center;
	margin-top: 25px;
	
}

#gameresult .controlls {
	font-family: "Source Sans Pro";
	font-weight: 400;
	font-size: 1em;
	color: #5c554d;
	height: 30px;
	text-align: center;
	
}

#gameresult .controlls button {
	display: inline;
	background-color: #5c554d;
	color: white;
	border-radius: 25px;
	padding: 10px 18px;

	width: auto;
	border: none;
	outline: 0;
	cursor: pointer;
}


.wood {
	/* background-image: url("img/wood.jpg"); */
	/* background-repeat: no-repeat; */
	/* background-position: center; */
}
/*
.c1 {
	background-color: #ff3d44;
}
.c2 {
	background-color: #ff8525;
}
.c3 {
	background-color: #ffc10a;
}
.c4 {
	background-color: #29ba36;
}
.c5 {
	background-color: #00b7ce;
}
.c6 {
	background-color: #3891ff;
}
.c7 {
	background-color: #c647a6;
}
*/



