﻿html {
  font-size: 14px;
}

img {
  width: 10%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  --selection-color: #007AFF;
  --secondary-color: #E9F3FF
}

body {
  display: grid;
  grid-template-columns: 270px auto;
  grid-template-rows: max-content auto;
}

  body > nav:nth-child(1) {
    grid-column: 1/1;
    grid-row: 1 / 3;
    background-color: #e9f3ff;
  }

    body > nav:nth-child(1) ul {
      list-style-type: none;
    }

      body > nav:nth-child(1) ul a {
        white-space: nowrap;
        color: inherit;
        text-decoration: none;
      }

        body > nav:nth-child(1) ul a.selected {
          font-weight: bold;
          color: var(--selection-color);
        }

          body > nav:nth-child(1) ul a.selected::before {
            content: "| ";
          }

        body > nav:nth-child(1) ul a:hover {
          color: var(--selection-color);
        }

    body > nav:nth-child(1) span {
      display: flex;
      align-content: center;
      align-items: center;
    }

    body > nav:nth-child(1) ul > li {
      margin: 10px 0 10px 0;
    }


  body > header:nth-child(2) {
    grid-row: 1 / 1;
    grid-column: 2 / 2;
  }

  body > nav:nth-child(1) svg {
    margin-right: 4px;
  }

  body > nav:nth-child(1) > div:nth-child(1) > div:nth-child(1) > h1:nth-child(1) {
    text-align: center;
    font-size: 36px;
    font-weight: normal;
    margin: 0.8em;
  }

  body > nav:nth-child(1) ul {
    list-style-type: none;
    margin-right: 20px;
  }


  body > header:nth-child(2) {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
  }


.my-navbar-nav {
  display: flex;
  margin-right: 40px;
}


li.nav-item {
  margin: 0 20px 0 20px;
}

body > header:nth-child(2) > h1:nth-child(1) {
  margin-left: 40px;
}


.my-navbar-nav {
  list-style-type: none;
}

button.nav-link {
  background: none;
  border: none;
  cursor: grab;
}

section.identity .form-floating {
  position: relative;
}

section.identity .text-danger {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-danger-rgb),var(--bs-text-opacity)) !important;
}

section.identity .form-floating > label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 1rem .75rem;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: opacity .1s ease-in-out,transform .1s ease-in-out;
}

section.identity label {
  display: inline-block;
  line-height: 1.5;
}

section.identity .form-control {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

section.identity .form-floating > .form-control, section.identity .form-floating > .form-select {
  height: calc(3.5rem + 2px);
  line-height: 1.25;
}

section.identity .form-floating > .form-control {
  padding: 1rem .75rem;
}

section.identity *, ::after, ::before {
  box-sizing: border-box;
}

section.identity .form-floating > .form-control:focus ~ label, section.identity .form-floating > .form-control:not(:placeholder-shown) ~ label, section.identity .form-floating > .form-select ~ label {
  opacity: .65;
  transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

section.identity .form-floating > .form-control:focus, section.identity .form-floating > .form-control:not(:placeholder-shown) {
  padding-top: 1.625rem;
  padding-bottom: .625rem;
}

section.identity .form-floating > .form-control {
  padding: 1rem .75rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

  section.identity .form-floating > .form-control::placeholder {
    color: transparent;
  }

  section.identity .form-floating > .form-control::placeholder {
    color: transparent;
  }

section.identity .form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}

section.identity .form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}

section.identity .mb-3 {
  margin-bottom: 1rem !important;
}

section.identity .btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

section.identity .btn-primary {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

section.identity .w-100 {
  width: 100% !important;
}

section.identity {
  width: max(33%, 350px);
}

.container {
  margin: 1% 4% 0 4%;
}

section.identity.login-main {
  grid-area: 1/1/3/3;
  justify-self: center;
  align-self: center;
}

section.identity .nav-pills .nav-link.active, section.identity .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #0d6efd;
}

section.identity .nav-pills section.identity .nav-link {
  background: 0 0;
  background-color: rgba(0, 0, 0, 0);
  border: 0;
  border-radius: .25rem;
}

section.identity .nav-link {
  display: block;
  padding: .5rem 1rem;
  color: #0d6efd;
  text-decoration: none;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

section.identity .flex-column {
  flex-direction: column !important;
}

section.identity .nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

