/*
	LAYOUT
*/
#hamburger
{
	box-sizing: border-box;
	display: block;
	width: 70px;
	height: 49px;
	position: fixed;
	top: 20px;
	left: 10px;
	z-index: 2;
}
html:not(.mm-opening):not(.mm-opened) #hamburger
{
	transition: top 0.3s ease;
}
#hamburger:before,
#hamburger:after,
#hamburger span
{
	background: #000;
	content: '';
	display: block;
	width: 30px;
	height: 2px;
	position: absolute;
	left: 20px;
}
#hamburger:before
{
	top: 12px;
}
#hamburger span
{
	top: 22px;
}
#hamburger:after
{
	top: 32px;
}

/* 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 );
}



/*
	Submenu
*/
h1
{
	position: relative;
	z-index: 11;
}
h1 .submenutext
{
	display: none;
}

.submenu
{
	opacity: 0.95;
	line-height: 20px;
	position: -webkit-sticky;
	position: -moz-sticky;
	position: -ms-sticky;
	position: sticky;
	top: 0;
	z-index: 10;
}
h1 + .submenu
{
	margin-top: -80px;
	margin-bottom: 80px;
}
.header h1 + .submenu
{
	margin-bottom: -66px;
}
.submenu ul,
.submenu li
{
	list-style: none;
	display: block;
	padding: 0;
}
.submenu ul
{
	background: #4bb5ef;
	border-bottom: 1px solid rgba( 255, 255, 255, 0.5 );
	padding: 5px 5px 0 5px;
	margin-left: -20px;
	margin-right: -20px;
}
.submenu ul:after
{
	content: '';
	display: block;
	clear: both;
}
.submenu li
{
	margin: 0;
	float: left;
}
.submenu a
{
	text-decoration: none;
	display: block;
	padding: 10px 15px;
	position: relative;
}
.submenu:hover li.selected a:hover:after,
.submenu li.selected a:after,
.submenu a:hover:after
{
	content: '';
	background: #fff;
	display: block;
	height: 1px;
	position: absolute;
	bottom: -1px;
	left: 15px;
	right: 15px;
}
.submenu:hover li.selected a:after
{
	content: none;
}


/*
	PAGES
*/
#features > div
{
	padding: 75px 50px;
	position: relative;
}
#features > div:first-child
{
	padding-top: 25px;
}
#features > div + div
{
	border-top: 1px solid #ccc;	
}
#features .has-stacked-phones,
#features .has-rotatable-tablets
{
	padding-bottom: 0;
}
#features .has-stacked-phones + div,
#features .has-rotatable-tablets + div
{
	border-top: none;
}
#features .has-rotatable-tablets p
{
	position: relative;
	z-index: 1;
}
#features .stacked-phones
{
	margin: 0 -30%;
}

#features .cta:after
{
	content: '';
	display: block;
	clear: both;
}
#features .cta > *
{
	vertical-align: middle;
	display: inline-block;
}
#features .cta a.btn
{
	float: right;
}
#features .cta h4
{
	color: #4bb5ef;
	padding-top: 20px;
	margin: 0;
}
#features .cta a.btn
{
	border-color: #4bb5ef;
	color: #4bb5ef;
	padding-left: 30px;
	padding-right: 30px;
}
#features .customize
{
	padding-top: 0;
	padding-bottom: 0;
}
#features .customize p
{
	border-top: 1px solid #ccc;
	min-height: 80px;
	padding: 100px 50px 100px 400px;
	margin: 0 -50px;
	position: relative;
}
#features .customize p:first-child
{
	border-top: none;
}
#features .customize p img
{
	border: 1px solid #ccc;
	border-radius: 30px;
	overflow: hidden;
	position: absolute;
	top: 50px;
	left: 150px;
}
#features .customize p img:nth-child( 2 )
{
	left: -50px;
}
#features .customize p img:nth-child( 3 )
{
	left: -250px;
}
#features .customize p img:nth-child( 4 )
{
	left: -450px;
}

