/*
    Document   : main.css
    Created on : 24.12.2009, 16:51:43
    Author     : mic
    Description:
        Default color and CSS scheme for FinestCRM
		Colors:
			#28495A (main background color)
			#e9ecee (light background content)
			#9eb7c4 (medium background navigation/login)
			#690034 (warnings, missing fields etc.)

*/

body {
    display: block;
	background-color: #28495a;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica;
	font-size: 12px;
	text-align: center;
	margin: 0;
	padding: 0;
}

h1 {
	font-size: 1.4em;
}

h2 {
	font-size: 1.2em;
}

p {
	font-size: 0.9em;
}

p.message {
	margin-left: 16em;
}

#top {
	font-size: 0.9em;
	padding-top: 2em;
	height: 6em;
	color: white;
	text-align: right;
}

#topright {
	float: right;
	width: 64em;
	margin-top: 3.2em;
}

#top a.toplink {
	margin-left: 1em;
	color: white;
	text-decoration: none;
}

#top a.toplink:hover {
	text-decoration: underline;
}

#top .toptext {
	display: inline;
	padding: 0.4em;
	margin-left: 1em;
	color: #28495A;
	background-color: #9eb7c4;
	-webkit-border-radius: 0.3em;
	-moz-border-radius: 0.3em;
}

#finestlogo {
	float: left;
}

#container {
	width: 80em;
	text-align: left;
	margin-right: auto;
	margin-left: auto;
}

#content {
	background-color: #e9ecee;
	min-height: 36em;
	/* hurray to ie6 */
	/*height: auto;
	height: 36em;*/
	margin-bottom: 0.2em;
	text-align: left;
	-webkit-border-bottom-left-radius: 1em;
	-webkit-border-bottom-right-radius: 1em;
	-moz-border-radius: 1em;
}

#rootinformation {
	font-family: "Andale Mono", Monaco !important;
}

#innercontent {
	background-color: transparent;
	padding-left: 2em;
	padding-right: 2em;
	padding-bottom: 2em;
}

#footer {
	color: white;
	clear: both;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}

#footer p {
	line-height: 0.8em;
	font-size: 0.8em;
	padding: 0;
	margin-top: 0.8em;
}

#footer a {
	color: white;
	text-decoration: underline;
}

#logincontent {
	text-align: center;
}

#message {
	position: relative;
	padding: 2px;
	margin-top: -1.8em;
	margin-left: 25.5em;
	border:1px solid red;
	width: 40em;
}

/* login form */
fieldset#login {
	text-align: right;
	width: 22em;
	height: 6em;
	margin-top: 6em;
	margin-left: auto;
	margin-right: auto;
	border: 0;
	padding: 1em;
	background-color: #9eb7c4;
	-webkit-border-radius: 0.9em;
	-webkit-box-shadow: 0.6em 0.6em 0.6em #999999;
	-moz-border-radius: 0.9em;
	-moz-box-shadow: 0.6em 0.6em 0.6em #999999;
}

fieldset#login input {
	margin-top: 0.2em;
	margin-bottom: 0.2em;
	padding: 0.1em;
}

fieldset#login label {
	font-size: 0.9em;
}

input.btnLogin {
	margin-top: 0.6em !important;
}

/* contentform */

fieldset.contentform {
	margin-top: 1.5em;
	width: 74em;
	min-height: 2em;
	border: 1px solid #9eb7c4;
	padding-top: 1em;
	-webkit-border-radius: 1em;
	-moz-border-radius: 1em;
}

fieldset.contentform legend {
	color: #28495A;
	font-weight: bold;
	font-size: 1.2em;
	text-align: left;
}

fieldset.contentform div#contentbuttons {
	padding-top: 1em;
	text-align: right;
}

fieldset.contentform div#mainform {
	text-align: left;
}

fieldset.contentform div#mainform label{
	display: block;
	float: left;
	width: 14em;
	text-align: right;
	padding-top: 0.5em;
	padding-right: 0.4em;
}

fieldset.contentform .requiredcontainer, fieldset.contentform .optionalcontainer {
	margin-left: 14em;
}

fieldset.contentform .requiredcontainer legend {
	font-size: 1em;
	color: #690034;
}

fieldset.contentform .optionalcontainer legend {
	font-size: 1em;
	color: #555555;
}

fieldset.contentform .requiredcontainer fieldset, fieldset.contentform .optionalcontainer fieldset {
	margin-top: 0.5em;
	border: 1px solid silver;
	-webkit-border-radius: 0.5em;
	-moz-border-radius: 0.5em;
}

fieldset.contentform .requiredcontainer fieldset label, fieldset.contentform .optionalcontainer fieldset label {
	text-align: left;
	padding: 0;
	margin: 0;
}

fieldset.contentform div#information {
	font-size: 0.9em;
	text-align: left;
	background-color: silver;
	margin-top: 0.5em;
	padding: 1em;
	-webkit-border-radius: 1em;
	-webkit-box-shadow: 0.2em 0.2em 0.2em #999999;
	-moz-border-radius: 1em;
	-moz-box-shadow: 0.2em 0.2em 0.2em #999999;
}

fieldset.contentform div#information span {
	display: block;
	padding-bottom: 0.2em;
}

