/** Add css rules here for your application. */

/** Fonts needed by mathjax */

@font-face {
    font-family: "STIXGeneral";
    src: url("maplecloud/fonts/STIXGeneral-BoldItalic.woff") format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: "STIXGeneral";
    src: url("maplecloud/fonts/STIXGeneral-Italic.woff") format('woff');
    font-style: italic;
}

@font-face {
    font-family: "STIXGeneral";
    src: url("maplecloud/fonts/STIXGeneral-Regular.woff") format('woff');
}



@font-face {
    font-family: "STIXGeneral";
    src: url("maplecloud/fonts/STIXGeneral-Bold.woff") format('woff');
    font-weight: bold;
}

.mathContainerBordersOn
{
	border-width:1px;	
	border-style:inset;
}

.mathContainerBordersOff
{
	border-style:none;
}



/** Since we don't currently support selection we should disable the
	selection highlighting on the math so as not to confuse the user. **/
.unselectable{
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	outline: none;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0); /* mobile webkit */
}

.MathJax span.cursor,
.MathJax span.cursor_left,
.MathJax span.cursor_right{
	background-color:white;
	min-width:1px;
 	border-style:solid;
	border-top-width:1px;
	border-bottom-width:1px;
	border-left-width:1px;
	border-right-width:1px;
	border-top-color: transparent;
	border-bottom-color: transparent;
	border-left-color: transparent;
	border-right-color: transparent;
	border-bottom-style:solid;
	border-top-style:solid;
	border-right-style:solid;
	border-left-style:solid;
}

.MathJax span.cursor_left{
	border-top-color: transparent;
	border-bottom-color: transparent;
	border-left-color: black;
	border-right-color: transparent;
}

.MathJax span.cursor_right{
	border-top-color: transparent;
	border-bottom-color: transparent;
	border-left-color: transparent;
	border-right-color: black;
}

.MathJax span.cursor_off{
	border-top-color: transparent;
	border-bottom-color: transparent;
	border-left-color: transparent;
	border-right-color: transparent;
}


.MathJax_Display{
	margin: 0px 0px 0px;
}

.MathJax_Display{
	margin: 0px 0px 0px;
}

.sendButton {
  display: block;
  font-size: 16pt;
}

.plotCanvas {
  border: solid 1px #000;
  margin-left: 0px;
  margin-top: 0px;
}

/** 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;
}

/** default border:none, as it's easy to add borders - hard to remove */
/** border-width must be after border style */
/** "empty-cells:show;border-collapse:collapse;border:none;border-color:black;border-width:1;"; */

.mwWorksheet{
	display: box;
	box-orient: vertical;
	background-color:transparent;
}

.mwGroup{
    display: box;
    box-orient: vertical;
    padding: 0px;
    background-color:transparent;
}

.mwPresentation-Block{
	background-color:transparent;
}

.mwEC-Plot{
	background-color:transparent;
}

.mwInput{
	background-color:transparent;
}

.mwOutput{
    align: center;
    text-align: center;
    color:  #0000ff;
    background-color:transparent;
}

.mwText-field{
    display: box;
    background-color:transparent;
}

.mwEquation{
    display: inline;
    background-color:transparent;
}

.mwText{
    display: inline;
    background-color:transparent;
}

.mwFont{
	background-color:transparent;
}

.mwTable{
	empty-cels:show;
	border-collapse:collapse;
	border:none;
	border-color:black;
	border-width:1px;
	background-color:transparent;
}

.mwTableColumn{
	background-color:transparent;
}            

.mwTableRow{
	background-color:transparent;
}

.mwTableCell{
	border-color:black;
	border-width:1px;
	background-color:transparent;
}

.cursor {
    background-color: #000000;
    min-width: 1px;
    z-index: 50;
}

.mwEquationEditor {
	padding:10px;
	background-color:  #ffffff;
	overflow: auto;
	position:relative;
}

#mwEquationEditorContainer {
	padding:5px;
    background-color: #ededed;
}

.entityList {
    z-index:100;
}

.description {
    color: #AAAAAA;
}

.toolbarCell {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background-color:#ededed;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	border:1px solid #d3d3d3;
	color:#777777;
	font-family:arial;
	font-size:14px;
	font-weight:bold;
	padding:8px 10px;
	margin-right:3px;
	text-decoration:none;
	text-shadow:1px 1px 0px #ffffff;
	width: 16px;
}

