/* 
    Document   : jquery.css
    Created on : 22-Feb-2011, 17:35:38
    Author     : thomas
    Description:
        This stylesheet contains layout for JQUERY related templates
*/

/* 
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

/***************************************/
/************ JQUERY HACKS  ************/
/***************************************/

/* This is a hack to make sure autocomplete results are on the top of dialog panel */
.ui-autocomplete {
	z-index: 999999999!important;
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
}

/* We allow drop down menu in grid to have some text next to it*/
.ui-pg-selbox {
	display: inline!important;
}

.ui-autocomplete-input {
	z-index: 999999999!important;
}

.ui-autocomplete-category {
	font-weight: bold;
	font-style: italic;
}

.ui-autocomplete-loading {
	background: white url(preloader_16x16.gif) right center no-repeat;
	z-index: 999999999!important;
}


/* Hack for modal dialogs: prevent IE from adding a horizontal scrollbar */
.ui-widget-overlay {
	position: fixed!important;
	_position: absolute!important; /* For IE6 */
}

/* We overwrite padding for jQuery tabs */
.ui-tabs .ui-tabs-panel { padding: 0px!important; }


.documents_grid_container{
	/*min-height: 500px;*/
	overflow:hidden;
	border: none !important;
}



/***************************************/
/********** GENERAL SETTINGS  **********/
/***************************************/

p { padding: 5px 0; }


.hide {
	display: none;
}  

.centeredMain
{
    display: table;
    margin: 0 auto;
    width:  50%;
}

.centered{
    display: table;
    margin: 0 auto;
}

/* top-left rounded corner
NB: this does NOT work with IE < 9.0
*/
.top_left_rounded_corner {
	-webkit-border-top-left-radius: 10px;
	-khtml-border-radius-topleft: 10px;
	-moz-border-radius-topleft: 10px;
	border-top-left-radius: 10px;
}

/* top-right rounded corner */
.top_right_rounded_corner {
	-webkit-border-top-right-radius: 10px;
	-khtml-border-radius-topright: 10px;
	-moz-border-radius-topright: 10px;
	border-top-right-radius: 10px;
}

/* bottom-left rounded corner */
.bottom_left_rounded_corner {
	-webkit-border-bottom-left-radius: 10px;
	-khtml-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-left-radius: 10px;
}

/* bottom-right rounded corner */
.bottom_right_rounded_corner {
	-webkit-border-bottom-right-radius: 10px;
	-khtml-border-radius-bottomright: 10px;
	-moz-border-radius-bottomright: 10px;
	border-bottom-right-radius: 10px;
}

