/*
	STYLE
*/
body
{
	background: #fff;
	background: url('../img/stripe_bg_12x6.jpg');
	color: #000;
	font-family: Arial, sans-serif;
	font-size: 16px;
	-webkit-text-size-adjust: none;
	
}

h1, h2, h3, h4, h5, h6
{
	color: #000;
	text-shadow: 
}
h1
.font
{
	font-family: 'Pacifico', Arial, sans-serif;
	font-weight: normal;
	letter-spacing: 0;
	line-height: 1;
}
h1,
{
	text-shadow: 0 1px 5px rgba( 0, 0, 0, 0.2 );
	text-transform: lowercase;
}
h1
{
	font-size: 100px;
	line-height: 100px;
	margin: 100px 0;
}
h1.huge
{
	font-size: 400px;
	line-height: 200px;
	padding-top: 30px;
}
h2
{
	font-size: 24px;
	line-height: 24px;
	margin: 45px 0;
	text-shadow: 0 1px 5px rgba( 0, 0, 0, 0.2 );
	text-transform: uppercase;
}
h3
{
	font-size: 14px;
	font-weight: bold;
	line-height: 16px;
	margin: 20px 0;
}
h4, h5, h6
{
	font-weight: bold;
	line-height: 1.2;
	margin: 80px 0 22px 0;
}
h4
{
	font-size: 20px;
}
h5
{
	font-size: 18px;
}
h6
{
	font-size: 16px;
}
h4 small,
h5 small,
h6 small
{
	font-weight: normal;
}
p, ul, ol
{
	margin: 0 0 22px 0;
}
a, a:link, a:active, a:visited, a:hover
{
	color: #94B700;
	text-decoration: underline;
}
select,
input[type="text"],
input[type="password"]
{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background: #eeeeee;
	color:434343;
	border: 1px solid #777777;
	border-radius: 20px;
	text-transform: none;
	vertical-align: middle;
	line-height: 20px;
	display: block;
	height: 30px;
	width: 95%;
	padding: 5px 10px;
}

pre,
code
{
	font-family: Consolas, monospace;
	font-weight: normal;
	font-size: 14px;
	opacity: 0.8;

	transition: opacity 0.5s ease;
}
pre:hover,
code:hover
{
	opacity: 1;
}
pre
{
	-webkit-overflow-scrolling: touch;

	background: #fff;
	color: #666;
	white-space: pre;
	width: 100%;
	overflow: auto;
	padding: 10px 20px;
	margin: 22px -20px;
}
pre .faded
{
	opacity: 0.5;
}
.col6 + .col6 pre
{
	border-left: 1px solid #94B700;
}

hr
{
	background: rgba( 144, 183, 0, 0.8 );
	border: none;
	height: 1px;
	margin: 22px -20px;
}

