:root {
  --light: #fff9fc;
  --gray: #afafaf;
  --blue: #0082a9;
  --red: crimson;
  --red: #54b435;
  --dark-blue: #030e2c;
  --whitesmoke: #efefef;
  --dark: #333333;

  --font-pri: "Inter", sans-serif;
  --font-sec: "PT Serif", sans-serif;
}

/*
 * Utilities
 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-pri);
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 1rem;
  color: var(--dark-blue);
  color: #414141;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-blue);
  color: #333333;
  font-family: var(--font-sec);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem 0;
}

ul {}

a {
  text-decoration: none;
  color: var(--red);
}

a:hover {
  text-decoration: none;
  color: initial;
}

img {
  vertical-align: middle;
}

section {
  padding: 6rem 0 6rem;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.gray-bg {
  background-color: whitesmoke;
}

.hidden {
  overflow-x: auto;
}

.page-title {
  font-size: 3rem;
  font-weight: 500;
  color: var(--red);
  margin-bottom: 3rem;
}

.asteriks {
  color: var(--red);
}

.info {
  color: #808080;
  font-size: 14px;
}

header {
  transition: all 500ms;
  background-color: white;
  box-shadow: 0px 0 8px rgba(0, 0, 0, 0.1);
}

header>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: relative;
}

header ul {
  display: flex;
  align-items: center;
  margin: 0;
  list-style: none;
}

header li a {
  color: var(--dark);
  transition: all 300ms;
}

header li a:hover {
  color: var(--blue);
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
  z-index: 2;
}

.wrapper {
  display: flex;
  width: 100%;
  position: relative;
}

.sidebar {
  width: 200px;
  height: 100%;
  min-height: 100vh;
  background-color: #282828;
  padding: 3rem 1.5rem;
  transition: left 500ms ease-in-out;
  position: fixed;
  z-index: 2;
}

.content {
  flex: 1 1;
  /*    margin: 0 auto 0 200px;*/
  /*    padding: 5rem 0;*/
  padding: 5rem 0 5rem 200px;
  width: 100%;
  /*    max-width: 1200px;*/
}

.sidebar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 1rem;
}

.sidebar a {
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
}

.sidebar a img {
  width: 1.5rem;
  padding-right: 0.25rem;
}

.bars-wrapper {
  position: fixed;
  background-color: white;
  box-shadow: 0px 0 8px rgba(0, 0, 0, 0.1);
  width: 48px;
  top: 128px;
  left: 16px;
  z-index: 1;
}

.times-wrapper {
  text-align: right;
}

.menu-nav {
  display: none;
}

@media (max-width: 1200px) {
  .sidebar {
    left: -200px;
  }

  .content {
    padding-left: 0;
  }

  .menu-nav {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .times-wrapper {
    justify-content: flex-end;
  }
}

.btn {
  color: white;
  background-color: #d32b2b;
  background-color: var(--red);
  border: 2px solid transparent;
  border-radius: none;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1;
  font-weight: 500;
  display: inline-block;
  padding: 0.75rem 1rem 0.75rem;
  margin: 2rem 0 0;
  cursor: pointer;
  text-align: center;
  transition: all 800ms;
}

.submit:hover,
.edit:hover,
.delete:hover,
button.swal2-styled.swal2-default-outline:hover,
button.swal2-styled.swal2-deny:hover {
  transform: matrix3d(1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  ;
  color: white;
}

/*.edit,
.delete {
  font-size: 14px;
  padding: 0.5rem 1rem;
}*/

.edit {
  background-color: gray;
}

.delete {
  background-color: #d32b2b;
}

footer {
  background-color: var(--dark);
}

footer p {
  color: #939393;
  text-align: center;
  margin-bottom: 0;
  font-size: 14px;
  background-color: #282828;
  padding: 0.5rem 0;
}

footer p span {
  color: white;
  font-weight: 500;
}

footer ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

footer li a {
  color: var(--whitesmoke);
}

footer li+li {
  margin-left: 2rem;
}

footer li a:hover {
  color: white;
}

@media(max-width: 576px) {
  footer li+li {}
}

.create-form_wrapper {
  background-color: white;
  box-shadow: 0 0 2px #d1d1d1;
  padding: 3rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.create-form_wrapper .title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--red);
  margin-bottom: 2rem;
}

.form-group+.form-group {
  margin-top: 1rem;
}

input,
select {
  font-size: 14px;
  width: 100%;
  background-color: white;
  border: 1px solid #e3e3e3;
  padding: 0.5rem 1rem;
  outline: none;
  transition: all 300ms;
}

input:focus,
select:focus {
  border: 1px solid #159515;
}

.form-group .row {
  display: flex;
}

.form-group .row .left {
  flex: 0 2 150px;
}

.form-group .row .right {
  flex: 0 1 100px;
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 3rem;
}

table {
  border-collapse: collapse;
/*  min-width: 1500px;*/
}

table td,
table th {
  border: 1px solid whitesmoke;
  border: 1px solid #e6e6e6;
  padding: 0.5rem 1rem;
  text-align-last: left;
}

table tbody tr:nth-child(odd) {
  background-color: whitesmoke;
}

.login-page {
  padding: 5rem 1rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.login-page .create-form_wrapper {
  max-width: 400px;
}

.filter {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-form-container,
.sort-container {
  flex: 0 0 50%;
}

.filter-form select,
.filter-form input {
  display: block;
  width: 250px;
}

.filter-form-container select+select,
.filter-form-container input {
  margin-top: 1.5rem;
}

.sort-container {
  text-align: right;
}

.sort-container select {
  width: 200px;
}

@media(max-width: 768px) {

  .filter-form-container,
  .sort-container {
    flex: 0 0 100%;
  }

  .sort-container {
    text-align-last: left;
    margin-top: 2rem;
  }

  .filter-form select,
  .filter-form input,
  .sort-container select {
    width: 100%;
  }
}


.count {
  margin-bottom: 2rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.btn-icon {
  background-color: initial;
  border: none;
  padding: 0;
  margin: 0;
}

.btn-icon:focus {
  border-right: none;
}

.icon {
  height: 24px;
}

button.swal2-confirm.swal2-styled,
button.swal2-deny.swal2-styled,
button.swal2-cancel.swal2-styled {
  border-radius: 0;
}

button.swal2-confirm.swal2-styled.swal2-default-outline:hover {
  background-color: #d32b2b;
}

button.swal2-cancel.swal2-styled.swal2-default-outline:hover {
  background-color: gray;
}

.swal2-container .swal2-actions:not(.swal2-loading) .swal2-styled:hover {
  background-image: none;
}

button.swal2-styled.swal2-default-outline:focus,
button.swal2-styled.swal2-deny:focus {
  box-shadow: none;
}

.sub-title {
  font-size: 1.25rem;
  font-weight: 400;
  color: #808080;
}

.sub-title+.sub-title {
  margin-top: 1.25rem;
}

.sub-title span {
  color: var(--dark);
  font-weight: 500;
}

.w-70 {
  width: 70px;
  min-width: 70px;
  max-width: 70px;
}

.w-100 {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}

.w-140 {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
}

.w-170 {
  width: 170px;
  min-width: 170px;
  max-width: 170px;
}

.w-250 {
  width: 250px;
  min-width: 250px;
  max-width: 250px;
}

.content h3 {
  font-size: 1.5rem;
  margin-top: 1.25rem;
}

.user-content h3 {
  font-family: var(--font-pri);
  font-size: 1.25rem;
  color: #414141;
  margin-top: 1rem;
  font-weight: 500;
}

header>div.nav2 {
  justify-content: center;
}