/* ============== [ MAIN ELEMENTS ] ============== */

body {
    background-color: white;
    min-width: 1024px;
}

a {
	color: #4f93e7;
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	color: #66a1ea;
	text-decoration: underline;
}

#container {
	width: 1024px;
	margin: 20px auto 0 auto;
    font-family:"Times New Roman",Georgia,Serif;
}

/* ============== [ PAGINATION ] ============== */

.pagination {
	display: inline;
	float: right;
	text-align: center;
}

.pagination a, strong {
	margin: 0 5px 0 5px;
	padding: 2px 5px 3px 5px;
}

.pagination strong {
	color: black;
}

/* ============== [ TOP PAGE ] ============== */

.top_table {
	font-family:"Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
	font-size:12px;
	text-align:left;
	border-collapse:collapse;
	margin:20px;
	background-color: transparent;
	margin-left: auto;
	margin-right: auto;
}

.top_table th {
	font-size:14px;
	font-weight:bold;
	color: #4f93e7;
    background: white;
    border: 3px solid #a5c9f5;
	padding:10px 8px;
}

.inside_thumbnail {
	width: 285px;
	height: 216px;
	color: black;
    background: url(../images/flashcard.png) no-repeat;
    padding: 23px 25px 0px 18px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
}

.inside_thumbnail h2 {
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    padding: 0 0 5px 0;
    letter-spacing: 2px;
}

.inside_thumbnail table {
    width: 300px;
    height: 160px;
}

.inside_thumbnail td {
    font-size: 14px;
    text-align: left;
    width: 150px;
}

.inside_thumbnail ul {
    margin: 0;
    padding: 0;
}

.inside_thumbnail ul li {
    font-size: 14px;
    list-style: none;
    margin: 12px 0px 0px 10px;
    padding: 0;
}

.kanji_details {
    width: 200px;
    height: 200px;
}

.kanji_details tr td {
    font-size: 14px;
}

#top_detail {
    display: none;
}

#top_translation {
    display: none;
}

#top_simple {
    border-collapse:collapse;
    margin-bottom: 50px;
}

#top_simple td {
    font-size:20px;
    height: 50px;
    width: 348px;
    /*border:2px solid #d1e3f9;*/
    border: 3px solid #a5c9f5;
    padding:3px 7px 2px 7px;
    text-align: center;
}

#top_simple tr.odd td {
    color:#000000;
    /*background-color: #4f93e7;*/
    background-color: #d1e3f9;
}

#top_simple .simple_rank {
    position: absolute;
    margin:0;
    padding:0;
    font-size: 14px;
}

#top_simple .simple_word {
    text-align: center;
    font-size: 20px;
    color: #0356bc;
}

#details {
    position: fixed;
    display: none;
    top: 8%;
    left: 20%;
    width: 500px;
    height: 600px;
    margin: 0 auto 0 auto;
    text-align: center;
    background: url(../images/detail-card.gif) no-repeat;
}

#details .word {
    position: absolute;
    display: block;
    width: 190px;
    height: 190px;
    font-size: 180px;
    text-align: center;
    margin: 15px 0 0 25px;
    border: 5px solid #cecece;
    color: #222222;
    background-color: white;
    padding: 0;
}

#details .close {
    position: absolute;
    display: block;
    width: 31px;
    height: 31px;
    margin: 8px 0 0 460px;
    background: url(../images/detail-card-close.png) no-repeat;
}

#details .close:hover {
    background-position: -31px 0;
}

#details #data_series1 {
    position: absolute;
    width: 250px;
    height: 200px;
    list-style: none;
    text-align: left;
    font-size: 24px;
    margin: 15px 0 0 235px;
    padding: 0;
}

#details #data_series2 {
    position: absolute;
    width: 450px;
    height: 135px;
    text-align: left;
    font-size: 18px;
    margin: 230px 0 0 35px;
    padding: 0;
}

#details #data_series2 th {
    height: 20px;
    text-align: center;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

#details #data_series2 tr {
    margin: 0;
    padding: 0;
}

#details #data_series2 td {
    margin: 0;
    padding: 0;
    width: 33%;
    color: #666666;
    text-align: center;
}

#details #ja_on {
    position: absolute;
    width: 225px;
    text-align: center;
    font-size: 16px;
    margin: 375px 0 0 35px;
    padding: 0;
    border-right: dotted 1px gray;
}

#details #ja_on th {
    height: 20px;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

#details #ja_on td {
    padding: 5px 10px 5px 10px;
}

#details #ja_kun {
    position: absolute;
    width: 225px;
    text-align: center;
    font-size: 16px;
    margin: 375px 0 0 260px;
    padding: 0 0 0 5px;
}

#details #ja_kun th {
    height: 20px;
    text-align: center;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

#details #ja_kun td {
    padding: 5px 10px 5px 10px;
}












/* ============== [ TWITTER BOT PAGE ] ============== */

.bot_cmd, .bot_cmd ul {
    list-style: none;
}

.bot_cmd {
    padding-left: 0;
}

.bot_cmd li {
    margin-top: 5px;
}

.bot_cmd .command {
    color: #4f93e7;
}

.bot_cmd h4 {
    margin-bottom: 0;
}

.bot_cmd td.key{
    width: 25%;
}

.bot_cmd .key {
    color: #ff4646;
}

.bot_cmd table {
    width: 600px;
    margin-left: 30px;
}

/* ============== [ GENERIC PAGE ] ============== */

