/*!
 * Web Cabin Docker - Docking Layout Interface.
 *
 * Dependancies:
 *  JQuery 1.11.1
 *
 * Version: git-master
 *
 * Author: Jeff Houde (lochemage@webcabin.org)
 * Web: http://docker.webcabin.org/
 *
 * Licensed under
 *   MIT License http://www.opensource.org/licenses/mit-license
 *   GPL v3 http://opensource.org/licenses/GPL-3.0
 *
 */
.wcDocker {
  background-color: lightgray;
}

.wcModalBlocker {
  background-color: black;
  opacity: 0.8;
}

.wcPanelBackground {
  background-color: lightgray;
}

.wcPanelBackground .wcCenter {
  background-color: white;
}

.wcFrameFlasher {
  background-color: white;
}

.wcFrameShadower {
  background-color: cyan;
}

.wcFrameTitleBar {
  height: 22px;
  background-color: #c0c0c0;
}

.wcFrameButtonBar {
  height: 22px;
  background-color: cyan; //#c0c0c0;
}

.wcFrameTitle {
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  padding-top: 3px;
  background-color: cyan;
}

.wcFrameButton {
  width: 18px;
  height: 18px;
  border: 2px outset #cyan;
  font-size: 11px;
  background-color: cyan;
}

.wcFrameButton:hover {
  background-color: #666;
}

.wcFrameButton:active {
  border: 2px inset #444;
}

.wcFrameCenter {
  top: 22px;
}

.wcLayoutGrid, .wcLayoutGrid tr, .wcLayoutGrid td {
  border: 1px solid #555555;
}

.wcLayoutGridAlternate tr:nth-child(even), .wcLayoutGridAltColor {
  background-color: rgba(200, 200, 200, 0.2) !important;
}

.wcPanelTab {
  color: #42454a;
  background-color: #777;
  border: 1px solid #808080;
  border-radius: 2px 2px 0px 0px;
  border-bottom: 0px;
  margin-right: 1px;
  margin-top: 3px;
  font-size: 14px;
  padding-left: 2px;
  padding-right: 2px;
  padding-bottom: 0px;
}

.wcPanelTab:hover {
  background-color: #00ff00;
}

.wcPanelTabActive {
  color: #000000;
  background-color: white;
  font-weight: bold;
  margin-top: 1px;
}

.wcPanelTabActive:hover {
  background-color: #CCC;
}

.wcFrameEdge {
  position: absolute;
  z-index: 2;
  border: 2px outset #444;
  background-color: #222;
}

.wcSplitterBar {
  border: 1px outset darkgray;
  background-color: gray;
}

.wcSplitterBarV.wcSplitterBarStatic {
  width: 0px;
}
.wcSplitterBarH.wcSplitterBarStatic {
  height: 0px;
}

.wcGhost {
  background-color: #444444;
  border: 0px;
  border-radius: 6px;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
  background-color: #888;
}

::-webkit-scrollbar-corner {
  background-color: #888;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.7);
}

.wcMenuList, .context-menu-list {
  border: 1px solid #111;
}

.wcMenuItem, .context-menu-item {
  background-color: #e0ffe0;
}

.wcMenuItemHover, .wcMenuItem:hover, .context-menu-item.hover {
  background-color: #ffe0ff;
}

.wcMenuItem.disabled, .context-menu-item.disabled {
  color: #777;
  background-color: #e0ffe0;
}

.wcMenuSeparator, .context-menu-separator {
  background-color: #e0e0e0;
  color: #e0e0e0;
  margin-top: 4px;
  margin-bottom: 4px;
}


/*
  The following are not actually used in docker, they are provided as a convenience when
  controls are used in your panels, if you want to match the active theme.
*/

.wcInput, input {
  vertical-align: middle;
  border: 1px solid black;
}

.wcSelect, select {
  border: 1px solid black;
}

.wcButton, button {
  border: 1px outset #777;
  background-color: #777;
  line-height: 1em;
}

.wcButtonHover, .wcButton:hover, button:hover {
  border: 1px outset #999;
  background-color: #999;
}

.wcButtonActive, .wcButton:active, button:active {
  border: 1px inset #666;
  background-color: #666;
}

.wcButtonActive.wcButtonHover, .wcButton:hover.wcButtonActive, .wcButton:active.wcButtonHover, .wcButton:active:hover, button:active:hover {
  border: 1px inset #999;
  background-color: #999;
}

.wcButtonDisabled, .wcButton.disabled, button:disabled {
  border: 1px outset #666 !important;
  background-color: #666 !important;
  color: #555 !important;
}

.wcButton:focus, button:focus {
  outline: 0px;
}






/*
  Mobile style changes.
*/

.wcMobile .wcFrameTitleBar {
  height: 29px;
}

.wcMobile .wcFrameTitle {
  font-size: 20px;
}

.wcMobile .wcFrameButton, .wcMobile .wcFrameButton {
  width: 25px;
  height: 25px;
  font-size: 22px;
}

.wcMobile .wcFrameCenter {
  top: 29px;
}

.wcMobile .wcPanelTab {
  font-size: 14px;
  height: 29px;
}

.wcMobile .wcPanelTab > div {
  margin-top: 4px;
}

.wcMobile .wcSplitterBarV.wcSplitterBar:not(.wcSplitterBarStatic) {
  width: 12px;
  border-width: 3px;
}
.wcMobile .wcSplitterBarH.wcSplitterBar:not(.wcSplitterBarStatic) {
  height: 12px;
  border-width: 3px;
}

.wcMobile .wcInput, .wcMobile input,
.wcMobile .wcSelect, .wcMobile select,
.wcMobile .wcButton, .wcMobile button {
  font-size: 22px;
}


.modal-dialog,
.modal-content {
    /* 70% of window height */
    height: 70%;
}

.modal-body {
    /* 100% = dialog height, 120px = header + footer */
    max-height: calc(100% - 120px);
    overflow-y: scroll;
}
