/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2014 Mozilla Corporation

Contributors:
Jeff Bryner jbryner@mozilla.com
Avijit Gupta 526avijit@gmail.com
*/

/*base css */
html{
	background: none;
	min-height: 100%;
}

body{
	/*gradient*/
    
    background: rgb(32,87,153); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(30,87,153,1) 0%, rgba(32,124,202,1) 43%, rgba(41,137,216,1) 62%, rgba(41,150,217,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(43%,rgba(32,124,202,1)), color-stop(62%,rgba(41,137,216,1)), color-stop(100%,rgba(41,150,217,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(30,87,153,1) 0%,rgba(32,124,202,1) 43%,rgba(41,137,216,1) 62%,rgba(41,150,217,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(30,87,153,1) 0%,rgba(32,124,202,1) 43%,rgba(41,137,216,1) 62%,rgba(41,150,217,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(30,87,153,1) 0%,rgba(32,124,202,1) 43%,rgba(41,137,216,1) 62%,rgba(41,150,217,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(30,87,153,1) 0%,rgba(32,124,202,1) 43%,rgba(41,137,216,1) 62%,rgba(41,150,217,1) 100%); /* W3C */*/
    background: linear-gradient(to bottom, rgba(30,87,153,1) 0%,rgba(32,124,202,1) 43%,rgba(41,137,216,1) 62%,rgba(41,150,217,1) 100%); /* W3C */
    /*font-family: Georgia, serif;*/
    /*font-family: "Trebuchet MS", sans-serif;*/
    /*font-family: monospace;*/
    /*font-family: sans-serif;*/
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: small;
    /*margin: 0;*/
    /*min-width: 990px;*/
    padding: 0;
    color: #000;
    line-height: normal;
    text-align: left;
}


/*mozdef custom */
.upperwhite {
    color: #FFF;
    text-transform: uppercase;
}

caption, legend {
    color: #FFF;
}

.shadow {
    text-shadow: #000 .7px .7px .7px;
}

.ipaddress {
  color: #FFF;
  font-style: normal;
  font-weight: normal;

}

#header a.mozilla {
    position: relative;
    float: right;
    display: block;
    height: 40px;
    width: 100px;
    overflow: visible;
}

#bottom-toolbar {
  background: #444444;
  width: 100%;
  height: 40px;
  padding-left: 5px;
  padding-top: 5px;
  position: fixed;
  bottom: 0;
  z-index: 2;
  font-size: 13px;
  color: #fff;
}

#bottom-toolbar .button {
  margin: 3px 3px 3px 0;
  padding: 2px 3px 2px 5px;
  height: 13px;
  line-height: 13px;
}


.attackshoverboard {
    /*width: 500px;*/
    /*height: 500px;*/
    /*background-color: green;*/
    -moz-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    transform: scaleY(-1);
    display: none;
}

.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:active>.dropdown-menu, .dropdown-submenu:hover>.dropdown-menu {
       display: block;
       right:162px;
}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:active>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}



.attackercallout {
    width: 120px;
    height: 160px;
    box-shadow: 0px 0px 12px rgba(0,255,255,0.5);
    border: 1px solid rgba(127,255,255,0.25);
    text-align: center;
    cursor: default;
    z-index: 99;    
}

.attackercallout .id {
    font-size: 12px;
    color: rgba(127,255,255,0.75);
}

.attackercallout .details {
    text-align: left;
    left: 2px;
    font-size: 12px;
    color: rgba(127,255,255,0.75);
}

.attackercallout .blockip{
    color: #FFF;
    text-transform: uppercase;
    margin-top: 20px;
}
.attackercallout ul{
    list-style: none;
    float: left;
    left: auto;
    margin: 0px;
    padding: 0px;  
}

.attackercallout .indicator{
    color: yellow;
}
.attackercallout a{
    color: yellow;
}

.veris-wrapper td{
    color: black
}

.veris-wrapper {
    background-color: rgba(245,245,245,.7)
}

/*bootstrap overrides*/

.btn {
  border: 1px outset;
  border-radius: 4px;    
}


input[type="search"] {
  border-radius: 15px;
}


[class*="span"].centerspan {
    margin: 0 auto;
    float: none;
}

.center {
    margin: 0 auto;
    float: none;
}

.table-striped tbody > tr:nth-child(odd) > td,
.table-striped tbody > tr:nth-child(odd) > th {
  background-color: rgba(30,87,153,.7);
}

.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
  background-color: rgba(30,87,153,.5);
}

td{
  color:white;
}


.welcome {
    text-align: center;
}    

.tabcontent{
    margin-top: 20px;
}


