/*

Theme Name: Cube

Theme URI: http://cubemedia.nz

Author: Hanyu Zhang

Description: Theme For Cube Media Company website

*/

@import url('https://fonts.googleapis.com/css?family=Raleway:400,500,600,700');

html, body{
	overflow-x: hidden;
}
body{
	margin: 0 auto;
}
img{
	max-width: 100%;
	display: block;
	height: auto;
}
html, body{
	font-family: 'Raleway', sans-serif !important;
}
.no-js #loader { display: none;  }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.se-pre-con {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url(/wp-content/uploads/2019/04/loading.gif) center no-repeat #fff;
	background-size: 150px;
}
.small-container{
	max-width: 1110px;
	padding-left: 15px;
	padding-right: 15px;
	display: block;
	margin: 0 auto;
}
.page-container{
	max-width: 1330px;
	padding-left: 15px;
	padding-right: 15px;
	display: block;
	margin: 0 auto;
}
.home-banner .page-container{
	display: table;
	width: 100%;
	height: 460px;
}
.home-banner .page-container .home-banner-inner{
	display: table-cell;
	vertical-align: middle;
}
.home-intro{
	margin-top: 30px;
	background-color: #000000;
	padding-top: 30px;
	padding-bottom: 30px;
	display: table;
	width: 100%;
}
.intro{
	background-color: #FFFFFF;
	width: 52%;
	float: right;
}
.intro p{
	font-size: 30px;
	font-weight: 400;
	line-height: 40px;
	color: #373737;
	margin-bottom: 0px;
}
.intro strong{
	font-size: 30px;
	font-weight: bold;
	line-height: 40px;
	color: #373737;
}
.intro-inner{
	padding: 25px 40px;
}
.intro-text{
	max-width: 635px;
}
.home-overview{
	background-color: white;
	padding-top: 60px;
	padding-bottom: 60px;
}
.home-overview-inner{
	display: table;
	width: 100%;
}
.overview-left{
	width: calc(45% - 30px);
	float: left;
	display: block;
	margin-right: 30px;
}
.overview-right{
	width: calc(55% - 30px);
	margin-left: 30px;
	float: left;
	display: table;
	height: 400px;
}
.overview-right-inner{
	display: table-cell;
	vertical-align: middle;
}
.overview-right p{
	font-size: 16px;
	font-weight: 400;
	line-height: 26px;
	color: #373737;
	margin-bottom: 20px;
}
.overview-right p:last-child{
	margin-bottom: 0px;
}
.home-service{
	padding-bottom: 50px;
	background-color: #E8E8E8;
	padding-top: 55px;
	display: table;
	width: 100%;
}
.home-service h2{
	text-align: center;
	font-size: 30px;
	font-weight: bold;
	line-height: 40px;
	margin-bottom: 40px;
	color: #373737;
}
.service{
	padding-left: 15px;
	padding-right: 15px;
	display: block;
	width: calc(100% / 3);
	float: left;
}
.service-inner{
	padding-top: 15px;
	background-color: white;
	padding-bottom: 15px;
	padding-left: 40px;
	padding-right: 40px;
}
.service-title, .service-location{
	font-size: 16px;
	font-weight: 600;
	line-height: 30px;
	color: #373737;
	text-align: center;
}
.service-title{
	padding-bottom: 15px;
}
.service-location{
	padding-top: 15px;
}
.home-service-bottom{
	font-size: 22px;
	font-weight: 400;
	line-height: 30px;
	color: #373737;
	width: 100%;
	display: inline-block;
	clear: both;
	text-align: center;
	margin-top: 55px;
}
.service a:hover{
	text-decoration: none;
	color: #373737;
}
.service a:hover .service-inner{
	background-color: #CCCCCC;
}
.home-career{
	padding-top: 70px;
	padding-bottom: 55px;
}
.home-career h2{
	text-align: center;
	font-size: 30px;
	font-weight: bold;
	line-height: 40px;
	margin-bottom: 40px;
	color: #373737;
}
.home-career p{
	font-size: 16px;
	line-height: 30px;
	font-weight: 400;
	color: #373737;
}
.career-lists{
	margin-top: 50px;
	display: table;
	width: calc(100% + 40px);
	margin-left: -20px;
	margin-right: -20px;
}
.career{
	width: calc((100% / 3) - 40px);
    float: left;
    display: inline-block;
    margin-left: 20px;
    margin-right: 20px;

}
.career a{
	background-color: #E8E8E8;
	border-radius: 3px;
	padding: 15px 20px;
	color: #373737;
	display: block;
	width: 100%;
	text-align: center;
}
.career a:hover{
	text-decoration: none;
	color: #373737;
	background-color: #CCCCCC;
}
.site-footer{
	background-color: #000000;
	padding-bottom: 30px;
	padding-top: 30px;
}
.site-footer p, .site-footer p a{
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 600;
	line-height: 26px;
	margin-bottom: 0px;
}
.site-footer p a:hover{
	text-decoration: none;
	color: white;
}
@media(max-width: 1330px){
	.service{
		width: 100%;
		max-width: 435px;
		float: none;
    	margin: 0 auto;
    	margin-bottom: 30px;
	}
	.service:last-child{
		margin-bottom: 0px;
	}
}
@media(max-width: 1110px){
	.intro{
		width: 70%;
	}
	.home-banner{
	    background-position: left !important;
	}
}
@media(max-width: 991px){
	.career{
		width: calc(100% - 40px);
		margin: 0 auto;
	    max-width: 400px;
		margin-bottom: 30px;
	    display: block;
	    float: none;
	}
	.site-footer p a{
		display: block;
		clear: both;
		float: none;
	}
	.site-footer p span{
		display: none;
	}
	.career:last-child{
		margin-bottom: 0px;
	}
	.overview-left{
		margin-right: 15px;
	}
	.overview-right{
		margin-left: 15px;
	}
	.intro{
		width: 100%;
	}
}
@media(max-width: 767px){
	.home-banner .page-container{
		height: 335px !important;
	}
	.home-banner{
		height: 335px !important;
	}
	.intro-inner{
		padding: 15px;
	}
	.overview-left{
		width: 100%;
		margin-right: 0px;
	}
	.overview-right{
		width: 100%;
		margin-left: 0px;
		height: auto;
		margin-top: 30px;
	}

}
@media(max-width: 465px){
	.service{
		padding-left: 0px;
		padding-right: 0px;
	}
	.service-inner{
		padding-right: 15px;
		padding-left: 15px;
	}
}