
/* / iPads (portrait and landscape) ----------- /  */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {

}

/* / ipad ngang (landscape) ----------- /  */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
  .scr-1 .banner h3,
  .scr-1 .banner h2,
  .scr-1 .banner h1,
  h2,.scr-4 .banner h2{
    font-size: 40px;
  }

  .scr-2 .col{
    min-height: 400px;
  }
  .scr-4 .banner-inner .text-box{

    padding: 20px;
    color: #333;
  }
  .footer-scr-1 .col{
    padding-left: 30px;
  }
  .scr-4 p{
    color: #333;
  }
  .top-menu-row a{
    font-size: 10px !important;
  }
  .menu-sp li a{
    font-size: 14px;
  }
  .top-menu-row .nav>li {
      margin-right: 5px;
  }
  .top-menu-row a img{
    height: 40px !important;
  }
  .scr-2 .col-inner h3.item-price-current-day, .scr-2 .col-inner h3.item-price-current-day span {
      line-height: 1;
      color: #fff;
      font-size: 40px !important;
  }
  .scr-3 h3,.scr-4 .banner h2{
    font-size: 30px !important;
  }
  .scr-1 .banner p{
        max-width: 80%
  }

}
/* /ipad pro/ */
/* Portrait*/
   @media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2)  and (orientation: portrait)  {
     .top-menu-row a{
       font-size: 10px !important;
     }
     .scr-2 .col{
       min-height: 400px;
     }
     .scr-4 p{
       color: #333;
     }
     .scr-3{
       min-height: 0 !important;
     }
     .scr-4 .banner-inner .text-box{

       padding: 20px;
       color: #333;
     }
     .scr-4 .banner {
       padding-top: 60vh !important;
     }
     .footer-scr-1 .col{
       padding-left: 30px;
     }
   }


 /* / ipad dọc (portrait) ----------- /  */
