/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/*
Description:
	Contains all the styles for the winning wheel page.

Verison History:
	2012-01-28, Douglas McKechie
	- Created based off earlier version.

	2015-09-26, Douglas McKechie
	- Minor updates for the 2.0 winwheel example.
*/

/* Sets the background image for the wheel */

td.the_wheel
{
	background-image: url(../images/wheel_back.png);
	background-position: center;
	background-repeat: no-repeat;
	background-color: transparent !important;
	text-align: center;
}
#trianglePointer{
	margin: -6px auto;
}
#wheelpage{
	position: fixed;
	bottom: 0;
	right: 0;
	left: 0;
	font-family: arial;
	margin: 0 auto;
	overflow: hidden;
	z-index: 999999 !important;
	height: 100vh;
}
#wheelSection{
	background-color:rgba(0,0,0,0.7);
	height: 100vh;
	padding-top: 2%;
}
#wheelSection table{
	background-color:rgba(0,0,0,0.7);
	margin-bottom: 0;
	background: transparent !important;
}
#wheelpage #canvas{
	z-index: 1 !important;
}
#wheelclosebtn{
	position: absolute;
	right: 45px;
	top: 45px;
	font-size: 45px;
	color:#FFF;
	cursor: pointer;
}
.bottom-section{
	display: flex;
	align-items: center;
	width: 100%;
	padding: 10px 0;
	min-height: 200px;
	position: absolute;
	bottom: 0;
}
.spin-center-section, .spin-left-section, .spin-right-section{
	width: 31%;
	display: inline-block;
	margin: 0 20px;
	padding: 0 15px;

}
.spin-left-section{
	color: #FFF;
	font-size: 20px;
}

.spin-center-section .spin_btn{
	top: -80%;
	position: relative;
}
.spin-right-section{
	color: #FFF;
	text-align: center;
	font-size: 18px;
}
.spin-right-section p{
	display: inline-flex;
	align-items: center;
}
.spin-right-section span{
	color: #666;
	text-align: left;
	font-size: 14px;
}
.spin-email-section input.spin_email{
	font-size: 18px;
	padding: 5px;
	width: 100%;
	margin: 20px 0;
	height: 38px;
	border-top: 0;
	border-bottom: 2px solid #FFF;
	border-left: 0;
	border-right: 0;
	background-color: transparent;
	color: #FFF;
	outline: unset !important;
	outline-offset: unset !important;
}
.spin-email-section input.spin_email:focus{
	border-color:none;
	outline: unset !important;
	outline-offset: unset !important;
	background-color: transparent !important;
}
.spin-email-section input.spin_email::placeholder{
	color: #FFF;
}
.spin-email-section #spin_submit{
	font-size: 16px;
	border: 0 !important;
	background-color:#eeeeee;
	border-color:#eeeeee;
	color:#333333;
	text-decoration: none;
	padding: 10px 30px;
	margin: 0px auto;
	opacity: 0.7;
	font-weight: 600;
}
#spin_wheel_responce{
	color: #FFFFFF;
}
#spin_button{
	cursor: pointer;
	font-weight: 900;
	padding: 5px 50px;
	text-decoration: none;
	display: inline-block;
}
#spin_wheel_form p{
	margin-bottom: 0;
}
.spin_email_err{
	border: 2px solid #c40404 !important;
}
.spin_congo{
	position: fixed;
	top: 30%;
	z-index: 9999999 !important;
	left: 0;
	right: 0;
	margin: 0 auto;
	max-width: 500px;
	border: 0;
	padding: 20px 15px;
	-webkit-box-shadow: 0px 0px 12px 8px #07a937;
	-moz-box-shadow: 0px 0px 12px 8px #07a937;
	box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034);
}
.spin_congo h3{
	color:#13d51f;
	font-weight: 800;
	font-size: 40px;
	margin: 10px auto 25px;
}
.spin_congo p{
	color:#FFF;
	font-size: 20px;
}
/* Do some css reset on selected elements */
h1, p
{
	margin: 0;
}

div.power_controls
{
	margin-right:70px;
}

div.html5_logo
{
	margin-left:70px;
}

/* Styles for the power selection controls */
table.power
{
	background-color: #cccccc;
	cursor: pointer;
	border:1px solid #333333;
}

table.power th
{
	background-color: white;
	cursor: default;
}

td.pw1
{
	background-color: #6fe8f0;
}

td.pw2
{
	background-color: #86ef6f;
}

td.pw3
{
	background-color: #ef6f6f;
}

/* Style applied to the spin button once a power has been selected */
.clickable
{
	cursor: pointer;
}

/* Other misc styles */
.margin_bottom
{
	margin-bottom: 5px;
}

table,tbody,tr,td{ border: 0 !important;}

@media screen and (max-width:829px){
	.bottom-section{
		display: block;
		position: unset;
		background-color: unset;
	}
	.spin-center-section, .spin-left-section, .spin-right-section {
		width:100%;
		margin: 0 auto;
		padding: 0 5px;
	}
	.spin-left-section .content p{
		margin-bottom: 0;
	}
	.bottom-section.bottom .spin-left-section, .bottom-section.bottom .spin-right-section{
		display: none !important;
	}
	.spin-right-section p{
		margin-bottom: 0;
	}
	.spin-right-section img{
		max-width: 60% !important;
		margin: 0 auto;
	}
	.bottom-section.top{
		display: block !important;
		margin-top: 40px;
	}
	#spin_button {
		padding: 5px 25px;
		height: auto;
		font-size: 25px !important;
	}
	.spin-email-section input.spin_email{
		width:400px;
	}

	#wheelpage{
		font-family: arial;
		margin: 0 auto;
		overflow: hidden;
		height: 100vh;
	}
	#wheelSection{
		height: 100vh;
		padding-top: 2%;
		position: fixed;
		bottom: 0;
		right: 0;
		left: 0;
		font-family: arial;
		margin: 0 auto;
		overflow-x: hidden;
		height: 100vh;
	}
	.spin-center-section .spin_btn {
		top: 45px;
	}
	.n_mob{
		display: none !important;
	}
	.wheelSection table {
		margin-top: 10px !important;
	}
	#wheelclosebtn{
		right: 40px;
		top: 55px;
	}

}

@media screen and (max-width:424px){
	td.the_wheel{
		background-size: 93%;
		height: 200px;
	}
	.spin-email-section input.spin_email{
		width:100%;
	}
	#trianglePointer{
		margin: -4px auto;
	}
	.spin_congo h3{
		color:#13d51f;
		font-weight: 600;
		font-size: 28px;
		margin: 10px auto 25px;
	}
	.spin_congo p{
		color:#FFF;
		font-size: 18px;
	}
}
