@media (min-width: 992px) {
  /* *large device hover work */
  .main-menu__item:hover .sub-menu {
    top: 110%;
    visibility: visible;
    opacity: 1;
    z-index: 5;
  }
}

@media (min-width: 1200px) and (max-width: 1450px) {
  .foreigner .sub-size,
  .foreigner .site-text {
    font-size: 65px;
  }

  .foreigner .medium-size {
    font-size: 35px;
    letter-spacing: 30px;
  }
}

/* =========================================================================== */
/* Large Device lg */
/* =========================================================================== */
@media (min-width: 992px) and (max-width: 1199px) {
  body {
    font-size: 16px;
  }
  .section-desc {
    font-size: 16px;
  }
  .content {
    font-size: 16px;
  }

  .top-bar p {
    text-align: center;
    font-size: 14px;
  }

  .site-text {
    font-size: 75px;
  }

  .sub-size {
    font-size: 55px;
  }

  .small-char {
    font-size: 30px;
  }

  .sm2 {
    font-weight: 500;
    font-size: 28px;
  }

  .main-menu {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .main-menu__item {
    width: 155px;
  }

  .main-menu__link {
    font-size: 14px;
  }

  .main-menu__link .icon {
    margin-right: 10px;
  }

  .main-menu__link--top {
    font-size: 22px;
  }

  .breadcrumb-area li,
  .breadcrumb-area li a {
    font-size: 16px;
  }

  /* ---------- section title */
  .section-title {
    font-size: 35px;
  }

  .section-title > img {
    height: 50px;
  }

  .item__desc {
    margin-top: 8px;
  }

  .item__title h3 a {
    font-size: 20px;
  }

  .recruitment-list-view {
    padding: 15px;
  }

  .recruitment-map-view {
    padding: 72px 0;
  }

  .list-box__items li a {
    font-size: 13px;
  }

  /* ---------- useful student page */
  .price-tbl:first-child {
    width: 40%;
  }

  .price-tbl {
    width: 60%;
  }

  .increase-height {
    padding: 5px 5px;
  }

  table {
    margin-top: 5px;
  }

  /* ------ client agent page */
  .tbl-view__th {
    min-width: 125px;
  }

  /* -------------- fo hero-are */
  .foreigner .sub-size,
  .foreigner .site-text {
    font-size: 50px;
  }
  .foreigner .medium-size {
    font-size: 25px;
    letter-spacing: 25px;
  }

  .fo-item__title {
    font-size: 16px;
  }

  /* ----------- fo footer */
  .fo-footer-item__title {
    font-size: 18px;
  }

  .fo-footer-item__menu li a {
    font-size: 12px;
  }

  /* @ supervisor block  */
  .supervisor {
    min-height: 204px;
  }
}

/* =========================================================================== */
/* Medium Device md */
/* =========================================================================== */
@media (min-width: 768px) and (max-width: 991px) {
  body {
    font-size: 14px;
  }
  button {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  .form-control {
    font-size: 0.8rem;
  }
  .content-title {
    font-size: 20px;
  }
  .section-desc {
    font-size: 14px;
  }
  .content {
    font-size: 14px;
  }

  .up span {
    width: 40px;
    height: 40px;
    border-width: 2px;
  }

  .up span img {
    margin-top: 8px;
    height: 15px;
  }

  .top-bar p {
    text-align: center;
  }

  .site-text {
    font-size: 60px;
  }

  .sub-size {
    font-size: 50px;
  }

  .small-char {
    font-size: 25px;
  }

  .sm2 {
    font-weight: 500;
    font-size: 22px;
  }

  .breadcrumb-area li,
  .breadcrumb-area li a {
    font-size: 14px;
  }
  /* -------------- responsive menu design */
  .main-menu-area {
    padding: 5px 0px;
  }

  .main-menu {
    flex-direction: column;
    width: 400px;
    /* margin-left: auto; */
    border: 2px solid #ddd;
    padding-top: 0;
    padding-bottom: 0;
    padding: 5px;
    border-radius: 15px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.16);
    border-top-left-radius: 0px;
    margin-top: -2px;
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  .main-menu.res-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    animation: menuToggleAnimate 1s 1 both;
  }

  /* *click work */
  .main-menu__item.show-sub .sub-menu {
    top: 110%;
    visibility: visible;
    opacity: 1;
    z-index: 5;
  }

  @keyframes menuToggleAnimate {
    0% {
      opacity: 0;
      visibility: hidden;
      display: none;
    }
    100% {
      opacity: 1;
      visibility: visible;
      display: block;
    }
  }

  .foreigner .main-menu__item,
  .main-menu__item {
    width: 100%;
    margin-bottom: 10px;
  }

  .main-menu__link.main-menu__link {
    justify-content: left;
  }

  .main-menu__item:last-child {
    margin-bottom: 0;
  }

  .main-menu__item::after {
    left: 0;
    bottom: -4px;
    right: unset;
    top: unset;
    width: 100%;
    height: 2px;
    background-color: #eaeaea;
  }

  /* .res-menu .main-menu__item:hover::after{
    color: #032f97;
  } */
  .res-menu .main-menu__item:hover::after,
  .res-menu .main-menu__item.active::after {
    background-color: #032f97;
  }

  .main-menu__link span > br {
    display: none;
  }

  /* --------- toggler */
  .menu-toggler {
    width: 45px;
    height: 45px;
    border-radius: 5px;
    border: 2px solid #ddd;
    background-color: #fff;
    /* margin-left: auto; */
    display: block;
  }
  .menu-toggler:focus {
    outline-color: #ddd;
  }

  .menu-toggler span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #032f97;
    margin-top: 5px;
  }

  .menu-toggler span:first-of-type {
    margin-top: 0;
  }

  .foreigner .menu-toggler span {
    background-color: #ff8129;
  }

  /* applied after scroll height reached */
  .fixed-nav .main-menu-area {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 5;
    width: 100%;
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.16);
  }

  /* fo sub menu */
  .main-menu__item:hover .sub-menu {
    top: 110%;
  }

  /* ---------- section title */
  .section-title {
    font-size: 30px;
  }

  .section-title > img {
    height: 40px;
    margin-right: 10px;
  }

  .item {
    min-height: auto;
  }

  .item__desc {
    margin-top: 8px;
  }

  .recruitment-map-view {
    min-height: auto;
  }

  /* -------- map view area */
  .recruitment-list-view {
    text-align: center;
  }

  .recruitment-list-view ul li {
    font-size: 16px;
  }

  .recruitment-list-view {
    border: none;
    background-color: #f6f8ff;
  }

  .recruitment-list-view ul li::before {
    left: auto;
    transform: translateX(-15px);
  }

  .recruitment-list-view ul li a {
    display: inline-block;
  }

  .copyright {
    font-size: 16px;
  }

  /* -------- useful student page */
  .price-tbl {
    width: 100%;
  }

  .chart-tbl-wrap .chart-tbl:first-child {
    flex: 60%;
  }

  .chart-tbl-wrap .chart-tbl {
    flex: 40%;
  }

  /* ------- ranking page */
  .ranking-wrap {
    justify-content: center;
  }

  .tbl-with-img.ranking-wrap__tbl {
    flex-shrink: 1;
    flex: 100%;
    margin-right: 0;
  }

  .tbl-with-img.ranking-wrap__tbl table {
    width: 100%;
  }

  .ranking-wrap__img,
  .ranking-wrap__img img {
    width: 100%;
  }

  .info__label {
    width: 180px;
  }

  .company-overview {
    padding: 10px;
  }

  /* --------- contact page ---------- */
  .input-wrap > p:first-child {
    min-width: 170px;
  }

  .contact {
    width: 85%;
  }

  /* ---------- client agent page */
  .tbl-view__th {
    min-width: 120px;
  }
  .tbl-view__row.tbl-merge {
    flex-wrap: wrap;
  }

  .tbl-view__th.bdr-left {
    border-left: none;
  }

  .tbl-merge__left-part,
  .tbl-merge__right-part {
    width: 100%;
  }

  .tbl-merge__left-part {
    border-bottom: 1px solid #ddd;
  }

  /* .tbl-merge__left-part .tbl-merge__row:last-child {
    border-bottom: 1px solid #ddd;
  } */

  /* -------------- fo hero-are */
  .foreigner .sub-size,
  .foreigner .site-text {
    font-size: 45px;
  }
  .foreigner .medium-size {
    font-size: 25px;
    letter-spacing: 25px;
  }
  .foreigner .site-text {
    background-color: #fcf7fbb8;
    padding: 15px;
    border-radius: 10px;
  }

  .fo-item > a {
    display: block;
  }

  .fo-item {
    width: 100%;
    margin-right: 0;
  }

  .items-wrapper {
    margin-right: 0;
  }

  /* ----------- fo footer */
  .fo-footer-grid-container {
    grid-template-columns: auto auto;
    grid-gap: 15px;
  }

  .fo-footer-item.item-3 {
    grid-area: 2 / 1 / span 2 / 1;
  }

  /* @ supervisor block  */
  .supervisor {
    min-height: auto;
  }
  .pr-dec {
    padding-right: 5px;
  }
  .pl-dec {
    padding-left: 5px;
  }
}

