@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700');


@font-face {
  font-family: 'MoreSugar';
  font-weight: 700;
  src: url('../fonts/MoreSugar-Extras.otf');
  src: url('../fonts/MoreSugar-Extras.ttf') format('truetype');
}

@font-face {
  font-family: 'MoreSugar';
  font-weight: 400;
  src: url('../fonts/MoreSugar-Regular.otf');
  src: url('../fonts/MoreSugar-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'MoreSugar';
  font-weight: 100;
  src: url('../fonts/MoreSugar-Thin.otf');
  src: url('../fonts/MoreSugar-Thin.ttf') format('truetype');
}

/* base */
html {
  height: 100%;
  position: relative;
}

body {
  height: 100%;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #f8f6f1;
  color: #3c96c6;
}

h1, h2, h3, h4, h5 {
  font-family: 'MoreSugar';
  font-weight: 400;
  color: #5eb3e0;
}

a {
  color: #ff9533;
  text-decoration: none;
}

body.blu {
  background-image: url(../images/bg_blu.png);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: auto 80%;
  color: #3c96c6;
}

body.verde {
  background-image: url(../images/bg_verde.png);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: auto 80%;
  color: #199368;
}

body.viola {
  background-image: url(../images/bg_viola.png);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: auto 80%;
  color: #4d269a;
}

body.nobg {
  background-image: none;
}

body.blu h2 {
  color: #3c96c6;
}

body.verde h2 {
  color: #199368;
}

body.viola h2 {
  color: #4d269a;
}

.in_programma {
  padding-bottom: 2rem;
}

.in_programma h2 {
  color: #3c96c6;
  font-family: 'MoreSugar';
  font-weight: 400;
  font-size: 1.6rem;
  padding-bottom: 1rem;
}

.in_programma .percorso_item {
  margin-bottom: 1rem;
}

.in_programma .percorso_item a {
  height: 40px;
  background-image: url(../images/t_blu.png);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 40px;
  padding-left: 60px;
  vertical-align: middle;
  display: inline-block;
  padding-top: 8px;
  color: #3c96c6;
}

.conclusi h2 {
  color: #4d269a;
  font-family: 'MoreSugar';
  font-weight: 400;
  font-size: 1.6rem;
  padding-bottom: 1rem;
}

.conclusi .percorso_item {
  margin-bottom: 1rem;
}

.conclusi .percorso_item a {
  height: 40px;
  background-image: url(../images/t_viola.png);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 40px;
  padding-left: 60px;
  vertical-align: middle;
  display: inline-block;
  padding-top: 8px;
  color: #4d269a;
}

body.blu .t_help {
  background-image: url(../images/t_blu.png);
}

.t_help {
  height: 50px;
  width: 50px;
  background-image: url(../images/t_blu.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% auto;
  display: inline-block;
  margin-right: 10px;
}

body.blu .t_help {
  background-image: url(../images/t_blu.png);
}

body.verde .t_help {
  background-image: url(../images/t_verde.png);
}

body.viola .t_help {
  background-image: url(../images/t_viola.png);
}

main {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  width: 100%;
  padding: 40px 40px 160px 40px;
}

header {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  _background-color: #f8f6f1;
}

.cover main {
  text-align: center;
  max-width: 500px;
  width: 100%;
}

.cover .logo {
  text-align: center;
  padding: 20px;
}

.logo img {
  height: auto;
  max-width: 250px;
}

.logo_unifi {
  padding: 3rem;
}

.logo_unifi img {
  height: auto;
  max-width: 250px;
  opacity: .7;
}

h5.card-title {
  font-size: 1.0em;
  line-height: 1.2em;
  margin-top: 0;
}

.offcanvas.offcanvas-start {
  color: #ff9533;
}

.offcanvas.offcanvas-start .nav-link {
  color: #ff9533;
}

input.form-control {
  color: #3c96c6 !important;
}

/* btn */

.btn-primary {
  background: rgb(58, 151, 201);
  background: linear-gradient(90deg, rgb(111, 190, 232) 0%, rgb(107, 185, 228) 35%, rgb(108, 182, 222) 100%);
  border-color: transparent;
}

.btn-secondary {
  background: rgb(255, 189, 89);
  background: linear-gradient(90deg, rgba(255, 189, 89, 1) 0%, rgba(255, 189, 89, 1) 35%, rgba(255, 145, 77, 1) 100%);
  border-color: transparent;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
  border-color: transparent;
  opacity: .7;
}

.btn {
  border-radius: 32px;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url(../images/toggle.png);
}

.titolo {
  text-align: center;
  padding-bottom: 20px;
  font-size: 1.2em;
}

.comandi {
  text-align: center;
  position: fixed;
  bottom: 0;
  padding: 10px;
  width: 100%;
  background-color: #fff;
}

.comandi button {
  max-width: 500px;
}

.toggle_mappalista {
  text-align: center;
  position: fixed;
  bottom: 90px;
  width: 100%;
  z-index: 1040;
}

.mappa {
  width: 100%;
  min-height: 600px;
  height: 90vh;
}

.lista {
  width: 100%;
  max-width: 500px;
  min-height: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  padding-bottom: 60px;
}

.card .info {
  padding-top: 5px;
  padding-bottom: 5px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  font-size: 0.9em;
  color: rgba(36, 116, 2, 1);
}

.card .info span {
  padding-right: 10px;
}

.card .card-text {
  font-size: 0.9em;
  line-height: 1.2em;
}

.lista .card .card-text {
  font-size: 0.8em;
  line-height: 1.1em;
}

.card.scheda {
  border-radius: 0;
  border: none;
}

.card.scheda .card-title {
  font-size: 1.4em;
}

.card .badge {
  margin-right: 5px;
}

.form-signin {
  max-width: 500px;
  width: 100%;
  padding: 20px;
}

.content-signin {
  padding: 20px;
}

.info_slide {
  margin-top: 2em;
  margin-bottom: 2em;
}

.info_slide ul, .info_slide li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.input-group-text {
  background-color: #fff;
  border-right: none;
}

.profilo {
  padding: 20px;
}

.profilo .input_list {
  background: none;
  padding: 0px 20px;
  margin: 0px -20px 0px -20px;
}

.avatar img {
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .8);
  width: 125px;
  height: 125px;
}

.link {
  border-bottom: 1px solid #fff;
  padding-top: 1em;
  padding-bottom: 1em;
}

.link a {
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 20px;
  padding: 2px 10px 2px 30px;
  font-size: 14px;
  text-decoration: none;
}

.link a.i_fotocamera {
  background-image: url(../images/i_fotocamera2.svg);
}

.link a.i_logout {
  background-image: url(../images/i_logout.svg);
}

.link a.i_delete {
  background-image: url(../images/i_delete.svg);
}




/* Navigation bottom */

.menu-navigation-icons {
  text-align: center;
  font-size: 0;
  position: fixed;
  bottom: 0;
  width: 100%;
  padding-bottom: 15px;
  padding-top: 15px;
  background-color: rgba(10, 35, 1, 1);
  z-index: 9999;
}

.menu-navigation-icons a {
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
  width: 25%;
  color: #fff;
}

.menu-navigation-icons a:hover {
  opacity: 0.92;
}

.menu-navigation-icons a i {
  display: block;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: auto 24px;
}

.menu-navigation-icons a span {
  display: block;
  font-size: 13px;
  line-height: 0;
}

.menu-navigation-icons a i.i_home {
  background-image: url(../images/i_home2.svg);
}

.menu-navigation-icons a i.i_percorsi {
  background-image: url(../images/i_percorsi.svg);
}

.menu-navigation-icons a i.i_profilo {
  background-image: url(../images/i_profilo2.svg);
}

.menu-navigation-icons a i.i_chatbot {
  background-image: url(../images/i_chatbot2.png);
  background-size: auto 28px;
}


/* modal */

.modal-body {
  padding: 2em;
  font-size: .9em;
}

.modal-body h3 {
  font-size: 1.4em;
  padding: 1em;
}

.modal-dialog_old {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  width: 400px;
}
.modal-dialog {
  margin-left: auto;
  margin-right: auto;
}


/* animazione bee */
.agente {
  width: 5.7%;
  position: absolute;
  top: 25%;
  left: 0%;
  animation: circle 10s linear infinite;
  transform-origin: 0px 700px;
  animation-fill-mode: forwards;
  animation-direction: alternate;
  z-index: 9991;
}

.agente img {
  width: 50px;
  height: auto;
}


@keyframes circle {
  from {
    transform: rotate(-20deg);
  }

  to {
    transform: rotate(140deg);
  }
}

.offcanvas.offcanvas-bottom .offcanvas-body .chat {
  width: 100%;
  max-width: 400px;
  text-align: center;
  padding-bottom: 90px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.offcanvas.offcanvas-bottom .offcanvas-title {
  font-size: 0.9em;
}

.offcanvas.offcanvas-bottom {
  background-color: #B5CEAA;
  height: 70%;
  min-height: 350px;
}

.foto_view img {
  border-radius: 44% 56% 48% 52% / 63% 66% 34% 37%;
  width: 150px;
  height: 120px;
  margin-bottom: 1rem;
}

.intro_testo {
  padding: 40px 40px 40px 40px;
}

.robotino {
  padding: 100px 40px 40px 0px;
}

.navi_footer {
  position: absolute;
  bottom: 0px;
  left: 0;
  z-index: 99;
  width: 100%;
  text-align: center;
}

.navi_footer .navi_footer_box {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
  padding: 20px 10px;
  text-align: right;
  background-color: #f8f6f1;
}

.navi_footer .navi_footer_box .inizia {
  height: 50px;
  background-image: url(../images/i_go.png);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  display: inline-block;
  padding-right: 70px;
  vertical-align: middle;
  font-family: 'MoreSugar';
  font-weight: 400;
  font-size: 26px;
  line-height: 50px;
}

.chat_input {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  width: 100%;
  text-align: center;
  background-color: #f8f6f1;
}

.chat_input .input-group {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
  background-image: url(../images/bg_chat.png);
  background-repeat: no-repeat;
  background-position: left -50px center;
  background-size: 100% 80%;
  padding: 35px 20px 35px 20px;
}

.chat_input .btn {
  padding: 0;
}

.chat_input .btn img {
  width: auto;
  height: 50px;
}

.chat_input input,
.chat_input input:focus,
.chat_input input:hover,
.chat_input input:active,
input:-internal-autofill-selected {
  border: none !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none;
  font-weight: bold;
  color: #824c1b !important;
}

.chat_input input::placeholder {
  font-weight: normal;
  color: #fff;
  opacity: .7;
}

.leaflet-control form.svelte-zh3kmv.svelte-zh3kmv input {
  font-size: 1.4em;
  ;
  padding: 8px 3px;
}

/* from styles.css FRA */

#map {
  height: 90vh;
  width: 100%;
}

.awesome-marker i {
  font-size: 18px;
}

#controls {
  margin-bottom: 10px;
  text-align: center;
}

