/**********************************************************************************
* phpComasy Web Content Management System                                         *
* http://www.phpcomasy.com                                                        *
*                                                                                 *
* Copyright (c) 2005 - 2012 indual GmbH (http://www.indual.ch)                    *
*                                                                                 *
* phpComasy is released under his own licence (http://www.phpcomasy.com/licence)  *
**********************************************************************************/


/* CONTENT --------------------------------------------------------------------- */

/* Headings -------------------------------------------------------------------- */
h1, h1 a {
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	color: #000;
	margin: 0;
	padding: 0 0 6px 0;
}

h2, h2 a {
	font-size: 14px;
	font-weight: bold;
	color: #000;
	margin: 6px 0 2px 0;
	padding: 0;
	text-decoration: none;
}

h3, h4, h5, h6 {
	font-size: 12px;
	margin: 6px 0 2px 0;
	padding: 0;
}
.introduction {
	font-weight: bold;
	margin: 5px 0px 5px 0px;
}
.content .heading {
	font-weight: bolder;
	background: #DDDDDD;
}


/* link icons ------------------------------------------------------------------ */
a.add,
a.edit,
a.delete,
a.ressources,
a.user {
	background-position: left center;
	background-repeat: no-repeat;
	margin: 0 5px 0 0;
	padding: 0 0 0 20px;
}
a.add {	background-image: url(../img/icon_add.gif); }
a.edit { background-image: url(../img/icon_edit.gif); }
a.delete { background-image: url(../img/icon_delete.gif); }
a.ressources { background-image: url(../img/icon_ressources.gif); }
a.user { background-image: url(../img/icon_user.gif); }


/* tables ---------------------------------------------------------------------- */
table th {
	text-align: left;
}
.table {
		border: 1px solid #999999;
}
table th {
	background: #333;
	color: white;
	padding: 2px;
	margin: 0px;
}
table th a {
	color: #fff;
}
.table td {
	padding: 2px;
	background: transparent;
	margin: 0px;
	vertical-align: top;
}
.table tr {
	padding: 0px;
	margin: 0px;
}
.even,
td.even {
	background: #ffffff;
}
.odd,
td.odd {
	background: #f3f3f3;
}
.add-comment-button {
	background: #EEEEEE url(img/../../img/icon_add.gif) 1px 4px no-repeat;
	border: 1px solid gray;
	text-decoration: none !important;
	line-height: 24px !important;
	height: 24px !important;
	display: block;
	padding: 0px 0px 0px 18px;
	margin-top: 10px;
}
.padding-top-250 {
	margin-top: 250px;
}

/* resources ------------------------------------------------------------ */

.resource_container {
	margin: 10px 0 15px 0;
}

.resource_container.left,
.resource_container.float_left,
.resource_container.float_left_with_clear {
	float: left;
	margin: 0 10px 0 0;
}

.resource_container.right,
.resource_container.float_right,
.resource_container.float_right_with_clear {
	float: right;
	margin: 0 0 0 10px;
}

.gallery .resource {
	float: left;
	margin: 0 10px 10px 0;
}

.top .resource,
.float_left .resource {
	float: left;
	margin: 0 10px 10px 0;
}

.left .resource,
.float_left_with_clear .resource {
	float: left;
	clear: both;
	margin: 0 0 10px 0;
}

.right .resource,
.float_right_with_clear .resource {
	float: right;
	clear: both;
	margin: 0 0 10px 0;
}

.float_right .resource {
	float: right;
	margin: 0 0 10px 10px;
}

.standard .resource {
	float: left;
	margin: 0 10px 10px 0;
}

.resource {
	display: block;
}

.resource.picture {
	float: left;
	margin: 0 10px 10px 0;
}

.resource_link {
	padding: 2px;
	border: 1px solid #999;
	display: block;
	text-decoration: none;
}

.resource_link:hover {
	border-color: #333;
}

.resource_background {
		display: block;
		position: relative;
}

