/* System messages */
div.sys_message {
	border: 1px solid #00DD00;
	background-color: #BBFFBB;
	padding: 5px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-khtml-border-radius: 8px;
}
div.sys_error {
	border: 1px solid #DD0000;
	background-color: #FFBBBB;
	padding: 5px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-khtml-border-radius: 8px;
}

/* Login / registration form */
div.login_form {
	text-align: center;
	width: 270px;
	margin: 0 auto;
	margin-top: 100px;
}
div.login_form table {
	text-align: right;
}
div.login_form input {
	border: 1px solid #BBBBBB;
}

/* Page editing buttons */
a.pageButton {
	margin-right: 20px;
	float: left;
	cursor: pointer;
	line-height: 32px;
}

/* List of buttons */
ul.buttonList {
	list-style-type: none;
	margin-left: 5px;
	padding-left: 5px;
}
ul.buttonList li {
	line-height: 40px;
}
ul.buttonList li.bigButton {
	line-height: 48px;
}
ul.buttonList img {
	margin-right: 5px;
}
ul.buttonList a {
	cursor: pointer;
}

/* Content area containers */
div.contentarea_container {
	border: 0px;
}
div.contentarea_admin {
	border: 1px solid #BBBBBB;
}
div.contentarea_admin_hidden {
	border: 1px solid #BBBBBB;
	background-color: #DDDDDD;
}

/* Page editing buttons container */
fieldset.genericContainer {
	border: 1px solid #BBBBBB;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-khtml-border-radius: 8px;
	padding: 5px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 15px;
}

/* Language tabs */
div.language_container {
	width: 100%;
	height: 19px;
}
div.language_tab_small, div.language_tab_small_active, div.language_tab_wide, div.language_tab_wide_active {
	height: 18px;
	float: left;
	text-align: center;
	margin-bottom: 0px;
	margin-left: 2px;
	border-left: 1px solid #BBBBBB;
	border-top: 1px solid #BBBBBB;
	border-right: 1px solid #BBBBBB;
	border-bottom: 0px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
	-khtml-border-radius-topright: 8px;
	-khtml-border-radius-topleft: 8px;
}
div.language_tab_small {
	background: white;
	cursor: pointer;
	width: 30px;
}
div.language_tab_small:hover {
	background: #FFF000;
}
div.language_tab_small_active {
	background: #FFF999;
	width: 30px;
}
div.language_tab_wide {
	background: white;
	color: #BBBBBB;
	cursor: pointer;
	width: 100px;
}
div.language_tab_wide:hover {
	background: #FFF000;
}
div.language_tab_wide_active {
	background: #FFF999;
	width: 100px;
}

/* WimEditor wrappers */
div.contentTextHidden {
	display: none;
}
div.contentTextVisible {
	display: block;
}

/* Black overlay for the ajax popups */
div#overlayblack {
	position: absolute;
	display: none;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 98;
	background: black;
}
/* Ajax popup */
div#ajaxpopup {
	position: absolute;
	display: block;
	border: 2px solid gray;
	padding: 5px;
	left: -400px;
	z-index: 99;
	background: white;
	color: black;
}

