section#casino{
  background:var(--section-bg2);
}

section#casino .banners-container{
  margin-bottom: 40px;
}

.casino__list{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.casino__list .casino__game{
  position: relative;
  padding-bottom: 70%;
  background-size: cover;
  background-position: center center;
  transition: 0.3s;
  border-radius: var(--casino_game_radius);
  overflow: hidden;

}

.casino__list .game__title{
  position: absolute;
  right: 0;
  background: var(--casino-game-title-bg);
  width: auto;
  top: -6px;
  padding: 10px;
  text-align: left;
  border-bottom: 55px;
  font-weight: 700;
  font-size: 10px;
  border-bottom-left-radius: 10px;
}

.casino__list .casino__game .game__content{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  transition: opacity .2s ease-in-out;
}

.casino__list .casino__game:hover .game__content{
  opacity: 1
}

.casino__list .game__play{
  background: var(--casino-game-play-bg);
  color: var(--casino-game-play-color);
  width: 80%;
  
}

.casino__list .game__play.demo{
  background: var(--casino-game-demo-bg);
  color: var(--casino-game-demo-color);
  margin-bottom: 5px;
}

.casino__list .favorite{
  font-size: 24px;
  position: absolute;
  bottom: 10px;
  left: 10px;
  cursor: pointer; 
}

.categories-list{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: auto;
  margin-left: 15px;
}

.categories-list .category-block{
  min-width: 120px;
  transition: opacity .2s ease-in-out;
}
 
.categories-list .category-block:hover{
  opacity: .6;
}

.categories-list .category-block{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.casino-head{
  position: relative;
  display: flex;
  margin-bottom: 20px; 
}


.casino-head .casino-search-btn{
  background: var(--primary-btn-bg);
  color: var(--primary-btn-color);
  text-align: center;
  line-height: 72px;
  width: 65px;
}

.casino-head .casino-search-btn{
  cursor: pointer;
  font-weight: 800;
  font-size: 17px;
}

.casino-head .casino_menu_search{
  position: absolute;
  top: 0;
  left: 60px;
}

.casino-head .casino-search{
  height: 100%;
}

.casino-head .casino-search input{
  display: none;
  position: absolute;
  top: 0;
  left: 65px;
  height: 72px;
  background: var(--casino-search-input-bg);
  color: var(--casino-search-input-color);
  font-size: 14px;
  margin: 0;
  border: 0;
  padding: 0 10px;
  max-width: 1720px;
  width: calc(100% - 65px);
}

.casino-head .casino-search input::placeholder{
  color: #fff;
  opacity: .6;
}

.categories-list .category-block .category-block__icon{
  width: 30px;
  height: 30px;
  margin-bottom: 5px;
}
.categories-list .category-block .category-block__icon img{
  width: 100%;
}
.categories-list .category-block .category-block__title{
  text-transform: uppercase;
  font-weight: 800;
}

.categories-list .category-block .category-block__count{
  height: 14px;
}

.casino__list .favorite i{
  transition: color .2s ease-in-out;
}

.casino__list .favorite i.fa-solid{
  color: #28a745
}

.casino__empty{
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.casino__loading {
  width: 50px;
  height: 150px;
  margin: 50px auto 0;
}
.casino__loading img {
  width: 100%;
}

.providers-btn{
  display: flex;
  justify-content: flex-end;
}

.providers-btn .btn{
  padding: 10px 15px;
}

.casino__head{
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}
.casino_iframe_wrap iframe{
  width: 100%;
  height: calc(100vh - 118px);
}

.game__interface{
  display: flex;
  height: 30px;
  align-items: center;
  padding: 10px;
  background-color: #066167;
}
.game__interface > div:nth-child(2){
  flex: 1;
  margin: 0 10px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.game__interface > div:nth-child(3){
  margin-right: 10px;
}

.game__interface svg{
  display: block;
  margin: 0;
  padding: 0;
}
.game_interface > div:nth-child(1) svg, .game_interface > div:nth-child(3) svg{
  fill: var(--casino_interface_color);
}

@media (max-width: 900px){
  .casino_iframe_wrap iframe{
    width: 100%;
    height: inherit;
  }
}


#providers.modal{
  width: auto;
  max-width: 600px;
}
.providers-list{
  display: grid;
  grid-template-columns: repeat(3, 150px);
  gap: 10px;
  max-height: 600px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 5px;
}

@media (max-width: 470px) {
  .providers-list{
    grid-template-columns: repeat(2, 150px);
  }
}

.providers-list .provider-block{
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 11px;
  background: #fff;
  padding: 5px 10px;
}

.providers-list .provider-block .provider-block__icon{
  width: 40px;
  height: 40px;
}

.providers-list .provider-block .provider-block__icon img{
  width: 100%;
}

.providers-list .provider-block .provider-block__name{
  color: #000;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  
}

.providers-list .provider-block .provider-block__count{
  color: #000;
  font-size: 12px;
}

::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #033335;
}

::-webkit-scrollbar
{
	width: 8px;
	height: 8px;
	background-color: #033335;
}

::-webkit-scrollbar-thumb
{
	background-color: #022025;
}


#sport-container div.betcore-container{
  --top-margin: 70px;
}

.modal .modal__title{
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}
@media (max-width: 980px){
  .casino-head{
    position: relative;
    margin-top: 60px;
  }
  .casino-head .casino-search{
    position: absolute;
    width: 100%;
    top: -60px;
  }
  .categories-list{
    margin-left: 0;
  }
  .casino-head .casino-search-btn{
    width: 40px;
    line-height: 42px;
  }
  .casino-head .casino-search input{
    height: 42px;
    left: 40px;
    width: calc(100% - 40px);
  }
  .casino__list{
    grid-template-columns: repeat(3, 1fr); 
  }
}

@media (max-width: 768px){
  .casino__list{
    grid-template-columns: repeat(2, 1fr);
  }
}