@CHARSET "UTF-8";

/********************************************************************
facepalm
*********************************************************************/
div
{
    min-height: 0px;
    min-width: 0px;
}

/********************************************************************
scroll
*********************************************************************/

/* Let's get this party started */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

/* Track */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #d7ebf9 50% 50% repeat-x;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}
::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(39, 121, 170,0.4); 
}

/********************************************************************
jQuery
*********************************************************************/

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

/********************************************************************
main
*********************************************************************/

html{
    height: 100%;
}

body {
    background-color: black;
    font: 70% 'Trebuchet MS', sans-serif;
    height: 100%;
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column;
}

#workspace {
    min-width: 708px;
    min-height: 800px;
    position: relative;
    background-image: url("../img/newBg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    flex: 1 1 0;
    display: flex;
    flex-direction : column;
    justify-content : flex-start;
    align-items : stretch;
    align-content : stretch;
}

.window-frame {
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.5);
    border-style: solid;
    border-color: gray;
    border-width: 1px;
    border-color: black;
}

.center-vh {
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.rotate-left {
    transform:rotate(-90deg);
    -moz-transform:rotate(-90deg);
    -o-transform:rotate(-90deg);
    -webkit-transform:rotate(-90deg);
    -ms-transform:rotate(-90deg);
}

.no-text-selection
{
    user-select: none; /* CSS3 (little to no support) */
    -ms-user-select: none; /* IE 10+ */
    -moz-user-select: none; /* Gecko (Firefox) */
    -webkit-user-select: none; /* Webkit (Safari, Chrome) */
}

.block {
    display: inline-block;
}

#mainPanel {
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

#mainPanel>div {
    flex: 1;
    justify-content: flex-start;
}

#mainContent {
    vertical-align: top;
    text-align: center;
    display: flex;
    flex-direction: column;
}

#mainContent>div {
    flex: 1;
    justify-content: center;
}
/********************************************************************
warning blink
*********************************************************************/
.blink-farme {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 2s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;

    -moz-animation-name: blinker;
    -moz-animation-duration: 2s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;

    animation-name: blinker;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;

    -moz-box-shadow: 0 0 15px red;
    -webkit-box-shadow: 0 0 15px red;
    box-shadow: 0px 0px 15px red;
}

@-moz-keyframes blinker {  
    0% { background-color: white; }
    20% { background-color: red; }
    80% { background-color: red; }
    100% { background-color: white; }
}

@-webkit-keyframes blinker {  
    0% { background-color: white; }
    20% { background-color: red; }
    80% { background-color: red; }
    100% { background-color: white; }
}

@keyframes blinker {  
    0% { background-color: white; }
    20% { background-color: red; }
    80% { background-color: red; }
    100% { background-color: white; }
}

