@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
html {
  font-family: "Inter", sans-serif;
}

body {
  background-color: #fffffe;
  font-size: 16px;
  color: #000000;
}

/* variabili */

:root {
  /* Colori */
  --shadow: 0px 0px 7px -4px #000000;
  --whitesmoke: #fffffe;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 30px;
}

.logo img {
  width: 100%;
  max-width: 150px;
}

/* footer */

.footer {
  margin-top: -60px;
}

.ep-footer {
  height: fit-content !important;
  min-height: 90px;
  flex-direction: column;
  align-items: flex-start !important;
}

.footer-logo {
  margin-bottom: 12px;
}

/* buttons
-----------------------------------------------------------------
*/

.btn {
  display: block;
  padding: 10px 15px;
  background-color: #00214d;
  border: none !important;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-transform: lowercase;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 15px;
}

.btn_func {
  background-color: #fde24f;
  color: #000;
  font-weight: 600;
}

.btn_func:hover {
  background-color: #fce878 !important;
  color: #000 !important;
}

.btn:hover {
  background-color: #003a86;
  color: #fff;
}

.btn_connect--active {
  background-color: #7cbd7e !important;
  color: #000 !important;
  font-weight: 500;
}

.btn_connect--active:hover {
  background-color: #95e497 !important;
}

.btn_disconnect--active {
  background-color: #ff5470 !important;
  color: #000 !important;
  font-weight: 500;
}

.btn_disconnect--active:hover {
  background-color: #ff7a9a !important;
}

.switch--active {
  background-color: #7cbd7e !important;
  color: #000 !important;
}

.switch--active:hover {
  background-color: #95e497 !important;
}

.switch--active:hover {
  color: #000 !important;
}

.switch--off {
  background-color: #ff5470 !important;
  color: #000 !important;
}

.switch--off:hover {
  background-color: #ff7a9a !important;
}

.switch--disabled {
  opacity: 0.5;
}
/* typography
-----------------------------------------------------------------
*/

.title {
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 30px;
}

.verified_system {
  text-align: right;
}

/* input styles
-----------------------------------------------------------------
*/

.input-box {
  width: 100%;
  margin-bottom: 24px;
}

.input-box input {
  width: 100%;
  height: 30px;
  font-size: 16px;
  background-color: var(--whitesmoke);
  border: solid 1px #7cbd7e;
  border-radius: 5px;
  max-width: 250px;
  padding: 6px;
}

.input-box.input-number {
  width: fit-content;
}

.input-box.input-number input {
  width: 80px;
  text-align: center;
}

.input-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.output {
  color: #ffffff;
  height: 50px !important;
  background-color: #333 !important;
  font-size: 21px !important;
  font-weight: 600;
  border: none !important;
}

.text--green {
  color: #7cbd7e;
}

.text--red {
  color: #ff5470;
}

/* Textaerea Style
-----------------------------------------------------------------
*/

.log-container {
  background-color: var(--whitesmoke);
  width: 100%;
  height: 200px;
  padding: 12px;
  border-radius: 5px;
}

.log-container textarea {
  width: 100%;
  height: 100%;
  resize: none;
  border-radius: 5px;
  border: solid 1px grey;
  padding: 15px;
  line-height: 150%;
  font-size: 14px;
}
/* modifier
-----------------------------------------------------------------
*/

a {
  color: #00214d;
  text-decoration: none;
}

.PL--15 {
  padding-left: 15px !important;
}

.PR--15 {
  padding-right: 15px !important;
}

.MB--0 {
  margin-bottom: 0 !important;
}

.MB--12px {
  margin-bottom: 12px !important;
}

.MR--12 {
  margin-right: 12px !important;
}

.MR--15 {
  margin-right: 15px !important;
}

.ML--15 {
  margin-left: 15px !important;
}

.MR--30 {
  margin-right: 30px !important;
}

.MB--30 {
  margin-bottom: 30px;
}

.flex--center {
  align-items: center !important;
}

.inline--b {
  display: inline-block !important;
}

.fit--width {
  width: fit-content !important;
}

.input--lock {
  border-color: #ff5470 !important;
  pointer-events: none;
}

.space--between {
  justify-content: space-between !important;
}

@media (max-width: 1100px) {
  .PL--15 {
    padding-left: 0px !important;
  }

  .PR--15 {
    padding-right: 0px !important;
  }
}
/* Sezione 1 nav 
-----------------------------------------------------------------
*/

.ep-nav {
  width: 100%;
  height: 88px;
  max-width: 1440px;
  margin: auto 0 30px auto;
  background-color: rgb(249, 244, 239);
  border-radius: 5px;
  -webkit-box-shadow: 0px 0px 7px -4px #000000;
  box-shadow: var(--shadow);
  padding: 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 16px;
  color: #606060;
  font-weight: 600;
}

.ep-nav__el {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  margin-left: auto;
}

.ep-nav__led {
  display: block;
  width: 15px;
  height: 15px;
  min-width: 15px;
  background-color: #ff5470;
  border-radius: 100%;
  margin-left: 12px;
}

.active--led {
  background-color: #7cbd7e !important;
}

/* Form background
-----------------------------------------------------------------
*/

.spec-form {
  background-color: rgb(249, 244, 239);
  width: 100%;
  height: fit-content;
  min-height: 335px;
  border-radius: 5px;
  box-shadow: var(--shadow);
  padding: 30px;
}

/* Flex container
-----------------------------------------------------------------
*/

.flex-container {
  display: flex;
}

/* ! Grid System */
.grid {
  margin: 0 auto;
  max-width: 1440px;
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
}
.grid--center {
  justify-content: center;
}
.col {
  flex: 1;
}

[class*="col-"] {
  position: relative;
  margin-bottom: 30px;
}
.grid .grid [class*="col-"] {
  padding: 0px;
}

.col-20 {
  width: 20%;
}
.col-25 {
  width: 25%;
}
.col-30 {
  width: 30%;
}
.col-33 {
  width: 33.33%;
}

.col-40 {
  width: 40%;
}

.col-50 {
  width: 50%;
}

.col-60 {
  width: 60%;
}

.col-70 {
  width: 70%;
}
.col-80 {
  width: 80%;
}
.col-100 {
  width: 100%;
}

@media (max-width: 1100px) {
  .tab-20 {
    width: 20%;
  }
  .tab-25 {
    width: 25%;
  }
  .tab-33 {
    width: 33.33%;
  }
  .tab-50 {
    width: 50%;
  }
  .tab-100 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  [class*="col-"] {
    width: 100%;
  }
  .sma-20 {
    width: 20%;
  }
  .sma-25 {
    width: 25%;
  }
  .sma-33 {
    width: 33.33%;
  }
  .sma-50 {
    width: 50%;
  }
  .sma-100 {
    width: 100%;
  }
}

/* ciclo di produzione*/
input#pezziProdotti {
  border: solid 2px #7cbd7e !important;
  pointer-events: none;
}

input#pezziScartati {
  border: solid 2px #ff5470 !important;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hide {
    display: none;
  }
}