.nav_dot {
  margin-bottom: 0px;
}

.dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 10px;
  background-color: #3c96c6;
  margin: 5px;
  opacity: .5;
}

.blu .dot {
  background-color: #3c96c6;
}

.verde .dot {
  background-color: #199368;
}

.viola .dot {
  background-color: #4d269a;
}

.dot.active {
  opacity: 1;
}

.btn.btn_lista {
  border: 2px solid #fff;
  border-radius: 10px;
  font-family: 'MoreSugar';
  font-weight: 400;
  height: 40px;
  background-image: url(../images/t_blu.png);
  background-repeat: no-repeat;
  background-position: left 5px center;
  background-size: auto 24px;
  padding-left: 46px;
  display: inline-block;
  color: #3c96c6;
  clear: both;
  display: block;
  width: auto;
  margin-bottom: 10px;
}

.btn.btn_lista:hover {
  background-color: #fff;
}

.blu .btn.btn_lista {
  color: #3c96c6;
  background-image: url(../images/t_blu.png);
}

.verde .btn.btn_lista {
  color: #199368;
  background-image: url(../images/t_verde.png);
}

.viola .btn.btn_lista {
  color: #4d269a;
  background-image: url(../images/t_viola.png);
}

.chat_input .input-group {
    background-position: left -40px center;
  }

