body {
	font-family: 'open-sans', sans-serif
}

/*svg{ width:65%; height:65%;text-align:center; margin-left: 15%;}*/

.svg-container {
	width:50%;
	height:0;
	padding-top:35%;
	position:relative;
	margin:0 auto;
}


svg {
	position:absolute; 
	top:0px;
	left:0;
}

#wrap:after {
	clear: both;
}
#wrap {
	width: 90%;
	margin: 10px auto 0px;
	z-index: 10
}
#clue h1 {
	color: #000;
	text-align:center;
	
	
}
g.part path:hover { box-shadow: 10px 10px 5px #888888;}

#question {
	font-family: 'open-sans', sans-serif;
	color: #000000;
	padding: 10px;
	padding-bottom:4px;
	font-size:16px; text-align:center;
	
	}
	
	h1#question  {font-size:22px !important;}
text {fill:white; }
.centre{text-align:center; }
.answer{font-family: 'open-sans', sans-serif; font-size:18px; color: #FFFFFF;  }



#table {
	margin: 20px auto;
	background: url(../images/activity7/iStock_000010996529_Large.jpg) no-repeat;
	background-size: contain;
	background-position: center;
	height: 600px;
	width: 900px;
}
.jig {
	background-color: #2d4eb9;
	width: 300px;
	height: 200px;
	display: inline-block;
	float: left;
	z-index: 1;
	transform: all 1000ms;
	text-align: center;
	color: #FFF;
	font-family: 'open-sans', sans-serif;
}

.jig h2 {
	text-align: center;
	color: #fff;
	margin: 25px 10px
}
.jig:hover {
	transform: scale(1);
	box-shadow: 3px 3px 10px 3px #000
}



button {

	margin: 10px;
	padding: 10px 15px;
	 
}
#activityButtons{margin-left:45%; position: absolute; margin-top:6%; }

.animated {
	-webkit-animation-duration: 600ms;
	animation-duration: 600ms;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}
.flipOutX {
	-webkit-animation-name: flipOutX;
	animation-name: flipOutX;
	-webkit-backface-visibility: visible !important;
	-ms-backface-visibility: visible !important;
	backface-visibility: visible !important;
}
 @-webkit-keyframes flipOutX {
 0% {
 -webkit-transform: perspective(400px) rotateX(0deg);
 transform: perspective(400px) rotateX(0deg);
 visibility: visible;
}
 100% {
 -webkit-transform: perspective(400px) rotateX(90deg);
 transform: perspective(400px) rotateX(90deg);
 visibility: hidden;
}
}
 @keyframes flipOutX {
 0% {
 -webkit-transform: perspective(400px) rotateX(0deg);
 -ms-transform: perspective(400px) rotateX(0deg);
 transform: perspective(400px) rotateX(0deg);
 visibility: visible;
}
 100% {
 -webkit-transform: perspective(400px) rotateX(90deg);
 -ms-transform: perspective(400px) rotateX(90deg);
 transform: perspective(400px) rotateX(90deg);
 visibility: hidden
}
}

@media only screen and (max-width:950px) {
#table {
	width: 600px;
	height: 400px;
}
.jig {
	width: 200px;
	height: 133px;
}

}

/* Portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
#wrap {
	width: 90%;
	margin: 10px auto;
}
}

@media screen and (max-width: 1440px) and (max-height:900px){
	#activityButtons{margin-left:45%; position: absolute; margin-top:1%; }
}
@media screen and (max-width: 1366px) and (max-height:768px){
	#activityButtons{margin-left:45%; position: absolute; margin-top:1%; }
}
@media screen and (max-width: 1280px) and (max-height:1024px){
.svg-container {
	width:60%;
	height:0;
	padding-top:35%;
	position:relative;
	margin:0 auto;
	
}
	#activityButtons{margin-left:45%; position: absolute; margin-top:6%; }

}