/* Simple table definitions */
table.simpleTable {
	border: 2px solid gray;
	border-collapse: collapse;
}
table.simpleTable tr.headerRow td {
	border-bottom: 2px solid gray;
}
table.simpleTable td {
	border: 1px solid gray;
	padding: 2px;
}
table.invisibleTable {
	border: 0px;
	border-collapse: collapse;
}
table.invisibleTable td {
	border: 0px;
	padding: 2px;
}
table.hoverTable {
	border: 2px solid gray;
	border-collapse: collapse;
}
table.hoverTable tr.headerRow td {
	border-bottom: 2px solid gray;
}
table.hoverTable tr.simpleRow:hover {
	background: #DADFFF;
}
table.hoverTable td {
	border: 1px solid gray;
	padding: 2px;
}
table.sortable tr.headerRow td {
	cursor: pointer;
}
div#calShowMonthYear {
	font-size: 20px;
}
table.calTable {
	border: 2px solid gray;
	border-collapse: collapse;
}
table.calTable tr.headerRow td {
	border-bottom: 2px solid gray;
}
table.calTable tr.calDayNamesRow td {
	border: 1px solid gray;
	font-weight: bold;
}
table.calTable tr.simpleRow td {
	border: 1px solid gray;
	padding: 2px;
	width: 80px;
	height: 80px;
	font-weight: bold;
}
table.calTable tr.simpleRow td:hover {
	background: #DADFFF;
}
table.calTable tr.simpleRow td.otherMonth {
	color: #CCCCCC;
}
table.calTable tr.simpleRow td.calActiveDay {
	color: blue;
	border: 2px solid blue;
	font-size: 18px;
}
.calToolTip {
	border: 2px dotted blue;
	background: white;
	font-weight: bold;
	padding: 5px;
}

/* IE warning */
div#iewarning {
	display: block;
	z-index: 99;
	position: absolute;
	bottom: -1px;
	left: 0px;
	width: 100%;
	height: 0px;
	background: yellow;
	border-top: 1px solid gray;
}

/* Uploader */
#uploader-status
{
	background-color:		#FFFFFF;
	padding:				10px 15px;
	width:					420px;
}

#uploader-status .progress
{
	background: white url(/resources/icons/uploader/progress.gif) no-repeat;
	background-position:	+50% 0;
	margin-right:			0.5em;
	vertical-align: middle;
}

#uploader-status .progress-text
{
	font-size:				0.9em;
	font-weight:			bold;
}

#uploader-list
{
	list-style:				none;
	width:					450px;
	margin:					0;
}

#uploader-list li.validation-error {
	padding-left: 44px;
	display: block;
	clear: left;
	line-height: 40px;
	color: #8a1f11;
	cursor: pointer;
	border-bottom: 1px solid #fbc2c4;
	background: #fbe3e4 url(/resources/icons/uploader/failed.png) no-repeat 4px 4px;
}

#uploader-list li.file
{
	border-bottom: 1px solid #eee;
	background: url(/resources/icons/uploader/file.png) no-repeat 4px 4px;
	overflow: auto;
}
#uploader-list li.file.file-uploading
{
	background-image:		url(/resources/icons/uploader/uploading.png);
	background-color:		#D9DDE9;
}
#uploader-list li.file.file-success
{
	background-image:		url(/resources/icons/uploader/success.png);
}
#uploader-list li.file.file-failed
{
	background-image:		url(/resources/icons/uploader/failed.png);
}

#uploader-list li.file .file-name
{
	font-size:				1.2em;
	margin-left:			44px;
	display:				block;
	clear:					left;
	line-height:			40px;
	height:					40px;
	font-weight:			bold;
}
#uploader-list li.file .file-size
{
	font-size:				0.9em;
	line-height:			18px;
	float:					right;
	margin-top:				2px;
	margin-right:			6px;
}
#uploader-list li.file .file-info
{
	display: block;
	margin-left:			44px;
	font-size:				0.9em;
	line-height:			20px;
	clear
}
#uploader-list li.file .file-remove
{
	clear: right;
	float: right;
	line-height:			18px;
	margin-right:			6px;
}
div.hide {
	display:none;
}

/* CSS vs. Adblock tabs */
.swiff-uploader-box a {
	display: none !important;
}


