/* RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	 margin: 0;
	 padding: 0;
	 border: 0;
	 font-size: 100%;
	 font: inherit;
	 vertical-align: baseline;
}

/* GENERAL STYLES */	
*{
	position: relative;
	padding: 0;
	margin: 0;
	border: 0;
}

@font-face {
    font-family: "Source Sans Pro";
    src: url("fonts/SourceSansPro-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal
}
	
html, body{
	width:100%;
	height:100%;
	background-color:#F8B932;
	overflow:hidden;
}	

.wrapper {
	padding: 20px;
}
	
a{
   color: #D60056;
   text-decoration: none;
}

a:hover, a:active{
	text-decoration: underline;
}
	
.emails{	
	position:absolute;
	top:0;
	left:0;
	height:100%;
	width:100%;
	z-index:1;
}	
	
.email_icon{
	position:absolute;
}	
	
.email_speed_1{
	-webkit-animation: rotation 0.5s infinite linear;
	-moz-animation: rotation 0.5s infinite linear;
	animation: rotation 0.5s infinite linear;
}
	
.email_speed_2{
	-webkit-animation: rotation 0.7s infinite linear;
	-moz-animation: rotation 0.7s infinite linear;
	animation: rotation 0.7s infinite linear;
}
	
.email_speed_3{
	-webkit-animation: rotation 0.9s infinite linear;
	-moz-animation: rotation 0.9s infinite linear;
	animation: rotation 0.9s infinite linear;
}	
	
.email_speed_4{
	-webkit-animation: rotation 1s infinite linear;
	-moz-animation: rotation 1s infinite linear;
	animation: rotation 1s infinite linear;
}
	
.wrapper{
	height: 100%;
	z-index:2;
}

.box_wrapper{
	/*background-image: url('box-bg.jpg');*/
	background-color:white;
	display: block;
	max-width: 525px;
	width: 100%;
	margin: 0 auto;
	border-radius: 5px;
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	box-shadow: 0 0 20px #3e1900;
}
	
.box{
   padding: 20px 20px;
   margin: 0 auto;
}
	
p{
	margin: 0 auto;
	text-align: center;
	padding: 10px 20px;
}
	
p img{
   max-width:260px;
   width: 100%;
   height: 100%;
}
	
#copy{
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 28px;
	color: #323139;
	line-height: normal;
	font-weight: 300;
}
	
@-webkit-keyframes rotation{
	from{
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	to{
		-webkit-transform: rotate(359deg);
		-moz-transform: rotate(359deg);
		transform: rotate(359deg);
	}
}	

/* FORM STYLES */

#sms-unsubscribe-form {
	text-align: center;
	margin: 30px 36px 30px;
}

#phone-label {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 26px;
	color: #323139;
	line-height: 34px;
	font-weight: 300;
	text-align: center;
	margin: 0 auto;
}

#phone-input {
	width: 100%;
	max-width: 220px;
	padding: 10px;
	margin: 12px;
	border: 1px solid #F8B932;

	/* text */
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 16px;
	color: #363636;
	line-height: normal;
	font-weight: 300;
}

.submit-btn {
	padding: 10px 15px;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 18px;
	color: #323139;
	line-height: normal;
	font-weight: 300;
	background-color: #F8B932;
	box-shadow: inset 0 -2px 0 0 #323139;
	transition: 0.3s;
}

.submit-btn:hover,
.submit-btn:focus,
.submit-btn:active {
	background-color: #323139;
	color: white;
	box-shadow: inset 0 -2px 0 0 #F8B932;
}

#form-result-messages {
	background-color: rgb(85, 107, 47);
    color: #FFF;
    padding: 10px;
    margin: 46px 30px 30px;
    font-size: 14px;
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 22px;
    font-weight: 300;
	text-align: center;
	transition: 0.3s;
}

.hide {
	display: none;
	visibility: hidden;
}

.error-form-result-message {
	font-size: 14px;
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 22px;
    font-weight: 300;
}

@media screen and (max-width: 600px) {
	#phone-label {
		font-size: 18px;
		line-height: 22px;
	}

	#phone-input {
		margin: 12px 0;
	}

	#sms-unsubscribe-form {
		margin: 30px 15px 10px;
	}
}