@font-face {
    font-family: 'ThaiSansNeueRegular';
    src: url('../fonts/ThaiSansNeus/ThaiSansNeueRegular.eot');
    src: url('../fonts/ThaiSansNeus/ThaiSansNeueRegular.eot') format('embedded-opentype'),
        url('../fonts/ThaiSansNeus/ThaiSansNeueRegular.woff2') format('woff2'),
        url('../fonts/ThaiSansNeus/ThaiSansNeueRegular.woff') format('woff'),
        url('../fonts/ThaiSansNeus/ThaiSansNeueRegular.ttf') format('truetype'),
        url('../fonts/ThaiSansNeus/ThaiSansNeueRegular.svg#ThaiSansNeueRegular') format('svg');
}

@font-face {
    font-family: 'ThaiSansNeueBold';
    src: url('../fonts/ThaiSansNeus/ThaiSansNeueBold.eot');
    src: url('../fonts/ThaiSansNeus/ThaiSansNeueBold.eot') format('embedded-opentype'),
        url('../fonts/ThaiSansNeus/ThaiSansNeueBold.woff2') format('woff2'),
        url('../fonts/ThaiSansNeus/ThaiSansNeueBold.woff') format('woff'),
        url('../fonts/ThaiSansNeus/ThaiSansNeueBold.ttf') format('truetype'),
        url('../fonts/ThaiSansNeus/ThaiSansNeueBold.svg#ThaiSansNeueBold') format('svg');
}

@font-face{
    font-family:"FontAwesome";
    src:url('../fonts/fontawesome-webfont.eot');
    src:url('../fonts/fontawesome-webfont.eot?#iefix')format('eot'),url('../fonts/fontawesome-webfont.woff')format('woff'),url('../fonts/fontawesome-webfont.ttf')format('truetype'),url('../fonts/fontawesome-webfont.svg#FontAwesome')format('svg');
    font-weight:400;
    font-style:normal
}

html {
    font-size: 62.5%;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    background-color: #000;
    color: #fff;
}

body {
    margin: 0;
    /*font-family: Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;*/
    font-size: 18px;
    /*    line-height: 1.428571429;*/
    font-family: "ThaiSansNeueRegular";
    line-height: 1;

}

article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary {
    display: block;
}

audio,canvas,progress,video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],template {
    display: none;
}

a {
    background: transparent;
    color: #ddd;
    text-decoration: none;
}

a:hover {
    color: #ebc361;
    text-decoration: none;
}
a:focus{
    text-decoration: none;
}
a:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

a:active,a:hover {
    outline: 0;

}

abbr[title] {
    border-bottom: 1px dotted;
}

b,strong {
    font-weight: 700;
    font-family: "ThaiSansNeueBold";
}

dfn {
    font-style: italic;
}

h1 {
    font-size: 2em;
    margin: .67em 0;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -.5em;
}

sub {
    bottom: -.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code,kbd,pre,samp {
    font-family: monospace,monospace;
    font-size: 1em;
}

button,input,optgroup,select,textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,select {
    text-transform: none;
}

button,html input[type=button],input[type=reset],input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type=checkbox],input[type=radio] {
    box-sizing: border-box;
    padding: 0;
}

input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button {
    height: auto;
}

input[type=search] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: 700;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,th {
    padding: 0;
}

:before,:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

input,button,select,textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

figure {
    margin: 0;
}

img {
    vertical-align: middle;
}

.img-responsive,.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img {
    display: block;
    max-width: 100%;
    height: auto;
}

.img-rounded {
    border-radius: 6px;
}

