/*********************************************************************
 *
 * HTML Element Styles
 *
 ********************************************************************/
h2 {
	margin-right: 15px;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	font-size: 22px !important;
}

input[type="button" i]:disabled, 
input[type="submit" i]:disabled,
input[type="reset" i]:disabled,
input[type="text" i]:disabled, 
textarea:disabled, 
input[type="file" i]:disabled::-webkit-file-upload-button, 
button:disabled, select:disabled, 
optgroup:disabled, 
option:disabled, 
select[disabled] > option {
    background-color: #eee;
    opacity: 1;
}

/*********************************************************************
 *
 * Frame Styles
 *
 ********************************************************************/
.header {
	background-color: #F0F8FF;
	margin: 0px 0px 0px 0px;
	height: 90px;
	border-bottom: 1px solid #eee;
}

.header h1 {
	font-size: 2em;
	font-weight: bold;
	color: #FFFFFF;
	margin: 0px 0px 0px 0px;
	text-align: left;
}

.header .image1 {
	border: none;
	float: left;
	margin-top:20px;
}

.header .image2 {
	border: none;
	float: right;
	margin-right: 15px;
	margin-top: 10px;
	height: 90px;
}

.welcomePanel {
	/* import for overriding styles places directly on the element by GWT */
	right: 15px !important;
	left: unset !important;
	padding-bottom: 10px;
}

.footer {
	background-color: #1A398A;
}


.navigation {
	border-right: 1px solid black;
}

.navigation h3 {
	margin: 10px 10px 5px 10px;
	font-size: 16px;
	font-weight: bold;
}

.navigation a {
	margin-left: 20px;
	cursor: pointer;
}

.content {
	margin: 10px 15px;
	display:block;
}

.content h3 {
	margin-top: 0px;
}




/*********************************************************************
 *
 * TODO move to cellTable.gss
 *
 ********************************************************************/
th.com-google-gwt-user-cellview-client-CellTable-Style-cellTableHeader {
    cursor: default;
}
/** Pairs with above to ensure cursor is pointer when column is sortable*/
th.com-google-gwt-user-cellview-client-CellTable-Style-cellTableHeader.com-google-gwt-user-cellview-client-CellTable-Style-cellTableSortableHeader {
	cursor: pointer;
}

/*********************************************************************
 *
 * BreadcrumbGadget.java
 *
 ********************************************************************/
.breadcrumbItem {
	margin-right: 5px;
}

.breadcrumbSeperator {
	margin-right: 5px;
	color: blue;
}
 
/*********************************************************************
 *
 * GWT Standard Style Classes
 *
 ********************************************************************/
 
.gwt-Label {
	font-weight: bold;
	margin-right: 10px;
}

.gwt-TextBox, .gwt-ListBox, .gwt-PasswordTextBox, .gwt-DateBox {
	margin-left: 10px;
	margin-right: 15px;
	margin-bottom: 5px;
}

.gwt-TextArea, .gwt-DateBox, .gwt-RadioButton input {
	margin-left: 10px;
	margin-bottom: 5px;
}

.gwt-Anchor {
	cursor: pointer;
}

.gwt-PopupPanel {
	visibility: hidden !important;
}
 
/*********************************************************************
 *
 * General Style Classes
 *
 ********************************************************************/


.lookupLink {
	margin-left: 10px;
}

.instructionalText {
	font-size: 12px;
	margin-bottom: 15px;
}

.projectYear {
	margin-left: 10px;
	margin-bottom: 20px;
}

.actionButtons {
	margin-top: 10px;
	margin-bottom: 10px;
}

.actionButtons .actionButton {
	margin-right: 10px;
}

.gwt-Button.actionButton, .confirmButton {
	background: 0;
	background-color: #F4BD16;
}

.confirmButton {
	margin-right: 30px;
	min-width: 40px;
}


/*********************************************************************
 *
 * Error Panel Styles
 *
 ********************************************************************/

.errorList {
	width: 600px;
	border: 2px solid red;
	margin-bottom: 15px;
}

