/* Classi aggiuntive e regole generiche*/
.b-sh {
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
}

.br-10 {
  border-radius: 10px;
}

.br-20 {
  border-radius: 20px;
}

.br-xx {
  border-radius: 100px;
}

.bg-primary,
a.bg-primary {
  background-color: #8dd8c6 !important;
}

.bg-primary:hover,
a.bg-primary:hover {
  background-color: #8dd8c6 !important;
  text-decoration: none;
}

.bg-secondary,
a.bg-secondary {
  background-color: #054c79 !important;
}

.bg-secondary:hover,
a.bg-secondary:hover {
  background-color: #054c79 !important;
  text-decoration: none;
}


.text-secondary {
  color: #054c79 !important;
}

.btn {
  color: initial;
  font-family: Arial;
}

.btn.focus,
.btn:focus {
  box-shadow: none;
}

.btn * {
  text-decoration: none;
}

.btn-secondary,
.btn-secondary[disabled] {
  background-color: white;
  border: none;
  color: #000;
}

.btn-secondary:hover,
.btn-secondary[disabled]:hover {
  background-color: #054c79;
  border: none;
  color: white;
}

.btn-primary,
.btn-primary[disabled] {
  border: none;
  background-color: #8dd8c6;
  color: white !important;
}

.btn-primary:hover,
.btn-primary[disabled]:hover {
  background-color: white;
  border: none;
  background-color: #054c79;
  color: #fff;
}

.btn-primary:focus,
.btn-primary[disabled]:focus {
  background-color: white;
  border: none;
  background-color: #054c79;
  color: #fff;
}


.media {
  position: relative;
}

.media * {
  color: initial;
}

.show-on-desktop {
  display: none;
}

.show-on-mobile {
  display: block;
}


.navbar a.navbar-brand {
  z-index: 1;
  margin-right: 0;
}

.navbar a.navbar-brand img.logo {
  max-width: 230px;
}

h1 {
  font-size: 2rem;
  text-align: center;
}

.nav-item a {
  color: #ffffff;
}

.nav-item.active a {
  background-color: #8dd8c6;
}

.content-container {
  margin-bottom: 4rem !important;
}

.modal-content i {
  color: #8dd8c6;
  font-size: 2rem;
}

@media screen and (min-width: 576px) {
  .show-on-mobile {
    display: none;
  }

  .show-on-desktop {
    display: block;
  }

  h1 {
    font-size: 2.5rem;
    text-align: left;
  }
}

/* */

/* Header HOME */
.navbar {
  min-height: 46vw;
}

.navbar img:not(.logo):not(.back-to-home-icon) {
  position: absolute;
  top: -2vw;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.back-to-home {
  display: none;
}

@media screen and (min-width: 576px) {
  .navbar {
    min-height: 13vw;
  }
}

/* */

/* Header II LIVELLO */
body.page-ii-level .navbar {
  min-height: 28vw;
}

body.page-ii-level .navbar img:not(.logo):not(.back-to-home-icon) {
  top: -20vw;
}

body.page-ii-level .back-to-home {
  position: absolute;
  display: block;
  max-width: 20px;
  left: 20px;
}

body.page-ii-level .back-to-home-icon {
  max-width: 20px;
  width: 20px;
}

body.page-ii-level .navbar .navbar-brand {
  display: none;
}

@media screen and (min-width: 576px) {
  body.page-ii-level .navbar {
    min-height: 13vw;
  }

  body.page-ii-level .navbar img:not(.logo):not(.back-to-home-icon) {
    top: -2vw;
  }
}

/* */


/* Splash screen */
body.splash-screen .logo {
  max-width: 250px;
}

/* */

/* Scelta utenza */
body.scelta-utenza .logo {
  max-width: 250px;
}

.switch-container {
  background-color: white;
}

.switch-container.checked {
  background-color: #8dd8c6;
}

.custom-switch {
  display: inline-block;
  width: 50px;
  height: 25px;
  padding: 0;
  background: #e1e1e1;
  position: relative;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.2), 0px 1px 0px rgba(255, 255, 255, 0.2);
}

.custom-switch input[type="checkbox"] {
  visibility: hidden;
}

.custom-switch label {
  display: block;
  width: 20px;
  height: 20px;
  cursor: pointer;
  position: absolute;
  margin: 0;
  top: 2px;
  z-index: 1;
  left: 3px;
  background: #fcfff4;
  border-radius: 100px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.4);
  background: white;
}

.custom-switch label:after {
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  background: white;
  border-radius: 50px;
}

.custom-switch input[type="checkbox"]:checked+label {
  left: 27px;
  background: transparent;
}

