
/*  
Theme Name:Driving School
Theme URI:https://www.xintheme.com/
Description:Driving School...
Requires at least: 5.9
Tested up to: 6.0
Requires PHP: 7.2
Version:20230830
Author: Dahuzi｜XinTheme
Author URI: https://www.xintheme.com/
*/


/*reset.css*/
a,body,br,dd,div,dl,dt,form,h1,h2,h3,h4,h5,h6,hr,img,input,li,ol,p,table,td,textarea,th,tr,ul{padding:0;margin:0;font-family:PingFangSC-Regular,PingFang SC}
li,ol,ul{list-style:none}
a{text-decoration:none}
img{border:0;display:block;max-width:100%;height:auto}

button:focus:not(:focus-visible){box-shadow:none}
input{-webkit-appearance:none;outline:none;border-radius:0;-webkit-appearance:none}/*移除IOS默认样式*/
input::-ms-clear{display:none}
input::-webkit-search-cancel-button{display:none}
input[type=search]::-ms-clear{display:none}
/*
input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#F5F5F5;font-size:14px}
input:-moz-placeholder,textarea:-moz-placeholder{color:#F5F5F5;font-size:14px}
input::-moz-placeholder,textarea::-moz-placeholder{color:#F5F5F5;font-size:14px}
input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#F5F5F5;font-size:14px}
*/
:focus-visible{outline:none}

