/* Regole per navbar principale */
.sfondoblu {
  background-color: #c7e3f9;
}
.font_12 {
  font-size: 12px;
}
.navbar-inverse .nav li a {
  font-size: 16px;
}
.navbar-inverse .navbar-text {
  color: #ccc;
}
.navbar-inverse .navbar-nav > li > a {
  color: #ccc;
}
.navbar-inverse .navbar-brand {
  font-size: 16px;
  color: orange;
}

/* Elimina margine alto nelle cards (usato in UsersAdmin) */
.card.card_tab {
  border-top: none;
}

/* Elimina margine in basso (usato in Dashboard:Geo, Gismobile: Copertura e Disservizi) */
.noMarginBottom {
  margin-bottom: 0px;
}

/* Regole per icona attesa */
#loading {
  margin: 0;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  z-index: 1110;
}

#rendering {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  z-index: 1110;
  opacity: 1;
  background: #ccc;
  padding: 50px, 50px, 50px, 50px;
}

#loadingText {
  font-weight: bold;
  color: blue;
  margin-top: 20px;
}

#darkLayer {
  background-color: black;
  filter: alpha(opacity=50); /* IE */
  opacity: 0.5;
  z-index: 1100;
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  position: fixed;
  top: 0px;
  left: 0px;
}
#darkLayerGeo {
  background-color: black;
  filter: alpha(opacity=50); /* IE */
  opacity: 0.5;
  z-index: 1100;
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  position: fixed;
  top: 0px;
  left: 0px;
}
.spinner {
  z-index: 1100;
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  position: fixed;
  top: 0px;
  left: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spinner-mask {
  background-color: black;
  filter: alpha(opacity=50); /* IE */
  opacity: 0.5;
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
}
.spinner-image {
  z-index: 1;
}
/* Regole per dropdown multicolonna (Dashboard\Geo, Gismobile\Disservizi) */
.multi-column-dropdown {
  list-style: none;
}

.multi-column-dropdown li {
  width: 100%;
}

.multi-column-dropdown li a {
  font-size: 13px !important;
  display: block;
  clear: both;
  line-height: 1.428571429;
  color: #333;
  white-space: normal;
}

.multi-column-dropdown li a:hover {
  text-decoration: none;
  color: #262626;
  background-color: #f5f5f5;
}

.multi-column-dropdown li a:focus {
  text-decoration: none;
}

/* Regola per immagine responsive nel carousel bootstrap */
.carousel-inner > .item > img {
  display: block;
  width: 100%;
  height: auto;
}

/* Regola per rendere i modal bootstrap marcati con la classe achi-resizable ridimensionabili*/
.modal.achi-resizable .modal-content {
  resize: both;
  overflow: auto;
}

.pointer {
  cursor: pointer;
}

.hide {
  display: none;
}

ul.ui-autocomplete {
  z-index: 1100;
  height: 100px;
  overflow-y: scroll;
  overflow-x: hidden;
}

/*CSS Rotate Menu Caret*/
#menu_container [data-toggle="collapse"]:before {
  display: inline-block;
  display: inline-block;
  font: normal normal normal 14px/1 "Font Awesome\ 5 Free";
  font-size: inherit;
  text-rendering: auto;
  font-weight: 900;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\f105";
  transform: rotate(90deg);
  transition: all linear 0.25s;
}

#menu_container [data-toggle="collapse"].collapsed:before {
  transform: rotate(0deg);
}

.menu_rotate_arrow_up {
  transform: rotate(180deg);
  transition: all linear 0.5s;
}

.menu_rotate_arrow_down {
  transform: rotate(0deg);
  transition: all linear 0.5s;
}
/*CSS Rotate Menu Caret*/

#menu_container .card-body {
  background-color: white !important;
}

#menu_container .row {
  margin-left: 0;
  padding-right: 0;
  padding-left: 0;
  margin-right: 0;
}

#headingLogout h5 a {
  color: orangered !important;
  text-decoration: none !important;
  font-weight: bold;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
}

.header_menu_panel {
  color: orangered !important;
  text-decoration: none !important;
  font-weight: bold;
}

.title_dnw {
  color: #6c757d;
  font-weight: 900;
  margin-left: 15px;
}

