/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
}

.form-control {
  border: 1px solid #cccccc;
}

.form-control.ui-select-toggle {
  border: 1px solid #222;
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}


/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
/*    background-color: #f5f5f5; */
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a {
  color: #fff;
  background-color: #428bca;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}

.alert {
  margin-left: 4px;
  margin-right: 4px;
  margin-bottom: 4px;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

.twitter-typeahead{
width:100%;
}

.twitter-typeahead .tt-query,
.twitter-typeahead .tt-hint {
  margin-bottom: 0;
}
.tt-menu {
  min-width: 160px;
  margin-top: 2px;
  padding: 5px 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0,0,0,.2);
  *border-right-width: 2px;
  *border-bottom-width: 2px;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
  -webkit-background-clip: padding-box;
     -moz-background-clip: padding;
          background-clip: padding-box;
  width:100%;
}

.tt-suggestion {
  display: block;
  padding: 3px 20px;
  color: #000;
}

.tt-suggestion.tt-is-under-cursor {
  color: #fff;
  background-color: #0081c2;
  background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
  background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
  background-image: -o-linear-gradient(top, #0088cc, #0077b3);
  background-image: linear-gradient(to bottom, #0088cc, #0077b3);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0)
}

.tt-suggestion.tt-cursor {
  background-color: #0097cf;
  color: #fff;
}

.tt-suggestion.tt-is-under-cursor a {
  color: #fff;
}

.tt-suggestion {
  word-wrap: break-word;
}

.tt-suggestion p {
  margin: 0;
}

.tt-hint {
    color: #999999;
}

#search .server-name {
  margin: 0 20px 5px 20px;
  padding: 3px 0;
  border-bottom: 1px solid #ccc;
  color: #000;
  text-transform: uppercase;
}

#tree, #tree-hierarchy {
  background-color: #E9F2F9;
  color: #697075;
}

#tree td {
  border: none;
}

.fancytree-container.fancytree-treefocus span.fancytree-node:hover {
  background-color: #428BCA;
  color: #E9F2F9;
}

table.fancytree-ext-table.fancytree-treefocus tbody tr:hover {
  background-color: #428BCA;
  color: #E9F2F9;
}

table.fancytree-ext-table tbody tr.fancytree-active {
  color: #E9F2F9;
}

svg text {
  fill: #C8C8C8;
}

.nvd3.nv-pie path {
  stroke-opacity: 0;
}

.nvtooltip {
  color: #697075;
}

@keyframes blink {
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}
@-webkit-keyframes blink {
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}
.blink {
  animation: blink 1s step-start 0s infinite;
  -webkit-animation: blink 1s step-start 0s infinite;
}

.wrapper {
  margin-top: 80px;
  margin-bottom: 80px;
}

.form-signin {
  background: linear-gradient(#8a9196, #7a8288 60%, #70787d);
  max-width: 380px;
  padding: 15px 35px 45px;
  margin: 0 auto;
  border: 1px solid rgba(0,0,0,0.1);

  .checkbox {
    margin-bottom: 30px;
  }

  .form-control {
    position: relative;
    font-size: 16px;
    height: auto;
    padding: 10px;
    @include box-sizing(border-box);

    &:focus {
      z-index: 2;
    }
  }

  input[type="text"] {
    margin-bottom: -1px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  input[type="password"] {
    margin-bottom: 20px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}

#search {
  margin-right: 0.1em;
}

@keyframes rotateThis {
  from { transform: scale( 1 ) rotate( 0deg ); }
  to { transform: scale( 1 ) rotate( 360deg ); }
}
@-webkit-keyframes rotateThis {
  from { transform: scale( 1 ) rotate( 0deg ); }
  to { transform: scale( 1 ) rotate( 360deg ); }
}
.icon-refresh-animate {
  animation: rotateThis 1s infinite linear;
  webkit-animation: rotateThis 1s infinite linear;
}

legend[id] {
  margin-top: -45px;
  padding-top: 80px;
}

.dtl {
  display: none;
  height: 15px;
}

.browse > li {
  clear: both;
  display: block;
  font-weight: normal;
  line-height: 1.42857;
  padding: 3px 20px;
  white-space: nowrap;
}

.browse > li:hover, .browse > li:focus {
  background-color: #272b30;
  color: #ffffff;
  text-decoration: none;
}

.browse > li > select {
  color: black;
}

.clickable {
  cursor: pointer;
}

.bold {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

.ui-select-bootstrap .ui-select-choices-row > span {
  color: #c8c8c8;
}

.ui-select-bootstrap .ui-select-choices-row > a {
  color: #fff;
}

.ui-select-multiple input.ui-select-search {
  width: auto !important;
}

.table-responsive {
  overflow-x: visible;
}

td {
  word-wrap: break-word;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}

.tooltip {
  word-wrap: break-word;
}

.tooltip-inner {
  max-width: 300px;
}

.node {
  cursor: pointer;
}

.node circle {
  fill: #fff;
  stroke: steelblue;
  stroke-width: 3px;
}

.node text {
  font: 12px sans-serif;
}

.link {
  fill: none;
  stroke: #555;
  stroke-width: 1px;
}

#back-to-top {
  position: fixed;
  bottom: 10px;
  left: 10px;
  background: #3e444c;
  width: 50px;
  height: 50px;
  display: block;
  text-decoration: none;
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  border-radius: 35px;
  display: none;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#back-to-top i {
  color: #fff;
  margin: 0;
  position: relative;
  left: 16px;
  top: 13px;
  font-size: 19px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#back-to-top:hover {
  background: #428bca;
}
#back-to-top:hover i {
  color: #fff;
  top: 5px;
}

a {
  outline: 0;
}
