.roboto-thin {
    font-family: "Roboto", sans-serif;
    font-weight: 100;
    font-style: normal;
  }
  
  .roboto-light {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .roboto-regular {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .roboto-medium {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .roboto-bold {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .roboto-black {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: normal;
  }
  
  .roboto-thin-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 100;
    font-style: italic;
  }
  
  .roboto-light-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: italic;
  }
  
  .roboto-regular-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .roboto-medium-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: italic;
  }
  
  .roboto-bold-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: italic;
  }
  
  .roboto-black-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: italic;
  }
  

html, body{
    font-family: "Roboto", sans-serif;
    height: 100%;
    /*background-color: #2e3246;*/
    /*background-color: #313131;*/
    background-color: #eeeff3;
    scrollbar-width: thin;
    scrollbar-color: #2c946f #1a1a1a;
}

.container{
    width: 1250px;
    max-width: 90%;
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 5px;
}

.odds-container{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(1,1fr);
  gap: 5px;
}

.comparator-container{
  width: auto;
}


.site-box{
    padding: 7px;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: #F2F4F5;
    border-top: 2px solid #aac2da;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.site-box .head{
    padding:10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.site-box .head img{
    border-radius: 10px;
}

.site-box .content, .site-box .footer{
    padding:10px;
    background-color: #fff;
    margin-top:5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}


header, footer{
    /*background-color: #393f5b;*/
    background-color: #1a1a1a;
    color: white;
    text-align: center;
}

header{
	padding: 20px 20px 5px 20px;
	margin-bottom: 10px;
}

footer{
	padding: 20px;
    margin-top:10px;
}

.visit-button {
    font-weight: bold;
    background-color: #2f8834;
    border: none;
    color: white;
    padding: 13px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    border-radius: 12px;
    box-shadow: 0 20px 20px rgba(0, 97, 16, 0.25);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.visit-button:hover {
    background-color: #4CAF50;
    box-shadow: 0 0px 0px rgba(0, 97, 16, 0.25);
    
}

.visit-button:active {
    background-color: #3e8e41;
    box-shadow: 0 0px 0px rgba(0, 97, 16, 0.25);
    transform: translateY(2px);
}

.terms{
    width: 1100px;
    max-width: 90%;
}

#smc{
    display: none;
    visibility: hidden;
    width: 2px;
    height: 2px;
    overflow: none;
}


@media (min-width: 768px){
    .mobile-box{
        display: none;
    }
}


@media (max-width: 767px){
    .desktop-box{
        display: none;
    }

    .container{
        min-width: 95%;
    }

    .terms{
        width: 90%;
    }
}

/*Bootstrap mod per opacità*/
#mldFirewall, #mldConfirm{
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}



.modal-backdrop.show {
    opacity: 0.7;
}

.custom-modal-rounded .modal-content{
    border-radius: 40px;
}

.modal-yes-no-button{
    width: 35%;
    padding: 10px;
    font-size: 19px;
    margin: 8px;
}

.modal-body{
  padding-bottom: 7px;
}

.modal-footer{
  border:none; 
  padding-top:0px;
}

#backtt{
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 99;
}

#backtc{
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  display: inline-block;
}

/**
  Animazioni
*/

@keyframes bounceIn {
  0%, 20%, 50%, 80%, 100%{
    transform: translate(0);
  }
  40%{
    transform: translateY(-75px);
  }
  60%{
    transform: translateY(-15px);
  }
}

.modal.bounce .modal-dialog{
    animation: bounceIn 1.0s;
}

.trovaslot-link, .trovaslot-link:active, .trovaslot-link:visited{
  color:#f74679;
}

.ts-search-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3 px;
}

.ts-search-input {
  border-radius: 50px 0 0 50px;
  border: 1px solid #ccc;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  padding: 10px 20px;
  flex: 1;
  max-width: 300px;
}

.ts-search-button {
  border-radius: 0 50px 50px 0;
  background-color: #3D2DFF;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.ts-search-button:hover {
  background-color: #2B21CC;
}

