/** Add css rules here for your application. */
/** Example rules used by the template application (remove for your app) */
h1 {
	font-size: 2em;
	font-weight: bold;
	color: #777777;
	margin: 40px 0px 70px;
	text-align: center;
}

.exclamation{
	background-image: url('images/excl.jpg');
}

.sendButton {
	display: block;
	font-size: 16pt;
}

/** Most GWT widgets already have a style name defined */
.gwt-DialogBox {
	width: 400px;
}

.dialogVPanel {
	margin: 5px;
}

.serverResponseLabelError {
	color: red;
}

/** Set ids using widget.getElement().setId("idOfElement") */
#closeButton {
	margin: 15px 6px 6px;
}

.parentDiv {
	width: 300px;
	min-height: 300px;
	margin: auto;
	position:relative;
	
	
}

.loginTable {
	position: relative;
	width: 300px;
	min-height: 240px;
	border: 1px solid #A7C6F2;
	margin-top: 250px;
	width:100%;
	height:100%;
	padding-bottom: 160px;
	
}

.field {
	width: 100%;
	position: absolute;
}

#loginTable td {
	border: none;
}

#loginTable td button {
	
}

/* styles for fading dialog v */
.loading {
	width: 100%;
	position: relative;
	top: 50%;
	z-index: 1000;
	margin-top: 20%;
	position: absolute;
}

.loading-indicator {
	height: 60px;
	width: 230px;
	background-color: #FFFFFF;
	border-width: 1px;
	border-style: solid;
	border-color: #A9A9A9;
	position: absolute;
	margin-left: 11%;
	margin-top: -7%;
}

.loader-image {
	margin-left: 10px;
	margin-right: 8px;
	margin-top: 15px;
	height: 32px;
	width: 32px;
	float: left;
	top: 25%
	position: absolute;
}

.loader-title {
	font-size =13px;
	position: absolute;
	top: 25%
}

.loader-text {
	font-size =10px;
	position: absolute;
	top: 50%
}
/* styles for fading dialog ^ */
.loginLabel {
	padding-top: 3px;
	font-size: x-small;
	font: normal;
}

.loginButton {
	padding-top: 15px;
}

.myTopPadding {
	padding-top: 3px;
	font-size: x-small;
	font: normal;
}

.flagImage {
	padding-top: 5px;
}

.logout {
	position: absolute;
	right: 60px;
	top: 10px;
	opacity: .80;
	filter: alpha(opacity = 80);
	-moz-opacity: 0.80;
}

.menuBarItem {
	background-color: none;
}

.inactive {
	color: grey;
	font: italic 11px tahoma, arial, verdana, sans-serif !important;
}

.inactive-bold {
	color: grey;
	font: italic 11px tahoma, arial, verdana, sans-serif !important;
	font-weight: bold !important;
}

.applicableInFuture {
	color: blue;
	font: italic 11px tahoma, arial, verdana, sans-serif !important;
}

.applicableInFutureBold {
	color: blue !important;
	font: italic 11px tahoma, arial, verdana, sans-serif !important;
	font-weight: bold !important;
}

.expired {
	color: #f47a44;
	font: italic 11px tahoma, arial, verdana, sans-serif !important;
}

.expired-bold {
	color: #f47a44;
	font: italic 11px tahoma, arial, verdana, sans-serif !important;
	font-weight: bold !important;
}

.bold {
	font-weight: bold !important;
}

.open-position-groups {	
	color: #084B8A !important;
	font-weight: bold !important;
	height: 12px !important;
}

.clearing-open-position-groups {	
	color: #A31636 !important;
	font-weight: bold !important;
	height: 12px !important;
}

.grayedOut {
	color: grey;
}

.headerLeft {
	float: left;
	margin-left: 0px;
}

.headerText {
	float: left;
	margin-left: 0px;
	margin-right: 510px;
	font-family: tahoma, arial, verdana, sans-serif;
	font-size: 11px;
	font-weight: bold;
}

.fieldOpacityTransparent {
	opacity: .70;
	filter: alpha(opacity = 70);
	-moz-opacity: 0.70;
	color: #000000 !important;
}

.business {
	color: blue;
	font-weight: bold;
	font-size: large;
	position: relative;
	right: 20px !important;
	bottom: 0px;
	top: 5px !important;
	text-align: right;
	padding-right:10px;
}

.moveLabel {
	text-align: justify;
}

