body
{
    padding: 0;
    margin: 0;
    font-family: sans-serif;
    color: #35332e;
    background-repeat: repeat-x;
    background-position: center top;
}

* html body { height: 100%; }
a, a:link { color: #5C8EA9; }
a:visited { color: #326B8A; }
a:hover { color: #083852; }

#company-links, #also-see
{
    position: absolute;
    top: 0;
    margin: 0 0.4em;
    font-size: 12px;
    line-height: 25px;
}

#company-links a, #also-see a
{
    margin: 0 0.4em;
    font-size: 12px;
}
#company-links a .no-underline {
  text-decoration: none;
}
#company-links a.composite {
    text-decoration: none;
}
#company-links a .underline {
    text-decoration: underline;
}

#company-links a:visited, #also-see a:visited
{
    color: #5C8EA9;
}

#company-links { left: 5px; }
#also-see { right: 5px; }

#footer
{
    position: static;
    margin: 0 0 25px 25px;
    font-size: 11px;
    line-height: 26px;
}

#footer a, #footer a:link, #footer a:visited { color: #35332e; }

#footer strong
{
    background: #fff04d;
    text-decoration: underline;
    font-weight:normal;
    padding: 5px 0 3px 0;
}

h1#logo { margin: 0; }
h1#logo span { display: none; }

#image_form { display: none; }
#logo { }

#logo a
{
    position: absolute;
    top: 60px;
    width: 201px;
    height: 54px;
    margin-right: 25px;
    background-image: url(../images/tineye_logo.gif);
    background-repeat: no-repeat;
    background-position: right center;
    display: block;
    left: 25px;
}

#logo span { display: none; }

/* Table styling */
tr.head
{
    font-size: 14px;
    background: #D3D3D3;
}

tr.odd { background: #F2F2F2; }
tr.even { background: #DDE9F2; }

table.general_form
{
    font-size: 12px;
    margin-top: 0px;
    margin-bottom: 10px;
}

table.general_form td, table.general_form th
{
    padding: 8px;
    font-weight: normal;
}

* html .submit /* IE6 fix */
{
    height: 22px !important;
    line-height: 15px;
    padding-top: 1px;
}

.form_container
{
    margin: 0;
    line-height: 150%;
}
#buttons 
{
    width: 160px; 
    height: 200px; 
    right: 50px;
    top: 50px;
    position: absolute;
}
#commercial-api 
{
    margin-bottom: 10px;
    text-decoration: none;
    background-image: url(/images/commercial_api.gif);
    background-repeat: no-repeat;
}
#commercial-api:hover
{
    background-image: url(/images/commercial_api_hover.gif);
    background-repeat: no-repeat;
}
#social
{
    width: 160px;
    height: 66px;
}
#social img
{
    border: 0;
    margin: 0 10px 10px 0;
}
#install-plugin 
{
    background-image: url(/images/plugin.gif);
    background-repeat: no-repeat;
}
#install-plugin:hover
{
    background-image: url(/images/plugin_hover.gif);
    background-repeat: no-repeat;
}
#commercial-api,
#install-plugin 
{
    clear: both;
    height: 68px;
    width: 160px;
    display: block;
}
#commercial_api img,
#install-plugin img 
{
    border: none;
}
.messages { margin: 0 50px 0 50px; }

.messages h2
{
    font-weight: normal;
    font-size: 1em;
    padding: 5px 0 3px;
    margin: 0 0 1em 0;
}

.messages ul
{
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 2em;
}

.messages li
{
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.messages h2 span { padding: 5px 4px 3px 4px; }

.messages .error h2 span
{
    color: #888029;
    background: #fff04d;
    line-height: 20px;
}

.messages .info h2 span
{
    color: #3d993d;
    background: #c5fe81;
}

.hint
{
    border-bottom: 1px dotted #666;
}

#has_credit { background-color: #fff04d; padding: 2px 1px 1px 2px; }

a.feed { text-decoration: none; }
a.feed img { border: 0; }

#dialog_button_yes
{
    color: #333;
    text-decoration: none;
    margin: 3px;
    padding: 3px;
    background-color: #ADF;
    cursor: pointer;
    border: 2px outset #332;
    float: right;
    width: 50px;
    text-align: center;
}

#dialog_button_yes:active
{
    color: #333;
    border: 2px inset #332;
}

#dialog_button_no
{
    color: #000;
    text-decoration: none;
    margin: 3px;
    padding: 3px;
    background-color: #ddd;
    cursor: pointer;
    border: 2px outset #332;
    float: right;
    width: 50px;
    text-align: center;
}

#dialog_button_nol:active
{
    color: #000;
    border: 2px inset #332;
}

.dialog ul 
{
    list-style-type: none;
    text-indent: 0px;
    padding: 0px;
}

.dialog li
{
    padding-bottom: 5px;
    font-size: 12px;
    color: #333;
}

.dialog h1 {
    font-size: 18px;
    padding: 0px;
    margin: 0px;
    border-bottom: 1px solid #ddd;
    display: block;
    height: 22px;
}

#twitter_link {
    color: #6B9EBD !important;
}

/* To center ads */
#google_ads_div_index_page,
#google_ads_div_search_page_footer {
    text-align: center;
    padding: 20px 0 30px 0;
}