@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

.wg-theme-light #app .wgtabsheet {
  border: none;
}

.wggroupbox.GPBOX {
  border-width: 1px 0px 0px 0px !important;
}

.wgoutput > input {
  border: 0 !important;
}

.k-panelbar > li.k-state-default > .k-link,
.k-tabstrip-items .k-state-default .k-link {
  color: var(--body-text) !important;
}

.k-tabstrip-items .k-link {
  color: #0c71c3 !important;
}

/* fisso il colore delle costanti */
.wg-theme-light #app .wgstatic,
.wg-theme-light #app .wgoutput input {
  /* color: #333 !important;
  -webkit-text-fill-color: #333 !important; */
}

/* padding maggiorato delle notifiche */
.k-popup .k-notification-content {
  padding: 30px;
}

#app .wggroupbox-parent > h3 {
  justify-content: center;
  margin: 0 6px;
  padding: calc(var(--wg-spacing) * 2) calc(var(--wg-spacing) * 7);
  text-transform: uppercase;
  font-weight: 600;
  color: #0c71c3;
  -webkit-text-fill-color: #0c71c3 !important;
  margin: calc(var(--wg-spacing) * -1);
  margin-bottom: 0;
  margin-top: 15px;
}

#app .wg-chevron {
  position: absolute;
  right: calc(var(--wg-spacing) * 2);
}

.wg-theme-light #app .wggroupbox-parent {
  /* border: none; */
}

.wg-theme-light .wggroupbox {
  background-color: transparent;
}

#wgPageWebgateRPG_0 input.k-input {
  border-radius: calc(var(--border-radius) * 2) !important;
}

#app .k-dropdown button {
  width: auto;
}

#app .wgstatic {
  font-weight: 700;
}

#app .wgstatic.ars-privacy {
  font-weight: 400;
}

/* custom for ars biomedica */
* {
  font-family: Open Sans, Arial, sans-serif;
}

#app [wghi="true"] {
  color: #0c71c3 !important;
  -webkit-text-fill-color: #0c71c3 !important;
}

#app .wgRpgPage input[type="checkbox"] {
  border-color: rgba(0, 0, 0, 0.5);
}

#app .login-info {
  justify-content: center;
  margin: 20px 0;
}

.wg-grandfather * {
  font-size: 16px !important;
}

/* tabcontrol */
#app .wgtabsheet:focus {
  outline-width: 0;
}

#app ul.k-tabstrip-items.k-reset {
  justify-content: space-between;
}

#app ul.k-tabstrip-items.k-reset li {
  flex-grow: 1;
  color: black;
  text-transform: uppercase;
  user-select: none;
  margin-bottom: 0;
  border: none;
}

#app ul.k-tabstrip-items.k-reset li:focus {
  box-shadow: none;
}
#app ul.k-tabstrip-items.k-reset li:active {
  border-top: none;
  border-left: none;
  border-right: none;
}

#app ul.k-tabstrip-items.k-reset li.k-state-active {
  font-weight: 600;
  /* color: #0042cb; */
  color: #0c71c3;
  border: none;
  /* border-bottom: 2px solid #0042cb; */
  border-bottom: 2px solid #0c71c3;
}

#T1-find button {
  background-image: none !important;
  padding: 0 !important;
}

/* .wg-node.wg-d-flex[name="ars-input-row"] {
  margin-bottom: 10px;
} */

.wg-node.wg-d-flex[name="ars-avviso-scadenza"] {
  margin: 20px 0;
  padding: 10px;
  border: 1px solid #f5c6cb;
  background-color: #f8d7da;
  border-radius: 8px;
  color: #721c24 !important;
}
#app .wg-node.wg-d-flex[name="ars-avviso-scadenza"] * {
  font-weight: 400;
}
#app .wg-node.wg-d-flex[name="ars-avviso-scadenza"] [wghi="true"] {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

#app button span {
  display: flex;
  align-items: center;
}

.ars-button-primary button {
  background: #ffad35 !important;
  color: black;
  padding-left: 0 !important;
}

.ars-button-back button {
  background-image: none !important;
  padding-left: 0 !important;
}

.ars-button-back button:hover {
  border-color: #0c71c3;
}

#app input:focus {
  border: none !important;
}

#app .wggroupbox-parent > h3 {
  font-size: 20px !important;
  text-align: center;
}

[name="T1"] {
  width: 900px;
}

.ars-change-search::before {
  content: "";
  display: inline-block;
  height: 19px;
  width: 17px;
  background-image: url(./icon-back.svg);
  background-position: 50%;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 5px;
}

.ars-link-back::before {
  content: "\f060";
  display: inline-block;
  margin-right: 10px;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-family: "Font Awesome 5 Free";
  font-size: 18px;
  font-weight: 900;
}

.ars-button-back button span::before {
  content: "\f060";
  display: inline-block;
  margin-right: 15px;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-family: "Font Awesome 5 Free";
  font-size: 20px;
  font-weight: 900;
}

.ars-active-date button {
  border: 2px solid #ffad35;
  color: #0c71c3;
}

.ars-date-carousel {
  min-width: 110px;
}