.onlylabel {
	line-height: 2.3em;
	margin-left: 0.2em;
}

/*some types */

#newuser {
	padding-top: 2em;
	padding-bottom: 2em;
}

/* give me tables to be happy */

table {
	border: 1px solid silver;
	border-collapse: collapse;
	margin-bottom: 1em;
	font-size: 0.9em;
}

table.product, table.industry, table.legalstate, table.downloads {
	width: 30%;
}

table.user {
	width: 75%;
}

table.company, table.person, table.actionnote, table.help {
	width: 100%;
}

table.list tr, table.help tr, table.downloads tr {
	border-top: 1px solid silver;
}

table.list th {
	background-color: #9eb7c4;
	padding: 0.4em;
}
table.list td, table.help td, table.downloads td {
	padding: 0.1em;
	padding-left: 0.4em;
}

table.help th, table.downloads th{
	padding: 0.1em;
	padding-left: 0.4em;
	color: white;
	background-color: #9eb7c4;
}

table.help td {
	vertical-align: top;
}

table.list input[type=submit] {
	background-color: white;
	border: 1px solid gray;
	font-size: 0.9em;
	-webkit-border-radius: 0.4em;
	-webkit-box-shadow: 0.1em 0.1em 0.2em #999999;
}

/* errorlevel and other neccessary fields */

input[type=text], input[type=password] {
	padding: 0.2em;
	margin: 0.2em;
	font-size: 0.9em;
	line-height: 0.9em;
	-webkit-border-radius: 0.4em;
	-moz-border-radius: 0.4em;
}

input[type=button].small {
	background-color: white;
	border: 1px solid gray;
	font-size: 0.9em;
	-webkit-border-radius: 0.4em;
	-webkit-box-shadow: 0.1em 0.1em 0.2em #999999;
}

select {
	margin-top: 0.5em;
}
.requiredfield {
	color: #690034;
}

.requiredcontent, input[type=text].requiredcontent {
	/*height: 0.9em;*/
}

.optionalfield {
	color: #555555;
}

.panLastEdited {
    float: right;
    width: 260px;
    height: 100px;
    display: block;
}
.panLastEdited .optionalfield {
    font-size: 0.9em;
}

.optionalcontentdisabled {
	background-color: #ededed;
	border: 1px solid silver;
}

.displaylabel {
	clear: both;
	display: block;
	width: 14em;
	height: 1.4em;
	padding-top: 0.2em !important;
	padding-right: 0.4em;
	color: #555555;	
}

.displayfield {
	display: block;
	margin-left: 14em;
	padding-top: 0.2em;
	height: 1.4em;
	width: 60em;
}

.validationerror {
	background-color: #fff0f1;
}

.validationerrornormal {
	color: #690034;
}

.invisible {
	display: none;
}

.importantnote {
	display: block;
	color: #690034;
	margin-left: 14.5em;
	padding: 0.5em;
	width: 50em;
	border: 1px solid #690034;
}

.positivenote {
	display: block;
	color: #28495A;
	margin-left: 14.5em;
	padding: 0.5em;
	width: 50em;
	border: 1px solid #28495A;
}

.bold {
	font-weight: bold;
}

span.callback_status {
	padding: 0.4em;
	border: 1px solid silver;
	color: red;
}

p#tooltips {
	display:none;
}

p.tooltipexplain {
	display: block;
	margin-top: 3px;
	margin-bottom: 3px;
	padding: 4px;
	border: 1px dotted white;
	font-size: 11px;
}

.acomplete { position: relative; z-index: 5; font-size: 10px; background-color: white; width: 308px !important; border: 1px solid silver; }
.acomplete ul, .acomplete li { margin: 0px; padding: 0px; width: 300px; list-style: none; color: #333; }
.acomplete li { padding: 4px; border-top: 1px solid #ccc; width: 300px; }
.acomplete .selected { background-color: #e9ecee; width: 300px; }

.portaldash {
	float: left;
	width: 98%;
	height: 27em;
	padding: 0.7em;
	background-color: #9eb7c4;
	border: 1px solid white;
	overflow: auto;
	margin-right: 1.2em;
	/*-webkit-border-radius: 0.9em;*/
	-webkit-box-shadow: 0.6em 0.6em 0.6em #999999;
	/*-moz-border-radius: 0.9em;*/
	-moz-box-shadow: 0.6em 0.6em 0.6em #999999;
}

.portaldash h2 {
	padding-top: 0;
	margin-top: 0;
	font-size: 1em;
}

.portaldash h3 {
	padding-top: 0;
	margin-top: 0;
	font-size: 0.8em;
}

.portaldash ul li, .portaldash p {
	font-size: 0.8em;
}

.portaldash ul ul li, .portaldash ul li p {
	font-size: 1em;
}
/* turn around checkboxes */
.checkboxlist input{
	margin-top: 0.5em;
	float: left;
}

.checkboxlist td span label {
	text-align: left !important;
}

.listheader {
	font-weight: bold;
	font-size: 14px;
}

.listlabel {
	font-weight: bold;
	width:	25em;
}

.listlabelcontent {
	width: 50em;
}

.wizardbuttons {
	margin-top: 7px;
	text-align: right;
}