@media only screen and (min-device-width : 768px) and (max-device-width : 911px) and (orientation : portrait) {
  .button-menu-mobile{
    display: inline-block !important;
  }
  .list-dsdl-wp{
    grid-template-columns: 1fr;
  }
  .footer-scr-1{
    display: none !important;
  }
  .footer-scr-2 .col-inner{
    text-align: center;
  }
  .site-footer h3.section-title{
    font-size: 18px;
    justify-content: center;
  }
  .footer-scr-2 li, .footer-scr-2 li a{
    font-size: 12px;
  }
  .menu-pc{
    display: none;
  }
  .button-menu-mobile,.button-search{
    display: inline-block;
    margin: 0 !important;
    line-height: 1;
    min-height: 0;
  }
  .menu-siderbar {
    display: none !important;
  }
  .scr-2 .col-inner a.button{
    width: 45px;
    height: 44px;
    /* position: static; */
    margin: 20px 0 0 0 !important;
  }
  .scr-2 .col{
    /* max-width: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%; */
    min-height: 350px;
  }
  h2{
    font-size: 30px;
    color: #000;
  }
  .scr-4 .banner-bg{
    padding-top: 30vh !important;
    position: relative;
  }
  .scr-4 .banner-inner {
    position: static;
  }
  .scr-4 .banner {
    padding: 0 !important;
    background: #fff;
  }
  .scr-4 .banner-inner .text-box{
    width: 100% !important;
    position: static !important;
    top: 0;
    left: 0;
    transform: translate(0,0) !important;
    padding: 30px 0;
    color: #333;
  }
  .scr-4 .banner-inner .text-box h3,
  .scr-4 .banner-inner .text-box p{
    color: #333;
    line-height: 1.4;
    margin-bottom: 30px;
  }
  .scr-4 .banner h2{
    font-size: 30px;
  }
  .scr-4 p{
    background: #fff;
    padding: 0;
    font-size: 16px;
  }
  .scr-3{
    min-height: 0 !important;
  }
  .scr-2 .col-inner h3{
    font-size: 24px !important;
  }
  .scr-2 .col-inner h3.item-price-current-day, .scr-2 .col-inner h3.item-price-current-day span{
    font-size: 30px !important;
  }
  p, li, strong, b, span, div {
      font-size: 16px;
  }
  .scr-4 .banner-bg::before{
    display: none;
  }
  .menu-sp{
    display: none !important;
  }
  .order-mobile .col:nth-child(2) {
      width: 100%;
      order: 1;
  }
  .order-mobile .col:nth-child(1) {
      width: 100%;
      order: 2;
  }
  .scr-1 .banner{
    padding-top: 80vh !important;
  }
  .scr-1 .banner p{
    max-width: 80%;
  }
  /* ------- menu-mobile-wp --- */
  #menu-mobile-wp-wp li{
    display: block;
    width: 100%;
    margin: 0;
    text-align: left;

  }
  #menu-mobile-wp-wp li a{
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333 !important;

  }
  .menu-mobile li{
    border-bottom: 1px solid #fff !important;
    position: relative;
  }
  .menu-mobile a {
    font-size: 14px !important;
    text-align: left;
    color: #fff !important;
    padding: 12px 5px !important;
    text-transform: uppercase;
  }
  .nav-dropdown.nav-dropdown-default>li>a{
    border-color: #fff;
  }
  .nav-dropdown-has-arrow li.has-dropdown:before {
      position: absolute;
      right: 10px;
      top: 15px;
    content: "\f107";
      font-family: "Font Awesome 5 Pro";
      font-style: normal;
      font-weight: normal;
      color: #fff;
      left: auto;
      width: 15px;
      height: 15px;
      opacity: 1;
      border: 0;
      z-index: 10;
      pointer-events: initial;
  }
  .menu-mobile a:hover, .menu-mobile a:focus {
      color: #fff !important;
  }
  .menu-mobile li{
    width: 100%;
    margin: 0 !important;
    text-align: left;
  }
  #menu-mobile-wp .searchform .button.icon i{
    color: #fff !important;
  }
  .nav-dropdown-has-arrow li.has-dropdown:before{

  }
  #menu-mobile-wp .searchform{
    margin: 20px 0 10px !important;
  }
  #menu-mobile-wp .searchform .button.icon{
    font-size: 12px;
  }
  #menu-mobile-wp .search-field{
    border: 1px solid #fff !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-size: 14px !important;
  }
  #menu-mobile-wp .search-field::placeholder{
    color: #fff !important;
    font-size: 14px !important;
  }
  #menu-mobile-wp ul li.current-dropdown .nav-dropdown>li.nav-dropdown-col{
    width: 100%;
    display: block;
  }
  #menu-mobile-wp ul li.current-dropdown .nav-dropdown>li.nav-dropdown-col{
    width: 100%;
    display: block;
  }
  .list-cssp .list-cssp-child h3{
    font-size: 18px;
  }
  .nav-dropdown.nav-dropdown-default>li>a{
    font-size: 14px !important;
  }
  li.current-dropdown .nav-dropdown{
    position: static;
    max-height: initial;
    display: block;
    background: transparent;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0;
    min-width: 0;
    margin-left: 15px;
  }
  .has-dropdown .icon-angle-down{
    position: absolute;
    right: 10px;
    top: 15px;
    display: none;
  }
  li.current-dropdown::after,
  li.current-dropdown::before{
    display: none;
  }
  li.current-dropdown li{
    border: 0 !important;
  }
  #menu-mobile-wp {
      background: #da4444 !important;
  }
  .off-canvas-left .mfp-content{
    width: 60% !important;
  }
  .mfp-close-btn-in .mfp-close{
    color: #fff !important;
    opacity: 1 !important;
  }

  /* ----- end menu-mobile-wp ----- */
}