.img-thumbnail {
    padding: 4px;
    line-height: 1.428571429;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.img-circle {
    border-radius: 50%;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #555;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
}

h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small {
    font-weight: 400;
    line-height: 1;
    color: #999;
}

h1,.h1,h2,.h2,h3,.h3 {
    margin-top: 10px;
    margin-bottom: 10px;
}

h1 small,.h1 small,h2 small,.h2 small,h3 small,.h3 small,h1 .small,.h1 .small,h2 .small,.h2 .small,h3 .small,.h3 .small {
    font-size: 65%;
}

h4,.h4,h5,.h5,h6,.h6 {
    margin-top: 10px;
    margin-bottom: 10px;
}

h4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,h4 .small,.h4 .small,h5 .small,.h5 .small,h6 .small,.h6 .small {
    font-size: 75%;
}

h1,.h1 {
    font-size: 36px;
}

h2,.h2 {
    font-size: 30px;
}

h3,.h3 {
    font-size: 24px;
}

h4,.h4 {
    font-size: 18px;
}

h5,.h5 {
    font-size: 14px;
}

h6,.h6 {
    font-size: 12px;
}

p {
    margin: 0 0 10px;
    color: #ccc;
}

.lead {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 200;
    line-height: 1.4;
}

small,.small {
    font-size: 85%;
}

cite {
    font-style: normal;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}
/*.container{
    margin: 0 auto;
    width: 1200px;
}*/
.site-header {
    position: absolute;
    width: 100%;
    z-index: 1;
}
ul{
    padding: 0px;
    margin: 0px;
}
li{
    list-style-type: none;
}

.navbar-brand{
    background: url(../img/logo.png) no-repeat;
    height: 40px;
    display: inline-block;
    width: 7.5em;
    margin-top: 5px;
    margin-left: 0.2em;
}

input[type="text"] {
    width: 220px;
    height: 25px;
    padding: 6px 12px;
    font-size: 14px;
    background-color: #111;
    border: 1px solid #3e3d3d;
    text-align: left;
    font-family: sans-serif;
    font-size: 14px;
    outline: none;
}

input[type="text"]:focus::-webkit-input-placeholder {
    color: transparent;
}

input[type="text"]:focus{
    border-color: #EBC357;
    box-shadow: 0 0 5px #EBC357;
    border-radius: 2px;
}

input[type="password"] {
    width: 220px;
    height: 25px;
    padding: 6px 12px;
    font-size: 14px;
    background-color: #111;
    border: 1px solid #3e3d3d;
    text-align: left;
    font-family: sans-serif;
    font-size: 14px;
    outline: none;
}

input[type="password"]:focus::-webkit-input-placeholder {
    color: transparent;

}
input[type="password"]:focus{
    border-color: #EBC357;
    box-shadow: 0 0 5px #EBC357;
    border-radius: 2px;
}

button[type="button"] {
    height: 32px;
    color: #000;
    cursor: pointer;
    font-family: sans-serif;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
    border: 1px solid #3d3d3d;
    background-color: #ebc361;
    font-size: 14px;
    padding: 5px 10px;
    outline: none;
}

button[type="button"]:hover{
    border-color: #ebc361;
    box-shadow: 0 0 10px #ebc361;
    border-radius: 2px;
}

button[type="button"]:focus{
    border-color: #3d3d3d;
    box-shadow: 0 0 10px #3d3d3d;
}

.navbar ul li{
    font-size: 18px;
    border-bottom: 4px solid #262626;
    webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}
.navbar ul li:hover, .activeli{

    border-bottom: 4px solid #888 !important;
}

.activeli a{
    color: #ebc361;
}
.active-about a{
    color: #ebc361;
}
.navbar ul li a{
    display: block;
    padding: 0px 30px 10px 30px;
    font-size: 24px;
}
.slide{
    /*background-color: darkgoldenrod;*/
}

.jackpot{
    width: 400px; 
    height: 220px; 
    float: left;
}
.jackpot-info{
    background-color: #242424; 
    height: 125px;
    -webkit-box-shadow: 0px 15px 10px -5px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 15px 10px -5px rgba(0,0,0,0.75);
    box-shadow: 0px 15px 10px -5px rgba(0,0,0,0.75);
}
.jackpot-info strong{
    display: block;
    color: #ebc361; 
    text-align: center; 
    font-size: 30px;
    font-weight: 200; 
    /*    padding: 20px 20px 10px 20px;*/
    padding: 20px 87px 10px 20px;
}
.jackpot-info-game{
    padding: 5px 20px;
    /*    font-size: 40px;*/
    display: inline-block;
    color: #ccc;
    font-size: 35px;
}
.jackpot-info-money{
    padding-right: 20px;
    font-size: 56px;
    float: right;
}
.jackpot-game{
    background-color: #1b1b1b; 
    height: 95px;
    background: #111111; /* Old browsers */
    background: -moz-linear-gradient(top, #111111 0%, #1b1b1b 10%, #1b1b1b 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#111111), color-stop(10%,#1b1b1b), color-stop(100%,#1b1b1b)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #111111 0%,#1b1b1b 10%,#1b1b1b 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #111111 0%,#1b1b1b 10%,#1b1b1b 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #111111 0%,#1b1b1b 10%,#1b1b1b 100%); /* IE10+ */
    background: linear-gradient(to bottom, #111111 0%,#1b1b1b 10%,#1b1b1b 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#111111', endColorstr='#1b1b1b',GradientType=0 ); /* IE6-9 */
}
.jackpot-game img{
    margin: 12px;
}
.jackpot-game-mame{
    display: inline-block;
    font-size: 18px;
}
.jackpot-game-money{
    display: inline-block;
    font-size: 30px;
    float: right;
    margin-top: 30px;
    margin-right: 20px;
}
.new{
    width: 380px;
    background-color: #111; 
    height: 180px;
    float: right; 
    padding: 20px 10px;
}
.new-updates{
    display: block;
    color: #ebc361; 
    text-align: left; 
    font-size: 20px;
    font-weight: 200;
    font-size: 30px;
}
.new-title{
    display: inline-block; 
    padding-top: 15px;
    font-size: 35px;
}
.new-date{
    display: block; 
    padding: 15px 0px 10px 0px; 
    color: #ccc;
    font-family: sans-serif;
    font-size: 14px;
}
.new p{
    font-family: sans-serif;
    line-height: 1.5;
    font-size: 0.8em;
}
.menu-game{
    text-align: center;
    width: 100%;
    background-color: #1e1e1e;
    margin-top: 40px;
    display: inline-block;
    padding: 0 20px;
}
.type-game{
    display: inline-block; 
}
.type-game li{
    float: left;
}

.type-game li:last-child{
    padding: 14px 40px 10px 40px;
    font-size: 22px;
    display: block;
    color: #ddd;
    padding-right: 0px;
    padding-left: 0px;
}
.type-game li a{
    padding: 14px 40px 10px 40px;
    font-size: 22px;
    display: block;
}
.type-game li a:first-child{
    padding-left: 0px;
}
.game-list{
    display: inline-block; 
    padding: 10px 50px;
    margin: 0px;
}
.game-list li{
    float: left;
    text-align: center;
    height: 190px;
}

.game-list li img{
    padding: 10px;
    font-size: 17px;
    display: block;
    width: 200px;
}
.game-list li strong{
    font-size: 20px;
}
.downlist{
    display: inline-block; 
    margin-top: 40px;
    padding: 10px;
}
.downlist li{
    float: left;
}
.downlist li a{
    padding: 0px 10px;
    font-size: 22px;
    display: block;
}
.social{
    display: inline-block; 
    margin-top: 25px;
    padding: 10px;
    float: right;
}
.social li{
    float: left;
}
.social li a{
    padding: 5px 0px;
    font-size: 15px;
    display: block;
}
.social li a img{

}

.social-facebook{
    background: url(../img/facebook-a.jpg) no-repeat;
    width: 47px;
    height: 31px;
    display: inline-block;
    transition: all 0.25s ease-in-out;
}

.social-facebook:hover{
    background: url(../img/facebook-b.jpg) no-repeat;
}

.social-youtube{
    background: url(../img/youtube-a.jpg) no-repeat;
    width: 47px;
    height: 31px;
    display: inline-block;
    transition: all 0.25s ease-in-out;
}

.social-youtube:hover{
    background: url(../img/youtube-b.jpg) no-repeat;
}

.social-twitter{
    background: url(../img/twit-a.jpg) no-repeat;
    width: 47px;
    height: 31px;
    display: inline-block;
    transition: all 0.25s ease-in-out;
}

.social-twitter:hover{
    background: url(../img/twit-b.jpg) no-repeat;
}

.social-facebook-about{
    background: url(../img/icon/face-a.jpg) no-repeat;
    width: 45px;
    height: 40px;
    display: inline-block;
    transition: all 1s ease-in-out;
}

.social-facebook-about:hover{
    background: url(../img/icon/face-b.jpg) no-repeat;
}

.social-youtube-about{
    background: url(../img/icon/youtube-a.jpg) no-repeat;
    width: 45px;
    height: 40px;
    display: inline-block;
    transition: all 1s ease-in-out;
}

.social-youtube-about:hover{
    background: url(../img/icon/youtube-b.jpg) no-repeat;
}

.social-twitter-about{
    background: url(../img/icon/twitter-a.jpg) no-repeat;
    width: 45px;
    height: 40px;
    display: inline-block;
    transition: all 1s ease-in-out;
}

.social-twitter-about:hover{
    background: url(../img/icon/twitter-b.jpg) no-repeat;
}


footer{
    clear: both;
    border-top: 4px solid #262626;
    text-align: center;
    padding: 10px;
    background-color: #0c0c0c;
    margin-top: 30px;
}
footer ul{
    display: inline-block;
}
footer ul li{
    float: left;
    padding: 20px;
}
.error{
    opacity: 0;
    z-index: -5;
    display: block;
    width: 100%;
    text-align: center;
    position: absolute;
    margin: 0em 0.2em;
}
.loadicon{
    display: block;
    width: 100%;
    text-align: center;
    position: absolute;
    margin: 0em 0.2em;
    opacity:1;
    z-index: -5;
}
.messeg{
    color: #D8000C;
    font-size: 1.2em;
    padding: 0.1em 0.5em;
    background-color: #ebc361;
    line-height: 2;
}
#detailtxt a{
    color: #FFF;
}
#detailtxt a:hover{
    color: #ebc361;
}
@media (min-width: 100px) and (max-width: 320px) {
    /* Add your styles for devices with a maximum width of 320 */
    .container{
        display: table;
    }

    .site-header h1{
        text-align: center;

    }
    input[type="text"] {
        width: 220px !important;
        height: 25px !important;
    }
    input[type="password"] {
        width: 220px !important;
        height: 25px !important;
    }
    button[type="button"] {
        width: 246px !important;
        height: 35px !important;
    }
    .nav-login{

    }
    .nav-login li{
        text-align: center;
        margin-bottom: 5px;
    }
    .navbar ul{
        width: 285px;
        margin: 0 auto;
    }
    .navbar ul li{
        padding: 5px;
    }
    .jackpot{
        width: 100%;
    }
    .type-game{
        height: auto;
    }
    .sociial{
        float: none;
    }

    .content-about{
        width: 100% !important;
        padding: 230px 0px 20px 0px !important;
    }
    aside{
        width: 100% !important;
        padding-top: 20px !important;
    }
    .downlist{
        width: 100%;
    }
    .social{
        float: left;
        margin: 0px;
    }
    .loadicon{
        width: 135%;
    }
}

@media screen and (max-width: 350px) {
    /* Add your styles for devices with a maximum width of 320 */

    .navbar-brand {
        background-size: 195px;
        background-position-y: -0.43em;
        width: 5.433em;
    }
}


@media (min-width: 320px) and (max-width: 480px) {
    /* Add your styles for devices with a maximum width of 480 */
    .container{
        display: table;
    }
    .site-header h1{
        /*text-align: center;*/
        float: left;
    }
    .lang{
        padding: 20px;
        float: right;
    }
    input[type="text"] {
        width: 220px !important;
        height: 25px !important;
    }
    input[type="password"] {
        width: 220px !important;
        height: 25px !important;
    }
    button[type="button"] {
        width: 246px !important;
        height: 35px !important;
    }
    .nav-login{

    }
    .nav-login li{
        text-align: center;
        margin-bottom: 5px;
    }
    .navbar ul{
        width: 285px;
        margin: 0 auto;
    }
    .navbar ul li{
        padding: 5px;
        float: none !important;
    }
    #amazingslider-1{
        display: none !important;
    }
    .new{
        width: auto ;
    }
    .slide{
        height:550px;
    }
    .jackpot{
        width: 100%;
    }
    .type-game{
        height: auto;
    }
    .sociial{
        float: none;
    }
    .slide{
        height: 550px;
    }
    .content-about{
        width: 100% !important;
        padding: 230px 0px 20px 0px !important;
    }
    aside{
        width: 100% !important;
        padding-top: 20px !important;
    }
    .downlist{
        width: 100%;
    }
    .social{
        float: left;
        margin: 0px;
    }
    .loadicon{
        width: 135%;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    /* Add your styles for devices with a maximum width of 768 */
    .container{
        display: table;
    }
    .site-header h1{
        float: left;
    }
    .lang{
        padding: 20px;
        float: right;
    }
    .nav-login{

        width: 14em;
        display: block;
        margin: 0 auto;
        float: none !important;
    }

    .nav-login li{
        text-align: center;
        margin-bottom: 5px;
    }
    .navbar ul{
        /*width: 285px;*/
        margin: 0 auto;
    }
    .navbar ul li{
        padding: 5px;
        float: left;
    }
    input[type="text"] {
        width: 220px !important;
        height: 25px !important;
    }
    input[type="password"] {
        width: 220px !important;
        height: 25px !important;
    }
    button[type="button"] {
        width: 246px !important;
        height: 35px !important;
    }
    .navbar{
        clear: both;
    }
    #amazingslider-1{
        display: none !important;
    }
    .new{
        width: auto ;
    }
    .slide{
        height: 400px;
    }
    .jackpot{
        width: 100%;
    }
    .type-game{
        height: auto;
    }
    .sociial{
        float: none;
    }

    .content-about{
        width: 100% !important;
        padding: 230px 0px 20px 0px !important;
    }
    aside{
        width: 100% !important;
        padding-top: 20px !important;
    }
    .downlist{
        width: 100%;
    }
    .social{
        float: left;
        margin: 0px;
    }

    .loadicon{
        width: 130%;
    }
}

