/* A Linux- and Windows-friendly sans-serif font stack: http://prospects.mhurrell.co.uk/post/updating-the-helvetica-font-stack */
body {font: 13px Helmet, Freesans, sans-serif;}

/* Using local fonts? Check out Font Squirrel's webfont generator: http://www.fontsquirrel.com/tools/webfont-generator */

/* We like off-black for text. */
body, select, input, textarea {color: #333;}

a {color: #333;}
a:hover {color: #3dbf54;}

/* Custom text-selection colors (remove any text shadows: http://twitter.com/miketaylr/status/12228805301) */
::-moz-selection{background: #fcd700; color: #fff; text-shadow: none;}
::selection {background: #fcd700; color: #fff; text-shadow: none;}

/*	j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: #fcd700;}

ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}

/* Mozilla dosen't style placeholders by default */
input:-moz-placeholder { color:#a9a9a9; }
textarea:-moz-placeholder { color:#a9a9a9; }

.floatleft {
	float: left;
}
.floatright {
	float: right;
}

.ctr-a {
	padding-top: 140px;
	padding-bottom: 100px;
	width: 100%;
}
.ctr-a center {
	max-width: 90%;
	width: 420px;
	margin: 0 auto;
	position: relative;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
	margin-bottom: 20px;
	font-family: 'Alfa Slab One', cursive;
}
h1, .h1 {
	font-size: 3rem;
	line-height: 50px;
}
h2, .h2 {
	font-size: 1.5rem;
}

form {
	text-align: left;
}
form .outer-button {
	text-align: center;
	width: 100%;
}
.green {
	color: #3dbf54;
}
header.header {
	z-index: 101;
	position: relative;
}
header.header .logo {
	float: left;
	max-width: 20%;
	width: 130px;
	height: auto;
	margin-left: 15px;
	margin-top: 15px;
}
header.header .user-box {
	position: absolute;
	top: 30px;
	right: 100px;
}
header.header .user-box span.name {
	font-weight: bold;
	font-size: 1.3rem;
}
header.header .user-box a {
	text-decoration: none;
}
.nav-toggle { 
	position: absolute; 
	height: 45px; 
	width: 45px; 
	padding: 0; 
	top: 25px; 
	right: 25px; 
	overflow: hidden; 
	text-indent: 100%; 
	white-space: nowrap;  
	background: #d3d3d3; 
	border: none; 
	border-radius: 50%;
	z-index: 100;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { 
	/* hamburger icon in CSS */ 
	position: absolute; 
	height: 3px; 
	background-color: #fff; 
	backface-visibility: hidden; 
}
.nav-toggle span { 
	/* this is the central line */ 
	top: 21px; 
	left: 8px; 
	width: 23px;
	transition: width 0.2s ease; 
}
.nav-toggle span::before, .nav-toggle span::after { 
	/* these are the upper and lower lines */ 
	content: ''; 
	left: 0; 
	transition: width 0.2s ease; 
}
.nav-toggle span::before { 
	bottom: 8px; 
	width: 18px; 
}
.nav-toggle span::after { 
	top: 8px; 
	width: 28px; 
}
.nav-toggle:hover {
	background-color: #3dbf54;
}
.nav-toggle:hover span::before { 
	width: 28px; 
}
.nav-toggle:hover span::after { 
	width: 18px; 
}
.nav-active .nav-toggle {
	background-color: #3dbf54;
}
.nav-active .nav-toggle span {
	background: transparent;
}
.nav-active .nav-toggle span::before, .nav-active .nav-toggle span::after { 
	width: 28px; 
}
.nav-active .nav-toggle span::before { 
	transform: translateY(8px) rotate(-45deg); 
}
.nav-active .nav-toggle span::after {
	transform: translateY(-8px) rotate(45deg);
}

input[type="text"], input[type="password"], textarea {
	width: 100%;
	padding: 5px;
	font-size: 1.1rem;
	border: 3px solid #d3d3d3;
	margin-bottom: 10px;
}
input[type="submit"], button {
	text-align: center;
	padding: 5px;
	font-size: 1.5rem;
	background-color: #d3d3d3;
	border: 0;
	color: #fff;
	border: 3px solid #d3d3d3;
}
.user-buttons {
	margin: 0 auto;
	width: 400px;
	max-width: 90%;
}
.login_button, .register_button {
	background: transparent;
	font-size: .8rem;
	border: 0;
	color: #333;
}
.login_button:hover, .register_button:hover {
	background: transparent;
}
#searchform {
	margin-bottom: 15px;
}
#searchbar {
	width: 74%;
	font-size: 1.5rem;
	border: 3px dashed #d3d3d3;
	margin: 0;
}
#searchbutton {
	background-image: url('../img/search.svg');
	background-size: auto 100%;
	background-position: center;
	background-repeat: no-repeat;
	width: 24%;
	text-indent: 200%;
	overflow: hidden;
}
#profile ul.sentences-claimed li {
	margin-bottom: 20px;
	padding-bottom: 20px;
	width: 100%;
	border-bottom: 1px solid #d3d3d3;
}
#profile ul.sentences-claimed li:last-of-type {
	border: 0;
	margin: 0;
	padding: 0;
}
#profile ul.sentences-claimed li h3 {
	margin-bottom: 5px;
}
.close {
	position: absolute;
	top: 0;
	right: 0;
	color: #d3d3d3;
	cursor: pointer;
	font-size: 2rem;
}