/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* Theme customization starts here
------------------------------------------------------- */

@media (min-width: 981px){
	.et_right_sidebar #main-content .container:before{right:25.875% !important}
	#left-area{width:74.125%}
	#sidebar{width:25.875%}
	/*.et_pb_promo{ box-shadow: 3px 4px 8px -6px rgba(0,0,0,0.12);}*/
	/*.et_pb_promo:hover{ box-shadow: 3px 4px 12px -2px rgba(0,0,0,0.06);}*/
}


@media (max-width: 980px){
	.et_pb_row {
        width: 90%;
    }
    .et_pb_text_align_justified .wp-pagenavi{
        text-align: center;
    }
    .wp-pagenavi{
        position: relative;
        padding-top:2px;
    }
    .wp-pagenavi .pages{
        display: block;
        margin-bottom: 10px;
    }
    .wp-pagenavi .first{
        display: block;
        float: left;
        position: absolute;
        left:0;
        top:0;
    }
    .wp-pagenavi .last{
        display: block;
        float: right;
        position: absolute;
        right:0;
        top:0;
    }
    .wp-pagenavi a, .wp-pagenavi span{
        
    }
    .et_pb_number_counter_0.et_pb_number_counter, .et_pb_number_counter_1.et_pb_number_counter, .et_pb_number_counter_2.et_pb_number_counter, .et_pb_number_counter_3.et_pb_number_counter{
        border-style: none;
        height: 120px !important;
        padding-top: 30px !important;
        padding-bottom: 0px;
    }
    .et_pb_number_counter .percent p{
        font-size: 40px !important;
    }
}

.et_pb_row {
    width: 90%;
}
.et_pb_number_counter .percent p{
    font-size: 40px !important;
}

.et_pb_blog_grid .et_pb_post{
    box-shadow: 3px 4px 8px -6px rgba(0, 0, 0, 0.12);
}

.et_pb_blog_grid .et_pb_post .entry-title{
    height: 2.5em;
    display: block;
    line-height: 1.2em;
}
.et_pb_post.format-standard .entry-title{
    line-height: 1.2em;
}
.et_pb_post.format-standard h1.entry-title{
    font-size: 28px;
}

/* logo大小----------------------------------*/
#logo{
    max-height: 34% !important;
}

/* 滑动框样式 ---------------------------------------------------*/
input[type=submit] {
   padding: 10px 22px !important;
	font-size:16px;
}
input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], textarea {
    padding: 10px;
    width: 100%;
    font-size: 14px;
    font-family: inherit;
    line-height: 24px;
    color: #555;
    background-color: #f1f1f1;
    border: none;
    transition: all .2s ease;
}
.wpcf7-form input, .wpcf7-form textarea {
    border-radius: 4px;
}
.wpcf7 .wpcf7-submit:disabled{
    cursor: not-allowed;
    color: #eee;
}
.wpcf7 .wpcf7-submit:disabled:hover{
    border: 2px solid transparent;
    padding: .3em 2em .3em .7em;
    background-color: #eeeeee;
    color: #fff;
}
.wpcf7 .wpcf7-submit{
    font-size: 20px;
    font-weight: 500;
    padding: .3em 1em;
    line-height: 1.7em !important;
    background-color: transparent;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    border: 2px solid;
    border-radius: 3px;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-property: all !important;
    transition-property: all !important;
    display: inline-block;
    cursor: pointer;
    color: #2ea3f2;
    position: relative;
}

.wpcf7 .wpcf7-submit:hover{
    border: 2px solid transparent;
    padding: .3em 2em .3em .7em;
    background-color: #2ea3f2;
    color: #fff;
}
/* wpfc-slider-------------*/
.wpfc-slider-div {
    background: #e9e9e9;
    padding-bottom: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.wpfc-slider-div .wpfc-card-body {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
}
.wpfc-card-body {
    background: #e9e9e9;
    padding: 0;
    padding-right: 1px;
}
.wpfc-slidercaptcha.wpfc-card .wpfc-card-header {
    background-image: none;
    background-color: rgba(0, 0, 0, 0.03);
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    display: block;
    position: relative;
}
.wpfc-slidercaptcha {
    margin-bottom: 0;
    box-shadow: none;
    border-radius: 0;
    border: none;
    box-sizing: border-box;
}

/*style the Divi blog pagination buttons*/
 
.pagination .alignleft a,
.pagination .alignright a {
  color: #ffffff;
  background: #0071fc;
  border: 2px solid #0070fc;
  padding: .7em 1.3em;
  border-radius: 50px;
  text-transform: capitalize;
  transition: all 0.3s ease-in-out;
}
 
/*style the Divi blog pagination buttons on hover*/
 
.pagination .alignleft a:hover,
.pagination .alignright a:hover {
  background: transparent;
  color: #0070fc;
  border: 2px solid #0070fc;
  transition: all 0.3s ease-in-out;
}

/*style the wp-pagenavi pagination links*/
 
.wp-pagenavi a,
.wp-pagenavi span {
  color: #000000;
  background: #f1f3f5;
  font-size: 1em !important;
  line-height: 1em;
  font-weight: bold !important;
  padding: 5px 10px !important;
  margin: 0 2px;
  border-radius: 4px;
  transition: all .5s;
}
 
 
/*style the wp-pagenavi current page number*/
 
.wp-pagenavi span.current {
  color: #ffffff !important;
  background: #0070fc !important;
  border-radius: 4px;
}
 
 
/*style the wp-pagenavi pagination links on hover*/
 
.wp-pagenavi a:hover {
  color: #ffffff!important;
  background: #0070fc!important;
}
 
 
/*style the wp-pagenavi pages text*/
 
.wp-pagenavi .pages {
  background: none;
}
 
 
/*remove border and center the wp-pagenavi links*/
 
.wp-pagenavi {
  border-top: none;
  text-align: center;
}