/*@import url(http://fonts.googleapis.com/css?family=Ceviche+One);*/

body{
	background-color: #fefefe;
	font-size: 14px;
}

#display{
	padding: 10px;
	border: 1px solid #ccc;
	background-color: white;
	font-size: 18pt;
	margin-bottom: 10px;
	position: relative;
}

.border{
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	box-shadow: 0.07em 0.07em 0.07em #eee;
}
.login{
	border: 1px solid #ccc;
	padding: 10px;
}
.removefav{
	height: 25px;
	margin-right: 5px;
	line-height: 15px;
	background-color: #fefefe;
	border-style: none;
	color: #aaa;
}

.decomptitle{
	width: 100px;
	display: inline-block;
	padding: 5px;
	border: 1px solid #ccc;
	margin-right: 3px;
	margin-bottom: 3px;
	margin-top: 3px;
}

.decompbox{
	display: inline-block;
	border: 1px solid #ccc;
	padding: 5px;
	width: 75%;
}
#addfav{
	font-size: 0.66em;
}

.meaning{
	margin-top: 5px;
	font-size: 1em;
}

.appearsin{
	word-wrap:break-word;
}

.appearsinbox{
	padding: 8px;
	border: 1px solid #ccc;
}

.newsbite{
	display: inline-block;
	border: 1px solid #bbb;
	font-size: 0.9em;
	float: left;
	padding: 2px 4px 2px 4px;
    margin-left: 5px;
    margin-top: 5px;
	background-color: white;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	box-shadow: 0.0em 0.14em 0.1em #eee;
}

.manychar{
	height: 100%;
}
.decomp{
	font-size: 0.7em;
	width: 100%;
}
#decompose{
	height: 45px;
}
#header{
	border-bottom: 1px dotted #aaa;
	margin-bottom: 20px;
	height: 60px;
}

.headerleft{
	width: 100%;
	float: left;
}

.headerright{
	position: relative;
}

#about p{
	margin-left: 15px;
	font-size: 1.1em;
}

#buytext p{
	font-size: 1.1em;
}
.links{
	top: 5px;
    right: 1px;
    font-size: 1em;
    position: absolute;
    width: 200px;
    text-align: right;
}

.title{
	float: left;
	margin-top: 5px;
}

.title h1 {
	padding: 0;
	margin: 0;
	font-size: 3em;
}

.entry{
	border-bottom: 1px dotted #888;
	margin-bottom: 8px;
	padding-bottom: 8px;
}

ol li{
	font-size: 1em;
	padding: 3px;
}

ul li{
	font-size: 1em;
	padding: 3px;
	list-style-type:square
}

li.list{
	display: inline-block;
}

h1{
	color: #b83746;
	font-size: 3em;
	margin-top: 5px;
}
h1 a:hover{
	text-decoration: none;
}
h2{
	margin: 0px;
}
h3{
	color: #b83746;
	margin: 0px;
	line-height: 1em;
	font-size: 1.2em;
	margin-bottom: 5px;
}
p{
	font-size: 1.2em;
}
#buy p{
	font-size: 0.8em;
}

.list_head{
	height: 75px;
	width: 70px;
	border: 1px solid #aaa;
	font-size: 1.1em;
	background-color: white;
	padding: 8px;
	line-height: 2.5em;
	text-align: center;
	float: left;
}

.list_details{
	line-height: 1.3em;
	font-size: 1.1em;
	height: 75px;
	width: 120px;
	border: 1px solid #aaa;
	padding: 8px;
	float: left;
	margin-right: 2px;
}
.printable-cta {
	text-align: center;
	cursor: pointer;
}
.printable-cta img{
	width: 50%;
	border-radius: 5px;
}

.bigchar{
	border-radius: 3px;
	height: 50px;
	width: 130px;
	border: 1px solid #aaa;
	font-size: 3em;
	background-color: white;
	padding: 9px;
	text-align: center;
	margin-bottom: 5px;
	line-height: 1em;
	display: inline-block;
}

.mobile-banner {
	width: 280px; 
	/*width:;*/
	right: 0px;
	top: -12px;
	position: absolute;
}

.character-nav {
	font-size: 0.8em;
}

.next-char {
	margin-left: 22px;
}

.alert{
	margin-bottom: 10px;
}

a{
	color: #b83746;
}
.btn{
	border: 1px solid #ccc;
}
.dashboard{
	height: 100%;
	
}
#favorites{
	width: 105%;
}
#history{
	width: 105%;
}
.smallest-font {
	font-size: 0.6em;
}
.smaller-font {
	font-size: 0.8em;
}
.favblock,
.wordblock{
	padding: 3px;
	width: 151px;
	float: left;
	margin: 2px;
	border: 1px solid #ccc;
}
.wordblock {
	position: relative;
}

.favblockdash{
	padding: 3px;
	width: 145px;
	float: left;
	margin: 2px;
	border: 1px solid #ccc;
}

.hidden {
	display: none;
}

#input{
	/*font-family: chinchar;*/
	height: 40px;
	font-size: 16pt;
	border: 1px solid #ccc;
	display: inline-block;
	border-radius: 5px;
	padding: 2px 10px;
	width: 270px;
}

#info{
	padding: 10px;
	border: 1px solid #ccc;
	background-color: white;
	font-size: 1.1em;
	margin-top: 10px;
	margin-bottom: 10px;
}

