/*
  Theme Name: Sofawin
  Description: HTML5 Blank WordPress Theme
  Version: 1.1.1
  Author: Saitip (@sama045)
  Tags: Blank, HTML5, CSS3, Flexbox
*/

@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 400;
  src: local('Prompt'), local('Prompt-Regular'), url(https://fonts.gstatic.com/s/prompt/v1/VcBIOGXxp08iW8zks9yUFPesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
  unicode-range: U+0E01-0E5B, U+200B-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 400;
  src: local('Prompt'), local('Prompt-Regular'), url(https://fonts.gstatic.com/s/prompt/v1/IxmUoSq3Eq8xdl9we0o_QPesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 400;
  src: local('Prompt'), local('Prompt-Regular'), url(https://fonts.gstatic.com/s/prompt/v1/O_NrGbgzuFKyAg9JXutx2_esZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 400;
  src: local('Prompt'), local('Prompt-Regular'), url(https://fonts.gstatic.com/s/prompt/v1/so624u2w562OaE2DHdX71g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* nav */
.nav { font-size: 1em; text-align: center; background: transparent; border-top: 2px #f0b53b solid; border-bottom: 2px #f0b53b solid; width: 96%; margin: 0 auto; }

.nav .menu-toggle { position: relative; z-index: 2; display: block; margin: 0; padding: 0.5em 0; background-color: transparent; text-decoration: none; text-align: center; font-size: 2em; }

.nav .menu-toggle-text { font-size: 0.55em; display: block; }

.no-js .nav .menu-toggle { display: none; }

.nav .expanded-menu-toggle { color: #952d00; }

.no-fontface .nav .icon-menu:before { display: none; }

/* .menu is visually hidden by default */
.top-nav { font-family: "Prompt"; position: relative; display: flex; justify-content: space-around; list-style: none; z-index: 1; border: 0; margin: -1px auto; overflow: hidden; padding: 0; max-height: 0; min-height: 0; -webkit-transition: all .5s ease-in-out; transition: all .5s ease-in-out; /* end .menu li */ }

.top-nav li { /* no sub menus for mobile */ }

.top-nav li a { display: block; background-color: transparent; font-size: 15px; text-decoration: none; text-align: left; text-transform: uppercase; color: #ffffff; -webkit-transition: all .3s ease-in-out; transition: all .3s ease-in-out; }

.top-nav li ul.sub-menu, .top-nav li ul.children { display: none; }

/* end .menu */
.no-js .top-nav, .expanded-mobile-menu { /*min/max heights allow me to css transition to height auto for WordPress menus with unknown number of items*/ clip: auto; min-height: 8em; max-height: 100em; padding: 0.5em 0; }

.expanded-mobile-menu { background: #d04212; top: 50px; left: 0; }

@media only screen and (min-width: 30.1em) { /*481 ish px*/
  .top-nav li { float: left; width: 50%; } }

@media only screen and (min-width: 700px) { .nav .menu-toggle, .nav .mobile-menu { display: none; }
  .top-nav, .no-js .top-nav, .expanded-mobile-menu { /* no longer hidden by default! */ margin: 0; min-height: 0; max-height: 999em; overflow: visible; padding: 2px 0; /* end .menu ul li */ }
  .top-nav li, .no-js .top-nav li, .expanded-mobile-menu li { float: none; width: auto; display: inline-block; position: relative; vertical-align: middle; /* DROP DOWNS */ /* showing sub-menus */ }
  .lt-ie8 .top-nav li, .lt-ie8 .no-js .top-nav li, .lt-ie8 .expanded-mobile-menu li { /* inline-block fix for old ie (relevant if they're served larger media queries in an IE stylesheet or something similar...*/ display: inline; zoom: 1; }
  .top-nav li a, .no-js .top-nav li a, .expanded-mobile-menu li a { padding: 0.5em 1em; }
  .top-nav li ul.sub-menu, .top-nav li ul.children, .no-js .top-nav li ul.sub-menu, .no-js .top-nav li ul.children, .expanded-mobile-menu li ul.sub-menu, .expanded-mobile-menu li ul.children { display: block; position: absolute; z-index: 2; top: 100%; left: 0; white-space: nowrap; text-align: left; /* visually hidden */ opacity: 0; border: 0; margin: -1px 0; overflow: hidden; padding: 0; max-height: 1px; min-height: 0; }
  .top-nav li ul.sub-menu li, .top-nav li ul.children li, .no-js .top-nav li ul.sub-menu li, .no-js .top-nav li ul.children li, .expanded-mobile-menu li ul.sub-menu li, .expanded-mobile-menu li ul.children li { display: block; padding: 0.2em 0.4em 0; /* could go deeper here... */ }
  .top-nav li ul.sub-menu li a, .top-nav li ul.children li a, .no-js .top-nav li ul.sub-menu li a, .no-js .top-nav li ul.children li a, .expanded-mobile-menu li ul.sub-menu li a, .expanded-mobile-menu li ul.children li a { font-size: 12px; padding: 0.8em 3em 0.8em 0.5em; display: block; line-height: 1.5; margin: 0; text-align: left; background: transparent; }
  .top-nav li ul.sub-menu li a:hover, .top-nav li ul.sub-menu li a:focus, .top-nav li ul.children li a:hover, .top-nav li ul.children li a:focus, .no-js .top-nav li ul.sub-menu li a:hover, .no-js .top-nav li ul.sub-menu li a:focus, .no-js .top-nav li ul.children li a:hover, .no-js .top-nav li ul.children li a:focus, .expanded-mobile-menu li ul.sub-menu li a:hover, .expanded-mobile-menu li ul.sub-menu li a:focus, .expanded-mobile-menu li ul.children li a:hover, .expanded-mobile-menu li ul.children li a:focus { color: #fff; background-color: #952d00; }
  .top-nav li ul.sub-menu li:last-child a, .top-nav li ul.children li:last-child a, .no-js .top-nav li ul.sub-menu li:last-child a, .no-js .top-nav li ul.children li:last-child a, .expanded-mobile-menu li ul.sub-menu li:last-child a, .expanded-mobile-menu li ul.children li:last-child a { border-bottom: 0; }
  .top-nav li:hover ul, .top-nav li.focused ul, .no-js .top-nav li:hover ul, .no-js .top-nav li.focused ul, .expanded-mobile-menu li:hover ul, .expanded-mobile-menu li.focused ul { min-height: 8em; max-height: 100em; padding: 0.4em 0; background: #073c06; opacity: 1; }
  .top-nav li:hover ul ul, .top-nav li.focused ul ul, .no-js .top-nav li:hover ul ul, .no-js .top-nav li.focused ul ul, .expanded-mobile-menu li:hover ul ul, .expanded-mobile-menu li.focused ul ul { min-height: 0; padding: 0; }
  .top-nav li:hover > a, .no-js .top-nav li:hover > a, .expanded-mobile-menu li:hover > a { color: yellow; background: #952d00; }
  /* end .menu */
  .top-nav li.current-menu-item a { color: yellow; } }

/* end media query*/
@media only screen and (max-width: 680px) { .top-menu { display: none; }
  .nav { padding: 0; border: 0 transparent; position: fixed; top: 0; left: 0; height: 50px; background: #d04212; width: 100%; z-index: 9991; }
  .nav .menu-toggle { display: block !important; position: absolute; top: 5px; right: 10px; background: transparent; padding: 5px; color: #ffffff; }
  .nav .top-nav { display: block; top: 50px; left: -500px; background: #d04212; }
  .nav .top-nav li { padding: 10px; }
  .nav .no-js .top-nav, .nav .expanded-mobile-menu { left: 0; }
  .menufixed { display: block; height: 50px; position: fixed; width: 100%; z-index: 9999; top: 0; left: 0; } 
.hamburger {
  position: absolute;
  width: 30px;
  height: 45px;
  top: 5px;
  right: 10px;
  z-index: 5;
}
.hamburger div {
  position: relative;
  width: 30px;
  height: 5px;
  border-radius: 3px;
  background-color: #fff;
  margin-top: 7px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#toggle {
  display: none;
}

#toggle:checked + .hamburger .top {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  margin-top: 22.5px;
}
#toggle:checked + .hamburger .meat {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  margin-top: -5px;
}
#toggle:checked + .hamburger .bottom {
  -webkit-transform: scale(0);
          transform: scale(0);
}
#toggle:checked + .hamburger + .top-nav {
  left: 0;
}	
}

@keyframes fade { from { opacity: 0; }
  to { opacity: 1; } }

@keyframes height { from { height: 100%; }
  to { height: 0; } }

@keyframes height-reverse { from { height: 0; }
  to { height: 100%; } }

@-webkit-keyframes checkbox-hack-bugfix { from { padding: 0; }
  to { padding: 0; } }

body { -webkit-animation: checkbox-hack-bugfix infinite 1s; }

input[type="checkbox"], input[type="radio"] { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; position: absolute; top: 0; left: 0; width: 0; height: 0; clip: rect(0, 0, 0, 0); visibility: hidden; opacity: 0; transform: matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); z-index: -1; }

input[type="checkbox"][id="test1"]:checked ~ .tabs .tab label[for="test1"], input[type="radio"][id="test1"]:checked ~ .tabs .tab label[for="test1"] { cursor: default; }

input[type="checkbox"][id="test1"]:checked ~ .tabs .tab label[for="test1"]::after, input[type="radio"][id="test1"]:checked ~ .tabs .tab label[for="test1"]::after { opacity: 1; }

input[type="checkbox"][id="test1"]:checked ~ .panels #panel1, input[type="radio"][id="test1"]:checked ~ .panels #panel1 { display: block; }

input[type="checkbox"][id="test2"]:checked ~ .tabs .tab label[for="test2"], input[type="radio"][id="test2"]:checked ~ .tabs .tab label[for="test2"] { cursor: default; }

input[type="checkbox"][id="test2"]:checked ~ .tabs .tab label[for="test2"]::after, input[type="radio"][id="test2"]:checked ~ .tabs .tab label[for="test2"]::after { opacity: 1; }

input[type="checkbox"][id="test2"]:checked ~ .panels #panel2, input[type="radio"][id="test2"]:checked ~ .panels #panel2 { display: block; }

input[type="checkbox"][id="test4"]:checked ~ .tabs .tab label[for="test4"], input[type="radio"][id="test4"]:checked ~ .tabs .tab label[for="test4"] { cursor: default; }

input[type="checkbox"][id="test4"]:checked ~ .tabs .tab label[for="test4"]::after, input[type="radio"][id="test4"]:checked ~ .tabs .tab label[for="test4"]::after { opacity: 1; }

input[type="checkbox"][id="test4"]:checked ~ .panels #panel4, input[type="radio"][id="test4"]:checked ~ .panels #panel4 { display: block; }

.tab-panels { width: 100%; }

.tab-panels .tabs { display: flex; list-style: none; }

.tab-panels .tabs .tab { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; flex-basis: auto; /* We need to define flex-grow here aside from flex for IE10 because it defaults to something else. */ flex-grow: 1; position: relative; width: 60%; margin-top: 0; margin-right: 0; text-align: center; color: #fff; background-color: transparent; cursor: pointer; transition: background-color 0.3s,  color 0.3s ease; }

.tab-panels .tabs .tab label { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; display: block; height: 100%; padding: 0 0.75rem; border: none; cursor: pointer; }

.tab-panels .tabs .tab label .content .icon { margin-bottom: 1rem; font-size: 1.375rem; text-align: center; }

.tab-panels .tabs .tab label .content .text { margin-bottom: 1.4rem; font-family: "Prompt"; font-size: 1.1rem; color: #fff; }

.tab-panels .tabs .tab label::after { content: ""; position: absolute; bottom: -0.188rem; left: 0; display: block; width: 100%; height: 3px; opacity: 0; background-color: #f0b53b; transition: opacity 0.3s ease-in-out; }

.tab-panels .tabs .tab:hover { color: #f0b53b; }

.tab-panels .separator { width: 100%; height: 1px; margin-bottom: 2.5rem; background-color: #363e4e; }

.tab-panels .panels { border: none; margin-bottom: 1.2rem; line-height: 1.4rem; }

.tab-panels .panels .tab-panel { display: none; border: none; }

.tab-panels .panels .tab-panel .content { font-size: 14px; }

#modal1:checked ~ .modal-component .modal { visibility: visible; }

#modal1:checked ~ .modal-component .modal .modal-overlay { opacity: 1; }

#modal1:checked ~ .modal-component .modal .modal-inner { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }

#modal1:checked ~ .modal-component .modal .modal-inner .modal-body-content { height: 100%; overflow: auto; }

.modal-component { display: block; min-height: inherit; width: 100%; font-family: 'Ubuntu', 'Myriad Pro', sans-serif; overflow: hidden; }

.modal-component .open-modal-button { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; position: absolute; top: 1rem; left: 1rem; margin: auto; padding: 1rem; border: 1px solid black; color: black; background-color: white; transition: background-color 0.3s, color 0.3s ease-in-out; cursor: pointer; outline: 0; }

.modal-component .open-modal-button:hover, .modal-component .open-modal-button:focus, .modal-component .open-modal-button:active { color: white; background-color: black; }

.modal-component .modal { display: flex; justify-content: center; align-items: center; position: absolute; top: 0; left: 0; width: 100%; height: inherit; min-height: 100vh; visibility: hidden; z-index: 1000; }

.modal-component .modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.82); opacity: 0; transition: all ease 0.5s; z-index: -1; }

.modal-component .modal-container { max-width: inherit; width: 100%; padding: 2rem; overflow-x: hidden; overflow-y: auto; z-index: 1001; }

.modal-component .modal-dialog { display: flex; justify-content: center; align-items: center; padding: 1.5rem; }

.modal-component .modal-inner { min-width: 100px; margin: auto; padding: 3.125rem 6.25rem; border-radius: 2px; color: #e5f0f6; transform: translate3d(0, 0, 0) scale(0.8); transition: all cubic-bezier(0.83, -0.35, 0.15, 1.48) 0.5s; background-color: #1d2128; }

.modal-component .modal-inner .close-modal-button { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; display: flex; align-items: center; justify-content: center; position: absolute; top: -1.875rem; right: -1.875rem; width: 20px; height: 20px; font-size: 1.875rem; color: #323b48; padding: 1.25rem; border-radius: 50%; text-align: center; background-color: #171b21; transition: background-color 0.3s ease-in-out; cursor: pointer; overflow: hidden; z-index: 1001; }

.modal-component .modal-inner .close-modal-button:hover, .modal-component .modal-inner .close-modal-button:focus, .modal-component .modal-inner .close-modal-button:active { background-color: #212730; }

.modal-component .modal-inner .modal-header { text-transform: uppercase; }

.modal-component .modal-inner .modal-header-content .modal-title { color: #f9bc3d; }

.modal-component .modal-inner .modal-body-content { height: 0; text-align: justify; transition: height 0.3s ease-in-out; overflow: hidden; }

.modal-component .modal-inner .modal-footer-content { color: red; }

#panel1 article.column:nth-of-type(1) { flex: 1 1 64%; }

@media only screen and (max-width: 600px) { .tab-panels .tabs .tab label { padding: 0 0.2rem; }
  .tab-panels .tabs .tab label .content .text { font-size: 0.6rem; margin-top: 1.4rem; }
  .tab-panels .tabs .tab label::after { bottom: 20px; z-index: 9; } }

/*------- STRUCTURE -------*/
html { font-size: 90%; }

body { font-family: Arial, sans-serif; }

* { padding: 0; margin: 0; position: relative; box-sizing: border-box; }

/* wrapper */
.wrapper { display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-flex-flow: row wrap; flex-flow: row wrap; box-shadow: 1px 0 10px rgba(0, 0, 0, 0.64); }

.container { margin: 0 auto; max-width: 1024px; }

/* header */
.header { flex-basis: 100%; }

/* logo */
.logo { display: flex; flex-flow: row wrap; }

main { flex-basis: 100%; padding: 20px; }

.main { flex-basis: 74%; order: 2; }

main li,.main li {line-height: 2em}
.sidebar { margin: 0; flex-basis: 25%; order: 1; }

/* footer */
img { max-width: 100%; height: auto; vertical-align: middle; }

.flex { display: flex; flex-flow: row wrap; justify-content: space-between; }

.column { flex: 1 1 0; margin: 10px; }

p { flex-basis: 100%; margin: 5px 0; line-height: 2em;}

ul, ol { list-style-position: inside; }

/* Slider */
.slick-slider { position: relative; display: block; box-sizing: border-box; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; -khtml-user-select: none; -ms-touch-action: pan-y; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }

.slick-list { position: relative; display: block; overflow: hidden; margin: 0; padding: 0; }

.slick-list:focus { outline: none; }

.slick-list.dragging { cursor: pointer; cursor: hand; }

.slick-slider .slick-track, .slick-slider .slick-list { -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); -o-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }

.slick-track { position: relative; top: 0; left: 0; display: block; }

.slick-track:before, .slick-track:after { display: table; content: ''; }

.slick-track:after { clear: both; }

.slick-loading .slick-track { visibility: hidden; }

.slick-slide { display: none; float: left; height: 100%; min-height: 1px; }

[dir='rtl'] .slick-slide { float: right; }

.slick-slide img { display: block; }

.slick-slide.slick-loading img { display: none; }

.slick-slide.dragging img { pointer-events: none; }

.slick-initialized .slick-slide { display: block; }

.slick-loading .slick-slide { visibility: hidden; }

.slick-vertical .slick-slide { display: block; height: auto; border: 1px solid transparent; }

.slick-arrow.slick-hidden { display: none; }

body { padding: 0; margin: 0; color: #fff; background: #ffffff; }

h1, h2, h3, h4 { font-family: "Prompt"; font-weight: 400; font-size: 1.5em; line-height: 1.8em; flex-basis: 100%; clear: both; }

a { color: #fff; text-decoration: none; }

a:hover { color: #feb645; }

.header { background: #cc3f00 url(images/bg-head-01.jpg) no-repeat top center; font-family: "Prompt"; }

.header .slide-img { flex-basis: 57%; margin-top: -140px; z-index: 2; padding: 20px; overflow: hidden; }

.header .slide-img img { border-radius: 5px; }

.header div:nth-of-type(4) { flex-basis: 42%; margin-top: -140px; padding: 20px; }

.header div:nth-of-type(4) div { background: #000; padding: 7px 15px; border-radius: 10px; font-weight: 100; font-size: smaller; }

.header div:nth-of-type(4) div p:nth-of-type(1) { text-align: center; font-size: 2em; }

.header div:nth-of-type(4) div p:nth-of-type(1) span::after { content: ""; display: block; background: url(images/star.svg) no-repeat; width: 15px; height: 15px; position: absolute; top: 11px; right: -20px; }

.header div:nth-of-type(4) div p:nth-of-type(1) span::before { content: ""; display: block; background: url(images/star.svg) no-repeat; width: 15px; height: 15px; position: absolute; top: 11px; left: -20px; }

.header div:nth-of-type(4) div p:nth-of-type(2) { text-indent: 5%; }

.header div:nth-of-type(4) div div { width: 118px; height: 118px; background-image: -o-linear-gradient(0deg, #9c0700, #f70); background-image: -moz-linear-gradient(0deg, #9c0700, #f70); background-image: -webkit-linear-gradient(0deg, #9c0700, #f70); background-image: linear-gradient(0deg, #9c0700, #f70); -moz-border-radius: 67px; -webkit-border-radius: 67px; border-radius: 67px; position: absolute; top: -15px; right: -70px; font-size: 1.1em; text-align: center; text-indent: 0; padding: 25px 15px; box-shadow: 2px 1px 10px rgba(0, 0, 0, 0.48); text-transform: uppercase; }

.logo { height: 290px; flex-basis: 70%; z-index: 2; }

.logo a { margin: 70px 0 0 25px; }

.callcenter { margin: 30px 20px 0 0; text-align: right; text-transform: uppercase; }

.callcenter p:nth-of-type(1) { color: #ffcc22; font-size: 1.15em; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.48); }

.callcenter p:nth-of-type(3) { letter-spacing: 1px; }

.banner { background: #000000; background-image: -o-linear-gradient(45deg, #000000, #fefefe); background-image: -moz-linear-gradient(45deg, #000000, #fefefe); background-image: -webkit-linear-gradient(45deg, #000000, #fefefe); background-image: linear-gradient(45deg, #000000, #fefefe); padding: 5px; border-radius: 10px; }

.slick-slider { flex-basis: 100%; height: auto; overflow: hidden; }

main { background: #cc3f00; min-height: 500px; }

main .entry-title { padding-left: 20px; margin-bottom: 20px; border-top: 2px #f0b53b solid; border-bottom: 2px #f0b53b solid; }

main .entry-title:before { content: ""; display: block; background: url(images/star.svg) no-repeat; width: 15px; height: 15px; position: absolute; top: 11px; left: 0; }

.iconflagTH { background: url(images/th.png) no-repeat; width: 19px; height: 19px; text-indent: -9999em; display: inline-block; margin: 5px; }

.iconflagEN { background: url(images/en.png) no-repeat; width: 19px; height: 19px; text-indent: -9999em; display: inline-block; margin: 5px; }

.line-icon { border-radius: 50%; }

.top-nav li a:before { content: ""; display: block; background: url(images/star.svg) no-repeat; width: 15px; height: 15px; position: absolute; top: 11px; left: -5px; }

.column { flex: 1 1 0; margin: 10px 0; }

#nav_menu-2 { background: #000 url(images/sidebar-casino.png) no-repeat; margin: 10px 0; padding: 5px 10px; min-height: 422px; border-radius: 8px; }

#nav_menu-2 ul { padding-top: 86px; display: flex; list-style: none; flex-flow: row wrap; }

#nav_menu-2 ul li { width: 44%; margin: 5px; }

#nav_menu-2 h3 { padding-left: 75px; padding-top: 14px; }

#nav_menu-2 h3:before { content: ""; display: block; background: url(images/icon-casino.jpg) no-repeat; width: 65px; height: 57px; position: absolute; top: 0; left: 0; }

#nav_menu-3 { background: #000 url(images/sidebar-sport.png) no-repeat; margin: 10px 0; padding: 5px 10px; min-height: 422px; border-radius: 8px; font-family: "Prompt"; }

#nav_menu-3 ul { display: flex; list-style: none; flex-flow: row wrap; }

#nav_menu-3 ul li { margin: 5px auto; }

#nav_menu-3 h3 { padding-left: 75px; padding-top: 14px; }

#nav_menu-3 h3:before { content: ""; display: block; background: url("images/icon-sport.jpg") no-repeat; width: 65px; height: 57px; position: absolute; top: 0; left: 0; }

#nav_menu-3 p { text-align: center; padding: 10px; }

#bzscoreframe { height: 1100px !important; }

footer { background: #cc3f00 url(images/bg-footer.jpg) no-repeat center bottom; font-family: "Prompt"; width: 100%; }

footer .call-service { text-align: center; border-top: 2px #f0b53b solid; border-bottom: 2px #f0b53b solid; width: 96%; margin: 0 auto; padding: 5px; }

footer .call-service p { flex-basis: 50%; font-size: larger; margin: 0; }

footer article { display: flex; flex-flow: row wrap; justify-content: space-around; }

footer article div { margin: 10px 0; }

footer h4 { font-size: 1em; color: yellow; }

footer p:last-of-type { text-align: center; }

footer li { list-style: none; margin: 10px 0; }

/* .home */
.home section:first-of-type { margin: 10px 0; background: #000 url(images/bg-welcome.jpg) no-repeat bottom right; padding: 10px; display: flex; flex-flow: row wrap; justify-content: space-between; border-radius: 8px; }

.home section:first-of-type p:first-of-type { flex-basis: 68%; text-indent: 5%; }

.home section:first-of-type p:last-of-type { flex-basis: 30%; border-radius: 8px; padding: 10px; background-image: -o-linear-gradient(0deg, #9c0700, #f70); background-image: -moz-linear-gradient(0deg, #9c0700, #f70); background-image: -webkit-linear-gradient(0deg, #9c0700, #f70); background-image: linear-gradient(0deg, #9c0700, #f70); box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.5); }

.home section:first-of-type p:last-of-type span { font-family: "Prompt"; font-size: 26px; }

.home .partner { min-height: 220px; }

.home .partner div:first-of-type { background: url(images/promot.png) no-repeat top right; background-size: 100%; width: 100%; height: 152px; min-height: 133px; display: flex; }

.home .partner div:first-of-type a { margin-right: 8px; margin-left: auto; }

.home .partner div:last-of-type { background: url(images/pastner.png) no-repeat top right; background-size: 100%; width: 100%; height: 152px; min-height: 133px; display: flex; }

.home .partner div:last-of-type a { margin-left: 26px; margin-right: auto; }

.home .partner a { align-self: flex-end; margin-bottom: 25px; color: yellow; }

.home section:nth-of-type(3) { background: url(images/bg-casino.png) no-repeat; margin: 0 -40px; padding: 34px 60px 70px; }

.home section:nth-of-type(3) ul { list-style: none; }

.home section:nth-of-type(3) h3 { padding-left: 77px; }

.home section:nth-of-type(3) h3:before { content: ""; display: block; background: url(images/icon-casino.jpg) no-repeat; width: 65px; height: 57px; position: absolute; top: 0; left: 0; }

.home section:nth-of-type(4) { background: url(images/bg-games.png) no-repeat; margin: 0 -109px 0 0; padding: 47px 140px 110px 30px; }

.home section:nth-of-type(4) ul { list-style: none; }

.home section:nth-of-type(4) h3 { padding-left: 107px; }

.home section:nth-of-type(4) h3:before { content: ""; display: block; background: url(images/icon-games.jpg) no-repeat; width: 100px; height: 57px; position: absolute; top: 0; left: 0; }

.home section:nth-of-type(5) { background: url(images/bg-sport.png) no-repeat; padding: 32px 20px 80px; }

.home section:nth-of-type(5) ul { list-style: none; }

.home section:nth-of-type(5) ul li:last-of-type { margin-left: auto; }

.home section:nth-of-type(5) h3 { padding-left: 85px; }

.home section:nth-of-type(5) h3:before { content: ""; display: block; background: url(images/icon-sport.jpg) no-repeat; width: 100px; height: 57px; position: absolute; top: 0; left: 0; }

.home section:nth-of-type(3) h3, .home section:nth-of-type(4) h3, .home section:nth-of-type(5) h3 { font-size: 2em; margin-bottom: 20px; }

.home section:nth-of-type(6) article { background: #000; flex-basis: 49%; padding: 10px; border-radius: 8px; margin-bottom: 10px; }

.home section:nth-of-type(7) { background: #000 url(images/bg-play.png) no-repeat bottom left; border-radius: 8px; padding: 10px; }

.home section:nth-of-type(7) p { text-indent: 4%; }

.view-article { display: inline-block; background: #222222; padding: 8px 10px; border-radius: 8px; font-family: "Prompt"; margin: 10px; color: #fff; margin-left: auto; }

.post-edit-link { flex-basis: 100%; }

/*------------------------------------*    WORDPRESS CORE
\*------------------------------------*/
.aligncenter, div.aligncenter { display: block; margin: 5px auto 5px auto; }

.alignright { float: right; margin: 5px 0 20px 20px; }

.alignleft { float: left; margin: 5px 20px 20px 0; }

a img.alignright { float: right; margin: 5px 0 20px 20px; }

a img.alignleft { float: left; margin: 5px 20px 20px 0; }

a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }

table { font-family: "Prompt"; }

table td { padding: 10px; }

@media only screen and (min-width: 960px) { /* styles for browsers larger than 960px; */
  .home section:first-of-type p:first-of-type { padding-bottom: 25px; }
  .home section:first-of-type p:last-of-type { padding: 10px 10px 40px; top: 20px; right: -47px; position: absolute; width: 35%; }
  .home .partner { top: -10px; min-height: 220px; }
  .home .partner div:first-of-type { background: url(images/promot.png) no-repeat top right; left: -80px; position: absolute; width: 565px; height: 256px; display: flex; }
  .home .partner div:first-of-type a { margin-right: 26px; margin-left: auto; }
  .home .partner div:last-of-type { background: url(images/pastner.png) no-repeat top right; top: -8px; right: -74px; position: absolute; width: 565px; height: 256px; display: flex; }
  .home .partner div:last-of-type a { margin-left: 26px; margin-right: auto; }
  .home .partner a { align-self: flex-end; margin-bottom: 40px; color: yellow; } }

@media only screen and (min-width: 1440px) { /* styles for browsers larger than 1440px; */
  .logo { background: url(images/bg-head.png) no-repeat top right; } }

@media only screen and (max-width: 600px) { /* styles for mobile browsers smaller than 480px; (iPhone) */
  html { font-size: 62.5%; }
  body { font: 300 11px/1.5 Arial, sans-serif; }
  main > * { flex: 1 100%; }
  main { padding: 0 10px; }
  .main { order: 1; flex-basis: 100%; }
  .sidebar { order: 2; flex-basis: 100%; }
  .header .slide-img { margin: 0; padding: 10px; flex-basis: 100%; }
  .header div:nth-of-type(4) { margin: 0; flex-basis: 100%; padding: 10px; }
  .header div:nth-of-type(4) div { height: auto; display: flex; flex-flow: row wrap; }
  .header div:nth-of-type(4) div p:nth-of-type(1) { font-size: 2.8em; }
  .header div:nth-of-type(4) div div { position: static; order: 3; width: 100%; border-radius: 0; height: auto; font-size: 2em; padding: 10px; border-radius: 8px; margin: 10px; }
  .header div:nth-of-type(4) div div a { background-position: left center; width: 100%; text-indent: 24px; font-size: 14px; text-align: left; }
  .logo { position: fixed; top: 0; flex-basis: 100%; height: 40px; z-index: 9999; }
  .logo a { margin: 10px auto 0 10px; width: 45%; }
  .callcenter { flex-basis: 100%; text-align: center; margin: 55px 0 0; line-height: 1em; font-size: small; }
  .home section:first-of-type { background-color: #000; background-position: right bottom; }
  .home section:first-of-type p:first-of-type { flex-basis: 100%; padding-bottom: 50px; }
  .home section:first-of-type p:last-of-type { padding: 10px 10px 40px; position: static; flex-basis: 100%; }
  .home section:nth-of-type(3), .home section:nth-of-type(4), .home section:nth-of-type(5) { margin: 10px 0; padding: 10px; background: #000; border-radius: 8px; }
  .home section:nth-of-type(3) li, .home section:nth-of-type(4) li, .home section:nth-of-type(5) li { flex-basis: 46%; margin: 5px; }
  .home section:nth-of-type(3) h3, .home section:nth-of-type(4) h3, .home section:nth-of-type(5) h3 { display: block; }
  .home section:nth-of-type(5) ul li:last-of-type { flex-basis: 100%; }
  .home section:nth-of-type(6) article { flex-basis: 100%; }
  .home .partner div:first-of-type, .home .partner div:last-of-type { height: 135px; }
  .top-nav li a { padding-left: 24px; }
  .top-nav li a:before { top: 3px; left: 0; }
  footer article div { margin: 10px; flex-basis: 40%; } }

/* different techniques for iPad screening */
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation: portrait) { /* For portrait layouts only */
  .header .slide-img { margin: 0; padding: 10px; flex-basis: 100%; }
  .header div:nth-of-type(4) { margin: 0; flex-basis: 100%; padding: 10px; }
  .header div:nth-of-type(4) div { height: auto; display: flex; flex-flow: row wrap; }
  .header div:nth-of-type(4) div p:nth-of-type(1) { font-size: 2.8em; }
  .header div:nth-of-type(4) div div { position: absolute; order: 3; right: 10px; top: 10px; z-index: 20; justify-content: center; }
  .home .partner a { margin-bottom: 0; bottom: 5px; } }

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation: landscape) { /* For landscape layouts only */
  .header .slide-img { margin: 0; padding: 10px; flex-basis: 50%; }
  .header div:nth-of-type(4) { margin: 0; flex-basis: 50%; padding: 10px; }
  .header div:nth-of-type(4) div { height: 267px; display: flex; flex-flow: row wrap; padding: 10px; }
  .header div:nth-of-type(4) div p:nth-of-type(1) { font-size: 1.5em; }
  .header div:nth-of-type(4) div div { position: absolute; order: 3; right: 0; top: -10px; z-index: 20; justify-content: center; }
  .home section:first-of-type { background-color: #000; background-position: right bottom; }
  .home section:first-of-type p:first-of-type { flex-basis: 70%; padding-bottom: 0; }
  .home section:first-of-type p:last-of-type { padding: 10px 10px 40px; width: 26%; right: 10px; top: 10px; }
  .home .partner { top: 0; }
  .home .partner div:first-of-type { background: url(images/promot.png) no-repeat top right; background-size: 100%; width: 48%; height: 217px; display: flex; left: 0; }
  .home .partner div:first-of-type a { margin-right: 8px; margin-left: auto; }
  .home .partner div:last-of-type { background: url(images/pastner.png) no-repeat top right; background-size: 100%; width: 50%; height: 217px; display: flex; right: 0; }
  .home .partner div:last-of-type a { margin-left: 26px; margin-right: auto; }
  .home .partner a { bottom: 5px; margin-bottom: 0; } }

@media only screen and (device-width: 768px) { /* default iPad screens */
  .logo { background: transparent; flex-basis: 50%; height: auto; }
  .logo a { margin: 50px 0 0 25px; }
  .home .partner { top: 0; }
  .home .partner div:first-of-type { height: 322px; }
  .home .partner div:last-of-type { height: 322px; }
  .home .partner a { margin-bottom: 50px; }
  .home section:nth-of-type(3), .home section:nth-of-type(4), .home section:nth-of-type(5) { background: #000; margin: 10px 0; padding: 20px 10px; border-radius: 8px; }
  .home section:nth-of-type(3) li, .home section:nth-of-type(4) li, .home section:nth-of-type(5) li { flex-basis: 30%; margin: 10px; }
  .home section:nth-of-type(5) ul li:last-of-type { flex-basis: 100%; text-align: center; }
  .top-nav li a, .no-js .top-nav li a, .expanded-mobile-menu li a { padding: 0.5em; }
  .top-nav li a:before { left: -11px; } }

.chat {
    border-radius: 34px 8px 34px 34px;
    box-shadow: 0 5px 4px 0 rgba(0,0,0,.26);
    color: #fff;
    cursor: pointer;
    display: table;
    position: fixed;
    z-index: 9995;
    height: 60px;
    width: 60px;
    background-color: #f7bc00;
    border-color: transparent #f7bc00 transparent transparent;
    bottom: 40px;
    right: 15px;
    border: 0;
    transition: bottom 400ms ease, -webkit-transform 400ms ease;
}

.chat img {
    width: 25px;
}
.chat-wrapper {
   position: fixed;
   bottom: 0;
   right: -100%; 
   height: 520px;
   width: 450px;
   display: block;
   overflow: hidden;
   transition: right 1s ease, -webkit-transform 1s ease;
   z-index: 999;
}
.chat-wrapper iframe {
    position: absolute;
    bottom: -1px;
    right: -1px;
    height: 600px;
    border: 0;
    width: 450px;
}
.is-open {
    right: 0;
}
.chat.active {
    bottom: -100%;
}

@media (max-width:767px) {
    .chat-wrapper {
        width: 100%;
        height: 600px;
        bottom: 10px;
    }
    .chat-wrapper iframe {
        width: 90%;
        height: 450px;
        margin: auto;
        display: block;
        left: 0;
    }
}