/*
 * Stylesheet
 */ 
 
body {
  padding-top: 10px;
  background: url("../img/bg.jpg") repeat-x top left #B7E2E9;
  margin: 0px;
  font-family: Trebuchet MS;  
  font-size: 14px; 
  text-align: center; 
  color: #426168;  
}

#main {
  background: url("../img/content-repeat-bg.jpg") repeat-y top left;
  width: 810px;
  margin-left: auto;
  margin-right: auto;  
}

#content {
  background: url("../img/content-bg.jpg") no-repeat top left;
  min-height: 260px;
  height: auto !important;
  height: 260px;  
}

#user_login_info {
  clear:both;
  position:absolute;
  left: 15px;
  top: 40px;
  font-size: 12px;
  font-weight: bold;
  z-index: 100;
  /*border: 1px solid red; */
}

#user_login_info div {
  height: 50px;
  display: inline;
  float: left;
  text-align: left;
  margin-right: 5px;
 /* border: 1px solid black;  */
}

#user_login_info img {
  border: 3px solid #C7E9EB;
}

.spacer {
  clear: both;
}


table.conversation-listing {
  width: 100%;
  /* border-top: 1px solid #DEEEF1; */
  border-collapse: separate;
  border-spacing: 2px;  
}

table.conversation-listing th {
  font-weight: bold;
  text-align: left;
  padding: 2px 0px 2px 10px; 
  font-size: 13px;
  border-bottom: 2px solid #DEEEF1;
  background: url("../img/th-bg.jpg") repeat-x top left #EBF4F5;  
}

table.conversation-listing td.message {
  padding: 2px 0px 2px 20px; 
  font-size: 13px;  
}


/* Footer */


#bottom {
  clear: both;
  background: url("../img/bottom-repeat-bg.jpg") repeat-y top left;
}

#bottom-content {
  background: url("../img/bottom-bg.jpg") no-repeat top left;
  min-height: 50px;
  height: auto !important;
  height: 50px;  
  padding: 10px 20px 10px 20px;
  text-align: left;
}

#footer {
  background: url("../img/footer.jpg") no-repeat top left;
  height: 20px;
  clear: both;
}


/* Navigation */

#navi {
  height: 30px;
  position: relative;
}

#navi ul {
  margin: 0px;
  padding: 5px 0px 0px 15px;
}

#navi ul li {
  list-style: none;
  float: left;
  display: block;
  margin: 0px 15px 0px 0px;
}

#navi ul li.selected a {
  color: #BD3737;
}

#navi ul li a {
  text-decoration: none;
  color: #79AAB5;
  font-weight: bold;
  font-size: 15px;
}

#navi ul li a:hover {
  text-decoration: underline;
}



/* Content */

.datetime {
  font-size: 11px;
  color: #000000;
}

.ingress {
  color: #2E6594;
}

.black {
  color: #000000;
}

.small {
  font-size: 13px;
}

#text-content {
  text-align: left;
  padding-left: 15px;
  padding-right: 250px;
}

h1 {
  padding: 65px 0px 10px 0px;
  color: #BD3737;
  font-size: 24px;
  position: relative;
}

/* Help icon */
h1 span {
  font-size: 13px;
  position: absolute;
  right: 10px;
  cursor: pointer;
}

h1 span.subheader {
  font-size: 13px;
  color: black;
  font-weight: normal;
  position: relative;
  left: 0px;  

}

h2 {
  padding: 10px 0px 10px 0px;
  color: #BD3737;
  font-size: 23px;
  position: relative;
}

h3 {
  color: #3F83BC;
  font-size: 16px;
  padding: 0px 0px 0px 0px;
  margin: 5px 0px;
}

h3 span {
  color: #3F83BC;
  font-size: 13px;
  font-weight: normal;
}

h4 {
  color: #A03131;
  font-size: 16px;
  font-weight: bold;
  padding: 0px 0px 0px 0px;
  margin: 0px 0px 15px 0px;
}

h4 a {
  color: #A03131;
  text-decoration: underline;
}

h4 a:hover {
  color: #BA4242;
  text-decoration: underline;
}

a {
  color: #17906F;
  text-decoration: underline;
}

a.selected_link {
  font-weight: bold;
}

a:hover {
  color: #18A27D;
  text-decoration: underline;
}

#main-content {
  padding: 10px 10px 50px 40px;
  position:relative;  
}

