/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/
@import url('~phosphor/styles/base.css');
@import url('~jupyterlab/lib/console/base.css');
@import url('~jupyterlab/lib/notebook/index.css');
@import url('~jupyterlab/lib/notebook/theme.css');
@import url('~jupyterlab/lib/index.css');
@import url('~jupyterlab/lib/theme.css');
@import url('~jupyterlab/lib/running/index.css');
@import url('~jupyterlab/lib/running/theme.css');

@import './about.css';
@import './codemirror.css';
@import './commandpalette.css';
@import './completion.css';
@import './console.css';
@import './help.css';
@import './images.css';
@import './inspector.css';
@import './markdownwidget.css';
@import './rendermime.css';
@import './shell.css';

@import '../landing/index.css';


body {
  background: #E0E0E0;
  font-family: sans-serif;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}


.p-Widget {
  background: white;
}


.p-mod-hidden {
  display: none !important;
}


.p-TabBar-tab.jp-mod-current {
  border-top: 1px solid #2196F3;
}


.jp-Document {
  min-width: 120px;
  min-height: 120px;
  outline: none;
}


.jp-NotebookContainer-widget {
  flex: 0 0 auto;
}


.jp-Notebook {
  flex: 1 1 auto;
}


.p-DockPanel-tabPanel {
  border-top: none;
}


.p-DockPanel-tabPanel > .p-StackedPanel {
  background: white;
  border-left: 1px solid #BDBDBD;
  border-right: 1px solid #BDBDBD;
  border-bottom: 1px solid #BDBDBD;
}


.p-DockPanel-overlay {
  background: rgba(33, 150, 243, 0.1);
  border: 1px dashed #2196F3;
}


.p-DockPanel-overlay.p-mod-root-top,
.p-DockPanel-overlay.p-mod-root-left,
.p-DockPanel-overlay.p-mod-root-right,
.p-DockPanel-overlay.p-mod-root-bottom,
.p-DockPanel-overlay.p-mod-root-center {
  border-width: 2px;
}


.p-TabBar {
  overflow: visible;
  min-height: 24px;
  max-height: 24px;
  color: #777777;
  font-size: 13px;
}


.p-TabBar.p-mod-horizontal {
  min-height: 24px;
  max-height: 24px;
}


.p-TabBar.p-mod-vertical {
  min-width: 24px;
  max-width: 24px;
}


.p-TabBar.p-mod-top {
  border-bottom: 1px solid #C0C0C0;
}


.p-TabBar.p-mod-bottom {
  border-top: 1px solid #C0C0C0;
}


.p-TabBar.p-mod-left {
  border-right: 1px solid #C0C0C0;
}


.p-TabBar.p-mod-right {
  border-left: 1px solid #C0C0C0;
}


/* increase specificity to override default */
.p-TabBar > .p-TabBar-header {
  flex: 0 0 1px;
}


.p-TabBar-content {
  min-width: 0;
  min-height: 0;
  padding-right: 1px;
}


.p-TabBar.p-mod-top > .p-TabBar-content {
  align-items: flex-end;
}


.p-TabBar.p-mod-bottom > .p-TabBar-content {
  align-items: flex-start;
}


.p-TabBar-tab {
  flex-basis: 144px;
  min-height: 23px;
  max-height: 23px;
  min-width: 35px;
  padding: 0px 7px;
  background: #EEEEEE;
  border: 1px solid #BDBDBD;
  transform: translateY(-1px);
  border-bottom: none;
  margin-right: -1px;
}


.p-TabBar-tab.p-mod-current {
  min-height: 24px;
  max-height: 24px;
  background: #FFFFFF;
}


.p-TabBar-tab:hover:not(.p-mod-current) {
  background: #FAFAFA;
}


.p-TabBar.p-mod-top .p-TabBar-tab,
.p-TabBar.p-mod-bottom .p-TabBar-tab {
  flex: 0 1 125px;
  min-height: 20px;
  max-height: 20px;
  min-width: 35px;
  margin-left: -1px;
  line-height: 20px;
}


.p-TabBar.p-mod-top .p-TabBar-tab {
  border-bottom: none;
}


.p-TabBar.p-mod-bottom .p-TabBar-tab {
  border-top: none;
}


.p-TabBar.p-mod-top .p-TabBar-tab:first-child,
.p-TabBar.p-mod-bottom .p-TabBar-tab:first-child {
  margin-left: 0;
}


.p-TabBar.p-mod-top .p-TabBar-tab.p-mod-current,
.p-TabBar.p-mod-bottom .p-TabBar-tab.p-mod-current {
  min-height: 23px;
  max-height: 23px;
}


.p-TabBar.p-mod-top .p-TabBar-tab.p-mod-current {
  transform: translateY(1px);
}


.p-TabBar.p-mod-bottom .p-TabBar-tab.p-mod-current {
  transform: translateY(-1px);
}


.p-TabBar.p-mod-left .p-TabBar-tab,
.p-TabBar.p-mod-right .p-TabBar-tab {
  flex: 0 1 40px;
  margin-top: -1px;
  line-height: 40px;
}


.p-TabBar.p-mod-left .p-TabBar-tab {
  border-right: none;
}