.fine{
  text-align: center;
}

.deco{
  max-width: 60%;
  height: auto;
  padding: 25px;
}

.intro .deco{
  max-width: 55%;
  padding: 55px 0px 0px 0px;
  margin-top: -60px;
}

input[type="file"].custom-file-input {
  display: none;
}

.hand{
  cursor: pointer;
}

h1{
  text-align: center;
  padding-bottom: 20px;
}
.lista_percorsi h2{
  font-size: 1.3em;
}
.lista_percorsi .percorso{
  border-bottom: 1px solid #7ec4ea;
  padding: 10px 0px; 
}

.icone{
  text-align: right;
}

.icone img{
  width: auto;
  height: 24px;
  padding-left: 5px;
}
footer{
  text-align: center;
  background-color: #fff;
  padding: 10px;
  position: fixed;
  width: 100%;
  bottom: 0;
}
.logo_p{
  height: 35px;
  width: auto;
  padding: 5px 20px;
}
.scheda_percorso label{
  display: block;
}
.help{
  float: right;
  display: block;
}

.scheda_percorso button{
  width: 200px;
}
.ingressi3{
  text-align: center;
 }
.ingressi3 a{
 display: inline-block;
 width: 200px;
 height: 200px;
 border-radius: 10px;
 padding: 80px 10px;
 margin: 20px;
 font-size: 1.3em;
 color: #fff;
 font-weight: bold;
}