.errorList td {
	padding: 10px;
}

.errorItem {
	list-style: circle;
}

.errorItem li {
	margin-left: 15px;
}


.gwt-TextBox.error, 
.gwt-TextArea.error, 
.gwt-DateBox.error, 
.gwt-Anchor.error,
.gwt-PasswordTextBox.error, 
.gwt-RadioButton.error, .gwt-HTML.error,
.gwt-HorizontalPanel.error {
	background-color: #FFCCCC;
}

.gwt-ListBox.error {
	color: #FF0000;
}

.gwt-ListBox.error option {
	color: #000000;
}

.gwt-ListBox.errorMultiselect {
	color: #FF0000;
}

.errorPanel {
	border: 1px solid red;
}

/*********************************************************************
 *
 * Form Grid Styles (@deprecated)
 *
 ********************************************************************/
.formGrid td {
	padding-right: 10px;
}

.formGrid .gwt-Label {
	margin-left: 10px;
	font-weight: normal;
}

/*********************************************************************
 *
 * ModalDialog.java, 
 * ErrorDialog.java
 * ErrorDialogContents.java 
 * MentorSearchDialog.java
 *
 ********************************************************************/
.gwt-DialogBox.modalDialog .dialogMiddleCenter {
	padding: 0;
}

.dialogContents {
	margin: 5px 10px;
}

.dialogMessage, .removeDialog .objectDetails {
	margin-bottom: 10px;
}

/*********************************************************************
 *
 * SimpleRemoveDialog.java, 
 * AbstractRemoveDialog.java 
 * SimpleRemoveDialogClassic.java
 *
 ********************************************************************/

.removeDialog .objectDetails.displayNone {
	display: none;
}

.removeDialog .objectDetails {
	/* Color set to match grey rows in cell tables */
    background-color: rgb(238,238,238);
    padding: 10px;
}

/*********************************************************************
 *
 * FormDialog.java
 *
 * TODO change the style name.  It clashes with Bootstrap
 *
 ********************************************************************/
.form .gwt-TextArea, .form input, .form .gwt-HTML, .form .ckEditor {
	margin-left: 10px;
	margin-bottom: 10px;
	margin-right: 5px;
}

.form .gwt-Label {
	margin-bottom: 10px;
	margin-left: 5px;
}

.form .gwt-TextArea {
	width: 400px;
	height: 100px;
}

/*********************************************************************
 *
 * HasRequests.java
 *
 ********************************************************************/
.loadingDialog {
	font-size: 14px;
	margin: auto;
}

.loadingDialog td {
	font-size: 18px;
}

/*********************************************************************
 *
 * ServiceSelectionGadget.java
 *
 ********************************************************************/

.serviceList {
	margin-top: 10px;
}

.serviceLineItemList {
	margin-left: 50px;
}

.serviceList td {
	border: none;
}

.programList > tbody > tr > td {
	vertical-align: top !important;
	padding-top: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid black;
}

.programDesc {
	padding-left: 1.5em !important;
}

/*********************************************************************
 *
 * ProgramSelectionGadget.java
 *
 * TODO Merge with Service Selection Gadget Styles
 *
 ********************************************************************/

.programSelectionGadget .programList {
	width: 920px;
}
  
.programSelectionGadget .programList td:nth-child(1) {
	width: 400px;
}

.programSelectionGadget .programList td:nth-child(2) {
	width: 110px;
}

.programSelectionGadget .programList td:nth-child(3) {
	width: 110px;
}

.programSelectionGadget .program {
	width: 100%;
}

.programSelectionGadget .programList .gwt-CheckBox input {
 	width: 15px;
 	margin-right: 10px;
 }
 
.programSelectionGadget .programList .gwt-CheckBox {
	display: table;
}

.programSelectionGadget .programList .gwt-CheckBox > * {
	display: table-cell;
}
 

.programSelectionGadget .programList .gwt-DateBox  {
 	width:100px;
 	margin: 0px;
 }
 
