.layout-content .layout-body .background-overlay .background-overlay-content {
    padding-top: 0rem !important;
}

.layout-info-line {
    position: relative;
}

.layout-content .layout-body .background-overlay {
    margin-top: -2rem !important;
}

.layout-content .layout-body .background-overlay .background-overlay-content .clubm88 .real-play-button:hover {
    background-color: #ffee01;
}

.live-casino-info .promo img .layout-content .layout-body .background-overlay .background-overlay-content .fortune88 .real-play-button:hover {
    background-color: #ffee01;
}

.live-casino-info .promo img {
    height: 80%;
}


/*  KH custom style  */


.winner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    position: relative;
    align-items: baseline;
    margin-right: 20px;
}


.winner table.lucky-winner {
    border: none;
    border-radius:  2px;;
    background-color: #26324d;
    text-align: center;
    border-collapse: collapse;
    box-shadow: 0 8px 36px 0 rgba(0, 0, 0, 0.15);
}

.winner table.lucky-winner td,
table.lucky-winner th {
    border: none;
    
}


.winner table.lucky-winner tbody td.front-end-spacing {
    width: 8px;
}

.winner table.lucky-winner tbody td.in-between-spacing {
    width: 10px;
}

.winner table.lucky-winner tbody td.winner-name {
    font-size: 18px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.36;
    letter-spacing: normal;
    color: #fff;
    padding-bottom: 0.5em;
}

.winner table.lucky-winner tbody td.winner-amount {
    color: #ffcd00;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: normal;
    font-size: 28px;
    padding-top: 2em;
    font-family: 'OpenSansBold';
}

.live-casino-info .ld-winners .title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 70px;
    text-transform: uppercase;
    font-family: 'OpenSansBold';
}
}


.winner-icon {
    max-width: 107.8px;
    height: auto;
    
}

.trophy {
    display: block;
    margin: auto;
    position: absolute; 
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ld-winners .winners-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 146px;
    margin-bottom: 20px;
}

.winners-container {
    position: relative;
}


/* banner carousel */

.carousel .animate-fading {
    animation: fading 0.5s !important;
}

.carousel .nav-bar {
    display: none !important;
}

.carousel-desktop-image {
    margin-left: -480px;
    display: none;
}

.carousel-mobile-image {
    width: 100%
}


.carousel .animate-fading .buttons-container {
	display:none;
}

.carousel .animate-fading .buttons-container .btn{
	display:none;
}


/* desktop overrides */

@media (min-width: 1024px) {
	
    .carousel .animate-fading .buttons-container {
	display:block;
	}
	
	.carousel .animate-fading .buttons-container .btn{
		display:block;
	}
	
	
	
    .ld-winners .winners-container {
        min-width: 864px;
        min-height: 0px;
        flex-direction: row;
    }
    .winner table.lucky-winner tbody td.front-end-spacing {
        width: 28px;
    }
    .carousel-desktop-image {
        margin-left: -480px;
        display: block;
    }
    .carousel-mobile-image {
        width: 720px;
        display: none;
    }
    .carousel .banner-carousel-item .buttons-container .btn-primary {
        margin-top: -200px;
        margin-left: 610px;
    }
}



/* only for stage css */
/* temp: close the gap between running text and live casino container */
@media (min-width: 1023.5px) {
	.layout-content .layout-body .animated-bg {
		margin-top: -20px;
	}

}

.layout-content .layout-body .mobile-qr .download-qr-container .download-qr {
    width: 190px !important;
    height: 81px !important;
    border: 1px solid #ccc;
    padding: 10px 10px 0 10px;
    display: table;
    direction: rtl;
    border-radius: 2px;
}

.layout-content .layout-body .mobile-qr .download-qr-container .download-qr img {
    vertical-align: middle;
}

.layout-content .layout-body .mobile-qr .download-qr-container .download-qr .device-logo {
    margin: 0px 20px 0 0 !important;
}

/* afcb removal */