#donate {
	padding: 10px;
	border: 1px solid #b83746;
	background-color: white;
	font-size: 1.1em;
	margin-top: 10px;
	margin-bottom: 10px;
}

#characterDisplay{
	float: left;
	font-size: 35pt;
	line-height: 215px;
	padding-left: 50px;
}
#footer{
	color: #aaa;
	font-size: 0.8em;
	float: right;
}
li{
	font-size: 10pt;
}
.left{
	float: left;
}
.right{
	float:right;
}

.clear {
	clear: both;
}

.curve{
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
}

.description{
	background-color: white;
	font-size: 11pt;
	border: 1px solid #ccc;
	padding: 10px;
	width: 95%;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	margin-bottom: 10px;
}

.popup{
	display: none;
	position: absolute;
	background-color: white;
	color: #444;
	padding: 8px;
	border: 1px solid #b83746;
	box-shadow: 0 0.09em 0.05em #b83746;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
}

.popup-new{
	position: absolute;
	background-color: white;
	color: #444;
	padding: 8px;
	border: 1px solid #b83746;
	box-shadow: 0 0.09em 0.05em #b83746;
	border-radius: 5px;
	top: 30px;
	z-index: 10;
	width: 200%;
	word-wrap: break-word;
}

.mandarin{
	position: relative;
	float: right;
	margin-bottom: -45px;
	top: -30px;
}

.submit-btn {
	margin-left: 5px;
}

.metainfo li{
	list-style-type: square;
}

.justify {
	text-align: justify;
}

.btn.large-cta {
	height: 100px;
    width: 100%;
    font-size: 2em;
    background: #97d5fd;
    color: white;
    border-color: #47a6de;
    text-shadow: none;
}

.btn.large-cta.donate {
	height: 75px;
}
.btn.small-cta {
    background: #97d5fd;
    color: white;
    border-color: #47a6de;
    text-shadow: none;
    padding: 4px 25px;
}
.emoji-donate {
	font-size: 1.5em;
    position: relative;
    top: 4px;
}
.emoji-newsbite {
	font-size: 1.5em;
	line-height: 1em;
	position: relative;
    top: 3px;
}
#donate {
	text-align: center;
}
.dollar-donation {

}

.chinese-character-list {
	list-style-type: square;
}

.frequency-list .list {
	border: 1px solid #eee;
	width: 50px;
	text-align: center;
}

.frequency-list .list.list-component {
	width: 70px;
}

.frequency-list .list a {
	font-size: 1.2em;
}

.frequency-list .list span {
	display: block;
}

.input-char-form {
	margin: 0px;
}

.character-tabs ol {
	margin: 0px;
	list-style: none;
	margin-top: 16px;
}

.character-tabs ol li {
	border: 1px solid #ccc;
    width: 19px;
    font-size: 1.2em;
    padding: 16px 8px;
    border-radius: 3px 3px 0px 0px;
    position: relative;
    top: 4px;
    display: inline-block;
}

.top-anchor {
	position: relative;
    top: -40px;
    font-size: 0.7em;
}

.mobile-cta {
	border: 1px solid #c62742;
	border-radius: 3px;
	float: right;
	width: 300px;
}

@media(max-width: 1200px){
	.newsbite {
		float: left;
		margin-right: 5px;
		margin-left: 0px;
	}

	.headerclear {
		clear: both;
	}

	.title h1 {
		font-size: 2.5em;
	}
	
	#header {
		height: 85px;
	}
}
@media(max-width: 979px){
	.mandarin{
		float: left;
		position: initial;
		top: 0px;
		margin-bottom: 0;
	}

	.mobile-banner {
		position: relative;
		margin-bottom: 5px;
	}
}

@media(max-width: 767px){
	.mandarin{
		float: left;
		position: initial;
		top: 0px;
		margin-bottom: 0;
	}

	.mobile-banner {
		position: absolute;
		margin-bottom: 0px;
	}
}

@media(max-width: 710px){
	.mobile-banner {
		position: relative;
		margin-bottom: 5px;
	}
}


@media(max-width: 654px){
	.mandarin{
		float: left;
		position: initial;
		top: 0px;
		margin-bottom: 0;
	}
}

@media(max-width: 550px){
	#header {
		height: 120px;
	}
	.newsbite {
		display: block;
		width: 98%;
		text-align: center;
	}
	
}

@media (max-width: 480px){
	.title h1 {
		font-size: 1.2em;
		margin-bottom: -10px;
	}
	h1{
		font-size: 2em;
		margin-top: 0px;
		margin-bottom: -5px;
	}
	h3{
		font-size: 1.2em;
		margin: 0px;
		padding: 0px;
		line-height: 1.2em;
	}
	#header{
		height: 105px;
	}

	.newsbite {
	}

	.decomptitle{
		display: inline-block;
		border: 1px solid #ccc;
	}
	.decompbox{
		width: 60%;
		border: 1px solid #ccc;
	}
	.decomp{
		display: inline-block;
		font-size: 0.65em;
	}

	.links{
		margin-top: 10px;
		font-size: 1em;
	}
}

@media(max-width: 450px){ 
	.mobile-banner {
		width: 100%;
	}
}

@media(max-width: 330px) {
	#input {
		width: 65%;
	}
}