@import url(base.css);

/* Screen-only CSS
 ***************************************************************************/

li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input {
	margin:0;
	padding:0;
}

body {
	text-align: center;
}

#wrapper {
	position:relative;
	text-align:left;
	width:780px;
	margin:auto;
}

.leftcol {
	width:452px;
	float:left;
}

.rightcol {
	width:300px;
	float:right;
	position:relative;
	right:12px;
	overflow: hidden;
}

.footerLinks {
	clear:both;
	padding-top: 10px;
}

/* "You are signed in as..." */

.signed-in-header{
	background: url(i/signin.gif) 0px 1px no-repeat;
	padding-left: 21px;
	margin-top: 0.85em;
}

.signed-in-as{
	margin-bottom: 0.25em;
}

.user-actions li{
	margin-right: 0.25em;
	padding-right: 6px;
	background-color: #e5f0ff;
	background-image: url(i/user-action.gif);
	background-position: center right;
	background-repeat: no-repeat;
}

.user-actions li a{
	text-decoration: none;
	padding-left: 0.2em;
	padding-right: 0.2em;
}

/* Tips */

.tip {
	position: relative;
}

.tip:after {
	content: ".";
	display: block;
	clear: both;
	height: 1px;
	visibility: hidden;
}

* html .tip {
	height: 1%;
}

.tags {
	padding:8px 1px 0 0;
}

.tags a {
	padding:8px 0 0;
}

/* Tip ratings */

.rating_percentage, .rating_people {
	float:left;
	margin:12px 2px 0 0;
}

.percentage, .number_people {
	width:33px;
	height:15px;
	font-weight:bold;
	text-align:center;
	padding:0 2px;
}

.percentage {
	background:#DB0202;
	color:#fff;
}

.perc_80_100 {
	background:#CA0202;
}

.perc_60_80 {
	background:#E44141;
}

.perc_40_60 {
	background:#E96767;
}

.perc_20_40 {
	background:#EF8D8D;
}

.perc_0_20 {
	background:#F4B3B3;
}

.agreed, .people {
	font-size:0.8em;
	text-align:center;
}

.agreed {
	color:#DB0202;
}

.people {
	color:#666;
}

.tip_msg {
	width:340px;
	height:15px;
	float:left;
	margin:10px 0 0;
	padding:0 0 0 20px;
}

.number_people {
	background:#D3D3D3;
	color:#666;
}

.agree_disagree {
	width:340px;
	float: left;
	font-size:0.8em;
}

.agree_disagree a {
	padding-left:20px;
}

.tip ol.user_actions {
	clear: both;
	padding-top: 7px;
	color: #666;
}

.tip ol.user_actions img {
	vertical-align: middle;
}

/* Tip comment form */

.comment_form {
	width:450px;
	clear:left;
	float:left;
	margin-top:1em;
	border-top:1px solid #888;
	margin-left:-2px;
	padding-left:2px;
}

/* Guide controls */

.add-to-guide,
.remove-from-guide,
.delete-guide {
	font-size: 0.85em;
	background-color: #DEEFF7;
}

.add-to-guide a,
.remove-from-guide a,
.delete-guide a {
	text-decoration: none;
}

.add-to-guide-link,
.add-to-new-guide,
.remove-from-guide-link,
.delete-guide {
	font-weight: bold;
}

.add-to-guide-link,
.remove-from-guide-link,
.delete-guide a {
	background-position: top left;
	background-repeat: no-repeat;
	padding-left: 18px;
	padding-right: 4px;

	display: block;
	min-height: 14px;
}

* html .add-to-guide-link,
* html .remove-from-guide-link,
* html .delete-guide a {
	/* Hello, IE 6 and below! */
	display: inline;
	height: 14px;
}

.add-to-guide, .remove-from-guide {
	position: absolute;
	top: 0px;
	right: 0px;
}

.add-to-guide-link {
	background-image: url(i/add-to-guide.gif);
}

.add-to-guide ul {
	display: block;
	margin-top: 2px;
	padding: 0px 4px;
}

.add-to-guide li {
	display: block;
	border-top: 1px solid white;
}

.add-to-guide ul a {
	display: block;
	margin: 0px -4px;
	padding: 2px 6px;
}

