body { font-family: 'Titillium'; margin: 0; padding: 0;background: #ffd73c }
#home h1 {
	font-size: 65px;
}
#home h1 span {
	font-size: 75px;
}
#home #header {
	margin-top: 40px;
}
#home {
	text-align: center;
}
a, a:hover, a:link,a:active,a:visited {
	color:black;
}
#mainWrapper {
	position: relative;
}
h1 {
	position: relative;
	float: left;
	font-family: 'TitilliumBk';
	font-weight: normal;
	font-size: 30px;
	line-height: 30px;
	text-align: left;
	margin-top: 3px;
	margin-bottom: 10px;
}
h1 span {
	font-size: 35px;
}
h1 a {
	text-decoration: none;
}
#languageBtn {
	position: relative;
	float: left;
	width: 30px;
	height: 30px;
	margin: 5px 10px;
	padding: 0;
	line-height: 28px;
	font-size: 16px;
	border-radius: 50%;
	text-align: center;
	text-transform: uppercase;
}
.btn {
	text-decoration: none;
	border: 2px solid black;
	font-size: 18px;
	line-height: 24px;
	font-weight: bold;
	font-family: 'Titillium';
	display: inline-block;
	padding: 5px 20px;
	margin: 2px;
	background: rgba(255, 215, 60,0.75);
}
.largeBtn {
	font-size: 24px;
	line-height: 36px;
}
.btn:hover {
	background: rgba(255,235,162,0.75);
}

#header {
	padding: 10px 20px;
	text-align: left;
}
#helpTxt {
	position: relative;
	float: left;
	margin: 10px 0 0 50px;
}
h2 {
	font-size: 18px;
	line-height: 24px;
	font-weight: bold;
}
#doneBtn,#postcardBtn,#messageBtn {
	position: relative;
	float: right;
	margin: 10px 2px 0 0;
	padding-right: 5px;
}
#doneHelpTxt {
	position: relative;
	float: right;
	margin: 10px 20px;
}


.language_en .it { display: none; }
.language_it .en { display: none; }
.mobile { display: none; }
.isMobile .language_it .it.mobile,
.isMobile .language_it .it .mobile,
.isMobile .language_it .mobile .it { 
	display: block; 
}
.isMobile .desktop { display: none !important; }

.isMobile .language_en .en.mobile,
.isMobile .language_en .en .mobile,
.isMobile .language_en .mobile .en { 
	display: block; 
}
.introText,.aboutText {
	margin: 20px 20px 70px 20px;
	text-align: center;
	font-size: 18px;
	line-height: 24px;
}
.aboutText { 
	text-align: left;
	max-width: 550px;
	margin: 0 auto 100px auto;
	padding: 20px;
}
#footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	height: 50px;
	background: black;
}
#createTree #footer {
	height: 80px;
	padding-top:30px;
}
#footer ul {
	text-align: right;
	list-style: none;
}
#footer li {
	display: inline-block;
	margin: 10px 20px;
}
#footer li a {
	color: #ffd73c;
}
#shareBtns {
	position: absolute;
	right: 20px;
	width: 300px;
	height: 100px;
	margin-bottom: -100px;
	z-index: 2;
	text-align: right;
}
#addMessageForm {
	position: absolute;
	right: 0;
	width: 400px;
	height: 400px;
	padding: 20px;
	margin-bottom: -400px;
	z-index: 2;
	text-align: right;
}
input[type="submit"] {
	float: left;
	background: 
}
textarea, input[type="text"] {
	border: 2px solid black;
	width: 100%;
	padding: 5px;
	margin-bottom: 20px;
	font-family: 'Titillium';
	background: rgba(255, 215, 60, 0.75);
	color: black;
}
textarea {
	min-height: 200px;
	font-size: 30px;
	line-height: 40px;
}
.inputCount {
	position: relative;
	float: right;
	margin-top: -44px;
	border: 2px solid rgb(0, 0, 0);
	height: 20px;
	line-height: 17px;
	text-align: center;
	font-size: 14px;
	width: 60px;
}
#authorCount {
	margin-top:-40px;
}
input {
    -webkit-appearance: none;
    -webkit-border-radius:0; 
    border-radius:0;
}
input[type="checkbox"]{
	border: 2px solid black;
	width: 20px;
	height: 20px;
	cursor: pointer;
}
input[type="checkbox"]:checked{
	background: black;
	border: solid 2px black;
	padding: 2px;
	background-clip: content-box; /* support: IE9+ */
}
input[type="text"]{
	font-size: 18px;
	line-height: 24px;
}
textarea:focus, input[type="text"]:focus {
	background: rgba(255,235,162,0.75);
}
::-webkit-input-placeholder { /* WebKit browsers */
	color: #333;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	color: #333;
	opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
	color: #333;
	opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
	color: #333;
}
#postcardTexts {
	position: absolute;
	left: 65%;
	width:30%;
	top: 250px;
	background: rgba(255, 215, 60, 0.75);
}
#postcardMessage {
	font-size: 30px;
	line-height: 40px;
}
#postcardAuthor {
	margin-top: 50px;
	font-size: 22px;
	line-height: 22px;
}
#recordBtn {
	position: absolute;
	left: 50%;
	bottom: 80px;
	width: 44px;
	height: 44px;
	margin-bottom: -22px;
	margin-left: -22px;
	border-radius: 50%;
	background: #ffd73c;
	cursor: pointer;
	text-align: center;
	line-height: 44px;
	font-size: 34px;
	border: 2px solid black;
}
#recordBtn:hover {
	color: #333;
}
#recordBtn.icon-stop2{
	line-height: 39px;
	font-size: 26px;
}
#recordBtn span {
	padding-top: 2px;
}
#recordBtn.icon-stop2 span {
	display: none;
}
#stats {
	position: fixed;
	right: 0;
	bottom: 0;
	color: white;
	background: black;
}
#drawStyles {
	position: absolute;
	bottom: 10px;
	left: 50%;
	margin-left: -75px;
	list-style: none;
	cursor: pointer;
}
#drawStyles li {
	width: 40px;
	height: 40px;
	margin: 5px;
	border: 2px solid black;
	float: left;
	background: #ffd73c;
}
#drawStyles li.selected {
	border: 2px solid #ffd73c;
	background: black;
}
#drawStyles li.selected path {
	stroke: #ffd73c;
}


