/**********************************************************************************
* phpComasy Web Content Management System                                         *
* http://www.phpcomasy.com                                                        *
*                                                                                 *
* Copyright (c) 2005 - 2010 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: #999999;
  color: white;
  padding: 2px;
  margin: 0px;
}
.table td {
  padding: 2px;
  background: transparent;
  margin: 0px;
  vertical-align: top;
}
.table tr {
  padding: 0px;
  margin: 0px;
}
.even {
  background: #ffffff;
}
.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_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;
  padding: 2px;
  width: 250px;
  position: absolute;
  z-index: 1000;
  border: 1px solid #aaa;
  background: #eee;
  color: black;
  font-size: 11px;
  font-family: Arial, Helvetica, sans-serif;
}
.helptext:hover span {
  display: inline;
}


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


/* More text styles ------------------------------------------------------------ */
.content 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;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
a img {
  border: none;
}