/* @media (min-width: 768px) and (max-width: 810px) {


} */

/* =========================================================================== */
/* Medium To Extra Small Device */
/* =========================================================================== */
@media (max-width: 767px) {
  body {
    font-size: 13px;
  }
  button {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }
  .form-control {
    font-size: 0.7rem;
  }
  .content-title {
    font-size: 16px;
  }
  .section-desc {
    font-size: 13px;
  }
  .content {
    font-size: 13px;
  }

  .up span {
    width: 40px;
    height: 40px;
    border-width: 2px;
  }

  .up span img {
    margin-top: 10px;
    height: 15px;
  }

  .top-bar p {
    font-size: 13px;
    text-align: center;
  }

  .site-text {
    font-size: 50px;
  }

  .sub-size {
    font-size: 35px;
  }

  .small-char {
    font-size: 18px;
  }

  .sm2 {
    font-weight: 500;
    font-size: 15px;
  }
  .section-title {
    font-size: 25px;
    padding-left: 65px;
  }
  .section-title.innerpage {
    padding-left: 0;
  }
  .breadcrumb-area,
  .breadcrumb-area li,
  .breadcrumb-area li a {
    font-size: 13px;
  }
  /* -------------- responsive menu design */
  .main-menu-area {
    padding: 5px 0px;
  }

  .main-menu {
    flex-direction: column;
    width: 400px;
    /* margin-left: auto; */
    border: 2px solid #ddd;
    padding-top: 0;
    padding-bottom: 0;
    padding: 5px;
    border-radius: 15px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.16);
    border-top-left-radius: 0px;
    margin-top: -2px;
    display: none;
    opacity: 0;
    visibility: visible;
    transition: 0.3s;
  }

  /* *click work */
  .main-menu__item.show-sub .sub-menu {
    top: 110%;
    visibility: visible;
    opacity: 1;
    z-index: 5;
  }

  .foreigner .main-menu__item,
  .main-menu__item {
    width: 100%;
    margin-bottom: 10px;
  }

  .main-menu__link.main-menu__link {
    justify-content: left;
  }

  .main-menu__item:last-child {
    margin-bottom: 0;
  }

  .main-menu__item::after {
    left: 0;
    bottom: -4px;
    right: unset;
    top: unset;
    width: 100%;
    height: 2px;
    background-color: #eaeaea;
  }

  /* .res-menu .main-menu__item:hover::after{
    color: #032f97;
  } */
  .res-menu .main-menu__item:hover::after,
  .res-menu .main-menu__item.active::after {
    background-color: #032f97;
  }

  .main-menu__link span > br {
    display: none;
  }

  .main-menu.res-menu {
    display: block;
    visibility: visible;
    opacity: 1;
  }

  /* --------- toggler */
  .menu-toggler {
    width: 40px;
    height: 35px;
    border-radius: 5px;
    border: 2px solid #ddd;
    background-color: #fff;
    /* margin-left: auto; */
    display: block;
  }

  .menu-toggler span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #032f97;
    margin-top: 5px;
  }

  .main-menu__link .icon {
    height: 25px;
  }

  .main-menu__link .text {
    line-height: 16px;
  }

  .sub-menu__link {
    font-size: 14px;
  }

  .foreigner .menu-toggler span {
    background-color: #ff8129;
  }

  .menu-toggler span:first-of-type {
    margin-top: 0;
  }
  /* applied after scroll height reached */
  .fixed-nav .main-menu-area {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 5;
    width: 100%;
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.16);
  }

  /* ---------- section title */
  .section-title > img {
    height: 40px;
    margin-right: 10px;
    margin-left: -56px;
  }

  .item {
    min-height: auto;
  }

  .item__desc {
    margin-top: 8px;
  }

  .item .left a span > br {
    display: none;
  }

  /* -------- map view area */

  .recruitment-map-view {
    min-height: auto;
  }

  .recruitment-list-view {
    text-align: center;
  }

  .recruitment-list-view ul li {
    font-size: 16px;
  }

  .recruitment-list-view {
    border: none;
    background-color: #f6f8ff;
  }

  .recruitment-list-view ul li::before {
    left: auto;
    transform: translateX(-15px);
  }

  .recruitment-list-view ul li a {
    display: inline-block;
  }

  .copyright {
    font-size: 14px;
  }

  /* -------- useful student page */
  .price-tbl {
    width: 100%;
  }
  .chart-tbl-wrap .chart-tbl {
    flex: 100%;
  }

  /* ---------- unemployment page */
  .tbl__row {
    flex-direction: column;
  }

  /* ------- ranking page */
  .ranking-wrap {
    justify-content: center;
  }

  .tbl-with-img.ranking-wrap__tbl {
    flex-shrink: 1;
    flex: 100%;
    margin-right: 0;
  }

  .tbl-with-img.ranking-wrap__tbl table {
    width: 100%;
  }

  .ranking-wrap__img {
    width: 100%;
  }

  .price-index-table table {
    width: 100%;
    min-width: 585px;
  }

  .info__label {
    width: 100%;
    font-weight: bold;
    margin-bottom: 8px;
  }

  .contact {
    width: 100%;
  }

  .input-wrap > p:first-child {
    min-width: 160px;
  }
  /* --------- contact */
  .input-wrap > .input-sm {
    width: 50%;
  }
  /* --------- client agent page */
  .tbl-content__caption {
    flex-wrap: wrap;
  }

  .tbl-content__caption .company-site {
    width: 100%;
  }

  .tbl-view__row.tbl-merge {
    flex-wrap: wrap;
  }

  .tbl-view__th {
    min-width: 120px;
  }

  .tbl-view__th.bdr-left {
    border-left: none;
  }

  .tbl-merge__left-part,
  .tbl-merge__right-part {
    width: 100%;
  }

  .tbl-merge__left-part .tbl-view__row:last-child {
    border-bottom: 1px solid #ddd;
  }

  .tbl-merge__left-part {
    border-bottom: 1px solid #ddd;
  }

  /* ----------- fail to pay */
  .section-detail {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }

  .section-detail__right {
    margin: 15px auto;
  }

  /* ----- foreigner */
  .foreigner .item {
    min-height: auto;
  }

  /* -------------- fo hero-are */
  .foreigner .sub-size,
  .foreigner .site-text {
    font-size: 35px;
  }
  .foreigner .medium-size {
    font-size: 20px;
    letter-spacing: 20px;
  }
  .foreigner .site-text {
    background-color: #fcf7fbb8;
    padding: 10px;
    border-radius: 10px;
  }

  .fo-item > a {
    display: block;
  }

  .fo-item {
    width: 100%;
    margin-right: 0;
  }

  .items-wrapper {
    margin-right: 0;
  }

  .fo-item__title {
    font-size: 16px;
  }

  .fo-section-title .text {
    font-size: 25px;
  }

  /* ----------- fo footer */
  .fo-footer-item__title {
    font-size: 18px;
  }

  .fo-footer-item__menu li a {
    font-size: 12px;
  }

  /* ----------- fo footer */
  .fo-footer-grid-container {
    grid-template-columns: auto;
    grid-gap: 15px;
  }

  .fo-footer-item.item-3 {
    grid-area: auto;
  }

  /* @ supervisor block  */
  .supervisor {
    min-height: auto;
  }
  .pr-dec {
    padding-right: 15px;
  }
  .pl-dec {
    padding-left: 15px;
  }
}