#animateTreeBtn {
	position: absolute;
	left: 50%;
	bottom: 50%;
	width: 88px;
	height: 88px;
	padding-left: 10px;
	opacity: 0.75;
	margin-bottom: -44px;
	margin-left: -44px;
	border-radius: 50%;
	background: #ffd73c;
	cursor: pointer;
	text-align: center;
	line-height: 78px;
	font-size: 68px;
	border: 2px solid black;
}
#animateTreeBtn:hover {
	color: #333;
	opacity: 1;
}
.instruction {
	position: absolute;
	width: 300px;
	margin-left: -150px;
	padding: 7px 10px 10px 13px;
	background: black;
	color: #ffd73c;
	font-size: 18px;
}
.instruction a {
	color: #ffd73c;
}
#firstInfo {
	left:50%;
	bottom: 125px;
}
#firstInfo:after {
	content: '';
	position: absolute;
	left: 50%;
	margin-left: -20px;
	bottom: -20px;
	width: 0;
	height: 0;
	border-top: 20px solid #000;
	border-left: 20px solid rgba(0, 0, 0, 0);
	border-right: 20px solid rgba(0, 0, 0, 0);
}

#publicAudioGrp {
	position: relative;
	float: right;
	text-align: right;
	margin-top: 10px;
}
#publicAudioGrp input {
	position: relative;
	float: right;
	margin-left: 10px;
	margin-right:2px;
}
#publicAudioGrp p {
	min-width: 240px
}


@media only screen and (max-width: 478px){
	#helpTxt {
		margin: 20px 0;
		float: left;
		clear: both;
	}
	#doneHelpTxt {
		display: none
	}
	#footer li {
		margin: 10px 5px;
	}
	#drawStyles li {
		margin: 5px;
	}
	#addMessageForm {
		width:100%;
		height:400px;
	}
	textarea {
		min-height: 100px;
		height: 100px;
	}
	#doneGrp {
		top: 80px;
	}
}
@media only screen and (max-width: 641px){
	#animateTreeBtn {
		bottom: 33%
	}
	#createTree #footer { height: 130px; padding-top: 80px }
	#recordBtn { bottom: 130px; }
	#drawStyles {bottom: 60px; }
	#firstInfo {bottom: 175px;}

	#helpTxt {
		margin: 0;
		margin-top:-10px;
		float: left;
	}
	#doneHelpTxt {
		display: none;
	}
	textarea {
		min-height: 100px;
		height: 100px;
	}

	#postcardTexts {
		position: static;
		width: auto;
		left: auto;
		top: auto;
		margin-left: 20px;
		clear:both;
	}
	#viewPostcard #shareBtns {
		width: 100%;
		height: auto;
		position: relative;
		float: right;
		right: 20px;
		margin-left: 20px;
		margin-bottom: 0;
		clear:both;
	}
}
@media only screen and (min-width: 768px){
	.introText {
		position: relative;
		margin: 20px auto 70px auto;
		width: 700px;
	}
}

#unmute-button {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	opacity: 0 !important;
	width: 100% !important;
	height: 100% !important; 
}