/*

Lee Chenhwa <leechenhwa@aim.com>

Copyright 2015. All Rights Reserved.

$Id$

*/
html,body{width: 100%; height: 100%;}
/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    padding-bottom: 24px;
}

#footer{
    position: fixed;
    bottom: 0px;
    height: 24px;
    width:100%;
    background-color: #f5f5f5;
    padding-top: 5px;
}

#content{
    height: calc(100% - 80px);
}
.result{
    height: 100%;
    position: relative;
}

.jumbotron{
    text-align: center;
}

.jumbotron.search{
    padding-top: 1em;
    padding-bottom: 10px;
}

.jumbotron.slogan{
    position: fixed;
    left:0; right: 0; bottom: 0;
    padding-top: 15rem;
    padding-bottom: 10rem;
    z-index: 9999;
}

.search form{
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

/* search */
#resultIndex .item{
    display: inline-block;
    height: 48px; width: 48px;
    font-size: 36px;    
    cursor: pointer;
    
    border: 1px dotted pink;
    vertical-align: central;
    text-align: center;
    
    margin-right: 2px;
    margin-bottom: 2px;
}

#resultIndex .index{
    display: inline-block;
    height: 48px; width: 48px;
    font-size: 24px;
    vertical-align: central;
    text-align: center;
    
    font-weight: bold;
    color: #2D6CA2;
}

#resultIndex .index.bushouyubi,
#resultIndex .index.sijiaofuma{
    font-size: 20px;
    font-style: italic;
    font-weight: normal;
}

#resultIndex .index.sijiao{
    font-size: 20px;
}
#resultIndex .index.sijiaofuma{
    text-align: right;
}

#resultIndex .item:hover{
    text-shadow: 0 1px 0 #003d4c;
}

div#resultIndex{
    border-right: 2px solid #ccc;
}

#dictlist{
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}
.dict{
    display: inline-block;
    width: 180px;
    height: 240px;
    border: 1px solid #ccc;
    box-shadow: 1px 2px 0px #2D6CA2;
    margin: 5px;
    padding: 5px;
    border-radius: 0px 10px 10px 0px;
    position: relative;
    float: left;
}

.dict .metainfo{    
    position: absolute;
    left: 5px;
    bottom: 0px;
}

.dict .tools{    
    position: absolute;
    right: 5px;
    bottom: 0px;
}

.dict .tools a{
    color: gray;
}

.dict .tools a.active{
    color: #428BCA;
    font-size: 36px;
}

#resultIndex{
    max-height: calc(100% - 90px);
    overflow-y: auto;
}

.resultDetail .item{
    display: inline-block;
    height: 48px; width: 48px;
    font-size: 36px;
    text-shadow: 0 1px 0 #003d4c;
}

.resultDetail .pinyin{
    display: inline-block;
    height: 48px; width: 48px;
    font-size: 24px;
    vertical-align: central;
    text-align: center;
    
    font-weight: bold;
    color: #2D6CA2;
}

.resultDetail .metainfo{
    font-weight: bold;
    color: #2D6CA2;
}

#yinjie, #bushoulist{
    min-height: 1em; 
    position: relative;
    width: 600px;
    left: -150px;
}
span.yinjie{
    padding: 5px;
}

.yinjie a{
    cursor: pointer;
}

.bushou{
    font-family: "思源黑体","Yu Mincho","Noto Sans CJK SC",Arial,sans-serif;
}

#bushoulist a{
    cursor: pointer;
}

#bushouhover{
    max-width: 100px;
    max-height: 100px;     
    font-size: 96px;
    position: absolute;
    float: left;
    z-index: 1000;
}

.dictionary_reference{
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px dotted #ccc;
}

.missing{
    color:red;
}

@media (min-width: 768px){
    
}