#features .customize p:nth-child( even )
{
	padding: 100px 400px 100px 50px;
}
#features .customize p:nth-child( even ) img
{
	left: auto;
	right: 150px;
}
#features .customize p:nth-child( even ) img:nth-child( 2 )
{
	right: -50px;
}
#features .customize p:nth-child( even ) img:nth-child( 3 )
{
	right: -250px;
}
#features .customize p:nth-child( even ) img:nth-child( 4 )
{
	right: -450px;
}

body.home #page
{
	background-position: calc( 50% + 200px ) -190px;
}
#home-intro
{
	padding: 0 0 375px 0;
	position: relative;
}
#home-intro h1
{
	font-size: 150px;
	line-height: 150px;
	letter-spacing: -10px;
	margin: 20px 0;
}
#home-intro h4
{
	margin-top: 20px;
	margin-right: -100px;
}

#home-features ul
{
	display: block;
	padding: 0;
}
#home-features li
{
	margin: 0 0 20px 0;
}

#changelog > li
{
	margin-top: 20px;
}


/*
	License
*/
/*#license form
{
	display: none;
}
#license .pricing
{
	text-align: center;
}
#license .pricing strong,
#license .pricing big,
#license .pricing small
{
	display: block;
}
#license .pricing small
{
	font-size: 13px;
	line-height: 16px;
	margin-top: 10px;
}
#license .pricing big
{
	font-size: 40px;
	font-weight: 300;
	padding: 30px 0 20px 0;
}
#license .pricing > div
{
	margin-bottom: 0;
}
#license .pricing > div + div
{
	border-left: 1px solid rgba( 255, 255, 255, 0.5 );
}
#license .pricing-updates,
#license .pricing-support
{
	padding: 20px 0;
}
#license .pricing > div > div + div
{
	border-top: 1px solid rgba( 255, 255, 255, 0.5 );
}
#license .pricing-title
{
	padding: 30px 20px;
	margin: 0 -20px;
}*/
#license form
{
	display: none;
}
#license label
{
	cursor: pointer;
	display: block;
	padding: 15px 120px 15px 50px;
	position: relative;
	overflow: hidden;
}
#license input[type="radio"]
{
	position: absolute;
	top: -100px;
	left: 10px;
}
#license .price,
#license label .fa
{
	font-size: 20px;
	line-height: 1;
	margin-top: -10px;
	position: absolute;
	top: 50%;
}
#license .price
{
	opacity: 0.6;
	display: inline-block;
	width: 85px;
	right: 0;
}
#license input:checked + label .price
{
	opacity: 1;
}
#license label .fa
{
	left: 15px;
}
#license label .fa-check-circle
{
	display: none;
	font-size: 24px;
	left: 13px;
	margin-top: -12px;
}
#license input:checked + label .fa-circle-o
{
	display: none;
}
#license input:checked + label .fa-check-circle
{
	display: block;
}
#license .title
{
	display: block;
	margin-bottom: 5px;
}
#license label + input + label
{
	border-top: 1px solid rgba( 255, 255, 255, 0.5 );
}

#license .buttons [class*="license-"]
{
	border-left: none;
	display: none;
}
#license input[value="free"]:checked ~ .row .buttons .license-free
{
	display: block;
}
#license input[value="single"]:checked ~ .row .buttons .license-single
{
	display: block;
}
#license input[value="multiple"]:checked ~ .row .buttons .license-multiple
{
	display: block;
}

#license + h4
{
	margin-top: 20px;
}

#check
{
	padding-top: 20px;
	position: relative;
}
#check a
{
	color: #4bb5ef;
	text-align: center;
	text-decoration: none;
	font-size: 20px;
	line-height: 40px;
	display: block;
	width: 60px;
	height: 40px;
	position: absolute;
	bottom: 0;
	right: 0;
}
#check .popout + a
{
	right: -20px;
}

