/*
** Initial
*/

.flex {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;

    -ms-flex-wrap: wrap;

        flex-wrap: wrap;
    -ms-flex-line-pack: start;
        align-content: flex-start;
}

.flex .flex-child {
    min-width: 0;
}

.spaced {
    margin-bottom: 15px;
}

.main {
    overflow-x: hidden;
}

body > .main {
    min-height: 100%;
}

.main-container {
    /* 85 is the height of the top bar with bottom margin */
    min-height: calc(100vh - 85px);
}

@media (max-width: 1024px) {
    .main-container {
        /* 77 is the height of the top bar with bottom margin */
        min-height: calc(100vh - 77px);
    }
}

.logged-in {
    padding-left: 66px;
    background-color: #F0F0F0;
}

#superadmin-menu-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background: #2E323A;
  width: 220px;
  height: 100%;
  overflow: hidden;
}

#superadmin-menu-wrapper ul {
  list-style: none;
  padding-left: 20px;
}

#superadmin-menu {
  padding: 0 !important;
  margin: 0;
  width: 250px;
  max-height: 100vh;
  overflow: hidden;
  overflow-y: auto;
}
#superadmin-menu li.has-submenu {
  margin-bottom: 0;
  padding-bottom: 0;
  padding-top: 1px;
}

.superadmin-menu-section {
    margin-bottom: 16px;
}

.superadmin-menu-button {
    padding-left: 25px;
    color: #8F9194;
    outline: none;
    font-size: 10px;
    position: relative;
    transition: color .2s;
}
.superadmin-menu-button.has-submenu::before {
    content: '▶︎';
    font-size: 15px;
    position: absolute;
    left: 0;
    transition: color .2s, transform .2s;
}
.superadmin-menu-button > img {
    opacity: .4;
    display: block;
    margin-bottom: 5px;
    transition: opacity .2s;
}
.superadmin-menu-button:hover {
    color: #dddde0;
}
.superadmin-menu-button:hover > img {
    opacity: .7;
}
.superadmin-menu-button.is-enabled {
    color: #fff !important;
}
.superadmin-menu-button.is-enabled > img {
    opacity: 1 !important;
}
.superadmin-menu-button.has-submenu.is-enabled::before {
    transform:  rotate(90deg);
}

.superadmin-submenu {
    padding-left: 25px !important;
    padding-bottom: 10px;
    display: none;
}

.superadmin-submenu span,
.superadmin-submenu a {
  color: #8F9194;
  text-decoration: none;
  display: block;
  margin: 10px 0;
}

.is-admin-menu-expanded .superadmin-submenu span,
.is-admin-menu-expanded .superadmin-submenu a {
    color: #fff;
}

.superadmin-submenu a:hover,
.superadmin-submenu a:focus {
    text-decoration: underline !important;
    cursor: pointer;
}

.superadmin-submenu li:not(:last-child) ul {
    padding-bottom: 5px;
}

#superadmin-menu-wrapper > ul > li {
  padding: 10px;
}

.superadmin-toggle-all {
    margin-top: 5px;
}

.superadmin-toggle-all button {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    background: none;
    border: none;
    outline: none;
}

.superadmin-toggle-all button:hover,
.superadmin-toggle-all button:focus,
.superadmin-toggle-all button:active {
    text-decoration: underline;
}

.logged-in #superadmin-menu-wrapper {
  display: none;
}
.logged-in.superadmin-setting-active #wrapper {
  display: none;
}
.logged-in.superadmin-setting-active #superadmin-menu-wrapper {
  display: block;
}
.logged-in.superadmin-setting-active {
  padding-left: 220px;
}
.navbar-collapse {
    padding: 0;
}

.navbar-toggle {
    margin-top: 0;
    margin-bottom: 0;
    color: #fff;
}

.navbar-collapse > .navbar-nav {
    margin: 0;
}

.navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 20px;
    border-bottom: 2px solid transparent;
}

.navbar-nav>li>a:hover, .navbar-nav>li>a:focus {
    background-color: transparent;
    border-bottom: 2px solid #fff;
}

.main:not(.logged-in) .toggle-sidebar {
    display: none!important;
}

.hamburger {
    top: 15px;
}