/* uncomment this login ui css to hide the local account/password signup options 
.logins-wrapper .svgtextlabel {
  font-size: 20px;
  color: white;
}

.loginButtons {
  text-align: right;
  color:white;
}

.login-password-form{
  display:none;
}

.or {
  display: none;
}
*/
/* don't float the 'create account' link*/
#login-buttons #signup-link{
    float: none;
}

/* d3 circle styles */
.successcircle{
    /*
    fill: rgb(217,206,178);
    
    fill: rgb(60,179,113);
    */
    /*fill: rgba(0,150,221,.8);*/
    fill: rgba(0,255,0,.5);
}

.failurecircle{
    /*fill: rgb(213,222,217);*/
    /*fill: #BD2C00;*/
    /*fill: #f93;*/
    /*fill: rgba(193, 56, 50, .8);*/
    fill: rgba(255,0,0,.5);
}

circle:hover{
  fill: white;
}

.node {
    stroke: black;
    stroke-width: 1.5px;
}

.textlabel{
    stroke-width: .2px;
    stroke: black;
}


#header:after {
    content: "";
    display: none;
}

#header h2 {
    font: 30px sans-serif;
    background-image: url(/images/fx-usage-logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 0px,0px;
    float: left;
    margin: 0;
    padding: 2px 10px;
    text-align: left;
    text-indent: 30px;
    text-shadow: #000 5px 3px 3px;
}

#header a.mozdef{
	color:white;
}

#header label{
    display: inherit;
    cursor: auto;
    margin:.5em;
}

/*menu styling*/
#nav-main {
    text-align: left;
    font-weight: bolder;
    text-transform: uppercase;
    display: inline-block;
    height: 40px;
    line-height: normal;
}

#nav-main ul {
    float: left;
    z-index: 99;
    left: auto;
    margin: 0px;
    padding: 0px;
}

#nav-main li {
    float: left;
    background: none repeat scroll 0% 0% transparent;
    margin: 0px 0px 0px -1px;
    padding: 0px;
    position: relative;
    z-index: 100;
    list-style: none outside none;
}

#nav-main li a,
#nav-main li a:link,
#nav-main li a:visited,
#nav-main li span {
    border-color: #3a3c46;
    color: #fff;
    padding: 8px 10px 10px 10px;
    height: 10px;
    display: block;
    border-style: solid;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-width: 0px 1px;
    z-index: 100;
    position:relative;
    float:left;
    border-image: none;
    text-decoration: none;
}

#nav-main li.last a,
#nav-main li.last span {
    border-right-color: transparent;
}

#nav-main li.last a:hover,
#nav-main li.last a:focus,
#nav-main li.last a:active,
.js #nav-main li.last a:focus,
#nav-main li.hover a {
    border-right-color: #3a3c46;
}

#nav-main li a:hover,
#nav-main li:hover a,
#nav-main li.hover a,
#nav-main li.hover a:link,
#nav-main li.hover a:visited {
    box-shadow:
        rgba(41,48,54,0.2) 0 0px 0px,
        inset rgba(0,0,0,0.3) 0 -6px 20px 10px;
    -moz-box-shadow:
        rgba(41,48,54,0.2) 0 0px 0px,
        inset rgba(0,0,0,0.3) 0 -6px 20px 10px;
    -webkit-box-shadow:
        rgba(41,48,54,0.2) 0 0px 0px,
        inset rgba(0,0,0,0.3) 0 -6px 20px 10px;
    background: #000;
    background: rgba(0,0,0,0);

    transition-duration: 0.1s;
    transition-timing-function: linear;
    transition-delay: 0s;
    transition-property: #6363CE, box-shadow, border-right;
    padding-bottom: 30px;
    outline: 0px none;
}

/* Second-level Menu Items */

#nav-main li:hover ul,
.js #nav-main li.hover ul {
    margin-top: 2.5em;
    left: 0;
    opacity: 1;
    -moz-transition: opacity 0.2s ease-in-out;
    -webkit-transition: opacity 0.2s ease-in-out;
    -o-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
}

#nav-main ul ul,
#nav-main ul ul li {
    height: auto;
    border: 0;
    float: none;
    margin-left: 0px;
}

#nav-main ul ul {
    height: auto;
    float: none;
    position: absolute;
    left: -999em;
    opacity: 0;
    z-index: 99;
    width: 190px;
    border-radius: 0px 4px 4px;
    border: 1px solid #3a3c46;
    text-shadow: 1px 1px 0 #000, 0 0 5px #000;
    background: #000;
    background: rgba(0,0,0,0.9);
    box-shadow:
        rgba(41,48,54,0.2) 0 2px 0px,
        inset rgba(41,48,54,0.3) 0 -2px 0;
    -moz-box-shadow:
        rgba(41,48,54,0.2) 0 2px 0px,
        inset rgba(41,48,54,0.3) 0 -2px 0;
    -webkit-box-shadow:
        rgba(41,48,54,0.2) 0 2px 0px,
        inset rgba(41,48,54,0.3) 0 -2px 0;
}