@media  (min-width: 768px) and (max-width: 900px ) {
    .container{
        display: table;
    }
    .site-header h1{
        float: left;
    }
    .lang{
        padding: 20px;
        float: right;
    }
    .nav-login {
        display: block;
        float: right;
        margin-top: 1.1em;

    }
    .nav-login li{
        float: left;
        margin-bottom: 5px;
    }
    input[type="text"] {
        margin-right: 0.2em;
        width: 110px;
        height: 18px;
    }
    input[type="password"] {
        margin-right: 0.2em;
        width: 110px;
        height: 18px;
    }
    button[type="button"] {
        /*width: 75px;*/
        height: 32px;
    }
    .navbar{
        clear: both;
        text-align: center;
    }
    .navbar ul{
        display: inline-block;
    }
    .navbar ul li{
        padding: 5px;
        float: left;
    }
    #amazingslider-1{
        width: 100% !important;
        height: auto !important;
    }
    .new{
        width: auto ;
    }
    .slide{
        height: 500px;
    }
    .jackpot{
        width: 100%;
    }
    .type-game{
        height: auto;
    }
    .sociial{
        float: none;
    }
    .downlist{
        width: 100%;
    }
    .social{
        float: left;
        margin: 0px;
    }
    .loadicon{
        width: 75%;
    }
}