#page {
    width: 800px;
    margin: 0 auto 0 auto;
    background-color: white;
    padding: 20px 40px 40px 40px;
}

#page .head {
    display: block;
    text-align: center;
}

#page .head img {
    border: none;
}

#page .head img:hover {
    border: none;
}

#page a {
    font-weight: bold;
    font-size: 22px;
    border: none;
}

#page a img {
    border: 2px solid white;
}

#page a img:hover {
    border: 2px solid #d2e4f9;
}

/* ============== [ COMPARE PAGE ] ============== */

#compare {
    width: 600px;
    margin: 0 auto 0 auto;
}

#compare_submit {
	width: 450px;
    height: 200px;
    margin: 50px auto 75px auto;
}

#compare_submit h2 {
    margin-bottom: 25px;
}

#compare_submit label {
    margin-bottom: 55px;
}

#compare_results {
    margin: 15px auto 75px auto;
}

#compare_results p {
    margin-bottom: 25px;
}

.winner {
    height: 90px;
    width: 526px;
    font-size: 25px;
    padding-top: 15px;
    text-align: center;
    background: url(../images/compare-winner.png) no-repeat;
    margin: 0 auto 0 auto;
}

.tie {
    height: 84px;
    width: 491px;
    font-size: 22px;
    padding-top: 15px;
    text-align: center;
    background: url(../images/compare-tie.png) no-repeat;
    margin: 0 auto 0 auto;
}

.loser {
    height: 60px;
    width: 351px;
    font-size: 14px;
    padding-top: 10px;
    text-align: center;
    background: url(../images/compare-loser.png) no-repeat;
    margin: 0 auto 0 auto;
}

.customTxtField {
	width:387px;
	height: 30px;
	border: none;
	color: #000000;
    font-size: 18px;
    padding: 9px 20px 0 10px;
    background: url(../images/customTxtField.png) no-repeat;
}

.customBtn {
    width: 133px;
	height: 39px;
    border: none;
    background: none;
    font-size: 20px;
    color: white;
    text-align: center;
    background: url(../images/customBtn.png) no-repeat;
    cursor: pointer;
    margin: 0 auto 0 auto;
}

.customBtn:hover {
    color: #66a1ea;
}

/* ============== [ ABOUT PAGE ] ============== */

.question {
    display: block;
    width: 416px;
    height: 40px;
    background: url(../images/question.png) no-repeat;
    font-size: 18px;
    color: black;
    text-align: center;
    margin: 10px auto 5px auto;
    padding: 13px 0 0 0;
}

.question p {
    width: 416px;
    height: 53px;
    padding-top: 17px;
}

.answer_wrap {
    display: none;
}

.answer {
    display: block;
    width: 830px;
    background: url(../images/answer-middle.png) repeat-y;
    color: black;
    font-size: 22px;
}

.answer p {
    width: 790px;
    padding: 0px 0px 0px 25px;
    vertical-align: middle;
    margin: 0px;
    line-height: 170%;
}

.answer-top {
    width: 830px;
    height: 23px;
    display: block;
    background: url(../images/answer-top.png) no-repeat;
    margin: 15px 0 0 0;
}

.answer-bottom {
    width: 830px;
    height: 23px;
    display: block;
    background: url(../images/answer-bottom.png) no-repeat;
    margin: 0 0 15px 0;
}

/* ============== [ WELCOME PAGE ] ============== */

#welcome_banner {
    width: 600px;
    margin: 0 auto 0 auto;
    text-align: center;
    font-size: 20px;
}

#searchHolder {
	width: 593px;
	height: 61px;
	background: url(../images/langfreq-searchbg.png) no-repeat;
    margin: 0 auto 0 auto;
}

#welcome_banner .search {
	width:400px;
	height: 61px;
	background: none;
	border: none;
	color: #000000;
    font-size: 30px;
    padding-left: 0px;
}

#welcome_banner .searchBtn {
    width: 161px;
	height: 61px;
    border: none;
    background: none;
    font-size: 30px;
    color: white;
    padding-left: 30px;
    cursor: pointer;
}

#welcome_banner .searchBtn:hover {
    color: #66a1ea;
}

/* ============== [ FOOTER ] ============== */

#footer {
    position: fixed;
    width: 100%;
    height: 25px;
    bottom: 0px;
    background-color: black;
    color: white;
    text-align: center;
    padding-top: 5px;
    border-top: 2px solid #66a1ea;
}

/* ============== [ MISC ] ============== */

.aligncenter {
    margin: 0 auto 0 auto;
    text-align: center;
}

.translated {
    margin-left: 10px;
}

#ajax_loader {
	display: none;
	margin: 15px auto 5px auto;
}

#beta {
    z-index:+1;
    position: absolute;
    top: 0;
    right: 0;
}

#howtouse {
    font-size: 14px;
    text-align: center;
    background-color: #d1e3f9;
    border: 3px solid #a5c9f5;
    margin: 20px auto 0px auto;
    padding: 5px;
}

#credit {
    font-size: 14px;
    text-align: center;
    background-color: #d1e3f9;
    border: 3px solid #a5c9f5;
    margin: 0 auto 50px auto;
    padding: 5px;
}

#search {
    height: 200px;
    margin: 50px auto 75px auto;
    text-align: center;
}

#translation {
	color: black;
}

body div.qtip div.content{
   padding: 0;
   margin: 0;
   height: auto; min-height: auto;
   width: auto; min-width: auto;
}
