/* most portrait mobile devices are the base CSS (iPhones 4-6 and most Android phones) */
@font-face {
    font-family: 'tgl_0-1451_engschriftregular';
    src: url(fonts/tgl_0-1451eng-webfont.eot);
    src: url(fonts/tgl_0-1451eng-webfont.eot?#iefix) format('embedded-opentype'),
         url(fonts/tgl_0-1451eng-webfont.woff2) format('woff2'),
         url(fonts/tgl_0-1451eng-webfont.woff) format('woff'),
         url(fonts/tgl_0-1451eng-webfont.ttf) format('truetype'),
         url(fonts/tgl_0-1451eng-webfont.svg#tgl_0-1451_engschriftregular) format('svg');
    font-weight: normal;
    font-style: normal;
}

.clearfix:after {
   visibility: hidden;
   display: block;
   font-size: 0;
   content: " ";
   clear: both;
   height: 0;
 }
.clearfix { 
	display: inline-block; 
}
* html .clearfix { 
	height: 1%; 
}
.clearfix { 
	display: block; 
}
* {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
}
a {
	text-decoration: none;
	color: #000;
}
img {
	border: 0;
}
h2 {
	font-style: italic;
	margin-bottom: 15px;
}
h3 {
	margin-top: 15px;
	font-size: 13px;
}
p {
	line-height: 20px;
}
.content {
	text-align: center;
}
.banner {
	height: 15px;
	background: url(images/official_state_banner_sm.gif) no-repeat #000000;
	background-size: 100%;
}
header {
	margin: 15px 0;
}
header h1 {
	color: transparent;
	height: 0;
}
header .logo_container {
	position: relative;
	width: 300px;
	height: 65px;
	margin: 0 auto;
	text-align: center;
}
header .lottery_logo {
	position: absolute;
	top: 0;
	left: 0;
	width: 50px; 
}
header .logo {
	width: 100%;
	margin-top: 10px;
	padding-top: 21%;
	background: url(images/header_1_sm.png) no-repeat;
}
header .playgame {
	display: inline-block;
	font-size: 12px;
	border: 1px solid #000;
	border-radius: 4px;
	padding: 4px 5px 2px 5px;
	margin-top: 5px;
}
.down_triangle {
	display: inline-block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 8px 7px 0 7px;
	border-color: #000 transparent transparent transparent;
	margin: 0 2px;
}

/*******************/
/* Squares Section */
/*******************/

.squares {
	position: relative;
}
.video_container {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 320px;
	height: 175px;
	margin: 0 auto;
	background-color: #000;
	display: none;
	z-index: 10;
}
.video_container iframe {
	width: 100%;
	height: 100%;
}
.square_container {
	position: relative;
	height: 415px;
	-webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.pointer {
	position: absolute;
	display: block;
	top: 20px;
	right: 15px;
	width: 40px;
	height: 40px;
	background: url(images/pointer.png) no-repeat;
	background-size: cover;
	z-index: 3;
}
.square_container > .square {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.square {
	position: relative;
	max-width: 100%;
	height: 100%;
	border: 10px solid #000;
}
.butterfly {
	position: relative;
	background: url(images/butterfly_sm.jpg);
	-webkit-transition: all 0.75s ease;
	-moz-transition: all 0.75s ease;
	transition: all 0.75s ease;
}
.butterfly h2 {
	text-align: center;
}
.graybutterfly {
	position: relative;
	background: url(images/butterfly_sm_click.jpg);
	-webkit-transition: all 0.75s ease;
	-moz-transition: all 0.75s ease;
	transition: all 0.75s ease;
}
.burger {
	position: relative;
	background: url(images/burger_sm.jpg);
	-webkit-transition: all 0.75s ease;
	-moz-transition: all 0.75s ease;
	transition: all 0.75s ease;
}
.grayburger {
	position: relative;
	background: url(images/burger_sm_click.jpg);
	-webkit-transition: all 0.75s ease;
	-moz-transition: all 0.75s ease;
	transition: all 0.75s ease;
}
.swimming {
	position: relative;
	background: url(images/swimming_sm.jpg);
	-webkit-transition: all 0.75s ease;
	-moz-transition: all 0.75s ease;
	transition: all 0.75s ease;
}
.grayswimming {
	position: relative;
	background: url(images/swimming_sm_click.jpg);
	-webkit-transition: all 0.75s ease;
	-moz-transition: all 0.75s ease;
	transition: all 0.75s ease;
}
.square_copy {
	position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width: 80%;
  margin: 0 auto;
  text-align: left;
  opacity: 0;
}
.square_copy p {
	font-size: 13px;
}
.breakdown {
	width: 200px;
}
.square_copy .grand_prize {
	color: #eb1c23;
	font-size: 18px;
}
.square_copy ul {
	margin-top: 15px;
	list-style-position: inside;
	font-size: 13px;
}

/*******************/
/* Details Section */
/*******************/

.details {
	background: #e4e4e4;
  background-image: -webkit-linear-gradient( bottom, #e4e4e4, #bbb );
  background-image: -moz-linear-gradient( bottom, #e4e4e4, #bbb );
  background-image: linear-gradient( to top, #e4e4e4, #bbb );
	padding: 30px 0;
	border-top: 10px solid #000;
	clear: both;
}
.tickets {
	width: 300px;
	margin: 0 auto;
	padding-bottom: 30px;
}
.tickets img {
	width: 100%;
}
.details_copy {
	text-align: left;
	padding: 0 10px;
}
.details_copy p {
	margin-bottom: 15px;
}
.deadline {
	font-size: 10px;
	font-style: italic;
}

/*******************/
/* Answers Section */
/*******************/

.answers {
	margin: 50px 0;
}
.answers h2 {
	font-family: 'tgl_0-1451_engschriftregular', sans-serif;
	font-style: normal;
	font-size: 36px;
	color: #ff0000;
	text-transform: uppercase;
	margin-left: 5px;
	margin-right: 5px;
}
.answers h2 span {
	font-size: 20px;
}
.answer_button_container {
	position: relative;
	width: 200px;
	height: 40px;
	margin: 0 auto;
}
.answer_button_container:hover {
	cursor: pointer;
}
.answer_button_container img {
	position: absolute;
	left: 0;
	width: 100%;
}
.see_answer_button {
	z-index: 2;
}
.hide_answer_button {
	z-index: 1;
}
.find_7s_container {
	position: relative;
	width: 100%;
	height: auto;
}
.find_7s {
	position: absolute;
	width: 100%;
	padding-top: 41.71875%;
	background: url(images/find_7s.jpg) no-repeat;
	background-size: cover;
	z-index: 2;
}
.find_7s_answers {
	position: absolute;
	width: 100%;
	padding-top: 41.71875%;
	background: url(images/find_7s_answers.jpg) no-repeat;
	background-size: cover;
	z-index: 1;
}
.answer_message {
	padding-top: 43%;
	font-family: 'tgl_0-1451_engschriftregular' sans-serif;
	font-size: 24px;
	color: transparent;
}
.show_answers {
	z-index: 3;
	color: #000;
}

/**********/
/* Footer */
/**********/

footer {
	padding: 30px 0;
	text-align: center;
}
footer .logo {
	width: 250px;
	margin: 0 auto;
}
footer .logo img {
	width: 100%;
}
.main_link {
	font-size: 20px;
}
.social_icons {
	margin-top: 5px;
}
.disclaimer {
	font-size: 10px;
	line-height: 12px;
}
.official_footer {
	margin: 10px 10px;
	font-size: 10px;
	line-height: 14px;
}
.official_footer a {
	text-decoration: underline;
	font-size: 10px;
	line-height: 12px;
}
.copyright {
	margin-top: 10px;
	text-align: justify;
}

/* Portrait - iPhone 6+ and large Android phones */
@media (min-width: 414px) {
	.banner {
		background-size: auto;
	}
	header .lottery_logo {
		left: -40px;
	}
	.video_container {
		width: 410px;
		height: 226px;
	}
	.details_copy {
		width: 400px;
		margin: 0 auto;
	}
}

/* Landscape - iPhones 4-5 */
@media (min-width: 480px) {
	.video_container {
		width: 475px;
		height: 263px;
	}
	.square_container {
		height: 515px;
	}
	.butterfly {
		background: url(images/butterfly_lg.jpg);
		-webkit-transition: all 0.75s ease;
		-moz-transition: all 0.75s ease;
		transition: all 0.75s ease;
	}
	.graybutterfly {
		background: url(images/butterfly_lg_click.jpg) !important;
		background-size: cover !important;
		z-index: 6 !important;
	}
	.burger {
		background: url(images/burger_lg.jpg);
		-webkit-transition: all 0.75s ease;
		-moz-transition: all 0.75s ease;
		transition: all 0.75s ease;
	}
	.grayburger {
		background: url(images/burger_lg_click.jpg) !important;
		background-size: cover !important;
		z-index: 6 !important;
	}
	.swimming {
		background: url(images/swimming_lg.jpg);
		-webkit-transition: all 0.75s ease;
		-moz-transition: all 0.75s ease;
		transition: all 0.75s ease;
	}
	.grayswimming {
		background: url(images/swimming_lg_click.jpg) !important;
		background-size: cover !important;
		z-index: 6 !important;
	}
	.official_footer {
		margin: 10px 50px;
	}
}

/* Landscape - iPhone 6 and most Android phones */
@media (min-width: 569px) {
	header {
		width: 650px;
		margin: 20px auto;
	}
	header .logo_container {
		width: 600px;
		height: 115px;
	}
	header .lottery_logo {
		left: -10px;
		width: 100px; 
	}
	header .logo {
		background: url(images/header_1_med.png) no-repeat;
		padding-top: 21%;
	}
	header .playgame {
		margin-top: 15px;
		font-size: 18px;
	}
	.squares {
		height: 275px;
	}
	.square_container {
		width: 33.3333%;
		height: 275px;
		float: left;
	}
	.butterfly {
		margin-right: -5px;
	}
	.burger {
		margin: 0 -5px;
	}
	.swimming {
		margin-left: -5px;
	}
	.square_copy .grand_prize {
		font-size: 17px;
	}
	.swimming h2 {
		font-size: 17px;
	}
	.swimming p {
		line-height: 16px;
	}
	.details {
		border-top: none;
		padding-top: 60px;
		width: 100%;
		height: 335px;
		margin: 0 auto;
	}
	.tickets {
		float: left;
		width: 35%;
		margin-left: 20px;
	}
	.details_copy {
		float: right;
		width: 55%;
		margin: 0;
	}
}

/* Landscape - iPhone 6+ and smaller Android tablets */
@media (min-width: 668px) {
	header .lottery_logo {
		left: -35px;
	}
	.video_container {
		width: 545px;
		height: 301px;
	}
	.square_copy .grand_prize {
	  font-size: 18px;
	}
	.square_container {
		height: 300px;
	}
}

/* Portrait - iPads and most Android tablets */
@media (min-width: 768px) {
	.video_container {
		width: 640px;
		height: 355px;
	}
	.square_container {
		height: 350px;
	}
	.pointer {
		bottom: -5px;
	}
	.details_content {
		width: 768px;
		margin: 0 auto;
	}
	.tickets {
		margin-left: 40px;
	}
	.details_copy {
		width: 400px;
		margin-right: 10px;
	}
}

/* Landscape - Desktops, iPad, and bigger Android tablets*/
@media (min-width: 1024px) {
	header {
		width: 960px;
	}
	header .logo_container {
		width: 802px;
		height: 155px;
		margin: 0 auto;
	}
	header .logo {
		background: url(images/header_1.png) no-repeat;
	}
	.video_container {
		width: 690px;
		height: 383px;
	}
	.square_container {
		height: 400px;
	}
	.swimming h2 {
		font-size: 1.5em;
	}
	.swimming p {
		line-height: 20px;
	}
	.butterfly_hover:hover {
		background: url(images/butterfly_lg_hover.jpg) #000;
		background-size: cover;
		cursor: pointer;
		z-index: 4;
	}
	.burger_hover:hover {
		background: url(images/burger_lg_hover.jpg) #000;
		background-size: cover;
		cursor: pointer;
		z-index: 4;
	}
	.swimming_hover:hover {
		background: url(images/swimming_lg_hover.jpg) #000;
		background-size: cover;
		cursor: pointer;
		z-index: 4;
	}
	.answers_copy {
		width: 960px;
		margin: 0 auto;
	}
	.answers h2 {	
		float: left;
	}
	.answer_button_container {
		margin: 0;
		float: right;
	}
	.find_7s_container {
		padding-top: 40px;
	}
	.answer_message {
		font-size: 36px;
	}
	.official_footer {
		width: 90%;
	}
}

/* Widescreen Desktops */
@media (min-width: 1240px) {
	.square_container {
		height: 475px;
	}
	.official_footer {
		width: 960px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Uber Widescreen Desktops */
@media (min-width: 1470px) {
	.video_container {
		width: 940px;
		height: 525px;
	}
	.square_container {
		height: 600px;
	}
	.pointer {
		width: 70px;
		height: 70px;
	}
}
