/*
 Theme Name:     Nova Divi Child
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
body, h1, h2, h3, h4, h5, h6, input, textarea, select {
    font-family: Helvetica, Tahoma, Arial, STXihei, "华文细黑", "Microsoft YaHei", "微软雅黑", SimSun, "宋体", Heiti, "黑体", sans-serif !important;
}

#main-header, #et-top-navigation, .menu-item a, .et_pb_button.et_pb_bg_layout_dark {
	font-family: Helvetica, Tahoma, Arial, STXihei, "华文细黑", "Microsoft YaHei", "微软雅黑", SimSun, "宋体", Heiti, "黑体", sans-serif !important;
}

.et_pb_post_content_0_tb_body h1 {
	font-size: 35px !important;
}

.et_pb_post_content_0_tb_body h2 {
	font-size: 30px !important;
}

h4{
    font-size:1.2em !important;
}

h3{
    font-size:1.5em !important;
}

.et-fixed-header div#et-top-navigation{
    margin-bottom:-1em;
}
/*mobile menu background color */
#main-header, #main-header .nav li ul, .et-search-form, #main-header #mobile_menu{
    background-color:white;
}

#et_top_search {
    /*width: 10px;*/
    margin-left: 8em;
}

.sidebar-doc .switcher{
    visibility:hidden;
}

.fm-bar.fm-side-space {
    margin: 0px;
}

.home-float-wechat img{
    min-width:150px;
    min-height:150px;
}

.et_pb_blurb_position_left .et_pb_main_blurb_image img, .et_pb_blurb_position_right .et_pb_main_blurb_image img {
    width: inherit;
    height: 3.5em;
    object-fit: cover;
}
/*blockquote*/
.wp-block-pullquote p{
    font-size:18px;
}
.wp-block-quote.is-large p, .wp-block-quote.is-style-large p {
    font-size: 18px;
    font-style: normal;
    line-height: 1.6;
    padding: 20px;
}

blockquote{
    border: 1px solid #ec7392;
    border-radius: 3px;
    padding: 20px;
    margin: 0 0 20px 0;
    background: #99788a1a;
    color: #484b52;
    text-align: center;
    clear: both;
    font-size:18px;
}

blockquote a{
    color: #ec7392;
}

blockquote a:hover{
    color: #FC3C2D;
}

/*accordion*/
.question_accordion .et_pb_accordion_item {
    margin-bottom: 1em;
}

/*table*/
.wp-block-table{
    text-align: center;
    font-size: 18px;
    line-height: 30px;
    margin: 1em 0;
    color:black;
}
thead {
    background-color:#99788a;
    color:#0b0b0b;
    font-weight: 200;
}

tr, th {
    padding: 0.8em;
    font-size:14px;
    text-align: center;
    color: #fff;
    background-color: #5e4a55;
    border: 1px solid #333!important;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd){
    color:white
}
.wp-block-table.is-style-stripes tbody tr:nth-child(even){
    color:white
}

tr, td {
    padding: 0.8em;
    font-size:14px;
    text-align: center;
    color: #0b0b0b;
    background-color: #fff;
    border: 1px solid #333!important;
    font-weight: normal;
}

/*side bar menu*/
.sidebar-fixed{
    position: fixed;
    left: 1034.53px;
    top: 130px;
    width: 300px;
    margin-left: 0px;
    padding: 20px 20px;
    margin-top: 0px;
    z-index: 99998;
}
.sidebar-header{
    text-align: left;
    font-weight: 600;
    margin-bottom: 1em;
}
.et_pb_fullwidth_menu .et_pb_menu__menu, .et_pb_fullwidth_menu .et_pb_menu__menu>nav, .et_pb_fullwidth_menu .et_pb_menu__menu>nav>ul, .et_pb_menu .et_pb_menu__menu, .et_pb_menu .et_pb_menu__menu>nav, .et_pb_menu .et_pb_menu__menu>nav>ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    flex-direction: column;
    overflow-y: auto;
    flex-wrap: nowrap;
    max-height: 70vh;
    overflow-x: hidden;
    cursor:pointer;
}
.sidebar-menu-divider{
    margin-top: -1.8em;
    margin-left: 5em;
    margin-bottom:1em;
    content: '';
    border-top: 2px solid rgba(0,0,0,.05);
}
/*blog post setting*/
.category2 .et_pb_post .post-meta a[rel=tag]{
    background: #ec7392!important;
    color: #fff!important;
    padding: 2px 8px;
    border-radius: 2px;
    position: absolute;
    top: 135px;
    left: 88px;
    font-size: 11px;
}
.post_content_1 h1,h2,h3,h4,h5,h6 {
    margin:1em 0 .5em 0;
}
.post_content_1 p{
    margin:.5em 0;
}
.post_content_1 table{
    margin:.5em 0;
}

