/*
	CSS for Memory game plugin
	Author: Yane Frenski
	Responsive Modifications: Boba Fett Fan Club
*/

.quizy-memorygame {
	position:relative;
	width:90%;
	height:auto !important;
	margin:0 auto;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	justify-items: center;
	grid-auto-rows: min-content;
	grid-row-gap: 2em;
}

@media screen and (max-width: 800px) {
	.quizy-memorygame {
		grid-row-gap: 1em;
	}
}

.quizy-memorygame .mgcard-show {
	margin: 0 auto;
	background-color:transparent !important; /* url('/multimedia/games/images/mg-mcard.png'); */
	line-height:0;
}

.quizy-memorygame .mgcard-show img {
	max-width:100%;
	height:auto;
}

.quizy-memorygame .quizy-mg-item {
	text-align:center;
	position:relative;
	cursor:pointer;
	text-align:center;
	left:0 !important;
	top:0 !important;
	margin: 0 auto;
	width:100% !important;
	background-color:transparent !important;
}

@media screen and (max-width: 800px) {
	.quizy-memorygame .quizy-mg-item,
	.quizy-memorygame .quizy-mg-item-top {
		width:75px !important;
		height:75px !important;
	}
}

@media screen and (max-width: 600px) {
	.quizy-memorygame .quizy-mg-item,
	.quizy-memorygame .quizy-mg-item-top {
		width:60px !important;
		height:60px !important;
	}
}

.quizy-memorygame .quizy-mg-item .quizy-mg-item-bottom,
.quizy-memorygame .quizy-mg-item .quizy-mg-item-top {
	/* position:absolute; */
	top:0;
	left:0;
	text-align:center;
	margin: 0 auto;
}

.quizy-mg-item .quizy-mg-item-top {
	background-image:url('/multimedia/games/images/mandalorian-question-mark.jpg');
	background-size:cover;
}

.quizy-mg-notification-fly{
  width:90px;
  height:90px;
  position:absolute;
  z-index:1000;
  display:none;
  -moz-box-shadow: 0px 2px 2px rgba(0,0,0,0.3);
  -webkit-box-shadow: 0px 2px 2px rgba(0,0,0,0.3);
  box-shadow: 0px 2px 2px rgba(0,0,0,0.3);
}

.quizy-mg-notification-fly-neg{
  background:url('/multimedia/games/images/quizy-mg-notif-neg.png');
}

.quizy-mg-notification-fly-pos{
  background:url('/multimedia/games/images/quizy-mg-notif-pos.png');
}

#quizy-game-summary {
  width:300px;
  height:160px;
  position:absolute;
  z-index:1001;
  background: #515b69;
  box-shadow: rgba(0,0,0,0.7) 0 0 4px, inset 0 0 20px rgba(0, 0, 0, 0.4);;
  border:1px solid #000;
  display:none;
  text-align: center;
}

#quizy-game-summary div.gs-column{
  width:75px;
  float:left;
  padding:10px 0 10px 20px;
  color:#fff;
  text-shadow: 1px 1px 1px rgba(0,0,0, 0.5);
  text-align:center;
}

#quizy-game-summary #gs-column1{
  font-size:16px;
  padding-top:30px;
}

#quizy-game-summary #gs-column2{
  font-size:12px;
  padding-top: 65px;
  background:url('/multimedia/games/images/mg-timeicon.png') no-repeat 70% 25%;
}

#quizy-game-summary #gs-column3{
  font-size:12px;
  padding-top: 65px;
  background:url('/multimedia/games/images/mg-clickicon.png') no-repeat 70% 25%;
}


#quizy-game-summary #gs-closebut,
#quizy-game-summary #gs-replaybut{
  display: inline-block;
  margin-top: 10px;
  width: 70px;
  padding: 10px;
  text-align: center;
  background: #D7EEF0;
  cursor: pointer;
}

#quizy-game-summary #gs-closebut:hover, 
#quizy-game-summary #gs-replaybut:hover{
  background: #fff;
}

#quizy-game-summary #gs-replaybut{
  margin-right: 20px;
}

.quizy-game-clear{
  clear: both;
}

