@media screen and (max-width:1430px) {
    header .nav .menu .sub-menu {
        left: 50%;
        right: 0px;
        transform: translateX(-50%);       
    }
    header .nav .menu li:last-child .sub-menu {
        transform: translateX(0%);
        left: auto;
    }
}
@media screen and (max-width:1334px) {
    header .nav .menu .sub-menu {
        left: auto;
        right: 0px;
        transform: translateX(0%);       
    }
    header .nav .menu a{
        font-size: 15px;
        padding:  10px 25px;
    }
    header .nav .menu > li > .fa {
        right: 5px;
    }
}
@media screen and (max-width: 1168px) {
    header .nav .menu a {
        font-size: 14px;
        padding: 10px 20px;
    }
    .fa.fa-chevron-down {
        font-size: 10px;
        right: 2px;
        top: 36px;
        width: 17px;
    }
}

@media screen and (max-width: 1138px) {
    .logo-img {
        max-width: 400px;
    }
    .listSocials li a {
        margin-left: 25px;
    }
    .siderbar-footer.wrap-siderbar-2 {
        margin: 0 25px;
    }
    header .nav .menu>li>.fa {
        right: 0px;
        top: 37px;
    }
    header .nav .menu .sub-menu {
        right: 0px;
        left: auto;
    }
    .block-map .content-map {min-height: 185px;}
    .siderbar-footer .mc4wp-form .mc4wp-form-fields p input[type="email"] {padding-left: 15px;}
    header .nav .menu .sub-menu a {
        padding: 10px 15px;
    }
    header .nav .menu li .sub-menu {
        left: 0
    }
    header .nav .menu li:last-child .sub-menu {
        right: 0;
        left: auto;
    }
}