.hamburger i {
    position: relative;
    top: -9px;
    color: #808080;
}

.sidebar-nav .li-menu {
    padding-left: 15px;
}

.menu-buttons {
    position: relative;
    padding-left: 55px;
    line-height: 32px;
}

.menu-buttons i,
.menu-buttons span {
    position: absolute;
    left: 0;
}
.menu-buttons svg path{
  fill: #8F9194;
}

.menu-buttons .fa-special {
    left: 4px;
}

.overlay {
    width: 100vw;
    height: 100vh;
}

/*
** First Navbar
*/

.first a {
    color: #fff;
}

.navbar-info {
    line-height: 28px;
}

.toggle-sidebar {
    display: inline-block;
    margin-right: 10px;
    padding: 10px 20px;
}

.navbar-collapse {
  padding-right: 30px;
}

.network-status {
  position: absolute;
  top: 12px;
  right: 15px;
}

.network span {
    color: #e0e0e0;
}

.navbar-nav > li > .bar-icon {
  padding-top: 11px;
  padding-bottom: 11px;
}

@media (max-width: 743px) {
  .bar-icon > i {
    float: left;
  }
  .bar-icon > span {
    position: relative;
    left: .5em;
    top: 2px;
  }
}

@media (min-width: 769px) {
    .toggle-sidebar,.navbar-info-refresh {
        display: none!important;
    }
    .navbar-nav>li>a {
        padding-top: 14px;
        padding-bottom: 14px;
    }
}

@media (width: 768px) or (width: 744px) {
  .navbar-nav>li>a {
      padding-top: 21px;
      padding-bottom: 20px;
  }

  .navbar-nav > li > .bar-icon {
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

@media (max-width: 1024px) {
    #wrapper {
        will-change: left;
        transition: left .4s ease-in-out;
    }

    .main {
        will-change: padding;
        transition: padding .4s ease-in-out;
    }

    .is-mobile .logged-in {
        padding-left: 0;
    }

    .is-mobile .logged-in #wrapper {
        left: -75px;
    }

    .is-mobile .show-sidebar #wrapper {
        left: 3px;
    }

    .pages {
        padding-left: 5px;
        padding-right: 5px;
    }

    .secondary-hidden-xs {
        display: none;
    }
}

/*
** Second navbar
*/

.second .logo {
    width: 100%;
    height: 100%;

    padding-top: 10px;
    padding-bottom: 10px;
}

.second .logo img {
    display: block;
    margin: auto;
}

.second .logo p {
    margin-top: 7px;
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    color: #fff;
}

.secondary-visible {
    position: relative;
}

.secondary-toggle {
    text-align: center;
}

.quick-info .secondary-toggle {
    position: absolute;
    right: 0;
    top: 0;
    width: 80px;
    height: 100%;
}
.secondary-toggle .toggle {
  cursor:pointer;
}
.secondary-toggle small {
    color: #fff;
    opacity: .5;
    -webkit-transition: opacity .4s ease;
    transition: opacity .4s ease;
}

.logo .secondary-toggle small {
    display: block;
}

.show-sidebar .secondary-toggle small {
    opacity: 0;
}

.second-bar .with-risk {
  width: 75%;
  margin-right: 10px;
  float: left;
}

@media (min-width: 769px) {
    .second .logo {
      height: 126px;
      display: table-cell;
      vertical-align: middle;
    }
    .quick-info {
        text-align: right;
    }
    .secondary-toggle {
        display: none!important;
    }
}

/*
** Sidebar
*/

#wrapper .new-logo {
    will-change: transform;
    transition: transform .5s ease, margin .5s ease;
}

#wrapper.toggled .new-logo {
  display: inline-block;

}
#wrapper.toggled .hamburger {
  left: 165px;
  position: absolute;
}

/*
** Forms
*/

.form-control {
    height: auto;
    padding: 4px 8px;
}

.numpad-input {
    -moz-appearance:textfield;
}

.num-4 {
    width: 4em!important;
}

/*.num-6 {
    width: 6em!important;
}*/

.numpad-input::-webkit-outer-spin-button,
.numpad-input::-webkit-inner-spin-button,
.numpad-input::-webkit-clear-button {
    display: none;
    -webkit-appearance: none;
    margin: 0;
}