.et_pb_blurb_container h4,h5,h6{
    margin:0;
    padding:0;
}

.test-post .et_pb_post.et_pb_post_extra:hover{
    border-width: 1px!important;
    border-style: dashed!important;
    border-color: #d6d6d6!important;
    box-shadow: 0px 2px 8px -3px rgba(0,0,0,0.3);
}

/*homepage four posts layout settings*/
.et_pb _column_2_3 .et_pb_post_extra.el_dbe_full_width_background .post-content, .et_pb_column_3_4 .et_pb_post_extra.el_dbe_full_width_background .post-content {

    width: 70%;
    padding: 0 20px 40px;
    margin-top: 15em;
    margin-right: 15em;
}
.first-post .post-categories{
    text-align: center;
}

.home-post .et_pb_post a img {
    max-height: 150px;
}
.et_pb_row {
    width: 100%;
}

.et_pb_section{
    padding:0;
}

.et_pb_post_extra.el_dbe_grid_extended .post-categories a {
    border-radius: 4px 4px 4px 4px;
}
.home-4-post.et_pb_post_extra .post-categories {
    width: 100%;
    text-align: center;
    border-radius: 3px 3px 3px 3px;
}

.home-4-post .post-categories{
    margin-top:8em;
}
.home-4-post .post-media img{
    max-width:100%;
    max-height:150px;
    border-radius: 5px 5px 5px 5px;
    /*overflow: hidden;*/
    /*box-shadow: 0 2px 18px 0 rgba(0,0,0,.3);*/
    /*transition: filter 300ms ease 0ms;*/
}

.et_pb_post_extra.el_dbe_full_width_background .post-media {
    height:450px;
}

/*COMMENTS*/
@media (min-width: 768px) {
    body:not(.logged-in) #comment {
        max-width: 50%;
        float: right;
        margin-top: 10px;
        height: 172px;
    }

    .children .comment.depth-2 {
        margin-left: 30px;
    }

    .comment .children {
        margin-left: 0px;
    }

    .comment .children .comment_avatar img {
        max-width: 60px;
    }

    .comment .children .comment_avatar {
        margin-left: 0px;
    }

}

@media (max-width: 767px) {
    .comment-reply-link {
        bottom: -20px !important;
        top: auto !important;
    }

    .comment_area {
        padding-bottom: 40px;
    }

    .comment_avatar {
        max-width:50px
    }

    .comment_postinfo, .comment-content.clearfix {
        margin-left: -10px;
    }
}

/*GENERAL*/
@media screen and (max-width: 980px){
    /*post*/

    .et_pb_blog_extras_1 .et_pb_post.et_pb_post_extra {
        padding: 80px 0;
    }

    .first-post .post-meta {
        padding-bottom: 50px;
    }

}
@media screen and (min-width: 981px) {
    /*POST*/

    /*.et_pb _column_2_3 .et_pb_post_extra.el_dbe_full_width_background .post-content, .et_pb_column_3_4 .et_pb_post_extra.el_dbe_full_width_background .post-content {*/
    /*    margin-top: 14em;*/
    /*    margin-right: 15em;*/
    /*}*/
    /*footer*/
    #footer-widgets {
        padding: 3% 0 0 0;
    }
    .footer-widget #text-3{
        margin-top:.3em;
    }

    .et_pb_gutters3.et_pb_footer_columns2 .footer-widget .fwidget {
        margin-bottom: 3em;
        margin-right: 2em;
    }

    .et_pb_gutters3 .footer-widget {
         margin-bottom: 0;
    }
}

