/* @group Clearfix */
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}
/* @end */

/* @group Selectors */
body {
    margin: 0;
    color: #333333;
}

.container {
    background-color: #fff;
}

img, hr {
    margin: 0;
}

p {
    margin: 0 0 10px 0;
}

em {
    font-weight: bold;
}

textarea.text {
    font-family: arial,helvetica,clean,sans-serif;
}

textarea.text,
input.text { 
	margin:0.5em 0.5em 0.5em 0;
	border:1px solid #bbb;
	background:#f6f6f6;
	padding:5px;
}

textarea.text:focus,
input.text:focus { 
	border:1px solid #999; 
}

/* @end */

/* @group Overlay */

#overlay { 
    background-image: url(/images/overlay.png);
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 9000;
    width: 100%;
    height: 100%;
}

* html #overlay {
    background-color: #333;
    background-color: transparent;
    background-image: url(/images/clear.gif);
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
        src="/images/overlay.png", sizingMethod="scale");
}

#overlay-box {
    background: #fff;
    padding: 25px;
    border: 2px solid #eee;
}

#overlay-close {
	position: absolute;
	top:  0;
	right:  0;
    float: right;
    cursor: pointer;
}


/* @end */

/* @group Header */

#head {
    position: relative;
    height: 110px;
    background-color: #fff;
}

#logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 460px;
    height: 110px;
}

/* @group Menu */

#menu {
    font-size: 85%;
    position: absolute;
    clear: both;
    margin: 0;
    padding: 0;
    list-style: none;
    bottom: 0;
    left: 10px;
    background: url(/images/menu-background.png) repeat-x bottom;
}

#menu li {
    float: left;
    margin: 0 10px 0 0;
    padding:0 0 0 8px;
}

#menu li.last {
    margin-right: 0px;
}

#menu li a {
    float:left;
    display:block;
    padding:5px 15px 4px 7px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}
/* @end */

/* @group Search Box */
#search-and-signup {
    position: absolute;
    top: 0;
    right: 0;
    width: 440px;
    background-color: #faeedf;
    padding: 5px;
    font-size: 11px;
    color: #a1a1a1;
}

div > div#search-and-signup {
    width: auto;
    min-width: 10px;
}

#search-and-signup form {
    border-top: #a1a1a1 solid 1px;
    margin: 0;
    margin-top: 4px;
    padding: 0;
    padding-top: 4px;
}

#search-and-signup form label {
    color: #033a4c;
}

#search-and-signup form label em {
    text-transform: uppercase;
    font-weight: bold;
}

#search-and-signup form input.text,
#login-box form input.text  {
    height: 13px;
    margin: 0;
    padding: 0;
    font-size: 108%;
    padding: 2px;
}

#search-and-signup form input.button-image,
#login-box form input.button-image {
    vertical-align: top;
    margin-left: 2px;
}

#search-and-signup a { color: #a1a1a1; }
#search-and-signup a:link    { text-decoration: none; }
#search-and-signup a:visited { text-decoration: none; }
#search-and-signup a:hover   { text-decoration: underline; }
/* @end */

#add-a-tip-button {
    position: absolute;
    bottom: 0;
    right: 0;
    margin-right: 10px;
    margin-bottom: 3px;
}
/* @end */

/* @group Footer */
#footer {
    font-size: 85%;
    color: #666;
    position: relative;
    height: 50px;
    margin: 20px 0 20px 0;
}

#footer div.branding {
    position: absolute;
    top: 0;
    right: 0;
}

#footer div.branding img {
    margin-left: 5px;
}

#footer a { color: #666; }
#footer a:link    { text-decoration: none; }
#footer a:visited { text-decoration: none; }
#footer a:hover   { text-decoration: underline; }
/* @end */

/* @group Classes */

.breadcrumb {
	padding-top: 5px;
	padding-bottom:  5px;
	border-bottom: 1px solid #a0a0a0;
	font-size:  93%;
	margin-bottom:  5px;
}

.trail-end {
	font-weight: bold;
}

div.header,
#twitter_div h2 {
	position: relative;
	padding: 5px;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
}

div.span-9 div.header {
	padding-left: 5px;
	padding-right: 5px;
}

div.header h2,
#twitter_div h2 {
    font-weight: bold;
    color: #000;
}

div.header div.helpful-links {
    position: absolute;
    right: 5px;
    top: 5px;
}

div.header a.syndication {
	position: absolute;
	top: 5px;
	right: 15px;
}

/* @group Pagination */

.pagination {
	margin:  10px auto 10px auto;
	text-align: center;
}

.pagination a,
.pagination .disabled {
	border: 1px solid #999;
	padding: 2px 6px;
}

.pagination .current {
	border: 2px solid #999;
	padding: 2px 6px;
}

/* @end */

/* Legacy stuff - can be nuked once entire new layout is done */
.pager_wrap {
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
}
.pager {
	margin-left: auto;
	margin-right: auto;
}

.pager .prev_page {
	margin-left: 3px;
	margin-right: 3px;
	border: 1px solid #999;
}

