/* Modern Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  vertical-align: middle; /* Centra verticalmente */
  margin-left: 10px; /* Riduce la distanza dalla label */
}

  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 20px;
}

  .slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
  }

input:checked + .slider {
  background-color: #4680ff;
}

input:focus + .slider {
  box-shadow: 0 0 1px #4680ff;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* Centra verticalmente la label e il switch */
.form-group.row {
  align-items: center;
}

/* Header Styling (non modificato) */
.bg-header {
  background-color: #4680ff;
  color: white !important;
}

.pcoded-header .input-group-text,
.pcoded-header a,
.pcoded-header .dropdown-toggle {
  color: white;
}

  .pcoded-header .input-group-text:hover,
  .pcoded-header a:hover,
  .pcoded-header .dropdown-toggle:hover {
    color: lightblue;
  }
/*******************************/

.required-asterisk {
  color: #dc3545;
  font-weight: bold;
  margin-left: 2px;
}

label {
  margin-bottom: 0.10rem;
}


/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
  white-space: normal;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
  /*max-width: 280px;*/
  width: 100%;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  .jumbotron {
    margin-top: 20px;
  }

  .body-content {
    padding: 0;
  }
}

.deleted {
  text-decoration: line-through;
}

.btn-flex {
  display: flex;
  align-items: stretch;
  align-content: stretch;
}

  .btn-flex .btn:first-child {
    flex-grow: 1;
    text-align: left;
  }


/* FULL SCREEN MODAL */
.modal-full {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

  .modal-full .modal-dialog {
    position: fixed;
    margin: 0;
    width: 100%;
    height: 100%;
    padding: 0;
  }


.hidden {
  display: none;
}

.festivity {
  background-color: azure !important;
}

.missing-day {
  background-color: #FDC0C0 !important;
}

.div-header {
  background-color: #f8f9fc !important;
  border-top: 1px solid #B1B1B1;
  border-bottom: 1px solid #B1B1B1;
  color: #203675;
  margin-top: 10px;
}

.text-black {
  color: #000;
}


#breadcrumb {
  list-style: none;
  display: inline-block;
}

  #breadcrumb .icon {
    font-size: 14px;
    background: #ddd;
  }

  #breadcrumb li {
    float: left;
  }

    #breadcrumb li a {
      color: #FFF;
      display: block;
      background: #DDD;
      text-decoration: none;
      position: relative;
      height: 40px;
      line-height: 40px;
      padding: 0 10px 0 5px;
      text-align: center;
      margin-right: 23px;
    }

      #breadcrumb li a.disabled {
        background: #999 !important;
      }

    /*#breadcrumb li:nth-child(even) a {
            background-color: #2980b9;
        }

            #breadcrumb li:nth-child(even) a:before {
                border-color: #2980b9;
                border-left-color: transparent;
            }

            #breadcrumb li:nth-child(even) a:after {
                border-left-color: #2980b9;
            }*/

    #breadcrumb li:first-child a {
      padding-left: 15px;
      -moz-border-radius: 4px 0 0 4px;
      -webkit-border-radius: 4px;
      border-radius: 4px 0 0 4px;
    }

      #breadcrumb li:first-child a:before {
        border: none;
      }

    #breadcrumb li:last-child a {
      padding-right: 15px;
      -moz-border-radius: 0 4px 4px 0;
      -webkit-border-radius: 0;
      border-radius: 0 4px 4px 0;
    }

      #breadcrumb li:last-child a:after {
        border: none;
      }

    #breadcrumb li a:before, #breadcrumb li a:after {
      content: "";
      position: absolute;
      top: 0;
      border: 0 solid #DDD;
      border-width: 20px 10px;
      width: 0;
      height: 0;
    }

    #breadcrumb li a.disabled:after {
      content: "";
      position: absolute;
      top: 0;
      border: 0 solid #999;
      border-width: 20px 10px;
      width: 0;
      height: 0;
    }

    #breadcrumb li a:before {
      left: -20px;
      border-left-color: transparent;
    }

    #breadcrumb li a:after {
      left: 100%;
      border-color: transparent;
      border-left-color: #DDD;
    }

    #breadcrumb li a:hover {
      background-color: #f4a742;
    }

      #breadcrumb li a:hover:before {
        border-color: #f4a742;
        border-left-color: transparent;
      }

      #breadcrumb li a:hover:after {
        border-left-color: #f4a742;
      }

    #breadcrumb li a.unclickable:hover {
      background-color: #DDD;
    }

      #breadcrumb li a.unclickable:hover:before {
        border-color: #DDD;
        border-left-color: transparent;
      }

      #breadcrumb li a.unclickable:hover:after {
        border-left-color: #DDD;
      }

    #breadcrumb li a.disabled:hover:after {
      border-left-color: #999;
    }

    #breadcrumb li a.active {
      background-color: #3366cc;
    }

      #breadcrumb li a.active:before {
        border-color: #3366cc;
        border-left-color: transparent;
      }

      #breadcrumb li a.active:after {
        border-left-color: #3366cc;
      }



.bootstrap-datetimepicker-widget.dropdown-menu {
  min-width: 300px;
}