@media screen and (max-width: 992px) {

    header .inner-top {
        flex-direction: column;
    }
    .socials {
        margin-top: 15px;
    }
    .listSocials li a {
        margin-left: 18px;
    }
    header .nav .menu a {
        padding: 10px 12px;
    }
    .fa.fa-chevron-down {
        right: 1px;
        top: 37px;
        width: 10px;
        font-size: 8px;
    }
    .siderbar-footer .inner-info img {
        max-height: 160px;
    }
    .siderbar-footer .inner-info>span a {

        font-size: 15px;
    }
    .socials-footer .listSocials li a {

        width: 35px;
        height: 35px;
        line-height: 35px;
        margin-left: 8px;
    }
    .siderbar-footer.wrap-siderbar-2 {
        margin: 0 15px;
    }
    .title-footer {

        font-size: 16px;
    }

    #menu-menu-footer {
        font-size: 13px;
    }
    .logo-img {
        max-width: 300px;
    }
    .wrap-siderbar {
        display: block;
    }
    .siderbar-footer.wrap-siderbar-3 {
        margin-top: 25px;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
        width: 100%;
        max-width: none;
    }
    .siderbar-footer .menu {
        justify-content: space-evenly;
    }
    .siderbar-footer.wrap-siderbar-2 {
        margin: 0 auto;
        width: 100%;
        max-width: none;
    }
    #mc4wp_form_widget-2 {
        text-align: center;
    }
    .siderbar-footer .mc4wp-form .mc4wp-form-fields {
        justify-content: center;
    }
    .siderbar-footer.wrap-siderbar-1 {
        margin: 0 auto;
    }
    .inner-info {
        text-align: center;
    }
    .siderbar-footer .inner-info>span {
        justify-content: center;
    }
    .socials-footer .listSocials {
        justify-content: center;
    }
    .fb_iframe_widget,
    .fb_iframe_widget span,
    .fb_iframe_widget span iframe[style] {
        width: 500px!important;
    }
    .siderbar-footer .menu {
        margin-top: 25px;
        padding-top: 25px;
    }
    .copyright {
        margin-top: 25px;
    }
    .menu-mobi {
        display: block;
        text-align: right;
        padding-right: 15px;
    }
    .menu-mobi .fa {
        width: 35px;
        height: 35px;
        text-align: center;
        line-height: 33px;
        font-size: 24px;
        margin: 5px 0px;
        border: 1px solid #619f23;
        color: #619f23;
        border-radius: 3px;
        cursor: pointer;
    }
    header .nav {
        display: block;
    }
    header .nav .menu-primary-menu-container, header .nav .menu-primary-menu-english-container {
        position: fixed;
        right: 0px;
        top: 0px;
        height: 100%;
        z-index: 99999;
        width: 320px;
        visibility: visible;
        opacity: 1;
        display: block;
        background: #fefefe;
        padding: 50px 5px 0px;
        overflow: auto;
        transform: translate3d(320px, 0px, 0px);
        -o-transform: translate3d(320px, 0px, 0px);
        -ms-transform: translate3d(320px, 0px, 0px);
        -moz-transform: translate3d(320px, 0px, 0px);
        -webkit-transform: translate3d(320px, 0px, 0px);
        -webkit-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }
    header .nav .menu-primary-menu-container.show-menu, header .nav .menu-primary-menu-english-container.show-menu {
        transform: translate3d(0px, 0px, 0px);
        -o-transform: translate3d(0px, 0px, 0px);
        -ms-transform: translate3d(0px, 0px, 0px);
        -moz-transform: translate3d(0px, 0px, 0px);
        -webkit-transform: translate3d(0px, 0px, 0px);
        -webkit-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }
    #menu-primary-menu, #menu-primary-menu-english {
        display: block;
    }
    header .nav .menu>li {
        padding: 0px;
    }
    header .nav .menu-primary-menu-container>.fa, header .nav .menu-primary-menu-english-container>.fa {
        display: block;
        position: absolute;
        top: 7.5px;
        width: 35px;
        height: 35px;
        text-align: center;
        border: 1px solid #619f23;
        font-size: 20px;
        border-radius: 100%;
        line-height: 33px;
        left: 10px;
        color: #619f23;
        cursor: pointer;
        z-index: 999;
    }
    header .nav .menu>li>.fa {
        top: 12px;
        font-size: 16px;
        right: 20px;
    }
    header .nav .menu .sub-menu {
        right: 0px;
        left: auto;
        position: initial;
        opacity: 1;
        visibility: visible;
        width: 100%;
        box-shadow: none;
        display: none
    }
    header .nav .menu .sub-menu a {
        padding: 10px 15px;
        line-height: 20px;
        font-size: 14px;
        border-bottom: 1px solid #d9d9d9;
        border-radius: 0;
        background: #fefefe;
        border-top: 0px;
    }
    .scrollTop .fa {
        right: 15px
    }
    #sider-right .title-h4 {
        margin-bottom: 20px;
       /*  margin-top: 30px; */
    }
    #sider-right .widget {
        margin-bottom: 25px;
    }
    .title-h4 {
        font-size: 18px;
    }
    .listViews .item {
        margin-bottom: 25px;
    }
    .listViews .item .wrap-title {
        padding: 15px;
    }
    .listViews .item .title-h6 a {
        font-size: 15px;
        line-height: 22px;
        margin-bottom: 10px;
    }
    span.more>a {
        font-size: 15px;
    }
    .widget-socials {
        padding: 15px;
    }
    #sider-right .widget:last-child {
        padding-top: 25px;
    }
    .listPopular .item {
        padding: 15px 0;
    }
    .listPopular .item>a {
        max-width: 100%;
    }
    .listPopular .item .title-h6 a {
        padding-top: 10px;
        padding-left: 0px;
    }
    .widget-socials ul {
        margin-top: 10px;
        justify-content: center;
    }
    .listSocials li a {
        margin-left: 10px;
    }
    .listPopular .item {
        flex-direction: column;
    }
    #sider-right .fb_iframe_widget,
    #sider-right .fb_iframe_widget span,
    #sider-right .fb_iframe_widget span iframe[style] {
        width: 100%!important;
    }
    .block-banner .table {
        display: block;
    }
    .block-banner .desktop {
        display: none;
    }
    /*begin page 404*/
    #page-404 {
        padding: 150px 0;
    }
    /*end page 404*/
    /*begin Category*/
    .page-sidebar>.container {
        padding-top: 25px;
        padding-bottom: 50px;
    }
    .contentPost {
        padding: 15px;
    }
    .contentPost .date {
        font-size: 15px;
        margin: 15px 0;
    }
    .contentPost p {
        font-size: 15px;
        line-height: 20px;
    }
    .block-item .title-h4 {
        font-size: 15px;
    }
    .ajaxPost .itemPost .contentPost {
        min-height: 290px;
    }
    .ajaxPost .more {
        bottom: 10px;
    }
    .title-h4 a {
        line-height: 20px
    }
    /*end Category*/
    /*begin giới thiệu*/
    .itemAupair span.more {
        margin-top: 20px;
    }
    /*end giới thiệu*/
    /*begin liên hệ*/
    .page-template-page-lien-he .page-sidebar>.container {
        padding-top: 60px;
    }
    .content-logo .img img {
        margin: 0px auto 40px;
    }
    .block-map.section-block {
        padding: 80px 0;
    }
    .page-sidebar .block-map.section-block .col-sm-6:last-child {
        padding-top: 80px;
    }
    .wrap-form-contact .wpcf7-form-control {
        margin-top: 20px;
    }
    /*end liên hệ*/
    /*begin dịch vụ*/
    .header-title {
        padding: 40px 0px 60px;
    }
    .title-h3 {
        font-size: 25px;
        line-height: 25px;
    }
    .title-h3::after {
        margin: 25px auto;
    }
    .list-services .content-item {
        padding-left: 40px;
    }
    .list-services .content-item p {
        margin: 20px 0;
        font-size: 15px;
    }
    .list-services .item {
        margin-top: 70px;
    }
    .list-services .images {
        min-width: 400px;
    }
    .list-services .item:nth-child(2n) .content-item {
        padding-right: 40px;
    }
    .list-services .images::before {
        height: 270px;
        top: 70%;
    }
    .block-promise {
        padding: 60px 15px;
        margin-top: 80px;
    }

    /*end dịch vụ*/
    /*begin đăng kí*/
    .page-template-page-dang-ky-aupair .content-dangky {
        padding: 50px 0;
    }
    /*end đăng kí*/
    .block-map .content-map {min-height: 100%;}
    #widget_view_post-3 .listViews .block-item .images {
        width: 100%;
        float: none;
        margin-right: 0px;
        margin-bottom: 10px;
    }
    .menu-mobi .fa {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 9999;
    }
    .fb_customer_chat_bubble_animated_no_badge{
        z-index: 999 !important;
    }
}
@media screen and (max-width: 768px) {
    .itemPost .images img.crop_img_370_250 {
        height: auto;
    }
}
@media screen and (max-width: 736px) {
    .page-template-page-dang-ky-aupair .form-dk .wpcf7-form-control.wpcf7-submit {
        margin-left: auto;
        margin-right: auto;
    }
    .search-form .fa {
        width: 32px;
        line-height: 30px;
    }
    .logo-img {
        max-width: 250px;
    }
    footer {
        padding: 50px 0 0;
    }
    footer .wrap-info {
        margin-bottom: 40px;
    }
    .siderbar-footer .menu {
        margin-top: 40px;
        padding-top: 40px;
    }
    .siderbar-footer .menu ul {
        margin-top: 15px;
    }
    .siderbar-footer .menu ul a {
        margin-top: 10px;
    }

    .search-form .searchform {
        width: 280px;
        right: -20px;
    }
    .search-form .searchform .search-submit {
        right: -10px
    }
    .search-form .close::before {
        right: -10px
    }

    /*begin page 404*/
    #page-404 {
        padding: 100px 0;
    }
    .title-h2 {
        font-size: 35px;
        line-height: 35px;
    }
    .searchform input {
        min-width: 300px;
    }

    /*end page 404*/
    /*begin page hỏi đáp*/
    .content-banner .title-h2 {
        font-size: 30px;
    }
    .block-banner .breadcrumb {
        margin: 25px 0 0;
    }
    .page-question {
        padding: 20px 0;
    }
    /*end page hỏi đáp*/
    /*begin Category*/
    .ajaxPost .itemPost .contentPost {
        min-height: auto;
    }
    .ajaxPost .more {
        position: initial;
        margin-top: 15px;
    }
    .contentPost .title-h4 a {
        letter-spacing: 0
    }
    .title-single::before {
        margin-bottom: 0
    }
    .title-search {
        margin-bottom: 25px;
    }
    /*end Category*/
    /*begin liên hệ*/
    .content-logo .img img {
        max-width: 100%;
        margin: 0px auto 30px;
    }
    .block-map.section-block {
        padding: 40px 0;
    }
    .page-sidebar .block-map.section-block .col-sm-6:last-child {
        padding-top: 40px;
    }
    .gm-style-pbt {
        font-size: 18px;
    }
    /*end liên hệ*/
    /*begin dịch vụ*/
    .list-services .item {
        flex-direction: column;
        justify-content: start;
        align-items: start;
        align-content: start;
    }
    .list-services .images::before {
        height: 370px;
        top: 52%;
    }
    .list-services .images {
        min-width: 100%;
    }
    .list-services .content-item {
        padding-left: 0;
        margin-top: 25px;
    }
    .header-title .description {
        font-size: 15px;
        line-height: 20px;
    }
    .description p {
        margin: 0 0 5px;
    }
    .header-title {
        padding: 30px 0;
    }
    .list-services .item {
        margin-top: 40px;
    }
    .list-services .item:nth-child(2n) {
        flex-direction: column;
    }
    .block-promise {
        padding: 50px 0;
        margin-top: 40px;
    }
    .list-services .item:nth-child(2n) .content-item {
        padding-right: 0;
    }
    /*end dịch vụ*/
    /*begin thư ngõ*/
    .content-page .content-text {
        font-size: 15px;
    }
    /*end thư ngõ*/
    /*begin đăng kí*/
    .page-template-page-dang-ky-aupair .content-dangky {
        padding: 20px 0;
    }
    .page-template-page-dang-ky-aupair {
        font-size: 15px;
    }
    .page-template-page-dang-ky-aupair .form-dk .your-care .wpcf7-list-item,
    .page-template-page-dang-ky-aupair .form-dk .your-know .wpcf7-list-item,
    .page-template-page-dang-ky-aupair .form-dk .your-language .wpcf7-list-item {
        font-size: 15px;
    }
    .page-template-page-dang-ky-aupair .form-dk p>label {
        width: 100%;
        float: none;
    }
    .page-template-page-dang-ky-aupair .form-dk p>span {
        width: 100%;
        margin-left: 0;
        float: none;
    }
    .page-template-page-dang-ky-aupair .form-dk  p.birthday>span {
    	margin-left: 20px;
    }
    .page-template-page-dang-ky-aupair .form-dk  p.birthday>span:first-of-type {
    	margin-left: 0;
    }
    .page-template-page-dang-ky-aupair .form-dk .review > label {
        width: 100%;
        float: none;
    }
    .page-template-page-dang-ky-aupair .form-dk .review table {
        width: auto;
        margin: 0 auto;
        float: none;
    }
    .page-template-page-dang-ky-aupair .form-dk label[for="other-lang"] {
        left: calc(50% + 28px);
        width: auto;
    }
    .page-template-page-dang-ky-aupair .form-dk label[for="other-know"] {
        left: calc(0% + 31px);
        width: auto;
    }
    /*end đăng kí*/
    .single .featured {
        margin-top: 30px;
    }
}
@media screen and (max-width: 568px) {
    .info a {
        display: none;
    }

    .info .link_register {
        display: block;
        margin-left: 0px
    }

    .logo-img {
        max-width: 200px;
    }

    .info span:first-child {
        margin-right: 10px;
    }

    .info span:last-child {
        margin-left: 10px;
    }

    .link_register {
        display: none;
    }

    .info span:last-child {
        margin-left: 8px;
    }

    .logo-img {
        max-width: 180px;
    }

    footer {
        padding: 35px 0 0;
    }

    footer .wrap-info {
        margin-bottom: 30px;
    }

    .siderbar-footer .menu {
        margin-top: 25px;
        padding-top: 25px;
    }

    .siderbar-footer .menu ul {
        margin-top: 10px;
    }

    .siderbar-footer .menu ul a {
        margin-top: 8px;
    }

    .siderbar-footer .inner-info img {
        width: 100%;
        max-height: 100%;
    }

    .fb_iframe_widget,
    .fb_iframe_widget span,
    .fb_iframe_widget span iframe[style] {
        width: 100% !important;
    }

    header .inner-top .info a.link_register {
        color: #fff;
    }
    header .inner-top .info a.link_register:hover {
        color: #619f23;
    }
    .block-banner .table {
        display: none;
    }

    .block-banner .mobi {
        display: block;
    }

    .search-form .searchform {
        right: -32px
    }

    .search-form .close::before {
        right: 0px;
    }

    .search-form .searchform .search-submit {
        right: 0px;
    }
    /*begin page 404*/
    #page-404 {
        padding: 80px 0;
    }

    .title-h2 {
        font-size: 30px;
        line-height: 30px;
    }

    .searchform input {
        min-width: 250px;
        height: 35px;
        line-height: 35px;
        padding: 0 10px;
    }
    /*end page 404*/
    /*begin page hỏi đáp*/
    .breadcrumb {
        padding: 7px;
    }

    .page-question {
        padding: 10px 0;
    }

    .item-question .questions {
        font-size: 15px;
        line-height: 20px;
        padding: 12px;
        padding-right: 40px;
    }

    .item-question .questions::after {
        font-size: 15px;
    }

    .item-question .answer {
        font-size: 15px;
        padding: 15px;
    }
    /*end page hỏi đáp*/
    /*begin Category*/
    .contentPost .date {
        font-size: 14px;
        margin: 10px 0;
    }

    .contentPost p {
        font-size: 14px;
        line-height: 18px;
    }
    /* .block-item .title-h4 {
        font-size: 14px;
    } */
    .loadingMore {
        line-height: 10px;
        padding: 12px 20px;
    }
    /*end Category*/
    /*begin giới thiệu*/
    .itemAupair.twoItem {
        flex-direction: column;
        justify-content: start;
        align-items: start;
        align-content: start;
    }
    .itemAupair.twoItem>.item:last-child {
        margin-left: 0;
    }
    /*end giới thiệu*/
    /*begin liên hệ*/
    .hotline span>* {
        font-size: 14px;
    }
    .hotline span {
        margin-top: 5px;
    }

    .block-map .title-h5 {
        font-size: 20px;
        line-height: 20px;
        margin-bottom: 15px;
    }
    .content-map .phone {
        margin-top: 5px;
    }
    .block-map .content-map {
        margin-bottom: 20px;
    }
    .block-map .address {
        font-size: 15px;
    }
    .content-map .phone a {
        font-size: 15px;
    }
    .wrap-form-contact .wpcf7-form-control {
        font-size: 15px;
        line-height: 18px;
        padding: 12px 15px;
        margin-top: 15px;
    }
    .block-section.form-contact .title-h5 {
        font-size: 20px;
        line-height: 20px;
        margin-bottom: 15px;
    }
    .wrap-form-contact .wpcf7-form-control.wpcf7-submit {
        padding: 10px 30px;
    }
    .block-map .map-google iframe {
        height: 300px;
    }
    .gm-style-pbt {
        font-size: 16px;
    }
    /*end liên hệ*/
    /*begin dịch vụ*/
    .header-title .description {
        font-size: 14px;
    }

    .header-title .description {
        font-size: 14px;
        line-height: 20px;
    }

    .list-services .images::before {
        height: 88%;
        top: 6%;
        margin-top: 0;
    }

    .block-promise {
        padding: 30px 0;
        margin-top: 30px;
    }
    .title-h3 {
        font-size: 23px;
        line-height: 23px;
    }
    section .description {
        font-size: 14px;
    }
    /*end dịch vụ*/
    /*begin about us*/
    .content-page .content-text {
        font-size: 15px;
    }
    /*end about us*/
    /*begin thư ngõ*/
    .content-page .content-text {
        font-size: 14px;
    }
    /*end thư ngõ*/
    .block-banner .breadcrumb span a:nth-child(2) {
        display: none
    }
    .block-banner .breadcrumb {
        display: none;
    }
    /*begin đăng kí*/
    .page-template-page-dang-ky-aupair {
        font-size: 14px;
    }
    .page-template-page-dang-ky-aupair .form-dk .your-care .wpcf7-list-item,
    .page-template-page-dang-ky-aupair .form-dk .your-know .wpcf7-list-item,
    .page-template-page-dang-ky-aupair .form-dk .your-language .wpcf7-list-item {
        font-size: 14px;
    }

    .page-template-page-dang-ky-aupair .form-dk label[for="other-lang"] {
        left: 0;
        margin-left: 30px;
        bottom: 0;
    }
    .page-template-page-dang-ky-aupair .form-dk label[for="other-know"] {
        left: 0;
        margin-left: 30px ;
        bottom: 0
    }
    .page-template-page-dang-ky-aupair .form-dk .your-care .wpcf7-list-item,
    .page-template-page-dang-ky-aupair .form-dk .your-know .wpcf7-list-item,
    .page-template-page-dang-ky-aupair .form-dk .your-language .wpcf7-list-item {
        width: 100%;
        /*end đăng kí*/
    }
    .featured .date {
        margin: 10px 0px;
    }
    .content-single p {
        font-size: 14px;
        text-align: justify
    }
}
@media screen and (max-width: 382px) {
    .logo-img {
        max-width: 250px;
    }

    .listSocials li a {
        margin-left: 7px;
    }

    .copyright {
        font-size: 14px;
    }



    .siderbar-footer .mc4wp-form .mc4wp-form-fields p input[type="email"] {
        padding: 0 15px;
        line-height: 35px;
    }

    .siderbar-footer .mc4wp-form .mc4wp-form-fields p input[type="submit"] {
        line-height: 35px;
        height: 35px;
        font-size: 11px;
    }

    .siderbar-footer .mc4wp-form .mc4wp-form-fields {
        font-size: 13px;
    }

    .siderbar-footer .menu {
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    #menu-item-83 {
        margin-top: 15px;
    }
    /*begin page 404*/
    #page-404 {
        padding: 50px 0;
    }

    #page-404 .title-h2 {
        margin-bottom: 15px;
    }

    .title-h2 {
        font-size: 25px;
        line-height: 25px;
    }

    .searchform input {
        min-width: 200px;
    }
    /*end page 404*/
    /*begin page hỏi đáp*/
    .content-banner .title-h2 {
        font-size: 28px;
    }

    .item-question {
        margin: 10px 0;
    }

    .item-question .questions {
        font-size: 14px;
        line-height: 20px;
        padding: 15px 30px 15px 10px;
    }

    .item-question .questions::after {
        font-size: 14px;
        width: 20px;
        right: 7px;
    }

    .item-question .answer {
        font-size: 14px;
        padding: 10px;
    }

    .breadcrumb {
        padding: 3px;
    }

    .block-banner .breadcrumb span {
        font-size: 16px;
    }
    /*end page hỏi đáp*/
    /*begin liên hệ*/
    .page-template-page-lien-he .page-sidebar>.container {
        padding-top: 50px;
    }
    .gm-style-pbt {
        font-size: 14px;
    }
    .block-map.section-block {
        padding: 20px 0;
    }
    .page-sidebar .block-map.section-block .col-sm-6:last-child {
        padding-top: 0px;
    }
    /*end liên hệ*/
    /*begin dịch vụ*/
    .title-h3 {
        font-size: 20px;
    }
    /*end dịch vụ*/
    /*begin about us*/
    .content-page .content-text {
        font-size: 14px;
            overflow: hidden;
    }

    /*end about us*/
    /*begin thư ngõ*/
    .content-page .content-img {
        padding: 0;
        float: none;
        margin-bottom: 15px;
    }
    /*end thư ngõ*/
    /*begin đăng kí*/
    .page-template-page-dang-ky-aupair .form-dk .wpcf7-form-control.wpcf7-submit {
        margin: auto;
    }

    /*end đăng kí*/
}