/*  Makes text non selectable */
.non_selectable_text{
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

/* Multiselect menu plugin */
/* Make sure that multiselect button use (nearly) all space available */
.ui-multiselect.expand {
	width: 95% !important;
}
.ui-multiselect-menu.expand {
	width: auto !important;
}

/* Notification plugin --> */
.notification {
    font-family: Arial, Helvetica, clean, sans-serif;
    font-size: large;
    font-weight: bold;
    background-color: rgb(100, 100, 100);
    color: white;
    height:150px;
}
.success {
    font-family: Arial, Helvetica, clean, sans-serif;
    font-size: large;
    font-weight: bold;
    background-color: #acfa58;
    color: black;
}
.fail {
    font-family: Arial, Helvetica, clean, sans-serif;
    font-size: large;
    font-weight: bold;
    background-color: #fe2e2e;
    color: white;
}
/* <--Notification plugin */

/* Search feature */
.search_field_title {
	text-align:right!important;
	padding-right: 20px;
}

/***************************************/
/********* MULTIPOSTING MODULE *********/
/***************************************/

/* Loading message */
.loadingMessage {
	z-index: 999999;
	position: fixed;
    top: 50%;
	left: 50%;
	margin-top: -50px;
	margin-left: -100px;
	background-attachment:fixed;
}

/* Multiblocks colours */
.folded{
    background: #CCFF99 !important;
}
.cancelled{
    background: #FFCCCC !important;
}
.pending{
    background: #B4BAB5 !important;
}
.unknown{
    background: #FFFFFF !important;
}
.old_pending{
    background: #FFFF99 !important;
}
.white{
    background: #FFFFFF !important;
}
.printed{
    background: #CCFFFF !important;
}
.test{
	color: #D01B81 !important;
}

/* Color keys */
.color_key {
	width:20px;
	height:20px;
	border:1px solid #000;
	float:left;
	margin-top: 5px;
	margin-left: 10px;
	margin-right: 2px;
}
.color_key_label {
	height:20px;
	float:left;
	margin: 2px;
	font-style: italic;
	margin-top: 8px;
}

.hover {
	border: solid 1px #FF0000;
	-moz-box-shadow: 1px 1px 5px #FF0000;
	-webkit-box-shadow: 1px 1px 5px #FF0000;
	-ms-filter: progid:DXImageTransform.Microsoft.Shadow(color='#FF0000', Direction=135, Strength=3); /* for IE */
}
.nothover {border: 1px solid #000000;}

#selectable { list-style-type: none; margin: 5px; padding: 0; border:0px;}

/* Multi-block sliding panel */
.slideButton
{
    color:      white;
    font-weight: bold;
}

.slideHeader
{
    height:     20px;
}


.slideBody
{
    background:	#FFF;
    display:	none;
    min-height: 20px;
}

.slidePanel
{
    display: table;
    margin: auto;
    width:  95%;
    overflow: visible;
}

/* Blocks*/
.block_details {
	border: 1px solid #000;
	margin: 0px;
	padding: 0px;
}

.block_details table{
	width: 100%;
	border-spacing: 0px;
}

.smallerfont {
	font-size: 0.8em;
}

.block_details td{
	padding-right: 5px;
}

.block_content
{
    background:	#BBBBBB;
    color:	#000;
    min-height: 20px;
    width:	80%;
    border:	2px;
    border-color: #000;
}

.grid .jqgrow{
    cursor:pointer;
}

.layer1 {
    margin: 0;
    padding: 0;
    width: 100%;
}

.search_panel {
	overflow-y: visible;
    position:relative;
    opacity:0.9;
	-ms-filter:alpha(opacity=90);
	z-index: 10000; /* We make sure that elements display on top of the grid */
}

#search_heading {
    cursor: pointer;
    padding-left: 10px;
    padding-right: 10px;
}
#search_content {
    padding: 10px;
}

.block_hidden_details {
	display:none;
}

.multiblock_hidden_details {
	display:none;
}

/* Bookmark buttons */
.bookmark_button {
	height:150px;
	width:30px;
	position:fixed;
	right:0%;
	top:200px;
	margin: 0px auto;
	display:block;
	cursor:pointer;
	z-index: 99999999 !important; /* Appears on top of everything, included the main menu */
}

/*
.bookmark_button:hover {
	border: 1px solid red;
}
*/

#scan_panel {
	position:fixed;
	right:0%;
	top:200px;
	background-color:#999999;
	height:150px;
	width: 0px;
	z-index: 10001; /* appears on top of search panel */
}

#force_panel {
	position:fixed;
	right:0%;
	top:200px;
	background-color:#999999;
	height:150px;
	width: 0px;
	z-index: 10001; /* appears on top of search panel */
}

#scan_feedback {
	position:fixed;
	right:0%;
	height:100px;
	width: 400px;
	z-index: 10001; /* appears on top of search panel */
	display:none;
	cursor: pointer;
}
#scan_feedback_content {
	margin-top:20px;
	margin-left:30px;
	margin-right:30px;
	margin-bottom:50px;
	cursor: pointer;
	font-weight: bold;
	color: #FFFFFF;
	font-size: 16px;
}

#scan_panel_content {
	width:290px;
	margin-top:20px;
	margin-left:50px;
	margin-right:50px;
	margin-bottom:50px;
}
#force_panel_content {
	width:290px;
	margin-top:20px;
	margin-left:50px;
	margin-right:50px;
	margin-bottom:50px;
}

.watermark_on {
	color: #CCCCCC;
}

/* Makes tab text vertical and horizontally centered*/
.vertical_text {
	height: 30px;
	width: 150px;
	line-height: 30px;
	text-align: left;
	font-family: Arial, Helvetica, clean, sans-serif;
	-moz-transform:rotate(90deg);
	-moz-transform-origin: bottom left;
	-webkit-transform: rotate(90deg);
	-webkit-transform-origin: bottom left;
	-o-transform: rotate(90deg);
	-o-transform-origin:  bottom left;
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
	font-size: 14px;
	display: block;
	position: relative;
	color: #FFFFFF;
}

/********************************************/
/********* PRINCIPAL REPORTS MODULE *********/
/********************************************/

