$v-font-family: sans-serif;
$v-font-size: 12px;
$v-app-background-color: #ffffff;

@import "../valo/valo.scss";

@mixin consulo {
  @include valo;

  .v-scrollable {
    overflow: hidden;
  }

  .v-window-contents {
    padding-top: 30px !important;
  }

  .ui-labeled-layout {
    border: 0px;
    border-top: 1px solid lightGray;
    padding: 0px;
    margin: 0px;
    margin-top: -1px;
    padding-left: 20px
  }

  .ui-labeled-layout legend {
    padding-right: 6px;
    margin-left: -20px;
  }

  .ui-check-box {
  }

  .ui-check-box-disabled {
    color: #888;
  }

  .ui-radio-button {
  }

  .ui-radio-button-disabled {
    color: #888;
  }

  .ui-label {
    cursor: default;
  }

  .ui-html-label {
  
  }

  .ui-horizontal-split-panel {
  }

  .ui-vertical-split-panel {
  }

  .ui-list-box {
    padding: 0;
    border-collapse: collapse;
  }

  .ui-list-box .selected {
    background-color: #D7E9FF;
  }

  .ui-text-box {
    padding: 2px 2px;
    border: 1px solid #ccc;
    font-size: small;
    font-family: Arial Unicode MS, Arial, sans-serif;
  }
  .ui-text-field-readonly {
    color: #888;
  }
}

.consulo {
  @include consulo;
}

::-webkit-scrollbar-track
{
  border: 1px solid lightgray;
  background-color: #F5F5F5;
}

::-webkit-scrollbar
{
  width: 13px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
  background-color: lightgray;
}

table, tr, td {
  border-collapse: collapse;
  border: 0px;
  padding: 0px;
  margin: 0px;
}

a, a:visited {
  color: #0066cc;
  text-decoration:none;
}

a:hover {
  color: #0066cc;
  text-decoration:underline;
}

.ui-hyperlink {
  cursor: pointer;
}

.ui-layered-image {
  position: relative;
}

.ui-layered-image img {
  position: absolute;
  top: 0;
  left: 0;
}

.ui-tabbed-layout {
}

.ui-tabbed-layout-bottom {
  display: block;
  height: 100%;
  overflow: auto;
}

.ui-button {
  margin: 0;
  padding: 5px 7px;
  text-decoration: none;
  cursor: default;
  font-size:small;
  border:1px solid #bbb;
  border-bottom: 1px solid #a0a0a0;
  border-radius: 3px;
  -moz-border-radius: 3px;
}
.ui-button:active {
  border: 1px inset #ccc;
}
.ui-button:hover {
  border-color: #939393;
}
.ui-button[disabled] {
  color: #888;
}
.ui-button[disabled]:hover {
  border: 1px outset #ccc;
}

.gwt-MenuBar {
  cursor: default;
}
.gwt-MenuBar .gwt-MenuItem {
  cursor: default;
  font-family: Arial Unicode MS, Arial, sans-serif;
}
.gwt-MenuBar .gwt-MenuItem-selected {
  background: #E3E8F3;
}
.gwt-MenuBar-horizontal {
  border-bottom: 1px solid #e0e0e0;
}
.gwt-MenuBar-horizontal .gwt-MenuItem {
  padding: 5px 10px;
  vertical-align: bottom;
  color: #000;
  font-weight: bold;
}
.gwt-MenuBar-horizontal .gwt-MenuItemSeparator {
  width: 1px;
  padding: 0px;
  margin: 0px;
  border: 0px;
  border-left: 1px solid #ccc;
  background: white;
}
.gwt-MenuBar-horizontal .gwt-MenuItemSeparator .menuSeparatorInner {
  width: 1px;
  height: 1px;
  background: white;
}
.gwt-MenuBar-vertical {
  margin-top: 0px;
  margin-left: 0px;
  background: white;
}
.gwt-MenuBar-vertical table {
  border-collapse: collapse;
}
.gwt-MenuBar-vertical .gwt-MenuItem {
  padding: 2px 40px 2px 1px;
  font-size: $v-font-size;
  font-weight: 400;
}
.gwt-MenuBar-vertical .gwt-MenuItemSeparator {
  padding: 2px 0px;
}
.gwt-MenuBar-vertical .gwt-MenuItemSeparator .menuSeparatorInner {
  height: 1px;
  padding: 0px;
  border: 0px;
  border-top: 1px solid #ccc;
  overflow: hidden;
}

.gwt-MenuBar-vertical .subMenuIcon {
  padding-right: 4px;
}

.gwt-MenuBar-vertical .subMenuIcon-selected {
  background: #E3E8F3;
}

.gwt-MenuBarPopup {
  border: 1px solid #a0a0a0;
  background: white;
  z-index: 20000;
}

.gwt-MenuBarPopup .menuPopupTopCenter {
}

.gwt-MenuBarPopup .menuPopupBottomCenter {
}

.gwt-MenuBarPopup .menuPopupMiddleLeft {
}

.gwt-MenuBarPopup .menuPopupMiddleRight {
}

.gwt-MenuBarPopup .menuPopupTopLeftInner {
}

.gwt-MenuBarPopup .menuPopupTopRightInner {
}

.gwt-MenuBarPopup .menuPopupBottomLeftInner {
}

.gwt-MenuBarPopup .menuPopupBottomRightInner {
}

.gwt-MenuBarPopup .menuPopupTopLeft {
}

.gwt-MenuBarPopup .menuPopupTopRight {
}

.gwt-MenuBarPopup .menuPopupBottomLeft {
}

