/* CSS Document */

*{outline: none !important;}
input::-moz-focus-inner { border: 0 !important; }

html, body {
  padding: 0;
  margin: 0;
}

body {
  display: block;
  width: 100%;
  background: #fff;
  font-family: verdana;
  background: #007FC0 url(images/bigger-background.png) -120px 0 repeat-x;
}

body.white {
  background: white !important;
}

.deleteme {
  display: none;
}

/* Home panel */

#home {
  position: relative;
  padding-bottom: 20px;
  min-width: 100%;
}

#logo {
  display: block;
  width: 100px;
  height: 100px;
  display: block;
  margin: 0 auto;
}

#logo img {
  margin-top: 15px;
  margin-left: -2px;
}

#search {
  display: block;
  border-radius: 8px;
  margin: 20px auto 0 auto;
  padding: 5px;
  border:none;
  width: 118px;
  height: 14px;
  background: url(images/search.png);
  font-style: italic;
  font-size: 12px;
}

#bigsubmit {
  display: block;
  width: 51px;
  height: 51px;
  margin: 15px auto 0px auto;
  padding: 0;
  background: url(images/big-go.png);
  border: none;
}

#bigsubmit:hover {
  background-position: 0 -54px;
}

#bigsubmit:active {
  background-position: 0 0;
}

/* Menu buttons */

.menu {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
}

.menu:hover, #reload:hover {
  opacity: 0.5 !important;
}

.favourites_button {
  background: url(images/star.png) no-repeat;
  position: absolute;
  top: 9px;
  left: 10px;
}

.close_button {
  background: url(images/close.png) no-repeat;
  position: absolute;
  top: 10px;
  right: 5px;
}

.save_button {
  background: url(images/save.png) no-repeat;
  margin-left: 5px;
  opacity: 1;
}


/* Loading box */

.loading {
  text-align: center;
  display: block;
  margin: 0 auto;
  font-size: 12px;
  color: #666;
  font-style: italic;
  padding: 10px;
  background: white;
}

/* Nav bar */

#navigation {
  background: #005b8a;
  height: 26px;
}

#navigation .menu {
  display: block;
  position: relative;
  width: 20px;
  height: 20px;
  left: auto;
  top: 6px;
  float: left !important;
}

#navigation .home_button {
  left: 5px;
  margin-right: 10px;
  background: url(images/nav-search.png) no-repeat;
}

#navigation .close_button {
  right: 0px !important;
  position: absolute !important;
}

#searchbar {
  background: #008bd2;
  border-top: 1px solid #52b0df;
  padding: 8px 10px;
  font-size: 13px;
  color: #9bcfe9;
  position: relative;
}

/* This shows the query */

#searchbar span {
  color: #fff;
}

#searchbar #reload {
  display: block;
  position: absolute;
  top: 8px;
  right: 0px;
  height: 20px;
  width: 20px;
  float: right;
  background: url(images/refresh.png) no-repeat;
}

/* List of tweets */

ul.tweet_list {
  font-family: helvetica;
  color: #333;
  margin: 0;
  padding: 0;
  list-style-type: none;
  background: white;
  position: relative;
}

.tweet_list li {
  padding: 5px 0;
  font-size: 12px;
  display: block;
  float: left;
  width: 100%;
  background: white url(images/tweet_background.png) repeat-x;
  border-top: 1px solid #fff;
  position: relative;
}

.tweet_list li.tweet_first {
  border-top: none;
}

.tweet_list li img {
  position: absolute;
  top: 8px;
  left: 8px;
}

.tweet_text, a.favourite {
  font-size: 12px;
  line-height: 1.5;
  float: left;
  display: block;
  margin: 0;
}

.tweet_text {
  width: 75%;
  padding: 0 0 0 47px;
}

a.favourite {
  width: 60%;
  padding: 5px 0 5px 10px; 
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.tweet_text a, .highlight {
  color: #008bcc;
  text-decoration: none;
}

.tweet_list li a:hover, .tweet_list li .tweet_text a:hover * {
  color: #000 !important;
}

.highlight {
  font-weight: bold;
}

.username {
  font-weight: bold;
}

.time {
  position: absolute;
  width: auto;
  top: 9px;
  right: 8px;
  color: #5aaed5;
  text-decoration: none;
  font-size: 10px;
}

.delete {
  position: absolute;
  right: 5px;
  top: 8px;
  height: 25px;
  width: 25px;
  display: block;
  background: url(images/delete.gif) no-repeat 5px 5px;
}

.favourite_li:hover {
  background: url(images/favourite_background_hover.png) !important;
}

/* Search again form */

#logo-small, #small-search {
  display: block;
  float: left;
  clear: both;
}

#search_again {
  background: url(images/search-again-background.png);
  height: 114px;
  padding-left: 10px;
}

#search_again img {
  margin: 0;
}

#search_again form {
  float: left;
  margin: 0;
}

#research {
  border-radius: 8px;
  width: 100px;
  border:none;
  width: 118px;
  height: 14px;
  background: url(images/search.png);
  padding: 5px;
  float: left;
  font-style: italic;
  font-size: 12px;
}

#smallsubmit {
  padding: 0 8px;
  margin-left: 5px;
  width: 35px;
  height: 35px;
  float: left;
  display: block;
  margin-top: -4px;
  border: none;
  background: url(images/small-go.png) no-repeat;
}

#smallsubmit:hover {
  background: url(images/small-go-hover.png) no-repeat;
}


/* Docked version of app */
body.small {
  background: #00689e;
}
#dock
{
    background: red url(icon_48.png) center left no-repeat;
    padding-left:48px;
    line-height:48px;
    white-space:pre-line;
    display: block;
}
@media all and ( min-height:64px )
{
    #dock
    {
        background:url(icon_64.png) center left no-repeat;
        padding-left:68px;
        height:64px;
        margin: 0;
    }
}