/*
** Use of importants is to counteract awesome-bootstrap checkbox styling
*/

.checkbox label::before {
    display: none!important;
}

/*
** Login page
*/

.welcome-screen {
    height: calc(100vh - 50px);
    position: relative;
}

.logo-duty {
    height: 30%;
    padding-top: 3em;
    padding-bottom: 2em;
}

.logo-duty img {
    max-height: 100%;
    width: auto;
}

.slogan {
    height: 50%;
}

@media (max-width: 743px) {
    .slogan {
        font-size: .75em;
    }
}

.copyright {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
}

.navbar-toggle .tooltip {
    left: auto!important;
    right: 0;
}

.navbar-toggle .tooltip-arrow {
    left: 79%!important;
}

.navbar-toggle .tooltip-inner {
    white-space:pre;
    max-width:none;
}

/*
**  Home page
*/

.nvg-currency, .night_nvg-currency, .aircraft-status {
    margin-bottom: 10px;
}

.table .title > th {
    border-right: 0;
    border-left: 0;
}

/*
** Flight page
*/

.add-flight {
    display: block;
    margin-bottom: .5em;
    padding: 10px 20px;
    color: #333;

    -webkit-transition: background-color .5s ease;

    transition: background-color .5s ease;
}

.add-flight:hover, .add-flight:focus {
    background-color: #e8e8e8;
    color: #333;
    text-decoration: none;
}

.add-flight i {
    position: relative;
    top: 3px;
}

.add-flight span, .header_info {
    font-size: 18px;
    line-height: 30px;
}

.flight_header {
    padding: 10px 20px;
    position: relative;
}

.panel-default > .panel-heading {
    background-color: #FFFFFF;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.12);
    border-radius: 8px;
}

.flight_header .riskIndicator {
    position:absolute;
    top:1.4em;
    left:1.4em;
    height:1em;
    width:1em;
    border-radius:.5em;
}
.riskIndicatorDenied {
    background-color:red;
    border: 1px solid black;
}
.riskIndicatorApproved {
    background-color:green;
    border: 1px solid black;
}
.riskIndicatorPending {
    background-color:yellow;
    border: 1px solid black;
}
.riskIndicatorIncomplete {
}

.header_info {
    padding-left: 2.8em;
}

.header_info > .expand_flight {
    line-height: 30px;
    font-size: 18px;
    height: auto;
    word-wrap: normal;
}

.header_info > .other-details {
    line-height: 30px;
    font-size: 18px;
    height: auto;
    word-wrap: normal;
}

.header_info > .expand_flight > span {
    display: inline-block;
}

.header_info > .other-details > span {
    display: inline-block;
}

@media (min-width: 769px) {
    .header_info .expand_flight > span:not(:first-child) {
        padding-left: 8%;
    }

    .header_info .other-details > span:not(:first-child) {
        padding-left: 3%;
    }

    .expanded_to_legs_content {
        padding-left: 15px
    }

    .header-info .first_leg_only, .header-info .expanded_to_legs_content {
        float: left;
    }

    .flight_body_section {
        min-height: 30px;
    }

    .flight_body_section .form-group+.form-group {
        margin-right: 0em;
    }
}

.expand-action {
    display: block;
    float: left;
    color: #333;
    cursor: pointer;
    -webkit-transition: color .2s ease;
    transition: color .2s ease;
}

.expand-action span {
    position: relative;
    top: 2px;
}

.expand-action:hover, .expand-action:focus {
    color: #39f;
}

.flight_actions {
  display: flex;
  flex-flow: row;
  align-items: center;
}

.flight_action {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  margin-bottom: 0;
  line-height: 30px;
  font-size: 15px;
  text-decoration: none;
  margin-right: 15px;
  -webkit-transition: color .25s ease;
  transition: color .25s ease;
}

.flight_action:hover {
  text-decoration: none;
}

.flight_action img {
  height: 20px;
  width: auto;
}

.flight_action span {
  margin-left: .5em;
  color: #4e779c;
}

.flight_action:hover span {
  color: #333;
}

.flight_body_section {
    margin-bottom: 15px;
}

