/**
 * Main Layout Scss File 
 */
@import url("../fonts/source-sans-pro.css");
body, html {
  font-family: "Source Sans Pro";
  margin: 0px;
  padding: 0px; }

body,
.page {
  display: -ms-flexbox;
  display: flex;
  min-height: 100vh;
  -ms-flex-direction: row;
  flex-direction: row; }

#app {
  width: 100%; }

.page header {
  margin-top: 50px; }

.page-body {
  display: -ms-flexbox;
  display: flex;
  -ms-flex: 1;
  flex: 1; }

.page-content {
  display: -ms-flexbox;
  display: flex;
  -ms-flex: 1 0;
  flex: 1 0;
  -ms-flex-direction: column;
  flex-direction: column;
  background: #f4f5f7;
  background-image: url("../img/alicebg.png");
  background-position: 90% 100%;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding: 0px;
  margin: 0px; }

.main-content-wrapper {
  -ms-flex: 1;
  flex: 1; }

.page-footer {
  -ms-flex: 0 1;
  flex: 0 1;
  padding: 3px; }
  .page-footer a {
    font-size: 12px;
    text-decoration: none; }

.page-nav {
  -ms-flex: 0 0 250px;
  flex: 0 0 250px;
  -ms-flex-order: -1;
  order: -1;
  background: #f8f8f8; }

.page-sidebar {
  -ms-flex: 0 0 195px;
  flex: 0 0 195px;
  background: #272634; }

@media (min-width: 1300px) {
  .page-sidebar {
    -ms-flex: 0 0 230px;
    flex: 0 0 230px;
    background: #272634; } }

header {
  -ms-flex: none;
  flex: none; }

.navbar {
  box-shadow: none;
  border-bottom: none; }

.page-header {
  line-height: 59px;
  background: white;
  margin: 0px;
  height: 59px;
  box-shadow: 0px 1px 4px #eee; }

.table-protocols .protocol-state-error {
  display: block;
  font-size: 11px;
  color: orange; }

.loading-indicator {
  text-align: center;
  width: 50px;
  margin: 0px auto; }

.details-main {
  margin-right: 0px;
  margin-top: 20px; }
  .details-main .help-block {
    margin: 20px;
    padding: 10px 5px; }
  .details-main.row {
    margin: 0px; }

.welcome-page .jumbotron {
  padding: 20px; }

/*
 * HEADER
 */
.page-sidebar {
  color: #f0f0f0; }
  .page-sidebar h2 {
    color: #b0b0b0;
    margin-top: 15px;
    font-size: 12px;
    text-transform: uppercase;
    padding-left: 15px; }
  .page-sidebar .sidebar-header {
    color: #f0f0f0;
    padding: 5px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    background: #222; }
    .page-sidebar .sidebar-header .logo {
      -ms-flex: 0 0 45px;
      flex: 0 0 45px;
      padding: 10px 8px; }
      .page-sidebar .sidebar-header .logo i {
        font-size: 28px; }
    .page-sidebar .sidebar-header .title {
      -ms-flex: 1;
      flex: 1; }
      .page-sidebar .sidebar-header .title h1 {
        margin: 7px 0px 0px 0px;
        padding: 3px 0px;
        font-size: 13px;
        color: #f0f0f0; }
      .page-sidebar .sidebar-header .title p {
        font-size: 10px;
        color: #f0f0f0; }
  .page-sidebar .routeservers-list {
    margin-top: 40px; }
    .page-sidebar .routeservers-list > ul {
      list-style: none;
      padding: 0px;
      margin: 0px; }
      .page-sidebar .routeservers-list > ul li {
        padding: 8px;
        padding-left: 15px;
        cursor: pointer; }
    .page-sidebar .routeservers-list .routeserver-id {
      font-size: 13px;
      display: block; }
    .page-sidebar .routeservers-list a.routeserver-id {
      text-decoration: none; }
      .page-sidebar .routeservers-list a.routeserver-id:hover {
        text-decoration: underline; }
    .page-sidebar .routeservers-list .routeserver-status .bird-version {
      font-size: 10px;
      color: #888888; }
    .page-sidebar .routeservers-list .routeserver-status .api-error {
      font-size: 10px;
      color: #aa0000; }
  .page-sidebar .routeservers-groups-select {
    display: block;
    padding: 0px 15px; }
    .page-sidebar .routeservers-groups-select .btn-select {
      display: block;
      width: 100%;
      background: #222;
      border: #222;
      text-align: left;
      color: white;
      text-shadow: none; }
      .page-sidebar .routeservers-groups-select .btn-select .caret {
        float: right;
        margin-top: 10px; }
      .page-sidebar .routeservers-groups-select .btn-select:focus, .page-sidebar .routeservers-groups-select .btn-select:hover {
        background: #222;
        color: white;
        text-shadow: none; }
      .page-sidebar .routeservers-groups-select .btn-select:focus {
        box-shadow: 0px 1px 0px #555; }
    .page-sidebar .routeservers-groups-select .btn-option {
      display: block;
      text-align: left;
      color: #222;
      width: 100%;
      padding: 2px 10px; }
      .page-sidebar .routeservers-groups-select .btn-option:hover {
        background: #ccc;
        text-decoration: none; }

.page-header {
  padding: 0px 20px; }
  .page-header .status-name {
    font-weight: bold; }
  .page-header .status-protocol {
    font-weight: bold; }
  .page-header .spacer {
    font-weight: bold;
    padding: 0px 8px; }

.routeserver-status {
  margin: 0px;
  padding: 0px; }
  .routeserver-status td {
    vertical-align: top;
    padding: 4px; }
    .routeserver-status td i {
      width: 15px; }

.card {
  position: relative;
  background: white;
  margin: 20px 0px 20px 0px;
  border-radius: 2px;
  box-shadow: 0px 1px 3px #cccccc;
  padding: 15px; }

.card-header {
  text-transform: uppercase; }

/**
 * Show Modal
 */
.modal-show {
  display: block; }
  .modal-show .modal-content {
    border-radius: 3px; }

.modal-dialog .modal-body {
  max-height: 70vh;
  overflow-y: auto; }

.bgp-attributes-modal .modal-header p {
  margin: 0px;
  font-size: 10px; }

.bgp-attributes-modal .modal-header h4 {
  font-size: 14px;
  margin: 0px; }

.bgp-attributes-modal table th {
  width: 142px; }

.table-nolines td, .table-nolines th {
  border: none !important; }

.col-neighbor-attr {
  white-space: nowrap; }
  .col-neighbor-attr a, .col-neighbor-attr a:link, .col-neighbor-attr a:active {
    color: #333; }
  .col-neighbor-attr i.fa {
    color: #333; }

.col-neighbor-active {
  font-weight: bold;
  color: #2e6da4; }

.neighbors-quick-links {
  margin: -0.75em 0;
  text-align: right; }
  .neighbors-quick-links span {
    color: #888; }
  .neighbors-quick-links ul {
    padding: 0px;
    margin: 0px;
    display: inline-block; }
  .neighbors-quick-links li {
    display: inline-block;
    padding: 0px 4px;
    margin: 0px 0px 0px 8px;
    background: white;
    border-radius: 3px; }
    .neighbors-quick-links li.established a {
      color: green; }
    .neighbors-quick-links li.down a {
      color: red; }

.card-header-neighbors.established {
  color: green; }

.card-header-neighbors.down {
  color: red; }

@keyframes fadeSmooth {
  from {
    opacity: 0;
    left: -90px; }
  to {
    opacity: 1;
    left: -70px; } }

.table-routes tr {
  position: relative; }

.table-routes td {
  color: #337ab7;
  text-decoration: none; }
  .table-routes td span:hover {
    text-decoration: underline; }
  .table-routes td span {
    cursor: pointer; }

.table-routes .noexport-reason,
.table-routes .reject-reason {
  font-size: 90%;
  color: #333;
  margin-bottom: 1px; }
  .table-routes .noexport-reason a,
  .table-routes .reject-reason a {
    color: #aa0000; }

.table-routes .col-route-flags {
  padding-left: 2px;
  width: auto;
  white-space: nowrap; }

.table-routes .route-prefix-flags .primary-route {
  color: #efb208; }

.table-routes .route-prefix-flags .rpki-valid {
  color: #009900; }

.table-routes .route-prefix-flags .rpki-invalid {
  color: #d80000; }

.table-routes .route-prefix-flags .rpki-unknown {
  color: #2e6da4; }

.table-routes .route-prefix-flags .rpki-not-checked {
  color: #2e6da4; }

.table-routes .route-prefix-flags .reject-candidate-route {
  color: #d80000; }

.table-routes .route-prefix-flag {
  color: #555;
  text-decoration: none;
  border: none;
  font-size: 10px;
  cursor: default;
  padding-left: 3px; }
  .table-routes .route-prefix-flag div {
    font-size: 12px;
    display: none;
    left: -90px;
    background: rgba(0, 0, 0, 0.45);
    color: white;
    position: absolute;
    padding: 5px;
    margin-top: -22px;
    border-radius: 3px;
    font-weight: bold;
    animation-name: fadeSmooth; }
  .table-routes .route-prefix-flag:hover {
    text-decoration: none; }
    .table-routes .route-prefix-flag:hover div {
      display: block;
      animation-duration: 0.5s;
      animation-fill-mode: both; }

.table-routes .route-network {
  display: inline-block;
  position: relative;
  width: 100%;
  white-space: nowrap; }

.table-protocols {
  background: white; }
  .table-protocols .date-since {
    white-space: nowrap; }

.routes-loading.card p {
  font-family: monospace;
  font-size: 12px; }

.routes-header-container {
  text-decoration: none; }
  .routes-header-container a:hover {
    text-decoration: none; }

.routes-quick-links {
  margin: -0.75em 0;
  text-align: right; }
  .routes-quick-links span {
    color: #888; }
  .routes-quick-links ul {
    padding: 0px;
    margin: 0px;
    display: inline-block; }
  .routes-quick-links li {
    display: inline-block;
    padding: 0px 4px;
    margin: 0px 0px 0px 8px;
    background: white;
    border-radius: 3px; }
    .routes-quick-links li.filtered a {
      color: orange; }
    .routes-quick-links li.received a {
      color: green; }
    .routes-quick-links li.not-exported a {
      color: red; }

/*
 * Related Peers
 */
.related-peers {
  display: block;
  position: absolute;
  overflow: hidden;
  padding: 3px 3px 0px 3px;
  margin: 0px;
  list-style: none;
  top: -26px; }
  .related-peers li {
    height: 23px;
    line-height: 23px;
    display: inline-block;
    padding: 0px 5px;
    margin: 0px 10px 0px 0px;
    border-bottom: 1px solid #ffffff;
    background: #ffffff;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    box-shadow: 0px 1px 3px #aaa; }
    .related-peers li.active {
      font-weight: bold; }
      .related-peers li.active a {
        color: #222; }
    .related-peers li a, .related-peers li a:hover {
      text-decoration: none; }

.has-related-peers .details-main {
  padding-top: 21px; }

.card-header-routes.received {
  color: green; }

.card-header-routes.filtered {
  color: orange; }

.card-header-routes.not-exported {
  color: red; }

.routes-view.routes-filtered .route-prefix-flag.reject-candidate-route {
  display: none; }

@media (min-width: 1200px) and (max-width: 1258px) {
  .details-main > .col-main {
    width: 80%;
    float: left; }
  .details-main > .col-aside-details {
    width: 20%;
    float: left; } }

.card-related-peers h2 {
  color: #555;
  font-weight: bold;
  margin-top: 8px;
  margin-bottom: 5px;
  font-size: 12px;
  text-transform: uppercase;
  padding: 0; }

.card-related-peers h3 {
  font-size: 14px;
  margin: 10px 0px 0px 0px;
  padding-bottom: 2px;
  border-bottom: 1px solid #ccc;
  color: black; }

.card-related-peers .related-peers-rs-peer {
  margin: 5px 0px;
  width: 100%; }

.card-related-peers table {
  width: 100%; }

.card-related-peers .uptime {
  text-align: right; }

.card-related-peers .peer-stats {
  text-align: center;
  cursor: default; }
  .card-related-peers .peer-stats .routes-received {
    color: green; }
  .card-related-peers .peer-stats .routes-accepted {
    color: green; }
  .card-related-peers .peer-stats .routes-filtered {
    color: orange; }

.atooltip {
  position: relative;
  display: inline-block;
  cursor: default; }

.atooltip i {
  position: absolute;
  font-style: normal;
  width: 140px;
  color: #ffffff;
  background: #000000;
  height: 30px;
  line-height: 30px;
  text-align: center;
  visibility: hidden;
  border-radius: 6px; }

.atooltip i:after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid #000000;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent; }

.atooltip:hover i {
  visibility: visible;
  opacity: 0.8;
  bottom: 30px;
  left: 50%;
  margin-left: -76px;
  z-index: 999; }

.error-notify {
  width: 420px;
  border-bottom: 7px solid #7c0002;
  background-color: rgba(255, 0, 0, 0.8);
  color: #fff;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  display: table;
  z-index: 999;
  right: 30px;
  top: 20px; }
  .error-notify .error-icon {
    display: table-cell;
    width: 60px;
    padding: 8px 10px 0 10px;
    text-align: center;
    vertical-align: top; }
    .error-notify .error-icon > i {
      font-size: 3em;
      border-radius: 100%; }
  .error-notify .error-message {
    display: table-cell; }
    .error-notify .error-message > p {
      line-height: 1.2;
      margin-top: 6px; }
  .error-notify .error-dismiss {
    position: absolute;
    right: 5px;
    top: 0px;
    cursor: pointer; }

.lookup-container h2 {
  text-transform: uppercase;
  color: #337ab7;
  font-size: 14px;
  line-height: 1;
  margin-top: 0px; }

.lookup-result-summary ul {
  list-style: none;
  padding: 0px;
  margin: 0px; }

.lookup-result-summary li {
  padding: 5px 0; }

.lookup-help {
  margin: 30px 20px; }
  .lookup-help h3 {
    font-weight: normal;
    font-style: italic;
    color: #337ab7;
    margin-top: 15px;
    font-size: 14px;
    text-transform: uppercase; }

/*
 Pagination is handled pretty well by bootstrap.
 We add some minor extensions, like a breakable paginator.
*/
.pagination li.break a {
  border: none;
  border-left: 1px solid #ddd; }
  .pagination li.break a:hover {
    background: none; }

.pagination .pagination-select {
  width: auto;
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #337ab7;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  cursor: pointer;
  -moz-appearance: none;
  -webkit-appearance: none; }

.pagination li.active .pagination-select {
  background-color: #337ab7;
  color: #fff; }

.label-bgp-community {
  margin-right: 5px;
  display: inline-block; }

.label-bgp-unknown {
  color: #333;
  background-color: #ddd; }

/*
 * Filters
 */
.lookup-filters-editor h2 {
  color: #555;
  font-weight: bold;
  margin-top: 8px;
  margin-bottom: 5px;
  font-size: 12px;
  text-transform: uppercase;
  padding: 0; }

.lookup-filters-editor .select-ctrl {
  width: 100%; }
  .lookup-filters-editor .select-ctrl .select-container {
    width: 100%; }
  .lookup-filters-editor .select-ctrl select {
    padding: 0px;
    width: 100%; }
  .lookup-filters-editor .select-ctrl td {
    padding-bottom: 5px;
    vertical-align: middle; }
  .lookup-filters-editor .select-ctrl .btn {
    margin-left: 3px;
    border-radius: 100px;
    padding: 3px 5px;
    font-size: 10px;
    line-height: 10px;
    color: #337ab7; }
  .lookup-filters-editor .select-ctrl .btn-remove {
    color: #aa0000; }
  .lookup-filters-editor .select-ctrl .options-title {
    font-weight: bold; }
  .lookup-filters-editor .select-ctrl .label {
    text-align: left;
    white-space: normal; }
