@CHARSET "UTF-8";

/****************************************layout*******************************************************/
html,body {
	margin: 0px;
	padding: 0px;
	font: 10pt Arial, sans-serif;
}

img {
	border: none;
}

#page-container .top {
	height: 100px;
}

#page-container .header {
	height: 100px;
	background: url(../images/massage_header.jpg) top left no-repeat;
}

a#header_link {
	display: block;
	width: 100%;
	height: 100%;
}

.middle {
}

.sidebar {
	float: left;
	clear: left;
	width: 210px;
}

.sidebar-menu {
	margin-bottom: 10px;
	background: url(../images/sidenav_bg.png) right repeat-y;
}

#sidebar-top {
	width: 210px;
	height: 15px;
	float: left;
	margin-top: 5px;
	background: url(../images/corner.png) top right no-repeat;
}

#sidebar-bottom {
	width: 210px;
	height: 15px;
	background: url(../images/corner_bottom.png) right no-repeat;
}

#content-topleft {
	width: 8px;
	height: 9px;
	float: left;
	background: url(../images/top_left.png) no-repeat;
}

#content-top {
	padding-top: 9px;
	margin-left: 218px;
	background: url(../images/top.png) top repeat-x;
}

.content {
	position: relative;
	min-height: 440px;
	padding: 5px 10px 10px 0;
}

.content div.element-list-header {
}

.content div.element-list-footer p {
	margin: 0 0 0.5em 0;
}

.content h1 {
	margin: 0 0 0.5em 0;
	font-size: 14pt;
}

.content h2 {
	margin-top: 0;
	font-size: 12pt;
}

.static_content {
	width: 780px;
}

.static_content h1 {
	color: #326565;
	font-size: 18pt;
	border-bottom: 1px solid #C00000;
	padding-bottom: 10px;
}

.footer {
	clear: both;
	border-top: 1px solid #DDDDDD;
}

.hidden {
	display: none;
}

div.footer {
	text-align: center;
	padding: 20px 0px;
}

div.copyright {
	font-size: 10px;
	margin-top: 10px;
}

/******************************************** General ************************************************/
a {
	text-decoration: none;
	color: blue;
}

a:visited {
	color: blue;
}

a.button {
	display: block;
}

.error, .errors {
	color: red;
}

div.errors {
	width: 760px;
	margin-top: 1em;
}

input.error {
	background-color: #FBCBC4;
}

table.prettyError {
	color: red;
	background-color: #FFF0F0;
	border: 1px solid #FBCBC4;
	margin-bottom: 10px;
}

table.prettyError td {
	vertical-align: middle;
	padding: 8px 10px 8px 0;
}

table.prettyError td.error_icon {
	background: url(../framework/images/warning32.png) no-repeat center;
	width: 32px;
	height: 32px;
	padding: 8px;
}

.error_text {
	margin: 10px 0 10px 40px;
}

div.photo {
	border: 1px solid #DDDDDD;
	padding: 8px;
}

img.photo {
	border: 1px solid #DDDDDD;
}

form {
	margin: 0;
	padding: 0;
}

.good {
	color: #00A000;
}

.bad {
	color: #C00000;
}

.half {
	width: 50%;
}

.banner {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 130px;
	height: 130px;
	background: url('../images/banner_frame.jpg') no-repeat center; 
}

.banner a {
	display: block;
	color: red;
	padding: 20px 20px 0 20px;
	font-size: 11pt;
	font-weight: bold;
	text-align: center;
}

.banner a span.click-here {
	color: blue;
	font-size: smaller;
	font-weight: normal;
}

.ad-column {
	position: absolute;
	top: 10px;
	right: 0;
	width: 190px;
	text-align: center;
}

.ad-column img {
	max-width: 180px;
}

.ad {
	max-width: 180px;
	max-height: 240px;
	text-align: center;
	margin: 0 10px 20px 0;
}

.ad img {
	max-height: 240px;
}

.ad.full, .ad.full img {
	max-height: none;
}

.help {
	display: inline-block;
	background: url("../framework/images/help16.png") no-repeat scroll 0 0 transparent;
	cursor: help;
	height: 16px;
	width: 16px;
}

.marketing {
	font-size: 13px;
	padding: 10px;
	border: 1px solid #678DB0;
	background-color: #F0F0FF;
	width: 345px;
}

.info_icon {
	background: url(../framework/images/info32.png) no-repeat center;
	width: 32px;
	height: 32px;
	margin: 0 8px 0 0;
	float: left;
}

.info_text {
	margin-left: 40px;
}

/**************************************************login-logout*************************************************/

#login-logout-widget {
	max-width: 1500px;
	width: 100%;
	
	position: relative; /* for z-index */
	z-index: 20;
}