.x-popup {
	background-color: #E0EBFF;
	padding: 5px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.dirty input{
	background: yellow none;
}

.dirtyImportant input{
	background: yellow none;
}

.dirtyGrid div{
	background-color: rgb(255, 255, 0) !important;
}

body .dirtyGrid td,
body .dirtyGrid td *,
body .dirtyGrid td div {
    background-color: rgb(255, 255, 0) !important;
}

body .dirtyGrid td[cellindex],
body .dirtyGrid td[cellindex] div,
body .dirtyGrid td[cellindex] div * {
    background-color: rgb(255, 255, 0) !important;
}

.treeInactiveTool{
	background: url('images/inactiveTool.png'), linear-gradient(0deg, #D8EBFF 50%, #EDFBFF 50%);
	background-position: center; 
	border-radius: 3px;
}

.treeInactiveToolPressed{
	background: url('images/inactiveTool.png'), linear-gradient(0deg, #a5c2e9 50%, #BED3EF 50%);
	background-position: center; 
	border-radius: 3px;
}

.treeExpandToolbtm{
	background: url('images/plus_icon.gif'), linear-gradient(0deg, #D8EBFF 50%, #EDFBFF 50%);
	background-position: center; 
	border-radius: 3px;
}

.treeCollapseToolbtm{
	background: url('images/minus_icon.gif'), linear-gradient(0deg, #D8EBFF 50%, #EDFBFF 50%);
	background-position: center; 
	border-radius: 3px;
}

/** ---------------------------------------------**/
/** Below are the css styles for the suggest box **/
.suggestStyle {
	font: 12px tahoma, arial, helvetica, sans-serif;
	border: 1px solid rgb(181, 184, 200);
	height: 20px !important;
}

.gwt-SuggestBoxPopup {
	z-index: 999999;
	border: 1px solid rgb(181, 184, 200);
	box-shadow: 1px 1px 1px gray;
	background: white !important;
}

.gwt-SuggestBoxPopup .item {
	width: 100%;
	border: 1px solid white;
	font: 11px tahoma, arial, helvetica, sans-serif !important;
}

.gwt-SuggestBoxPopup .item-selected {
	width: 100%;
	border: 1px dotted;
	font: 11px tahoma, arial, helvetica, sans-serif !important;
	background-color: rgb(223, 232, 246) !important;
}

.gwt-SuggestBoxPopup .suggestPopupTopLeft {
	background: white !important;
	border-top: 1px solid rgb(181, 184, 200);
	border-left: 1px solid rgb(181, 184, 200);
}

.gwt-SuggestBoxPopup .suggestPopupTopRight {
	background: white !important;
	border-top: 1px solid rgb(181, 184, 200);
	border-right: 1px solid rgb(181, 184, 200);
}

.gwt-SuggestBoxPopup .suggestPopupBottomLeft {
	background: white !important;
	border-bottom: 1px solid rgb(181, 184, 200);
	border-left: 1px solid rgb(181, 184, 200);
}

.gwt-SuggestBoxPopup .suggestPopupBottomRight {
	background: white !important;
	border-bottom: 1px solid rgb(181, 184, 200);
	border-right: 1px solid rgb(181, 184, 200);
}
/** ---------------------------------------------**/

.finalReportsToolbarButtonSelectedDaily {
	color: red;	
}
.finalReportsToolbarButtonSelectedMonthly {
	color: blue;	
}
.finalReportsToolbarButtonSelectedYearly {
	color: purple;	
}
.finalReportsToolbarButtonSelectedQuarterly {
	color: green;	
}
.finalReportsToolbarButtonSelectedDefault {
	color: white;	
}

.CodeMirror {
	width: 100%;
    height: inherit !important;
}

.successTextColor {
	color: green;
}

.errorTextColor {
	color: red;
}

.optionalWarningTextColor {
	color: blue;
}

.clearingItemsColor {
	color: #A31636;
}

.clearingItemsColorReadOnly {
	color: #A31636;
	opacity: .70;
	filter: alpha(opacity = 70);
	-moz-opacity: 0.70;
}

.invalidatedItem {
	color: #c4314b;
}

.clearingAccountColor {
	color: #8E132F;
}

.clearingBold {
	color: #A31636;
	font-weight: bold !important;
}
    
.newItem {
	color: #c4314b;
	font-weight: bold !important;
}
    
.reportFilterPanel {
	top: 5px !important;
	left: 5px !important;
}
    
/** Trading Permission, Risk Parameters and other Stuffs. **/

.totalItemsSelectedFont {
	font: 12px tahoma,arial,verdana,sans-serif;
}

.inactiveInvalidatedItem {	
	color: #A87D7D;
	font: italic 11px tahoma, arial, verdana, sans-serif !important;	
}

.fullMatchReconciliation {
	background-color: #abedbb !important;
}

.partialMatchReconciliation {
	background-color: #FFCFB4 !important;
}

.noMatchReconciliation {
	background-color: #FC8585 !important;
}

.manuallyMatchReconcilation {
	background-color: #d5f6dd !important;
}

.suspendedAccount {
	color: #f47a44 !important;
	font: italic 11px tahoma, arial, verdana, sans-serif !important;
}

/**
 * Custom grid row selection handling
 *----------------------------------------------------
 */

.gwt-grid-item-selected > td, 
.gwt-grid-item-selected:hover > td {
	border-top: 2px solid black;
    border-bottom: 2px solid black;
}

.gwt-grid-item-selected > td:first-child {
	border-left: 2px solid black;
}

.gwt-grid-item-selected > td:last-child {
	border-right: 2px solid black;
}
/*----------------------------------------------------*/

.statusBlueBackground {
	color: white;
	background-color: #4677b7 !important;
}

.statusGrayBackground {
	color: white;
	background-color: #777777 !important;
}

.statusOrangeBackground {
	color: white;
	background-color: #da8639 !important;
}

.statusGreenBackground {
	color: white;
	background-color: #80b54b !important;
}

.statusLightGreenBackground {
	color: white;
	background-color: #a5d89e !important;
}

.statusRedBackground {
	color: white;
	background-color: #b80b0b !important;
}

.statusSuspendedBackground {
	color: white;
	background-color: #e34d04 !important;
}

.gwt-grid-balance-code-selected > td, 
.gwt-grid-balance-code-selected:hover > td { 	
	border-top: 1px solid #99bbe8;
}

.custom-tooltip {
    visibility: hidden;
    position: absolute;
    background: #f0f0f0;
    color: gray;
    padding: 2px 5px;
    border-radius: 4px;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 5px;
    white-space: nowrap;
    font-size: 10px;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
    z-index: 1;
}

span:hover .custom-tooltip {
    visibility: visible;
}