.main_menu_item:hover {
  width: 100%;
  color: #3c8dbc;

  background-color: #21252970;
  /*border: 1px solid;
    padding: 10px;*/
  box-shadow: 8px 0px;
}

.menu_text_size {
  color: white;
  padding-top: 10px;
  font-size: 15px;
  font-family: Helvetica, Arial, sans-serif;
}
.menu_text_size_selected {
  color: white;
  padding-top: 10px;
  font-size: 15px;
  font-family: Helvetica, Arial, sans-serif;
}
.navbar_toggler_icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.bgNavColor {
  background-color: #c4d0d2;
  height: 50px;
}
.tag {
  padding: 0px 2px;
  min-width: 50px;
  display: inline-block;
  line-height: 1.3em;
  text-align: center;
  border-width: thin;
  border-style: solid;
}
.tag-green {
  background-color: #0be60b;
  border-style: solid;
  border-color: grey;
  border-width: thin;
  color: green;
}
.tag-purple {
  background-color: #642c9a;
  border-style: solid;
  border-color: grey;
  border-width: thin;
  color: white;
}
.tag-yellow {
  background-color: yellow;
  border-style: solid;
  border-color: grey;
  border-width: thin;
  color: green;
}
.tag-red {
  background-color: red;
  border-style: solid;
  border-color: grey;
  border-width: thin;
  color: yellow;
}
.tag-white {
  background-color: white;
  border-style: solid;
  border-color: grey;
  border-width: thin;
  color: green;
}
.tag-blue {
  background-color: blue;
  border-style: solid;
  border-color: grey;
  border-width: thin;
  color: yellow;
}

.table.table-nowrap th, .table.table-nowrap td {
  white-space: inherit;
  line-height: 2em;
}

.table .row-colored td, .table .row-colored th {
  background-color: rgba(0, 0, 0, 0.05);
}

#nikita-chart-container .chart-wrapper {
  height: 500px;
  width: 100%;
  position: relative;
}

.nowrap {
  white-space: nowrap;
}

.bg-info-50 {
  background-color: rgb(23 162 184 / 50%) !important;
}
.bg-warning-50 {
  background-color: rgb(255 193 7 / 50%) !important;
}

.custom-file-input ~ .custom-file-label::after {
  content: "Sfoglia";
}

.gap-0 {
  gap: 0 !important;
}
.gap-1 {
  gap: 0.25rem !important;
}
.gap-2 {
  gap: 0.5rem !important;
}
.gap-3 {
  gap: 1rem !important;
}
.gap-4 {
  gap: 1.5rem !important;
}
.gap-5 {
  gap: 3rem !important;
}

.was-validated .form-control:invalid ~ .ms-container .ms-list, .form-control.is-invalid ~ .ms-container .ms-list {
  border-color: #dc3545;
}

.bounce { 
  animation: bounce 0.5s; 
  animation-direction: alternate; 
  animation-timing-function: cubic-bezier(.5, 1, 0.05, .5); 
  animation-iteration-count: infinite; 
} 

@keyframes bounce { 
  from { 
      transform: translate3d(0, 0, 0); 
  } 
  to { 
      transform: translate3d(0, -20%, 0); 
  } 
} 

.bounce2 {
  animation: bounce 2s ease infinite;
}
@keyframes bounce2 {
    70% { transform:translateY(0%); }
    80% { transform:translateY(-60%); }
    90% { transform:translateY(0%); }
    95% { transform:translateY(-45%); }
    97% { transform:translateY(0%); }
    99% { transform:translateY(-25%); }
    100% { transform:translateY(0); }
}

.bounce3 {
  animation: bounce3 2s ease-in infinite;
}
@keyframes bounce2 {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-30px);}
	60% {transform: translateY(-15px);}
}

@keyframes drop {
  0% {
    transform: translateY(-200px) scaleY(0.9);
    opacity: 0;
  }
  5% {
    opacity: 0.7;
  }
  50% {
    transform: translateY(0px) scaleY(1);
    opacity: 1;
  }
  65% {
    transform: translateY(-17px) scaleY(0.9);
    opacity: 1;
  }
  75% {
    transform: translateY(-22px) scaleY(0.9);
    opacity: 1;
  }
  100% {
    transform: translateY(0px) scaleY(1);
    opacity: 1;
  }
}
.drop {
  animation: drop 0.3s linear forwards var(--delay-time);
}