@media only screen and (max-width: 767px){
    #footer-widgets .footer-widget .fwidget, #footer-widgets .footer-widget:nth-child(n) {
        margin-bottom: 9.5%!important;
        margin-right: 0;
    }

    .category2 .et_pb_post .post-meta a[rel=tag]{
        background: #ec7392!important;
        color: #fff!important;
        padding: 2px 8px;
        border-radius: 2px;
        position: absolute;
        top: 0px;
        left: 0px;
        font-size: 11px;
        margin:1em;
    }

    /*footer{*/
    /*    margin-top:5em;*/
    /*}*/

    /*BLOG POST IMAGE*/
    /*.et_pb_post_extra.el_dbe_block_extended .post-media img {*/
    /*    display: block;*/
    /*    width: 100%;*/
    /*    max-height: 200px;*/
    /*    object-fit: cover;*/
    /*}*/


}


/* GTranslate styling */
.switcher {
	font-family:Arial;
	font-size:10pt;
	text-align:left;
	cursor:pointer;
	overflow:hidden;
	width:90px;
	line-height:17px;
	margin-top:-1.2em;
}

.switcher a {
	text-decoration:none;
	display:block;
	font-size:10pt;
	-webkit-box-sizing:content-box;
	-moz-box-sizing:content-box;
	box-sizing:content-box;
}

.switcher a img {
	vertical-align:middle;
	display:inline;
	border:0;
	padding:0;
	margin:0;
	opacity:0.8;
}

.switcher a:hover img {
	opacity:1;
}

.switcher .selected {
	background:#FFF0;
	position:relative;
	z-index:9999;
}

.switcher .selected a {
	border:0px;
	background:url(//meiguodaiyun.com/wp-content/plugins/gtranslate/arrow_down.png) 88px center no-repeat;
	color:#fff;
	padding:3px 5px;
	width:88px;
}

.switcher .selected a.open {
	background-image:url(//meiguodaiyun.com/wp-content/plugins/gtranslate/arrow_up.png)
}

.switcher .selected a:hover {
	background: url(//meiguodaiyun.com/wp-content/plugins/gtranslate/arrow_down.png) 88px center no-repeat;
}

.switcher .option {
	position:relative;
	z-index:9998;
	border:0px;
	background-color:#fff;
	color:#000;
	display:none;
	width:100px;
	max-height:198px;
	box-shadow: 0 2px 5px rgba(0,0,0,.1);
	-webkit-box-sizing:content-box;
	-moz-box-sizing:content-box;
	box-sizing:content-box;
	overflow-y:auto;
	overflow-x:hidden;
}

.switcher .option a {
	color:rgba(0,0,0,.6)!important;
	padding:8px 5px;
}

.switcher .option a:hover {
	background:#FFC0;
}

.switcher .option a.selected {
	background:#ec7392;
}

#selected_lang_name {
	float: none;
}

.l_name {
	float: none !important;
	margin: 0;
}

.switcher .option::-webkit-scrollbar-track{
	-webkit-box-shadow:inset 0 0 3px rgba(0,0,0,0.3);
	border-radius:5px;
	background-color:#fff0;
}

.switcher .option::-webkit-scrollbar {
	width:5px;
}

.switcher .option::-webkit-scrollbar-thumb {
	border-radius:5px;
	-webkit-box-shadow: inset 0 0 3px rgba(0,0,0,.3);
	background-color:#888;
}


/* fix首页换行重叠*/
/*.et_pb_column.et_pb_column_4_4.et_pb_column_inner.et_pb_column_inner_1.et-last-child .entry-title {*/
    /*line-height: auto!important;*/
/*}*/

/* 首页字间距字大小调整  */
.et_pb_post_extra h4.entry-title {
    line-height: 22px;
}

h3.entry-title a {
    font-size: 17px;
}

h1.block-heading__title strong {
    font-size: 18px;
}

.post-media .post-content  h2.entry-title a {
    line-height: 38px;
}

#main-footer .container {
    max-width: 2000px;
}