#right {
  padding: 10px;
  position: absolute;
  left: 570px;
  width: 200px;
  margin: 0;
}

.content_3 {
  float: left;
  width: 246px;
  margin-left: 0px;
  height: auto;
  display: block;
  padding-bottom: 20px;
}

.own_content_3 {
  float: left;
  width: 246px;
  margin-left: 0px;
  height: auto;
  display: inline;
  padding-bottom: 20px;
}


#left_side {
  float:left;
  width: 200px;
  height: auto;
}

#right_side {
  float:left;
  width: 480px;
  height: auto;
  margin-left: 10px; 
}


/* Footer content */

.footer_3 {
  float: left;
  width: 246px;
  margin-left: 5px;
  height: auto;
  display: block;
  color: #2E6594;
  padding-bottom: 10px;
}

.footer_2 {
  float: left;
  width: 346px;
  margin-left: 5px;
  height: auto;
  display: block;
  color: #2E6594;
  padding: 0px 20px 10px 0px;
}






table {
  border-collapse: collapse;
  border-spacing: 0px;
}

th {
  font-weight: bold;
  text-align: left;
  padding-right: 20px; 
  font-size: 13px;
}

td {
  padding-right: 10px;  
  font-size: 13px;  
}

table.listing {
  width: 100%;
  border: 1px solid #DEEEF1;  
  border-collapse: separate;
  border-spacing: 2px;  
}

table.listing th {
  font-weight: bold;
  text-align: left;
  padding: 2px 5px 2px 5px; 
  font-size: 13px;
  border-bottom: 2px solid #DEEEF1;
  background: url("../img/th-bg.jpg") repeat-x top left #EBF4F5;  
}

table.listing td {
  padding: 2px 5px 2px 5px; 
  font-size: 13px;  
}

table.listing td.summary_hdr {
  height: 20px;
  background: url(../img/tabs-bg.gif) repeat-x;
  font-weight: bold;

}

input.text {
  border: 1px solid #71a3ae;
  font-family: Trebuchet MS;  
  font-size: 13px; 
  background: #ffffe3; 
  padding: 2px;
  width: 200px;
}

input.longtext {
  border: 1px solid #71a3ae;
  font-family: Trebuchet MS;  
  font-size: 13px; 
  background: #ffffe3; 
  padding: 2px;
  width: 300px;
}

input.text:focus {
  border: 1px solid black;
}

input.button {
  border: 2px outset #DEEEF1;  
  background: #EBF4F5 url("../img/button-bg.jpg") repeat-x;    
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  font-size: 13px;  
  margin-right: 2px;
}

textarea {
  border: 1px solid #71a3ae;
  font-family: Trebuchet MS;  
  font-size: 13px; 
  background: #ffffe3; 
  padding: 2px;
  width: 300px;
  height: 100px;
}

textarea:focus {
  border: 1px solid black;
  font-family: Trebuchet MS;  
  font-size: 13px;   
}

select {
  background: #ffffe3; 
  border: 1px solid #71a3ae;    
}



.error {
  color: #de3d5f;
  font-weight: bold;
  padding: 10px 0px 10px 0px;
}

button {
  border-top: 2px solid #F5F9FA;  
  border-right: 2px solid #7B8385;  
  border-bottom: 2px solid #7B8385;  
  border-left: 2px solid #F5F9FA;        
  background: #EBF4F5 url("../img/button-bg.jpg") repeat-x;    
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  font-size: 13px;  
  margin-right: 2px;
}

.submit {
  border-top: 2px solid #F5F9FA;  
  border-right: 2px solid #7B8385;  
  border-bottom: 2px solid #7B8385;  
  border-left: 2px solid #F5F9FA;  
  background: #EBF4F5 url("../img/button-bg.jpg") repeat-x;    
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  font-size: 13px;  
  margin-right: 2px;
}

button.red {
  border-top: 2px solid #FBD5C8;  
  border-right: 2px solid #864128;  
  border-bottom: 2px solid #864128;  
  border-left: 2px solid #FBD5C8; 
  background: #FDECE2 url("../img/button-bg-red.jpg") repeat-x;   
}

button.green {
  background: #ECFFEC url("../img/button-bg-green.jpg") repeat-x;   
  border-top: 2px solid #B8F8BB;   
  border-right: 2px solid #0B8110;   
  border-bottom: 2px solid #0B8110;   
  border-left: 2px solid #B8F8BB;         
}