.toolbarCell:hover {
	background-color:#e9e9e9;
	border:1px solid #b3b3b3;
}

.toolbarMenuCell {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background-color:#ededed;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	border:1px solid #d3d3d3;
	color:#777777;
	font-family:arial;
	font-size:14px;
	font-weight:bold;
	padding:8px 10px;
	margin-right:3px;
	text-decoration:none;
	text-shadow:1px 1px 0px #ffffff;
	background: url(resources/arrow.png) no-repeat 0 0px;
	background-position: right bottom;
	width: 16px;
}

.toolbarMenuCell:hover {
	background-color:#e9e9e9;
	border:1px solid #b3b3b3;
}

.toolbarTable {
	margin-top: 2px;
	margin-bottom: 5px;
	background-color:#ececec;
	display: inline-block;
}

.toolbarSpacer{
	width: 100%;
}

.subtoolbarTable {
    position: absolute;
  	left:-35px;
	top:5px;
    padding: 8px;
    font-size: 14px;
    text-align: center;
	border:1px solid #b3b3b3;
    border-radius: 5px;
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background-color:#f3f3f3;
	-webkit-box-shadow: 0px 3px 16px rgba(58, 50, 50, 0.35);
	-moz-box-shadow:    0px 3px 16px rgba(58, 50, 50, 0.35);
	box-shadow:         0px 3px 16px rgba(58, 50, 50, 0.35);
}
.subtoolbarTable:after {
      content: "";
      position: absolute;
      width: 0;
      height: 0;
      border-width: 10px;
      border-style: solid;
      border-color: transparent transparent #bebebe transparent;
      top: -21px;
      left: 25px;
}

.subtoolbarCell {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background-color:#ededed;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	border:1px solid #d3d3d3;
	color:#777777;
	font-family:arial;
	font-size:14px;
	font-weight:bold;
	padding:8px 12px;
	margin-right:3px;
	text-decoration:none;
	text-shadow:1px 1px 0px #ffffff;
}

.arbitraryMatrixCell{
		
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	background-color:#ededed;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	border:1px solid #d3d3d3;
	color:#777777;
	font-family:arial;
	font-size:14px;
	font-weight:bold;
	padding:8px 12px;
	margin-right:3px;
	text-decoration:none;
	text-shadow:1px 1px 0px #ffffff;
}

.arbitraryMatrixPanel {
	width:100%;
	margins:auto;
}

.arbitraryMatrixInsertButton {
	
}

.subtoolbarCell:hover {
	background-color:#e9e9e9;
	border:1px solid #b3b3b3;
}

.toolbarPopup {
	border-radius: 10px;
	border:0px solid;
	border-color:rgb(150,150,150);
	background-color: #FFFFFF;
	z-index:9000;
}

#toolbarcontainer {
	width:530px;
	margin-top: 5px;
	border-top:1px solid;
	border-color: #FFFFFF;
	background-color: #ececec;
	}

/** Example rules used by the template application (remove for your app) */
/** Most GWT widgets already have a style name defined */
.gwt-DialogBox {
  width: 400px;
}
   