#login-logout {
	float: right;
	height: 40px;
	margin-right: 80px; /* to avoid collision with Gavgapi corner */
}

#login-logout .login-logout-left {
	background: url("../images/login_logout_left.png") repeat-y transparent;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 15px;
}

#login-logout .login-logout-left-corner {
	background: url("../images/login_logout_left_corner.png") no-repeat transparent;
	position: absolute;
	bottom: -15px;
	left: 0;
	height: 15px;
	width: 15px;
}

#login-logout .login-logout-right {
	background: url("../images/login_logout_right.png") repeat-y transparent;
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 15px;
}

#login-logout .login-logout-right-corner {
	background: url("../images/login_logout_right_corner.png") no-repeat transparent;
	position: absolute;
	bottom: -15px;
	right: 0;
	height: 15px;
	width: 15px;
}

#login-logout .login-logout-content {
	position: relative;
	min-height: 23px;
	padding: 0 15px;
}

#login-logout .login-logout-bottom {
	background: url("../images/login_logout_bottom.png") repeat-x scroll center bottom transparent;
	position: absolute;
	bottom: -15px;
	height: 15px;
	width: 100%;
}

#login-logout .user-id {
	display: inline-block;
	padding-right: 15px;
}

#login-logout .login-logout-inner {
	background-color: #E8E8E8;
	padding: 5px 5px 0 5px;
}

#login-logout .button {
	cursor: pointer;
	display: inline-block;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	padding: 0;
	margin: 0 2px;
	text-align: center;
	
	border: 1px solid #B0D0FF;
	background-color: #E9EFF4;
	color: blue;
}

#login-logout .button span {
	display: block;
	padding: 0.1em 0.4em;
	line-height: 1.4;
}

#login-logout .login-logout-extra {
	display: none;
	background-color: #E8E8E8;
	padding: 5px 5px 0 5px;
}

#login-logout .login-logout-extra .button {
	display: block;
	margin: 2px 0 0 0;
}

/**************************************************searchbar***********************************************/
.search-widget {
	margin: 15px 0;
	position: relative;
}

.search-widget .search-top {
	background: url("../images/search_top.png") no-repeat right top transparent;
	height: 15px;
}

.search-widget .search-bottom {
	background: url("../images/search_bottom.png") no-repeat right bottom transparent;
	height: 15px;
}

.search-widget .search-content {
	background: url("../images/search_bg.png") repeat-y right center transparent;
	padding: 0 0 0 5px;
}

.search-widget form input.search-text {
	border: 1px solid #878787;
	height: 17px;
	width: 100px;
	padding: 2px 2px 2px 5px;
}

.search-widget form input.search-submit {
	background-color: #DD2427;
	border: 0 none;
	color: #FFFFFF;
	cursor: pointer;
	font-size: 8pt;
	line-height: 26px;
	height: 23px;
	width: 25px;
	margin: 0;
	padding: 0;
}

/**************************************************sidenav*************************************************/
#sidenav {
	width: 210px;
}

#sidenav h3 {
	display: none;
}

#sidenav dl {
	margin: 0 8px 0 0;
}

#sidenav dl.level0 dt {
	font-weight: bold;
	padding-top: 0.5em;
	padding-left: 10px;
}

#sidenav dl.level1 dt {
	margin: 0 0 0 6px;
	padding-top: 0;
	border-bottom: none;
}

#sidenav dl.level0 dd {
	margin-left: 0;
}

#sidenav dl.level1 {
	margin: 0 0 0.5em 0;
}

#sidenav dl.level1 dd {
	border-top: none;
}

#sidenav dt a {
	color: #808080;
	display: block;
}

#sidenav dl.level1 dt a {
	font-weight: normal;
}

#sidenav dt a:hover {
	color: #404060;
}

#sidenav a#selected {
	font-weight: bold;
	color: #606060;
}

/************************************** Common gavgapi elements **************************************/

div.gavgapi, form.gavgapi {
	width: 760px;
}

form.gavgapi input[type=text],form.gavgapi input[type=password],form.gavgapi select {
	width: 200px;
}

form.gavgapi input,form.gavgapi select, form.gavgapi textarea {
	margin-left: 5px;
	margin-right: 5px;
}

form.gavgapi dd {
	margin: 0;
}

span.requiredHint {
	color: red;
	font-size: 9pt;
}

form.gavgapi fieldset {
	border: none;
	border-top: 1px solid #D0D0D0;
	margin: -1em 0 0 0;
	padding: 0;
}

form.gavgapi fieldset dl dt {
	float: left;
	clear: left;
	width: 15em;
	padding: 0 1em 0 1em;
}

