html,
body {
  height: 100%;
  width: 100%;
}

/* ORDINI */
.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}


/* SCROLLBAR */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bs-gray-200);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: var(--bs-primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--bs-primary);
}
/* FINE SCROLLBAR */

.main-container {
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
}

.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}

.form-signin .checkbox {
  font-weight: 400;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.icon-larger {
  font-size: 4.5rem;
}

.home-section:hover {
  background-color: var(--bs-primary);
}

.home-section {
  transition: all 600ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
  border-radius: 40px;
}
.home-section i,.home-section h1 {
  transition: all 500ms cubic-bezier(0, 0, 0.2, 1);
}

.home-section:hover h1 {
  font-size: .1rem;
  opacity: 0;
}

.home-section:hover i,.home-section:hover h1 {
  color: white !important;
}

/* MENU A TENDINA MULTIPLO */
.btn-toggle {
  display: inline-flex;
  align-items: center;
  padding: .5rem .5rem;
  font-weight: 600;
  background-color: transparent;
  border: 0;
}
.btn-toggle:hover,
.btn-toggle:focus {
  outline: none;
  box-shadow: none;
}

.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform .35s ease;
  transform-origin: .5em 50%;
}

.btn-toggle[aria-expanded="true"] {
  color: rgba(0, 0, 0, .85);
}
.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}
.btn-toggle-nav .btn-toggle {
  padding: .1875rem .5rem;
  margin-top: .4rem;
  margin-bottom: .25rem;
  
  font-weight: 500;
  font-size: .9rem;
}

.btn-toggle-nav a,.btn-toggle-nav button {
  display: inline-flex;
  padding: .1875rem .5rem;
  margin-top: .125rem;
  margin-left: 1.25rem;
  text-decoration: none;
}
.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus,
.btn-toggle-nav button:hover,
.btn-toggle-nav button:focus,
.btn-toggle-nav a.active,
.btn-toggle-nav button.active {
  background-color: var(--bs-gray-200);
}

.btn-toggle-nav {
  background-color: var(--bs-gray-200);
  margin-left: 1.2rem;
}

.btn-toggle-nav .btn-toggle-nav {
  padding: .3rem 0px;
  background-color: var(--bs-gray-300);
  margin-left: 0rem;
}

/* CATALOGO PRODOTTI */
/*GALLERY*/
.winwork-pr {
  cursor: pointer;
}

.winwork-pr-gallery-list {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.winwork-pr-gallery-list img {
  transition: all 300ms ease-in-out;
  cursor: pointer;
}

.winwork-pr-gallery-list img.active {
  border: 1px solid var(--bs-primary);
}

.winwork-pr-gallery-selected img {
  top: 0px;
  left: 0px;
}

/* SELECT 2 WITH FLOATING LABELS */
/* BOOTSTRAP INTEGRATION */
.form-floating .select2-selection {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
}

.form-floating .select2-selection {
  height: calc(3.5rem + 2px);
  line-height: 1.25;
}

.select2-selection:focus {
  border-color: #8aa3c1;
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.25rem rgb(20 70 131 / 25%);
  box-shadow: 0 0 0 0.25rem rgb(20 70 131 / 25%);
}

.select2-selection {
  display: block;
  width: 100%;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  -moz-padding-start: calc(.75rem - 3px);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  -webkit-transition: border-color 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.select2-selection__arrow {
  display: none;
}

/*LOADER CATALOGO*/

.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #666;
  margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*FINE LOADER CATALOGO*/

.btn-toggle-nav a:hover, .btn-toggle-nav a:focus, .btn-toggle-nav button:hover, .btn-toggle-nav button:focus, .btn-toggle-nav a.active, .btn-toggle-nav button.active {
  filter: brightness(0.85);
}

/*NASCONDO FRECCE DAGLI INPUT NUMBER (occupano troppo spazio)*/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}