/********************************************************************************
* phpComasy, Content Management System                                          *
* http://www.phpcomasy.org                                                      *
*                                                                               *
* Copyright (c) 2005 - 2006 Emanuel Zuber (www.noreality.ch)                    *
*                                                                               *
* Released under the GNU General Public License                                 *
********************************************************************************/


/******************************** General styles *******************************/
body,  table, td, tr, tbody, b, p, input, select, label, textarea {
	color: black;

	font-family:  Arial,Verdana, Helvetica, Sans-serif;
}

a {
		color: #800000;
	font-size: 12px;
	font-family:  Arial,Verdana, Helvetica, Sans-serif;
}


p {
	padding: 0px;
	margin: 2px 0px 3px 0px;
}

input, select, textarea {
	border: 1px solid #AAAAAA;
	margin-bottom: 1px;
}
body {
	padding: 0px;
	margin: 0px;
}
form {
	margin: 0px;
	padding: 0px;
}
img {
	border: none;
}
label {
	width: 140px; 
	padding: 3px 0px 0px 0px;
	float: left;
}
.big_label label {
	width: 350px;
}
h1 {
	font-size: 160%;
	font-weight: bolder;
}
h2 {
	font-size: 140%;
	font-weight: bolder;
	color: #AAAAAA;
	margin: 3px 0px 2px 0px;
}
h3 {font-size: 120%; font-weight: bolder;}
h4 {font-size: 110%; font-weight: bolder;}
h5 {font-size: 100%; font-weight: bolder;}
.comment {
	color: gray;
}
.comment_entry {
	margin: 5px 0px 5px 0px;
	padding: 2px;
	background: transparent;
}
.comment_entry h1,
.comment_entry h1 a {
	padding: 0px;
	margin: 0px;
	color: black;
	font-size: 100%;
}
.comments {
	clear: left;
	background: transparent;
	display: block;
	margin-top: 10px;
}
.description {
	font-size: 85%;
}
.selected, .disabled {
	color: gray;
}
.message {
	border: 1px solid #FFA500;
	background: #FFCE7B;
	padding: 5px;
	font-weight: bolder;
	margin-bottom: 8px;
}
.error {
	color: red;
}
img .text_right {
	float: left; 
	padding: 0px 5px 5px 0px;
}
img .text_left {
	float: right; 
	padding: 0px 0px 5px 5px;
}
hr {
	height: 1px;
	border: 1px solid #AAAAAA;
}
.highlighting {
	background: yellow;
}
.language {
	margin-right: 5px;
}
.language.current {
	font-weight: bolder;
}
.action_button {
	margin-right: 10px;
}
.fieldset_button {
	margin-left: 140px;
	margin-right: 10px;
}
.hidden {
	display: none;
}
/*******************************************************************************/



/*************************** Lists, Items and Fieldsets ************************/

/* TODO  REMOVE IT (if its no more in action, using list_entry)!! */
a .item {
	display: block;
	background: #CCCCCC;
	padding: 3px 3px 3px 3px;
	margin: 5px 0px 5px 0px;
	border: 1px solid #AAAAAA;
	color: black;
	height: 70px;
}

a:hover .item {
	background: #EEEEEE;
	color: #444444;
}

/* end TODO */

fieldset {
	border: 1px solid #AAAAAA;
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 3px;
	background: #EEEEEE;
}
legend {
	font-weight: bolder;
	color: black;
}
fieldset.page_properties {
	background: #CDCDCD;
}

.language_label {
	font-style: italic;
	font-weight: bolder;
	background: #CDCDCD;
	margin-top: 8px;
}

fieldset input,
fieldset textarea,
fieldset select {
	border: 1px solid #AAAAAA;
}

/*******************************************************************************/


/************************************ Portlets *********************************/
.portlet {
	margin: 6px 0px 0px 0px;
	padding: 4px;
	background: transparent;
}
.portlet h1 {
	font-size: 100%;
	padding: 0px;
	margin: 0px 0px 3px 0px;
	border-bottom: 1px solid #AAAAAA;
}
.portlet a {
	text-decoration: none;
	background: transparent;
	padding: 0px;
}
.portlet .subtitle {
	margin: 0px;
	padding: 0px;
	font-weight: bolder;
}
.portlet .content {
	margin: 0px;
	padding: 0px 0px 6px 0px;
}
.portlet .detail {
	font-size: 85%;
	color: gray;
	padding: 0px;
	margin: 0px;
}

#portlet-page-tools a {
	display: block;
}

/*******************************************************************************/


/******************************* Administration panel **************************/
.administration {
	color: black;
	position: absolute;
	top: 1px;
	right: 1px;
	width: 200px;
	padding: 3px;
	background: #EEEEEE;
	border: 2px solid #AAAAAA;
	z-index: 1000;
	font-size: 11px;
	letter-spacing: 0em;
}
.administration h1 {
	color: black;
	font-weight: bolder;
	font-size: 12px;
	padding: 0px;
	margin: 0px 0px 3px 0px;
	letter-spacing: 0em;
}
.administration a {
	color: black;
	text-decoration: none;
	font-size: 11px;
	letter-spacing: 0em;
}
.administration a:hover {
	color: #666666;
	text-decoration: none;
}
.administration hr {
	height: 1px; 
	width: 100%; 
	padding: 0px; 
	margin: 2px 0px 2px 0px; 
	border: 1px solid #AAAAAA;
	letter-spacing: 0em;
}

/*******************************************************************************/



/********************************** Management *********************************/

/***** tabs *****/
.tabs {
	width: 100%;
}
.tabs .tab {
	border: 1px solid #999999;
	width: 120px;
	padding: 0px 10px 1px 10px;
	text-decoration: none;
	color: black;
	margin-left: 10px;
}

