/*CSS HANDLER */
@media (min-width: 992px) {
  :root {
    --transition-duration: 0.6s;
  }
  .content:has(.mcontent).visibleFooter {
    height: calc(96vh - var(--navbar-height) - 40px - 110px);
    padding-bottom: 110px;
    transition: height var(--transition-duration) ease;
  }
  #center_column.visibleFooter {
    height: 0;
    height: calc(100vh - var(--navbar-height) - var(--section-height) - 119px);
    transition: height var(--transition-duration) ease;
  }
  #center_column.visibleFooter:has(.content:not(:has(.content))) {
    height: calc(100vh - var(--navbar-height) - var(--section-height));
    transition: height var(--transition-duration) ease;
  }
  .paddingFooter {
    padding-bottom: 110px;
    transition: padding-bottom var(--transition-duration) ease;
  }
  .content:has(.mcontent).paddingFooter {
    height: calc(96vh - var(--navbar-height) - 40px - 110px);
    transition: height var(--transition-duration) ease;
  }
  .visibleFooter {
    visibility: visible;
    opacity: 1;
    transition: visibility var(--transition-duration) ease,
      opacity var(--transition-duration) ease;
  }
  footer.text-center.text-lg-start {
    z-index: 2 !important;
  }
  .toggleFooter {
    z-index: 2 !important;
  }
}

#footerButton .toggleFooter:hover {
  background: var(--icons_colore_dark) !important;
}

.toggleFooter {
  position: fixed;
  padding: 0px 5px 0px;
  width: 116px;
  right: 0%;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  transform: translate(-50%);
  color: var(--bg_color);
  background: var(--icons_colore);
  text-transform: uppercase;
  bottom: 0px;
  z-index: 10000;
  height: 30px;
  margin: 0px !important;
}

footer > .container > .row > div:first-child {
  border-left: 1px solid white;
  border-image: var(--border_colore);
}

footer > .container > .row > div {
  border-right: 1px solid white;
  border-image: var(--border_colore);
}

footer > .container > .row > div > .list-unstyled > li {
  margin-bottom: 3px;
}

footer > .container > .row > div > .list-unstyled > li > a,
footer > .container > .row > div > .list-unstyled > li > u > a {
  text-decoration: none;
  list-style: none;
  color: var(--textColorWhite) !important;
}

/* start of mobile footer css */
.default .mobile-footer {
  display: none !important;
}

.mobile-footer > nav > div.container-fluid,
.mobile-footer > nav > div.container-fluid > ul.nav {
  height: var(--footer-height);
  background: var(--fotter_color);
}

.mobile-footer > nav > div.container-fluid > ul.nav > li {
  position: relative;
  display: block;
  max-width: 80px;
}

.mobile-footer > nav > div.container-fluid > ul.nav > li.prev-ons > a {
  border-top-right-radius: 30%;
  z-index: 0;
  position: relative;
}

.mobile-footer > nav > div.container-fluid > ul.nav > li.next-ons > a {
  z-index: 0;
  position: relative;
}

.mobile-footer > nav > div.container-fluid > ul.nav > li > a {
  margin: auto;
  height: 65px;
  width: 80px;
  display: block;
  text-align: center;
}

.mobile-footer > nav > div.container-fluid > ul.nav > li > a > span.text {
  position: relative;
  bottom: -28px;
  width: 100%;
  display: block;
}
.mobile-footer > nav > div.container-fluid > ul.nav > li > a > span.icon {
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  margin: auto;
  width: 18px;
  height: 21px;
  bottom: -15px;
  position: relative;
  content: "";
}

.mobile-footer
  > nav
  > div.container-fluid
  > ul.nav
  > li
  > a
  > span.icon
  > span.icon {
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  margin: auto;
  width: 18px;
  height: 21px;
  position: absolute !important;
  content: "";
}

.mobile-footer > nav > div.container-fluid > ul.nav > li.first-add > a,
.mobile-footer > nav > div.container-fluid > ul.nav > li.last-add > a {
  width: 100%;
}
/* end of selected css*/

.mobile-footer > nav > div.container-fluid > ul.nav > li.b_selected:before {
  position: relative;
  border-radius: 50%;
  border: 1px solid #fff;
}

.mobile-footer > nav > div.container-fluid > ul.nav > li.b_selected:after {
  content: "";
  background: var(--secondary-bg);
  width: 70px;
  height: 70px;
  position: absolute;
  top: -35px;
  left: 4px;
  z-index: 1;
  border-radius: 50%;
  -webkit-box-shadow: var(--footer_shadow);
  -moz-box-shadow: var(--footer_shadow);
  box-shadow: var(--footer_shadow);
}

.mobile-footer > nav > div.container-fluid > ul.nav > li.b_selected > a {
  position: relative;
  width: 65px;
  height: 65px;
}

.mobile-footer
  > nav
  > div.container-fluid
  > ul.nav
  > li.b_selected
  > a::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 6px;
  width: 65px;
  height: 50px;
  justify-content: center;
  border-radius: 50%;
  z-index: 1;
}

.mobile-footer > nav > div.container-fluid > ul.nav > li.b_selected > a {
  border: none;
  position: relative;
  width: 80px;
  margin-left: 0px;
}

.mobile-footer
  > nav
  > div.container-fluid
  > ul.nav
  > li.b_selected
  > a
  > span.text {
  bottom: -5.5px;
  z-index: 22;
}