#nav-main ul ul li {
    height: auto;
    float: none;
    border: 0px none;
    box-shadow:
        inset rgba(41,48,54,0.2) 0 -1px 0 0;
    -moz-box-shadow:
        inset rgba(41,48,54,0.2) 0 -1px 0 0;
    -webkit-box-shadow:
        inset rgba(41,48,54,0.2) 0 -1px 0 0;
}

#nav-main ul ul a,
#nav-main ul ul a:link,
#nav-main ul ul a:visited {
    overflow: hidden;
    padding: 3px 10px;
    margin: 0px;
    height: auto;
    float: none;
    display: block;
    font-size: 10px;
    border: 0px none;
    position: relative;
    background: none repeat scroll 0% 0% transparent;
    box-shadow: none;    
}

#nav-main ul ul a:hover,
#nav-main ul ul a:focus,
#nav-main ul ul a:active,
.js #nav-main ul ul a:focus,
#nav-main ul li.current ul li a:hover,
#nav-main ul li.current ul li a:focus,
#nav-main ul li.current ul li a:active,
.js #nav-main ul li.current ul li a:focus {
    background: rgb(227,235,244);
    background: rgba(41,48,54,0.2);
    box-shadow:
        inset rgba(41,48,54,0.3) 0 2px 0px,
        0 0 3px 2px rgba(41,48,54,.2) inset;
    -moz-box-shadow:
        inset rgba(41,48,54,0.3) 0 2px 0px,
        0 0 3px 2px rgba(41,48,54,.2) inset;
    -webkit-box-shadow:
        inset rgba(41,48,54,0.3) 0 2px 0px,
        0 0 3px 2px rgba(41,48,54,.2) inset;
}


/* Currently active menu items */
#nav-main ul li.current span,
#nav-main ul li.current a,
#nav-main ul li.current a:link,
#nav-main ul li.current a:visited {
    border-bottom-width: 1px;
    -moz-border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
    background: #fbfdff;
    background: -moz-linear-gradient(top, rgba(255,255,255,0.4) 0%,
                                     rgba(255,255,255,0.8) 100%);
    box-shadow:
        rgba(152,178,201,0.2) 0 0px 0px,
        inset rgba(152,178,201,0.3) 0 -2px 0,
        inset rgba(255,255,255,0.8) 0 -6px 6px 4px;
    -moz-box-shadow:
        rgba(152,178,201,0.2) 0 0px 0px,
        inset rgba(152,178,201,0.3) 0 -2px 0,
        inset rgba(255,255,255,0.8) 0 -6px 6px 4px;
    -webkit-box-shadow:
        rgba(152,178,201,0.2) 0 0px 0px,
        inset rgba(152,178,201,0.3) 0 -2px 0,
        inset rgba(255,255,255,0.8) 0 -6px 6px 4px;
    padding-right: 30px;
    padding-bottom: 15px;
}

#nav-main ul li.current:hover a,
#nav-main ul li.current.hover a,
#nav-main ul li.current a:hover,
#nav-main ul li.current a:focus,
#nav-main ul li.current a:active,
.js #nav-main ul li.current a:focus {
    box-shadow: none;
    -moz-box-shadow: none;
    -webbkit-box-shadow: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border-bottom: 0;
}

#nav-main ul li.current ul span,
#nav-main ul li.current ul a,
#nav-main ul li.current ul a:link,
#nav-main ul li.current ul a:visited {
    background: none;
    height: auto;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    padding: 8px 10px;
}

.vr-sidenav {
    color: white;
}

.vr-sidenav .filter-radios label:nth-child(1) {
    margin-top: 5px;
}

.vr-sidenav .filter-radios label {
    display: block;
    text-align: left;
    padding-left: 33%;
}

.vr-sidenav #specific-attack-details {
    display: none;
}

.vr-sidenav .back-button {
    position: absolute;
    left: 5px;
    top: 5px;
    color: white;
    font-size: 18px;
}

.vr-sidenav .back-button:hover {
    cursor: pointer;
}

.vr-sidenav #attacks-list {
    list-style: none;
    color: white;
    margin-left: -40px;
}

.vr-sidenav #attacks-list .attacks-list-item {
    padding: 5px;
}

.vr-sidenav #attacks-list .attacks-list-item:hover {
    cursor: pointer;
    text-decoration: underline;
}

.mousepointer {
    cursor: pointer;
}