html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.87);
  font-size: large;
  color-scheme: dark;

  --primary-color: #fab129; /*#E89300;*/
  --background-color: #242424;
  --foreground-color: #3d3d3d;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
}

h2 {
  text-align: center;
  font-size: x-large;
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
}

input, select, textarea {
  padding: 8px;
  border: 1px solid #121212;
  border-radius: 5px;
  background-color: #121212;
  /* outline-color: var(--primary-color); */
  font-size: large;
  outline-style: none;
  color: rgba(255, 255, 255, 0.87);
}
input:hover, select:hover, textarea:hover {
  border: 1px solid var(--primary-color);
}
input:focus, select:focus, textarea:focus {
  border: 1px solid var(--primary-color);
}
textarea {
  height: 100px;
}

button {
  font-weight: bold;
  font-size: large;
  padding: 8px;
  color: #303030;
  background-color: var(--primary-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
button:hover {
  background-color: #E89300;
}
button.btn-transparent {
  color: var(--primary-color);
  background-color: inherit;
  border-radius: 5px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--primary-color);
}

a {
  font-weight: 500;
  color: #fab129;
  text-decoration: inherit;
}
a:hover {
  color: #fadb29;
}


.wrapper-grid {
  width: 90vw;
  max-width: 100vw;
  overflow-x: scroll;
  overflow-y: hidden;
}
.datagrid {
  width: auto;
  table-layout: fixed;
  border-collapse: collapse;
}
@media (min-width: 680px) {
  .wrapper-grid {
    width: 100%;
  }
  .datagrid {
    width: 100%;
  }
}


.datagrid th {
  font-weight: bold;
  padding: 8px 0;
}
.datagrid th,
.datagrid td {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 16px;
  vertical-align: middle;
}
.datagrid-row-odd {
  background-color: #636363;
}
.datagrid-row-even {
  background-color: #363636;
}
.datagrid-row {
  height: 32px;
}
tr:nth-child(even) {
  background-color: #363636;
}
.datagrid-row:hover {
  background-color: rgba(127, 127, 127, 0.5);
}
.datagrid-column-header {
  background-color: #1A1A1A;
  border: 1px solid inherit;
}
.datagrid-control-group {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.datagrid-control-popup {
  display: flex;
  position: absolute;
  top: 0;
  left: 100%;
  width: auto;
  height: 100%;
  text-align: center;
  background-color: rgba(127, 127, 127, 0.6);
  z-index: 1000;
}
.datagrid-control-popup button {
  margin: 0 8px;
}
.datagrid-control-popup-close {
  display: none;
}
.datagrid .btn-grid {
  width: 48px;
}


.card {
  max-width: 800px;
  background-color: var(--foreground-color);
  padding: 20px;
  border-radius: 10px;
}
.card-login {
 width: 300px;
}
.card-full {
 width: 100vw;
}


.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}
.form-group-inline {
  display: flex;
  flex-direction: row;
  align-items: end;
  flex-wrap: wrap;
}
.form-group-maininput {
  flex: 1 1 auto;
}
.form-filtro {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
}
.form-filtro div {
  padding-right:16px;
  padding-top:8px;
  padding-bottom:8px;
}
.form-filtro div:last-child {
  padding-right:0px;
}
@media (min-width: 440px) {
  .form-group {
    margin-bottom: 15px;
  }
}


.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
  background-color: var(--foreground-color);
  margin: 10% auto;
  padding: 20px;
  border-radius: 5px;
  width: 90vw;
  height: 70vh;
  max-height: 70vh;
  overflow-y: auto;
}
@media (min-width: 680px) {
  .modal-content {
    margin: 5% auto;
    width: 80vw;
  }
}


.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
}


.collapsible-button {
  background-color: var(--foreground-color);
  color: rgba(255, 255, 255, 0.87);
  cursor: pointer;
  width: 100%;
  border: 1px solid var(--foreground-color);
  border-radius: 0px;
  text-align: left;
  outline: none;
}
.collapsible-button:hover, .collapsible-button:focus {
  background-color: var(--background-color);
  border: 1px solid #fab129;
}
.collapsible-active {
  background-color: var(--background-color);
  border: 1px solid var(--foreground-color);
}
.collapsible-content {
  padding: 8px;
  display: none;
  overflow: hidden;
  background-color: var(--foreground-color);
}

@media (min-width: 440px) {
  :root {
    font-size: medium;
  }
  input, select, textarea {
    font-size: medium;
  }
  button {
    font-size: medium;
  }
}