/* / Smartphones (portrait) ----------- /  */
/* ip6 plus */
@media only screen and (max-width : 414px) {
    p, li, strong, b, span, div {
      font-size: 16px;
  }
    h3 {
      font-size: 20px;
  }
  .teamplate-1 .large-9{
    padding-left: 15px !important;
  }
  .single-toanphat1{
    padding-bottom: 0 !important;
  }
  .block-archive-toanphat_1 .container .section-title span{
    font-size: 26px;
    text-transform: capitalize !important;
  }
  .box-category-sidebar .section-title-normal{
    padding: 15px 15px 15px !important;
  }
  .list-dsdl-wp{
    grid-template-columns: 1fr;
  }
  .list-dsdl-header form {
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -o-border-radius: 0;
    box-shadow: 0px 5px 20px 0px rgb(0 0 0 / 10%);
    -moz-box-shadow: 0px 5px 20px 0px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0px 5px 20px 0px rgb(0 0 0 / 10%);
      -o-box-shadow: 0px 5px 20px 0px rgba(0,0,0,0.1);
      padding: 10px;
      overflow: hidden;
      margin-bottom: 50px;
      background-color: #fff;
  }
  .list-dsdl-wp .list-child .hotline a{
    font-size: 14px;
  }
  .list-dsdl-wp .list-child h2 {
      font-size: 16px !important;
  }
  .menu-sp{
    display: none !important;
  }
  .tp-1 .large-6:nth-child(2) {
      padding-left: 15px !important;
  }
  .tp-2 .large-6:first-child {
      padding-right: 15px !important;
  }
  .tp-1,.tp-2 {
      padding:10px 0 0px !important;
      margin-bottom: 15px !important;
  }
  .order-mobile .col:nth-child(1) {
    width: 100%;
    order: 2;
  }
  .order-mobile .col:nth-child(2) {
    width: 100%;
    order: 1;
  }
  .row-list-sp h3{
    font-size: 20px;
    margin-bottom: 20px;
  }
  .breacum-wp{
    padding: 10px 0 !important;
    min-height: 0 !important;
  }
  .quitrinh-sx-wp .nav li a{
    padding: 10px 15px;
  }
  .quitrinh-sx-wp .nav{
    border-radius: 5px;
  }
  /* #body_drag_1251,#body_drag_1213,.wrap_svl_center{
    display: none !important;
  } */
  .wrap_svl_center .drag_element{
    display: none;
  }
  /* .content-pin-map{
    display: none;
  } */

  .ct-pin.active, .vt-pin.active ,.ct-pin, .vt-pin{
      display: grid;
      grid-template-columns: 1fr;
      color: #333;
  }

  .row-hanhtrinhphattrientoanphat-col912 .col.medium-3 .col-inner {
      width: 60px;
      height: 60px;
      padding: 18px 0 30px 0;
  }
  .title-border-bottom h1 span,
  .title-border-bottom h2 span{
    font-size: 24px;
  }
  .row-hanhtrinhphattrientoanphat-col912 .col.medium-3 .col-inner h3 {
      font-size: 14px;
  }
  .row-hanhtrinhphattrientoanphat-col912{
    padding: 0 15px !important;
  }
  #lastPrice{
    width: 100% !important
  }
  img.lastPriceDiff{
    margin-left: 10px !important;
  }
  .google-visualization-controls-rangefilter .google-visualization-controls-label{
    font-size: 12px !important;
  }
  #dashboard h2 {
    font-size: 20px !important;
    margin-top: 20px !important;
}
  .scr-4 .banner-bg::before{
    display: none;
  }
  .button-menu-mobile{
    display: inline-block !important;
  }
  .scr-1 .banner .text-box{
    width: 95% !important;
    padding: 10px !important;
  }
  .scr-1 .banner h2,.scr-1 .banner h1{
    font-size: 30px;
  }
  .scr-1 .banner h3{
    font-size: 25px;
  }
  .scr-2 .col-inner{
    padding: 30px;
  }
  .scr-2 .col:nth-child(4){
    display: none !important;
  }
  .scr-2 .col-inner a.button{
    width: 45px;
    height: 44px;
    position: static;
    margin: 20px 0 0 0 !important;
  }
  .scr-2 .col-inner h3{
    font-size: 24px;
  }
  .scr-3 h2{
    font-size: 24px;
    margin: 20px 0;
  }
  .scr-4 .banner-bg{
    /* padding-top: 30vh !important;
    position: relative; */
  }
  .scr-4{
    min-height: 0 !important;
  }
  .scr-4 .banner-inner {
    position: static;
  }
  .scr-4 .banner {
    padding: 0 !important;
    background: #fff;
  }
  .scr-4 .banner-inner .text-box{
    width: 100% !important;
    position: static !important;
    top: 0;
    left: 0;
    transform: translate(0,0);
    padding: 80px 0;
    color: #fff;
  }
  .scr-4 .banner-inner .text-box .text{
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
  }
  .scr-4 .banner-inner .text-box h3,
  .scr-4 .banner-inner .text-box h3 span{
    color: #fff !important;
    line-height: 1.4;
    margin-bottom: 30px;
      font-size: 25px;
      text-align: center;
display: block;
  }
  .scr-4 .banner-inner .text-box h3 span{
    font-size: 25px;
  }
  .scr-4 .banner h2{
    font-size: 24px;
  }
  .scr-2 .col:nth-child(3) .col-inner{
    min-height: 0 !important;
  }
  .scr-4 .banner h2 br{
    display: none;
  }
  .scr-4 p,.scr-4 p span{
    color: #fff !important;
    padding: 0;
    font-size: 16px;
  }
  .footer-scr-1{
    display: none !important;
  }
  .footer-scr-2 .col-inner{
    text-align: center;
  }
  .site-footer h3.section-title{
    font-size: 18px;
    justify-content: center;
  }
  .footer-scr-2 li, .footer-scr-2 li a{
    font-size: 12px;
  }
  .menu-pc{
    display: none;
  }
  .button-menu-mobile,.button-search{
    display: inline-block;
    margin: 0 !important;
    line-height: 1;
    min-height: 0;
  }
  .menu-siderbar {
    display: none !important;
  }
  .scr-1 .banner p{
      font-size: 14px;
      margin: 0 0 30px;
  }
  .scr-1 .banner h3{
    margin-bottom: 30px;
  }
  .scr-1 .banner{
    padding-top: 80vh !important;
  }
  .scr-1 .banner .bg-fill{
    background-position: 35% center !important;
  }
  .scr-2 .col{
    max-width: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    min-height: 0;
  }
  .scr-3 h3,.scr-4 .banner h2{
    font-size: 25px !important;
  }
  .scr-4{
    min-height: 0;
  }
  .scr-3 p,.scr-4 .banner p{
    font-size: 14px;
  }
  .scr-3 p:last-child{
    margin: 0;
  }
  .top-header{
    padding-bottom: 5px !important;
  }
  .Sanpham-lienquan .post-title{
    font-size: 16px;
  }
  .single-toanphat1 .col.medium-8 .col-inner h1 span{
    font-size: 26px;
  }
  .Sanpham-lienquan p{
    color: #fff !important;
  }
  .Sanpham-lienquan .box-text{
    top: 215px;
  }
  .mb{
    margin-bottom: 10px !important;
  }
  .hidden-mobile{
    display: none;
  }
  .recruitment tr td i{
    display: none;
  }
  .recruitment tr span,
  .recruitment tr td{
    font-size: 14px;
    padding: 10px 0px;
  }
  .recruitment tr th:nth-child(3),
  .recruitment tr th:nth-child(4){
    width: 100px;
  }
  .text-ab h3{
    font-size: 16px;
  }

  .slider-left{
    display: none;
  }
  .slider-right,.slider-right-child{
    width: 100%;
  }
  .slider-right-child .content{
    left: 5%;
    top: 25%;
    transform: none;
    width: 90%;
  }
  .slider-right-child h2{
    font-size: 20px;
  }
  /* ------- menu-mobile-wp --- */
  #menu-mobile-wp-wp li{
    display: block;
    width: 100%;
    margin: 0;
    text-align: left;

  }
  #menu-mobile-wp-wp li a{
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333 !important;

  }
  .menu-mobile li{
    border-bottom: 1px solid #fff !important;
    position: relative;
  }
  .menu-mobile a {
    font-size: 14px !important;
    text-align: left;
    color: #fff !important;
    padding: 12px 5px !important;
    text-transform: uppercase;
  }
  .nav-dropdown.nav-dropdown-default>li>a{
    border-color: #fff;
  }
  .nav-dropdown-has-arrow li.has-dropdown:before {
      position: absolute;
      right: 10px;
      top: 15px;
    content: "\f107";
      font-family: "Font Awesome 5 Pro";
      font-style: normal;
      font-weight: normal;
      color: #fff;
      left: auto;
      width: 15px;
      height: 15px;
      opacity: 1;
      border: 0;
      z-index: 10;
      pointer-events: initial;
  }
  .menu-mobile a:hover, .menu-mobile a:focus {
      color: #fff !important;
  }
  .menu-mobile li{
    width: 100%;
    margin: 0 !important;
    text-align: left;
  }
  #menu-mobile-wp .searchform .button.icon i{
    color: #fff !important;
  }
  .nav-dropdown-has-arrow li.has-dropdown:before{

  }
  #menu-mobile-wp .searchform{
    margin: 20px 0 10px !important;
  }
  #menu-mobile-wp .searchform .button.icon{
    font-size: 12px;
  }
  #menu-mobile-wp .search-field{
    border: 1px solid #fff !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-size: 14px !important;
  }
  #menu-mobile-wp .search-field::placeholder{
    color: #fff !important;
    font-size: 14px !important;
  }
  #menu-mobile-wp ul li.current-dropdown .nav-dropdown>li.nav-dropdown-col{
    width: 100%;
    display: block;
  }
  #menu-mobile-wp ul li.current-dropdown .nav-dropdown>li.nav-dropdown-col{
    width: 100%;
    display: block;
  }
  .list-cssp .list-cssp-child h3{
    font-size: 18px;
  }
  .nav-dropdown.nav-dropdown-default>li>a{
    font-size: 14px !important;
  }
  li.current-dropdown .nav-dropdown{
    position: static;
    max-height: initial;
    display: block;
    background: transparent;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0;
    min-width: 0;
    margin-left: 15px;
  }
  .has-dropdown .icon-angle-down{
    position: absolute;
    right: 10px;
    top: 15px;
    display: none;
  }
  li.current-dropdown::after,
  li.current-dropdown::before{
    display: none;
  }
  li.current-dropdown li{
    border: 0 !important;
  }
  #menu-mobile-wp {
      background: #da4444 !important;
  }
  .off-canvas-left .mfp-content{
    width: 100% !important;
  }
  .mfp-close-btn-in .mfp-close{
    color: #fff !important;
    opacity: 1 !important;
  }

  /* ----- end menu-mobile-wp ----- */
  .tabcs-wp .tab-img-wp,
  .tabcs-wp .tab-content-wp{
    flex-basis: 100%;
    max-width: 100%;
  }
  .tabdt-content-wp{
    width: 100%;
    order: 1;
    padding: 0;
    margin-bottom: 20px;
  }
  .tabdt-img-wp{
    width: 100%;
    order: 2;
  }
  .agency-content__list{
    height: 200px;
  }
  .scr-2 .col-inner h3.item-price-current-day, .scr-2 .col-inner h3.item-price-current-day span {
      line-height: 1;
      color: #fff;
      font-size: 50px !important;
  }
  .th-col_chungchi_toanphat .col-inner .col.medium-4 .col-inner .box-text p{
        -webkit-line-clamp:10;
  }
  #main .page-news{
    padding: 30px 0;
  }
  .page-news .col-title{
    margin-bottom: 0;
  }
  #main .page-news.news-04 .post-item {
      padding: 10px 0;
  }
  .wpdt-c.row{
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    max-width: 100% !important;
    overflow-x: auto !important;
  }
}
/* ip6 */
@media only screen and (max-width : 375px) {

  .scr-1 .banner h2 ,.scr-1 .banner h1{
        font-size: 26px;
  }
  .scr-1 .banner h3 {
    font-size: 22px;
  }

}

/* ip6 */
@media  screen and (max-width : 360px) {

  p, li, strong, b, span, div{
    font-size: 15px;
  }

}