.gwt-MenuBarPopup .menuPopupBottomRight {
}

/** main combo box style */
.advanced-WidgetButtonPanel {
  border: 0;
  padding: 0;
  border-collapse: collapse;
  height: 18px;
  border: 1px solid #808080;
}


/** text box styles */
.advanced-WidgetButtonPanel .selected-value {
  font-family: sans-serif;
  font-size: 12px;
  color: black;
  height: 16px;
  padding: 0;
  margin: 0;
}

.advanced-Grid .selected-value {
  border: 0;
  height: 13px;
}

/** selected text box style */
.advanced-WidgetButtonPanel .selected-row {
  background-color: #D7E9FF;
}

/** button styles */
.advanced-WidgetButtonPanel .choice-button {
  width: 16px;
  height: 16px;
  background-color: #d4d0c8;
  border: 1px solid white;
  border-right-color: #808080;
  border-bottom-color: #808080;
  padding: 0;
}

.advanced-Grid .choice-button {
  height: 13px;
  width: 16px;
  overflow: hidden;
  margin-right: 5px;
}

/** button styles */
.advanced-WidgetButtonPanel .choice-button-up-hovering {
  cursor: pointer;
}

/** button styles */
.advanced-WidgetButtonPanel .choice-button-down {
  background-color: #d4d0c8;
  border: 1px solid darkgray;
}

/** button styles */
.advanced-WidgetButtonPanel .choice-button-down-hovering {
  background-color: #d4d0c8;
  border: 1px solid darkgray;
  cursor: default;
}

/** button image styles */
.advanced-WidgetButtonPanel img {
  display: inline;
  border: 0;
}

/** button image styles */
.advanced-Grid .advanced-WidgetButtonPanel img {
  position: relative;
  top: -3px;
}

/** popup panel styles */
.advanced-ListPopupPanel {
    border: 1px solid darkgray;
    background-color: white;
    padding: 0;
}

/** items list style */
.advanced-ListPopupPanel .list {
    border-collapse: collapse;
    padding: 0;
    cursor: pointer;
}

/** items list selected row style */
.advanced-ListPopupPanel .list .selected-row {
    background-color: #D7E9FF;
    color: white;
}

/** item style **/
.advanced-ListPopupPanel .list .item {
    padding: 1px;
    font-size: 12px;
    font-family: sans-serif;
    font-weight: normal;
}

/** icon item image style **/
.advanced-ListPopupPanel .list .icon-item img {
    padding: 1px;
    border: 0;
}

/** icon item label style **/
.advanced-ListPopupPanel .list .icon-item div {
    padding: 1px;
    font-size: 10px;
    font-family: sans-serif;
    font-weight: normal;
}

/** icon item label style **/
.advanced-ListPopupPanel .list .selected-row .icon-item div {
    color: white;
}

.gwt-TabBar {
}

.gwt-TabBar .gwt-TabBarFirst {
  width: 0px;
}

.gwt-TabBar .gwt-TabBarRest {
  border-bottom: #e0e0e0 solid 1px;
}

.gwt-TabBar .gwt-TabBarItem {
  border-top: #e0e0e0 solid 1px;
  border-left: #e0e0e0 solid 1px;
  border-right: #e0e0e0 solid 1px;
  padding: 4px 0px 4px 4px;

  cursor: default;
  background: #d6d6d6;
  color: black;
  white-space: nowrap;

  outline: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.gwt-TabBarItem-no-close-button {
  margin-right: 4px;
}

.gwt-TabBar .gwt-TabBarItem-selected {
  cursor: default;
  background: white;
  color: black;
}

.gwt-TabBar .gwt-TabBarItem-disabled {
  cursor: default;
}

.gwt-SplitLayoutPanel-HDragger {
  background: #e7e7e7;
  cursor: col-resize;
}

.gwt-SplitLayoutPanel-VDragger {
  background: #e7e7e7;
  cursor: row-resize;
}


.editorLine {
  font-family:Monaco,Menlo,Consolas,"Courier New",monospace;
  font-size:12px
}

.editorLinePanel {
  white-space: nowrap;
}

.disableOverflow {
  overflow: visible;
}

.noFocusBorder:read-write:focus {
  outline: none;
}

.noselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.sk-cube-grid {
  width: 40px;
  height: 40px;
  margin: 100px auto;
}

.sk-cube-grid .sk-cube {
  width: 33%;
  height: 33%;
  background-color: #333;
  float: left;
  -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
  animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}
.sk-cube-grid .sk-cube1 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s; }
.sk-cube-grid .sk-cube2 {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s; }
.sk-cube-grid .sk-cube3 {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s; }
.sk-cube-grid .sk-cube4 {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s; }
.sk-cube-grid .sk-cube5 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s; }
.sk-cube-grid .sk-cube6 {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s; }
.sk-cube-grid .sk-cube7 {
  -webkit-animation-delay: 0s;
  animation-delay: 0s; }
.sk-cube-grid .sk-cube8 {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s; }
.sk-cube-grid .sk-cube9 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s; }

@-webkit-keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
    transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
    transform: scale3D(0, 0, 1);
  }
}


@keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
    transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
    transform: scale3D(0, 0, 1);
  }
}

.ui-cursor-hand {
  cursor: pointer !important;
}

.ui-cursor-wait {
  cursor: wait !important;
}

.ui-cursor-auto {
  cursor: auto !important;
}

.ui-cursor-default {
  cursor: default !important;
}

.ui-cursor-text {
  cursor: text !important;
}

.ui-cursor-crosshair {
  cursor: crosshair !important;
}