.deleteConfirmPane div {
    margin-top: 15px;
}

.flight_continues, .flight_with_summary {
    /*margin-bottom: 0;*/
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.flight_with_summary:last-child {
  margin-bottom: 20px;
}

.flight_is_continuation {
    border-top: 0;
    border-top-left-radius:0;
    border-top-right-radius:0;
}

@media (max-width: 743px) {

    .flight_action {
      margin-right: 20px;
    }

    .flight_action img {
      height: 24px;
    }
}

/*
** Modals
*/

.modal {
    max-width: 100vw;
}

.modal-300 .modal-dialog {
    width: 300px;
}

.modal-400 .modal-dialog {
    width: 400px;
}

.modal-450 .modal-dialog {
    width: 450px;
}

.modal-500 .modal-dialog {
    width: 500px;
}

.modal-600 .modal-dialog {
    width: 600px;
}

.modal-700 .modal-dialog {
    width: 700px;
}

.modal-750 .modal-dialog {
    width: 750px;
}

.modal-800 .modal-dialog {
    width: 800px;
}

.modal-900 .modal-dialog {
    width: 900px;
}

.modal-1100 .modal-dialog {
    width: 1100px;
}

.modal-1200 .modal-dialog {
    width: 1200px;
}

.modal-1300 .modal-dialog {
    width: 1300px;
}

.modal-700-no-scroll .modal-open .modal {
    overflow: hidden;
    width: 700px;
}

.modal-auto {
    overflow: scroll;
    margin: 0 auto;
}

.modal-login {
    width: 650px;
}

.modal-dialog {
    position: relative;
    margin: 0 auto;
    width: 80%;
    max-width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.modal-dialog .server-response {
    white-space: pre;
    font-family: 'Consolas', monospace;
    margin-top: 16px;
}

.modal-dialog.modal-sm {
    max-width: 400px;
}

.modal-dialog > .modal-content {
    margin: auto 0;
}

.scrollable-modal-body .modal-dialog {
    height: 100%;
}
.scrollable-modal-body .modal-content {
    max-height: 100%;
    display: flex;
    flex-direction: column;
}
.scrollable-modal-body .modal-content > * {
    flex: none;
}
.scrollable-modal-body .modal-body {
    flex: auto;
    overflow-y: auto;
}

/* Horizontal table scroll */
.table-scroll-x .rowHeader {
  opacity: 0;
}

.table-scroll-x--wrapper {
  max-width: 100%;
  overflow-x: auto;
}

@media (pointer: coarse) or (max-width: 1024px) {
  .table-scroll-x--wrapper {
    overflow-x: scroll;
  }
}

.table-scroll-x--wrapper2 {
  overflow: hidden;
  max-width: 100%;
  position: relative;
}

.table-scroll-x--wrapper td,
.table-scroll-x--wrapper th {
  white-space: nowrap;
}

.table-scroll-x--fixed {
  position: absolute;
  pointer-events: none;
}

.table-scroll-x--fixed .rowHeader {
  opacity: 1;
  background: white;
  position: relative;
  z-index: 11;
}

.table-scroll-x--fixed td:not(.rowHeader),
.table-scroll-x--fixed th:not(.rowHeader) {
  opacity: 0;
  border-color: transparent;
}


@media (max-width: 1200px) {
  .modal-dialog {
    width: 90vw;
    margin-top: 0;
  }
}

@media (max-width: 743px) {
    .modal-dialog {
        width: 100vw;
    }

    .modal-dialog > .modal-content {
        margin: auto;
        max-width: calc(100% - 20px);
    }

    .modal-login > .modal-dialog {
        width: 100%;
    }
    .modal-footer {
        padding: 5px 15px 25px;
    }
}

.org-choice {
    cursor: pointer;
    padding: 5px;
    border-bottom: 1px solid #efefef;
}

.org-choice:hover, .org-choice:focus {
    background-color: #eee;
}

.wab-modal .modal-footer {
  background-color: #2a2e37;
  border-color: #656565;
  padding: 10px;
}

.wab-modal .modal-footer .btn {
  width: 100%;
}

.wab-modal .bootbox-body {
  display: flex;
  flex-flow: column nowrap;
  height: 100%;
}


.wab-modal .performance {
    padding-top: 10px;
}
#weightAndBalanceScreen {
  margin: 0;
  display: flex;
  flex-flow: column nowrap;
  height: 100%;
}

#weightAndBalanceContent {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  height: 100%;
}

