{% extends 'frontend/default/base.html.twig' %}{% block css %}<!-- custom css here --><style>.bgbox{height: 100%;}.gamerule {width: 40%;}.btn-group-middle {position: absolute;transform: translate(-50%, 0%);width: 13%;}.rule-container {width: 90%;overflow-y: scroll;margin: 0 auto;height: 86%;font-size: 11px;text-align: left;-webkit-overflow-scrolling: touch;-webkit-overflow-scrolling: auto;height: 76%;margin-top: 2vw;padding-left: 15px;padding-right: 15px;-ms-overflow-style: none;scrollbar-width: none;word-break: break-all;}.rule-container::-webkit-scrollbar {display: none;}.frame-bg {position: relative;height: 68%;background-repeat: no-repeat;background-position: 50% 50%;background-size: 100% 100%;max-width: 600px;overflow-x: hidden;overflow-y: hidden;margin: 50% auto 0 auto;width: 90%;}.rule-container p, li {color: #FFFFFF;list-style-type: decimal;margin-bottom: 0.5rem;}.arrow-container {display: flex;justify-content: center;align-items: center;width: 100%;padding-bottom: unset;position: absolute;bottom: 7vw;}.rule-container a:link, .rule-container a:visited {/*color: white;*/color: #FFFFFF;}.header p{color: white;font-size: 4vw;text-align: center;margin: 0;padding-bottom: 0;}@media only screen and (width: 540px) and (height: 720px) {}@media only screen and (width: 280px) and (height: 653px) {}@media only screen and (min-width: 600px) {.rule-container {font-size: 18px;}}</style>{% endblock %}{% block javascript %}<!-- custom javascript here -->{% endblock %}{% block body %}<script>function gtag_action_ruleread() {gtag('event', 'Rules Read', {'event_category': '{{ custom_data }}','event_label': 'Rules'});}$(function () {let elem = $('#scroll-container');if (Math.ceil(elem.innerHeight()) <= elem.prop('scrollHeight')) {elem.bind('scroll', function () {if (Math.ceil((elem.scrollTop() + elem.innerHeight())) >= elem.prop('scrollHeight')) {$('.arrow-container').css({opacity: 0.0});}else {$('.arrow-container').css({opacity: 1});}});}else {$('.arrow-container').css({opacity: 0.0});}});let jwt = localStorage.getItem('{{ localStorage_name }}');$(document).ready(function () {$("#back").click(function() {let form = jQuery('<form action="{{ app.request.headers.get('referer') }}" method="post" style="display:none;">' +'</form>');jQuery('body').append(form);form.submit();});gtag_action_ruleread();});</script><div class="container-fluid bgbox" id="bg"style="background-image:url('{{ asset('images/tnc_bg.png') }}');background-position:0px 0px;"><div id="back" style="top:10%;right:5%;left:auto"><img class="gamerule" src="{{ asset('frontend/'~language~'/share/back.png') }}" alt="back" /></div><div class="frame-bg"style="background-image: url({{ asset('images/tnc_column.png') }});"><div class="header"><p class="title">{{ 'Rule.title' | trans }}</p><p>{{ 'Rule.subtitle' | trans | raw }}</p></div><div class="rule-container animated fadeIn" id="scroll-container">{{ tandc | raw }}</div><div class="arrow-container"><div class="chevron"></div><div class="chevron"></div><div class="chevron"></div></div></div></div>{% endblock %}