/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    background-color: #E2E2E2;
    font-size: 14px;
    line-height: 1.4;
}

a {
    color: #00e;
}

a:visited {
    color: #551a8b;
}

a:hover {
    color: #06e;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.c {
    clear: both;
}
#container {
    width: 100%;
    margin: auto;
}
#header-box {
    width: 1000px;
    margin:auto;
}

#header {
    z-index: 999;
    position: fixed;
    width: 100%;
    height: 40px;
    color: #C2C2C2;
    background-color: #363636;
    line-height: 40px;
    vertical-align: middle;
    display:inline-block;
}
#header a {
    color: #C2C2C2;
    text-decoration: none;
}
#header a:visited {
    color: #C2C2C2;
}

#header a:hover {
    color: #C2C2C2;
}

#header-logo {
    float: left;
    width: 300px;
}
#header-search {
    float: left;
    width: 500px;
    text-align: center;
    padding-top: 6px;
}
#header-info {
    float: right;
    width: 198px; /*should be 250px, but for compatibility of ie 6 */
    text-align:right;
    font-size: 10px;
}
#header-info img {
    margin-left:3px;
    margin-right:3px;
}
#search-box {
    float:left;
<!--[if IE]>
    width: 352px;
<![endif]-->
<!--[if !IE]>
    width: 350px;
<![endif]-->

    height: 28px;
    line-height: 28px;
    margin: auto;
    display: inline-block;
    background-color: #F5F5F5;
    vertical-align: middle;
}

#search-button {
    margin-left:10px;
    float: left;
    width: 40px;
    height: 28px;
    line-height: 28px;

    display: inline-block;
    vertical-align: middle;
    
}

#list-button {
    margin-left:10px;
    float: left;
    width: 40px;
    height: 28px;
    line-height: 28px;

    display: inline-block;
    vertical-align: middle;
    
}
.lang-box {
    float: left;
    display: inline;
    width:50px;
    height:28px;
    line-height: 28px;
    position:relative;
    z-index: 999;
}
/*
#lang-from-box {
    float: left;
    display: inline;
    width:35px;
    height:28px;
    position:relative;
    z-index: 999;
}
#lang-to-box {
    float: left;
    display: inline;
    width:35px;
    height:28px;
    position:relative;
    z-index: 999;
}
*/
.lang-box-hover {
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: 1000;
    display: block;
    width: 50px;
    height: 35px;
    background-color: #FCFCFC;
    border: 1px solid #C0C0C0;
    border-radius: 3px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.lang-current {
    
}

.lang-current img {
    *margin-top: 3px;
}


.lang-current-hover {
    cursor: hand; cursor: pointer;
}
#search-field {
    float: left;
}
#lang-to-box {
    float: left;
}

.lang-sub {
        display: none;
        position: absolute;
        top: 31px;
        left: -1px;
        z-index: 1008;
        width: 250px;
        background-color: #FCFCFC;
        border: 1px solid #C0C0C0;
        border-radius: 3px;
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}


.lang-sub .blank-bg{
        position: absolute;
        top: -1px;
        left: 0;
        z-index: 1010;
        width: 50px;
        height: 1px;
        background-color: #FCFCFC;
        overflow: hidden;
}

.lang-list {
        padding: 0;
        margin: 0;
        list-style: none;
        overflow: hidden;
}

.lang-list li{
        padding: 3px;
        border-right: 1px solid #E8E5EF;
        border-bottom: 1px solid #E8E5EF;
        margin: 0;
        height: 28px;
        line-height: 28px;
        color: #333333;
        width:118px;
        float: left;
        text-align: left;
        font-size: 14px;
}

#lang-auto-detect {
    text-align: center;
    width: 250px;
}

#lang-auto-detect span{
    display: block;
    height: 28px;
    width: 244px;
    
}

.lang-list li span {
    display: block;
    height: 28px;
    width: 118px;
}

.lang-list-hover {
    background-color: #dddddd;
    cursor: hand; cursor: pointer;
}

.lang-list li img {
    margin-left:5px;
    margin-right:5px;
}

#search-keyword {
    float: left;
    border: 0;
    _border-color: transparent;
    margin: auto;
    width: 200px;
    height: 25px;
    line-height: 25px;
    font-size: 16px;
    background: none;
    padding-left:5px;
    background-color: #F5F5F5;
}

#input-search-submit {
    float: left;
    border: 1px solid #dddddd;
    margin: auto;
    height: 28px;
}

#input-list-submit {
    float: left;
    border: 1px solid #dddddd;
    margin: auto;
    height: 28px;
}
#arrow-image {
    width: 23px;
    margin-left:27px;
}

#arrow-image div {
    *+margin-top: 8px;
    margin-left: 0px !important;
    margin-right: 0px !important;

}

#body {
    width: 1000px;
    top: 50px;
    position: relative;
    margin: auto;
}

.term-box {
    background-color: #F5F5F5;
    width: 980px;
    border: 1px solid #cccccc;
    padding: 10px;
    margin-bottom:20px;
}
.term-tool-box {
   width: 100%;
   text-align: right;
   font-size: 12px;
   height:18px;
}

