@media screen and (min-width: 40em) {
    body.pageLoaded .top-bar {
        display: block;
    }
    .title-bar {
        display: none;
    }
}

@media screen and (max-width: 1120px) {
    nav ul li a {
        padding: 10px 1.3rem;
    }
}

@media screen and (max-width: 1070px) {
    nav ul li a {
        padding: 10px 1.2rem;
    }
}

@media screen and (max-width: 1040px) {
    nav ul li a {
        font-size: .9rem;
    }
}

@media screen and (max-width: 1024px) {
    .footer_menu .wrap_menu_col {
        width: 25%;
        margin-bottom: 20px;
    }
    .footer_logos .wrap_logo {
        width: 13%;
    }
}

@media screen and (max-width: 970px) {
    nav ul li a {
        padding: 7px 1.0rem;
    }
}

.mobile_menu_open {
    display: none;
}

.mobile_menu_close {
    display: none;
}

@media screen and (max-width: 750px) {
    .mobile_menu_close {
        display: none;
    }
    .mobile_menu_open {
        display: block;
    }
    #lang_sel>ul ul,#lang_sel_click>ul ul {
        z-index: 10000000 !important;
    }
    .title-bar {
        justify-content: space-between;
        flex-direction: row;
    }
    .mobile_header_item{
        max-width: 16%;
        align-items: center;
    }
    .mobile_header_item .logo_img {
        height: 80px;
        width: 80px;
    }

    .abs_banner_div {
        display: none;
    }
    .home .wrap_form {
        padding: 0 15px;
    }
    .row-testimonials .pair .item {
        float: none;
        margin-bottom: 60px;
    }
    .wpcf7-form .contact-form-in {
        display: block;
    }
    .wpcf7-form .contact-form-in .input_wrap {
        margin: 0 0 5px 0;
    }
    .wpcf7-form .contact-form-in [type='submit'] {
        width: 100%;
    }
    body .top-bar {
        display: none;
    }
    header {
        position: relative;
    }
    .post {
        margin-bottom: 0;
    }
    .top_header {
        min-height: auto;
    }
    .logo_wrap a {
        padding-right: 20px;
    }
    .logo_wrap a img {
        max-width: 110px;
    }
    .menu_div {
        position: absolute;
        z-index: 99999999;
        top: 100%;
        width: 100%;
        padding: 0;
        margin-top: -7px;
        background: #fff !important;
    }
    .header_phone {
        width: 44px;
        height: 44px;
    }
    .social_wrap {
        line-height: 1;
        float: left;
        width: auto;
        margin-top: 31px;
        margin-right: 15px;
        padding-top: 0;
    }
    .wrap_lang {
        float: left;
        padding-top: 31px;
        padding-right: 178px;
    }
    .wrap_lang select,
    #lang_sel {
        width: 60px;
    }
    .header_form {
        /* float: none; */
        width: 100%;
        /* margin-bottom: 20px; */
    }
    .title-bar {
        padding: 0;
        border-bottom: 1px solid #eee;
        background: transparent;
    }
    .menu-icon:after,
    .menu-icon:hover:after {
        background: #7f7f7f;
        box-shadow: 0 7px 0 #7f7f7f, 0 14px 0 #7f7f7f;
    }
    .title-bar .menu-icon {
        float: left;
        width: 25px;
        margin-right: 10px;
        margin-left: 10px;
    }
    .desktop_only {
        display: none;
    }
    .mobile_only {
        display: block;
    }
    header {
        line-height: 1;
        min-height: auto;
    }
    nav ul {
        display: block;
    }
    nav ul li {
        display: block;
        float: none;
        text-align: center;
    }
    nav ul li a {
        font-size: 36px;
        font-weight: bold;
        color: #3b3b3b;
        padding: 7px;
        -webkit-transition: all 0s;
        -moz-transition: all 0s;
        -ms-transition: all 0s;
        -o-transition: all 0s;
        transition: all 0s;
    }
    nav ul li .sub-menu li {
        -webkit-transition: all 0s;
        -moz-transition: all 0s;
        -ms-transition: all 0s;
        -o-transition: all 0s;
        transition: all 0s;
    }
    nav ul li:after {
        display: none;
    }
    nav ul li:hover .sub-menu {
        display: none;
    }
    /*    nav ul li.menu-item-has-children:focus a {
        background-color: #58a4d6;
    }
*/
    nav ul li.menu-item-has-children:hover {
        background-color: #58a4d6;
    }
    nav ul li.menu-item-has-children a {
        display: inline-block;
        font-size: 36px;
        font-weight: bold;
        color: #3b3b3b;
    }
    }
    nav ul li .sub-menu {
        /* position: relative; */
    }
    nav ul li .sub-menu li,
    nav ul li .sub-menu li a {
        color: #fff;
    }
    .admin-bar .close_menu {
        top: 50px;
    }
    /*    body.page-template-tpl-about {
        background-color: #fcf9f3;
    }
*/
    .about_wrapper {
        background-color: #fcf9f3;
        background-image: none;
    }
    body.page-template-tpl-about .inner_wrapper {
        padding-top: 100px;
    }
    .about_mobile_wrap {
        padding-left: 10px;
    }
    /*======================================================================
 =================       H O M E P A G E    ===================
=======================================================================*/
    .home_banner .inner_banner .abs_banner_div {
        position: absolute;
        top: auto;
        right: 0;
        bottom: 20px;
        bottom: 20px;
        left: 0;
        width: 265px;
        min-height: auto;
        margin: auto;
        padding: 10px 10px 15px;
        background-color: #58a4d6;
        transform: translateY(0);
    }
    .page_banner .inner_banner .pad {
        padding-left: 0;
    }
    .inner_abs {
        font-size: 1.4rem;
        line-height: 50px;
        width: 100%;
        height: auto;
        min-height: 50px;
        padding-left: 0;
        text-align: center;
    }
    .col_cat .abs_div {
        line-height: 50px;
        right: 0;
        bottom: 20px;
        left: 0;
        max-width: 250px;
        height: auto;
        min-height: 50px;
        margin: auto;
    }
    .home_content .wrap_services {
        padding-top: 20px;
    }
    .home_content .guide_col {
        margin-top: 20px !important;
    }
    .page_banner {
        background-size: cover;
        height: 42%;
    }
    .page_banner .inner_banner {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 5px;
        text-align: center;
        background: rgba(255, 255, 255, .6);
        transform: translateY(0);
    }
    .page_banner .inner_banner p {
        font-size: .9rem;
        line-height: 1.1rem;
        margin-bottom: 0;
    }
    #content h1 {
        font-size: 24px;
        margin: 0;
        margin-bottom: 20px;
    }
    .menu_info li a {
        display: block;
        border-top: 1px solid #b3b3b3;
    }
    .menu_info li:after {
        right: 0;
    }
    .menu_info {
        margin-bottom: 20px;
    }
    .menu_info li {
        display: block;
        float: left;
        width: 50%;
    }
    .menu_info li:nth-child(1) a,
    .menu_info li:nth-child(2) a {
        border-top: 0;
    }
    .menu_info li:nth-child(even):after {
        display: none;
    }
    /*======================================================================
 =================         C O N T A C T    ===================
=======================================================================*/
    .contact_wrap_form {
        padding-bottom: 30px;
    }
    /*======================================================================
 =================    Foreign Workers   ===================
=======================================================================*/
    .foreign_branch_manger_con p {
        padding-top: 0;
    }
    /*======================================================================
    =================     B R A N C H E S    ===================
=======================================================================*/
    .only_one_branch .wrap_pop_branch {
        margin-top: 30px;
    }
    .child_branch_wrap:first-child .wrap_pop_branch {
        margin-top: 30px;
    }
    .wrap_pop_branch .wrap_img {
        width: auto;
        max-width: 220px;
    }
    .wrap_pop_branch .wrap_con {
        width: 100%;
        margin-top: 20px;
        padding-left: 0;
    }
    .child_branch_wrap .child_hours {
        padding-top: 0;
    }
    /*======================================================================
    ==============      A B O U T   -  Management    ================
=======================================================================*/
    .about_wrap .member_col .wrap_img {
        text-align: center;
    }
    body.page-template-tpl-about .mfp-content {
        padding-top: 50px;
    }
    .wrap_pop_member .wrap_img {
        float: none;
        width: 100%;
        text-align: center;
    }
    .wrap_pop_member .wrap_con {
        float: none;
        width: 100%;
        padding-top: 10px;
        padding-left: 0;
    }
    .wrap_pop_member .wrap_con h4 {
        margin-bottom: 10px;
    }
    /*======================================================================
    =================       F O R M S   ===================
=======================================================================*/
    .form_row {
        padding: 10px 0;
        text-align: center;
        background: #eee;
    }
    .form_row a span {
        display: block;
        margin-right: 0;
        margin-bottom: 10px;
    }
    /*======================================================================
    =================      G L O S S A R Y  ===================
=======================================================================*/
    /*======================================================================
    ==============      B R E A D C R U M B S   ================
=======================================================================*/
    .breadcrumbs {
        padding: 15px 0;
    }
    /*======================================================================
    =================     J O B S     ===================
=======================================================================*/
    .wrap_job_form {
        padding: 10px 0;
    }
    .wrap_job_form .wrap_input,
    .wrap_job_form .wrap_input_file {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    /*----------  m   e  n  u  s --------*/
    .menu_about li {
        display: inline-block;
        float: none !important;
    }
    .menu_about li:after {
        display: none;
    }
    .menu_about li a {
        display: block;
        /* border-bottom: 1px solid #b3b3b3; */
    }
    .menu_about li:first-child a {
        /* border-top: 1px solid #b3b3b3; */
    }
    .menu_about li:after {
        right: 0;
    }
    .menu_about,
    .menu_skill {
        margin-bottom: 20px;
    }
    .menu_skill li {
        display: block;
    }
    .menu_skill li a {
        display: block;
        border-bottom: 1px solid #b3b3b3;
    }
    .menu_skill li:last-child a {
        border-bottom: 0;
    }
    .menu_skill li:after {
        display: none;
    }
    footer {
        line-height: 1;
        position: relative;
        height: 105px;
        min-height: auto;
        border-top: 1px solid #cdcbc5;
        background-color: #fcf9f3;
    }
    footer .footer_menu {
        padding: 25px 10px;
    }
    .wrap_footer_num {
        float: none;
        width: 100%;
        /* text-align: center; */
    }
    .copy_footer {
        float: none;
        width: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
        text-align: center;
    }
    .footer_logos {
        padding: 15px 0;
    }
    .footer_logos .wrap_logo {
        /* width: 20%; */
    }
    .wrap_logos .wrap_logo {
        text-align: center;
    }
    .wrap_logos .wrap_logo img {
        display: inline-block;
    }
    footer .wrap_socials {
        line-height: 1;
        float: none;
        height: 30px;
        min-height: auto;
        margin-top: 0;
        padding-left: 0;
        text-align: center;
        border-left: 0;
    }
    .top-menu-wrap .top-menu-in a {
        line-height: 2;
    }

    .home_banner .inner_banner {
        min-height: 135px;
        background-position: top center;
        background-size: cover;
    }
    .home_banner .inner_banner .abs_banner_div {
        transform: translateY(28px);
    }
    .wrap_footer_num .phone_num {
        text-align: center;
        justify-content: center;
    }
    .wrap_footer_num .phone_small_title {
        display: flex;
        justify-content: center;
    }

.wpcf7 .form_title h4 {
        margin-top: 5px;
    }


@media screen and (max-width: 480px) {
    .footer_menu .wrap_menu_col {
        float: none;
        width: 100%;
        text-align: center;
    }
}
