html {
	height: 100%;
	margin: 0;
	padding: 0;
}
body {
	display: table;
	height: 100%;
	width: 100%;
	max-width: 874px;
	margin: 0 auto;

	font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-size: 16px;
	box-sizing: border-box;
    padding: 10px;
}
main {
	display: table-cell;
	width: 100%;
	height: 100%;
	margin: 10px 0;
}
.screen body {
	padding: 20px;
}
.screen main {
	vertical-align: middle;
}
footer {
	display: table-footer-group;
}
header {
	display: table-header-group;
}


button{
	height: 40px; /* 40px because 2px are for the border */
	color: #5FD41B;
	border: 1px solid #5FD41B;
	background-color: #CCF1B5;
	border-radius: 4px;
	padding: 0 40px;
	line-height: 40px;
	font-weight: bold;
	font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-size: 16px;
}
.button{
	height: 40px; /* 40px because 2px are for the border */
	color: #5FD41B;
	border: 1px solid #5FD41B;
	background-color: #CCF1B5;
	border-radius: 4px;
		padding: 0 10px;
	font-weight: bold;
	font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-size: 16px;
	display: inline-block;
	line-height: 40px;
	text-decoration: none;
	vertical-align: top;
}
.button.light {
	background-color: white;
	color: black;
}
@media (min-width: 470px) {
	.button {
		/* larger desktop buttons */
		padding: 0 40px;
	}
}

.right {
	float: right;
}

.socialIcon {
	height: 42px;
	vertical-align: top;
}

#shareBar .shareBox{
	/*transform: scaleX(0);*/
	max-width: 0;
	overflow: hidden;
	display: inline-block;
	white-space: nowrap;
	transition: 0.2s max-width ease;
}
#shareBar .button {
	transition: 0.2s padding ease;
}
#shareBar.open .shareBox{
	max-width: 100px;
	/*transform: scaleX(1);*/
	/*transition: 0.5s max-width ease;*/
}
#shareBar.open .button{
	padding: 0 10px;    
}

h1{
	margin-bottom: 0;
	font-size: 16px;
	font-weight: normal;
}
h4, h5 {
	margin-top: 0;
	font-weight: normal;
	margin-bottom: 10px;
}
small {
	font-size: 80%;
}

figure {
	width: 100%;
	display: table-row;
}
figure img, figure figcaption {
	display: table-cell;
	vertical-align: middle;
}

@media screen and ( max-height: 480px ) {
	/* iphone 4s */
	body {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	p {
		margin: 0.5em 0;
	}
}
@media screen and ( max-height: 300px ) {
	/* non full screen display */
	body {
		padding-top: 0;
		padding-bottom: 0;
	}
}



@media (min-width: 425px) {
	.mobileOnly {
		display: none;
	}
}