.mobile-footer
  > nav
  > div.container-fluid
  > ul.nav
  > li.b_selected
  > a
  > span.icon {
  filter: var(--footer_icons);
  top: -23px;
  width: 44px;
  height: 44px;
  z-index: 2;
}

.mobile-footer
  > nav
  > div.container-fluid
  > ul.nav
  > li.b_selected#couponcontainer
  > a
  > span.icon {
  filter: none;
}

.mobile-footer
  > nav
  > div.container-fluid
  > ul.nav
  > li.b_selected
  > a
  > span.icon
  > span.icon {
  filter: var(--footer_icons);
  width: 44px;
  height: 44px;
  z-index: 2;
}

.mobile-footer
  > nav
  > div.container-fluid
  > ul.nav
  > li
  > a
  > span.transfer_money {
  filter: invert(1);
}
.mobile-footer
  > nav
  > div.container-fluid
  > ul.nav
  > li
  > a
  > span.left_column {
  filter: invert(1);
}

.red-circle {
  position: relative;
  top: -15px;
  left: 15px;
  float: right;
  background-color: red;
  color: white;
  border: 1px solid white;
  border-radius: 50%;
  font-weight: bold;
  padding: 5px;
  text-align: center;
  margin-right: 5px;
  width: 20px;
  height: 20px;
  line-height: 7px;
  font-size: 14px;
}
/* end of mobile footer css */

/* Footer - less then 576px width */
@media screen and (max-width: 575px) {
  .mobile-footer > nav > div.container-fluid > ul.nav > li > a {
    width: 75px;
  }
}

@media screen and (max-width: 520px) {
  .mobile-footer > nav > div.container-fluid > ul.nav > li > a {
    font-size: 14px;
  }
}

@media screen and (max-width: 485px) {
  .mobile-footer > nav > div.container-fluid > ul.nav > li > a {
    font-size: 13px;
  }
}

@media screen and (max-width: 435px) {
  .mobile-footer > nav > div.container-fluid > ul.nav > li > a {
    font-size: 12px;
  }
}

@media screen and (max-width: 400px) {
  .mobile-footer > nav > div.container-fluid > ul.nav > li {
    max-width: 20%;
  }
  .mobile-footer > nav > div.container-fluid > ul.nav > li > a {
    font-size: 10px;
  }
}

@media screen and (max-width: 380px) {
  .mobile-footer > nav > div.container-fluid > ul.nav > li {
    max-width: 15%;
    margin: 0 5px 5px 5px;
  }
  #popup-cloud {
    min-width: 140px !important;
    bottom: calc(var(--footer-height) - 5px) !important;
  }
}

@media screen and (max-width: 360px) {
  .mobile-footer > nav > div.container-fluid > ul.nav > li {
    max-width: 15%;
    margin: 0 5px 5px 5px;
  }
  #popup-cloud {
    bottom: calc(var(--footer-height) - 10px) !important;
    left: -40%;
  }
}

@media screen and (max-width: 300px) {
  #popup-cloud {
    min-width: 120px !important;
  }
}

.disabledTicket {
  filter: opacity(0.6);
}

/* nimbus cloud */

/* sport and live only */
.offer .b_selected #popup-cloud,
.offer .prev-ons #popup-cloud,
.offer .next-ons #popup-cloud {
  bottom: calc(var(--footer-height) + 0px);
  z-index: 1;
}
/* end of sport and live only */
.content .b_selected #popup-cloud,
.content .prev-ons #popup-cloud,
.content .next-ons #popup-cloud,
.content #popup-cloud,
.account #popup-cloud {
  bottom: calc(+1 * (var(--footer-height)) - 1px);
  z-index: 1;
}

.b_selected #popup-cloud,
.prev-ons #popup-cloud,
.next-ons #popup-cloud {
  bottom: calc(+1 * (var(--footer-height)) - 1px);
  z-index: 1;
}

#popup-cloud ul::after,
#popup-cloud ul::after {
  content: "";
  display: block;
  height: 23px;
}

#popup-cloud {
  position: absolute;
  bottom: calc(var(--footer-height) + 0px);
  background-color: var(--fotter_color);
  border-radius: 10px 10px 0px 0px;
  padding: 5px;
  width: 200%;
  min-width: 100px;
  display: none;
  z-index: 1000;
  font-family: Arial, sans-serif;
  color: #333;
}

.mobile-footer #popup-cloud li span.icon {
  background-size: contain;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  display: inline-flex;
  top: 0;
  bottom: 0;
  left: 0;
}

.mobile-footer #popup-cloud li span.text {
  position: relative;
  left: 10px;
  bottom: 4px;
}

#popup-cloud li {
  margin: auto;
  height: 44px;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  padding-left: 13px;
  align-items: center;
}

#popup-cloud li.selectedChild a {
  filter: var(--filter_Color);
}

#popup-cloud li {
  border-bottom: 1px solid #04283a;
}

#popup-cloud li:last-of-type {
  border-bottom: none;
}

#popup-cloud li.selectedChild .icon {
  filter: brightness(0) saturate(100%) invert(19%) sepia(93%) saturate(1417%)
    hue-rotate(173deg) brightness(96%) contrast(100%);
}

#popup-cloud li a {
  text-decoration: none;
  color: var(--bg_text);
  white-space: nowrap;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px !important;
}
/* end of nimbus cloud */