fieldset {
  border: 2px solid #DEEEF1;  
  padding: 10px;
  margin-top: 0;
}

legend {
  color: #BD3737;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 10px; 
}

.accept {
  background: #EBF6E5 url("../img/icon_accept.gif") no-repeat 3px 3px;
  cursor: pointer;
}

.stop {
  background: #F9ECEC url("../img/icon_stop.gif") no-repeat 3px 3px;
  cursor: pointer;
}

/* Family tree */

.family-tree {
  background: #DEEEF1;  
  padding: 0px;
}

.family-tree table {
  width: 100%;  
  border-collapse: separate;
  border-spacing: 4px;
}

.family-tree td {
  padding: 10px;
  background: #ffffff;
  text-align: center;
}

.family-tree select {
  width: 100%;
}

/* File browser */

.filebrowser {
  height: 320px;
  width: 300px;
  border: 1px solid #71a3ae;
  font-family: Trebuchet MS;  
  font-size: 13px; 
  background: #ffffe3; 
  padding: 2px; 
  overflow: auto;   
}

.fileinfo {
  margin-bottom: 10px;
}

.filepreview {
  height: 260px;
  width: 300px;
  font-family: Trebuchet MS;  
  font-size: 13px; 
  padding: 0px;  
  overflow: auto;
}

.filepreview img {
  border: 1px solid black;
}

img.datepicker_trigger {
	border: none;
	cursor: pointer;
}



/* Messages */


.msg_level_info {
	background: url("../img/icon-info-bg2.gif") #F4F7FB repeat-x;
}
 
.msg_level_info_container {
  margin-top:5px;
  margin-bottom:3px;    
	background: #F4F7FB;
	border: 1px solid #C9D9EA;
	display: block;	
	padding:2px;
} 
 
.msg_level_info_content {
  padding: 10px 10px 0px 30px ;
  background: url("../img/icon-info.gif") no-repeat 10px 11px;
	color: #000000;	
	display: block;	
	font-weight: bold;	
	margin-bottom: 10px;	
}  
  
 
.msg_level_success {
	background: url("../img/icon-success-bg2.gif") #F6FFF6 repeat-x;
}

.msg_level_success_content {
  padding: 10px 10px 0px 30px ;
  background: url("../img/icon-success.gif") no-repeat 10px 11px;
	color: #000000;	
	display: block;	
	font-weight: bold;	
	margin-bottom: 10px;
}

 
.msg_level_success_container {
  margin-top:5px;
  margin-bottom:3px;  
	background: #F6FFF6;
	border: 1px solid #B8E3B8;
	display: block;	
	padding: 2px 2px 2px 2px;
} 
  
.msg_level_warn {
	background: url("../img/icon-warn-bg2.gif") #FFFFF1 repeat-x;
}
 
.msg_level_warn_container {
  margin-top:5px;
  margin-bottom:3px;    
	background: #FFFFF1;
	border: 1px solid #FBEDB8;
	display: block;	
	padding:2px;
} 
  
.msg_level_warn_content {
  padding: 10px 10px 0px 30px ;
  background: url("../img/icon-warn.gif") no-repeat 10px 11px;
	color: #000000;	
	display: block;	
	font-weight: bold;
	margin-bottom: 10px;  	
}  
 
.msg_level_error {
	background: url("../img/icon-error-bg2.gif") #FFF1F1 repeat-x;
}
 
.msg_level_error_container {
  margin-top:5px;
  margin-bottom:3px;    
	background: #FFF1F1;
	border: 1px solid #F1B8B8;
	display: block;	
	padding:2px;
} 
  
.msg_level_error_content {
  padding: 10px 10px 0px 30px ;
  background: url("../img/icon-error.gif") no-repeat 10px 11px;
	color: #000000;	
	display: block;	
	font-weight: bold;	
	margin-bottom: 10px;	
}  
 

/* Help popup */

#help {
  width: 500px;
  height: 100px;
  position: absolute;
  z-index: 10000;
  left: 110px;
  top: 110px;
  padding: 1px;
  margin: auto;
  cursor: move;
/*  display: none; */
}

.help_top_row {
  height: 32px;
  width: 500px;
}

.help_top_left {
  background: url("../img/help_top_left.gif") no-repeat;
  height: 32px;
  width: 20px;
  float:left;
}

