/*
Theme Name: Easychina
Theme URI: http://easychina.co
Author: Creative Union
Author URI: creative-union.com
Description: Easy China's Website
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: easychina
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/********************************************
***************** FONTS *********************
********************************************/

@font-face {
font-family: 'MyriadPro Regular';
src: url('fonts/myriadpro/regular/myriadpro-regular.eot'); /* IE9 Compat Modes */
src: url('fonts/myriadpro/regular/myriadpro-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
     url('fonts/myriadpro/regular/myriadpro-regular.woff') format('woff'), /* Modern Browsers */
     url('fonts/myriadpro/regular/myriadpro-regular.otf')  format('truetype'), /* Safari, Android, iOS */
}

@font-face {
font-family: 'Myriad Pro SemiBold';
src: url('fonts/myriadpro/semibold/myriadpro-semibold.eot'); /* IE9 Compat Modes */
src: url('fonts/myriadpro/semibold/myriadpro-semibold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
     url('fonts/myriadpro/semibold/myriadpro-semibold.woff') format('woff'), /* Modern Browsers */
     url('fonts/myriadpro/semibold/myriadpro-semibold.otf')  format('truetype'), /* Safari, Android, iOS */
}

@font-face {
font-family: 'Myriad Pro Bold';
src: url('fonts/myriadpro/bold/myriadpro-bold.eot'); /* IE9 Compat Modes */
src: url('fonts/myriadpro/bold/myriadpro-bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
     url('fonts/myriadpro/bold/myriadpro-bold.woff') format('woff'), /* Modern Browsers */
     url('fonts/myriadpro/bold/myriadpro-bold.otf')  format('truetype'), /* Safari, Android, iOS */
}


/********************************************
***************** GENERAL *******************
********************************************/
html {
	overflow-x: hidden;
}

html, body {
    margin: 0 0;
    padding: 0 0;
    font-weight: normal;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    height: 100%;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    font-family: 'myriadpro-regular';
}

ol,ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

p {
	color: rgba(16,20,47,1);
}

.content {
	position: relative;
}

.main-content {
	margin: 100px 0;
}

.separator {
	width: 100%;
	height: 1px;
	background: rgba(136,138,151,1);
	
}

.no-gutters {
	padding: 0;
}

.no-padding-right {
	padding-right: 0 !important;
}

/* Background Images */
.main-picture {
	background-size: cover; 
	background-repeat: no-repeat; 
	background-position: center; 
	background-attachment: fixed;"
}

/* Fix Bootstrap Row Margin */
.row {
	margin-right: 0;
	margin-left: 0;
}

@media( (min-width: 768px) ) {
	.row {
		margin-right: 0;
		margin-left: 0;	
	}
}

@media( (min-width: 576px) ) {
	.row {
		margin-right: 0;
		margin-left: 0;	
	}
}


/* Links */

a {
	color: rgba(255,255,255,1);
	-webkit-transition: color 0.3s ease-in-out;
    -moz-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
}

a:focus {
	color: rgba(255,255,255,1);
}

a, a:hover, a:focus {
    text-decoration: none;
}

a:hover {
	color: rgba(157,198,228,1);
}


/********************************************
***************** HIERARCHY *****************
********************************************/

h2 {
	font-family: "myriadpro-semibold";
	color: rgba(16,20,47,1);
	padding: 80px 0;
}

h4 {
	font-family: "myriadpro-semibold";
	color: rgba(16,20,47,1);
	font-size: 16px;
	padding: 20px;
	margin-bottom: 0;
}


/********************************************
***************** MENUS*******************
********************************************/

/* Homepage Menu */
.service-menu a, .mobile-fixed-menu a {
	font-family: 'myriadpro-semibold';
	font-size: 18px;
}

.service-menu .sub-menu {
	margin-top: 12px;
	display: none;
}

.service-menu .sub-menu a {
	font-size: 12px;
}

/* Burger */
.burger-container {
	width: 65px;
	height: 65px;
	background: rgba(157,198,228,1);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 5000;
	cursor: pointer;
}

.burger {
	display: inline-block;
	position: absolute;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    line-height: 0;
}

.lines, .lines:before, .lines:after {
	display: inline-block;
    width: 25px;
    height: 2px;
    background: rgba(16,20,47,1);
    -webkit-transition: top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
    -moz-transition: top 0.3s ease-in-out, -moz-transform 0.3s ease-in-out;
    -o-transition: top 0.3s ease-in-out, -o-transform 0.3s ease-in-out;
    transition: top 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.lines {
	position: relative;
	-webkit-transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    -o-transition: background 0.3s ease-in-out;
    transition: background 0.3s ease-in-out;
}

.lines:before, .lines:after {
	position: absolute;
    left: 0;
    content: '';
}

.lines:after {
	top: 6px;
}

.lines:before {
	top: -6px;
}

/* Burger Animation */
.cross .lines {
	background: rgba(16,20,47,0);
}

.cross .lines:before, .cross .lines:after {
	top: 0;
}

.cross .lines:before {
	-webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.cross .lines:after {
	-webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}


/* Mobile Menu */
.mobile-menu-container {
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(16,20,47,1);
	z-index: 3000;
	display: none;
}

.mobile-menu {
	position: relative;
	height: 100vh;
}

#mobile-menu-wrapper {
	display: inline-block;
	position: absolute;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    width: 100%;
}

.mobile-fixed-menu {
	padding-left: 35%;
}

.mobile-fixed-menu .sub-menu li {
	padding-left: 20px;
}

.mobile-fixed-menu a, .mobile-fixed-menu .sub-menu a  {
	font-family: 'myriadpro-semibold';
	font-size: 16px;	
	line-height: 35.556px;
}

.mobile-fixed-menu .sub-menu {
	display: none;
}



/************* MENUS RESPONSIVE **************/
@media( min-width: 768px) {
	.mobile-menu-container {
		width: 50%;
	}
}

@media( min-height: 650px) {
	.mobile-fixed-menu a, .mobile-fixed-menu .sub-menu a  {
		font-family: 'myriadpro-semibold';
		font-size: 24px;	
		line-height: 53.334px;
	}
}


/********************************************
***************** BANNER *******************
********************************************/

/* Background Image */
.main-picture {
	height: 100vh;
}

/* Banner Styling */
.header {
	width: 100%;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
}

.header-top, .header-bottom {
	position: relative;
	height: 50vh;
}

.header-top {
	background: rgba(16,20,47,1);	
}

.header-bottom {
	background: rgba(16,20,47,0.4);	
}

.header-top-content > .svg {
	width: 200px;
	position: absolute;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
}

.homepage-menu-row {
	height: 25vh;
}

.service-container {
	height: 100%;
	position: relative;
}

.service-menu, .header-top-content > h1, .services-intro > p, .contact-banner-bottom > p {
	display: inline-block;
	position: absolute;
	 -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    width: 90%;
    text-align: center;
}

#service1-container, #service3-container {
	border-right: 1px solid rgba(100,100,100,1);
}

#service1-container, #service2-container {
	border-bottom: 1px solid rgba(100,100,100,1);	
}

/* Banner text */
.header-top-content > h1 {
	font-family: "myriadpro-semibold";
	font-size: 24px;
	color: rgba(255,255,255,1);
}

.services-intro > p {
	font-family: "myriadpro-regular";
	font-size: 16px;
	line-height: 26.667px;
	color: rgba(255,255,255,1);
	width: 80%;
}

/************* BANNER RESPONSIVE **************/
@media( min-width: 768px) {
	.header {
		width: 50%;
	}
}


/********************************************
***************** HOMEPAGE ******************
********************************************/

.home .footer-wrapper {
	display: none;
}


/********************************************
***************** SERVICES ******************
********************************************/

.page-id-21 .services-information, .page-id-23 .services-information {
	display: none;
}

/* Services Accordions */
.services-information {
	padding: 100px 0;
}

.accordion {
	padding: 15px;
}

.accordion h3 {
	font-family: 'myriadpro-bold';
	display: inline-block;
	position: relative;
	font-size: 20px;
	cursor: pointer;
	border: 2px solid rgba(16,20,47,0);	
	padding-bottom: 2px;
	-webkit-transition: border-bottom 0.3s ease-in-out, padding 0.3s ease-in-out;
    -moz-transition: border-bottom 0.3s ease-in-out, padding 0.3s ease-in-out;
    -o-transition: border-bottom 0.3s ease-in-out, padding 0.3s ease-in-out;
    transition: border-bottom 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.accordion h3:hover {
	border-bottom: 2px solid rgba(16,20,47,1);
}

.accordion-title:focus {
	outline: 0;
}


/* Accordion Line */
.accordion-line-container {
	display: inline-block;
	position: absolute;
	left: -20px;
	top: -6px;
}

.accordion-line, .accordion-line:after {
	display: inline-block;
    width: 10px;
    height: 1px;
    background: rgba(16,20,47,1);
    left: 0px;
}

.accordion-line {
	position: relative;
}

.accordion-line:after {
	content:'';
	position: absolute;
	left: 0;
	transform: rotate(90deg);
}


/********************************************
***************** About ********************
********************************************/
.team-wrapper {
	text-align: center;
	background: rgba(242,241,238,1);
}

.team {
	max-width: 400px;
	max-height: 400px;
	margin: 0 auto 80px auto;
}

.team > img {
	width: 100%;
	height: auto;
	
}


/********************************************
***************** CONTACT *******************
********************************************/

/* Banner Contact */
.contact-banner > .main-picture {
	background-attachment: inherit;
}

.page-template-contact .contact-btn {
	display: none;
}

.page-template-contact .header-top, .page-template-contact .main-picture {
	height: 70vh;
}

.contact-banner-bottom {
	height: 30vh;
	text-align: center;
	position: relative;
}

.contact-banner-bottom > p {
	margin-bottom: 0;
	font-size: 20px;
}


/* Form */
.contact-form {
	position: relative;
	height: 800px;
	overflow: hidden;
}

.form-wrapper {
	display: inline-block;
	position: absolute;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%; 
    width: 90%;
}

div.wpcf7 .ajax-loader {
	display: none !important;
}

input, textarea, label {
	width: 100%;
}

input:focus, textarea:focus, label:focus {
	outline: 0;
}

input, textarea {
	border: 1px solid rgba(157,198,228,1);
}

textarea {
	height: 150px;
}

label {
	font-size: 12px;
	color: rgba(16,20,47,1);
	margin-bottom: 15px;
}

.wpcf7 {
	background: rgba(255,255,255,1);
	padding: 50px !important;
}

.wpcf7-submit {
	font-family: "myriadpro-bold";
	font-size: 12px;
	color: rgba(255,255,255,1);
	background: rgba(157,198,228,1);
}

.wpcf7-form-control {
	padding: 10px;
}

.wpcf7-response-output {
	text-align: center;
	border: none !important;
	margin: 15px !important;
}

.wpcf7-not-valid-tip {
	color: rgba(157,198,228,1) !important;
}

.form-background-img {
	height: 100%;
}

/************* CONTACT RESPONSIVE **************/

@media( min-width: 992px ) {
	.contact-form { 
		height: 500px;
	}
	
	#input-no-padding-left {
		padding-left: 0 !important;
	}
	
	#input-no-padding-right {
		padding-right: 0 !important;
	}
}







/********************************************
***************** FOOTER*********************
********************************************/
.footer-top, .footer-bottom {
	padding: 30px 0;
}

.footer {
	background: rgba(16,20,47,1);
}


/* Contact btn */
.contact-btn {
	text-align: center;
}

.contact-btn > a {
	width: 100%;
	line-height: 60px;
	height: 60px;
	border-radius: 0;
	padding: 0;
	display: inline-block;
	background: rgba(157,198,228,0.8);
	-webkit-transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    -o-transition: background 0.3s ease-in-out;
    transition: background 0.3s ease-in-out;
}

.contact-btn > a:hover {
	color: rgba(255,255,255,1);
	background: rgba(157,198,228,1);
}

/* Paragraph */
.footer-paragraph {
	margin: 0;
	font-size: 12px;
	color: rgba(136,138,151,1);
}


/* Footer Menu */
.footer-mobile {
	text-align: center;
}

.social-menu {
	padding: 40px 0;
}

.social-menu > li {
	padding: 15px 0;
}

.social-menu li a {
	color: rgba(136,138,151,1);
	border-bottom: 1px solid rgba(136,138,151,0);
	padding-bottom: 1px;
	-webkit-transition: border-bottom 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
    -moz-transition: border-bottom 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
    -o-transition: border-bottom 0.3s ease-in-out,padding-bottom 0.3s ease-in-out;
    transition: border-bottom 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
}

.social-menu li a:hover {
	border-bottom: 1px solid rgba(136,138,151,1);
}

.footer-bottom-mobile {
	display: inline-block;
}

#copyright-mobile {
	padding: 15px 0;
}


/************* FOOTER RESPONSIVE **************/
@media( min-width: 768px ) {
	.footer-mobile {
		display: none;
	}
	
	/* Paragraph */
	.footer-paragraph-title {
		font-family: 'myriadpro-semibold';
	}
	
	/* Footer Menu */
	.social-menu {
		text-align: right;
		padding: 0;
	}

	.social-menu li {
		display: inline-block;
		padding: 0 10px;
	}

	.social-menu li a {
		margin: 0;
		font-size: 12px;
	}
}

@media( max-width: 767px ) {
	.footer-desktop {
		display: none;
	}
}