@media (min-width: 900px ) and (max-width: 1024px ) {
    /* Add your styles for devices with a maximum width of 1024 */
    .container{
        display: table;
    }
    .site-header h1{
        float: left;
    }
    .lang{
        padding: 20px;
        float: right;
    }
    .nav-login {
        display: block;
        float: right;
        margin-top: 1.1em;

    }
    .nav-login li{
        float: left;
        margin-bottom: 5px;
    }
    input[type="text"] {
        margin-right: 0.2em;
        width: 110px;
        height: 18px;
    }
    input[type="password"] {
        margin-right: 0.2em;
        width: 110px;
        height: 18px;
    }

    button[type="button"] {
        /*width: 75px;*/
        height: 32px;
    }
    .navbar{
        clear: both;
        text-align: center;
    }
    .navbar ul{
        display: inline-block;
    }
    .navbar ul li{
        padding: 5px;
        float: left;
    }
    #amazingslider-1{
        width: 100% !important;
        height: auto !important;
    }
    .new{
        width: 45% ;
    }

    .slide{
        height: 550px;
    }
    .type-game{
        height: auto;
    }
    .sociial{
        float: none;
    }
    .downlist{
        width: 100%;
    }
    .social{
        float: left;
        margin: 0px;
    }
    .loadicon{
        width: 75%;
    }
}
@media (min-width: 1024px ) and (max-width: 1200px ) {
    /* Add your styles for devices with a maximum width of 1024 */

    .container{
        display: table;
    }
    .site-header h1{
        float: left;
    }
    .lang{
        padding: 20px;
        float: right;
    }
    .nav-login {
        display: block;
        float: right;
        margin-top: 1.1em;

    }
    .nav-login li{
        float: left;
        margin-bottom: 5px;
    }
    input[type="text"] {
        margin-right: 0.7em;
        width: 110px;
        height: 18px;
    }
    input[type="password"] {
        margin-right: 0.7em;
        width: 110px;
        height: 18px;
    }

    button[type="button"] {
        /*width: 75px;*/
        height: 32px;
    }
    .navbar{
        clear: both;
        text-align: center;
    }
    .navbar ul{
        display: inline-block;
    }
    .navbar ul li{
        padding: 5px;
        float: left;
    }
    #amazingslider-1{
        width: 100% !important;
    }
    .new{
        width: 50% ;

    }

    .type-game{
        height: auto;
    }

    .downlist{
        width: 100%;
    }
    .social{
        float: left;
        margin: 0px;
    }
}
@media (min-width: 1200px){
    .container{
        margin: 0 auto;
        width: 1200px;
        display: block;
        position: relative;
        overflow: hidden;
    }
    .site-header{
        width: 1200px;
    }
    .site-header h1{
        float: left;
    }
    .lang{
        padding: 20px;
        float: right;
    }
    .nav-login {
        display: block;
        float: right;
        margin-top: 1.1em;

    }
    .nav-login li{
        float: left;
        margin-bottom: 5px;
    }
    input[type="text"] {
        margin-right: 0.7em;
        width: 110px;
        height: 18px;
    }
    input[type="password"] {
        margin-right: 0.7em;
        width: 110px;
        height: 18px;
    }
    button[type="button"] {
        /*width: 75px;*/
        height: 32px;
    }
    .navbar{
        clear: both;
        text-align: center;
    }
    .navbar ul{
        display: inline-block;
    }
    .navbar ul li{
        float: left;
    }

    .slide{
        /*padding-top: 65px;*/
    }
    .footer{
        width: 1200px;
        margin: 0 auto;
    }

    .menu-game{
        width: 1160px;
    }
}

