/*****************************************
 **              Spot Header            **
 *****************************************/

#spot-nav {
  border: none;
}

#search-box {
  background-color: rgb(224, 224, 224);
  color: @gray-base;
  padding: 5px 0;
}

#search-box .form-group {
    margin-left: 10px;
}

/*****************************************
 **         Spot loading spinner        **
 *****************************************/

.spot-loader
{
    text-align: center;
    margin-top: 20px;
}

.spot-loader .spinner
{
    display: inline-block;
    width: 16px;
    height: 11px;
    margin-left: 5px;
    background-image: url(../images/ajax-loader.gif);
}

/*****************************************
 **             Spot Tooltip            **
 *****************************************/

.d3-tip {
    line-height: 1;
    padding: 12px;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    border-radius: 5px;
    font-size: 12px;
    z-index: 10000;
}

.d3-tip .d3-tip-label {
    color: #888888;
    font-weight: bold;
}

.d3-tip .d3-tip-label strong {
    color: white;
}

.d3-tip .d3-tip-message {
    font-size: 12px;
    text-align: left;
    word-break: break-all;
}

/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
    box-sizing: border-box;
    display: inline;
    font-size: 10px;
    width: 100%;
    line-height: 1;
    color: rgba(0, 0, 0, 0.8);
    position: absolute;
    pointer-events: none;
}

/* Northward tooltips */
.d3-tip.n:after {
    content: "\25BC";
    margin: -1px 0 0 0;
    top: 100%;
    left: 0;
    text-align: center;
}

/* Eastward tooltips */
.d3-tip.e:after {
    content: "\25C0";
    margin: -4px 0 0 0;
    top: 50%;
    left: -8px;
}

/* Southward tooltips */
.d3-tip.s:after {
    content: "\25B2";
    margin: 0 0 1px 0;
    top: -8px;
    left: 0;
    text-align: center;
}

/* Westward tooltips */
.d3-tip.w:after {
    content: "\25B6";
    margin: -4px 0 0 -1px;
    top: 50%;
    left: 100%;
}

/* Northwestward tooltips */
.d3-tip.nw:after {
    content: "\25E2";
    margin: -5px 0 0 -5px;
    top: 100%;
    left: 100%;
}

/* Northestward tooltips */
.d3-tip.ne:after {
    content: "\25E3";
    margin: -5px 0 0 0;
    top: 100%;
    left: -4px;
}

/* Southestward tooltips */
.d3-tip.se:after {
    content: "\25E4";
    top: -4px;
    left: -4px;
}

/* Southwestward tooltips */
.d3-tip.sw:after {
    content: "\25E5";
    margin: 0 0 0 -5px;
    top: -4px;
    left: 100%;
}

/*****************************************
 **            Spot Suspicious          **
 *****************************************/
.spot-grid-panel .label {
  font-size: 100%;
}

/*****************************************
 **          Spot Network View          **
 *****************************************/
.edge {
    stroke-width: 3px;
    transition: stroke .5s linear;
}

.edge.active {
    stroke: @brand-warning !important;
    stroke-opacity: 1 !important;
}

.edge.highlight {
    stroke: @brand-warning !important;
    stroke-opacity: 1 !important;
}

.edge-faded {
    stroke-opacity: 0.2 !important;
}

.node-faded, .faded {
    fill-opacity: 0.2 !important;
    stroke-opacity: 0.2 !important;
}

.node {
    stroke: hsl(0,60%,100%);
    stroke-width: 2.5px;
    fill: @brand-warning;
}

.node.internal {
    stroke: hsl(0,60%,100%);
    stroke-width: 2.5px;
    fill: @brand-info;
}

/*-------------------------- Flashing/ blinker Animation----------------------*/
.blink_me {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 1.5s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-name: blinker;
    -moz-animation-duration: 1.5s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;
    animation-name: blinker;
    animation-duration: 1.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.proxy-force .edge.blink_me {
    stroke: @brand-warning;
}

@-moz-keyframes blinker {
    0% {
        stroke-opacity: 1.0;
        fill-opacity: 1.0;
    }

    50% {
        stroke-opacity: 0.3;
        fill-opacity: 0.3;
    }

    100% {
        stroke-opacity: 1.0;
        fill-opacity: 1.0;
    }
}

@-webkit-keyframes blinker {
    0% {
        stroke-opacity: 1.0;
        fill-opacity: 1.0;
    }

    50% {
        stroke-opacity: 0.3;
        fill-opacity: 0.3;
    }

    100% {
        stroke-opacity: 1.0;
        fill-opacity: 1.0;
    }
}

@keyframes blinker {
    0% {
        stroke-opacity: 1.0;
        fill-opacity: 1.0;
    }

    50% {
        stroke-opacity: 0.3;
        fill-opacity: 0.3;
    }

    100% {
        stroke-opacity: 1.0;
        fill-opacity: 1.0;
    }
}

/*************************************
 **      Spot Chords Diagram        **
 *************************************/

.chord path {
    fill-opacity: .67;
    stroke: #000;
    stroke-width: .5px;
}

/*************************************
 **      Spot Ingest Summary        **
 *************************************/

.x.axis path {
    stroke: #000;
}

.y.axis path {
    stroke: #000;
}

path.line {
    fill: none;
    stroke: #000;
    stroke-width: .5px;
}