/*
	DOWNLOAD
*/
.download-button.downloading,
.download-button + p
{
	display: none;
}
.download-button + p
{
	height: 90px;
	margin: 40px 20px;
}
.download-button + p .fa
{
	margin: 8px 15px 0 0;
	float: left;
}
.download-button.downloading + p
{
	display: block;
}

#custom-download-js
{
	font-family: Consolas, monospace;
	white-space: pre;
	margin-top: 22px;
	margin-bottom: 22px;
}
#custom-download-js + .warning
{
	display: none;
	margin-top: -22px;
}
#custom-download-js.invalid + .warning
{
	display: block;
}

#custom-download
{
	margin-top: 80px;
}
#custom-download label
{
	cursor: pointer;
	display: block;
	position: relative;
	overflow: hidden;
}
#custom-download input[type="checkbox"]
{
	position: absolute;
	top: -100px;
	left: -100px;
}
#custom-download .fa
{
	margin-right: 5px;
}
#custom-download .fa-check-circle,
#custom-download input[type="checkbox"]:checked ~ .fa-circle-o
{
	display: none;
}
#custom-download input[type="checkbox"]:checked ~ .fa-check-circle
{
	display: inline-block;
}
#custom-download h4 + .row
{
	border-bottom: 1px solid rgba( 255, 255, 255, 0.5 );
}
#custom-download .row .row + .row
{
	border-top: 1px solid rgba( 255, 255, 255, 0.5 );
}
#custom-download .row .row [class*="col"]
{
	padding-bottom: 20px;
	margin-bottom: 0;
}
#custom-download .row .row + .row [class*="col"]
{
	padding-top: 20px;
}
#custom-download .row .col3 p
{
	font-size: 12px;
	margin-top: 10px;
}
#custom-download .row .row .col8
{
	font-size: 12px;
}



/*
	PLAYGROUND
*/
#playground .example
{
	position: -webkit-sticky;
	position: -moz-sticky;
	position: -ms-sticky;
	position: sticky;
	top: 30px;
}
#playground-options
{
	background: none;
	width: 100% !important;
	color: #fff;
	
	height: auto;
	max-width: none;
	padding-top: 40px;
	margin-left: -20px;
	position: relative;
	z-index: 2;
}

#playground-options h4
{
	margin-top: 80px;
}
#playground-options .mm-panels,
#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: #4bb5ef;
}
#playground-options .mm-listview > li:after
{
    border-color: rgba( 255, 255, 255, 0.5 );
}
#playground-options .mm-listview .mm-panel li:last-child:after
{
	border-color: transparent;
}
#playground-options h4 + .mm-listview
{
	margin-top: -10px;
}
#playground-options .mm-listview input[type="text"]
{
	margin-top: 5px;
}
#playground-options .mm-listview .mm-divider
{
	background: transparent;
	padding-top: 30px;
	font-size: 12px;
	opacity: 0.6;
}
#playground-options .mm-listview .mm-divider:first-child
{
	padding-top: 0;
}
.playground.col6
{
	margin-bottom: 90px;
}


/* large screens */
@media all and (min-width: 1430px) {
	#hamburger,
	.lt-1430
	{
		display: none;
	}
}

