/* Utils class */

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.no-margin {
  margin: 0;
}

.no-padding {
  padding: 0;
}

.space-top {
  margin-top: 15px;
}

.space-bottom {
  margin-bottom: 15px;
}

.big-space-top {
  margin-top: 100px;
}

.big-space-bottom {
  margin-bottom: 100px;
}

.pointer {
  cursor: pointer;
}

.inline {
  display: inline-flex;
}

.true-center {
  display: flex;
  align-items: center;
}

#accesscode {
  width: 100%;
}

.full-width {
  width: 100% !important;
}

html,
body {
  background-color: #102940;
  color: #edf4fb;
  font-family: 'Nunito', sans-serif;
  height: 100vh;
  margin: 0;
}

*::-webkit-scrollbar {
  width: 8px;
  background-color: #153755;
}

*::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

*::-webkit-scrollbar-thumb {
  background-color: #065a72;
  outline: 1px solid #065a72;
  border-radius: 10px;
}

caption {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #edf4fb;
  text-align: left;
  caption-side: top;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

table,
th,
td {
  text-align: center;
  border-collapse: collapse;
  padding: 3px;
}

.largest {
  width: 700px;
}

.full-height {
  height: 100vh;
}

.Conteneur {
  display: flex;
  justify-content: center;
}

.parent {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex: 1 50%;
}

.position-ref {
  position: relative;
}

.top-right {
  position: absolute;
  right: 10px;
  top: 18px;
}

.content {
  text-align: center;
}

.title {
  font-size: 80px;
}

.links > a {
  color: #edf4fb;
  padding: 0 25px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1rem;
  text-decoration: none;
  text-transform: uppercase;
}

.m-b-md {
  margin-bottom: 10px;
}

.menu {
  background: linear-gradient(to bottom right, #065a72 20%, #153755);
}

ul {
  list-style-type: none;
  margin: 0;
  overflow: hidden;
}

ul li ul {
  display: none;
}

ul li:hover ul {
  display: block;
}

li {
  float: left;
}

li a,
li p {
  display: block;
  color: #edf4fb;
  text-align: center;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 17px;
}

li a {
  transition: 0.2s;
}

li a:hover {
  color: #edf4fb;
  text-decoration: none;
  transform: translateY(-5px);
}

li ul {
  position: absolute;
}

li:hover ul li {
  float: none;
}

.add-img {
  width: 80px;
  height: 80px;
  line-height: 150px;
  color: #edf4fb;
  border: 1px solid #065a72;
  background: #153755;
  transition: 0.2s;
}

.add-img:hover {
  box-shadow: 2px 2px 15px #065a72;
}

.add-img i {
  margin: 0 auto;
}

.change-img {
  transition: 0.2s;
}

.change-img:hover {
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}

.dropzone {
  background: #153755;
}

.dropzone .dz-error-message {
  top: 150px !important;
}

.dropzone .dz-remove {
  color: #edf4fb;
}

/* Card for apps */

.app-rect {
  border-radius: 7px;
  margin-bottom: 20px;
  padding: 5px;
  min-height: 150px;
  background: linear-gradient(to bottom right, #065a72 20%, #153755);
  color: #edf4fb;
  transition: 0.2s;
}

.app-rect:hover {
  transform: scale(1.1);
  z-index: 1;
}

.title-app {
  font-size: 20px;
  font-weight: bold;
}

/* Common class */

.common-button {
  font-weight: 600;
  border-radius: .25rem;
  padding: 5px 10px;
  text-align: center;
  border: none;
  text-decoration: none !important;
  max-height: 60px;
  display: block;
  width: 100%;
  min-width: 100px;
  transition: 0.2s;
}

.common-button.left {
  text-align: left;
  padding-left: 0;
}

.common-button:hover {
  transform: scale(1.1);
}

.common-button:active,
.common-button:focus {
  outline: none;
  border: none;
}

.common-button.default {
  background: linear-gradient(to bottom right, #065a72 20%, #153755);
  color: #edf4fb;
  margin: 5px 0;
}

.common-button.danger {
  background: linear-gradient(to bottom right, #d11202 10%, #8b0017);
  color: #edf4fb;
  margin: 5px 0;
}

.common-button:disabled,
.common-button.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.common-button:disabled:hover,
.common-button.disabled:hover {
  transform: scale(1);
}

.common-button.img {
  background: linear-gradient(to bottom right, #065a72 20%, #153755);
  color: #edf4fb;
  margin: 5px 0;
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
}

#administration,
#applications {
  width: 80%;
  margin: 0 10%;
}

.link {
  transition: 0.2s;
  font-weight: bold;
  color: #edf4fb;
}

.link:hover {
  color: #edf4fb;
  transform: translateY(-5px);
  text-decoration: none !important;
}

/* Administration */

.min-width {
  min-width: 700px !important;
}

.common-table {
  text-align: left;
}

.common-table .common-row {
  background: linear-gradient(to bottom right, #065a72 20%, #153755);
  padding: 15px 0;
}

.common-table .common-row-header .common-col {
  font-weight: bold;
}

.common-input {
  color: #edf4fb;
  background-color: #153755;
  border: 1pt solid #065a72;
  border-radius: 3px;
  width: 100%;
  letter-spacing: 1px;
  padding: 5px;
}

.common-input:focus {
  outline: none;
}

.common-input:-webkit-autofill,
.common-input:-webkit-autofill:hover,
.common-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #edf4fb;
  -webkit-box-shadow: 0 0 0px 1000px #153755 inset;
  -webkit-border-color: #065a72;
}

.common-input.textarea {
  min-height: 50px;
}

.img-admin-table {
  width: 32px;
  height: 32px;
  margin-left: 5px;
  cursor: pointer;
  transition: 0.2s ease;
}

.img-admin-table:hover {
  transform: scale(1) rotate(-30deg);
}

.img-admin-table:active {
  transform: scale(1.2) rotate(-30deg);
}

@media (max-width: 400px) {
  .title {
    font-size: 60px;
  }
}

.table {
  border: none;
  -moz-text-align-last: center;
       text-align-last: center;
}

.table-definition thead th:first-child {
  pointer-events: none;
  background: white;
  border: none;
}

.table td {
  vertical-align: middle;
}

.page-item > * {
  border: none;
}

.custom-checkbox {
  min-height: 1rem;
  padding-left: 0;
  margin-right: 0;
  cursor: pointer;
}

.custom-checkbox .custom-control-indicator {
  content: "";
  display: inline-block;
  position: relative;
  width: 30px;
  height: 10px;
  background-color: #818181;
  border-radius: 15px;
  transition: background .3s ease;
  vertical-align: middle;
  margin: 0 16px;
  box-shadow: none;
}

.custom-checkbox .custom-control-indicator:after {
  content: "";
  position: absolute;
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: #f1f1f1;
  border-radius: 21px;
  box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4);
  left: -2px;
  top: -4px;
  transition: left .3s ease, background .3s ease, box-shadow .1s ease;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-indicator {
  background-color: #84c7c1;
  background-image: none;
  box-shadow: none !important;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-indicator:after {
  background-color: #84c7c1;
  left: 15px;
}

.custom-checkbox .custom-control-input:focus ~ .custom-control-indicator {
  box-shadow: none !important;
}

.img-size {
  width: 256px;
  height: 256px;
}

@media (max-width: 768px) {
  .img-size {
    width: 128px;
    height: 128px;
  }
}