/*input's defult style*/
input{display:block;width:100%;background:#fff;border:none;border-radius:5px;height:46px}
input[type=checkbox]{width:16px;height:16px;background:#fff;border:1.5px solid rgba(4,18,38,.2)}
input:focus{outline:0!important;box-shadow:none!important}
textarea{padding:8px 10px;background:#fff;border-radius:5px;display:block;width:100%;border:1px solid #eee;-webkit-transition:all .4s ease;transition:all .4s ease}
select{padding:8px 10px;background:#fff;border:1px solid #fff;border-radius:5px;display:block;width:100%;-webkit-transition:all .4s ease;transition:all .4s ease;margin-bottom:0;height:45px}
select:focus{outline:0;border:1px solid #ff5235}

/*table's defult style*/
table tbody tr td,
table tbody tr th,
table tfoot tr td,
table tfoot tr th,
table thead tr td,
table thead tr th{border:1px solid #eee;padding:10px 10px}

*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
.text-overflow-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.text-overflow-ellipsis-2{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.d-permalink{bottom:0;left:0;outline:0;position:absolute;right:0;top:0;z-index:10}

body{background:#F5F5F6;width:100%}

.dahuzi-container{
	padding:0 16px;
	margin:0 auto
}

@media(min-width:1200px){
    .dahuzi-container{max-width:1232px}
}
@media(min-width:1400px){
    
}


/* -------------------------------------------------------------------------- */
/* header
/* -------------------------------------------------------------------------- */
.header-main{position:fixed;top:0;left:0;z-index:9999;width:100%;transition:all .25s ease-in-out}
.header-main.active{background:#111935cc;box-shadow:0 0 40px 0 hsla(0,0%,47%,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.header-main .dahuzi-container{display:flex;align-items:center}
.header-main .header-logo img{width:auto;height:57px}
.header-menu{margin-left:auto}
.header-menu ul{display:flex;align-items:center}
.header-menu ul li{margin-left:48px}
.header-menu ul li a{display:block;padding:28px 0;color:#fff;font-size:16px;line-height:19px}
.mobile-menu{display:none}

/* -------------------------------------------------------------------------- */
/* module-one
/* -------------------------------------------------------------------------- */
.module-one{padding:120px 0 105px;background:#111935}
.module-one .dahuzi-container{display:flex;align-items:center;justify-content:space-between}
.module-one .one-text{max-width:486px}
.module-one .one-text h2{color:#fff;font-size:54px;line-height:63px}
.module-one .one-text p{margin-top:12px;max-width:450px;color:#fff;font-size:16px;line-height:24px}
.module-one .one-text a{display:inline-block;margin-top:42px;padding:14px 42px;border:2px solid transparent;border-radius:2px;background:#ffcf01;color:#1a1a1a;font-weight:500;font-size:18px;font-family:PingFang SC-Medium,PingFang SC;line-height:21px}
.module-one .one-text a:hover{border:2px solid #ffcf01;background:0 0;color:#ffcf01}
.module-one .one-arrow{margin-top:200px;margin-right:auto;width:200px;height:102px;background:url(https://ezdrivingschool.oss-cn-hongkong.aliyuncs.com/wp-content/themes/Driving-School/assets/icons/banner-arrow.png) center center/cover}
.module-one .one-img{max-width:474px}
.module-one .one-img img{width:100%;height:auto}

/* -------------------------------------------------------------------------- */
/* module-two
/* -------------------------------------------------------------------------- */
.module-two{padding:60px 0}
.module-two .two-title{margin:0 auto;max-width:661px;text-align:center}
.module-two .two-title h2{color:#1a1a1a;font-weight:500;font-size:40px;font-family:PingFang SC-Medium,PingFang SC;line-height:47px}
.module-two .two-title p{margin-top:24px;color:#7e8890;font-weight:400;font-size:20px;line-height:30px}
.two-content{display:flex;margin:53px -15px 0}
.two-content .content-item{margin:0 15px;padding:62px 33px 44px;width:calc(33.33333% - 30px);background:#e8e9ef}
.two-content .content-item img{margin:0 auto;width:100%;height:auto}
.two-content .content-item h3{margin-top:35px;color:#1a1a1a;font-weight:500;font-size:22px;font-family:PingFang SC-Medium,PingFang SC;line-height:26px}
.two-content .content-item p{margin-top:8px;color:#7c7d80;font-weight:400;font-size:16px;line-height:22px}

/* -------------------------------------------------------------------------- */
/* module-three
/* -------------------------------------------------------------------------- */
.module-three{padding:60px 0}
.module-three .three-bg{display:flex;overflow:hidden;height:134px;border-radius:3px;background-position:left;background-size:cover;background-repeat:no-repeat;align-items:center;justify-content:center}
.module-three ul{display:flex;align-items:center;justify-content:center}
.module-three ul li{display:flex;margin-right:100px;align-items:center}
.module-three ul li:last-child{margin-right:0}
.module-three ul li span,
.module-three ul li a{color:#fff;font-weight:700;font-size:26px;line-height:30px}
.module-three ul li a:hover span{opacity:.8}
.module-three ul li img{display:inline-block;margin-right:20px;width:32px;height:auto}

/* -------------------------------------------------------------------------- */
/* module-four
/* -------------------------------------------------------------------------- */
.module-four{padding:60px 0}
.module-four .dahuzi-container{display:flex;justify-content:space-between;align-items:center}
.module-four .four-title{max-width:468px}
.module-four .four-title h2{margin-bottom:32px;color:#000;font-weight:600;font-size:40px;line-height:47px}
.module-four .four-title p{color:#7e8890;font-size:18px;line-height:27px}
.module-four .four-title a{display:inline-block;margin-top:54px;padding:14px 42px;border:2px solid transparent;border-radius:2px;background:#ffcf01;color:#1a1a1a;font-weight:500;font-size:18px;font-family:PingFang SC-Medium,PingFang SC;line-height:21px}
.module-four .four-title a:hover{border:2px solid #ffcf01;background:0 0;color:#ffcf01}
.module-four .four-img{max-width:524px}
.module-four .four-img img{height:auto;max-width:100%}

/* -------------------------------------------------------------------------- */
/* module-five
/* -------------------------------------------------------------------------- */
.module-five{padding:60px 0 120px}
.module-five .five-wrapper{display:flex;padding:50px;padding-right:140px;border-radius:4px;background:#fff;align-items:center;justify-content:space-between}
.module-five .five-form{max-width:640px}
.module-five .five-form h2{color:#1a1a1a;font-weight:500;font-size:28px;font-family:PingFang SC-Medium,PingFang SC;line-height:33px}
.module-five .five-form form{display:flex;margin-top:16px;width:640px;justify-content:space-between;align-items:flex-start}
.module-five .form-col{display:flex;width:300px;flex-wrap:wrap}
.module-five .form-col .form-item{display:block;margin-top:24px;width:100%}
.module-five .form-col .form-item span{color:#1a1a1a;font-weight:500;font-size:16px;font-family:PingFang SC-Medium,PingFang SC;line-height:19px}
.module-five .form-col .form-item input{margin-top:8px;padding:12px;height:44px;border:1px solid #dbdbdb;border-radius:4px 4px 4px 4px;color:#7e8890;font-size:16px;line-height:19px;opacity:1}
.module-five .form-col .form-item select{margin-top:8px;padding:12px;height:44px;border:1px solid #dbdbdb;border-radius:4px;background:url(https://ezdrivingschool.oss-cn-hongkong.aliyuncs.com/wp-content/themes/Driving-School/assets/icons/icon-down-arrow.png);background-position:right;background-size:10px;background-repeat:no-repeat;color:#7e8890;font-size:16px;line-height:19px;opacity:1;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;background-position-x:96%}
.module-five .form-col .form-item textarea{margin-top:8px;padding:12px;height:133px;border:1px solid #dbdbdb;border-radius:4px 4px 4px 4px;color:#7e8890;font-size:16px;line-height:19px;opacity:1}
.module-five .form-col .form-submit{width:100%;margin-top:26px}
.module-five .form-col .form-submit #form-messages{margin-bottom:16px;height:22px;color:#000;text-align:left;font-size:14px}
.module-five .form-col .form-submit button{display:block;padding:10px 42px;border:2px solid transparent;border-radius:2px;background:#ffcf01;color:#1a1a1a;font-weight:500;font-size:16px;font-family:PingFang SC-Medium,PingFang SC;line-height:19px;cursor:pointer}
.module-five .form-col .form-submit button:hover{border:2px solid #ffcf01;background:0 0;color:#ffcf01}
.module-five .five-qrcode{max-width:256px}
.module-five .five-qrcode img{height:auto;max-width:100%}
.module-five .five-qrcode h3{display:flex;margin-top:20px;color:#7e8890;text-align:center;font-size:20px;line-height:23px;align-items:center;justify-content:center}
.module-five .five-qrcode h3:after,.module-five .five-qrcode h3:before{display:inline-block;margin:0 13px;width:22px;height:10px;content:""}
.module-five .five-qrcode h3:before{background:url(https://ezdrivingschool.oss-cn-hongkong.aliyuncs.com/wp-content/themes/Driving-School/assets/icons/quote-l.png) center center/cover}
.module-five .five-qrcode h3:after{background:url(https://ezdrivingschool.oss-cn-hongkong.aliyuncs.com/wp-content/themes/Driving-School/assets/icons/quote-r.png) center center/cover}

/* -------------------------------------------------------------------------- */
/* footer
/* -------------------------------------------------------------------------- */
footer{background:#111935}
footer .footer-widget{display:flex;padding:60px 0;justify-content:space-between}
footer .footer-widget .widget-title{margin-bottom:24px}
footer .footer-widget .widget-title h3{color:#fff;font-weight:500;font-size:16px;font-family:PingFang SC-Medium,PingFang SC;line-height:19px}
footer .widget-contact{width:500px}
footer .widget-contact img{width:auto;height:56px}
footer .widget-contact ul{margin-top:24px}
footer .widget-contact ul li{display:flex;margin-bottom:16px;align-items:center}
footer .widget-contact ul li span{color:#dbdbdb;font-weight:500;font-size:18px;line-height:21px}
footer .widget-contact ul li a:hover span{color:#fff}
footer .widget-contact ul li img{display:inline-block;margin-right:16px;width:20px;height:auto}
footer .widget-menu{width:218px}
footer .widget-menu ul li{margin-bottom:16px}
footer .widget-menu ul li:last-child{margin-bottom:0}
footer .widget-menu ul li a{color:#8b90a1;font-size:16px;line-height:19px}
footer .widget-menu ul li a:hover{color:#fff}
footer .widget-statement{width:218px}
footer .widget-statement p{color:#8b90a1;font-weight:400;font-size:16px;line-height:19px}
footer .widget-statement img{margin-top:24px;width:auto;height:42px}
footer .footer-copyright{padding-top:42px;padding-bottom:60px;border-top:1px solid rgb(234 234 234 / 10%)}
footer .footer-copyright h3{color:#fff;font-weight:500;font-size:16px;font-family:PingFang SC-Medium,PingFang SC;line-height:19px}
footer .footer-copyright p{margin-top:17px;color:#9797af;font-size:12px;line-height:14px}

/*英文优化*/
html[lang=en-US] .module-one .one-text h2{font-size:40px;line-height:50px}
html[lang=en-US] .module-two .two-title h2{font-size:32px;font-weight:800}
html[lang=en-US] .module-four .four-title h2{font-size:34px;line-height:44px}
html[lang=en-US] .module-four .four-title h2 span{font-size:24px;line-height:34px}
html[lang=en-US] .module-four .four-title p br{display:none}
html[lang=en-US] .module-two .two-title{max-width:750px}
html[lang=en-US] .module-five .form-col .form-submit #form-messages{height:auto;min-height:22px}
html[lang=en-US] .module-five .form-col .form-submit{margin-top:4px}
html[lang=en-US] .module-five .form-col .form-submit button{width:142px;height:43px;padding:0}

/* -------------------------------------------------------------------------- */
/* Mobile
/* -------------------------------------------------------------------------- */
@media (max-width: 767px){

	/*header-main*/
	.header-main .dahuzi-container{justify-content:center}
	.mobile-menu{position:absolute;right:16px;display:block;margin-left:44px}
	.mobile-menu .icon-menu{display:block;width:32px;height:32px;background:url(https://ezdrivingschool.oss-cn-hongkong.aliyuncs.com/wp-content/themes/Driving-School/assets/icons/icon-menu.png) center center/cover}
	.header-main .header-logo img{height:45px}
	.header-menu{position:fixed;top:60px;left:0;z-index:99999;overflow:auto;padding:0 16px 16px;width:100%;height:100%;height:100vh;background:#fff;-webkit-transition:-webkit-transform .3s ease-in;-moz-transition:-moz-transform .3s ease-in;-o-transition:-o-transform .3s ease-in;transition:transform .3s ease-in;-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);-o-transform:translateX(-100%);transform:translateX(-100%);-webkit-overflow-scrolling:touch;-ms-transform:translateX(-100%)}
	.header-main{padding:8px 0}
	.header-menu.slidenav{-webkit-transform:translateX(0);-moz-transform:translateX(0);-o-transform:translateX(0);transform:translateX(0);-ms-transform:translateX(0)}
	.header-main .header-menu>ul{display:block}
	.header-main .header-menu>ul>li{margin-left:0;padding:16px 0;border-bottom:1px solid #e6ebf1}
	.header-main .header-menu>ul>li:last-child{border-bottom:none}
	.header-main .header-menu>ul>li>a{padding:0;color:#000}

	/*module-one*/
	.module-one{padding-top:99px;padding-bottom:47px}
	.module-one .dahuzi-container{flex-wrap:wrap}
	.module-one .one-text{width:100%;max-width:100%}
	.module-one .one-text h2{font-size:30px;line-height:35px}
	.module-one .one-text p{margin:24px auto 0;max-width:100%;font-size:14px;line-height:21px}
	.module-one .one-text a{margin-top:24px;padding:11px 48px;font-size:16px;line-height:19px}
	.module-one .one-arrow{display:none}
	.module-one .one-img{margin:48px auto 0;max-width:288px}

	/*module-two*/
	.module-two{padding-top:32px;padding-bottom:16px}
	.module-two .two-title{text-align:left}
	.module-two .two-title h2{font-size:24px;line-height:28px}
	.module-two .two-title p{margin-top:12px;font-size:14px;line-height:21px}
	.two-content{margin:32px 0 0;flex-wrap:wrap}
	.two-content .content-item{margin:0 0 16px;padding:16px;width:100%}
	.two-content .content-item img{max-width:205px}
	.two-content .content-item h3{margin-top:10px;font-size:16px;line-height:19px}
	.two-content .content-item p{font-size:14px;line-height:16px}

	/*module-three*/
	.module-three{padding:17px 0}
	.module-three .three-bg{overflow:hidden;height:102px;border-radius:3px;background-position:left;background-size:cover;background-repeat:no-repeat;transform:scaleX(-1)}
	.module-three ul{margin:0 16px;width:auto;transform:scaleX(-1);flex-wrap:wrap}
	.module-three ul li{margin-right:0;margin-bottom:24px;width:100%}
	.module-three ul li:last-child{margin-bottom:0}
	.module-three ul li span,
	.module-three ul li a{font-size:14px;line-height:16px}
	.module-three ul li img{margin-right:16px;width:16px}

	/*module-four*/
	.module-four{padding:32px 0}
	.module-four .dahuzi-container{flex-wrap:wrap}
	.module-four .four-title{max-width:100%}
	.module-four .four-title h2{margin-bottom:24px;font-size:24px;line-height:28px}
	.module-four .four-title p{font-size:14px;line-height:21px}
	.module-four .four-title a{margin-top:24px;padding:11px 49px;font-size:16px;line-height:19px}
	.module-four .four-img{margin-top:20px;max-width:275px}

	/*module-five*/
	.module-five{padding-top:0;padding-bottom:32px}
	.module-five .five-wrapper{padding:24px 16px;flex-wrap:wrap}
	.module-five .five-form{width:100%;max-width:100%}
	.module-five .five-form h2{font-size:18px;line-height:21px}
	.module-five .five-form form{margin-top:0;width:100%;flex-wrap:wrap}
	.module-five .form-col{width:100%}
	.module-five .form-col .form-submit{margin-top:24px;width:100%}
	.module-five .form-col .form-submit #form-messages{width:100%;height:auto}
	.module-five .form-col .form-submit button{width:100%}
	.module-five .five-qrcode{margin-top:24px;width:100%;max-width:100%}
	.module-five .five-qrcode h3{margin-top:16px;font-size:14px;line-height:16px}

	/*footer*/
	footer .footer-widget{padding-top:16px;padding-bottom:34px;flex-wrap:wrap}
	footer .widget-contact{margin-bottom:60px;width:100%}
	footer .widget-contact ul li a{color:#dbdbdb}
	footer .widget-menu{width:50%}
	footer .widget-statement{margin-top:32px;width:100%}
	footer .footer-copyright{padding-top:25px;padding-bottom:25px}

    /*英文版优化*/
    html[lang=en-US] .module-one .one-text h2{font-size:30px;line-height:35px}
    html[lang=en-US] .module-two .two-title h2{font-size:24px}
    html[lang=en-US] .module-four .four-title h2 span{font-size:18px;line-height:24px}
    html[lang=en-US] .module-four .four-title h2{font-size:24px;line-height:28px}

}