/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    /* Add your styles for devices with a maximum width of 1024 */
}
/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    /* Add your styles for devices with a maximum width of 768 */
}


.select-game{
    margin-top: -175px;
    width: 200px;
    height: 125px;
    position: absolute;
    opacity: 0;
    display: block;
    padding-left: 10px;
}

.select-game:hover{

    background:rgba(0,0,0,0.5);
    opacity: 1;
    transition: all .4s linear;

}

.select-game span{
    background-color: #dbab3c;
    height: 30px;
    width: 200px;
    position: absolute;
    margin-top: 45px;
    display: block;
}

.play-game{
    font-size: 20px; 
    margin-top: 4px; 
    display: block;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    text-align: center;
}

.flee-game{
    font-size: 20px; 
    margin-top: 4px; 
    display: block;
    font-weight: 700;
    color: #111;
    cursor: pointer;
}

.play-game:hover, .flee-game:hover{
    color: #111;
    text-decoration: underline;
}
.p_name{
    font-size: 20px;
    color: #fff;
}

.p_video{
    font-size: 18px;
    font-weight: 700;
    line-height: 0.3;
    color: #aaa;
}

/* page about */
aside{
    width: 20%;
    margin-top: 100px; 
    display: inline-block;
    float: left;
    background-color: #171717;
    position: absolute;
    height: 100%;
    margin-bottom: 30px;
}