.wab-config {
  background-color: #2a2e37;
  color: white;
  padding: 10px;
}

.performanceOutputs {
    width: 10em !important;
}

@media (max-width: 743px) {
  .wab-config {
    font-size: 80%;
  }
}

#wabConfigEdit {
  position: relative;
  bottom: 2px;
}

.wab-interactive {
  flex-grow: 1;
  background-color: #808080;
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 0;
}

.wab-clear {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wab-clear .wab-clear-btn {
    padding: 3px 5px;
    font-weight: normal !important;
}

.wab-bottom-actions {
  display: flex;
  flex-flow: row nowrap;
  position: absolute;
  z-index: 2;
}

.wab-bottom-actions {
  justify-content: flex-end;
  bottom: 10px;
  right: 10px;
}

.wab-bottom-actions .btn + .btn {
  margin-left: 10px;
}

#diagramHolder {
  position: relative;
  left: auto!important;
  padding: 10px;
  z-index: 2;
}

#selectedWabFieldName {
  color: white;
}

.wab-status {
  min-height: 50px;
  background-color: #2a2e37;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  padding: 10px 0;
}

.wab-status .btn {
  flex-grow: 1;
  margin: 0 10px;
}

.wab-popup-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,.5);
  z-index: 3;
}

#wabPopup {
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  background: white;
  border: 1px solid gray;
  padding: 10px;
}

#wabPopup .form-horizontal .form-group {
  margin-right: 0;
  margin-left: 0;
}

.wabSection {
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
}

.balance-summary .form-group {
    margin-bottom: 0;
}

.balance-summary .control-label {
    padding-top: 7px;
    padding-bottom: 7px;
    text-align: right;
}

.landing-fuel input[type="text"],
.fuel-burn input[type="text"] {
    width: 4em;
    float: left;
}

.landing-fuel .wabFuelUnit, .fuel-burn .wabFuelBurnMeasure {
    position: relative;
    top: 3px;
    margin-left: .5em;
}

.wabCheck .form-group {
    min-height: 40px;
}

.wabCheck .control-label {
    padding-top: 7px;
    margin-bottom: 0;
    text-align: right;
}

.to-weight-available {
    position: absolute;
    bottom: -15px;
    font-size: 15px;
}

.wabPass:not(#performanceTakeoffWeight):not(#performanceTakeoffCg):not(#wabGraphContainer),
.wabFail:not(#performanceTakeoffWeight):not(#performanceTakeoffCg):not(#wabGraphContainer),
.wabWarn:not(#performanceTakeoffWeight):not(#performanceTakeoffCg):not(#wabGraphContainer),
.wabInfo:not(#performanceTakeoffWeight):not(#performanceTakeoffCg):not(#wabGraphContainer) {
    display: inline-block;
    width: 5em;
    padding: 2px 5px;
    min-height: auto;
    float: left;
    text-align: center;
    font-weight: bold;
    background: #eee;
    border: 1px solid #333;
}

.wabInfo:not(#performanceTakeoffWeight):not(#performanceTakeoffCg) {
    background: #C8C8C8;
    border-color: #888;
}

.wabPass:not(#performanceTakeoffWeight):not(#performanceTakeoffCg):not(#wabGraphContainer) {
    background: #5cb85c;
    border-color: #2e692e;
}

#performanceTakeoffWeight.wabPass, #performanceTakeoffCg.wabPass {
    color: #00ff00
}

.wabFail:not(#performanceTakeoffWeight):not(#performanceTakeoffCg):not(#wabGraphContainer) {
    background: #d9534f;
    border-color: #962e2a;
    color: #fff;
}

#performanceTakeoffWeight.wabFail, #performanceTakeoffCg.wabFail {
    color: #d9534f;
}

.wabWarn:not(#performanceTakeoffWeight):not(#performanceTakeoffCg):not(#wabGraphContainer) {
    background: #f0ad4e;
    border-color: #af7f3a;
}

#performanceTakeoffWeight.wabWarn, #performanceTakeoffCg.wabWarn {
    color: #f0ad4e;
}

