/**********************************************************************************
* phpComasy, Open Source Web Content Management System                            *
* http://www.phpcomasy.org                                                        *
*                                                                                 *
* Copyright (c) 2005 - 2006 neflexis gmbh (http://www.neflexis.ch)                *
*                                                                                 *
* phpComasy is released under his own licence (http://www.phpcomasy.com/licence)  *
**********************************************************************************/

/********************************* General styles ******************************/
input, select, textarea {
  border: 1px solid #495a76;
  margin-bottom: 1px;
}

h1 {
  color: #495a76;
}

#header-title h1 {
  color: white;
  font-size: 13px;
  margin: 0;
  padding: 2px 0 0 10px;
}

h2,
h2 a,
h2 a:hover {
	text-decoration: none;
	text-decoration: none !important;
	color: #e5893e;
	font-size: 13px;
}

hr {
  height: 1px;
  border: 1px solid #008ce1;
}

#my-body {
  background: #EFEFEF url(../img/body_bg.jpg) repeat-x 0 21px;
}

body, a, table, td, tr, tbody, b, p, input, select, label, textarea {
	font-family: Verdana, Arial, Helvetica, Sans-serif;
	font-size: 11px;
}

/*******************************************************************************/

/************************************ Basic ************************************/

#wrap {
  width: 740px;
  margin: 0 auto;
  background: url(../img/shadow.png) no-repeat right bottom;
  padding-bottom: 5px;
  padding-right: 5px;
}

#header-title {
  width: 100%;
  height: 20px;
  background-color: #495a76;
  border-bottom: 1px solid white;
}

#header {
  background: #77baee url(../img/header.jpg) no-repeat;
  width: 100%;
  height: 140px;
  vertical-align: bottom;
}

#navigation {
  width: 100%;;
  height: 25px;
  border-top: 1px solid white;
  color: white;
  background: #959595 url(../img/navigation.jpg) repeat-x;
}

#content {
  width: 100%;;
  background-color: white;
  float: left;
  border-top: 2px solid #21992f;
  padding-top: 0;
  padding-bottom: 20px;
}

#rightContent {
  float: right;
  width: 24%;
  padding-top: 8px;
  padding-right: 8px;
}

#mainContent {
  float: left;
  width: 71%;
  min-height: 400px;
  border-right: 1px dotted #76adff;
  padding-right: 10px;
  padding-left: 10px;
  padding-top: 15px;
  line-height: 15px;
}

#footer {
  clear: both;
  float: none;
  width: 100%;;
  text-align: center;
  padding: 5px 0;
  border-top: 1px solid #808080;
  background: #ddd url(../img/footer.jpg) repeat-x;
}

/*******************************************************************************/

/*********************************** Navigation ********************************/

#navigation {
  margin: 0px;
  padding: 0px;
}

#navigation li {
  list-style-type: none;
  margin: 0;
  padding: 0px;
  float: left;
  height: 25px;
  border-right: 1px solid #fff;
  display: none;
  float: left;
  float: left !important;
}

#navigation li.level0 {
  display: inline;
}

#navigation li a {
  font-weight: bold;
  text-decoration: none;
  display: inline;
  line-height: 28px;
  padding: 5px 10px 3px;
  color: white;
  height: 17px;
}

#navigation li:hover, #navigation li.current {
  background: #21992f;
}

/* Subnavigation */

#rightContent .navigation {
  margin-bottom: 15px;
  margin-top: 7px;
}

#rightContent .navigation li.level0 {
  display: none;
}

#rightContent .navigation li.level0.current a {
  display: block;
  color: white;
  padding: 3px 0 2px 10px;
  border-bottom: 1px solid #fff;
}

#rightContent .navigation li.level1 {
  padding: 0;
  margin: 0;
  background-color: #adadad;
}

#rightContent .navigation li.level1 a {
  margin: 0;
  display: block;
  padding: 3px 0 2px 10px;
  color: white;
  border-bottom: 1px solid #fff;
}

#rightContent .navigation li.level1.current {
  background-color: #999;
}

#rightContent .navigation li.level2 {
  padding: 0;
  margin: 0 5px 0 0;
  background-color: #c3c3c3;
}

#rightContent .navigation li.level2 a {
  margin: 0;
  display: block;
  padding: 2px 0 2px 20px;
  color: white;
  border-bottom: 1px solid #fff;
  font-size: 1em;
}

/*******************************************************************************/

/************************************ Content **********************************/
.listing_entry {
	margin-bottom: 5px;
}

#mainContent h1 {
  padding: 0 0 15px 0;
}

#mainContent p {
  padding-bottom: 3px;
}


#mainContent h2,
#mainContent h2 a,
#mainContent h2 a:hover {
  text-decoration: none;
  text-decoration: none !important;
  color: #21992f;
  color: #21992f !important;
  font-size: 14px;
}


#content a {
  text-decoration: none;
  color: black;
}

#content a:hover {
  color: #495a76;
  text-decoration: none;
}

#mainContent a {
	text-decoration: underline;

	color: #495a76;
	color: #495a76 !important;
}

#mainContent a:hover {
	color: #21992f;
	color: #21992f !important;
}

#mainContent ul, li {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}
#mainContent li {
	margin: 0px 0px 0px 17px;
}
#mainContent li {
	list-style-image: url(../img/bullet.gif);
	position: relative;
	list-style: none;
}
#mainContent li .navigation_actions {
	position: absolute;
    right: 38px;
    top: 6px;
}

.resource.picture {
	max-width: 160px;
}
.resource.picture img {
	width: 100%;
	height: auto;
}

/*******************************************************************************/

/************************************ Portlets *********************************/

#leftContent .portlet {
  margin-right: 5px;
}

.portlet {
  padding: 0px;
  margin: 0px 0 15px 0px;
}

.portlet h3 {
  border: none;
  background: #495a76;
  color: white;
  padding: 3px 0 2px 10px;
}

.portlet-title {
  margin-top: 0;
}

.portlet a {
  line-height: 17px;
}

.portlet-content {
  padding: 3px 10px;
}

#portlet-language-switcher a {
  display: inline;
  text-transform: uppercase;
}

/*******************************************************************************/

/******************************** Additional stuff *****************************/

.breadcrumb,
.breadcrumb a {
  color: #ababab;
}

#footer, #footer a {
  text-decoration: none;
  color: #ababab;
}

.portlet-entry-date {
	color: gray;
}

.page-ressource-subtitle {
	font-size: 10px;
	font-style: italic;
}

.listing-date {
	color: gray;
}

.appointment-activity-checkbox label {
	width: 300px;
}


.appointment-table {
	border-spacing: 0;
}

.appointment-table-head th {
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
}

.appointment-table-tail th {
	border-top: 1px solid gray;
}



/*******************************************************************************/
div.button_bar_top {
	box-sizing: border-box;
}
input.button, a.button {
	padding: 2px 5px;
	background: #fff;
	font-weight: 400;
}
input.button:hover, a.button:hover {
	background: #ddd;
}
table th {
	background: #fff;
	color: #000;
}