.tabs a.tab:hover,
.tabs .tab a:hover,
.tabs .tab.current,
.tabs .tab.standard {
	background: #DDDDDD;
	color: black !important;
	padding: 0px 10px 2px 10px;
	border-bottom: none;
	font-weight: normal;
}

/***** management *****/
.management {
	background: #DDDDDD;
	border: 1px solid #999999;
	padding: 5px;
	margin-top: 0px;
	color: black;
}
.management a {
	color: black;
	text-decoration: none;
}
.management a:hover {
	color: #AAAAAA;
	text-decoration: none;
}
.management h1 {
	font-size: 120%;
}
.management h2 {
	font-size: 100%;
	margin-bottom: 0px;
}
.management p {
	margin-top: 0px;
	margin-bottom: 2px;
}
.management .custom_table {
	border: 1px solid #AAAAAA;
	background: white;
}
.management table .heading {
	font-weight: bolder;
	background: #AAAAAA;
}
.management table .heading td {
	color: white;
}
.management input,
.management textarea, 
.management select {
	border: 1px solid #AAAAAA;
	background: white;
}
.management .general_settings label {
	width: 255px;
}
.management .inactive {
	color: #8F8F8F;
}
.management hr {
	height: 1px;
	border: 1px solid #AAAAAA;
}

/***** list entries *****/
.management a.list_entry {
	display: block;
	background: #CCCCCC;
	border: 1px solid #AAAAAA;
	margin-top: 3px;
	padding: 5px;
	color: black;
}
.management.list_entry a:hover {
	background: #EEEEEE;
	color: #444444;
}
.management a {
	color: black;
}
.management a:hover {
	color: #444444;
}
.management label {
	width: 180px;
}
/*******************************************************************************/




/*******************************************************************************/



/************************************ Module ***********************************/

/*general styles of backend*/
.module_intro {
	border-bottom: 1px solid #AAAAAA;
	margin-bottom: 6px;
	padding-bottom: 3px;
}

.module_intro a:link, .module_intro a:visited {
background-image: url('img/listindex2.gif');
background-repeat: no-repeat;
background-position: left;
padding-left: 20px;
text-decoration:none;
font:0.9em Verdana,sans-serif;
font-weight:normal;
color:#800000;  
}
.module_intro a:active, .module_intro a:hover{
background-image: url('img/listindex2.gif');
background-repeat: no-repeat;
background-position: left;
padding-left: 20px;
color:#AAAAAA;
}

.module_admin {
	border-bottom: 1px solid #AAAAAA;
	margin-bottom: 6px;
	padding-bottom: 8px;
}
.module_admin a {
	padding: 5px 3px 3px 3px;
	margin-right: 10px;
	border: 1px solid gray;
}
.module_admin a:hover {
	background: #AAAAAA;
	color: #FFFFFF !important;
}
/*******************************************************************************/



/************************************ Search ***********************************/
.search_item {
	display: block;
	text-decoration: none;
	padding-top: 5px;
}

.search_item_title,
.search_item_title .highlighting {
	text-decoration: underline;
	font-weight: bolder;
}
.search_item_introduction {
	display: block;
	font-weight: bolder;
}
.search_item_content {
	display: block;
	text-decoration: none;
}
.search_item_details {
	display: block;
	color: gray;
}
/*******************************************************************************/



/************************************ Tools ************************************/

/***** Next and previous buttons *****/
.next_previous {
	color: black;
	margin: 5px 0px 0px 0px;
	text-align: right;
	float: left;
	clear: left;
	width: 100%;
}
.next_previous a {
	color: black;
	padding: 0px 5px 0px 0px;
	text-decoration: none;
}


/***** Page 1 2 3 (on the bottom of a page) *****/
.page_123 {
	border-top: 1px solid #AAAAAA;
	color: black;
	text-decoration: none;
	display: block;
	padding: 2px 0px 0px 0px;
	margin: 6px 0px 0px 0px;
	float: left;
	clear: left;
	width: 100%;
}
.page_123 a {
	padding: 0px 0px 0px 5px;
	font-weight: bolder;
	color: #AAAAAA;
	text-decoration: none;
}
.page_123 span {
	padding: 0px 0px 0px 5px;
}


/***** Page counter (multiple pages in a category) *****/
.page_counter {
	background: #DDDDDD;
	border: 1px solid #AAAAAA;
	padding: 3px;
	margin: 5px 0px 5px 0px;
	float: left;
}
.page_counter a {
	font-weight: bolder;
}

.file_content {
	font-family: Courier;
	width: 98%;
}

table th {
	text-align: left;
}

.table {
	border-top: 1px solid #999999;
	border-left: 1px solid #999999;
}
.table th {
	background: #888888;
	color: white;
	padding: 2px;
	
	border-bottom: 1px solid #999999;
	border-right: 1px solid #999999;
}

.table td {
	padding: 2px;
	
	border-bottom: 1px solid #999999;
	border-right: 1px solid #999999;
}

.even {
	background: #FFFFFF;
}
.odd {
	background: #EEEEEE;
}

.float_right {
	float: right;
	clear: right;
	margin: 0px 0px 10px 10px;
}

.float_left {
	float: left;
	clear: left;
	margin: 0px 10px 10px 0px;
}

.padding-top-250 {
	margin-top: 250px;
}

.documents a {
	text-decoration: none;
}


/***** Access and permission styles *****/
.access_fieldset {
	display:none;
}
.access_fieldset_visible {
	display:inline-block;
}
.page_permission_left{
	float:left;
	width:31%;
	display: inline-block;
}
.page_permission_right{
	float:right;
	width:31%;
}
.filemanager_permission {
	float:left;
}

/*******************************************************************************/