/** LOADER **/
.loader {
  margin: 0px auto;
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.border-bcblack{
  border-color: #313131;
}

.bg-bcblack{
  background-color: #313131;
}

/**
POPUP SCOMMESSA
*/

/* General styling for the popup */
.bet-slip {
  position: relative;
  width: 100%;
  background-color: #f0f0f0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.bet-slip-sticky{
  position: fixed;
  top:0px;
  width: 400px;
}

.bet-slip-header {
  background-color: #2c946f;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bet-slip-body {
  padding: 15px;
  display: block;
  max-height: 500px;
  overflow-y: auto;
}

.bet-slip-item {
  border-bottom: 1px solid #aaa;
}

.bet-option .odds {
  background-color: #2c946f;
  color: #fff;
  border: none;
  padding: 5px;
  border-radius: 5px;
}

.bet-option span {
  font-weight: bold;
  margin-left: 10px;
}

.bet-slip-footer {
  background-color: #2c946f;
  color: #fff;
}


.toggle-btn {
  background-color: #2c946f;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}



/* Responsive */
@media (max-width: 800px) {
  /* Styling for minimized popup */
  .bet-slip.minimized {
    transform: translateY(calc(100% - 40px)); /* Minimize the height of the popup, leaving only the header visible */
  }

  .bet-slip {
    position: fixed;
    bottom: 0;
    width: 100%;
    right: 0;
    border-radius: 0;
    background-color: #f0f0f0;
    box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
  }
}

.odd-selected{
  background-color: #2c946f;
}

.odd-button{
  cursor: pointer;
}

/** TICKET */
.ticket .head{
  margin:0px;
  padding:0px;
  display: flex;
  align-items: end;
  justify-content: center;
  background-color:#f2f2f2;
  border-radius: 20px 20px 0px 0px;
  height: 16px;
}

.ticket .foot{
  margin:0px;
  padding:0px;
  display: flex;
  align-items: start;
  justify-content: center;
  background-color:#f2f2f2;
  border-radius: 0 0 20px 20px;
  height: 16px;
}

.ticket .content{
  background-color:#f2f2f2;
  padding: 5px 10px;
}

.ticket .content .event {
  line-height: 1em;
  margin: 5px;
}

.ticket .content .event .name{
  font-size: 14px;
  text-align: left;
}

.ticket .content .event .bet{
  display: flex;
  align-items: center;
  justify-content: end;
  font-size: 14px;
  font-weight: bold;
  text-align: right;
}

/* Container della sidebar */
.sidebar {
  width: 200px;
  height: 100vh;
  background-color: #1a1a1a;
  color: white;
  padding-top: 20px;
  position: fixed;
  left: 0;
  top: 0;
  transition: transform 0.3s ease;
  transform: translateX(0);
  z-index: 1000;
  overflow-y: auto;
}

/* Elementi della sidebar */
.sidebar ul {
  list-style-type: none;
  padding: 0;
}

.sidebar ul li {
  padding: 5px 7px;
}

.sidebar ul li a {
  color: white;
  text-decoration: none;
  display: block;
  border-radius: 7px;
  padding: 5px;
  font-size: 13px;
}

.sidebar ul li a:hover {
  background-color: #2c946f;
}

/* Sottolivelli */
.sidebar ul .submenu {
  display: none;
  padding-left: 20px;
}

.sidebar ul li.open > .submenu {
  display: block;
}

/* Pulsante per aprire/chiudere la sidebar su mobile */
.menu-toggle-btn {
  position: fixed;
  left: 10px;
  top: 10px;
  background-color: #2c946f;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  z-index: 1001;
}

.sidebar {
  transform: translateX(-100%);
}

.sidebar.active {
  transform: translateX(0);
}

/* Media query per mobile */
/*@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .menu-toggle-btn {
    display: block;
  }

  
}*/

.sidebar ul:first-child{
  margin-top:50px;
}

/**
INDEX MENU
*/
.index-menu a{
  text-decoration: none;
  color: #fff;
  padding: 10px;
  border-radius: 7px;
}

.index-menu a:hover{
  background-color: #2c946f;
}