.programSelectionGadget .programList .gwt-TextArea {
	width: 200px;
	margin: 0px;
}

/*********************************************************************
 *
 * TableEditorClassic.java and TableEditorClassic.ui.xml
 *
 ********************************************************************/
.specialHeader {
	margin-top:10px;
	margin-bottom:10px;
}

.requestStyle {
	font-family: "Lato", sans-serif !important;
	font-size: 16px !important;
}

.addLink {
	display: block;
	margin-top: 10px;
}

/*********************************************************************
 *
 * SectionHeader.java
 *
 ********************************************************************/
.sectionHeader {
	font-family: "Lato", sans-serif !important;
	font-size: 16px !important;
	margin-top:10px;
	margin-bottom:10px;
}

/*********************************************************************
 *
 * ProjectForm.java and serviceRequestcreate.gss
 *
 ********************************************************************/
.projectForm td {
	vertical-align: top;
}

.projectForm .instructionalText {
	font-style: italic;
}

/*********************************************************************
 *
 * ProjectForm.java
 *
 ********************************************************************/
.directFunding {
	width: 170px;
    height: 35px;
    padding: 7px 14px !important;
}

/*********************************************************************
 *
 * SupportTableEditor.java
 *
 ********************************************************************/
.mentorName {
	margin-right: 10px;
}

/*********************************************************************
 *
 * GrantView.java
 *
 ********************************************************************/
 .grantView select {
 	max-width: 200px;
 }

.exampleTable td {
	text-align: center;
	font-size: 11px;
	padding: 5px;
}

/*********************************************************************
 *
 * AboutView.java
 *
 ********************************************************************/
.aboutView .aboutHtml {
	width: 600px;
}

/*********************************************************************
 *
 * ErrorView.java
 *
 ********************************************************************/
.errorView .stackTrace {
	/* Color set to match grey rows in cell tables */
    background-color: rgb(238,238,238);
    padding: 5px;
}

.errorView .errorMessage {
	margin-bottom: 10px;
}


/*********************************************************************
 *
 * NewDrugView.java
 *
 ********************************************************************/

.piLookupPanel {
	margin-left: 10px;
	margin-right: 10px;
	font-style: italic;
}

.phaseCheckbox {
	margin-left: 5px;
}

.invNewDrugRadioGroup {
	margin-left: -5px;
}

.invNewDrugRadioGroup.error {
	background-color: #FFCCCC;
}


/*********************************************************************
 *
 * LoginView.java & LoginFrame.java
 *
 ********************************************************************/
 .instructionHelp {
	margin-top: 20px;
	width: 600px;
}

.instructionDisclaimer {
	/*height:200px;*/
	width: 800px;
	margin: auto;
}

.loginForm {
	margin-top: 50px;
	margin-left: auto;
	margin-right: auto;
}

.loginFrame.content {
	width:600px;
}

.loginFrame, .loginForm .verticalForm {
	margin:auto;
}