.pager .current_page,
.pager .other_page,
.pager .prev_page,
.pager .next_page {
	padding: 2px 6px;
	margin-left: 3px;
	margin-right: 3px;
	border: 1px solid #999;
}

.pager .current_page {
	border: 2px solid #999;
}

.pager a {
	text-decoration: underline;
}

.tab {
	background-color:#989898;
	color:#FFFFFF;
	float:left;
	font-size:92%;
	font-weight:bold;
	height:22px;
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin-right:5px;
	min-width:50px;
	padding:7px 10px 0pt;
	text-align:center;
}

#countries, #cities, #cloud {
	border-top: 1px solid #999999;
	border-bottom: 1px solid #999999;
	padding-top: 5px;
	padding-bottom: 5px;
	clear: both;
	margin: 0pt 0pt 10px 0px;
	text-align: justify;
}

.country_list, .city_list {
	font-size:122%;
}

.country_list ul, .city_list ul {
	list-style-image:none;
	list-style-position:inside;
	list-style-type:none;
	margin:0pt;
}

/* end of legacy stuff */

/* @group Helpful Links */

.helpful-links {
    color: #0e219a;
}

.helpful-links a:link    { text-decoration: none; }
.helpful-links a:visited { text-decoration: none; }
.helpful-links a:hover   { text-decoration: underline; }

/* @end */

/* @group Second Level Nav */

.second-level-nav {
    position: relative;
    font-size: 93%;
}

.second-level-nav em {
    font-weight: bold;
    text-decoration: underline;
}

.second-level-nav em.highlight {
    text-decoration: none;
}

.second-level-nav img.align-gif {
    vertical-align: middle;
}
.second-level-nav img.button-image {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 10px;
}

/* @end */

.message-flash {
    background-color: #fafaa7;
}

.message {
	margin: 10px;
	padding:  5px;
	border: 1px dotted #919191;
}

.message ul {
	list-style-type: square;
	top: 47px;
	margin-left: 25px;
}

/* @end */

/* @group Ads */
div.skyscraper {
  margin-top: 10px;
  margin-bottom: 10px;
  width: 180px;
  border-bottom: 1px solid #999;
  font-size: 85%;
}

div.singlead {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 180px;
    font-size: 85%;
}

div.textad {
  padding: 8px 3px;
}

div.skyscraper div.textad {
  border-top: 1px solid #999;
}

div.singlead div.textad {
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
}

div.textad p {
  margin: 0;
}

div.textad h5 {
  color: #999;
  font-size: 77%;
}

div.textad h3 {
  font-weight: bold;
}
/* @end */

/* @group Submenu */

#submenu {
	clear:both;
	height:18px;
	margin:0pt;
	padding:3px 0pt;
	width:100%;
}

#submenu li {
	float:left;
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	padding-left:15px;
	padding-right:20px;
	margin-top: 3px;
}



/* @end */

#tweets {
  margin-bottom: 10px;
}

#tweets h3 {
  border: 1px solid #999;
  background-color: #DDD;
  text-align: center;
  font-weight: bold;
  padding: 3px;
}

#tweets ul {
  height: 250px;
  overflow-y: scroll;
  overflow-x: hidden;
  border-left: 1px solid #999;
  border-right: 1px solid #999;
}

#tweets ul li img {
  float: left;
  margin-right: 3px;
  margin-top: 3px;
}

#tweets ul li {
  font-size: 85%;
  padding: 3px;
  border-bottom: 1px dotted #999;
}

#tweets ul li p {
  margin: 0 0 0 29px;
  line-height: 1.4em;
}

#tweets div.radius {
  position: relative;
  border: 1px solid #999;
  background-color: #DDD;
  text-align: center;
  padding: 3px;
}

#tweets div.radius form label {
  font-weight: bold;
}

#twitter-progress {
  position: absolute;
  right: 4px;
  top: 5px;
}

#weather {
  margin-bottom: 10px;
  cursor: pointer;
}

#weather div.weather-footer {
  border: 1px solid #999;
  background-color: #DDD;
  padding: 3px;
}

#weather h3 {
  border: 1px solid #999;
  background-color: #DDD;
  text-align: center;
  font-weight: bold;
  padding: 3px;
}

#weather-progress {
  position: absolute;
  right: 4px;
  top: 5px;
}

#weather div.current-conditions {
  padding: 5px;
  border-right: 1px solid #999;
  border-left: 1px solid #999;
}

#weather div.current-conditions img {
  float: left;
}

#weather div.current-conditions p {
  margin-left: 60px;
  margin-top: 0px;
  margin-bottom: 0px;
  text-align: center;
}

#weather span.temperature {
  font-weight: bold;
  font-size: 138.5%;
}

ul#twitter_update_list li {
  padding: 5px 0 5px 0;
  border-bottom: 1px dotted #999;
}

ul#twitter_update_list li span {
  font-size: 85%;
}

a#twitter-link {
  padding: 3px;
  background-color: #92E5E8;
}