.resource_subtitle {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 16px;
	padding: 2px 0;
	color: white;
	background: black;
	opacity: 0.7;
	display: none;
	overflow: hidden;
	text-align: center;
}

.resource_description {
	display: none;
}

div.video object {
	width: 100%;
	height: 200px;
	margin: 0 0 20px 0;	
}

.resource_container.pictures h2 {
	display: none;
}

.resource_container.documents {
	margin: 10px 0;
	padding: 4px 8px 8px 8px;
	border: 1px solid #ddd;
}
.resource_container.documents h2 {
	margin: 0 0 4px 0;
	padding: 0;
}
.resource_container .document {
	background-position: left 3px;
	background-repeat: no-repeat;
	padding-left: 22px;
	line-height: 22px;
}
.resource_container .document .description {
	color: #666;
	line-height: 18px;
}
/* IE hack for hiding subtitles (they are not compatible) */
* html .resource_subtitle {
	display: none;
}


/* helptext -------------------------------------------------------------------- */
.helptext span {
	display: none;
	margin: 0 5px;
	position: absolute;
	z-index: 1000;
}
.helptext:hover span {
	display: inline;
}


/* document listing ------------------------------------------------------------ */


/* More text styles ------------------------------------------------------------ */
p {
	margin: 5px 0;
	padding: 0;
}
.comment {
	color: gray;
}
.comment_entry {
	margin: 5px 0;
	padding: 2px;
	background: transparent;
}
.comment_entry h1,
.comment_entry h1 a {
	padding: 0;
	margin: 0;
	color: black;
	font-size: 100%;
}
.comments {
	clear: left;
	background: transparent;
	display: block;
	margin-top: 10px;
}
.message {
	border: 1px solid #f70;
	background: #ffe5b9;
	color: #f70;
	padding: 5px 7px;
	font-weight: bold;
	margin: 10px 0;
}
.system_info {
	border: 1px solid #0080ff;
	background: #d1f0ff;
	color: #0080ff;
	padding: 5px 7px;
	margin: 10px 0;
	font-weight: bold;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.system_info a {
	color: #0080ff !important;
	text-decoration: none !important;
	border-bottom: 1px solid;
}
.system_info a:hover {
	color: black !important;
}
a img {
	border: none;
}


/* Fontsize switcher ----------------------------------------------------------- */
div#fontsize_switcher a.static {
	color: #999;
}
div#fontsize_switcher a.current {
	color: #000;
}
div#fontsize_switcher a#fontsize_switcher_default {
	font-size: 10px;
}
div#fontsize_switcher a#fontsize_switcher_zoom1 {
	font-size: 12px;
}
div#fontsize_switcher a#fontsize_switcher_zoom2 {
	font-size: 14px;
}

/* picture_editor_popup -------------------------------------------------------- */

div.popup.picture_editor {
    height: 600px;
    margin: -300px -485px 0 0;
	width: 970px;
}
div.popup.picture_editor div.popup_body {
    height: 600px;
	padding: 0;
}
div.popup.picture_editor .description {
	padding: 0;
}
iframe.picture_editor_iframe {
    height: 600px;
    width: 970px;
	border: none;
}
div.popup.picture_editor div.popup_header {
	display: none;
}
div.picture_editor_close_button {
    height: 32px;
    left: -18px;
    position: absolute;
    top: -21px;
    width: 32px;
	background: transparent url(../img/icon_close.png) center center no-repeat;
}
div.picture_editor_loader {
	width: 20px;
	height: 20px;
	background: #FFF url('../addons/picture_editor/images/ajax-loader.gif') center center no-repeat;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -10px 0 0 -10px;
}
div.picture_editor_close_button:hover {
	cursor: pointer;
}
*:first-child+html iframe.picture_editor_iframe {
	height: 599px;
	width: 969px;
	border: none;
	margin: 0;
	padding: 0;
}

/* ---------- Editor ---------- */
.cke,
.cke *,
.cke_dialog,
.cke_dialog *,
.cke_dialog_background_cover,
.cke_dialog_background_cover * {
	-webkit-backface-visibility: hidden;
}