.header-top .header-wrapper .btn-group {
	margin-top: 20px;
}


.optionInfo {
	border: 1px solid #0088cc;
	background: #0099dd;

	-moz-border-radius: 10px;
	border-radius: 10px;
	color: white;
	cursor: help;
}

.col_datetime {
	width: 170px;
}

.col_actions {
	width: 100px;
}

.col_actions form {
	display: inline;
}

.col_actions a.image img,
.col_actions input[type="image"] {
	margin-right: 10px;
	height: 16px; width: 16px;
}


/*
 * PATIENTCRM MODULE
 */
html body .patientcrm_treatment_note_list .patientcrm_note .patientcrm_pin_remove {
	width: 18px; height: 18px;

	background: url('../img/icons/close.png');
}

/*
 * AGENDA MODULE
 */

#agenda-contents {
	padding: 1px;
	overflow-x: auto;
	clear: both;
}

div.agenda-header {
	position: relative;

	width: 100%;
	font-size: 25px;

	text-align: center;
}

div.agenda-header form {
	display: inline;
}

div.agenda-header input {
	width: 10ex;
}

div.agenda-header button {
	width: 35px;
}

div.agenda-header a.ui-state-default {
	display: inline-block;

	margin: 4px;
	padding: 5px 0;
	width: 35px;
	text-align: center;
}

div.agenda-header a.ui-state-default .ui-icon {
	margin: 0 4px;
}

div.agenda-header .agenda-range-spec input {
	height: 22px;
	line-height: 22px;

	font-size: 16px;
	padding-left: 4px;
	padding-right: 50px;
	vertical-align: 1px;
}

div.agenda-header .agenda-range-spec button {
	margin-left: -44px;
	margin-right: 2px;
}

div.agenda-header .agenda-user-spec {
	display: block;
	position: absolute;
	top: 0; left: 0;
}

div.agenda-header .btn-group {
	position: absolute;
	top: 0; right: 0;
}

div.agenda-header .btn-group .dropdown-menu {
	text-align: left;
}

div.agenda-header .btn-group .dropdown-menu a {
	font-size: 13px;
}

#agenda_overview_wrap {
	border: 1px solid #ccc;

	font-size: 80%;
}

#agenda_overview_wrap .agenda_overview_wrap2 {
	overflow-y: scroll;
	height: 360px;
}

#agenda_overview_wrap table,
#agenda_overview_wrap thead,
#agenda_overview_wrap tbody,
#agenda_overview_wrap tfoot,
#agenda_overview_wrap tr,
#agenda_overview_wrap td,
#agenda_overview_wrap th {
	margin: 0;
	border: 0;
	padding: 0;
	height: auto; width: auto;
}

#agenda_overview_wrap .agenda_overview_header {
	table-layout: fixed;
}

#agenda_overview_wrap .day_header_list td {
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;

	text-align: center;
}

#agenda_overview_wrap .day_header_list td.day_header_row_header {
	width: 40px;
}

#agenda_overview_wrap tr.whole_day {
	border-bottom: 1px solid #ccc;
}

#agenda_overview_wrap tr.whole_day .event_header {
	border-right: 1px solid #ccc;
}

#agenda_overview_wrap tr.whole_day div.agenda_event_title {
	text-align: center;

	background: #3366cc;
	color: #ffffff;

	-webkit-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;

	overflow: hidden;

	cursor: pointer;
}

#agenda_overview_wrap table.agenda_overview {
	table-layout: fixed;
}

#agenda_overview_wrap td.day_overview_header {
	border-right: 1px solid #ccc;
	width: 40px;

	overflow: hidden;
}

#agenda_overview_wrap td.day_overview_wrap {
	border-right: 1px solid #ccc;
	vertical-align: top;
}

#agenda_overview_wrap .day_overview_wrap2 {
	position: relative;
}

#agenda_overview_wrap .day_background {
	position: absolute;
	top: 0; right: 0px; bottom: 0; left: 0px;
	z-index: -1;
}

#agenda_overview_wrap td.day_overview_header .day_background {
	position: relative;
	top: 0; right: 0px; bottom: 0; left: 0px;
	z-index: -1;
}

#agenda_overview_wrap .day_background .day_background_quarter_2nd_quarter,
#agenda_overview_wrap .day_background .day_background_quarter_4th_quarter { background: #fafafa; }
#agenda_overview_wrap .day_background .day_background_quarter_1st_quarter_line { background: #aaa; }
#agenda_overview_wrap .day_background .day_background_quarter_2nd_quarter_line { background: #ccc; }
#agenda_overview_wrap .day_background .day_background_quarter_3rd_quarter_line { background: #ccc; }
#agenda_overview_wrap .day_background .day_background_quarter_4th_quarter_line { background: #ccc; }
#agenda_overview_wrap .day_background .day_background_quarter_off         { background: #ddd; }