.pr_hover {background: #F39814; color: #FFFFFF;}
.pr_nothover {background: #FFFFFF;}
.pr_form {margin-top: 50px; width: 70%; overflow: visible!important;}
#pr_selectable { list-style-type: none; margin-right: 5px; padding: 0px;}
#pr_selectable li { margin: 3px; padding:3px; height: 18px; overflow:hidden; }



/********************************************/
/********* ONLINE STATEMENTS MODULE *********/
/********************************************/

#switch_panel {
	position:fixed;
	right:0%;
	top:200px;
	height:150px;
	width: 0px;
	z-index: 10001; /* appears on top of search panel */
}


#switch_panel_content {
	width: 100%;
	height: 90%;
}

.vertically_aligned {
    display: table-cell;
    vertical-align: middle;
}

.deactivated_section {
	filter:alpha(opacity=50)!important; /* IE */
    opacity: 0.5!important; /* Safari, Opera */
    -moz-opacity:0.50!important; /* FireFox */
}

.activated_section {
	filter:alpha(opacity=100)!important; /* IE */
    opacity: 1!important; /* Safari, Opera */
    -moz-opacity:1!important; /* FireFox */
}

#documents_list .ui-selecting {
	background: #FECA40;
}

#documents_list .ui-selected {
	background: #F39814;
	color: white;
}

#documents_list {
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 95%;
}

#documents_list li {
	margin: 3px;
	 padding: 0.4em;
}

#documents_list li:hover {
	cursor: pointer
}

.hover_link a:hover {
	text-decoration: none;
}

/* Hover effect on grid */
#os_panel .ui-jqgrid .ui-jqgrid-bdiv .ui-state-hover {
	background-color:#AFDCEC !important;
}

#os_panel .ui-jqgrid .ui-jqgrid-bdiv .ui-state-highlight {
	background-color:#AFDCEC !important;
}

/* Normal look for links */
a.link:link {
	color: #0000FF!important;
	text-decoration: underline;
}
a.link :active {
	color: #FF0000!important;
	text-decoration: underline;
}
a.link:visited {
	color: #800080!important;
	text-decoration: underline;
}
a.link:hover {
	text-decoration: none;
}

/* Hidden look for links */
a.is_hidden_link:link {
	color: #878686 !important;
	text-decoration: underline;
}
a.is_hidden_link :active {
	color: #878686 !important;
	text-decoration: underline;
}
a.is_hidden_link:visited {
	color: #878686 !important;
	text-decoration: underline;
}
a.is_hidden_link:hover {
	color: #878686 !important;
	text-decoration: none;
}


/******************************************/
/********* DOCUMENTS VIEW MODULE  *********/
/******************************************/
#tool_bar_grid {
    padding-top: 5px;
}

#tool_bar_grid .tool_block_grid {
	float: left;
	margin-left: 5px;
	margin-right: 5px;
        cursor: pointer;
        padding-top: 3px;
}
.is_hidden{
    color: #878686 !important;
}

.is_unread td{
    font-weight:bold !important;
} 

/*************************************************/
/********* CONFIRM POPUP DIALOG BOX CSS  *********/
/*************************************************/
#confirmOverlay{
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	background: -moz-linear-gradient(rgba(11,11,11,0.1), rgba(11,11,11,0.6)) repeat-x rgba(11,11,11,0.2);
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(11,11,11,0.1)), to(rgba(11,11,11,0.6))) repeat-x rgba(11,11,11,0.2);
	z-index:100000;
}
#confirmBox{
	background:#e5e5e5;
	width:460px;
	position:fixed;
	left:50%;
	top:50%;
	margin:-130px 0 0 -230px;
	border: 1px solid rgba(33, 33, 33, 0.6);
	-moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.6) ;
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.6) ;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.6) ;
	border-radius: 3px;
}
#confirmBox h1,
#confirmBox p{
	font:26px/1 'Cuprum','Lucida Sans Unicode', 'Lucida Grande', sans-serif;
	background: #f5f5f5;
	padding: 18px 25px;
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
	color:#000;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}
#confirmBox h1{
	letter-spacing:0.3px;
	color:#333;
}
#confirmBox p{
	background:none;
	font-size:16px;
	line-height:1.4;
	padding-top: 35px;
}
#confirmButtons{
	padding:15px 0 25px;
	text-align:center;
}
#confirmButtons .greenBtn, #confirmButtons .greyBtn, #confirmButtons .redBtn {
	margin: 0px 4px 0px 0px;
}