/* --------------------------------------------------------------------- */
/*            ****          SPECIFIC TO Ephesis           ****           */
/* --------------------------------------------------------------------- */

/* CSS FOR SUBMIT BUTTON TABS */
/* modifed from www.alistapart.com/articles/slidingdoors/ */

#tabs {
  position:relative;
  height:20px;
  z-index:10;
  margin: 15px 0px 0px;
}

#tabs dl {
  margin:0px 0px 0px 10px;
  padding:0px;
  list-style:none;
  height:20px;
}

#tabs dt {
  float:left;
  background:url(../../ephesis/icons/tab-top-left-gray.gif) no-repeat left top;
  margin:0px 10px 0px 0px;
  padding:0px 0px 0px 9px;
  border-bottom:#222 1px solid;
}

#tabs dt.licurrent {
  background:url(../../ephesis/icons/tab-top-left.gif) no-repeat left top;
  border-bottom:#fff 1px solid;
}

#tabs .tabright {
  float:left;
  display:block;
  background:url(../../ephesis/icons/tab-top-right-gray.gif) no-repeat right top;
  position:relative;
  width:auto;
}

#tabs .tabcurrent {
  background:url(../../ephesis/icons/tab-top-right.gif) no-repeat right top;
}

#tabs input {
  background:none;
  border:none;
  cursor:pointer;
  width:auto;
  padding:2px 9px 3px 0px;
  font-size:.8em;
  font-family:lucida sans unicode, trebuchet ms,verdana,arial,helvetica,sans-serif;
  font-weight:normal;
  margin-bottom:-1px;
  height:20px;
  
  float: none;
  color: inherit;
  position: static;
  display: inline;
  margin-left: 0px;
}

#tabs input:hover {
  color:#0033CC;
}

#tabs > dl .tabright {width:auto;}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabs .tabright {float:none;}
/* End IE5-Mac hack */

#formcontent {
  padding:5px;
  margin:-1px 0px 0px 0px;
  border:#765 1px solid;
  position:relative;
  background:#fff url(../../ephesis/icons/formcontentbg.gif) repeat-x bottom;
  min-height:200px;
  position:relative;
  z-index:0;
}

div#brapiCropOntoWidget h3 {
  text-transform: none;
}

div.scroll {
  height: 150px;
  width: 200px;
  overflow: auto;
  border: 0px solid #666;
  padding: 0px;
  align:right;
  text-align: left;
}

div.encar {
  border: 1px solid black;
}

.criteriaResume {
  position: absolute;
  top: 240px;
  left: 751px;
  background-color: lightgrey;
  max-width: 200px;
  padding: 0px 0px 0px 0px;
  margin: 0px;
  text-align: left;
  clear: both;
}

.content td {
    vertical-align: top;
}

.dataResultPage {
  border: 1px solid #97bf0d;
  padding: 5px;
}

table.dataResultPage tr td {
  border: none !important;
}

.dataResultPanel {
  margin-top: 15px;
}

.dataResultPanel .levelTitle {
  margin: 6px 0px 6px 6px;
  font-size: 14px;
  font-weight: bold;
  color: #437b9c;
  text-transform: uppercase;
}

.dataResultPanel .levelPanel {
  margin-bottom: 5px;
  border-bottom: 1px solid lightgray;
}

/*.dataResultPanel .levelScrollPanel > div > table {
  border-bottom: 2px solid #97bf0d;
}*/

table.gwt-DecoratedTabPanel {
	margin-top: 15px;
	border: none;
}

table.gwt-DecoratedTabBar {
	border-top: none;
}

table.gwt-DecoratedTabBar .gwt-Label {
	color: white;
}

table.gwt-TabBarItem {
	background: none repeat scroll 0 0 #c7e853;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    font-weight: bold;
    margin-right: 5px;
    padding: 3px 6px;
    text-align: center;
    border: none;
    font-size: 10pt;
}

table.gwt-TabBarItem-selected {
	background: none repeat scroll 0 0 #97bf0d;
}

/*
 * campaignSelectionBox
 */

table.campaignSelectionBox {
    border-bottom-width: 2px;
    border-top-width: 2px;
}

/*
 * Phenome server link (with logo)
 */

a.phenomeServer img {
    vertical-align: middle;
	margin-right: 5px;
}

/*
 * Trial summary list
 */

table.trialList td.name  {
	min-width: 150px;
}

table.trialList td.site  {
	min-width: 80px;
}

table.trialList td.campaign {
	min-width: 65px;
}

table.trialList td {
	height: 25px;
	white-space: normal;
    word-break: break-word;
}

table.trialList td.source, table.trialList td.directDownload  {
    white-space: nowrap;
}


/*
 * Data result top panel
 */

table.dataResultTopPanel {
	max-height: 200px;
}

/*
 * Trial summary table data indicator panel
 */

div.trialIndicatorPanel  {
	padding: 3px;
	border-bottom: 1px solid lightgrey;
}

div.trialIndicatorPanel .gwt-InlineLabel  {
	font-weight: bold;
}

div.trialIndicatorPanel * {
	display: inline;
	color: #EB690B;
}

div.trialIndicatorPanel a.phenomeServer {
	margin-right: 5px;
}

div.trialIndicatorPanel > *:not(:first-child)::before {
	content: "—";
	padding: 0 5px;
	color: lightgrey;
}

div.trialIndicatorPanel .failed * {
	color: red;
}

/*
 * Trial card
 */

div.loadingLabel {
	width: 70px;
    height: 32px;
    padding-left: 40px;
    margin: auto;
    padding-top: 8px;
}

.trialCardTopPanel button {
	margin: 8px;
}