#wabGraphContainer.wabFail {
  border: 7px solid #d9534f;
}

#wabGraphContainer.wabWarn {
  border: 7px solid #f0ad4e;
}

.wab-heading {
    text-align: center;
    font-weight: bold;
    text-decoration: underline;
}

.weightInput-wrapper {
    position: absolute;
}

.weightInput-wrapper span {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0 5px;
    font-size: 18px;
    line-height: 27px;
    cursor: pointer;
}

.weightInput {
    position: relative;
    font-size: 12px;
    border: 1px solid black;
    text-align: center;
    padding: 4px 4px;
    padding-right: 18px;
}

@media (max-width: 743px) {
    .wab-heading:not(.wab-heading-first) {
        border-top: 1px solid #aaa;
        padding-top: 10px;
        text-align: center;
    }
}

@media (max-width: 1200px) {
  .balance-summary .control-label {
      padding-top: 3px;
      padding-bottom: 3px;
      text-align: right;
  }

  .balance-summary .form-control-static {
    min-height: 0;
    padding-top: 3px;
    padding-bottom: 3px;
  }
}

.wab-modal .modal-content {
  max-height: 100vh;
  display: flex;
  flex-flow: column nowrap;
}

.wab-modal .modal-body {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-flow: column nowrap;
}

.wab-modal .wab-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 10px;
    width: 20%;
}

.wab-modal .wab-info-container .wab-info {
    width: 100%;
}

.wab-modal .wab-info-container .wab-info-item {
    border: solid 1px black;
    border-radius: 5px;
    margin-bottom: 5px;
    padding: 1px 5px;
    color: #fff;
    background-image: linear-gradient(transparent, rgb(54, 54, 54));
}

.wab-modal .wab-info-container .wab-info-item .wab-info-label {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wab-modal .wab-info-container .wab-info-item .wab-info-label label {
    font-weight: normal;
}

.wab-modal .wab-info-container .wab-info-item .wab-info-label p {
    font-size: 10px;
    margin: -10px 0 0 0;
}

.wab-modal .wab-info-container .wab-info-item .wab-info-value {
    text-align: center;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wab-modal .wab-info-container .wab-info-item.focus-into-input:hover,
.wab-modal .wab-info-container .wab-info-item.focus-into-input *:hover {
    cursor: pointer;
}

.wab-modal .diagram-wrapper {
  width: 40%;
  display: flex;
  justify-content: center;
}

input:disabled,
select:disabled {
  opacity: .75;
  background-color: rgb(235, 235, 228);
}

.table-management {
  color: white;
}

.table-management .title {
  border: 0;
}

.with-tooltip {
  position: relative;
}

.row-tooltip {
  position: absolute;
  right: -25px;
  top: 5px;
  font-size: 20px;
  color: #12395b;
}

.row-title {

}

.row-controls {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}

.row-controls button {
  font-size: 16px;
  padding: 2px 8px;
  background-color: transparent;
  border-color: #4682B4;
  color: #4682B4;
}

.row-controls button:hover,
.row-controls button:focus,
.row-controls button:active {
  color: #ffffff;
  background-color: #4682B4;
  border-color: #4682B4;
}

.row-bold {
  font-weight: bold;
  font-style: italic;
}

.tab-pane {
  padding: 10px 0;
}

.manage-buttons {
  margin-top: 15px;
}

.table-management input {
  color: #000;
}

.table-management tr {
  transition: background-color .3s ease;
}

.table-management tr.highlight {
  background-color: rgba(255,255,255,.5);
  transition: background-color 1s ease;
}

.input-group-addon {
  height: 20px;
  padding: 3px 12px;
}
.input-group-addon.has-form-control {
  padding: 0;
  border: 0;
}
.input-group-addon.has-form-control .form-control {
  border-radius: 0 5px 5px 0;
  width: auto;
  height: 30px;
}

.checkbox input {
  bottom: -5px;
}

.multiselect-container .checkbox input {
    bottom: 2px;
}

input[type=checkbox].checkbox-green {
  -webkit-appearance: none;
  background-color: transparent;
  border: 2px solid #b7b7b7;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
  width: 15px;
  height: 15px;
  display: inline-block;
  position: relative;
  padding: 10px;
  margin: 2px 0px 0px;
}
input[type=checkbox].checkbox-green:checked {
  background-color: #00bd78;
  border: 2px solid #b7b7b7;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
  color: #FFF;
}

input[type=checkbox].checkbox-green:checked:after {
  content: '\2714';
  font-size: 15px;
  position: absolute;
  top: -1px;
  left: 4px;
  color: #FFF;
}

.add_row,
.add_row_popup {
    color: green;
    font-size: 2em;
}

.btn .fa.add_row {
    vertical-align: -5px;
    margin-right: 5px;
}

.add_row:not(.contrast):hover,
.add_row_popup:hover {
    color: white;
    text-decoration: none;
}

.crudl-box .add_row:not(.contrast):hover,
.crudl-box .add_row_popup:hover {
    color: #f85d29;
}

.table-full-width table {
  width: 100%;
}

.entry-readonly {
  color: white;
}

.type_image {
  display: block;
  margin: 0 auto;
}

.manage_link {
  color: #4682B4;
  border-bottom: 1px solid #4682B4;
  font-weight: bolder;
}

.manage_link span {
  color: #4682B4;
}

.manage_link:hover {
  text-decoration: none;
  color: #80b4e0;
  border-color: #80b4e0;
}

.manage_link:hover span {
  color: #80b4e0;
}

.management-header {
  display: flex;
  flex-flow: row nowrap;
}

.management-header h4,
.management-header .alert {
  flex-grow: 1;
}

.management-header .alert {
  opacity: 0;
  transition: all .3s ease;
    margin-bottom: 0;
}

.management-header .alert-visible {
  opacity: 1;
}

.mpe-noimage {
  margin-top: 100px;
  margin-bottom: 100px;
}

.mpe-diagram-wrapper {
  background-color: #808080;
  width: 100%;
  display: flex;
  justify-content: center;
}

.mpe-diagram-holder {
  padding: 10px;
  left: auto;
  position: relative;
}

#mass-placements-edit .row {
  margin: 0;
}

#mass-placements-edit .row > div {
  padding-left: 0;
  padding-right: 0;
}