/* Small Device sm */
@media (min-width: 576px) and (max-width: 767px) {
  .site-text {
    font-size: 50px;
  }

  .sub-size {
    font-size: 40px;
  }

  .small-char {
    font-size: 18px;
  }

  .sm2 {
    font-weight: 500;
    font-size: 15px;
  }

  .main-menu__link {
    font-size: 16px;
  }
}

/* Extra Small device */
@media (max-width: 575px) {
  .main-menu {
    width: 80%;
    min-width: 300px;
  }

  .section-title {
    font-size: 28px;
    padding-left: 65px;
  }

  .item__title h3 a {
    font-size: 20px;
  }

  .list-box__items li a {
    font-size: 12px;
  }
  .ranking-wrap__tbl table,
  .ranking-wrap__tbl {
    flex: auto;
    width: 100%;
    margin-right: 0;
  }

  .ranking-wrap__tbl table {
    table-layout: fixed;
  }

  a {
    word-break: break-word;
  }

  /* ------------ contact page --------- */
  .contact__check-wrap > label {
    flex: 100%;
  }

  .input-wrap > p:first-child {
    width: 100%;
    font-weight: bold;
    margin-bottom: 6px;
  }

  .input-wrap {
    flex-wrap: wrap;
  }

  .input-wrap > .input-sm {
    width: 100%;
  }

  /* ---------- client agent page */

  .tbl-merge__row,
  .tbl-view__row {
    flex-wrap: wrap;
  }

  .tbl-merge__row .tbl-view__th {
    height: auto;
  }

  .tbl-view__th {
    min-width: 100%;
    padding: 5px;
    border-right: none;
  }

  /* -------------- fo hero-are */
  .foreigner .sub-size,
  .foreigner .site-text {
    font-size: 24px;
  }
  .foreigner .medium-size {
    font-size: 14px;
    letter-spacing: 13px;
  }
  .foreigner .site-text {
    padding: 8px;
  }

  /* ----------- fo footer */
  .fo-footer-item__title {
    font-size: 16px;
  }

  .fo-section-title .text {
    font-size: 18px;
  }

  .section-content-container {
    padding: 10px;
  }

  .fo-item {
    padding: 12px;
  }

  .fo-item__title img {
    margin-right: 0;
    height: 20px;
  }

  .fo-item__title {
    font-weight: bold;
    font-size: 12px;
  }

  .fo-item__content {
    font-size: 12px;
  }

  .copyright {
    font-size: 12px;
  }

  .sub-menu__link {
    font-size: 14px;
  }

  .sub-menu {
    min-width: 100%;
  }
}
