* { -moz-box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	font-size: 24px;
	background-color: #F4F4F4;
	overflow: hidden;
	font-family: "FiraSans" !important;
}

header {
	margin-top: -35px;
	height:3rem;
}

.alert {
	display:none;
	width: 100%;
	text-align: center;
	display: none;
}

#permission {
	display:block;
}

#title {
	width: 100%;
	font-size: 1.8rem;
	padding: 5px;
	text-align: center;
	color:#868692;
	font-weight: lighter;
    margin-left:-15px;
}


#cancel {
    background:#F4F4F4;
	border:0;
	float:left;
	font-size: 2rem;
	padding-left: 7px;
	border-radius:0;
	color:#00B8D6;
}

#cancel:hover,#cancel:active {
	background-color: rgb(230, 230, 230);
}

#ringtones {
    position: absolute;
    top:2.5rem;
    width: 100%;
    bottom: 70px;
    overflow-x: hidden;
    overflow-y: scroll;
    padding-bottom: 5px;
}

#ringtones label {
    display: block;
    width: 100%;
    padding: 5px 10px 0 0;
    text-align: right;
    border-bottom: solid #ddd 1px;
}
#ringtones span {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline-block;
	width: 90%;
	font-size: 1rem;
}

input {
	margin-top: -20px;
}

button {
	color: #333333;
	border: 1px solid #A6A6A6;
    border-radius: 4px;
}

#buttons {
	width: 100%;
	position: absolute;
	bottom: 0;
}
#set {
    width: 100%;
    font-size: 1.4rem;
}

#alert {
	text-align: center;
}

.spinner {
	position: relative;
	width: 90px;
	height:90px;
	margin: 0px auto;
	top: 30%;
}

.spinner .wBall {
	position: absolute;
	width: 86px;
	height: 86px;
	opacity: 0;
	transform: rotate(225deg);
	animation: orbit 4.95s infinite;
}

.spinner .wBall .wInnerBall{
	position: absolute;
	width: 11px;
	height: 11px;
	background: #32C5FA;
	left:0px;
	top:0px;
	border-radius: 11px;
}

.spinner #wBall_1 {
	animation-delay: 1.08s;
}

.spinner #wBall_2 {
	animation-delay: 0.22s;
}

.spinner #wBall_3 {
	animation-delay: 0.43s;
}

.spinner #wBall_4 {
	animation-delay: 0.65s;
}

.spinner #wBall_5 {
	animation-delay: 0.86s;
}

@keyframes orbit {
	0% {
		opacity: 1;
		z-index:99;
		transform: rotate(180deg);
		animation-timing-function: ease-out;
	}

	7% {
		opacity: 1;
		transform: rotate(300deg);
		animation-timing-function: linear;
		origin:0%;
	}

	30% {
		opacity: 1;
		transform:rotate(410deg);
		animation-timing-function: ease-in-out;
		origin:7%;
	}

	39% {
		opacity: 1;
		transform: rotate(645deg);
		animation-timing-function: linear;
		origin:30%;
	}

	70% {
		opacity: 1;
		transform: rotate(770deg);
		animation-timing-function: ease-out;
		origin:39%;
	}

	75% {
		opacity: 1;
		transform: rotate(900deg);
		animation-timing-function: ease-out;
		origin:70%;
	}

	100% {
		opacity: 0;
		transform: rotate(900deg);
	}

}