.gwt-TabBar {
  background: #ccc;
  padding-top: 6px;
}
.gwt-TabBar .gwt-TabBarFirst {
  width: 5px;  /* first tab distance from the left */
}
.gwt-TabBar .gwt-TabBarRest {
}
.gwt-TabBar .gwt-TabBarItem {
  margin-left: 4px;
  padding: 4px 8px 4px 8px;
  cursor: pointer;
  cursor: hand;
  color: white;
  font-weight: normal;
  text-align: center;
  background: #8E8E8E;
  -moz-border-radius: 3px 3px 0px 0px;
  border-radius: 3px 3px 0px 0px;
}
.gwt-TabBar .gwt-TabBarItem-selected {
  cursor: default;
  background: white;
  color: #333;
  font-weight: bold;
} 
.gwt-TabBar .gwt-TabBarItem-disabled {
  cursor: default;
  color: #999999;
}
.gwt-TabPanel {
}
.gwt-TabPanelBottom {
  border-color: #ccc;
  border-style: solid;
  border-width: 0px 1px 1px;
  overflow: hidden;
  padding: 6px;
}
.gwt-DecoratedTabBar {
  background: #ccc;
  padding-top: 6px;
}
.gwt-DecoratedTabBar .gwt-TabBarFirst {
  width: 5px;  /* first tab distance from the left */
}
.gwt-DecoratedTabBar .gwt-TabBarRest {
}
.gwt-DecoratedTabBar .gwt-TabBarItem {
  border-collapse: collapse;
  margin-left: 4px;
}
.gwt-DecoratedTabBar .tabTopCenter {
  padding: 0px;
  background: #8E8E8E;
}
.gwt-DecoratedTabBar .tabTopLeft,
.gwt-DecoratedTabBar .tabTopRight {
  padding: 0px;
  zoom: 1;
}
.gwt-DecoratedTabBar .tabTopLeftInner,
.gwt-DecoratedTabBar .tabTopRightInner {
  width: 3px;
  height: 3px;
}
.gwt-DecoratedTabBar .tabTopLeft {
  background: url(images/circles.png) no-repeat 0px 0px;
  -background: url(images/circles_ie6.png) no-repeat 0px 0px;
}
.gwt-DecoratedTabBar .tabTopRight {
  background: url(images/circles.png) no-repeat -3px 0px;
  -background: url(images/circles_ie6.png) no-repeat -3px 0px;
}
* html .gwt-DecoratedTabBar .tabTopLeftInner,
* html .gwt-DecoratedTabBar .tabTopRightInner {
  width: 3px;
  height: 3px;
  overflow: hidden;
}
.gwt-DecoratedTabBar .tabMiddleLeft,
.gwt-DecoratedTabBar .tabMiddleRight {
  width: 3px;
  padding: 0px;
  background: #8E8E8E;
}
.gwt-DecoratedTabBar .tabMiddleLeftInner,
.gwt-DecoratedTabBar .tabMiddleRightInner {
  width: 1px;
  height: 1px;
}
.gwt-DecoratedTabBar .tabMiddleCenter {
  padding: 0px 5px 4px 5px;
  cursor: pointer;
  cursor: hand;
  color: #fff;
  font-weight: normal;
  text-align: center;
  background: #8E8E8E;
}
.gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabTopCenter {
  background:#fff;
}
.gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabTopLeft {
  background: url(images/circles.png) no-repeat -6px 0px;
  -background: url(images/circles_ie6.png) no-repeat -6px 0px;
}
.gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabTopRight {
  background: url(images/circles.png) no-repeat -9px 0px;
  -background: url(images/circles_ie6.png) no-repeat -9px 0px;
}
.gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabMiddleLeft,
.gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabMiddleRight {
  background: #fff;
}
.gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabMiddleCenter {
  cursor: default;
  background: #fff;
  color:#333;
  font-weight:bold;
}
.gwt-DecoratedTabBar .gwt-TabBarItem-disabled .tabMiddleCenter {
  cursor: default;
  color: #999999;
}

#container {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	width:550px;
	background-color: #006699;
	padding:8px;
	margin-top:140px;
	margin-left:auto;
	margin-right:auto;
	position:absolute;
	z-index:1;
	left: 0;
    right: 0;
	}
	
#output {
    -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
    -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
    box-shadow:inset 0px 1px 0px 0px #ffffff;
    width:551px;
    padding:8px;
    margin-top:740px;
    margin-left:auto;
    margin-right:auto;
    position:absolute;
    z-index:1;
    left: 0;
    right: 0;
    }
	
