body.green, .green .portlet {
	background-color: #F1F3EF;
}

.green {
	.icon {
		background-image: url(@theme_image_path@/color_schemes/green/aui/icon_sprite.png);
	}

	/* ---------- Links ---------- */

	a {
		color: #677D5B;

		&:hover {
			color: #66CD00;
		}
	}

	/* ---------- Application styling ---------- */

	.drop-area {
		background-color: #DBDED4;
	}

	.resizable-proxy {
		border-color: #909683;
	}

	.sortable-proxy {
		background-color: #7C8272;
	}

	.menugroup-content h4 {
		background-color: #D7DFD3;
		color: #677D5B;
	}

	.menu-content li a {
		color: #2F342C;
	}

	.menu-content li a.focus, .lfr-menu-expanded li a:focus  {
		background-color: #677D5B;
		color: #FFF;
		text-shadow: -1px -1px #2F342C;
	}

	.tab {
		background: none;
	}

	.tab-active {
		background-color: #333;
	}

	.tab-active, .tab-active a {
		color: #FFF;
	}

	.portlet-communities .portlet-enterprise-admin {
		.lfr-current-theme {
			background-color: #F6F8F1;
			border-color: #909683;
		}

		.theme-entry .theme-title {
			background-color: #909488;
			border-color: #909683;
		}

		.lfr-theme-list h3 {
			background-color: #DBDED4;
		}

		.selected-color-scheme .theme-entry {
			border-color: #669A33;
		}

		.lfr-theme-list .theme-entry:hover {
			background-color: #F5FFE0;
			border-color: #CFE0A8;
			color: #BBC99F;
		}

		.theme-entry:hover .theme-thumbnail {
			border-color: #CFE0A8;
		}
	}

	.portlet-document-library .detail-column-last {
		background-color: #F2FFD8;

		.detail-column-content {
			border-color: #C6DA89;
		}
	}

	.dockbar {
		background-color: #A2AF98;
		background-image: url(@theme_image_path@/color_schemes/green/dockbar/dockbar_bg.png);

		.menu-button-active {
			background-color: #95DB5C;
			background-image: url(@theme_image_path@/color_schemes/green/dockbar/button_active_bg.png);

			a {
				color: #FFF;
			}
		}
	}

	.sortable-layout-drag-indicator {
		background-color: #57B63C;
	}

	.autocomplete-results-content {
		border-color: #C1F599;
	}

	.autocomplete-selected {
		background-color: #E9F7E0;
		border-color: #BBEAA4;
	}

	.textboxlistentry {
		background-color: #D9F4CB;
		border-color: #BBEAA4;
	}

	.textboxlistentry-focused {
		background-color: #57B63C;
		border-color: #404F34;
	}

	.textboxlistentry-close-hover {
		background-color: #BBEAA4;
	}

	/* ---------- Portlet wrapper and icons ---------- */

	.portlet {
		border-color: #909683;
	}

	.portlet-topper {
		background-color: #D9DDD3;
		border-bottom-color: #B7BCAE;
	}

	.panel-page .portlet-topper {
		border-bottom-color: #909683;
	}

	.portlet-section-selected {
		&, a {
			background-color: #909683;
		}

		a:focus, a:hover {
			background-color: #909683;
		}
	}

	/* ---------- Calendar portlet ---------- */

	.portlet-calendar {
		.calendar-day .day-text {
			background-color: #909683;
		}

		.taglib-calendar tr td.calendar-current-day a {
			&:focus, &:hover {
				background-color: #F2FFDF;
				border-color: #B7BCAE;
				color: #5BCC00;
			}
		}
	}

	.taglib-calendar {
		tr td a {
			background-color: #EFF3EA;

			&:hover {
				background-color: #909683;
			}
		}

		.calendar-current-day a {
			border-color: #909683;
			color: #5F9930;
		}

		.calendar-current-day {
			&, a {
				background-color: #FFF;
			}
		}

		tr td.calendar-inactive {
			color: #BEC4B5;
		}
	}

	/* ---------- Miscellaneous portlet styles ---------- */

	.journal-template-error .scroll-pane pre span {
		background-color: #BEC4B5;
	}

	.restricted * {
		color: #909683;
	}

	.lfr-tag-selector-popup .textfield-content {
		background-color: #DBDED4;
		border-color: #B9BDAF;
	}

	/* This CSS sets the default styles for forms. */

	button, input[type="button"], input[type="reset"], input[type="submit"] {
		color: #404F34;
	}

	button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
		background-color: #CFDABA;
		background-image: url(@theme_image_path@/color_schemes/green/application/state_hover_bg.png);
		border-color: #778362;
		color: #669A33;
	}

	button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus {
		background-color: #ECECEC;
		background-image: url(@theme_image_path@/application/state_active_bg.png);
	}
}

/* ---------- IE6 chokes on attribute selectors in a chain, so we separate them into their own rule ---------- */

.ie6 .green {
	button, input.button, input.submit, .button-disabled button, .button-disabled input.button, .button-disabled input.submit {
		color: #404F34;
	}
}