aside ul{
    /* background-color: #171717; */
}
aside ul a{
    padding: 15px;
    font-size: 25px;
    display: block;
}
.cl:first-child{
    background-color: #1f1f1f;
}
.cl{
    background-color: #1f1f1f;
    background: #131313; /* Old browsers */
    background: -moz-linear-gradient(top, #131313 0%, #1f1f1f 15%, #1f1f1f 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#131313), color-stop(15%,#1f1f1f), color-stop(100%,#1f1f1f)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #131313 0%,#1f1f1f 15%,#1f1f1f 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #131313 0%,#1f1f1f 15%,#1f1f1f 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #131313 0%,#1f1f1f 15%,#1f1f1f 100%); /* IE10+ */
    background: linear-gradient(to bottom, #131313 0%,#1f1f1f 15%,#1f1f1f 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#131313', endColorstr='#1f1f1f',GradientType=0 ); /* IE6-9 */
}
.cl2{
    background: #131313; /* Old browsers */
    background: -moz-linear-gradient(top, #131313 0%, #171717 15%, #171717 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#131313), color-stop(15%,#171717), color-stop(100%,#171717)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #131313 0%,#171717 15%,#171717 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #131313 0%,#171717 15%,#171717 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #131313 0%,#171717 15%,#171717 100%); /* IE10+ */
    background: linear-gradient(to bottom, #131313 0%,#171717 15%,#171717 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#131313', endColorstr='#171717',GradientType=0 ); /* IE6-9 */
}
.content-about{
    /*    width: 75%;
        float: right; 
        padding: 100px 30px 20px 0px;*/
    width: 78%;
    float: right;
    padding: 100px 0px 14px 0px;
}
.content-about h2{  
    background-color: #1d1d1d;
    padding: 5px 11px;
    margin-top: 0px;

}

.content-about strong{
    font-size: 24px;
    line-height: 2;
    color: #ddd;
}
.content-about p{
    line-height: 1.5;
    font-size: 0.8em;
    font-family: sans-serif;
}
.dn{
    display: none;
}
.db{
    display: block;
}

.ul-about{
    float: left;
}

.ul-about li{
    margin-left: 30px;
    text-align: left;
    margin-top: 5px;
    list-style-type: disc;
}

.ul-se{

}

.ul-se li{

    display: inline-block;
    padding: 10px;
}
.ul-se li img{
    float: left;
    margin: 20px;
}
.lang{
    border: 1px solid #3e3d3d;
    height: 0px;
    width: 70px;
    margin-left: 10px;
    margin-top: 20px;
    padding: 15px !important;
}
.lang a{
    padding-left: 25px;
    margin-top: -10px;
    display: block;
    font-size: 20px;
}

#country-select{
    margin-left: -20px;
    margin-top: 10px;
}

.dropdown dt a{
    padding-left: 0px !important;
    margin-left: 15px !important;
    margin-top: 5px !important;
}
#country-select ul{
    margin-left: -36px;
    width: 100px;
    border-left: 1px solid #3e3d3d;
    border-bottom: 1px solid #3e3d3d;
    border-right: 1px solid #3e3d3d;
    margin-top: -2px;
    background-color: #000;
}
.dropdown dd ul li a {
    margin-top: 2px !important;
    padding: 10px 10px !important;
    font-size: 12px !important;
}
.dropdown dd ul li a span, .dropdown dt a span{
    margin: 4px 15px 0 0 !important;
}
.arrow{
    background: url(../img/arrow.jpg) no-repeat;
    width: 10px;
    height: 7px;
    margin-left: 65px;
    display: block;
    position: absolute;
    margin-top: -12px;
}
.dropdown dd ul li a em{
    margin-top: 3px !important;
}


.htpimg{
    margin-top: 40px;margin-bottom: 20px; margin-left: auto;margin-right: auto; display: block;
}
.litext{
    line-height: 1.5;
    font-size: 0.8em;
    font-family: sans-serif;
    list-style-type: decimal;
    margin: 10px 30px;
    color: #ccc;
}

.app-android{
    width: auto;
    background-color: #111;
    height: 180px;
    float: left;
    padding: 20px 20px;
}

.app-android > img{
    margin-top: 20px;
    float: left;
}

.app-android > img:last-of-type{
    cursor: pointer;
}

.txt-install{
    display: block;
    color: #ebc361;
    text-align: left;
    font-weight: 200;
    font-size: 30px;
}

.app-android > a{
    cursor: pointer;
    font-weight: bold;
    text-indent: 0.3em;
    margin-top: 10px;
    font-size: 22px;
    display: block;
}
.box-qrcode{
    width: 160px;
    float: left;
    text-align: center;
}