/********************************************************************
test
*********************************************************************/
.debug{
    border-width: 1px;
    border-style: dotted;
    border-color: red;
}
.checkered {
    -webkit-background-size: 50px 50px;
    -moz-background-size: 50px 50px;
    background-size: 50px 50px; /* Controls the size of the stripes */
    background-image: -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, #555),
        color-stop(.25, transparent), to(transparent)),
        -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, #555),
        color-stop(.25, transparent), to(transparent)),
        -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.75, transparent),
        color-stop(.75, #555)),
        -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.75, transparent),
        color-stop(.75, #555));
    background-image: -webkit-linear-gradient(45deg, #555 25%, transparent 25%, transparent),
        -webkit-linear-gradient(-45deg, #555 25%, transparent 25%, transparent),
        -webkit-linear-gradient(45deg, transparent 75%, #555 75%),
        -webkit-linear-gradient(-45deg, transparent 75%, #555 75%);
    background-image: -moz-linear-gradient(45deg, #555 25%, transparent 25%, transparent),
        -moz-linear-gradient(-45deg, #555 25%, transparent 25%, transparent),
        -moz-linear-gradient(45deg, transparent 75%, #555 75%),
        -moz-linear-gradient(-45deg, transparent 75%, #555 75%);
    background-image: -ms-linear-gradient(45deg, #555 25%, transparent 25%, transparent),
        -ms-linear-gradient(-45deg, #555 25%, transparent 25%, transparent),
        -ms-linear-gradient(45deg, transparent 75%, #555 75%),
        -ms-linear-gradient(-45deg, transparent 75%, #555 75%);
    background-image: -o-linear-gradient(45deg, #555 25%, transparent 25%, transparent),
        -o-linear-gradient(-45deg, #555 25%, transparent 25%, transparent),
        -o-linear-gradient(45deg, transparent 75%, #555 75%),
        -o-linear-gradient(-45deg, transparent 75%, #555 75%);
    background-image: linear-gradient(45deg, #555 25%, transparent 25%, transparent),
        linear-gradient(-45deg, #555 25%, transparent 25%, transparent),
        linear-gradient(45deg, transparent 75%, #555 75%),
        linear-gradient(-45deg, transparent 75%, #555 75%);
}
/********************************************************************
label
*********************************************************************/
.sad-label {
    font-weight: bold;
    text-align: left;
    vertical-align: middle;
    padding: 3px;
    display: inline-block;
    height: 16px;
}
/********************************************************************
textbox
*********************************************************************/
.sad-textbox {

}
/********************************************************************
textbox
*********************************************************************/
.sad-button {
    height: 16px;
    padding: 3px;
}
/********************************************************************
grid
*********************************************************************/

/********************************************************************
grid-view
*********************************************************************/


.g-row{
    display: flex;
    border-color: #ddd;
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    flex:none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.g-row-c{
    flex: 1;
}

.g-row-num,.g-row-c:not(:last-child){
    border-right-color: #ddd;
    border-right-style: solid;
    border-right-width: 1px;
}

.g-row-c,.g-row-num{

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 1px; 
}


.g-row-c
{
    border-left-color: #ddd;
    border-left-style: solid;
    border-left-width: 1px;
}

.g-row-num
{
    width: 42px;
    text-align: center;
    font-weight: bold;
}
/********************************************************************
tabs
*********************************************************************/
.sad-tabs-vertical {
    width: auto;
}

.sad-tabs-vertical>.ui-tabs-nav {
    padding: .2em .1em .2em .2em;
    float: left;
    width: 12em;
}

.sad-tabs-vertical>.ui-tabs-nav li {
    clear: left;
    width: 100%;
    border-bottom-width: 1px !important;
    border-right-width: 0 !important;
    margin: 0 -1px .2em 0;
}

.sad-tabs-vertical>.ui-tabs-nav li a {
    display: block;
}

.sad-tabs-vertical>.ui-tabs-nav li.ui-tabs-active {
    padding-bottom: 0;
    padding-right: .1em;
    border-right-width: 1px;
}

.sad-tabs-vertical>.ui-tabs-panel {
    padding: 1em;
    float: left;
}

.sad-tabs-header {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}
/********************************************************************
fixedHeadersPanel
*********************************************************************/
.sad-fixedHeadersPanel-content>tbody>tr>td:hover{
    cursor: pointer;
}
/********************************************************************
planViewer
*********************************************************************/
.sad-plan-viewer .detailedField {
    flex: 1;
    display: flex;
    border-color: black;
    font-size: 11px;
    min-height: 53px;
}

.sad-plan-viewer .colorDiv {
    width: 5px;
}

.sad-plan-viewer .infoDiv {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sad-plan-viewer .infoDiv div {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sad-plan-viewer .infoDiv>div:first-child {
    display: flex;
    flex-direction: column;
}

.sad-plan-viewer .infoDiv>div:nth-child(2){
    display: flex;
    flex-direction: row;
    max-height: 14px;
    min-height: 14px;
}

.sad-plan-viewer .tooltipDiv {
    text-align: left;
}

.sad-plan-viewer .agregateField {
    flex: 1;
    display: flex;
    border-color: black;
    font-size: 11px;
    min-height: 53px;
}
.sad-plan-viewer .agregateField-i {
    flex: 1;
    line-height: 53px;
    font-size: 40px;
    font-weight: bold;
}
/********************************************************************
treeView
*********************************************************************/

.sad-tree-view .stv-expF
{
    min-width:18px; 
    height:18px; 
    display:flex; 
    align-items:center; 
    justify-content:center;
}

.sad-tree-view .stv-selF
{
    min-width:18px; 
    height:18px; 
    display:flex; 
    align-items:center; 
    justify-content:center;
}

.sad-tree-view .stv-cRange
{
    margin-left:9px; 
    margin-right:9px; 
    width:1px; 
    border-left-style: dotted; 
    border-left-width: 1px;
}

.sad-tree-view .stv-chld
{
    min-width: 0px;
}

.sad-tree-view .stv-posRow
{
    cursor: pointer;
    min-width: 0px;
}

.sad-tree-view .stv-pos
{
    display: flex;
    min-width: 100vw;
    flex-direction: column;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    min-width: 0px;
}

.sad-tree-view .stv-posCap
{
    min-width:180px; 
    height:18px; 
    padding-left:3px; 
    white-space:nowrap; 
    overflow:hidden; 
    text-overflow:ellipsis; 
    line-height:18px; 
    text-align:left;
}