html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: "Epilogue", sans-serif;
}

a {
  color: #302725;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

a:hover,
a:focus {
  color: #cd1420 !important;
  text-decoration: none;
}

.red a {
  color: #cd1420;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  text-decoration: none;
}

.red a:hover,
.red a:focus {
  color: #25324b !important;
  text-decoration: none;
}

p {
  font-size: 18px;
  line-height: 32px;
  margin-bottom: 20px;
  color: #302725;
}

p a {
  color: #cd1420;
  text-decoration: underline;
  transition: all 0.35s;
}

p a:hover,
p a:focus {
  color: #a50a0a;
  text-decoration: none;
}

.container {
  max-width: 1440px;
}

#logo {
  width: 135px;
}

#logo img {
  width: 100%;
}

.black {
  color: #25324b !important;
}

.red {
  color: #d0003e !important;
}

.brown {
  color: #302725;
}

.grey {
  color: #7c8493;
}

.bkg-lightgrey {
  background-color: #f8f8fd;
}

.bkg-darkergrey {
  background-color: #e4e4e4;
}
.accordion-button:not(.collapsed) {
  color: #d0003e;
  background-color: #ffe1ea;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}
.accordion-button:focus {
  z-index: 3;
  border-color: #ff82a8;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(253, 13, 73, 0.25);
}

.btn-primary {
  color: #fff;
  background-color: #d0003e;
  border-color: #d0003e;
  padding: 0.8rem 0.75rem;
  border-radius: 0;
  font-weight: 800;
}
.btn-light {
  color: #d0003e;
  background-color: #fff;
  border-color: #fff;
  padding: 0.8rem 0.75rem;
  border-radius: 0;
  font-weight: 800;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-light:hover,
.btn-light:focus,
.btn-light:active,
.btn-light.active {
  color: #fff;
  background-color: #6d6e71;
  border-color: #6d6e71;
}

.btn-secondary {
  color: #d0003e;
  background-color: #fff;
  border-color: #f4c4d2;
  padding: 0.8rem 0.75rem;
  border-radius: 1px;
}
.btn-success {
  color: #fff;
  background-color: #198754;
  border-color: #c6f4c4;
  padding: 0.8rem 0.75rem;
  border-radius: 1px;
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  color: #fff;
  background-color: #d0003e;
  border-color: #d0003e;
}

.fontvar-norm {
  font-variation-settings: normal;
}

.bigger {
  font-size: 1.5vw;
}

/* MAIN NAV
-------------------------------------------------- */

#main {
  margin-top: 79px;
}

#navbarsMain {
  background-color: #fff;
  font-family: "Epilogue", sans-serif;
  font-weight: 200;
  padding: 0;
  border-bottom: 1px solid #dddde2;
}

#navbarsMain .navbar-brand {
  color: #cd1420;
  font-family: "Epilogue", sans-serif;
}

#navbarsMain .navbar-brand:hover,
#navbarsMain .navbar-brand:focus {
  color: #cd1420;
}

#navbarsMain .navbar-toggler {
  font-size: 18px;
  padding: 8px 10px;
  color: #cd1420;
}

#navbarsMain .navbar-nav > li > a {
  font-size: 16px;
  font-weight: 500;
  /* font-family: 'Epilogue', sans-serif*/
}

#navbarsMain .navbar-nav > li > a.active {
  color: #cd1420 !important;
  background-color: transparent;
  border-bottom: solid 4px #cd1420;
}

#navbarsMain .navbar-nav > li > a.active:hover {
  background-color: transparent;
}

#navbarsMain .navbar-nav > li > a,
#navbarsMain .navbar-nav > li > a:focus {
  color: #515b6f;
}

#navbarsMain .navbar-nav > li > a:hover,
#navbarsMain .navbar-nav > li > a:focus:hover {
  color: #cd1420;
}

.navbar-toggler {
  border: 0px solid transparent;
}

.bg-light {
  background-color: #fff !important;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 0;
  padding-left: 0;
  margin-left: 1rem;
  margin-right: 1rem;
  padding-bottom: 20px;
  padding-top: 30px;
}