.mpe-field-highlight {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

.ui-autocomplete {
  max-height: 150px;
  overflow-y: auto;
  overflow-x: hidden;
}

.wab-weight-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}

.wab-weight-actions * {
  margin-bottom: 5px !important;
  width: 100%;
}

.wab-weight-actions .fa {
    width: auto;
}

.wab-graphs-container {
    width: 40%;
}

.wab-crew-member {
  height: 32px;
  margin-bottom: 8px;
}

#wabShare > div {
  position: relative;
  margin: 0 auto;
  max-width: 300px;
  padding: 20px 0;
  display: flex;
  flex-flow: column;
  align-items: center;
}

#wabShare .btn:first-of-type {
  margin-bottom: 10px;
}

#wabShare .wab-email-separator {
  font-size: 20px;
  margin: 15px 0;
}

#wabShare .wab-email-separator:before, #wabShare .wab-email-separator:after {
  content: '';
  display: inline-block;
  width: 70px;
  height: 2px;
  background-color: #888;
  margin: 0 10px;
  margin-bottom: 5px;
}

#wabShare form {
  width: 100%;
}

#wabShare .form-control {
  height: 44px;
  margin-bottom: 10px;
}

.wab-email-status {
  min-height: 1em;
  font-weight: bold;
  text-align: center;
}

.wab-email-error {
  color: darkred;
}

.wab-email-success {
  color: darkgreen;
}

#loading-page {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.wab-spinner-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255,255,255, .5);
  transition: all .3s ease;
  pointer-events: none;
}

.wab-spinner-wrapper.display-none {
  display: none;
}

.wab-modal .wab-row {
    display: flex;
}

.wab-modal .wab-row .wab-column.top-to-bottom {
    margin-top: auto;
}

.wab-modal .wab-row .wab-column .wab-calculated-field {
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 20px;
    min-width: 80px;
}