dl
{
	border-bottom: 1px solid rgba( 144, 183, 0, 0.8 );
	display: block;
	margin: 22px -20px;
}
dl:after
{
	content: '';
	display: block;
	clear: both;
}
dl dt,
dl dd
{
	border-top: 1px solid rgba( 144, 183, 0, 0.8 );
	min-height: 20px;
	padding: 10px 0;
	margin: 0;
	float: left;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
dl dt
{
	width: 30%;
	padding-left: 20px;
	clear: left;
}
dl dd
{
	width: 70%;
	padding-right: 20px;
}

:first-child
{
	margin-top: 0;
}
:last-child
{
	margin-bottom: 0;
}


/*
	GENERIC
*/
.next
{
	margin-top: 80px;
}
.row
{
	margin: 0 -20px;
}
.row:after
{
	content: '';
	display: block;
	clear: both;
}
[class*="col"]
{
	margin-bottom: 40px;
}
.col3,
.col4,
.col6
{
	box-sizing: border-box;
	display: block;
	padding: 0 20px;
	float: left;
}
.col6
{
	width: 50%;
}
.col4
{
	width: 33.33%;
}
col3
{
	width: 25%;
}

.row.phones .col6
{
	margin-top: 20px;
}
.row.phones .col6:first-child,
.row.phones .col6:first-child + .col6
{
	margin-top: 0;
}

.wrapper
{
	box-sizing: border-box;
	width: 95%;
	max-width: 900px;
	margin: 0 auto;
}

#hamburger + .wrapper:before,
.wrapper:first-child:before
{
	content: '';
	/* background: url( ../img/phone.png ) center center no-repeat transparent; */
	display: block;

	margin-left: -400px;
	position: absolute;
	left: 50%;
	top: -1150px;
	z-index: -1;
}
.wrapper.no-phone:before
{
	content: '';
	display: none !important;

}


/*
	MENU
*/
#menu:not(.mm-menu)
{
	display: none;
}
#menu .fa
{
	width: 15px;
	color: #ccc;
}
.mm-panel > p
{
	font-size: 14px;
	margin-top: 20px;
}
.mm-panel > p + .mm-list {
	padding-top: 0;
}
#donate
{
	padding: 45px 20px 30px 44px;
}
#donate:after
{
	border: none !important;
}

/*
	LAYOUT
*/
#hamburger
{
background: #94B700;
box-sizing: border-box;
display: block;
width: 100%;
height: 45px;
position: fixed;
top: 0;
left: 0;
z-index: 2;
text-align: center;
font-size: 16px;
font-weight: bold;
color: #fff;
line-height: 40px;
}

#hamburger:before,
#hamburger:after,
#hamburger span
{
	background: #fff;
	content: '';
	display: block;
	width: 30px;
	height: 5px;
	position: absolute;
	left: 20px;
}
#hamburger:before
{
	top: 10px;
}
#hamburger span
{
	top: 20px;
}
#hamburger:after
{
	top: 30px;
}

/* Hamburger animation */
#hamburger:before,
#hamburger:after,
#hamburger span
{
	-webkit-transition: none 0.5s ease 0.5s;
	transition: none 0.5s ease 0.5s;

	-webkit-transition-property: transform, top, bottom, left, opacity;
	transition-property: transform, top, bottom, left, opacity;
}
html.mm-opening #hamburger:before,
html.mm-opening #hamburger:after
{
	top: 20px;	
}
html.mm-opening #hamburger span
{
	left: -50px;
	opacity: 0;
}
html.mm-opening #hamburger:before
{
	transform: rotate( 45deg );
}
html.mm-opening #hamburger:after
{
	transform: rotate( -45deg );
}


#page
{
	background-image: url(img/stripe_bg_12x6.jpg);
	/*background-color: #afafaf;*/
	box-shadow: none;
	width: 100%;
	min-width: 320px;
	padding: 50px 0;
	overflow: hidden;
	position: relative;
	z-index: 1;
}
.ad-wrapper
{
	background: #94B700;
	/* opacity: 0.9; */
	width: 100%;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 2;
}
.ad-wrapper > div
{
	border-top: 1px solid rgba( 144, 183, 0, 0.8 );
	width: 100%;
	padding: 5px 20px;
	margin: auto;
	color: #ffffff;
	text-align:center;
}

#topeventbuttoncontainer
{
	float:left; 
	width:14%; 
	height:100%; 
	display:inline-block; 
	vertical-align:middle; 
	margin:auto;
	position:relative;
}

#topeventbuttoncontainerblank
{
	float:left; 
	width:1%; 
	height:100%; 
	display:inline-block; 
	vertical-align:middle; 
	margin:auto;
}

.topeventbuttoncontainerimage
{
	width:20px;
	height:20px;
	display:block; 
	vertical-align:center; 
	margin:auto; 
	padding-top:5px;
}

#eventbuttoncontainer
{
	float:left; 
	width:14%; 
	height:100%; 
	display:inline-block; 
	vertical-align:middle; 
	margin:auto;
	position:relative;
}

#eventbuttoncontainerblank
{
	float:left; 
	width:1%; 
	height:100%; 
	display:inline-block; 
	vertical-align:middle; 
	margin:auto;
}

.eventbuttoncontainerimage
{
	width:20px;
	height:20px;
	display:block; 
	vertical-align:center; 
	margin:auto; 
	padding-top:5px;
}

.header-logo {
   content:url('../img/royald-2x.png');
   // You should also be able to safely eliminate `display: block;`
   // when setting `position: absolute`, but included it just in case you
   // experienced problems setting width and height
   // display: block;
   height: 36px;
   width: 36px;
   position: absolute;
   // top 0 is usually inferred when setting position: absolute;
   // you should be able to remove this
   top: 0px;
   right: 0px;

   padding-top: 0px;
   padding-right: 3px;
   padding-bottom: 0px;
   padding-left: 0px;

}

#buttons,
a.btn
{
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba( 0, 0, 0, 0.2 );
	overflow: hidden;
}
#buttons
{
	margin: 20px -5px;
}
#buttons a,
a.btn
{
	background: rgba( 144, 183, 0, 0.8 );
	text-decoration: none;
	line-height: 25px;
}
#buttons a
{
	padding: 20px 0 10px 0;
}
#buttons a:hover,
a.btn:hover
{
	background: #fff;
}
#buttons a + a
{
	border-left: 1px solid #94B700;
}
#buttons .font,
a.btn
{
	color: #94B700;
}
#buttons .font
{
	font-size: 35px;
}

#buttons .sub
{
	color: #666;
	font-size: 13px;
}
#buttons .sub
{
	padding-left: 40px;
}
#buttons span
{
	text-align: center;
	display: block;
}
a.btn
{
	font-weight: bold;
	display: inline-block;
	padding: 10px 20px;
	margin: 5px 10px 0 0;
}
#buttons .col6
{
	margin: 0;
}

.table
{
	margin: 22px -20px;
}
.table td
{
	vertical-align: top;
	box-sizing: border-box;
	padding: 10px;
}
.table td,
.table tr.datatype td + td
{
	border-top: 1px solid rgba( 144, 183, 0, 0.8 );
}
.table thead
{
	background: rgba( 144, 183, 0, 0.8 );
	color: #94B700;
}

.table thead td,
.table tr.sub-start td,
.table tr.sub-start + tr td,
.table tr.sub td:first-child,
.table tr.sub-end td,
.table tr.datatype td,
.table tfoot tr + tr td
{
	border-top: none;
}
.table tr.sub:not(.datatype) td:first-child + td
{
	padding-left: 40px;
}
.table tr.sub-start td,
.table tr.sub-end td,
.table tfoot td
{
	padding-top: 0
}
.table td:first-child + td small
{
	display: block;
}
.table tfoot
{
	font-size: 13px;
}
.table tfoot tr:first-child td
{
	padding-top: 20px;
}
.table td.toggle
{
	cursor: pointer;
}

.table td:first-child
{
	width: 1%;
}
.table td:first-child + td
{
	width: 21%;
}
.table td:first-child + td + td
{
	width: 20%;
}
.table td:first-child + td + td + td
{
	width: 15%;
}
.table td:first-child + td + td + td + td
{
	width: 43%;
}
.table td:first-child + td[colspan="4"]
{
	width: 99%;
}


.phone
{
/*	background: url( ../img/phone-example.png ) center top no-repeat transparent; */
	height: 628px;
	padding-top: 132px;
	z-index: 1;
}
.phone iframe
{
	border-radius: 5px;
	overflow: hidden;
	background: #111;
	border: none;
	display: block;
	width: 280px;
	height: 500px;
	margin: 0 auto;
}
.phone + pre
{
	margin-top: 0;
}

a.popout
{
	border-bottom: 1px solid rgba( 144, 183, 0, 0.8 );
	text-decoration: none;
	text-align: center;
	line-height: 20px;
	display: block;
	padding: 10px 0 10px 40px;
}
a.popout .fa
{
	margin-left: 20px;
}
pre + a.popout
{
	margin: -20px -20px 0 -20px;
}


/*
	HOME
*/
#home-intro
{	
	padding: 0 0 700px 0;
	position: relative;
}
#home-intro:before
{
	content: '';
	/* background: url( ../img/phone.png ) center center no-repeat transparent; */
	display: block;
	width: 2300px;
	height: 1835px;
	margin-left: -950px;
	position: absolute;
	left: 50%;
	bottom: -500px;
	z-index: -1;
}
#home-intro h1
{
	font-size: 150px;
	line-height: 150px;
	letter-spacing: -10px;
	margin: 20px 0;
}

#home-features ul
{
	display: block;
	padding: 0;
}
#home-features li
{
	margin: 0 0 20px 0;
}
.col4:nth-child( 3n + 1 )
{
	clear: left;
}

#changelog > li
{
	margin-top: 20px;
}

.icon-summary p:after
{
	content: '';
	display: block;
	clear: both;
}
.icon-summary .fa
{
	font-size: 50px;
	width: 50px;
	margin: 10px 20px 20px 0;
	float: left;
}

#tipstricks h4
{
	margin-top: 100px;
}
#tipstricks h4 .fa
{
	font-size: 40px;
	width: 50px;
	margin: 3px 0 0 5px;
	float: left;
}

/*
	PLAYGROUND
*/
#playground-options
{
	background: none;
	width: 100% !important;
	color: #fff;
	
	height: auto;
	max-width: none;
	position: relative;
}
#playground-options h4
{
	margin-top: 40px;
}
#playground-options .mm-panel
{
	position: relative;
}

#playground-options input.mm-toggle ~ label.mm-toggle
{
    background: rgba( 255, 255, 255, 0.4 );
}
#playground-options input.mm-toggle:checked ~ label.mm-toggle
{
    background: #fff;
}
#playground-options label.mm-toggle:before
{
	background: #94B700;
}
#playground-options .mm-list > li:after
{
    border-color: rgba( 255, 255, 255, 0.5 );
}
#playground-options .mm-list .mm-panel li:last-child:after
{
	border-color: transparent;
}
#playground-options h4 + .mm-list
{
	margin-top: -30px;
}
#playground-options .mm-list input[type="text"]
{
	margin-top: 5px;
}

.code-iconbar,
.code-buttonbars,
.code-labels,
.code-toggles
{
	display: none;
}
#code.iconbar .code-iconbar,
#code.buttonbars .code-buttonbars,
#code.labels .code-labels,
#code.toggles .code-toggles
{
	display: inline;
}


/* small screens */
@media all and (max-width: 1000px)
{
	#home-intro
	{
		padding-bottom: 550px;
	}
	#home-intro:before
	{
		background-size: 80%;
		margin-left: -1000px;
		bottom: -600px;
	}
	#home-intro h1
	{
		margin-top: -10px;
	}
	#download-intro > .col6,
	#home-intro > .col6
	{
		width: 70%;
	}
	.row.phones .col6,
	.playground.col6,
	.playground.col6 + .col6
	{
		width: 100%;
	}
	.row.phones .col6:first-child + .col6
	{
	    margin-top: 20px;
	}
	.col4
	{
		width: 50%;
	}
	.col4:nth-child( 3n + 1 )
	{
		clear: none;
	}
	.col4:nth-child( 2n + 1 )
	{
		clear: left;
	}

	.table td:first-child
	{
		display: none;
	}
	.table td:first-child + td
	{
		width: 20%;
	}
	.table td:first-child + td + td
	{
		width: 20%;
	}
	.table td:first-child + td + td + td
	{
		display: none;
	}
	.table td:first-child + td + td + td + td
	{
		width: 60%;
	}
	.table td:first-child + td[colspan="4"]
	{
		width: 100%;
	}
}

/* really small screens */
@media all and (max-width: 700px)
{
	h1
	{
		font-size: 60px;
		line-height: 60px;
		margin: 45px 0;
	}
	h4, h5, h6
	{
		margin-top: 50px;
	}
	#home-intro
	{
		padding-bottom: 450px;
	}
	#home-intro:before
	{
		background-size: 60%;
		bottom: -650px;
	}
	#home-intro h1
	{
		letter-spacing: -5px;
		font-size: 110px;
		line-height: 110px;
		margin-top: -40px;
	}
	#download-intro > .col6,
	#home-intro > .col6,
	.col6
	{
		width: 100%;
	}
	.col4
	{
		width: 100%;
		clear: left;
	}
	#hamburger
	{
	background: #94B700;
	/*  url("../img/icon.png") */
    background-size: 40px 40px;
    background-repeat: no-repeat;
    background-position: right center; 
	text-align: center;
	
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	line-height: 40px;
	
		border-bottom: 1px solid rgba( 144, 183, 0, 0.8 );
		/* opacity: 0.9; */
		width: 100%;
		top: 0;
	}
	#buttons a + a
	{
		border-left: none;
		border-top: 1px solid #94B700;
	}
	.wrapper:before
	{
		content: none !important;
		display: none !important;
	}

	.table td:first-child
	{
		display: none;
	}
	.table td:first-child + td
	{
		width: 30%;
	}
	.table td:first-child + td + td
	{
		display: none;
	}
	.table td:first-child + td + td + td
	{
		display: none;
	}
	.table td:first-child + td + td + td + td
	{
		width: 70%;
	}
	.table td:first-child + td[colspan="4"]
	{
		width: 100%;
	}
}

/* really really small screens */
@media all and (max-width: 500px)
{
	.row.phones .phone
	{
		margin-left: -100px;
		margin-right: -100px;
	}
}
/* really really really small screens */
@media all and (max-width: 370px)
{
	.phone
	{
		background: none;
		height: auto;
		padding: 20px 0;
	}
	.phone iframe
	{
		border: 10px solid #111;
	}
}

/* large screens */
@media all and (min-width: 1430px)
{
	.ad-wrapper
	{
		left: 30%;
		width: 70%;
	}
	#hamburger
	{
		display: none;
	}
}

.header
{
	text-align: right;
	background: #94B700;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	line-height: 40px;
    position:fixed;

	-moz-box-sizing: border-box;
	box-sizing: border-box;	
	width: 100%;
	height: 40px;
	padding: 0 10px;
}
.header.fixed
{
	position: fixed;
	top: 0;
	left: 0;
}
.header a
{
	background: center center no-repeat transparent;
	background-image: url( data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADhJREFUeNpi/P//PwOtARMDHQBdLGFBYtMq3BiHT3DRPU4YR4NrNAmPJuHRJDyahEeT8Ii3BCDAAF0WBj5Er5idAAAAAElFTkSuQmCC );

	display: block;
	width: 40px;
	height: 40px;
	position: absolute;
	top: 0;
	left: 10px;
}