/* ELEMENTI
-------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  letter-spacing: -0.5px;
  color: #25324b;
  font-weight: 800;
  font-variation-settings: "opsz" 40, "wdth" 135, "GRAD" 0, "slnt" 0, "XTRA" 468,
    "XOPQ" 116, "YOPQ" 76, "YTLC" 530, "YTUC" 712, "YTAS" 750, "YTDE" -203,
    "YTFI" 738, "wght" 830;
}

h2 {
  font-size: 72px;
  margin-bottom: 50px;
  font-weight: 800;
  color: #302725;
  width: 100%;
  font-family: "Poppins", sans-serif;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 48px;
  font-weight: 700;
  width: 100%;
  font-family: "Poppins", sans-serif;
  color: #302725;
  margin-bottom: 40px;
}

h4 {
  font-size: 34px;
  font-weight: 600;
  width: 100%;
  font-family: "Poppins", sans-serif;
  color: #302725;
  margin-bottom: 40px;
}

h5 {
  font-size: 24px;
  font-weight: 600;
}

h6 {
  font-weight: 600;
}

.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.white {
  color: #fff;
}

.celeste {
  color: #d6ddeb;
}

img.Lines {
  height: 14px;
  align-self: stretch;
  flex-grow: 0;
  object-fit: contain;
  width: 100%;
}

.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0) !important;
  outline: 0 !important;
}

.page-link {
  border: 0px solid;
  padding: 0.5rem 1rem;
  color: #515b6f;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #d0003e;
  border-color: #d0003e;
  border-radius: 8px;
}

.page-link:hover {
  background-color: #fff;
  border-color: #fff;
}

.page-item.active:hover {
  color: #fff !important;
}

.h-45 {
  height: 47% !important;
}

.mt-6xcento {
  margin-top: 6% !important;
}

.tag {
  display: inline-block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background-color: #f8f8fd;
  color: #d0003e;
}

/* 
----------------- H O M E --------------------------
*/

#head-int {
  margin-bottom: 60px;
}

.cercahome-int {
  background-color: #fff;
  padding: 5px 20px 20px 20px;
}

#cercahome .form-control {
  padding: 0.8rem 0.75rem;
  border: 0px solid #ced4da;
  border-bottom: 1px solid #ced4da;
  border-radius: 0;
}

#cercahome .input-group-text {
  border: 0px solid #ced4da;
  border-radius: 0;
  background-color: #fff;
}

.section-mainhome {
  background: url("../images/image_home_page_working.png") right top no-repeat;
  background-color: #f8f8fd;
  color: #000;
  padding: 40px 4% 160px 4%;
  position: relative;
}
.section-emailsuccess {
  background: url("../images/thanks_comunicazioni.png") left top no-repeat;
  background-color: #f8f8fd;
  color: #000;
  padding: 40px 4% 160px 4%;
  position: relative;
}
.section-bo-info {
  background: url("../images/bo_background.png") right top no-repeat;
  background-color: #f8f8fd;
  color: #000;
  padding: 40px 4% 160px 4%;
  position: relative;
}

.w-60 {
  width: 60%;
}

.azienda-registrati {
  padding: 80px 0 0 60px;
  color: #fff;
  background: url("../images/corner1.png") left top no-repeat,
    url(../images/corner2.png) right bottom no-repeat;
  background-color: #d0003e;
  border-radius: 4px;
}

.ordine-registrati {
  padding: 80px 0 0 60px;
  color: #fff;
  background: url("../images/ord-corner1.png") left top no-repeat,
    url(../images/ord-corner2.png) right bottom no-repeat;
  background-color: #d0003e;
  border-radius: 4px;
}

/* Sezione Article
-------------------------------------------------- */

.article {
  color: #515b6f;
  margin-bottom: 50px;
}

.article p {
  font-size: 16px;
  line-height: 25.6px;
  margin-bottom: 0;
  color: #515b6f;
}

/* 
----------------- PAGE --------------------------

-------------------------------------------------- */

.section-intestazione {
  background: url("../images/int-pattern-left.png") left top no-repeat,
    url(../images/int-pattern-right.png) right top no-repeat;
  background-color: #f8f8fd;
  color: #000;
  padding: 40px 8%;
}

.section-intestazione-justleft {
  background: url("../images/int-pattern-left.png") left top no-repeat;
  background-color: #f8f8fd;
  color: #000;
  padding: 40px 8%;
}