#dialog {
	width:530px;
	border:1px solid;
	border-color: #333333;
	background-color: #1d78a6;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#1d78a6), to(#0d5274)); /* Saf4+, Chrome */
  	background-image: -webkit-linear-gradient(top, #1d78a6, #0d5274); /* Chrome 10+, Saf5.1+, iOS 5+ */
  	background-image:    -moz-linear-gradient(top, #1d78a6, #0d5274); /* FF3.6 */
  	background-image:     -ms-linear-gradient(top, #1d78a6, #0d5274); /* IE10 */
  	background-image:      -o-linear-gradient(top, #1d78a6, #0d5274); /* Opera 11.10+ */
  	background-image:         linear-gradient(top, #1d78a6, #0d5274);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#1d78a6', EndColorStr='#0d5274'); /* IE6-IE9 */
	padding:4px;
	margin-top:140px;
	margin-left:auto;
	margin-right:auto;
	position:absolute;
	z-index:1;
	left: 0;
    right: 0;
	-webkit-border-radius: 6px; /* Saf3-4, iOS 1-3.2, Android <1.6 */
	-moz-border-radius: 6px; /* FF1-3.6 */
	border-radius: 6px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
	-webkit-box-shadow: 0px 3px 16px rgba(58, 50, 50, 0.35);
	-moz-box-shadow:    0px 3px 16px rgba(58, 50, 50, 0.35);
	box-shadow:         0px 3px 16px rgba(58, 50, 50, 0.35);
}

#dialog-bg {
	background-color: #ececec;
  	background-image: -webkit-gradient(linear, left top, left bottom, from(#ececec), to(#999999)); /* Saf4+, Chrome */
  	background-image: -webkit-linear-gradient(top, #ececec, #999999); /* Chrome 10+, Saf5.1+, iOS 5+ */
  	background-image:    -moz-linear-gradient(top, #ececec, #999999); /* FF3.6 */
  	background-image:     -ms-linear-gradient(top, #ececec, #999999); /* IE10 */
  	background-image:      -o-linear-gradient(top, #ececec, #999999); /* Opera 11.10+ */
  	background-image:         linear-gradient(top, #ececec, #999999);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ececec', EndColorStr='#999999'); /* IE6-IE9 */
	width:530px;
	margin-left:auto;
	margin-right:auto;
	-webkit-border-radius: 7px; /* Saf3-4, iOS 1-3.2, Android <1.6 */
	-moz-border-radius: 7px; /* FF1-3.6 */
	border-radius: 7px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
}

#dialog-title {
	width:515px;
	height:35px;
  	padding-top:15px;
	padding-left:15px;
	background-color: #006699;
  	background-image: -webkit-gradient(linear, left top, left bottom, from(#006699), to(#0d5274)); /* Saf4+, Chrome */
  	background-image: -webkit-linear-gradient(top, #006699, #0d5274); /* Chrome 10+, Saf5.1+, iOS 5+ */
  	background-image:    -moz-linear-gradient(top, #006699, #0d5274); /* FF3.6 */
  	background-image:     -ms-linear-gradient(top, #006699, #0d5274); /* IE10 */
  	background-image:      -o-linear-gradient(top, #006699, #0d5274); /* Opera 11.10+ */
  	background-image:         linear-gradient(top, #006699, #0d5274);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#006699', EndColorStr='#0d5274'); /* IE6-IE9 */
	border-top-left-radius: 7px;
  	border-top-right-radius: 7px;
  	border-bottom:1px solid #666666;
	color:#FFFFFF;
	text-shadow: 1px 1px 1px #666666;
	filter: dropshadow(color=#666666, offx=1, offy=1);
	text-align:left;
	font-family: Helvetica, Arial,  sans-serif;
	text-shadow: 0px 2px 3px #666666;
	font-weight:normal;
  	font-size:18px;
  	cursor:default;
}

#dialog-description {
	margin-left:auto;
	margin-right:auto;
	padding-left:15px;
	padding-right:15px;
	padding-top:8px;
	padding-bottom:10px;
	color:#333333;
	font-size:13px;	
	text-align:left;
	line-height:20px;
	border-top:1px solid #FFFFFF;
	cursor:default;
}

.entityListCell {
	padding:4px 8px;
	color:#777777;
	display:inline-block;
	width:100%;
}

/* .entityListCell:hover{
	background-color:#ececec;
	color:#333333;
}
 */
.entityListCellHovered{
	background-color:#ececec;
	color:#333333;
}

.entityListName{
	display:inline-block;
	width:90%
}

.entityListValue{
	display:inline-block;
	width:10%
}

.entityListTable{
	width:250px;
}

.entityListScrollPanel{
	width:275px;
	height:102px;
}

.entityList {
	border:1px solid;
	border-color:rgb(150,150,150);
	z-index:100;
	height:102px;
	width:275px;
-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background-color: #f3f3f3;
	-webkit-box-shadow: 0px 3px 16px rgba(58, 50, 50, 0.35);
	-moz-box-shadow:    0px 3px 16px rgba(58, 50, 50, 0.35);
	box-shadow:         0px 3px 16px rgba(58, 50, 50, 0.35);
	overflow-y: hidden;
	overflow-x: scroll;
}
