/* =============================== COMMON ========================== */

body {
	font: 13px/130% Arial, Helvetica, sans-serif;
	margin: 0px;

	background: #fcfcfc url(../images/bg_texture.jpg) repeat;  
}

table, form {
	margin: 0px;
	padding: 0px;
}

.lo_top-strip {
	background: #373D41;
	height:37px;
	width: 100%;
}

.lo_top-info {
	width:900px;
	margin:0 auto;
}

.lo_bottom-strip {
	background: #3D82AB;
	border-bottom:4px solid #5C9DC0;

}

/* =============================== HEAD ========================== */

.lo_top-info h1 {
	color:#fff;
	margin:0;padding:8px 0 0 0;
	font-size:18px;
	font-weight: normal
}

.lo_top-info h1 small {
	font-size: 12px;
	font-style: italic;
}

 #links {
	float:right;
	margin-top:8px;
}

 #links a {
	color: #fff;
	text-decoration: none;
	margin: 5px 6px 0 6px;
}
 #links a:hover{
 	text-decoration: underline;
 }
/* =============================== NAVBAR ========================== */

#navbar {
	height: 30px;
	background: #3D82AB;
	width:900px;
	margin:0 auto;
}
#navbar ul {
	margin: 0 0 0 0px;
	padding: 0px 0 0 0px;
	list-style-type: none;
}
#navbar li {
	margin: 0;
	padding: 0px;
	float: left;
}
#navbar .right_li{
	float: right;
}
#navbar a {
	margin: 0px;
	padding: 7px 25px 3px;
	text-decoration: none;
	color: #fff;
	display: block;
	height: 20px;
	font-size: 12px;
	text-transform: uppercase;

}
* html #navbar a {
	padding: 7px 0 3px;
	width: 120px;
	text-align: center;
}
#navbar a.selected {
	background: #5C9DC0;
}

#navbar a.selected:hover {
	background: #5C9DC0;	
}

#navbar a:hover {
	color: #fff;
	background: #5C9DC0;
}

textarea{
	white-space: pre-line;
	box-sizing: border-box;
}
/* =============================== CONTENT ========================== */

#content {
	margin: 4px 0px 4px 0px;
	padding: 10px;
	background: #fff;
	color: #444;
	box-shadow: 0px 0px 1px 0px #bbb;
	width: 880px;
	margin:0 auto;
}
#content h1 {
	font-size: 21px;
	margin: 0px 0 14px;
	padding: 0px;
}
#content h2 {
	font-size: 17px;
	margin: 10px 0px;
	padding: 0px;
}
#content h3 {
	font-size: 15px;
	margin: 17px 0px 0px 0px;
	padding: 0px;
}
#content p {
	font-size: 13px;
	margin: 7px 0px;
	padding: 0px;
}
#content a {
	color: #3D82AB;
	text-decoration: none;
}
#content a:hover {
	text-decoration: underline;
}
input[type="submit"]{
	cursor: pointer;
}
#InsertRecordNotes{
	resize: none;
}
#EditRecordNotes{
	resize: vertical;
}
.centered{
	width: 450px;
	margin: 0 auto;
}
#content > .centered h1{
	margin-top: 10px;
}
.centeredForm{
	text-align:center;
}
.centeredForm form table{ 
	margin: 0 auto;
}
.centeredForm form table table{
	margin: 0;
}
.centeredForm h1{
	margin-left: -265px !important;
	margin-top: 10px !important;
}
.centered h1{
	margin-left: 5px !important;
	
}
#datapage-form{
	text-align: center;
}
.recovery{
	margin-left: 60px;
}

div[name="HeaderErrorMsg"]{
	text-align: center;
}
/*---------Result page---------*/
.result{
	text-align: center;
}
#content .result h1{
	margin-top: 10px;
}
#Mod0InlineAdd{
	float: right;
}

/*---------Details page---------*/
.left_block{
	float:left;
	width:460px;
	padding: 20px 0 30px 15px;
	margin-right: 10px;
	border: 1px solid #D1D6DA; 
}
/*---------Buttons-----------*/
#Mod0CancelRecord{
	float: left;
}
#Mod0EditRecord{
	float: left;
	margin-left: -10px;
}
#Mod0DeleteRecord{
	float: right;
}
/*----------Logs block----------*/
.right_block{
	float:left;
	width:392px;
}
.right_block iframe{
	border:none;
	width:100%;
}
.add_log{
	width: 375px;
	padding: 20px 0px 20px 15px;
	border: 1px solid #D1D6DA;
	border-right: 1px solid #D1D6DA !important;
}
#InsertRecordAttachment{
	width: 340px;
}
.logs_history{
	padding: 20px 15px 21px 15px;
	margin-top: 10px;
	border: 1px solid #D1D6DA;
	overflow-y: auto;
	overflow-x: hidden;
}
.logs_history div[name="DataCtnr"]{
	width: 310px;
    white-space: pre-line;
    overflow-x: auto;
}
.logs_history #RecordMessageTop{
	margin-left: 7px;
}
.add_log h3, .logs_history h3{
	margin-left: 7px;
}
#manage{
	display: none;
}

/*--------Calendar----------*/
div[name="DataCtnr"] span{
	line-height: 1.8;
	white-space: pre-line;
}

/* =============================== FOOTER ========================== */


#cb-footer {
	width: 890px;
	clear: both;
	border-top: 0px solid #a1b5c0;
	color: #777;
	margin: 4px auto;
	padding: 10px 0 10px 10px;
	font-size: 11px;
	text-align: center;
}
#cb-footer p {
	margin: 0 0 5px 0;
	padding: 0;
}
#cb-footer a {
	color: #777;
	text-decoration: underline;
}
#cb-footer a:hover {
	text-decoration: none;
}
#cb-footer p:first-child{
	font-weight: bold;
}