.section-intestazione-up {
  background: no-repeat;
  background-color: #fff;
  color: #000;
  padding: 40px 8%;
}

.section-intestazione-none {
  background: none;
  background-color: #f8f8fd;
  color: #000;
  padding: 40px 8%;
}

.int-border {
  border-bottom: 1px solid #dddde2;
}

.section-intestazione h3,
.section-intestazione-none h3,
.section-intestazione-justleft h3 {
  font-size: 36px;
  font-weight: 700;
  width: 100%;
  font-family: "Poppins", sans-serif;
  margin-bottom: 0;
}

.article-container h3 b {
  font-weight: 700 !important;
}

.article-container h4 b {
  font-weight: 600 !important;
}

.section-intestazione h2,
.section-intestazione-none h2,
.section-intestazione-justleft h2 {
  font-size: 48px;
  font-weight: 800;
  width: 100%;
  font-family: "Poppins", sans-serif;
  margin-bottom: 0;
}

.cont-intestazione {
  margin-right: 0;
  margin-left: 0;
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #fff;
}

#filterbutton {
  background-color: #fcf0f3;
  width: fit-content;
  padding: 5px;
  border-radius: 3px;
  margin: 20px auto 10px auto;
  color: #25324b;
}

/* Home
-------------------------------------------------- */

.section-dashboard {
  margin-bottom: 80px;
}

.dash-box {
  padding: 32px;
  border: solid 1px #d6ddeb;
  background-color: #fff;
}

.dash-box_grey {
  padding: 20px;
  border: solid 1px #d6ddeb;
  background-color: #f8f8fd;
}

.db_ico_01 {
  background: url("../images/iconbox_001.png") right bottom no-repeat;
  background-color: #f8f8fd;
}

.db_ico_02 {
  background: url("../images/iconbox_002.png") right bottom no-repeat;
  background-color: #f8f8fd;
}

.dash_number {
  font-family: "Poppins", sans-serif;
  color: #d0003e;
  font-size: 64px;
  font-weight: 600;
}

.progress {
  height: 6px;
  background-color: #fbe7ed;
}

.progress-bar {
  background-color: #d0003e;
  border-right: solid 2px #fbe7ed;
}

.pr-grey {
  height: 6px;
  background-color: #d6ddeb;
}

.prb-green {
  background-color: #33af8d;
  border-right: solid 2px #d6ddeb;
}

.card-date {
  position: absolute;
  bottom: 16px;
  right: 32px;
  color: #7c8493;
  font-size: 14px;
}

