// Wide modal used for certain panels such as executing flow panel.
.modal-wide .modal-dialog {
  width: 80%;
}

// Hide messaging alert by default.
.alert-messaging {
  display: none;
}

// Add additional space under navs.
.nav-tabs, .nav-pills {
  margin-bottom: 15px;
}

// Flow panel heading.
.flow-expander {
  cursor: pointer;
}

// Flow summary.
table .worksheet-key {
  width: 25%;
}

// Job table.
#all-jobs {
  .tb-name {
    width: 70%;
    border-bottom-width: 0;
    border-bottom-style: none;
  }

  .tb-up-date {
    width: 140px;
    min-width: 130px;
  }

  .tb-owner {
    width: 10%;
    min-width: 95px;
  }
}

// Properties table.
.properties-table {
  .all-jobs .tb-pname {
  }

  .all-jobs .tb-pvalue {
  }
}

// Permissions page table.
.permission-table {
  .tb-perm {
    width: 41px;
    margin: 0px;
  }

  .tb-admin {
    width: 41px;
    margin: 0px;
  }

  .tb-read {
    width: 33px;
    margin: 0px;
  }

  .tb-write {
    width: 34px;
    margin: 0px;
  }

  .tb-execute {
    width: 51px;
    margin: 0px;
  }

  .tb-schedule {
    margin: 0px;
    width: 60px;
  }

  .tb-action {
    margin: 0px;
    width: 70px;
    min-width: 70px;
    max-width: 70px;
  }
}

// Table of executions.
.executions-table {
  th {
    &.date {
      width: 140px;
    }

    &.execid {
      width: 100px;
    }

    &.project {
      width: 200px;
    }

    &.user {
      width: 60px;
    }

    &.elapse {
      width: 90px;
    }

    &.status {
      width: 100px;
    }

    &.details {
      width: 10px;
    }

    &.action {
      width: 20px;
    }
  }

  td {
    &.timeline {
      width: 280px;
      padding: 0px;
      height: 100%;
      vertical-align: bottom;
      margin: 0px;
    }

    &.execId {
      font-weight: bold;
    }
  }
}


.navbar-logo {
  float: left;
  padding: 15px 15px;
  font-size: 18px;
  line-height: 20px;

  a {
    &:hover,
    &:focus {
      text-decoration: none;
    }
  }
}

@media (min-width: 768px) {
  .navbar > .container .navbar-logo {
    margin-left: -15px;
  }
}

@media (min-width: 768px) {
  .navbar-enviro {
    width: auto;
  }
}

.navbar-enviro {
  margin: 25px 20px 0px 10px;
     
  .navbar-enviro-name {
    color: #ff3601;
    font-family: Helvetica, Arial, Sans-Serif;
    font-size: 118.75%;
    font-weight: bold;
  }
       
  .navbar-enviro-server {
    color: #999;
    font-family: Helvetica, Arial, Sans-Serif;
    font-size: 75%;
  }
}

// Restyle navbar-inverse for Azkaban navbar.
.navbar-inverse {
  background-image: -o-linear-gradient(bottom, rgb(56,56,56) 33%, rgb(73,73,73) 66%);
  background-image: -moz-linear-gradient(bottom, rgb(56,56,56) 33%, rgb(73,73,73) 66%);
  background-image: -webkit-linear-gradient(bottom, rgb(56,56,56) 33%, rgb(73,73,73) 66%);
  background-image: -ms-linear-gradient(bottom, rgb(56,56,56) 33%, rgb(73,73,73) 66%);
  background-image: -webkit-gradient(
     linear,
     left bottom,
     left top,
     color-stop(0.33, rgb(56,56,56)),
     color-stop(0.66, rgb(73,73,73))
  );
  background-image: linear-gradient(bottom, rgb(56,56,56) 33%, rgb(73,73,73) 66%); 
  border-top: 5px solid #ff3601;
  box-shadow: 0 1px 4px 1px #000;

  .navbar-logo {
    background: url('../../images/logo.png') top left no-repeat;
    color: #ffffff;
    font-size: 156.25%;
    font-weight: bold;
    margin: 15px 0.6% 15px 4.75%;
    padding: 12px 0 11px 42px;

    a {
      color: #ffffff;
      &:hover,
      &:focus {
        color: #ffffff;
        background-color: transparent;
      }
    }
  }

  .navbar-nav {
    font-family: Arial;
    font-size: 81.25%;

    > li {
      padding: 25px 12px 25px 12px;
      cursor: pointer;
      &:hover {
        background-color: rgba(0, 0, 0, 0.1);
      }
    }

    > li > a {
      padding: 0px;
      color: #ccc;
    }

    > .active {
      background-color: rgba(0, 0, 0, 0.1);
    }

    > .active > a {
      color: #fff;
      font-weight: bold;
      background-color: transparent;
      border-bottom: 1px solid #ff3601;
      &:hover {
        background-color: transparent;
      }
    }

    > .active > .open {
      background-color: transparent;
    }
  }
}

.az-page-header {
  padding-bottom: 9px;
  margin: 0 0 30px;
  border-bottom: 1px solid #eeeeee;

  h1 {
    font-size: 32px;
  }
}

.contextMenu {
  position: absolute;
  background-color: #FFF;
  border: 1px solid #DDD;
  -moz-box-shadow: 2px 2px 5px #888;
  -webkit-box-shadow: 2px 2px 5px #888;
  box-shadow: 2px 2px 5px #888;

  ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  li {
    &.menuitem {
      background-color: #FFF;
      padding: 3px 20px;
      min-width: 50px;
      font-size: 10pt;
      cursor: pointer;
    
      .expandSymbol {
        background-image: url("../css/images/ui-icons_cccccc_256x240.png");
        background-position: -32px -16px;
        height: 16px;
        width: 16px;
        float:right;
      }
      
      &:hover {
        background-color: #555;
        color: #FFF;
      }
    }

    &.break {
      border-bottom: 1px solid #BBB;
      margin: 2px 5px;
    }
  }
}


.well-clear {
  background-color: transparent;
}

#flow-graph {
  width: 750px;
  height: 500px;
  left: 0px;
}