#agenda_overview_wrap td.day_overview_header .day_background .day_background_quarter {
	padding-right: 4px;
	text-align: right;
	overflow: hidden;
}

#agenda_overview_wrap table.day_overview {
	width: 100%;
}

#agenda_overview_wrap table.day_overview tr {
	border: 0;
}

#agenda_overview_wrap .agenda_event_group {
	width: 100%;
}

#agenda_overview_wrap .agenda_event {
	margin: 0 10px;

	background: #3366cc;
	color: #ffffff;

	overflow: hidden;
	cursor: pointer;

	-webkit-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#agenda_overview_wrap .agenda_event_group_col .agenda_event {
	margin-left: 0;
}

#agenda_overview_wrap .agenda_event_group_col_0 .agenda_event {
	margin-left: 10px;
}

#agenda_overview_wrap .agenda_event_active {
	border: 1px solid black;
	margin-top: -1px;
	margin-bottom: -1px;

	background: #ffffcc !important;
	color: #000 !important;
}

#agenda_overview_wrap tr.whole_day td.no_event {
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

#agenda_overview_wrap tr.whole_day td.has_event .agenda_event_active {
	margin: -1px 0;

	background: #ffffcc;
	color: #000;
}

#agenda_overview_wrap .agenda_event_title {
	padding: 1px 5px;
}

#agenda_overview_wrap .agenda_event_title table {
	width: 100%;
	line-height: 14px;
}

#agenda_overview_wrap .agenda_filler {
	cursor: pointer;
}

.agenda_event_loading {
	width: 66px; height: 66px;
	background: url(../img/loading.gif) no-repeat;
}

#event-contents.is-popup {
	position: absolute;
	top: 20px; right: 50px; bottom: 20px; left: 50px;

	border: 1px solid #dddddd;
	padding: 10px;

	background: transparent url(../img/patterns/brillant.png) repeat scroll 0 0;
	overflow: auto;
}

#agenda-container {
	position: relative;
}

.institutemodule_intake_form .institutemodule_issues_table {
	margin-bottom: 10px;
}

.institutemodule_intake_form .institutemodule_issues_column {
	vertical-align: top;
	padding-right: 15px;
}

.institutemodule_intake_form .institutemodule_issues_section {
	font-weight: bold;
	font-size: 180%;
	padding: 5px 0 8px;
}

.institutemodule_intake_form .form-horizontal .institutemodule_issues_table .control-label {
	float: none;
	text-align: left;
	width: auto;
}

.institutemodule_intake_form .form-horizontal .institutemodule_issues_table .controls {
	margin-left: 0;
}

.institute_treatment_options {
	text-align: right;
	vertical-align: top;
}

.institute_treatment_options a img {
	margin: 2px 0 0 10px;
}


/**
 * Person CSS
 */

.person__name_given_initial,
.person__name_family_prefix,
.person__name_maiden_prefix {
	width: 50px;
}

/**
 * Address CSS
 */

.text_adr_nr, 
.text_adr_nr_add,
.text_telnr_area_code {
	width: 50px;
}

.text_adr_postal {
	width: 75px;
}

/**
 * Auto complete
 */
.ac_results {
	border: 1px solid #dddddd;
	padding: 4px;

	background: #fff;

	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;

	z-index: 10000;
}

.ac_results ul {
	margin: 0;
}

.ac_results ul li {
	padding: 3px;
	cursor: pointer;
}

.ac_results .ac_odd {
	background: #f9f9f9;
}

.ac_results .ac_over {
	background: #888;
}

/**
 * Forms
 */
.controls-text-only {
	padding-top: 5px;
}

/**
 * Forums
 */

.utopia-chat-admin .status {
	border-color: #bbbbbf;
	border-bottom: 1px solid #b8b8bf;
	background: #f9f9ff;
}

.utopia-chat-admin p {
	border-color: #bbbbbf;
}

/**
 * Other popups
 */
.minor-popup {
	position: absolute;
	display: none;

	padding: 5px;

	border: 1px solid #333333;

	background: url(../img/patterns/brillant.png);

	-moz-border-radius: 5px;
	border-radius: 5px;
}

.minor-popup form,
.minor-popup select {
	margin: 0;
}