.donut {
  width: 180px;
  height: 180px;
  border-radius: 50%;

  background: conic-gradient(#d0003e 0deg 150deg, #fff 150deg 360deg);
}

.hole {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #f8f8fd;
}

.donut {
  display: flex;
  align-items: center;
  justify-content: center;
}

.legend {
  margin-top: 30px;
  width: 50%;
}

.segment1,
.segment2 {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  margin-right: 10px;
}

.segment1 {
  background: #d0003e;
}

.segment2 {
  background: #fff;
}

.cb-pad {
  padding: 1.5rem 3rem;
}

.textsmall {
  font-size: 14px;
  line-height: 22.4px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #25324b;
}

.scadenza {
  display: table;
  width: 100%;
  text-align: center;
  height: 100%;
}
.content_sca {
  display: table-cell;
  vertical-align: middle;
}

.badge {
  display: inline-block;
  font-size: 0.75em;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 3px;
  border-radius: 80px;
}

.badge-green {
  border: solid 1px #33af8d !important;
  color: #33af8d;
}

.badge-grey {
  border: solid 1px #7c8493 !important;
  color: #7c8493;
}

.badge-orange {
  border: solid 1px #fea807 !important;
  color: #fea807;
}

.badge-red {
  border: solid 1px #d0003e !important;
  color: #d0003e;
}

.bt-square {
  display: inline-block;
  font-size: 0.75em;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  padding: 10px;
  border: solid 1px #d6ddeb;
  color: #7c8493;
  background-color: #fff;
  width: 40px;
  height: 40px;
}

.bt-square:hover,
.bt-square:focus,
.bt-square:active,
.bt-square.active {
  background-color: #fcf3f6;
  color: #d0003e;
}

.mappa-ing,
.aziendeWorking {
  background-color: #f8f8fd;
  padding: 80px 0;
}

.boxchart {
  padding: 40px 20px 60px 20px;
  background-color: #fff;
  border: 1px solid #d6ddeb;
}

.altri-servizi {
  margin: 60px 0;
}

.cardwork {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.cardwork {
  transition: background-color 0.3s;
}

.cardwork a {
  text-decoration: none;
}

.iconcard svg {
  fill: #d0003e;
  transition: fill 0.3s;
}

.iconcard2 svg {
  fill: #fff;
  stroke: #d0003e;
  transition: fill 0.3s;
}

.faded-card {
  background: rgb(255, 255, 255);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 74%,
    rgba(255, 67, 67, 0) 100%
  );
  border: 1px solid rgb(185, 185, 185);
  transition: 0.5s;
}
.faded-card:hover {
  background: rgb(216, 216, 216);
  background: linear-gradient(
    90deg,
    rgba(216, 216, 216, 1) 74%,
    rgba(255, 67, 67, 0) 100%
  );
}

.faded-card-wrapper:hover {
  transform: scale(1.03);
}

.faded-card-wrapper {
  transition: transform 0.5s;
}

.card-body h5 {
  font-size: 24px;
  color: #25324b;
  transition: color 0.3s;
}

.card-body p {
  color: #7c8493;
  transition: color 0.3s;
}

.cardwork:hover {
  background-color: #d0003e;
}

.cardwork:hover .iconcard svg {
  fill: #fff;
}

.cardwork:hover .iconcard2 svg {
  fill: #d0003e;
  stroke: #fff;
}

.cardwork:hover .card-body h5,
.cardwork:hover .card-body p {
  color: #fff;
}

.owl-prev,
.owl-next {
  font-size: 52px !important;
  color: #fff !important;
  background-color: #d0003e !important;
  width: 50px;
  height: 50px;
  line-height: 50px !important;
}

.owl-prev {
  position: absolute;
  left: -28px;
  top: 28%;
}

.owl-next {
  position: absolute;
  right: -28px;
  top: 28%;
}

/* Profilo
-------------------------------------------------- */

.box-livello {
  padding: 16px;
  background-color: #fcf3f6;
  margin-bottom: 50px;
}

.box-livello h6 {
  font-size: 20px;
}

.box-info {
  padding: 24px 16px;
  background-color: #f8f8fd;
  margin: 30px 0 50px 0;
}

.addbutton {
  padding: 12px 16px;
  border: 1px solid #f4c4d2;
  background-color: #fff;
}

.chooselabel {
  display: inline-block;
  padding: 4px 12px 4px 12px;
  border: solid 1px #d6ddeb;
  background-color: #f8f8fd;
  margin-right: 5px;
  color: #515b6f;
}

.btn-dashed {
  border-style: dashed;
  border-color: #d0003e;
  border-width: medium;
  background-color: #f8f8fd;
}

.menu-aside {
  border: 1px solid #d6ddeb;
  text-decoration: none;
}

.bt-aside {
  text-decoration: none;
}

.bt-aside:hover,
.bt-aside.active {
  border-left: solid 5px #d0003e;
  background-color: #fff;
  padding-left: 30px;
}

.list-group-item {
  border-bottom: 1px solid #d6ddeb;
  color: #7c8493;
}

.list-group-item:hover,
.list-group-item.active {
  color: #7c8493;
  background-color: #fcf3f6;
  border-color: transparent;
}

/* FORM FILTER
-------------------------------------------------- */

#filter {
  margin-bottom: 5rem;
}

#filter .form-check {
  margin-bottom: 1.4rem;
}

.checkbox-lg .form-check-input {
  top: 0.8rem;
  scale: 1.4;
  margin-right: 0.7rem;
}

.form-check-input:checked {
  background-color: #d0003e;
  border-color: #d0003e;
}

#filter .form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0) !important;
  outline: 0 !important;
}

.order-choose select {
  background: #fff none repeat scroll 0 0;
  border: 0 solid #ccc;
  color: #000;
  font-size: 14px;
  height: 40px;
  margin: 0 30px 0 0;
  padding: 0;
}

