﻿body,
html {
  margin: 0;
  font-family: "Lato", sans-serif;
  color: #464646;
  font-size: 16px;
  background-image: url("../img/etica.svg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: bottom left;
  background-size: 800px;
  background-color: #f8f8f8;
  caret-color: transparent;
}

html{
  overflow: hidden;
}

body{
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0px 20px 0px 20px;

}

.header-container {
  width: 100vw;
}

.main-container {
  /*    overflow-x: hidden;
    overflow-y: scroll;*/
  width: 98vw;
  /*height: calc(100vh - 161px);*/ /* needs vendor prefixes */
}

.form-container {
  width: 85vw;
  height: calc(100vh - 160px);
  box-sizing: content-box;
  margin-right: 7.5vw;
}
button.dt-button.color-btn:not(.disabled) {
  background-color: transparent;
  border: none;
  padding: 0px 10px;
  font-size: 27px;
  cursor: pointer;
  color: #464646;
  background: none;
  box-shadow: none;
}

button.dt-button.color-btn:hover:not(.disabled) {
  color: #981617;
  border: none;
  background: none;
  box-shadow: none;
}

button.dt-button.color-btn:hover:not(.disabled):active:not(.disabled) {
  color: #981617;
  border: none;
  background: none;
  box-shadow: none;
}

button.dt-button.color-btn:active:not(.disabled) {
  color: #981617;
  border: none;
  background: none;
  box-shadow: none;
}

.pagination .page-item.active .page-link {
  background-color: #981617;
  border-color: #981617;
}

div.dataTables_wrapper
  div.dataTables_paginate
  ul.pagination
  .page-item.active
  .page-link:focus {
  background-color: #981617;
  border-color: #981617;
}

.pagination .page-item.active .page-link:hover {
  background-color: #981617;
  border-color: #981617;
}

.background-base-bordeux {
  background-color: #981617;
  color: #ffffff;
  align-items: center;
}

.btn-save-orange {
  background-color: #d77f26;
  color: #ffffff;
  box-shadow: 0px 0px 10px #858585;
  border-radius: 10px;
  border: #d77f26 1px;
  padding: 5px 15px;
}

.btn-save-orange:hover {
  box-shadow: 0px 0px 10px #d77f26;
}

.btn-back-gray {
  background-color: #464646;
  color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 0px 10px #858585;
  border: #858585 1px;
  padding: 5px 15px;
}

.btn-back-gray:hover {
  box-shadow: 0px 0px 10px #464646;
}

/* SPINNER FOR LOADING */

.pl {
  display: block;
  width: 6.25em;
  height: 6.25em;
}

.pl__ring,
.pl__ball {
  animation: ring 2s ease-out infinite;
}

.pl__ball {
  animation-name: ball;
}

/* Dark theme  */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: hsl(var(--hue), 10%, 10%);
    --fg: hsl(var(--hue), 10%, 90%);
  }
}

/* Animation */
@keyframes ring {
  from {
    stroke-dasharray: 0 257 0 0 1 0 0 258;
  }

  25% {
    stroke-dasharray: 0 0 0 0 257 0 258 0;
  }

  50%,
  to {
    stroke-dasharray: 0 0 0 0 0 515 0 0;
  }
}

@keyframes ball {
  from,
  50% {
    animation-timing-function: ease-in;
    stroke-dashoffset: 1;
  }

  64% {
    animation-timing-function: ease-in;
    stroke-dashoffset: -109;
  }

  78% {
    animation-timing-function: ease-in;
    stroke-dashoffset: -145;
  }

  92% {
    animation-timing-function: ease-in;
    stroke-dashoffset: -157;
  }

  57%,
  71%,
  85%,
  99%,
  to {
    animation-timing-function: ease-out;
    stroke-dashoffset: -163;
  }
}

/* END OF LOADING SPINNER */