.ingressi3 a:hover{
  opacity: .8;
 }
 

.ingressi3 .bot_docente{
  background-color: #7ec4ea;
}

.ingressi3 .bot_studente{
  background-color: #ffbd59;
}

.ingressi3 .bot_visitatore{
  background-color: #81daaf;
}

.i_back{
  position: absolute;
  left: 20px;
  top: 20px;
  width: 100px;
  height: 50px;
  background-image: url(../images/i_back.png);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 80%;
}

.help{
  background-image: url(../images/i_help.png);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 16px auto;
  padding-left: 20px;
  line-height: 32px;

}
.corso_dati span{
  font-weight: bold;
  padding-left: 5px;
  padding-right: 15px;
}

.loading {
width: 100%;
height: 100%;
background-color: rgba(0,0,0,.4);
position: absolute;
z-index: 9999;
text-align: center;
}

.loading div{
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -75px;
  margin-top: -15px;
}

.i_map{
  position: fixed;
  right: 0px;
  top: 70px;
  width: 50px;
  height: 45px;
  background-image: url(../images/i_map.png);
  background-repeat: no-repeat;
  background-position: right 5px center;
  background-size: auto 75%;
  background-color: #45b490;
  border-radius: 20px 0px 0px 20px;
  z-index: 9998;
}

.i_map:hover{
  opacity: .8;
  cursor: pointer;
}

/* HTML: <div class="loader"></div> */
.loader {
  height: 30px;
  aspect-ratio: 5;
  display: grid;
  --_g: no-repeat radial-gradient(farthest-side,#ffbd59 94%,#ffbd5900);
}
.loader:before,
.loader:after {
  content: "";
  grid-area: 1/1;
  background:
    var(--_g) left,
    var(--_g) right;
  background-size: 20% 100%;
  animation: l32 1s infinite; 
}
.loader:after { 
  background:
    var(--_g) calc(1*100%/3),
    var(--_g) calc(2*100%/3);
  background-size: 20% 100%;
  animation-direction: reverse;
}
@keyframes l32 {
  80%,100% {transform:rotate(.5turn)}
}



@media (min-width: 992px) {
  main {
    padding-top: 100px;

  }
  header{
    padding-left: 40px;
    padding-right: 40px;
  }

  .cover.docente main {
    max-width: 100%;
  }
}