/**
Responsive CSS3 lightbox without Javascript
Autohr: Muki Wu
Article: http://muki.tw/tech/responsive-css3-lightbox-without-javascript/
**/
/* basic layout start (you can skip it) */
body{
	font-family:Arial,Helvetica,sans-serif;
}
.lightbox-target .daily_quiz {
  width: 80%;
  margin: 0 auto;
  background: #555;
  padding: 1em;
}

@media (max-width: 759px) {
  .lightbox-target .daily_quiz {
  width: 95%;
  margin: 0 auto;
  background: #555;
  padding: 1em;
}
}
.lightbox-target .daily_quiz div {
  margin: 0 0 2em 0;
}

.lightbox-target h4 {
  min-height: unset;
}

/*
h2 {
  font-size: 1em;
  margin: 0 0 .5em 0;
  background: #444;
  display: inline-block;
  padding: .5em 1.2em;
  position: relative;
  left: -1em;
}

a.button {
  display: inline-block;
  background: #999;
  color: #f2f2f2;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  padding: 10px 1em;
  -moz-box-shadow: 0 3px 0 #777;
  -webkit-box-shadow: 0 3px 0 #777;
  box-shadow: 0 3px 0 #777;
  font-size: 1.3em;
  text-decoration: none;
}
*/

.lightbox-target {
  position: fixed;
  /*opacity: 1; top: 0; bottom: 0; */
  opacity: 0; top: -100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  -moz-transition: opacity 0.5s ease-in-out;
  -o-transition: opacity 0.5s ease-in-out;
  -webkit-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
  overflow: hidden;
	z-index: 99999999;
}
.lightbox-target label {
  margin-bottom: unset;
  font-size: unset;
}
.lightbox-target .content {
  padding: 3em 5em 3em 5em;
  width: 60%;
  height: 90%;
  background: #fff;
  color: #333;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 0%; max-width: 0%;
  /* max-height: 100%; max-width: 100%; */
  border: 0px solid #fff;
  -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  -moz-transition: ease-in-out 0.5s;
  -o-transition: ease-in-out 0.5s;
  -webkit-transition: ease-in-out 0.5s;
  transition: ease-in-out 0.5s;
}
@media (max-width: 959px) {
.lightbox-target .content {
	padding: 2em;
  width: 80%;
  height: 90%;
	}
}
@media (max-width: 759px) {
.lightbox-target .content {
  padding: 1.5em;
  width: 90%;
  height: 90%;
	}
}
@media (max-width: 480px) {
.lightbox-target .content {
  padding: 1.5em;
  width: 90%;
  height: 95%;
	}
}
.DailQuiz-button {
	font-size:1.2em;
	color:#ffffff;
	padding:0.5em 1em 0.5em 1em;
	border-radius: 12px;
	cursor: pointer;
	background: #18A882;
}
.DailQuiz-button :hover {
	background: #00A076;
}

.lightbox-target img {
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 0%;
  max-width: 0%;
  border: 3px solid #fff;
  -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  -moz-transition: ease-in-out 0.5s;
  -o-transition: ease-in-out 0.5s;
  -webkit-transition: ease-in-out 0.5s;
  transition: ease-in-out 0.5s;
}
.lightbox-target:target {
  opacity: 1;
  top: 0;
  bottom: 0;
}
.lightbox-target:target .content, .lightbox-target:target img {
  max-height: 100%;
  max-width: 100%;
}
.lightbox-target:target .lightbox-close {
  top: 10vh;
}
@media (max-width: 959px) {
	.lightbox-target:target .lightbox-close {
  top: 10vh;
	}
}
@media (max-width: 759px) {
.lightbox-target:target .lightbox-close {
  top: 5vh;
  
}	
}
@media (max-width: 480px) {
	.lightbox-target:target .lightbox-close {
  top: 2.5vh;

}	
	
}

.lightbox-close {
  display: block;
  width: 50px;
  height: 50px;
  box-sizing: border-box;
  background: #19B5B1;
  color: #fff;
  position: absolute;
  top: 30vh;
  right: 20vw;
  -moz-transition: ease-in-out 0.5s;
  -o-transition: ease-in-out 0.5s;
  -webkit-transition: ease-in-out 0.5s;
  transition: ease-in-out 0.5s;
}
@media (max-width: 959px) {
.lightbox-close {
  top: 10vh;
  right: 10vw;
	}
}
@media (max-width: 759px) {
.lightbox-close {
  top: 5vh;
  right: 5vw;
	}
}
@media (max-width: 480px) {
.lightbox-close {
  top: 2.5vh;
  right: 5vw;
	}
}


.lightbox-close:before, .lightbox-close:after {
  content: " ";
  display: block;
  height: 30px;
  width: 1px;
  background: #fff;
  position: absolute;
  left: 26px;
  top: 10px;
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.lightbox-close:after {
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}