.custom-switch input[type="checkbox"]:checked+label:after {
  background: #8dd8c6;
}

/* */

/* Attiva App */
body.attiva-app .logo {
  max-width: 250px;
}

body.attiva-app .btn-danger i {
  background: white;
  color: red;
  border-radius: 100px;
}

/* */

/* Attivazione */
body.attivazione i.fa-camera {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* */

/* Scansione fronte-retro */
body.scansiona .camera-input {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: #e1e1e1;
}

body.scansiona .doc-scan {
  max-width: 100%;
}

/* */

/* Home */
@media screen and (max-width: 576px) {
  .service-row a {
    min-height: 301px;
  }

  .service-row a img {
    transform: scale(1.4);
  }
}

/* */

/* Messaggi */
.message-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* */

/* Faq */
body.faq .accordion .card-header {
  position: relative;
}

body.faq .accordion .card-header i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
}

body.faq .accordion .card-header button.collapsed+i:before {
  content: "\f054";
}

/* */

/* Profilo personale */
body.profilo-personale .card img {
  position: relative;
  display: block;
  max-width: 150px;
  border-radius: 100rem;
  border: 5px solid white;
  z-index: 1;
}

body.profilo-personale .card-body {
  transform: translateY(-75px);
  padding-top: calc(75px + 1.5rem);
  z-index: 0;
}

/* */

/* Codice di verifica */
body.codice-di-verifica .card img {
  max-width: 200px;
}

/* */

/* I tuoi dati */
body.i-tuoi-dati .card img {
  max-width: 200px;
}

/* */

/* Footer */
footer {
  position: fixed;
  background-color: #ffffff;
  bottom: 0;
  width: 100%;
  z-index: 999;
}

footer .nav-item a:before {
  content: '';
  background-size: 20px;
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: .5rem;
}

.nav-item.active a {
  background-color: #8dd8c6;
    color: #ffffff !important;
}
footer ul{
list-style-type:none !important;
}
footer .nav-item:not(.active) a {
  font-size: 0;
}

footer .nav-item:first-child a:before {
  background-image: url('../img/icn-home.svg');
}

footer .nav-item.active:first-child a:before {
  background-image: url('../img/icn-home-active.svg');
}

footer .nav-item:nth-child(2) a:before {
  background-image: url('../img/icn-profilo.svg');
}

footer .nav-item.active:nth-child(2) a:before {
  background-image: url('../img/icn-profilo-active.svg');
}

footer .nav-item:nth-last-child(2) a:before {
  background-image: url('../img/icn-mail.svg');
}

footer .nav-item.active:nth-last-child(2) a:before {
  background-image: url('../img/icn-mail-active.svg');
}

/* */

/* Calendario */
body.prenota-colloquio-videochiamata .legenda span:before {
  content: '';
  display: inline-block;
  width: 10px;
  background: black;
  height: 10px;
  vertical-align: middle;
  margin-right: 0.5rem;
}

body.prenota-colloquio-videochiamata .legenda span:first-child:before {
  background: #4f81a0;
}

body.prenota-colloquio-videochiamata .legenda span:nth-child(2):before {
  background: #fbde82;
}

body.prenota-colloquio-videochiamata .legenda span:last-child:before {
  background: #8dd8c6;
}

#calendar {
  position: relative;
  display: block;
  width: 100% !important;
}

#calendar_header {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#calendar_header i[class^="fas fa-chevron"] {
  color: #000000;
  cursor: pointer;
}

#calendar_weekdays div {
  display: inline-block;
  vertical-align: top;
  color: #000000 !important;
}

#calendar_content,
#calendar_weekdays,
#calendar_header {
  position: relative;
  width: 100% !important;
  overflow: hidden;
  z-index: 10;
}

#calendar_weekdays div,
#calendar_content div {
  width: 40px;
  height: 40px;
  overflow: hidden;
  text-align: center;
  background-color: #FFFFFF;
  color: #787878;
  width: calc(100% / 7) !important;
}

#calendar_content div {
  float: left;
}

/* A scopo illustrativo per i giorni disponibili */
#calendar_content div:nth-child(12) {
  background-color: #fbde82 !important;
}

#calendar_content div:nth-child(24) {
  background-color: #8dd8c6 !important;
}

/* */

#calendar_content div:hover {
  background-color: #F8F8F8;
}

#calendar_content div.blank {
  background-color: #E8E8E8;
}

#calendar_header,
#calendar_content div.today {
  zoom: 1;
  filter: alpha(opacity=70);
  opacity: 0.7;
}

#calendar_content div.today {
  background-color: #054c79 !important;
  color: #ffffff !important;
}

body {
  background-color: #fff !important;
}


/* */