form.gavgapi fieldset dl dd {
	float: left;
	padding-bottom: 1em;
}

form.gavgapi fieldset dl dd.required {
	color: red;
	padding-left: .5em;
	float: left;
	margin: 0;
}

form.gavgapi fieldset legend {
	font-weight: bold;
	padding: 1em 1em 1em 0;
}

#fieldset-credentialsGroup,
#fieldset-submitGroup {
	padding-top: 1em;
}

form.gavgapi table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #D0D0D0;
	margin-top: 15px;
}

form.gavgapi th {
	padding: 5px;
	border: 1px solid #D0D0D0;
	background-color: #EEEEEE;
}

form.gavgapi td {
	vertical-align: top;
	padding: 1px 10px 1px 5px;
}

form.gavgapi td label {
	display: block;
	padding-left: 10px;
}

form.gavgapi td label.required {
	background: url(../images/req_star.gif) left 5px no-repeat;
}

form.gavgapi td input[type=text],form.gavgapi select {
	width: auto;
}

form.gavgapi .buttons {
	text-align: center;
	margin-top: 15px;
}

form.gavgapi table.container {
	border: none;
	margin: 0;
}

form.gavgapi td.container {
	padding: 0;
}

form.gavgapi .gender label {
	float: left;
}

form.gavgapi table.gps {
	border: none;
	margin: 0;
}

form.gavgapi table.gps td {
	padding: 0;
}

form.gavgapi td.info {
	padding-top: 15px;
	padding-bottom: 15px;
	text-align: center;
}

form.gavgapi td.spacer {
	padding: 5px;
}

small.fieldNote {
	color: #606060;
	margin-left: 5px;
}

table.list_ops {
	width: 750px;
}

table.list_ops td {
	width: 3em;
	padding-right: 10px;
}

table.list_ops td.paginator {
	width: auto;
	text-align: right;
	padding-right: 0;
}

/* jQuery datepicker */
img.ui-datepicker-trigger {
	vertical-align: middle;
	cursor: pointer;
}

/************************************************** Tables ************************************************/
table.skinny,
table.skinny td,
form.gavgapi table.skinny,
form.gavgapi table.skinny td {
	border: none;
	margin: 0;
	padding: 0px;
}

table.list,table.column_filter {
	min-width: 750px;
	border-collapse: collapse;
	margin: .5em 0;
}

table.list {
	margin-bottom: 1em;
}

table.list th,table.column_filter th {
	border: 1px solid #C0C0C0;
	padding: 0.5em;
	background: #F4F3F3 url(../images/th.png) top repeat-x;
}

table.list td {
	border: 1px solid #C0C0C0;
	padding: 0.2em 0.3em;
}

table.list td.actions {
	text-align: center;
	padding: 0;
}

table.list td#actions select {
	width: 40px;
}

.columnOrder {
	width: 7px;
	height: 1em;
	float: right;
}

table.list th#selected {
	background: #E1E5ED url(../images/th_selected.png) top repeat-x;
}

table.list th:hover,table.list th#selected:hover {
	background: #E8EFF6 url(../images/th_hover.png) top repeat-x;
}

table.list th span {
	float: left;
	text-align: left;
}

th .columnOrder#asc {
	padding-left: 10px;
	background: url(../framework/images/down_arrow.gif) no-repeat center;
}

th .columnOrder#desc {
	padding-left: 10px;
	background: url(../framework/images/up_arrow.gif) no-repeat center;
}

table.column_filter {
	border: 1px solid #C0C0C0;
	margin-bottom: 1em;
}

table.column_filter td {
	padding: 0.2em 0.3em;
}

a.action {
	display: block;
}

a.action_text {
	display: block;
	padding: 0 4px;
	white-space: nowrap;
}

.table_comment {
	width: 760px;
	font-size: 11px;
	color: #B0B0B0;
}

td.r, th.r {
	text-align: right;
	padding-left: 1em;
	white-space: nowrap;
}

/************************************************** Overlib ********************************************/

#overDiv table {
	background-color: #E8F0FF;
	border: 1px solid #678DB0;
}

div.moreAction a {
	display: block;
	padding: 3px;
}

div.moreAction a:hover {
	background: url(../images/topbar.png) top repeat-x;
}

ul.moreAggregate {
	list-style: square;
}

/****** Dialog ******/

div.dialog {
	font-size: 12px;
	font-family: Arial, sans-serif;
	padding: 0;
	overflow: auto;
	display: none;
}

div.dialog div.padding {
	padding: 0 10px;
}

.ui-dialog-title {
	font-size: 13px;
}

.ui-dialog-buttonpane {
	text-align: center;
}
