// Copyright (c) 2021 Intel Corporation
//
// Licensed 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.
@import './../../variables.scss';

* {
  font-family: IntelClearRg;
}

h1,
h2,
h3 {
  font-family: IntelOneRg;
}

.form-field {
  margin-right: 5px;
}

.long {
  width: 500px;
}

.float-right {
  float: right;
}

.content {
  padding: 16px;
}

table.rounded {
  width: 95%;
  margin: auto;
  border-collapse: collapse;

  tr.header {
    text-align: center;
    font-weight: bold;
  }

  td.header {
    background: $dark-blue;
    padding: 10px;
    color: white;
    text-align: center;
    border: 1px solid white;
    border-radius: 0px;
  }


  tr:nth-child(even) {
    background: $lighter-gray1
  }

  tr:nth-child(odd) {
    background: #FFF
  }

  tr.cell,
  td.cell {
    padding: 5px;
  }

  tr:first-child {

    td:first-child {
      border-radius: 0.5rem 0 0 0;
    }

    td:last-child {
      border-radius: 0 0.5rem 0 0;
    }
  }

  tr:last-child {

    td:last-child {
      border-radius: 0 0 0.5rem 0;
    }

    td:first-child {
      border-radius: 0 0 0 0.5rem;
    }
  }

  tr.hover:hover {
    background-color: #dde6ee;
  }
}

.none {
  background-color: none;
}

.pale-blue {
  background-color: $pale-blue !important;
}

.icon-button {
  cursor: pointer;
}

.align-right {
  text-align: right;
}

.success {
  color: $dark-green;
  background-color: $light-green;
  text-align: center;
}

.close-button {
  float: right;
}

.failure,
.mat-dialog-container {
  background-color: $lighter-red;
  color: $dark-red;
  margin: -24px;
  box-sizing: unset;
}

.big-spinner-center {
  position: fixed;
  z-index: 10;
  top: 50%;
  left: 48%;
}

.help-icon {
  width: 20px;
  position: relative;
  top: 3px;
}

.sidenav-container {
  background-color: #fafafa !important;
  min-height: calc(100vh - 20px);
}

.sidenav {
  padding: 10px;
  background-color: $lighter-gray1;
}

.pointer {
  cursor: pointer;
}

.wizard-container {
  margin: auto;
  max-width: 1200px;
}

@media all and (max-width:1500px) {
  .wizard-container {
    margin: auto;
    max-width: 1000px;
  }
}