#app .k-grid tr td {
  padding: 15px 10px;
}

#app .dsBtnPrenota a {
  display: inline-block;
  background: #ffad35;
  padding: 7px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  line-height: 100%;
}

#app .dsBtnCancella a {
  display: inline-block;
  background: #dc3545;
  padding: 7px;
  border-radius: 5px;
  display: flex;
  color: white;
  align-items: center;
  line-height: 100%;
}

.ars-confirm-date input {
  text-align: end;
}

.ars-confirm-message textarea {
  padding: var(--wg-spacing);
  border: 1px solid #ddd;
  border-radius: var(--wg-border-radius);
}

td.ars-prezzi div::after {
  content: "€";
}

.k-grid-content colgroup col {
  width: auto !important;
}

.ars-prenota-col > div:first-child,
.ars-res-col > div:first-child {
  width: 0 !important;
}

#app .dsBtnPrenota {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ars-obligatory {
  position: relative;
}

.ars-obligatory::before {
  content: "*";
  display: inline-block;
  position: absolute;
  left: -8px;
  top: 0;
  z-index: 1;
  color: red;
  -webkit-text-fill-color: red;
}

.ars-label-obligatory {
  font-size: 13px !important;
  color: red;
}

.ars-label-prestazione {
  font-weight: 400 !important;
  font-size: 13px !important;
  color: #aaa;
}

#app .grid-expand {
  display: none;
}

#app .k-grid-header {
  display: none;
}

.k-grid-content.k-auto-scrollable {
  height: 100% !important;
  overflow-x: hidden;
}

#app .wg-theme-light [name="grid-container"],
[name="registrazione"] {
  border: none;
}

#app .k-grid td {
  border: none;
}

[name="T1"],
[name="T3"],
[name="conferma-appuntamento"],
[name="registrazione"] {
  width: 900px !important;
}

.ars-date-carousel button,
.ars-active-date button {
  background-image: none !important;
  color: #0c71c3 !important;
  padding: 8px !important;
}

.ars-date-carousel button span::before {
  content: "\f133";
  display: inline-block;
  margin-right: 10px;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-family: "Font Awesome 5 Free";
  font-size: 25px;
  font-weight: 900;
}

.ars-active-date button span::before {
  content: "\f133";
  display: inline-block;
  margin-right: 10px;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-family: "Font Awesome 5 Free";
  font-size: 30px;
  font-weight: 900;
}

.wgLobContentHeight {
  background: #cff4fc;
  color: #055160;
  border-radius: 8px;
  padding: var(--wg-spacing);
}

[name="preparazioni"] .wgLobContentHeight {
  background-color: #fff;
  color: #000;
}

/* #ars-header{
  display: none;
} */

#ars-logo {
  height: 100px;
  width: 350px;
  background-image: url("../custom/VillaSandraLogoOrizzontale.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#ars-header > div {
  margin: 0 10px;
}

#ars-header a {
  text-decoration: none;
  color: #0c71c3;
}

[name="ars-phone"] a {
  width: 250px;
  font-size: 20px !important;
}

[name="ars-phone"] a::before {
  content: "\f095";
  display: inline-block;
  margin-right: 8px;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

a {
  text-decoration-color: #0c71c3 !important;
}

.blueButton button {
  background-color: #f38e3c !important;
  color: #020204;
  filter: invert(1);
}

.wgAvviso textarea, .wgNomeVisita textarea {
    background-color: inherit;
    border: 0;
}

.wgNomeVisita textarea {
    outline: none;
    cursor: default;
    opacity: 0.6;
    -webkit-filter: grayscale(0.1);
    filter: grayscale(0.1);
    pointer-events: none;
    box-shadow: none;
}

.wg-mb15{
  margin-bottom:15px !important
}


@media screen and (max-width: 900px) {
  [name="T1"],
  [name="T3"],
  [name="conferma-appuntamento"],
  [name="registrazione"] {
    width: 90vw !important;
  }

  .ars-date-carousel {
    min-width: auto;
  }
  .ars-date-carousel button {
    background-image: none !important;
    padding: 0 !important;
    color: #0c71c3 !important;
    padding: 8px !important;
  }
  .ars-date-carousel button span {
    text-align: center;
  }

  [name="ars-phone"] a {
    font-size: 16px !important;
    width: 180px;
  }

  #ars-logo {
    width: 200px;
  }
}

@media screen and (max-width: 700px) {
  body .k-window.k-dialog {
    top: auto !important;
    bottom: 20px !important;
    height: auto !important;
  }

  [name="T1"],
  [name="conferma-appuntamento"] {
    /* width: auto !important; */
  }
  #WGCTL01FBTNSET,
  #WGCTL01FBTNUNO {
    display: none;
  }
}

@media screen and (max-width: 510px) {
  .ars-date-carousel button span::before {
    content: "";
  }
  #ars-logo,
  [name="ars-phone"] {
    width: 50%;
  }
}

@media screen and (max-width: 420px) {
  #WGCTL01FBTNDUE,
  #WGCTL01FBTNSEI {
    display: none;
  }
}