.help_top {
  background: url("../img/help_top.gif") repeat-x 20px 0px;
  height: 32px;
  width: 460px;
  float:left;  
}

.help_top_right {
  background: url("../img/help_top_right.gif") no-repeat right;
  height: 32px;
  width: 17px;
  float:left;
  position: relative;
}

.help_top_right a {
  position: absolute;
  right: 10px;
  top: 4px;
  color: #BD3737;
  font-weight: bold;
}

.help_center_row {
  width: 497px;
  padding: 0px;
  text-align: left;
  background: url("../img/help_center_left.gif") repeat-y left #FFFFE3;  
}

.help_center_row h2 {
  margin: 0px 0px 10px 0px;
  padding: 0px;
  font-size: 14px;
  border-bottom: 1px solid #B8B893;
}


.help_center_right {
  background: url("../img/help_center_right.gif") repeat-y top right;
  padding: 0px 10px 10px 10px;
  color: #000000;
}

.help_bottom_row {
  height: 32px;
  width: 500px;
}

.help_bottom_left {
  background: url("../img/help_bottom_left.gif") no-repeat;
  height: 32px;
  width: 20px;
  float:left;
}

.help_bottom {
  background: url("../img/help_bottom.gif") repeat-x 20px 0px;
  height: 32px;
  width: 460px;
  float:left;  
}

.help_bottom_right {
  background: url("../img/help_bottom_right.gif") no-repeat top right;
  height: 32px;
  width: 17px;
  float:left;
}


.help {
  background: url("../img/icon_info.gif") no-repeat 3px 3px;
  float: right;
}

#help_content th {
  white-space: nowrap;
  font-weight: bold;
  color: #000000;
}

#help_content th span {
  color:#BD3737;
  font-weight:bold;
}

.mandatory {
  color:#BD3737;
  font-weight:bold;
}



/* Tabs */

/* begin css tabs */

ul#tabnav { /* general settings */
  text-align: left; /* set to left, right or center */
  margin: 1em 0 0 0; /* set margins as desired */
  font: bold 11px verdana, arial, sans-serif; /* set font as desired */
  border-bottom: 1px solid #79AAB5; /* set border COLOR as desired */
  list-style-type: none;
  padding: 3px 10px 3px 10px; /* THIRD number must change with respect to padding-top (X) below */
}

ul#tabnav li { /* do not change */
  display: inline;
}

body#tab1 li.tab1, body#tab2 li.tab2, body#tab3 li.tab3, body#tab4 li.tab4 { /* settings for selected tab */
  border-bottom: 1px solid #fff; /* set border color to page background color */
  background-color: #fff; /* set background color to match above border color */
}

body#tab1 li.tab1 a, body#tab2 li.tab2 a, body#tab3 li.tab3 a, body#tab4 li.tab4 a { /* settings for selected tab link */
  background-color: #fff; /* set selected tab background color as desired */
  color: #000; /* set selected tab link color as desired */
  position: relative;
  top: 1px;
  padding-top: 4px; /* must change with respect to padding (X) above and below */
}

ul#tabnav li a { /* settings for all tab links */
  padding: 3px 4px; /* set padding (tab size) as desired; FIRST number must change with respect to padding-top (X) above */
  border: 1px solid #79AAB5; /* set border COLOR as desired; usually matches border color specified in #tabnav */
  background-color: #F5FAFD; /* set unselected tab background color as desired */
  color: #426168; /* set unselected tab link color as desired */
  margin-right: 0px; /* set additional spacing between tabs as desired */
  text-decoration: none;
  border-bottom: none;
}

ul#tabnav a:hover { /* settings for hover effect */
  background: #E9F3F4; /* set desired hover color */
}

ul#tabnav a.active { /* settings for hover effect */
  background: #fff; /* set desired hover color */
  border-bottom:none;
  padding-bottom: 4px;
  background: url(../img/tab-active-bg.gif) repeat-x;  
}

div#tabs {
  height: 20px;
  background: url(../img/tabs-bg.gif) repeat-x;
}


.editor_area {
  border: none; 
  background:transparent;
}

/* Override for editor */
.mceEditor td  {
  padding-right: 0px;  
  padding-left: 0px;
}

img {
  border: 3px solid #ECF4F6;
}

.infobox {
  padding: 10px;
  background: #F2F6F7;
  margin-top: 5px;
}
