﻿@charset "utf-8";
/* CSS Document */

@import 'default.css';

* {
	box-sizing: border-box;
}

img[src="http://www.24game.com/images/clear.gif"], img[src="./images/clear.gif"], , img[src="/images/clear.gif"] {
    display: none;
}

object {
	height: inherit;	
}

a {
	text-decoration: none;
	transition: all .5s;
    color: #0074CC;
}

a:hover{
	color: #CC0033;
	border-color: rgba( 204, 0, 40, .5 );
}

h1 {
	margin: .8em 0;
}

.float-left, .float-right {'
	max-width: 50%;
	border-radius: 3px;
	padding: 8px;
	border: 1px solid #DDD;
}

.float-left {
	float: left;
	margin: 0 20px 20px 0;
}

.float-right {
	float: right;
	margin: 0 0 20px 20px;
}

table thead tr th, table tfoot tr th, table tbody tr td, table tr td, table tfoot tr td {
	display: table-cell;
	line-height: inherit;
	font-size: inherit;
}

/* Layout */

body {
	background: rgb(0, 64, 128) url(images/body-bg.png);
}

body, form {
	padding: 0;
	margin: 0;
	font-family: 'Muli', Avenir, Frutiger, Tahoma, sans-serif;
}
.wrapper, .row {
	width: 100%;
	max-width: 800px;
	margin: auto;
	position: relative;
	clear: both;
}
#top {
	text-align: left;
	margin: 0;
	padding: 30px 0 10px;
	background: #fff9e5;
}

#logo {
	margin: 0 0 10px 10px;
    width: 68px;
}

#nav {
	position: absolute;
	bottom: .5em;
	right: 0px;
}

#nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#nav > ul {
	float: none;
}
#nav > ul > li{
	float: left;
	padding: 0 0 0 24px;
}

#nav .sub-menu{
    z-index: 999;
    position: absolute;
    
    background: #fff9e5;
    margin: 0 0 0 -16px;
    padding: 0 16px;
    border-radius: 12px;
    text-align: left;
    /*border: 1px solid #cc9900;*/

    max-height: 1px;
    opacity: 0;
    overflow: hidden;
    transition: all .3s;
}

#nav li:hover > .sub-menu {
    z-index: 1000;
    max-height: 500px;
    opacity: 1;
    padding: 16px;
}

.old-css #nav .sub-menu {
    display: none;
}

.old-css #nav li:hover > .sub-menu {
    display: block;
}


#nav .sub-menu li{
    border-bottom: 1px solid #ffe8a2;
}

#nav .sub-menu li:last-child{
    border: 0;
}

#nav a {
	color: #cc9900;
	text-transform: lowercase;
	border-bottom: 1px solid #fff9e5;
    margin: 0;
    font-size: 18px;
}

#nav a:hover {
	color: #CC0033;
	border-color: rgba( 204, 0, 40, .5 );
}

#nav .sub-menu a{
    border: 0;
    font-size: 14px;
}

#main {
	background: #FFF;
	box-shadow: 0px 10px 20px rgba(0, 0, 0, .25);
	padding-bottom: 50px;
}

#footer {
	clear: both;
	padding: 20px;
}

#footer #suntex-logo {
	float: right;
}

#footer .social {
	float: right;
	list-style: none;
	margin-right: 20px;
	display: none;
}

#footer .social li {
	float: left;
	margin: 0 5px;
}

#footer .social a {
	transition: all .5s;
	opacity: 0.5;
}

#footer .social a:hover {
	transition: all .5s;
	opacity: 1.0;
}

#footer .copyright {
	font-size: 10px;
	color: #778299;
	text-align: center;
	clear: both;
	padding-top: 50px;
}

#footer a {
	background: transparent !important;
	color: #FFF;
}

#footer .top-bar {
	background: transparent !important;
}

#footer .top-bar-section ul {
	background: transparent !important;
}

/* Catalog */

ul.pagination {
	text-align:center;	
}

ul.pagination li {
	float: none;
	display: inline-block;	
}

ul.pagination li.active a {
	background: #999;
	color: #FFF;
}

.entity-product-name-wrap {
	min-height: 75px;
}


/* Home */

.home {
	background: #FFF;
}

.home #top {
	background: #FFF;	
}

.home #logo {
	width: 102px;
}

.home #nav {
	top: .5em;
	bottom: initial;
	margin-left: 120px;
}

.home #title {
	float: right;
	margin-top: 60px;
	max-width: 100%;
}

#banner {
	width: 100%;
	background-image:url(images/24game-bg-paper.jpg);
	background-repeat: repeat;
	background-position: top center;
	min-height: 322px;
	clear: both;
    margin-bottom: 100px;
}
#banner #card {
	top: -20px;
	position: absolute;
	float: left;
	transition: all .5s;
	max-width: 70%;
}
#banner a {
	font-weight: bold;
}
#banner .text {
	padding: 60px 0;
	float: right;
	width: 250px;
}
#banner .text #slogan {
	font-size: 30px;
	text-transform: lowercase;
	line-height: 45px;
}
#banner .text ul {
	list-style: none;
	padding: 0;
    margin: 12px 0 0 0;
}


#app-banner {
	width: 100%;
	background-image:url(images/24game-bg-app.png);
	background-repeat: repeat;
	background-position: top center;
	min-height: 500px;
	clear: both;
	margin-top: 100px;
}

.home #footer {
	background: #FFF;	
}

@media (max-width: 750px) {

#nav {
	margin-left: 80px;
}

#banner #card {
	max-width: 60%;
}

}

@media (max-width: 600px) {

.home #title {
	/*display: none;*/
	max-width: 60%;
	margin-top: 30px;
}

#banner {
	margin-top: 30px;
}

#banner #card {
	max-width: 50%;
}

}

@media (max-width: 450px) {

#banner .text {
	max-width: 200px;
	font-size: .8em;
}

#banner .text #slogan {
	line-height: 1em;
}

#banner .text li {
	font-size: .8em;
}

.float-left, .float-right {
	max-width: 100%;
	margin: auto;
	float: none;
}

.float-left, .float-right {
	max-width: 100%;
	margin: auto;
	float: none;
}

.float-left::after, .float-right::after { 
	 visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
}

}


/*animation */
/*
#logo {
	-webkit-animation: logo-swell 1s;
	animation: logo-swell .5s;
}

#banner {
	-webkit-animation: banner-enter 3s;
	animation: banner-enter 3s;
}
*/
@-webkit-keyframes logo-swell {
	from { width: 90px; }
	to { width: 102px; }
}

@keyframes logo-swell {
	from { width: 90px; }
	to { width: 102px; }
}


@-webkit-keyframes banner-enter {
	0%	{ min-height: 2px; }
	50%	{ min-height: 2px; }
	100%	{ min-height: 322px; }
}

@keyframes banner-enter {
	0%	{ min-height: 2px; }
	50%	{ min-height: 2px; }
	100%	{ min-height: 322px; }
}


/* Slick Nav */

.slicknav_menu {
	display:none;
	background: rgb(0, 64, 128);
}

.slicknav_btn {
	background: #222244;
}

.slicknav_menu .slicknav_menutxt {
	font-weight: normal;	
}

.slicknav_nav .slicknav_row:hover, .slicknav_nav a:hover{
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    background:#fff9e5;
}

@media screen and (max-width: 600px) {
	/* #menu is the original menu */
	.js #nav {
		display:none;
	}
	
	.js .slicknav_menu {
		display:block;
	}
}
