/* Imports */

@import 'variables';
@import 'mixins';
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700&subset=latin-ext');

/* General overrides */

body {
  background: url('/static/themes/mirantis/images/background-paper.png');
  background-position: right 0px top 0px;
}

#content_body > .container-fluid {
  padding-left: 30px;
  padding-right: 30px;
  .table_wrapper {
    background-color: #fff;
    padding: 10px;
  }
}

/* Login overrides */

body#splash {
  background: #030505;
}

.anime-bg {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: url('/static/themes/mirantis/images/placeholder.jpg');
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
  background-color: #030505;
  > #video_background {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1000;
    overflow: hidden;
  }
}

.container.login {
  .panel-default {
    color: #fff;
    background-color: $gray-mira-transparent;
    border-color: $gray-mira-dark; 
    > .panel-heading {
      color: #fff;
      background-color: transparent;
      border-color: transparent;
    }
    .splash-logo {
      max-width: 100%;
    }
  }
  .panel-footer {
    background-color: transparent;
    border-top: 1px transparent;
  }
  .form-control:focus {
    @include prefix(box-shadow, none, webkit moz);
    border-color: #d42f1a;
  }
  #loginBtn {
    background-color: $mira-red !important;
    border-color: $mira-red !important;
  }
}

/* Navbar overrides */

.navbar-default {
  background-image: url('/static/themes/mirantis/images/universe.jpg');
  > .container-fluid {
    padding-left: 30px;
    padding-right: 26px;
  }
  .navbar-header {
    padding-right: 50px;
  }
  .navbar-nav > li > a {
    font-size: 16px;
  }
}

.navbar-nav > li .dropdown-menu {
  background-color: $gray-mira-dark;
  border: 0px;
  border-radius: 0px;
  > .dropdown-header {
    font-size: 14px;
    color: #fff;
  }
  > li > a {
    color: #fff;
    font-size: 14px;
    &:hover,
    &:focus,
    &:active {
      color: $mira-green;
      background-color: transparent;
    }
  }
}

.navbar-brand img {
  padding: 15px 0px;
}

/* Sidebar overrides */

#sidebar {
  background-color: $gray-mira-transparent; 
  .panel {
    background-color: transparent;
    .panel {
      background-color: transparent;
    }
    > a {
      color: #fff;
      background: transparent;
      border-radius: 0px;
      font-size: 16px;
      &:hover,
      &:focus,
      &:active {
        background-color: $gray-mira-dark;
      }
    }
    .list-group-item {
      color: #fff;
      background-color: transparent;
      font-size: 14px;
      &:hover,
      &:focus,
      &:active {
        color: $mira-green;
      }
    }
  }
}

/* Tab overrides */

.tab-content {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 20px;
  border: 1px solid;
  border-top: 0px;
  border-color: #ddd;
}

/* Breadcrumb overrides */

.breadcrumb {
  background-color: $gray-mira-transparent;
  border-radius: 0px;
  .breadcrumb-item-truncate {
    color: $gray-lighter;
    &.active {
      color: #fff;
    }
  }
  > li + li:before {
    color: #fff;
  }
}

/* Alert overrides */

.alert-success {
  @include mira-alert-variant($brand-success);
}

.alert-info {
  @include mira-alert-variant($brand-info);
}

.alert-warning {
  @include mira-alert-variant($brand-warning);
}

.alert-danger {
  @include mira-alert-variant($brand-danger);
}