@media (min-width: 1023.5px) {
	.layout-footer .footer-middle .footer-middle-left .content-left .quote {
		margin-bottom: 0 !important;
	}

	.layout-footer .footer-middle .footer-middle-left .content-left .quote img {
		height: 46px !important;
		width: 80px !important;
		max-width: none !important;
	}

	.layout-footer .footer-middle .footer-middle-right .content-right .betting-partners .previous-sponsors-text {
		font-size: 9px;
		margin-bottom: 3px;
    }
    
    .winner:nth-of-type(2), .winner:nth-of-type(3) {align-self: flex-end;}
 
}

@media (max-width: 1023.5px) {
    .winner:nth-of-type(1), .winner:nth-of-type(2), .winner:nth-of-type(3) {
        order: unset !important;
        margin-bottom: 20px;
        margin-right: unset;

    }
}

.layout-footer .footer-middle .footer-middle-left {
	align-self: center;
}

@media (max-width: 320px) {
	.layout-footer .footer-middle .footer-middle-right .content-right .betting-partners .sponsor {
		max-width: 29px !important;
	} 
}

.layout-footer .footer-middle .footer-middle-left .content-left .quote img {
	height: auto;
	max-width: 50px;
	margin-bottom: 0 !important;
	width: 100%;
}

.layout-footer .footer-middle .footer-middle-right .content-right .betting-partners .sponsor {
	height: auto;
    max-width: 35px;
    width: 100%;
}

.layout-footer .footer-middle .footer-middle-right .content-right .betting-partners .previous-sponsors-text {
	font-size: 9px;
	text-transform: uppercase;
}

/* adding blackjack icon to live casino thumbnails counter */
.layout-content .layout-body .live-casino-content .content-wrapper .icon-5 {
    -webkit-mask: url(/~/static/images/live-casino/LiveCasino_18/icons/Blackjack.svg) no-repeat center;
    -webkit-mask-size: contain;
}

/* new LC design module */

.winner:nth-of-type(1) {order: 2;}

.winner:nth-of-type(2) {order: 1;}

.winner:nth-of-type(3) {order: 3; margin-right: unset;}

.winner:nth-of-type(1) table.lucky-winner {
    max-width: 424px;
    height: 168px ;
    margin: auto;
    width: 30rem;
}



.winner:nth-of-type(2) table.lucky-winner, .winner:nth-of-type(3) table.lucky-winner {
    max-width: 352px;
    height: 136px ;
    margin: auto;
    width: 25rem;
}

.club-name {
    background-color: #000000;
    height: 40px;
}

.club-name img {
    max-width: 150px;
}


.winner table.lucky-winner tbody td.winner-name.small {
    font-size: 16px !important;
    font-weight: unset;
}

.winner table.lucky-winner tbody td.winner-amount.small {
  font-size: 18px !important;
  font-weight: unset;

}

.winner table.lucky-winner tbody td.winner-name img {
    vertical-align: middle;
    margin-right: 5px;
}

@media screen and (max-width: 540px) {
    .ld-winners .winners-container {
        display: grid;
        justify-content: center;
    }
    .winner:nth-of-type(1) {
        grid-column: 1 / span 2;
    }
    .winner:nth-of-type(2) table.lucky-winner tr:first-child, .winner:nth-of-type(3) table.lucky-winner tr:first-child {
        height: 30px;
    }
    .winner:nth-of-type(2) table.lucky-winner, .winner:nth-of-type(3) table.lucky-winner {
        max-width: 171px;
        width: 171px;
    }
    .winner:nth-of-type(2) table.lucky-winner {
        margin-right: 15px;
    }
    .winner:nth-of-type(2) .trophy, .winner:nth-of-type(3) .trophy {
        transform: translate(-50%, -15%);
    }
	.winner {
		margin-right: unset;
	}

    .winner-name {
        font-size: 14px !important;
        font-weight: unset;
    }
  }

  .live-casino-info {
      display: flex !important;
  }

  /* qr code override style */

  .layout-content .layout-body .mobile-qr .download-qr-container {
      flex-wrap: wrap;
      flex-direction: column;
  }

  .layout-content .layout-body .mobile-qr .download-qr-container .note {
      font-size: 18px;
      font-weight: bold;
      margin: 48px 0 16px 0;
      margin-top: 2em;
      color: #fff;
      width: unset;
      font-family: 'OpenSansBold';
  }

 