.icon_filter {
  float: right;
}

.panelbutton_1 {
  width: 40px;
  height: 39px;
  float: left;
  cursor: pointer;
  background-image: url(../images/panelbutton1.png);
}

.panelbutton_1-h {
  width: 40px;
  height: 39px;
  float: left;
  cursor: pointer;
  background-image: url(../images/panelbutton1-h.png);
}

.panelbutton_2 {
  width: 40px;
  height: 39px;
  float: left;
  cursor: pointer;
  background-image: url(../images/panelbutton2.png);
}

.panelbutton_2-h {
  width: 40px;
  height: 39px;
  float: left;
  cursor: pointer;
  background-image: url(../images/panelbutton2-h.png);
}

/* FOOTER
-------------------------------------------------- */
.bg-dark {
  background-color: #202020 !important;
}

.inputw-75 {
  width: 75%;
}

.section-siti li {
  margin: 10px 0;
}

.list-foot {
  padding-left: 0;
  list-style: none;
  margin-left: -5px;
  color: #fff;
}

.list-foot > li {
  display: inline-block;
  padding-right: 25px;
  padding-left: 5px;
}

.footer p {
  font-size: 1rem;
  width: 100%;
  color: #fff;
  margin: 0.5rem 0 0 0;
}

.footer a {
  text-decoration: none;
}

.btn-social {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50% !important;
  color: #fff;
  font-size: 12px;
}

/* MODAL
-------------------------------------------------- */

.modal-rec {
  max-width: 70%;
  margin: 1.75rem auto;
}

.modal-backdrop {
  background-color: #fff;
}

.modal-backdrop.show {
  opacity: 0.9;
}

.modal-black {
  background-color: #fff;
}

.modal-black.show {
  opacity: 0.8;
}

.closemod {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 15;
}

.modal-form {
  padding: 80px;
}

#formTab {
  border: none;
}

#formTab .nav-item.show .nav-link,
#formTab .nav-link.active {
  color: #d0003e;
  background-color: #fff;
  border-color: #fff #fff #d0003e;
}

#formTab .nav-item.show .nav-link,
#formTab .nav-link.active {
  color: #d0003e;
  background-color: #fff;
  border-color: #fff #fff #d0003e;
}

#formTab .nav-link:hover {
  border-color: #fff #fff;
}

.select2-container {
  width: 100% !important;
}

#toastNotificationContainer {
  z-index: 9999;
}

.toast-header.success {
  background-color: #6ae4a5;
}

.icon-success {
  color: #52bb85;
}

.toast-header.error {
  background-color: #e46a6a;
}
.icon-error {
  color: #e44646;
}

.toast-header.warning {
  background-color: #f5be76;
}
.icon-warning {
  color: #e79f40;
}

.toast-header.info {
  background-color: #7ac7fa;
}
.icon-info {
  color: #49a8e7;
}

/*MOBILE*/

@media (max-width: 991px) {
  #main {
    margin-top: 55px;
  }

  #logo {
    margin-left: 15px;
  }

  #navbarsMain {
    padding-bottom: 24px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-bottom: 0;
    padding-top: 10px;
  }

  .section-intestazione,
  .section-intestazione-justleft {
    background: none;
    background-color: #f8f8fd;
    color: #000;
  }

  .scadenza {
    text-align: left;
    margin-top: 15px;
  }

  h2 {
    font-size: 55px;
  }

  h3 {
    font-size: 35px;
  }

  h4 {
    font-size: 24px;
  }

  #intestazione h4 {
    font-size: 26px;
  }

  .w-50,
  .w-60,
  .w-75 {
    width: 100% !important;
  }

  .g-5,
  .gx-5 {
    --bs-gutter-x: 0rem;
  }

  .db-mob-m {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .section-mainhome {
    background: url("../images/pattern-homepage.png") left bottom no-repeat;
  }

  .section-emailsuccess,
  .section-bo-info {
    background-image: none;
  }

  .ordine-registrati {
    background: url("../images/corner1.png") left top no-repeat,
      url(../images/corner2.png) right bottom no-repeat;
    background-color: #d0003e;
  }

  .modal-form {
    padding: 30px 10px;
  }

  .modal-rec {
    max-width: 95%;
  }
}
