//
// Global style
//
* {
  outline: none;
}

body {
  overflow-x: hidden;
  margin: 0;
  color: $body-color;
  background: $body-bg;
  position: relative;
}

html {
  position: relative;
  min-height: 100%;
}

b,
strong {
  font-weight: $font-weight-medium; // Add the correct font weight in Chrome, Edge, and Safari
}

a {
  color: $info;
  text-decoration: none;
  &:hover,
  &:focus {
    text-decoration: none;
    color: $info;
  }

  &.link {
    color: $headings-color;

    &:hover,
    &:focus {
      color: $themecolor;
    }
  }
}

// Opacity
.op-5 {
  opacity: 0.5;
}

//
// Fonts setting
//
html body {
  .font-weight-medium {
    font-weight: $font-weight-medium;
  }

  .display-5 {
    font-size: 3rem;
  }
  .display-6 {
    font-size: 2.5rem;
  }
  .display-7 {
    font-size: 2rem;
  }
}

//
// List Style none
//
ul.list-style-none {
  margin: 0;
  padding: 0;

  li {
    list-style: none;
    a {
      display: block;
      padding: 8px 0;
      color: $body-color;
      text-decoration: none;
      &:hover {
        color: $themecolor;
      }
    }
  }
}

//
// Rounds
//
.round {
  line-height: 48px;
  color: $white;
  width: 50px;
  height: 50px;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  border-radius: 100%;
  background: $blue;
  line-height: 52px;
  img {
    border-radius: 100%;
  }
  &.round-info {
    background: $blue;
  }

  &.round-warning {
    background: $warning;
  }

  &.round-danger {
    background: $danger;
  }

  &.round-success {
    background: $success;
  }

  &.round-primary {
    background: $primary;
  }
}

.round-lg {
  line-height: 65px;
  width: 60px;
  height: 60px;
  font-size: 30px;
}

//
// List of icons
//
ul.list-icons {
  li {
    a {
      color: $body-color;
      &:hover {
        color: $info;
      }
    }
    i {
      font-size: 13px;
    }
  }
}

// Custom select
.custom-select {
  -moz-appearance: none;
  -webkit-appearance: none;
  -o-appearance: none;
  background-size: auto;
}

.form-select {
  background-image: url(../../assets/images/custom-select.png);
  background-size: auto;
}

//
// Table
//
.no-wrap {
  td,
  th {
    white-space: nowrap;
  }
}

.v-middle {
  td,
  th {
    vertical-align: middle;
  }
}

//
// Grids
.grid-structure .grid-container {
  background-color: $light;
  margin-bottom: 10px;
  font-size: 0.8rem;
  padding: 10px 20px;
}

// ----------------------------------------------
// Icon page
// ----------------------------------------------
.icon-hover {
  cursor: pointer;
  border-radius: 8px;
  i {
    font-size: 20px;
    margin-right: 8px;
  }
  &:hover {
    background-color: $gray-200;
    color: $info;
  }
}
