/*
$Id: layout.css,v 1.49 2009/07/10 20:21:50 gruberroland Exp $

  This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam)
  Copyright (C) 2003  Leonhard Walchshaeusl
  Copyright (C) 2005 - 2009  Roland Gruber

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more detaexils.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

*/

/* CSS layout for LAM */


/**
 * global page layout
 *
 */

h1,h2,h3,h4,p,ul,ol,li,div,td,th,address,blockquote,b,i {
  font-family:Arial,Tahoma,Verdana,sans-serif;
}

h1,h2,h3 { color:#253aa3; }

body {
  background-color:#F5F5F5;
}

/* links */
a {
color:blue;
text-decoration:none;
}

a:visited {
color:blue;
text-decoration:none;
}

a:hover {
color:red;
text-decoration:none;
}

a:active {
color:red;
text-decoration:none;
}

a img {
	border: 0px;
}

fieldset {
background-color:#fff3c8;
border:1px solid #af8800;
padding:0px 15px 15px 15px;
}

legend {
color:blue;
}

table.settingsTab {
  border-width:0px;
  border-style:solid;
  border-color:#9b8523;
  border-collapse:collapse;
  background-color:#ffe27f;
}

td.settingsActiveTab {
  background-color:#fff3c8;
}

table.settingsTab td {
  border: 1px solid;
  border-bottom: 0px solid;
  padding:5px;
}

table.settingsTab input {
  background-position: 2px center;
  background-repeat: no-repeat;
  height:32px;
  background-color:transparent;
  border:0px solid;
}

/**
 * table style for delete.php
 *
 */

/* table preferences */
table.account {
  border-width:0px;
  border-style:solid;
  border-color:#000000;
}

/* color of entry rows */
tr.account {
  background-color:#FFFFEE;
}


/**
 * Color and font definitions for templates/status.php
 *
 */

/* Background olor for the different Status Messages */
div.statusInfo {
  background-color:#a8c3ff;
  border: 1px solid blue;
}

div.statusWarn {
  background-color:#fff2a3;
  border: 1px solid #ffd800;
}

div.statusError {
  background-color:#ffc4ba;
  border: 1px solid red;
}

/* H2 (MessageHeadline) font size, family, color, and some more settings for the different Status Messages */
h2.statusInfo {
  font-size:13pt;
  font-family:Arial,sans-serif;
  margin-left:15px;
  margin-right:15px;
}

h2.statusWarn {
  font-size:13pt;
  font-family:Arial,sans-serif;
  margin-left:15px;
  margin-right:15px;
}

h2.statusError {
  font-size:13pt;
  font-family:Arial,sans-serif;
  margin-left:15px;
  margin-right:15px;
}

/* P (MessageText) font size, family, color, and some more settings for the different Status Messages */
p.statusInfo {
  font-size:11pt;
  font-family:Times,serif;
  margin-left:25px;
  margin-right:25px;
}

p.statusWarn {
  font-size:11pt;
  font-family:Times,serif;
  margin-left:25px;
  margin-right:25px;
}

p.statusError {
  font-size:11pt;
  font-family:Times,serif;
  margin-left:25px;
  margin-right:25px;
}


/* schema browser */

table.schema_oclasses {
	border-left: 1px solid black;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
	border-top: 0;
	margin-bottom: 10px;
	background-color: #eee;
}

table.schema_oclasses td {
	vertical-align: top;
	text-align: left;
	padding-left: 5px;
}

table.schema_attr th {
	background-color: #016;
	padding: 5px;
	color: white;
	font-weight: bold;
	font-size: 125%;
}

table.schema_attr td {
	padding: 5px;
	vertical-align: top;
}

table.schema_attr tr.even {
	background-color: #eee;
}

table.schema_attr tr.odd {
	background-color: #ccc;
}

table.schema_attr tr.highlight{
	background-color: #bcd;
	font-weight: Bold;
}

ul.schema {
	margin: 5px;
	margin-left: 0px;
	padding-left: 20px;
}

ul.schema li {
	margin-left: 0px;
	padding-left: 0px;
}

ul.schema li small {
	font-size: 75%;
	color: #777;
}

ul.schema li small a {
	color: #77c;
}

h4.schema_oclass {
	background: #016;
	padding: 5px;
	margin: 0px;
	margin-top: 8px;
	font-weight: normal;
	border: 1px solid black;
	font-size: 140%;
	color: white;
}

h4.schema_oclass_sub {
	background: #dde;
	border: 1px solid black;
	border-top: 0px;
	font-weight: normal;
	margin: 0px;
	padding: 2px;
	padding-left: 5px;
	font-size: 80%;
}

table.tree tr.login td {
}

table.tree td.links {
	padding: 0px;
	font-size: 10px;
	padding-left: 12px;
	font-size: 10px;
}

table.tree td.links a {
	font-size: 10px;
}

table.tree {
	border: 0px;
}

table.tree img {
	border: 0px;
}
	
table.tree td {
	padding: 2px;
	border: 0px solid black;
}

table.tree tr {
}

table.tree tr.server td.icon {
	width: 14px;
}

table.tree tr.server td {
	padding-top: 15px;
	padding-bottom: 0px;
	vertical-align: top;
	font-size: 20px;
	text-align: left;
}

table.tree td.icon {
	text-align: center;
	padding: 0px;
	width: 14px;
	font-size: 1px;
}

table.tree td.rdn {
	width: 500px;
}

table.tree td.rdn a {
	text-decoration: none;
	color: black;
}

table.tree td.rdn a:hover {
	text-decoration: none;
	color: blue;
}

table.tree td.create {
}

table.tree td.create a {
	text-decoration: none;
	color: black;
}

table.tree td.create a:hover {
	text-decoration: none;
	color: blue;
}


table.tree td.spacer {
	width: 22px;
}

table.tree td.expander {
	text-align: center;
	width: 22px;
	max-width: 22px;
	min-width: 22px;
}

table.tree td span.count {
	color: gray;
	font-size: 85%;
}

h3.tree_title {
	text-align: center;
	margin: 0px;
	padding: 10px;
	color: white;
	background-color: #018;
	border: 1px solid black;
	font-weight: normal;
	font-size: 150%;
}

h3.tree_subtitle {
	text-align: center;
	margin: 0px;
	margin-bottom: 15px;
	font-size: 75%;
	color: white;
	border-bottom: 1px solid black;
	border-left: 1px solid black;
	border-right: 1px solid black;
	background: #018;
	padding: 4px;
	font-weight: normal;
}

table.tree_edit_dn {
	border-collapse: collapse;
	border-spacing: 0px;
	empty-cells: show;
	width: 500px;
}

table.tree_edit_dn input {
	margin: 1px;
}

table.tree_edit_dn input.val {
	font-size: 14px;
	width: 350px; 
	font-family: arial, helvetica, sans-serif;
	background-color: white;
}

table.tree_edit_dn textarea.val {
	font-size: 14px;
	width: 350px; 
	font-family: arial, helvetica, sans-serif;
	background-color: white;
}

table.tree_edit_dn tr td {
	padding: 4px;
	padding-right: 0px;
}

table.tree_edit_dn tr td.attr {
	background-color: #eee;
	vertical-align: top;
}

table.tree_edit_dn tr td.heading {
	border-top: 3px solid #ccc;
	font-weight: bold;
}

table.tree_edit_dn tr td.attr_note {
    text-align: right;
	background-color: #eee;
}

table.tree_edit_dn tr td.attr a {
	text-decoration: none;
	color: black;
}

table.tree_edit_dn tr td.attr a:hover {
	text-decoration: underline;
	color: #016;
}

table.tree_edit_dn tr td.val {
	text-align: left;
	vertical-align: middle;
	padding-bottom: 10px;
	padding-left: 80px;
}


/** When an attr is updated, it is highlighted to indicate such */
table.tree_edit_dn tr.updated_attr td.attr {
	border-top: 1px dashed green;
	border-left: 1px dashed green;
	background-color: #ded;
}

table.tree_edit_dn tr.updated_attr td.attr_note {
	border-top: 1px dashed green;
	border-right: 1px dashed green;
	background-color: #ded;
}

/** An extra row that sits at the bottom of recently modified attrs to encase them in dashes */
table.tree_edit_dn tr.updated_attr td.bottom {
	border-top: 1px dashed green;
}

/** Formatting for the value cell when it is the attribute that has been recently modified */
table.tree_edit_dn tr.updated_attr td.val {
	border-left: 1px dashed green;
	border-right: 1px dashed green;
}

/* Neede to prevent sub-tables (like the one in which jpegPhotos are displayed)
 * from drawing borders as well. */
table.tree_edit_dn tr.updated_attr td table td {
	border: 0px;
}

table.tree_edit_dn tr.updated_attr a {
}

table.tree_edit_dn tr.mod_dn {
	background: #def;
}

table.tree_edit_dn tr.row1 {
	background: #eee;
}

table.tree_edit_dn tr.row2 {
	background: #ccc;
}

form.tree_edit_dn {
	margin: 0px;
	padding: 0px;
}

table.tree_edit_dn_menu {
	font-size: 75%;
}

table.tree_edit_dn_menu td.icon {
	width: 16px;
	text-align: center;
}

span.tree_hint {
	font-size: small;
	font-weight: normal;
	color: #888;
}

table.tree_confirm th {
	background-color: #016;
	padding: 5px;
	color: white;
	font-weight: normal;
}

table.tree_confirm tr td {
	padding: 4px;
}

table.tree_confirm tr.spacer {
	background-color: #ddd;
}

table.tree_confirm tr.even {
	background-color: #ccc;
}

table.tree_confirm tr.odd {
	background-color: #eee;
}

table.tree_confirm tr td.heading {
	text-align: right;
	font-size: 75%;
}

table.tree_confirm td.icon {
	text-align: center;
}

table.tree_delete_confirm {
	width: 76%;
	background-color: #ddf;
	padding: 20px;
	text-align: left;
}

table.tree_create {
	font-size: 75%;
}

table.tree_create td.heading {
	vertical-align: top;
	padding: 10px;
}

table.export_form {
	font-size: 75%;
	width: 400px;
    border-spacing: 10px;
    border-collapse: separate;
}

table.export_form tr td {
	text-align: left;
	vertical-align: top;
	padding: 4px;
}


