/*
 Licensed to Cloudera, Inc. under one
 or more contributor license agreements.  See the NOTICE file
 distributed with this work for additional information
 regarding copyright ownership.  Cloudera, Inc. licenses this file
 to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
*/

.container-fluid {
  border: none;
  margin-left: 0;
  margin-right: 0;
  padding-top: 0;
}

.navbar-default {
  border-top: 2px solid @hue-primary-color-dark;
  z-index: 1009;
}

.navbar .navbar-inner {
  padding-right: 24px;

  ul.nav li {
    margin-right: 10px;
    line-height: 19px;

    a {
      padding: 16px 15px 13px;
    }
  }

  ul.nav li a:hover,
  ul.nav li a:focus {
    background-color: inherit;
  }
}

.navbar .nav > li > a:focus {
  background-color: transparent;
}

.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a {
  background-image: none !important;
  background-color: @cui-blue-500;

  > i {
    color: @cui-white !important;
  }

  > svg {
    fill: @cui-white !important;
  }
}

.modal {
  width: 620px;
  margin-left: -310px;
}

.btn:focus {
  outline: none;
}

.modal-footer .btn {
  min-width: 0;
}

.nav-tabs > li > a {
  border-bottom-width: 2px !important;
}

.form-inline label,
.form-horizontal label,
.form-vertical label,
.form-inline .control-label,
.form-horizontal .control-label,
.form-vertical .control-label {
  font-weight: normal !important;
}

.alert .close {
  width: 16px !important;
}

table.datatables {
  border-top: none !important;

  th {
    border-top: 1px solid @cui-gray-300 !important;
  }
}

.progress {
  border-radius: 0;
  height: 20px;
  margin-bottom: 0;
  padding: 0;
  border: none;

  .bar {
    .hue-no-box-shadow;
  }

  .bar-label {
    text-align: center;
    color: @cui-white;
    font-size: 12px;
    line-height: 20px;
    text-shadow: 0 0 1px @cui-gray-800;
  }
}

button:focus,
a:focus,
a:active,
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
select::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
  outline: none !important;
}

select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 @cui-black;
}

*:-moz-focusring {
  outline: none;
}

.input-append input[type="password"] {
  padding: 5px 6px;
}

.cui-app-switcher {
  a {
    padding: 8px 12px !important;
  }

  .app-switcher-app-icon {
    margin-left: 2px;

    svg {
      margin: 0 !important;
    }
  }
}
