html, body
{
    color: #000;
    background: #fff;
}

footer
{
    background-color: #ddd;
    padding: 10px;
}

a
{
    color: #aaa;
}

main
{
    margin-left: 200px;
    width: calc(100% - 200px);
    padding: 20px;
}

main div div
{
    margin-bottom: 20px;
}

#divKrakenRules div, #divBitcoinDeRules div
{
    margin: 0;
    padding: 10px 0 0 0;
    background-color: #eee;
}

table
{
    min-width: 350px;
}

td
{
    padding: 3px;
}

.sidebar
{
    width: 200px;
    position: fixed;
    min-height: 100%;
}

.nav {
    padding-left: 5px;
    padding-right: 5px;
}

.nav-item svg,.nav-item img,.nav-item div
{
    width: 16px;
    height: 16px;
}

.bitcoin-logo
{
    display: inline-block;
    background-image: url(../../img/bc_logo.svg);
    width: 16px;
    height:16px;
    background-size: cover;
    background-position-x: 0;
    fill: #fff;
}

.gate-logo
{
    display: inline-block;
    background-image: url(../../img/gate-icon.png);
    width: 16px;
    height:16px;
    background-size: cover;
    background-position-x: 0;
}

.yobit-logo
{
    display: inline-block;
    background-image: url(../../img/yobit.ico);
    width: 16px;
    height:16px;
    background-size: cover;
    background-position-x: 0;
}

.content-div
{
    display: none;
}

.content-div.show
{
    display: block;
}

.status-scroll-list-container
{
    width: 100%;
    padding: 2px!important;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-family: monospace;
}

.status-scroll-list-item
{
    padding: 0px!important;
    color: #000;
    line-height: 6px;
}

#divLoginContainer
{
}

#divLogin
{
    margin: auto;
    width: 300px;
}

#divLogin table
{
    width: 100%;
    margin-top: 20%;
    border: 2px solid #eee;
    border-radius: 10px;
}

#divLogin table th
{
    font-size: 1.5em;
    background-color: #eee;
    border-radius: 6px 6px 0 0;
    padding: 5px;
}

#divLogin table td
{
    font-size: 1.5em;
    border: none;
    padding: 5px;
}

#divLogin table input
{
    width: 150px;
}

.ruleElementTable
{
    width: 100%;
    margin-bottom: 10px;
    border: none;
}

.ruleElementTable th
{
    border: none;
    background-color: #212529;
    color: #fff;
}

.ruleElementTable td
{
    border: none;
}

.ruleElementTable.parameters.closed th
{
    cursor: pointer;
}

.ruleElementTable.parameters.closed td
{
    display: none;
}

#divStats
{
    display: inline-block;
}

#divStats table td:last-child
{
    text-align: right;
}

#clientTab_Chart canvas
{
    height: 100px;
}

.ui-widget button
{
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 100px;
}

.ui-widget-header
{
    background: none;
    border: none;
}

.ui-widget.ui-widget-content
{
    border: none;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default
{
    background-color: #212529;
    color: #fff;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active
{
    background-color: #007bff;
}

.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited
{
    color: #fff;
}

#ulClientTabs:not(.ui-tabs-nav)
{
    display: none;
}

#divClientTabs:not(.ui-tabs)
{
    display: flex;
}

#divDisconnected
{
    position: absolute;
    width: 20%;
    left: 40%;
    margin-right: auto;
    top: 0;
    z-index: 100;
    background-color: #ff000080;
    text-align: center;
    padding: 5px;
    margin-top: 10px;
    border-radius: 100px;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
}

/*#clientTab_Bitcoin_de:not(.ui-tabs-panel), #clientTab_Kraken:not(.ui-tabs-panel), #clientTab_YoBit:not(.ui-tabs-panel), #clientTab_Server:not(.ui-tabs-panel), #clientTab_Manual:not(.ui-tabs-panel), #clientTab_Chart:not(.ui-tabs-panel)
{
    color: #000;
    background: #fff;
    display: inline-block;
}*/

/*#clientTab_Chart:not(.ui-tabs-panel)
{
    width: 500px;
    height: 400px;
}*/

body, html
{
  background-color: #000;
  color: #fff;
  margin: 0;
  font-size: 10px;
  font-family: sans-serif;
}

table, td
{
  border: 1px solid #aaa;
}

input
{
  width: 70px;
}

button
{
  font-size: 14px;
}

a
{
  color: #fff;
}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
    float: left;
    padding: 0.5em 0.8em 0.5em 0.3em;
    text-decoration: none;
}

.info_window_button
{
    border: 1px solid #888;
    border-radius: 10px;
    width: 20px;
    height: 20px;
    background-color: #eee;
}

.info_window
{
    position: fixed;
    left: 0;
    top: 0;
    width: 80%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10%;
    font-size: 1.3em;
}

#divRates, #divRates_Cash
{
  font-size: 14px;
  font-weight: bold;
}

#divRuleLargeDifference
{
  font-size: 16px;
}

#divRuleTopOffer
{
  font-size: 16px;
}

#ruleVisDiff_container
{
  width: 200px;
  height: 15px;
  border: 1px solid #000;
  position: relative;
}

#ruleVisDiff_negative
{
  left: 0;
  top: 0;
  width: 50%;
  height: 15px;
  border: 0;
  position: absolute;
  background-color: #f00;
}

#ruleVisDiff_neutral
{
  left: 50%;
  top: 0;
  width: 10%;
  height: 15px;
  border: 0;
  position: absolute;
  background-color: #ff0;
}

#ruleVisDiff_positive
{
  right: 0;
  top: 0;
  width: 40%;
  height: 15px;
  border: 0;
  position: absolute;
  background-color: #0f0;
}

#ruleVisDiff_bar
{
  top: 0;
  width: 2px;
  height: 13px;
  border: 1px solid #fff;
  position: absolute;
  background-color: #000;
}

@media (max-width: 300px)
{
  #divRates
  {
    font-size: 8px;
  }
  
  #ruleVisDiff_container
  {
    width: 90%;
  }
  
  #reloadOrdersButton
  {
    display: none;
  }
  
  #buttonMinTradeValue
  {
    padding: 0;
    margin: 0;
    border-radius: 0;
    font-size: 10px;
  }
  
  #buttonMaxTradeValue
  {
    padding: 0;
    margin: 0;
    border-radius: 0;
    font-size: 10px;
  }
}

#divRateChart
{
  width: 100%;
  height: 250px;
  background-color: #fff;
}

tr.assetSelected
{
    background-color: #d3e9ff;
}

a.rule_started
{
    background-color: #4cbf00;
}

a.rule_paused
{
    background-color: #ffa200;
}


@media (max-width: 600px) {
    main
    {
        margin-left: 70px;
        width: calc(100% - 70px);
    }

    table
    {
        min-width: calc(97vw - 70px - 40px);
    }

    .sidebar
    {
        width: 70px;
    }

    .nav {
        padding-left: 0px;
        padding-right: 0px;
    }

    .nav-item
    {
        text-align: center;
        width: 50px;
    }

    .nav-item a
    {
        padding-left: 0;
        padding-right: 0;
    }

    .nav-item svg,.nav-item img,.nav-item div
    {
        width: 30px;
        height: 30px;
        margin-right: 0!important;
    }
}