/* small screens */
@media all and (max-width: 950px) {

	.gt-950px
	{
		display: none;
	}
	.demo-link
	{
		border-top: 1px solid #4bb5ef;
		text-align: center;
		display: block !important;
		width: 100%;
		padding: 10px !important;
		float: left;
	}
	.demo-link span.sub
	{
		font-weight: bold;
		font-size: 16px;
	}

	#features
	{
		margin-top: 0;
	}
	#features .cta h4
	{
		display: block;
		padding: 0;
		margin-bottom: 22px;
	}
	#features .cta a.btn
	{
		display: block;
		float: none;
	}
	#features .customize p
	{
		border-top: none;
		padding: 60px 0 60px 220px;
		margin: 0;
	}
	#features .customize p:first-child
	{
		margin-top: -25px;
	}
	#features .customize p img
	{
		top: 0;
		left: 0;
	}
	#features .customize p:nth-child( even )
	{
		padding: 60px 220px 60px 0;
	}
	#features .customize p:nth-child( even ) img
	{
		right: 0;
	}
	#features .customize p img:nth-child( 2 ),
	#features .customize p img:nth-child( 3 )
	{
		display: none;
	}

	#home-intro h1
	{
		margin-top: -10px;
	}
/*	#license > .row > .col6,*/
	#home-intro > .col6
	{
		width: 70%;
	}
	.row.phones .col6,
	.playground.col6,
	.playground.col6 + .col6
	{
		width: 100%;
	}
	.playground.col6
	{
		margin-bottom: 20px;
	}
	.playground + .col6 .phone
	{
		top: auto !important;
	}
	.row.phones .col6:first-child + .col6
	{
	    margin-top: 20px;
	}
	.row.phones.default .col6:first-child + .col6
	{
		display: none;
	}

	#playground-options h4
	{
		margin-top: 0;
	}
	#playground + .compatibility h4 + .row
	{
		margin-top: 0;
	}

	/* .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: 760px) {

	.gt-760px
	{
		display: none;
	}
	h1
	{
		font-size: 60px;
		line-height: 60px;
		margin: 45px 0;
	}
	h4, h5, h6
	{
		margin-top: 50px;
	}
	.compatibility + h4
	{
		margin-top: 10px;
	}

	.col11,
	.col10,
	.col9,
	.col8,
	.col7,
	.col6,
	.col5,
	.col4,
	.col3,
	.col2,
	.col1
	{
		width: 100% !important;
		clear: left !important;
	}
	#hamburger
	{
		border-bottom: 1px solid rgba( 255, 255, 255, 0.5 );
		opacity: 0.95;
		top: 0 !important;
		left: 0;
	}
	.buttons a + a
	{
		border-left: none;
		border-top: 1px solid #4bb5ef;
	}
	#license .buttons [class*="license-"]
	{
		border-top: none;
	}
	.wrapper:before
	{
		content: none !important;
		display: none !important;
	}
	.wrapper.header
	{
		padding-bottom: 75px;
	}

	.tablets.rotatable:after
	{
		content: none;
	}

	/* .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%;
	} */

	.tablets .tablet
	{
		display: none;
	}
	.submenu
	{
		display: none !important;
	}
	#features > div,
	#features .customize
	{
		padding: 30px 0;
		border-top: none !important;
	}
	#features .fa
	{
		display: none;
	}
	#home-intro h4
	{
		margin-right: 0;
	}
}

/* really really small screens */
@media all and (max-width: 550px) {
	#license label
	{
		padding-right: 10px;
	}
	#license .price
	{
		font-size: inherit;
		width: auto;
		margin-top: 0;
		position: static;
	}
	.row.phones .phone
	{
		margin-left: -100px;
		margin-right: -100px;
	}
	.stacked-phones .phone:first-child,
	.stacked-phones .phone:last-child
	{
		display: none;
	}

	#home-intro h1
	{
		letter-spacing: -5px;
		font-size: 110px;
		line-height: 110px;
		margin-top: -40px;
	}

	#features .customize p,
	#features .customize p:nth-child( even )
	{
		padding: 20px 0;
		min-height: 20px;
	}
	#features .customize p img
	{
		display: none;
	}
}
/* really really really small screens */
@media all and (max-width: 370px) {
	.phone
	{
		height: auto;
		padding: 20px 0;
	}
	.phone:before,
	.phone:after
	{
		background: none;
		content: none;
		display: none;
	}
	.phone div
	{
		border: 10px solid #111;
	}
	#features .stacked-phones
	{
		height: 360px;
	}
	
	dl dt,
	dl dd
	{
		width: 100%;
		padding-left: 20px;
		padding-right: 20px;
		float: none;
	}
	dl dd
	{
		border-top: none;
		margin-top: -20px;
	}
}

