﻿/* Fonts */

@font-face {
    font-family: "FontAwesome";
    src: url(https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/fonts/fontawesome-webfont.woff2) format("woff2");
}


/* ReSharper disable once Html.AttributeNotResolved */
[v-cloak] {
    display: none;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.btn-fuchsia, .badge-fuchsia {
    color: #fff;
    background-color: #a503fc;
    border-color: #a503fc;
}

.text-fuchsia {
    color: #a503fc;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
    border-top: 1px solid #545a60 !important;
}
.border-bottom {
    border-bottom: 1px solid #545a60 !important;
}

.border1 {
    border: 1px solid #545a60;
}

.font-normal th {
    font-weight: normal;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem #000000;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* Tabs */

.nav-link {
    border-width: 0 0 3px 0 !important;
    cursor: default;
    padding-top: 4px;
    padding-bottom: 4px;
}

.nav-link:hover {
    border-width: 0 0 3px 0 !important;
    border-bottom-color: #00abff !important;
}

.bgActiveTab, .bgActiveTab a {
    border-bottom-color: #007bff !important;
}

.border_defend {
    border-bottom: 1px solid #007bff !important;
}

.border_hunt {
    border-bottom: 1px solid #a503fc !important;
}

/* Theme
-------------------------------------------------- */
html, body {
    color: #fff;
    background: #111;/*#343a40;*/
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.custom-range-modal {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    background: #fff;
}

input,
textarea,
.form-control,
.form-control:active,
.form-control:disabled,
.form-control[readonly],
.form-control:focus,
.form-control:focus:active,
.form-control:valid,
.input-group-append,
.input-group-text,
select,
option,
.custom-select {
    background-color: #111;
    color: #fff;
}

.custom-range::-webkit-slider-runnable-track,
.progress,
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.breadcrumb,
.dropdown-menu,
.dropdown-item,
.table-dark,
.btn-secondary,
.modal-content {
    background: #222;
    color: #fff;
}

    .dropdown-item:focus, .dropdown-item:hover, .dropdown-item:active {
        background: #111 !important;
        color: #fff;
    }

.custom-select {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='rgb(248, 249, 250)' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E")
}

.cursor-ptr {
    cursor: default;
}

.cursor_hand {
    cursor: pointer;
}

.self {
    background: #444;
}

.both {
    background: #256;
}

.smart {
    border: solid #ffd700 !important;
    border-width: 0 0 0 2px !important;
}

.smart-price {
    border: solid #ffd700 !important;
    border-width: 0 0 2px 2px !important;
}

.smart-limit {
    border: solid #ffd700 !important;
    border-width: 2px 0 0 2px !important;
}

.over {
    background: #669;
}

.stop {
    background-color: #444;
    opacity: 1;
    background-image: repeating-linear-gradient(45deg, #555 25%, transparent 25%, transparent 75%, #555 75%, #555), repeating-linear-gradient(45deg, #555 25%, #444 25%, #444 75%, #555 75%, #555);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
}

.cbAlign {
    vertical-align: middle;
    position: relative;
    bottom: 2px;
}

.orange {
    color: orange;
}

.darkorchid {
    color: orchid;
}

.bell {
    width: 21px;
    height: 21px;
    border-radius: 100%;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.bell > span{
  color:#fff;
  font-weight:bold;
  font-size:12px;
  position:absolute;
  z-index:4;
  top:1px;
  left:4px;
  
  animation: ring 4s .7s ease-in-out infinite;
  transform-origin: 50% 4px;  
}

@keyframes ring {
  0% { transform: rotate(0); }
  2% { transform: rotate(30deg); }
  6% { transform: rotate(-28deg); }
  10% { transform: rotate(34deg); }
  14% { transform: rotate(-26deg); }
  18% { transform: rotate(25deg); }
  22% { transform: rotate(-14deg); }
  26% { transform: rotate(12deg); }  
  30% { transform: rotate(-7deg); }
  34% { transform: rotate(6deg); }  
  40% { transform: rotate(0); }  
  100% { transform: rotate(0); }
}

td.expand {
    text-align: center;
    padding-bottom: 2px;
    padding-top: 2px;
}

.ico-warn {
    background: url(../img/warn.svg) center no-repeat;
    margin-left: 40px;
    width: 20px;
    height: 18px;
    display: inline-block;
}

.tableFixHead {
    overflow: auto;
    max-height: 300px;
}

    .tableFixHead thead th {
        position: sticky;
        top: -1px;
        z-index: 1;
        background: #222;
        box-shadow: inset 0 1px 0 #545a60, inset 0 -1px 0 #545a60;        
    }

.arrow-h:hover {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}