/* Photobook */
div#pb_main_wrapper {
}
div#pb_main {
	float: left;
	overflow: hidden;
}
div#pb_main div.pb_image_wrapper {
	position: absolute;
	overflow: hidden;
	width: 610px;
}
div#pb_main div.pb_image_wrapper div.pb_image_description {
	position: absolute;
	width: 1px;
}
div#pb_main div.pb_image_wrapper div.pb_image_description div.pb_image_desc_background {
	position: absolute;
	width: 100%;
	z-index: 4;
	opacity: 0.5;
	background-color: #FFFFFF;
}
div#pb_main div.pb_image_wrapper div.pb_image_description div.pb_image_desc_background div.iconspacer {
	height:	48px;
	width:	1px;
	float:	right;
}
div#pb_main div.pb_image_wrapper div.pb_image_description div.pb_image_desc_text {
	position: absolute;
	width: 100%;
	z-index: 5;
	color: #000000;
	padding-left: 50px;
	background-image: url(/resources/icons/messagebox_info.png);
	background-repeat: no-repeat;
	border-bottom: 1px solid black;
}
div#pb_main div.pb_image_wrapper div.pb_image_description div.pb_image_desc_text div.iconspacer {
	height:	48px;
	width:	1px;
	float:	right;
}
div#pb_main div.pb_image_wrapper div.pb_image_description div.pb_image_desc_text h3 {
	margin-top: 0px;
	margin-bottom: 0px;
}
div#pb_thumbs_wrapper {
	float: right;
	overflow: auto;
	width: 120px;
	height: 450px;
}
div#pb_thumbs_wrapper img {
	cursor: pointer;
	margin-bottom: 1px;
}
ul.galleries_list {
	list-style-type: none;
	margin-left: 0px;
	padding-left: 0px;
}
ul.galleries_list li.gallery_button {
	cursor: pointer;
	vertical-align: middle;
	height: 35px;
	line-height: 35px;
	padding-left: 40px;
}
ul.galleries_list li.gallery_button:hover {
	background-color: #DDDFFF;
}
ul.galleries_list li.gallery_button img {
	float: left;
	margin-left: 5px;
	margin-right: 5px;
}
ul.galleries_list li.gallery_dir_up {
	background-image: url(/resources/icons/photobook/folder_blue_open.png);
	background-repeat: no-repeat;
}
ul.galleries_list li.gallery_dir_gray {
	background-image: url(/resources/icons/photobook/folder_grey_open.png);
	background-repeat: no-repeat;
}
ul.galleries_list li.gallery_dir_photo {
	background-image: url(/resources/icons/photobook/folder_photo.png);
	background-repeat: no-repeat;
}
ul.galleries_list li.gallery_button span {
	float: left;
}
ul.galleries_list li.gallery_button img.jslink {
	float: right;
}
ul.galleries_list li.gallery_file_photo {
	background-image: url(/resources/icons/photobook/image.png);
	background-repeat: no-repeat;
}
ul.galleries_list li.gallery_file_photo img.gallery_file_thumbnailimg {
	height: 34px;
}

/* OSM map default style */
div.osm_map {
	width: 100%;
	height: 500px;
}
div.olPopup,div.olPopupContent {
	width: auto !important;
	height: auto !important;
	padding: 0px !important;
}
div.osm_popup {
	padding: 5px;
	border: 2px solid red;
}

/* Lyrics search default style */
div.lyricsSearchResult {
	margin-bottom: 15px;
}
div.lyricsSearchResult b {
	font-size: 16px;
}

/* FileShare default style */
table.filesharingTable td {
	padding-left: 5px;
	padding-right: 5px;
}

/* Make javascript links also display the pointer */
a.jslink {
	cursor: pointer;
}

/* Remove ugly borders around images when they are used as links */
img {
	border: 0px;
}

/* Remove ugly top- and bottom-margins in Internet Explorer 6 */
form {
	margin-top: 0px;
	margin-bottom: 0px;
}

/* LEDs */
div.ledgreen {
	background: url(/templates/simple/images/led-green.gif);
	width: 16px;
	height: 16px;
}
div.ledgray {
	background: url(/templates/simple/images/led-gray.gif);
	width: 16px;
	height: 16px;
}

/* Some debugging things */
/*
div {border: solid 1px #f00;}
table,td {border: solid 1px black;}
*/