/*.add-to-guide ul a:hover {
	background: #f6faff;
}*/

.add-to-guide ul a:hover {
	background: #2b84b0;
	color: #DEEFF7;
}

.delete-guide {
	margin-left: 2em;
}

.delete-guide a, .remove-from-guide a {
	background-image: url(i/remove-from-guide.gif);
}

.guide-error {
	background-color: #fdd;
}

.guide-error a {
	color: #c00;
	background-image: none;
	padding-left: 4px;
}

.guide-edit-link {
	background: url(i/arrow.gif) no-repeat;
	margin: 1em auto 2em auto;
	padding-left: 20px;
	font-weight: bold;
	min-height: 20px;
}

#guide-form label,
#guide-form input {
	float: left;
	margin-bottom: 5px;
}

#guide-form label {
	width: 50px;
	text-align: right;
	padding-right: 10px;
}

#guide-form input {
	width: 300px;
}

#guide-form .guide-form-submit input {
	width: auto;
}

#guide-form label,
.guide-form-submit {
	clear: left;
}

.guide-form-submit {
	margin-bottom: 1em;
}

.guide-title-input {
	font-size: 1.5em;
}

.guide-title-input input {
	font-size: 1em;
}

.guide-form-tip-preview {
	clear: both;
	margin-top: 2em;
}

.guide-form-tip-preview .tip {
	border: 1px solid #ccc;
	padding: 5px;
}

.guide-form-tip-preview .user_actions,
.guide-form-tip-preview .rating_percentage,
.guide-form-tip-preview .rating_people,
.guide-form-tip-preview .agree_disagree,
.guide-form-tip-preview .tip_msg {
	display: none;
}

/* "Send/Edit a tip" pages */

.form-part {
	margin-top:15px;
}

input.form-text,
textarea.form-textarea,
input.form-tags,
#suggested-tags {
	width:324px;
}

input.form-submit {
	margin-top:30px;
}

.form-part label {
	display:block;
}

.help_text p {
	margin-bottom:5px;
}

#suggested-tags {
	margin-top: 0.5em;
	font-size: 0.85em;
}

.suggested-tag-highlighted {
	background: #deeff7;
	text-decoration: none;
}

/* Place fronts */

.arrow_links {
	font-weight:bold;
	padding-top: 5px;
}

.arrow_links:after {
	content: " ";
	display: block;
	clear: both;
	height: 1px;
	visibility: hidden;
}

* html .arrow_links {
	height: 1%;
}

.arrow_links div {
	display:block;
	float:left;
	width:120px;
	background-image:url(i/arrow.gif);
	background-repeat:no-repeat;
	padding:0 0 15px 20px;
}

.arrow_links img {
	vertical-align:middle;
	border:0;
}

.arrow_links_wide {
	padding:5px 0 0;
	font-weight:bold;
}

.arrow_links_wide div {
	display:block;
	float:left;
	width:452px;
	height:35px;
	background-image:url(i/arrow.gif);
	background-repeat:no-repeat;
	text-indent:20px;
}

/* Place profiles */

.gallery_link {
	background-image:url(i/arrow.gif);
	background-repeat:no-repeat;
	padding-left:20px;
	margin:5px 0;
}

/* Traveller profiles */

div.show_form form#profile_form {
	display: block;
}

.show_form .profile_box,
.show_form #profile_link_edit {
	display: none;
}

.profile_box {
	text-align: center;
	border: 1px solid #2b84b0;
	color:#2b84b0;
}

.profile_link a {
	text-decoration: none;
	font-weight: bold;
}

.profile_box_photo {
	width: 50px;
	float: left;
	padding-top: 4px;
	height: 46px;
	margin: 0 0.5em 0.25em 0;
}

.profile_box_text {
	padding-top: 18px;
	height: 32px;
	margin-left: 55px;
}

#profile_link_edit {
	text-align: right;
}

div#profile_form {
	padding: 0.5em;
}

#profile_form label {
	font-weight: bold;
}

#profile_form textarea {
	width: 100%;
}

#profile_form .form-part {
	margin: 0 0 1em 0;
}

#profile_form .form-submit {
	margin: 0;
}

/* World Cup - temporary! */

.world-cup-header {
	background-image:url(i/world-cup-header.jpg) !important;
}