/*********************************************************************
 *
 * GenerateAprView.java
 *
 ********************************************************************/
 .reportStatusPanel {
 	display: inline-block;
	border: 1px solid black;
	padding: 5px 10px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.reportStatusPanel .gwt-Anchor {
	margin-top: 5px;
	display: inline-block;
}

/*********************************************************************
 *
 * UserRolesView.java & UserRolesView.ui.xml
 *
 ********************************************************************/
 .manageUserRoles {
 	width:100%;
 }
 
 .selectionSection {
	margin-left: -3px !important;
}
 
 .visibilityHidden {
	visibility: hidden;
}
 
.closeButton {
	padding-bottom: 20px !important;
}
 
.personTableSection {
	margin-top: 20px;
	width: 100%;
}

.errorSavingUserRoleText {
	padding: 20px !important;
}

.tableHeaderLabel {
	padding-bottom: 25px;
	font-size: 20px;
}
 
.addPersonImage {
	padding-top: 8px;
	cursor: pointer;
}

.dialogContainer {
	display:none;
}

/*********************************************************************
 *
 * UserRolesView.java & TableEditorClassic.ui.xml
 *
 ********************************************************************/
.tablePanel>table{
	width: 100%;
}
 
/*********************************************************************
 *
 * UserRolesView.java & AbstractTable.java
 *
 ********************************************************************/
.smartGwtStyle {
	border: 1px solid #B1B1B1 !important;
}

.smartGwtStyle thead th {
	color: black !important;
	text-shadow: none !important;
	border-top: none !important;
	border: 1px solid LightGray;
	padding: 5px 15px 5px 5px !important;
	font-family: Arial, Verdana, sans-serif;
	background: linear-gradient(white, LightGray) repeat scroll 0% 0%
		transparent;
	font-size: 11px;
	border-bottom: 1px solid #ADABAB !important;
	font-weight: normal;
}

.smartGwtStyle tbody td {
	padding: 2px 4px !important;
	overflow: hidden;
	font-size: 11px;
	border: 1px solid #B1B1B1 #important;
}
 
/*********************************************************************
 *
 * SupportView.java
 *
 ********************************************************************/
 .projectNameNarrow {
	text-overflow: ellipsis;
	min-width: 10em;
	max-width: 25em;
	margin-left: 10px;
}
 
.lookupProject {
	margin-left: 10px;
    padding-top: 5px;
    display: block;
}
 
/*********************************************************************
 *
 * ProgramServiceSection.java
 *
 ********************************************************************/
 .headerLabel {
	font-size: 18px;
	margin-left: 3px;
}

.programListBox {
	margin-top: 5px;
}
 
/*********************************************************************
 *
 * StatusSection.java
 *
 ********************************************************************/
 .statusPanelElement {
	margin-left: 20px;
	margin-bottom: 20px;
}

.assignee {
	margin-left: 10px;
	font-weight: bold;
}
 
/*********************************************************************
 *
 * SearchDialog.java
 *
 ********************************************************************/
.userNotFoundLink {
	margin-top: 5px;
}

.userNotFoundLink td {
	padding-bottom: 10px;
}

/*********************************************************************
 *
 * ServiceRequestEditView.java
 *
 ********************************************************************/
.requestInfo {
	font-size: 18px;
	margin-top: 10px;
	margin-bottom: 10px;
}

/*********************************************************************
 *
 * AbstractRemoveDialog.ui.xml
 *
 ********************************************************************/
.dialogButtons {
	margin:auto;
}

/*********************************************************************
 *
 * Page1.java
 *
 ********************************************************************/
.requesterList {
	margin-left: 1px;
}

/*********************************************************************
 *
 * SetPasswordDialog.java
 *
 ********************************************************************/

.setPasswordDialog .sectionHeader {
	display:none
}

.setPasswordDialog .errorList {
	width:100%;
}

.setPasswordDialog table.formRow {
	margin-bottom: 5px;
}


.setPasswordDialog .fieldLabel {
	width: 150px;
}
.setPasswordDialog .valueWidget {
	margin-bottom: 5px;
}

.setPasswordDialog .actionButtons {
	margin-top: 0px;
	margin-bottom: 5px;
}

/*********************************************************************
 *
 * ResetPasswordDialog.java
 *
 ********************************************************************/
.resetPasswordDialog {
	width: 400px;
}

/*********************************************************************
 *
 * AttachmentFormImp.java
 *
 ********************************************************************/
.attachmentForm input[type=text] {
	width:470px;
}

/*********************************************************************
 *
 * AttachmentFormImp.java
 *
 ********************************************************************/
.homepageContent {
	max-width: 600px;
}

/* Fix for remove dialog */
.removeDialog .formField td>div {
	padding:5px;
}

.personRemoveDialog h5 {
	margin-left:1em;
	margin-top:5px;
	margin-bottom:5px;
}

.personRemoveDialog h6 {
	margin-left:2em;
	margin-top:5px;
	margin-bottom:5px;
}

.personRemoveDialog a {
	margin-left:3em;
}