* html .term-auto-height {
    height: expression( this.scrollHeight > 349 ? "350x" : "auto" ); /* sets max-height for IE */
}

.term-definition {
    
}

.term-auto-height {
    max-height: 350px; /* sets max-height value for standards-compliant browsers */
    overflow:auto;
}
.term-original-height {
    height: auto;
}

.term-name {
    font-size:20px;
}

.term-meta {
    font-size:11px;
    color: #bbbbbb;
}

#footer {
    width: 100%;
    text-align: center;
    font-size:12px;
    color:#555555;

}
.logo-image {
    margin-left: 10px;
}
.logo-text {
    font-size:16px;
}
.logo-sub-text {
    margin-left:10px;
    font-size:10px;
}
.footer {
}
#footer a {
    text-decoration: none;
    color: #777777;
}
#footer a:visited {
    color: #777777;
}
#footer a:hover {
    text-decoration: underline;
}

.index-body {
    background-color: #F5F5F5;
    width: 100%;
    border: 1px solid #cccccc;
    padding: 10px;
    margin-bottom:20px;
}
#expand-collapse {
    cursor: pointer;
}

.placeholder
{
    color: #aaaaaa;
    font-style: italic;
}

span#icon_clear{   
    display:none;
    font-family:verdana;
    cursor:pointer;
    color:#38468F;
    font-weight:bold;
    position:relative;
    height:20px;
    display:inline-block;
}
span#icon_clear:hover{
    color:#ccc;
}

#suggestions ul {
    list-style: none;
    width: 600px;
    
}

#suggestions li {
    float: left;
    width: 200px;
}


#suggestions span {
    font-weight: bold;
}

.index-list {
    list-style: none;
}

.sprite-bg {
        display: inline-block;
        margin-left:5px;
        margin-right:5px;
        vertical-align:middle;
        background: url(csg-50581ff71fc07.png) no-repeat top left;
}

.sprite-arrow{ background-position: 0 0; width: 23px; height: 8px; } 
.sprite-auto_detect{ background-position: 0 -58px; width: 22px; height: 22px; } 
.sprite-facebook{ background-position: 0 -130px; width: 16px; height: 16px; } 
.sprite-flag-ar{ background-position: 0 -196px; width: 22px; height: 15px; } 
.sprite-flag-cs{ background-position: 0 -261px; width: 22px; height: 22px; } 
.sprite-flag-de{ background-position: 0 -333px; width: 22px; height: 22px; } 
.sprite-flag-el{ background-position: 0 -405px; width: 22px; height: 22px; } 
.sprite-flag-en{ background-position: 0 -477px; width: 22px; height: 22px; } 
.sprite-flag-es{ background-position: 0 -549px; width: 22px; height: 22px; } 
.sprite-flag-fr{ background-position: 0 -621px; width: 22px; height: 22px; } 
.sprite-flag-he{ background-position: 0 -693px; width: 22px; height: 22px; } 
.sprite-flag-it{ background-position: 0 -765px; width: 22px; height: 22px; } 
.sprite-flag-ja{ background-position: 0 -837px; width: 22px; height: 22px; } 
.sprite-flag-ko{ background-position: 0 -909px; width: 22px; height: 22px; } 
.sprite-flag-nl{ background-position: 0 -981px; width: 22px; height: 22px; } 
.sprite-flag-no{ background-position: 0 -1053px; width: 22px; height: 22px; } 
.sprite-flag-pl{ background-position: 0 -1125px; width: 22px; height: 22px; } 
.sprite-flag-pt{ background-position: 0 -1197px; width: 22px; height: 22px; } 
.sprite-flag-ru{ background-position: 0 -1269px; width: 22px; height: 22px; } 
.sprite-flag-sv{ background-position: 0 -1341px; width: 22px; height: 22px; } 
.sprite-flag-tr{ background-position: 0 -1413px; width: 22px; height: 22px; } 
.sprite-flag-zh{ background-position: 0 -1485px; width: 22px; height: 22px; } 
.sprite-twitter{ background-position: 0 -1557px; width: 16px; height: 16px; } 
.sprite-weibo{ background-position: 0 -1623px; width: 16px; height: 16px; } 

*+html .lang-list li span div{
    display:inline;
}

*+html #header-info div{
    display:inline;
}

#browse {
    list-style: none;
    display: inline-block;
}

#browse li {
    width: 460px;
    float: left;
}
#browse li a {
    text-decoration: none;
    color: #222222;
}
#browse li a:hover {
    color: #0088CC;
}

#terms-list {
    list-style: none;
    display: inline-block;
}

#terms-list li {
    width: 310px;
    float: left;
}

#terms-list a {
    text-decoration: none;
    color: #222222;
}

#terms-list a:hover {
    text-decoration: underline;
}

.pager {
    list-style: none;
    display: inline-block;
}
.pager li {
    width: 920px;;
}

.pager li a {
    font-weight: bold;
    color: #0088CC;
}
/*
.term {
       _height:expression((document.documentElement.clientHeight||document.body.clientHeight) > 499 ? "500px":"auto !important"); 
       max-height: 500px; 
       overflow:auto;
    
}
*/

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.cf {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