.p-TabBar.p-mod-right .p-TabBar-tab {
  border-left: none;
}


.p-TabBar.p-mod-left .p-TabBar-tab:first-child,
.p-TabBar.p-mod-right .p-TabBar-tab:first-child {
  margin-top: 0;
}


.p-TabBar.p-mod-left .p-TabBar-tab.p-mod-current,
.p-TabBar.p-mod-right .p-TabBar-tab.p-mod-current {
  min-width: 80px;
  max-width: 80px;
}


.p-TabBar.p-mod-right .p-TabBar-tab.p-mod-current {
  transform: translateX(-1px);
}


.p-TabBar-tabIcon,
.p-TabBar-tabLabel,
.p-TabBar-tabCloseIcon {
  display: inline-block;
}


.p-TabBar-tab.p-mod-closable > .p-TabBar-tabCloseIcon {
  margin-left: 4px;
}


.p-TabBar-tab.p-mod-closable > .p-TabBar-tabCloseIcon:before {
  content: '\f00d';
  font-family: FontAwesome;
  font-size: 10px;
}


.p-TabBar-tab.p-mod-closable.jp-mod-dirty > .p-TabBar-tabCloseIcon:before {
  font-family: FontAwesome;
  content: '\f111'; /* circle */
  font-size: 10px;
}


.p-TabPanel-stackedPanel {
  padding: 10px;
  background: white;
  border: 1px solid #C0C0C0;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}


.p-TabPanel.p-mod-top-to-bottom > .p-TabPanel-stackedPanel {
  border-top: none;
}


.p-TabPanel.p-mod-bottom-to-top > .p-TabPanel-stackedPanel {
  border-bottom: none;
}


.p-TabPanel.p-mod-left-to-right > .p-TabPanel-stackedPanel {
  border-left: none;
}


.p-TabPanel.p-mod-right-to-left > .p-TabPanel-stackedPanel {
  border-right: none;
}


.p-TabBar-tab.p-mod-drag-image {
  min-height: 24px;
  min-width: 124px;
  color: #777777;
  background: white;
  border: 1px solid #BDBDBD;
  border-top: 1px solid #2196F3;
  font-size: 14px;
  box-shadow: 1px 1px 2px rgba(0, 0, 1, 0.1);
  transform: translateX(-40%) translateY(-58%);
}


.p-MenuBar {
  padding-left: 5px;
  background: #FAFAFA;
  color: rgba(0, 0, 0, 0.87);
  font-size: 14px;
}


.p-MenuBar-menu {
  transform: translateY(-1px);
}


.p-MenuBar-item {
  padding: 4px 8px;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
}


.p-MenuBar-item.p-mod-active {
  background: #E5E5E5;
}


.p-MenuBar-item.p-mod-disabled {
  color: rgba(0, 0, 0, 0.26);
}


.p-MenuBar-item.p-type-separator {
  margin: 2px;
  padding: 0;
  border: none;
  border-left: 1px solid #DDDDDD;
}


.p-MenuBar.p-mod-active .p-MenuBar-item.p-mod-active {
  z-index: 10001;
  background: white;
  border-left: 1px solid #C0C0C0;
  border-right: 1px solid #C0C0C0;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
}


.p-Menu {
  z-index: 10000;
  padding: 3px 0px;
  background: white;
  color: rgba(0, 0, 0, 0.87);
  border: 1px solid #C0C0C0;
  font-size: 14px;
  box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.2);
}


.p-Menu-item.p-mod-active {
  background: #E5E5E5;
}


.p-Menu-item.p-mod-disabled {
  color: rgba(0, 0, 0, 0.26);
}


.p-Menu-itemIcon {
  width: 21px;
  padding: 4px 2px;
}


.p-Menu-itemLabel {
  padding: 4px 35px 4px 2px;
}


.p-Menu-itemShortcut {
  padding: 4px 0px;
}


.p-Menu-itemSubmenuIcon {
  width: 16px;
  padding: 4px 0px;
}


.p-Menu-item.p-type-separator > div {
  padding: 0;
  height: 9px;
}


.p-Menu-item.p-type-separator > div::after {
  content: '';
  display: block;
  position: relative;
  top: 4px;
  border-top: 1px solid #DDDDDD;
}


.p-Menu-itemIcon::before,
.p-Menu-itemSubmenuIcon::before {
  font-family: FontAwesome;
}


.p-Menu-item.p-type-check.p-mod-checked > .p-Menu-itemIcon::before {
  content: '\f00c';
}


.p-Menu-item.p-type-submenu > .p-Menu-itemSubmenuIcon::before {
  content: '\f0da';
}


.p-MenuBar-itemMnemonic {
  text-decoration: underline;
}


.p-Widget.jp-Cell.jp-CodeCell.jp-mod-collapsed.jp-mod-readOnly {
  padding-left: 5px;
  padding-right: 5px;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  outline: none;
  background: transparent;
  border-color: transparent;
}


.jp-MainAreaLandscapeIcon {
  background-repeat: no-repeat;
  margin-right: 2px;
  width: 22px;
}


.jp-MainAreaPortraitIcon {
  background-position: 0 1px;
  background-repeat: no-repeat;
  margin-right: 0;
  width: 20px;
}
