@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

@font-face {
  font-family: Gilroy;
  src: local('Gilroy-Light'), url('./fonts/Gilroy/Gilroy-Light.woff2') format('woff2'),
    url('./fonts/Gilroy/Gilroy-Light.woff') format('woff'), url('./fonts/Gilroy/Gilroy-Light.ttf') format('ttf');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: Gilroy;
  src: local('Gilroy-ExtraBold'), url('./fonts/Gilroy/Gilroy-ExtraBold.woff2') format('woff2'),
    url('./fonts/Gilroy/Gilroy-ExtraBold.woff') format('woff'), url('./fonts/Gilroy/Gilroy-ExtraBold.ttf') format('ttf');
  font-weight: 800;
  font-style: normal;
}

/* reset */
*,
*:before,
*:after {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  cursor: pointer;
}

button {
  background-color: transparent;
  border-width: 0;
  padding: 0;
  cursor: pointer;
  outline: none;
}

ul,
ol,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  color: #323641;
}

.form {
  display: flex;
  justify-content: center;
  height: calc(100vh - 70px); /* 70px высота шапки */
  align-items: center;
  font-size: 15px;
  background: #f5f5f5;
}

.form .card {
  width: 430px;
}

.form button {
  font-family: 'Montserrat', sans-serif;
  margin-top: 40px;
  width: 190px;
  height: 75px;
  font-size: 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s;
  text-align: center;
  background-color: transparent;
  color: #354461;
  vertical-align: baseline;
  border: 1px solid #374763;
  margin-right: 15px;
}

.form .btn-center {
  display: flex;
  justify-content: center;
}

.form .btn-center button {
  width: 100%;
}

.form button:hover {
  box-shadow: 0 0.1875rem 0.5rem 0 #00000029, 0 0 0 0.0625rem #00000014;
}

.form a {
  transition: all 0.1s ease-out;
  color: #354461;
}

.form a:hover {
  border-bottom: 1px dashed #354461;
  transition: all 0.2s ease-out;
}

.form a:active {
  color: #354461;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  height: 70px;
  background: #fff;
  box-shadow: 0 0 0 1px #526ac22e;
}

.navbar .navbar-nav {
  display: flex;
  padding: 5px 0;
}

.navbar .navbar-nav .nav-item {
  transition: all 0.1s ease-out;
  margin-left: 25px;
}

.navbar .container {
  display: flex;
  width: 1200px;
  align-items: center;
  margin: 0 auto;
  justify-content: space-around;
}

.navbar .container a {
  transition: all 0.1s ease-out;
  color: #323641b0;
}

.navbar .container a:hover {
  color: #374763;
}

.navbar .container a:active {
  color: #374763;
}

.navbar .navbar-nav a {
  color: #323641b0;
}

.navbar .navbar-nav a:hover {
  color: #374763;
}

.navbar .navbar-nav a:active {
  color: #323641;
}

.form-label {
  font-size: 18px;
  margin-bottom: 10px;
  display: block;
}

.form-input input {
  padding: 10px 10px 10px 20px;
  border-radius: 5px;
  outline: none;
  color: #323641;
  background-color: #fff;
  font-size: 20px;
  height: 50px;
  width: 100%;
  border: 1px solid #d9d9d9;
  transition: all 0.1s ease-out;
  margin-bottom: 20px;
}

.form-input input:focus {
  border-color: #eee;
  box-shadow: 0 0 0 1px #526ac22e;
}

.card {
  display: flex;
  flex-direction: column;
}

.card-header {
  font-size: 35px;
  margin-bottom: 40px;
  letter-spacing: 0.8px;
  color: #354461;
  border-bottom: 2px dashed #374763;
  padding: 5px;
  display: inline-block;
  align-self: center;
}

#userManager {
  width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
}

#userManager .title {
  width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
}

#userManager .title h2 {
  font-size: 30px;
  font-weight: 300;
  border-bottom: 2px dashed #354461;
  align-self: center;
  padding: 0 20px 7px;
  color: #354461;
  margin-top: 40px;
  margin-bottom: 30px;
}

.users-table tr {
  height: 54px;
}

.users-table td,
.users-table th {
  text-align: left;
  border-bottom: 1px grey solid;
}

.users-table .edit {
  width: 27px;
  height: 27px;
  filter: grayscale(100%) contrast(0) brightness(160%);
}

.users-table .edit:hover {
  filter: grayscale(0) contrast(100%) brightness(100%);
}

#userManager .form-input select {
  padding: 10px 10px 10px 20px;
  border-radius: 5px;
  outline: none;
  color: #323641;
  background-color: #fff;
  font-size: 20px;
  height: 50px;
  width: 100%;
  border: 1px solid #d9d9d9;
  transition: all 0.1s ease-out;
  margin-bottom: 20px;
}

#userManager .form-check {
  float: left;
  width: 200px;
  height: 50px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  text-align: center;
  justify-content: start;
  margin: 10px 5px;
  background: #fff;
  text-decoration: none;
  border: 1px solid #d9d9d9;
  transition: all 0.1s ease-out;
  padding: 0 16px;
  color: #374763;
  position: relative;
}

#userManager .form-check p {
  text-align: left;
  width: 140px;
}

#userManager .form-check label {
  border: 1px solid #374763;
  border-radius: 0.25em;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
  margin-left: 5px;
}

#userManager .form-check label:hover {
  box-shadow: var(--shadow-dark);
}

#userManager .form-check input:checked + label {
  background-color: #374763;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

#userManager .form-check input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

#userManager .form-input,
#userManager .btn-center {
  width: 430px;
  margin: 0 auto;
}

#userManager .form {
  height: max-content;
  padding: 20px 10px;
}

.clear {
  clear: both;
}

#userManager .all-permissions {
  height: 280px;
  overflow-y: scroll;
}

.display-none {
  display: none !important;
}