/* TOGGLE SWITCH START */
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 11px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  bottom: -1px;
  -webkit-transition: .4s;
  transition: .4s;
  border: 1px solid #EFEFEF;
  background-color: #F8F8F8;
  box-shadow: 0 1px 1px 0px rgba(0,0,0,0.38);
  left: -1px;
}

input:checked + .slider {
  background-color: #02BC77;
}

input:focus + .slider {
  box-shadow: 0 0 1px #02BC77;
}

input:checked + .slider:before {
  -webkit-transform: translateX(12px);
  -ms-transform: translateX(12px);
  transform: translateX(12px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
/* TOGGLE SWITCH END */

/*
** Retina fixes
*/

@media
    only screen and (min-device-width: 320px) and (-webkit-min-device-pixel-ratio: 1.5),
    only screen and (min-device-width: 320px) and (min--moz-device-pixel-ratio: 1.5),
    only screen and (min-device-width: 320px) and (-o-min-device-pixel-ratio: 1.5/1),
    only screen and (min-device-width: 320px) and (min-device-pixel-ratio: 1.5),
    only screen and (min-device-width: 320px) and (min-resolution: 192dpi),
    only screen and (min-device-width: 320px) and (min-resolution: 1.5dppx) {
        .navbar {
            min-height: 65px;
            font-size: 1.3em;
        }

        .navbar-header {
            height: 65px;
        }

        .navbar-toggle {
            padding: 14.5px;
        }

        .toggle-sidebar {
            margin-right: 15px;
            padding: 15px 20px;
        }

        .network-status {
            top: 16px;
        }

        .sidebar-nav .li-menu {
            padding-left: 12px;
        }

        .quick-info .secondary-toggle {
            font-size: .77em;
        }
    }

@media (max-width: 743px) {
    .wab-modal {
        padding: 0;
    }

    .wab-modal .modal-dialog {
        margin: 0;
    }

    .wab-modal .modal-dialog .modal-content {
        margin: 0;
        height: 100vh;
        width: 100vw;
    }

    .wab-modal .modal-dialog .modal-content .modal-body {
        flex-grow: 1;
    }
}

#message-table {
    background-color: #F0F0F0;
    color: #333;
    font-weight: 600;
}

.page-unsaved-changes button {
    background: none;
    border: none;
    color: #000;
    font-weight: 500;
    text-decoration: underline;
    box-shadow: none;
}

.page-unsaved-changes button.ignore-changes {
    background: #ff5800;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.multiselect-container.dropdown-menu {
    max-height: 500px;
    overflow: auto;
}

.ramp-weight-limit-input, .max-landing-weight-input {
    display: flex;
    align-items: center;
}

@media (min-width: 744px) {
    #wabShowGraph,
    .wab-graphs-container-close {
        display: none;
    }
}
@media (max-width: 743px) {
    .wab-graphs-container.shown {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .wab-graphs-container-close {
        position: absolute;
        right: 18px;
        top: 10px;
        font-weight: normal;
        color: #ff5800;
        background: #fff;
        border: none;
        width: 23px;
        height: 23px;
        border-radius: 15px;
        padding: 0 6px;
        font-size: 22px !important;
        line-height: 1;
    }
  .wab-graphs-container {
      display: none;
      background: #F0F0F0;
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: 12;
      padding: 45px 16px 16px;
      overflow: auto;
  }
  .wab-graphs-header {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      padding: 10px 16px;
      text-align: center;
      font-weight: bold;
      background: #ff5800;
      color: #fff;
      font-size: 16px;
  }

  .wab-tow-column {
    width:100%;
    display:flex;
    flex-direction:row;
  }
  .wab-tow-column .wab-calculated-field{
    margin-right:1em;
  }
  .wab-row {
    flex-wrap: wrap;
  }
  .wab-modal .wab-info-container {
      width: 40%;
  }
  .wab-modal .diagram-wrapper {
      width: 60%;
  }
  .wab-modal .tab {
      padding: 6px 0;
  }
}

.pointer-events-none {
    pointer-events: none;
}
.pointer-events-none * {
    pointer-events: none;
}
.pointer-events-auto {
    pointer-events: auto;
}
.occ-read-only .hide-on-read-only {
    pointer-events: none;
    display: none;
} 
