@media screen and (max-width: 1920px) {
  #itp10074 .modal-img_gm {
  }
}
@media (max-width: 1600px) and (min-width: 900px) {
  .time-zone h1 {
    font-size: 30px;
  }
  .time-other h3 {
    font-size: 18px;
  }
  .subject-inner {
    margin-bottom: 5px;
  }
  .section_box {
    margin: 50px;
  }
  .board-inner {
    right: 6%;
  }
  .board-alart ul li {
    padding: 4px 10px;
    font-size: 11px;
  }
  .board-alart .badge {
    font-size: 10px;
  }
  button.btn-status-inner {
    font-size: 12px;
  }
  .line-top {
    margin: 0 25px 0 15px;
    font-size: 14px;
  }
  .block-gm {
    margin-top: 20% !important;
    background-position: right top !important;
  }
  #itp10028 .modal-img_gm {
    left: 45% !important;
  }
  .popover-wrap .popover-target .custom-popover {
    width: 220px;
  }
  .name_detail {
    font-size: 11px;
  }
  .block-staff {
    background-size: 100%;
    height: 400px;
    background-position: unset;
  }
  .block-lic {
    background-size: 100%;
    height: auto;
  }
  .lic-2 {
    height: 450px;
  }
  .line-bottom {
    margin: -22% 0 0 45px;
  }
  .modal-img_staff .table-active {
    width: 70px;
  }
  .modal-img_staff .table-inactive {
    width: 70px;
  }
  .modal-img_staff .table-active.gm-s {
    width: 110px;
  }
  .h340 {
    height: 270px !important;
  }
  .heading-dep h2 {
    font-size: 20px;
  }
  .lic-gm,
  .vp {
    background-size: 100%;
  }
  .cad-gm {
    margin-top: -15% !important;
  }
  #itp10108 .modal-img_gm {
    top: 70px !important;
    left: -15% !important;
    width: 115px;
    height: 200px;
  }

  #itp10174 .modal-img_staff {
    top: -260px !important;
    left: 135% !important;
  }

  #itp10166 .modal-img_staff {
    top: 95px !important;
    left: 35% !important;
  }
  #itp10197 .modal-img_staff {
    top: -150px !important;
    left: 95% !important;
  }

  #itp10173 .modal-img_staff {
    top: -210px !important;
    left: 80% !important;
  }
  #itp10191 .modal-img_staff {
    top: -160px !important;
    left: 35% !important;
  }
  #itp10042 .modal-img_staff {
    top: 20px !important;
    left: 35% !important;
  }
  #itp10171 .modal-img_staff {
    top: -250px !important;
    left: 165% !important;
  }
  #itp10204 .modal-img_staff {
    top: 110px !important;
    left: -65% !important;
  }
  #itp10202 .modal-img_staff {
    top: -220px !important;
    left: 110% !important;
  }
  #itp10205 .modal-img_staff {
    top: -185px !important;
    left: 40% !important;
  }
  #itp10112 .modal-img_staff {
    top: -140px !important;
    left: -10% !important;
  }
  #itp10044 .modal-img_staff {
    top: 15px !important;
    left: 40% !important;
  }
  #itp10063 .modal-img_staff {
    top: 100px !important;
    left: -15% !important;
  }
  #itp10054 .modal-img_staff {
    top: 70px !important;
    left: -20% !important;
  }

  #itp10182 .modal-img_staff {
    top: 35px !important;
    left: 75% !important;
  }
  #itp10051 .modal-img_staff {
    top: -155px !important;
    left: 140% !important;
  }
  #itp10194 .modal-img_staff {
    top: 90px !important;
    left: 145% !important;
  }
  #itp10180 .modal-img_staff {
    top: -135px !important;
    left: 165% !important;
  }
  #itp10168 .modal-img_staff {
    top: 50px !important;
    left: 100% !important;
  }
  #itp10137 .modal-img_staff {
    top: -205px !important;
    left: 95% !important;
  }
  #itp10155 .modal-img_staff {
    top: -135px !important;
    left: 30% !important;
  }
  #itp10183 .modal-img_staff {
    top: 260px !important;
    left: -130% !important;
  }
  #itp10135 .modal-img_staff {
    top: -180px !important;
    left: 130% !important;
  }
  #itp10129 .modal-img_staff {
    top: 110px !important;
    left: 70% !important;
  }
  #itp10011 .modal-img_staff {
    top: -210px !important;
    left: 180% !important;
  }
  #itp10074 .modal-img_gm {
    top: 70px !important;
    left: 60% !important;
  }
  #itp10160 .modal-img_staff {
    top: -415px !important;
    left: 200% !important;
  }
  #itp10049 .modal-img_staff {
    top: 90px !important;
    left: 95% !important;
  }
  #itp10050 .modal-img_staff {
    top: 150px !important;
    left: 45% !important;
  }
  #itp10142 .modal-img_staff {
    top: 205px !important;
    left: 0% !important;
  }
  #itp10104.modal-img_staff {
    top: 260px !important;
    left: -125% !important;
  }
  #itp10148 .modal-img_staff {
    top: -105px !important;
    left: 80% !important;
  }
  #itp10163 .modal-img_staff {
    top: -160px !important;
    left: 125% !important;
  }
  #itp10203 .modal-img_staff {
    top: -115px !important;
    left: 165% !important;
  }
  #itp10132 .modal-img_staff {
    top: -145px !important;
    left: 60% !important;
  }
  #itp10088 .modal-img_staff {
    top: -425px !important;
    left: 180% !important;
  }
  #itp10113 .modal-img_gm {
    top: 70px !important;
    left: 105% !important;
  }
  #itp10181 .modal-img_staff {
    top: -195px !important;
    left: 125% !important;
  }
  #itp10158 .modal-img_staff {
    top: 170px !important;
    left: 100% !important;
  }
  #itp10153 .modal-img_staff {
    top: 60px !important;
    left: 55% !important;
  }
  #itp10146 .modal-img_staff {
    top: 110px !important;
    left: 0% !important;
  }
  #itp10201 .modal-img_staff {
    top: 165px !important;
    left: -60% !important;
  }
  #itp10161 .modal-img_staff {
    top: -180px !important;
    left: 75% !important;
  }
  #itp10017 .modal-img_staff {
    top: -230px !important;
    left: 135% !important;
  }
  #itp10080 .modal-img_staff {
    top: 25px !important;
    left: 45% !important;
  }
  #itp10022 .modal-img_staff {
    top: 108px !important;
    left: -10% !important;
  }
  #itp10035 .modal-img_staff {
    top: -215px !important;
    left: 85% !important;
  }
  #itp10131 .modal-img_staff {
    top: -145px !important;
    left: 30% !important;
  }
  #itp10145 .modal-img_staff {
    top: 115px !important;
    left: 5% !important;
  }
  #itp10133 .modal-img_staff {
    top: 165px !important;
    left: -60% !important;
  }
  #itp10124 .modal-img_staff {
    top: -245px !important;
    left: 160% !important;
  }
  #itp10157 .modal-img_staff {
    top: -205px !important;
    left: 100% !important;
  }
  #itp10167 .modal-img_staff {
    top: -155px !important;
    left: 45% !important;
  }
  #itp10014 .modal-img_staff {
    top: -110px !important;
    left: -5% !important;
  }

  #itp10062 .modal-img_gm {
    top: -40px !important;
    left: 40% !important;
  }
  #itp10013 .modal-img_gm {
    top: -90px !important;
    left: 50% !important;
  }

  #itp10046 .modal-img_gm {
    top: 15px !important;
    left: 40% !important;
  }
  #itp10195 .modal-img_gm {
    top: -10px !important;
    left: 30% !important;
    width: 115px;
    height: 200px;
  }
  #itp10003 .modal-img_gm {
    top: -20px !important;
    left: 20% !important;
  }
  #itp10002 .modal-img_gm {
    top: -40px !important;
    left: 55% !important;
  }
  #itp10004 .modal-img_gm {
    top: 5px !important;
    left: 40% !important;
  }
  #itp10165 .modal-img_staff {
    top: -230px !important;
    left: 90% !important;
  }
  #itp10104 .modal-img_staff {
    top: 260px !important;
    left: -120% !important;
  }
  #itp10196 .modal-img_staff {
    top: -220px !important;
    left: 140% !important;
  }

  .msd .block-staff {
    height: 300px;
  }

  .modal-img_staff {
    width: 70px;
    height: 190px;
  }
  .block-gm {
    height: 275px;
  }
  #itp10175 .modal-img_staff {
    top: -240px !important;
    left: 180% !important;
  }
  #itp10178 .modal-img_staff {
    top: -5px !important;
    left: -55% !important;
  }
  .cad-gm-abd {
    margin-top: 20% !important;
  }
  #itp10134 .modal-img_gm {
    top: -5px !important;
    left: 65% !important;
    z-index: 9;
  }

  #itp10195 .modal-img_gm.gm-staff img.table-active,
  #itp10108 .modal-img_gm.gm-staff img.table-active {
    width: 100%;
  }

  .block-gm.pod-gm {
    margin-top: 5% !important;
    background-position: 50% 50% !important;
  }
  #itp10207 .modal-img_gm {
    top: 30px !important;
    left: 40% !important;
  }
  #itp10207 .modal-img_staff {
    top: 35px !important;
    left: 45% !important;
  }
  #itp10030 .modal-img_staff {
    top: 30px !important;
    left: 40% !important;
  }
  #itp10192 .modal-img_staff {
    top: 95px !important;
    left: -15% !important;
  }
  #itp10193 .modal-img_staff {
    top: 65px !important;
    left: -15% !important;
  }
  #itp10198 .modal-img_staff {
    top: -205px !important;
    left: 195% !important;
  }
  #itp10199 .modal-img_staff {
    top: -125px !important;
    left: 10% !important;
  }
  #itp10200 .modal-img_staff {
    top: -190px !important;
    left: 190% !important;
  }
}

@media (max-width: 1599px) and (min-width: 1367px) {
  #itp10028 .modal-img_gm {
    top: -20px !important;
    left: 35% !important;
  }
  #itp10031 .modal-img_gm {
    top: 0px !important;
    left: 40% !important;
  }
  #itp10042 .modal-img_staff {
    top: 10px !important;
    left: 50% !important;
  }
  #itp10193 .modal-img_staff {
    top: 50px !important;
    left: -15% !important;
  }
  #itp10063 .modal-img_staff {
    top: 60px !important;
    left: 0% !important;
  }
  #itp10044 .modal-img_staff {
    top: 15px !important;
    left: 40% !important;
  }
  #itp10089 .modal-img_staff {
    top: 0 !important;
    left: 50% !important;
  }
  #itp10155 .modal-img_staff {
    top: 225px !important;
    left: -130% !important;
  }
  #itp10155 .modal-img_staff {
    top: -135px !important;
    left: 15% !important;
  }
  #itp10137 .modal-img_staff {
    top: -200px !important;
    left: 90% !important;
  }
  #itp10180 .modal-img_staff {
    top: -145px !important;
    left: 180% !important;
  }
  #itp10168 .modal-img_staff {
    top: 50px !important;
    left: 100% !important;
  }
  #itp10135 .modal-img_staff {
    top: -170px !important;
    left: 130% !important;
  }
  #itp10129 .modal-img_staff {
    top: 110px !important;
    left: 70% !important;
  }
  #itp10011 .modal-img_staff {
    top: -230px !important;
    left: 180% !important;
  }
  #itp10163 .modal-img_staff {
    top: -185px !important;
    left: 140% !important;
  }
  #itp10074 .modal-img_gm {
    top: 70px !important;
    left: 60% !important;
  }
  #itp10142 .modal-img_staff {
    top: 190px !important;
    left: -10% !important;
  }
  #itp10148 .modal-img_staff {
    top: -140px !important;
    left: 90% !important;
  }
  #itp10166 .modal-img_staff {
    top: 75px !important;
    left: 35% !important;
    z-index: 1;
  }
  #itp10197 .modal-img_staff {
    top: -150px !important;
    left: 95% !important;
  }
  #itp10050 .modal-img_staff {
    top: 130px !important;
    left: 35% !important;
  }
  #itp10049 .modal-img_staff {
    top: 75px !important;
    left: 85% !important;
  }
  #itp10132 .modal-img_staff {
    top: -145px !important;
    left: 60% !important;
  }
  #itp10203 .modal-img_staff {
    top: -115px !important;
    left: 165% !important;
  }
  #itp10104 .modal-img_staff {
    top: 240px !important;
    left: -120% !important;
  }
  #itp10192 .modal-img_staff {
    top: 95px !important;
    left: -20% !important;
  }
  #itp10030 .modal-img_staff {
    top: 35px !important;
    left: 35% !important;
  }
  #itp10004 .modal-img_gm {
    top: -10px !important;
    left: 40% !important;
  }
  #itp10145 .modal-img_staff {
    top: 100px !important;
    left: 5% !important;
  }
  #itp10133 .modal-img_staff {
    top: 145px !important;
    left: -60% !important;
  }
  #itp10124 .modal-img_staff {
    top: -265px !important;
    left: 185% !important;
  }
  #itp10157 .modal-img_staff {
    top: -220px !important;
    left: 130% !important;
  }
  #itp10167 .modal-img_staff {
    top: -180px !important;
    left: 75% !important;
  }
  #itp10014 .modal-img_staff {
    top: -140px !important;
    left: 20% !important;
  }
  #itp10146 .modal-img_staff {
    top: 95px !important;
    left: -15% !important;
  }
  #itp10201 .modal-img_staff {
    top: 140px !important;
    left: -75% !important;
  }
  #itp10153 .modal-img_staff {
    top: 45px !important;
    left: 45% !important;
  }
  #itp10165 .modal-img_staff {
    top: -205px !important;
    left: 70% !important;
  }
  #itp10183 .modal-img_staff {
    top: 235px !important;
    left: -130% !important;
  }
  #itp10195 .modal-img_gm {
    top: -15px !important;
    left: 25% !important;
  }
  #itp10182 .modal-img_staff {
    top: 10px !important;
    left: 75% !important;
  }
  #itp10174 .modal-img_staff {
    top: -260px !important;
    left: 155% !important;
  }
  #itp10173 .modal-img_staff {
    top: -200px !important;
    left: 130% !important;
  }
  #itp10178 .modal-img_staff {
    top: -10px !important;
    left: -55% !important;
  }
  #itp10204 .modal-img_staff {
    top: 100px !important;
    left: -80% !important;
  }
  #itp10187 .modal-img_staff {
    top: -235px !important;
    left: 80% !important;
  }
  #itp10108 .modal-img_gm {
    top: 15px !important;
    left: 0% !important;
  }
  .pod-mb {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }
  #itp10196 .modal-img_staff {
    top: -225px !important;
    left: 140% !important;
  }
  #itp10002 .modal-img_gm {
    top: -15px !important;
    left: 45% !important;
  }
  #itp10134 .modal-img_gm {
    top: -5px !important;
    left: 95% !important;
  }
  .mt-10 {
    margin-top: -100px;
  }
  .mt-11 {
    margin-top: 40px;
  }
  .mt-8 {
    margin-top: -70px !important;
  }
  #itp10194 .modal-img_staff {
    top: 60px !important;
    left: 145% !important;
  }
  #itp10198 .modal-img_staff {
    top: -225px !important;
    left: 195% !important;
  }
  #itp10186 .modal-img_gm {
    top: 0px !important;
    left: 35% !important;
  }
  .modal-img_gm {
    width: 115px;
    height: 200px;
  }
  .modal-img_gm img.table-active {
    width: 100%;
  }
  #itp10112 .modal-img_staff {
    top: -155px !important;
    left: -15% !important;
  }
  #itp10205 .modal-img_staff {
    top: -190px !important;
    left: 40% !important;
  }
  #itp10202 .modal-img_staff {
    top: -225px !important;
    left: 110% !important;
  }
  #itp10171 .modal-img_staff {
    top: -260px !important;
    left: 165% !important;
  }
}

@media (max-width: 1366px) and (min-width: 768px) {
  .section_box {
    margin: 50px 0;
  }
  .modal-img_staff .table-active {
    width: 60px;
  }
  .block-gm-pre {
    background-size: contain;
    height: 220px;
    margin-bottom: 25px;
  }
  .line-top h2 {
    font-size: 24px;
  }
  .line-top {
    margin: 0;
  }
  .popover-wrap .popover-target {
    font-size: 12px;
  }
  .popover-wrap .popover-target .custom-popover {
    font-size: 12px;
    width: 160px;
  }
  .custom-popover h6 {
    font-size: 12px;
  }
  .custom-popover p.department_name {
    font-size: 10px;
  }
  .name_detail {
    font-size: 10px;
  }
  .tel {
    display: flex;
  }
  .tel i {
    margin-right: 5px;
  }
  .email {
    font-size: 12px;
  }
  .department_name.mb-1 {
    margin-bottom: 0 !important;
  }
  .date h3 {
    font-size: 20px;
  }
  .time-other .country-name p,
  .text-link,
  .icon-department,
  .icon-modal p {
    font-size: 12px;
  }
  .time-other .time-zone-o h3 {
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
  }
  .subject-inner {
    padding: 5px 10px;
  }
  .heading-n p,
  .icon-modal h6 {
    font-size: 14px;
  }
  .board-alart ul li {
    padding: 2px 5px;
    font-size: 10px;
  }
  .board-alart .badge {
    font-size: 9px;
    font-weight: normal;
  }
  button.btn-status-inner {
    padding: 10px 15px;
  }
  .btn-show_meet {
    top: 120px;
    left: 15px;
  }
  .offcanvas-header h3 {
    font-size: 18px;
  }
  .board-inner {
    width: 150px;
    height: 200px;
    right: 15%;
    bottom: 90px;
  }
  .board_text h6 {
    font-size: 12px;
  }
  .board_text a {
    font-size: 10px;
    margin: 0 5px;
  }
  .line-top h2 {
    font-size: 18px;
  }
  .line-top p {
    font-size: 12px;
  }
  .modal-img_gm.gm-staff {
    width: 115px;
    height: 200px;
  }

  .modal-img_gm.gm-staff img.table-active,
  .modal-img_gm.gm-staff img.table-inactive {
    width: 100%;
  }

  #itp10010 .modal-img_gm {
    top: -40px !important;
    left: 15% !important;
  }
  #itp10003 .modal-img_gm {
    top: -25px !important;
    left: 30% !important;
  }
  #itp10062 .modal-img_gm {
    top: -40px !important;
    left: 30% !important;
  }
  #itp10013 .modal-img_gm {
    top: -90px !important;
    left: 45% !important;
  }
  #itp10028 .modal-img_gm {
    top: -10px !important;
    left: 40% !important;
  }
  #itp10031 .modal-img_gm {
    top: 0px !important;
    left: 40% !important;
  }
  #itp10134 .modal-img_gm {
    top: 10px !important;
    left: 95% !important;
  }
  #itp10002 .modal-img_gm {
    top: 25px !important;
    left: 40% !important;
  }
  #itp10004 .modal-img_gm {
    top: 15px !important;
    left: 40% !important;
  }

  #itp10042 .modal-img_staff {
    top: 25px !important;
    left: 40% !important;
  }
  #itp10044 .modal-img_staff {
    top: 20px !important;
    left: 40% !important;
  }
  #itp10054 .modal-img_staff {
    top: 70px !important;
    left: -20% !important;
  }
  #itp10046 .modal-img_gm {
    top: 10px !important;
    left: 40% !important;
  }
  #itp10063 .modal-img_staff {
    top: 60px !important;
    left: -15% !important;
  }
  #itp10174 .modal-img_staff {
    top: -240px !important;
    left: 135% !important;
  }
  #itp10207 .modal-img_staff {
    top: 65px !important;
    left: 35% !important;
  }
  #itp10173 .modal-img_staff {
    top: -200px !important;
    left: 85% !important;
  }
  #itp10180 .modal-img_staff {
    top: -130px !important;
    left: 175% !important;
  }
  #itp10198 .modal-img_staff {
    top: -195px !important;
    left: 170% !important;
  }
  #itp10168 .modal-img_staff {
    top: 50px !important;
    left: 100% !important;
  }
  #itp10137 .modal-img_staff {
    top: -200px !important;
    left: 90% !important;
  }
  #itp10155 .modal-img_staff {
    top: -135px !important;
    left: 15% !important;
  }
  #itp10183 .modal-img_staff {
    top: 240px !important;
    left: -135% !important;
  }
  #itp10074 .modal-img_gm {
    top: 60px !important;
    left: 60% !important;
  }
  #itp10011 .modal-img_staff {
    top: -215px !important;
    left: 180% !important;
  }
  #itp10163 .modal-img_staff {
    top: -180px !important;
    left: 130% !important;
  }
  #itp10129 .modal-img_staff {
    top: 110px !important;
    left: 70% !important;
  }
  #itp10049 .modal-img_staff {
    top: 75px !important;
    left: 85% !important;
  }
  #itp10050 .modal-img_staff {
    top: 130px !important;
    left: 35% !important;
  }
  #itp10148 .modal-img_staff {
    top: -130px !important;
    left: 90% !important;
  }
  #itp10142 .modal-img_staff {
    top: 190px !important;
    left: -10% !important;
  }
  #itp10030 .modal-img_staff {
    top: 35px !important;
    left: 35% !important;
  }
  #itp10192 .modal-img_staff {
    top: 95px !important;
    left: -20% !important;
  }
  #itp10165 .modal-img_staff {
    top: -205px !important;
    left: 70% !important;
  }
  #itp10133 .modal-img_staff {
    top: 160px !important;
    left: -70% !important;
  }
  #itp10145 .modal-img_staff {
    top: 115px !important;
    left: 0% !important;
  }
  #itp10014 .modal-img_staff {
    top: -100px !important;
    left: -10% !important;
  }
  #itp10167 .modal-img_staff {
    top: -140px !important;
    left: 45% !important;
  }
  #itp10157 .modal-img_staff {
    top: -185px !important;
    left: 100% !important;
  }
  #itp10124 .modal-img_staff {
    top: -230px !important;
    left: 160% !important;
  }
  #itp10146 .modal-img_staff {
    top: 105px !important;
    left: -20% !important;
  }
  #itp10201 .modal-img_staff {
    top: 160px !important;
    left: -75% !important;
  }
  #itp10161 .modal-img_staff {
    top: -170px !important;
    left: 65% !important;
  }
  #itp10104 .modal-img_staff {
    top: 230px !important;
    left: -135% !important;
  }
  #itp10203 .modal-img_staff {
    top: -115px !important;
    left: 165% !important;
  }
  #itp10132 .modal-img_staff {
    top: -145px !important;
    left: 60% !important;
  }
  #itp10051 .modal-img_staff {
    top: -155px !important;
    left: 140% !important;
  }
  #itp10175 .modal-img_staff {
    top: -235px !important;
    left: 185% !important;
  }
  #itp10178 .modal-img_staff {
    top: -10px !important;
    left: -50% !important;
  }
  #itp10089 .modal-img_staff {
    top: 10px !important;
    left: 50% !important;
  }
  #itp10187 .modal-img_staff {
    top: -220px !important;
    left: 80% !important;
  }
  #itp10204 .modal-img_staff {
    top: 115px !important;
    left: -80% !important;
  }
  .cad-gm-abd {
    margin-top: 20% !important;
  }
  #itp10182 .modal-img_staff {
    top: 35px !important;
    left: 75% !important;
  }
  #itp10108 .modal-img_gm {
    top: 10px !important;
    left: 0% !important;
  }
  #itp10080 .modal-img_staff {
    top: 45px !important;
    left: 45% !important;
  }
  .pod-mb {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }
  #itp10153 .modal-img_staff {
    top: 55px !important;
    left: 40% !important;
  }
  #itp10196 .modal-img_staff {
    top: -210px !important;
    left: 125% !important;
  }
  .mt-10 {
    margin-top: -80px;
  }
  .mt-11 {
    margin-top: 80px;
  }
  #itp10193 .modal-img_staff {
    top: 65px !important;
    left: -20% !important;
  }
  .lic-2 {
    height: 370px;
  }
  .mt-8 {
    margin-top: -100px !important;
  }
  #itp10194 .modal-img_staff {
    top: 85px !important;
    left: 145% !important;
  }
  #itp10186 .modal-img_gm {
    top: 0px !important;
    left: 35% !important;
  }
  .modal-img_gm {
    width: 115px;
    height: 200px;
  }
  .modal-img_gm img.table-active {
    width: 100%;
  }
}

@media screen and (max-width: 1180px) {
  .mb-5 {
    margin-bottom: 15px !important;
  }
  .mt-5 {
    margin-top: 15px !important;
  }
  .box-login_inner {
    max-width: 80%;
  }
  .btn-show_meet {
    top: 4%;
    left: auto;
    right: 2%;
  }
  .modal-lg,
  .modal-xl {
    max-width: 100% !important;
  }
  .logo,
  .news {
    margin-bottom: 15px;
  }
  .heading-dep {
    margin: 25px 0;
  }
  .block-gm-pre,
  .block-gm {
    background-image: none;
    background-color: #fff;
    border-radius: 25px;
    height: 150px;
    background-position: 50% 50% !important;
  }
  .block-staff,
  .block-lic {
    background-image: none;
    background-color: #fff;
    border-radius: 25px;
    height: fit-content !important;
    padding: 15px;
  }
  .block-gm {
    margin-top: 15px !important;
  }
  .lic-gm,
  .vp {
    margin-top: 15% !important;
  }
  .pod-gm {
    margin-top: 5% !important;
  }
  .popover-wrap {
    position: relative;
    top: auto !important;
  }

  #itp10010 .modal-img_gm,
  #itp10028 .modal-img_gm,
  #itp10031 .modal-img_gm,
  #itp10003 .modal-img_gm,
  #itp10062 .modal-img_gm,
  #itp10013 .modal-img_gm,
  #itp10046 .modal-img_gm,
  #itp10002 .modal-img_gm,
  #itp10108 .modal-img_gm,
  #itp10195 .modal-img_gm,
  #itp10004 .modal-img_gm,
  #itp10186 .modal-img_gm,
  #itp10207 .modal-img_gm,
  #itp10134 .modal-img_gm {
    margin-top: 15px;
    top: 50% !important;
    left: 50% !important;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }

  .table-active {
    display: block;
    margin: 0 auto;
  }

  #itp10193 .modal-img_staff,
  #itp10042 .modal-img_staff,
  #itp10205 .modal-img_staff,
  #itp10121 .modal-img_staff,
  #itp10204 .modal-img_staff,
  #itp10131 .modal-img_staff,
  #itp10089 .modal-img_staff,
  #itp10108 .modal-img_staff,
  #itp10166 .modal-img_staff,
  #itp10197 .modal-img_staff,
  #itp10173 .modal-img_staff,
  #itp10044 .modal-img_staff,
  #itp10063 .modal-img_staff,
  #itp10054 .modal-img_staff,
  #itp10174 .modal-img_staff,
  #itp10195 .modal-img_staff,
  #itp10182 .modal-img_staff,
  #itp10143 .modal-img_staff,
  #itp10051 .modal-img_staff,
  #itp10137 .modal-img_staff,
  #itp10155 .modal-img_staff,
  #itp10160 .modal-img_staff,
  #itp10135 .modal-img_staff,
  #itp10129 .modal-img_staff,
  #itp10011 .modal-img_staff,
  #itp10074 .modal-img_gm,
  #itp10049 .modal-img_staff,
  #itp10050 .modal-img_staff,
  #itp10180 .modal-img_staff,
  #itp10142 .modal-img_staff,
  #itp10104 .modal-img_staff,
  #itp10203 .modal-img_staff,
  #itp10144 .modal-img_staff,
  #itp10132 .modal-img_staff,
  #itp10088 .modal-img_staff,
  #itp10107 .modal-img_staff,
  #itp10113 .modal-img_gm,
  #itp10181 .modal-img_staff,
  #itp10064 .modal-img_staff,
  #itp10119 .modal-img_staff,
  #itp10017 .modal-img_staff,
  #itp10146 .modal-img_staff,
  #itp10201 .modal-img_staff,
  #itp10066 .modal-img_staff,
  #itp10096 .modal-img_staff,
  #itp10030 .modal-img_staff,
  #itp10192 .modal-img_staff,
  #itp10022 .modal-img_staff,
  #itp10080 .modal-img_staff,
  #itp10035 .modal-img_staff,
  #itp10046 .modal-img_staff,
  #itp10004 .modal-img_staff,
  #itp10014 .modal-img_staff,
  #itp10124 .modal-img_staff,
  #itp10133 .modal-img_staff,
  #itp10148 .modal-img_staff,
  #itp10202 .modal-img_staff,
  #itp10153 .modal-img_staff,
  #itp10165 .modal-img_staff,
  #itp10171 .modal-img_staff,
  #itp10158 .modal-img_staff,
  #itp10145 .modal-img_staff,
  #itp10157 .modal-img_staff,
  #itp10167 .modal-img_staff,
  #itp10161 .modal-img_staff,
  #itp10194 .modal-img_staff,
  #itp10168 .modal-img_staff,
  #itp10183 .modal-img_staff,
  #itp10175 .modal-img_staff,
  #itp10178 .modal-img_staff,
  #itp10187 .modal-img_staff,
  #itp10196 .modal-img_staff,
  #itp10191 .modal-img_staff,
  #itp10207 .modal-img_staff,
  #itp10163 .modal-img_staff,
  #itp10198 .modal-img_staff,
  #itp10199 .modal-img_staff,
  #itp10200 .modal-img_staff,
  #itp10206 .modal-img_staff,
  #itp10112 .modal-img_staff {
    position: relative;
    left: auto !important;
    top: auto !important;
    display: inline-block;
    margin-bottom: 15px;
  }
  .heading-dep {
    margin-top: 15px !important;
  }
  .block-staff {
    margin-bottom: 25px;
  }
  .line-right {
    border-left: 5px solid #fff;
    position: relative;
    margin: 0 25px 0 25px;
    padding-left: 25px;
    border-right: none;
  }
  .line-right::before {
    content: '';
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    left: -13px;
    top: 0;
  }
  .text-end {
    text-align: left !important;
  }
  .ps-5 {
    padding-left: 25px !important;
  }
  .line-right {
    padding-left: 15px;
    margin-left: 5px;
  }
  .modal-img_gm,
  .modal-img_gm.gm-staff,
  .modal-img_staff {
    height: auto;
  }
  #itp10195 .modal-img_gm,
  #itp10108 .modal-img_gm,
  #itp10004 .modal-img_gm,
  #itp10134 .modal-img_gm {
    top: auto !important;
    margin-bottom: 15px;
    transform: translate(-50%, 0%);
  }
  .mt-10,
  .mt-11,
  .mt-8 {
    margin-top: 0 !important;
  }
  .line-bottom {
    margin: 0 0 0 0;
  }
  .sad.mt-5 {
    margin-top: 0 !important;
  }
}

@media (max-width: 991px) {
  .box-login_inner {
    max-width: 90%;
    z-index: 9999;
    position: relative;
  }
}

@media (max-width: 768px) {
  .box-login_inner {
    max-width: 70%;
    padding: 40px 0px;
  }
}

@media screen and (max-width: 767px) {
  .time-other {
    margin: 15px 0;
  }
  .btn-show_meet {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin: 15px auto;
    text-align: center;
  }
  .section_box {
    margin: 50px 0;
  }
  .board-inner {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 0 auto;
  }
  .board {
    background-color: #fff;
    padding: 15px !important;
    border-radius: 25px;
    margin: 15px 0;
  }
  .board_text {
    margin-top: 0;
    padding-top: 35px;
  }
  .block-gm {
    margin-top: 40% !important;
  }
  .main-index {
    padding: 30px 15px;
  }
  .modal-img_gm {
    height: auto;
  }
  .modal-img_staff {
    width: 150px;
    height: auto;
  }
  .sad .block-gm {
    margin-top: 10px !important;
    padding-top: 20px;
    height: auto;
  }
  .popover-wrap .popover-target .custom-popover {
    width: 300px !important;
    right: -50%;
  }
  .name_detail {
    flex-wrap: wrap;
  }
  .toast {
    bottom: 80px;
  }
}

/* Portrait and Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 813px) and (-webkit-min-device-pixel-ratio: 2) {
  .row {
    --bs-gutter-x: 0 !important;
  }
  .box-login_inner {
    max-width: 90%;
    padding: 40px 20px;
    z-index: 1;
    position: relative;
  }
  .col-form-label.text-end {
    text-align: left !important;
  }
}

@media screen and (max-width: 425px) {
}

@media screen and (max-width: 375px) {
}

@media screen and (max-width: 320px) {
}

/* ===== Header (logo / status buttons / time box) ===== */
.dash-row .logo .logo-card {
  height: 100%;
  min-height: 140px;
  padding: 20px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(60, 40, 140, 0.18);
}
.dash-row .logo .logo-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.dash-row .logo .logo-card img {
  width: 100%;
  max-width: 280px;
  background: transparent;
}

.btn-status .status-stack {
  flex-direction: row;
  gap: 12px;
}
.btn-status .btn-status-01 {
  --btn-bg: linear-gradient(135deg, #ff6b6b 0%, #e5383b 100%);
}
.btn-status .btn-status-02 {
  --btn-bg: linear-gradient(135deg, #ffb347 0%, #f48c06 100%);
}
.btn-status .btn-status-03 {
  --btn-bg: linear-gradient(135deg, #3a3a4a 0%, #16161e 100%);
}
.btn-status button.btn-status-inner,
.btn-status button.btn-status-inner:hover,
.btn-status button.btn-status-inner:focus {
  flex: 1 1 0;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0;
  padding: 16px;
  min-height: 130px;
  border-radius: 18px;
  background: var(--btn-bg);
  color: #fff;
  box-shadow: 0 6px 18px rgba(30, 20, 80, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}
.btn-status button.btn-status-inner:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 24px rgba(30, 20, 80, 0.28);
}
.btn-status button.btn-status-inner .fw-bold {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
}
.btn-status button.btn-status-inner .badge {
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0 !important;
  background: transparent;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.btn-status button.btn-status-inner:hover .badge {
  background: transparent;
  color: #fff;
}

@media (max-width: 575px) {
  .btn-status button.btn-status-inner,
  .btn-status button.btn-status-inner:hover,
  .btn-status button.btn-status-inner:focus {
    min-height: 100px;
    padding: 12px;
  }
  .btn-status button.btn-status-inner .fw-bold {
    font-size: 0.68rem;
  }
  .btn-status button.btn-status-inner .badge {
    font-size: 1.8rem;
  }
}

.time-box .time-box-inner {
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(60, 40, 140, 0.18);
}
.time-box .time-inner-row {
  gap: 16px;
  align-items: stretch;
}
.time-box .bangkok-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #8065ee 0%, #5b3fd6 100%);
  color: #fff;
}
.time-box .bangkok-block .date_today {
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
}
.time-box .bangkok-block .yangon_time {
  margin: 0 0 6px;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.time-box .bangkok-block .country-name p {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: #fff;
}
.time-box .cities-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-content: center;
}
.time-box .cities-grid .city {
  padding: 10px 6px;
  border-radius: 14px;
  background: #f4f1ff;
}
.time-box .cities-grid .city .name {
  margin-bottom: 2px;
  font-size: 0.68rem;
  letter-spacing: 1px;
  color: #7a6fa8;
}
.time-box .cities-grid .city .clock {
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #2d2366;
}

@media (max-width: 991px) {
  .time-box .bangkok-block {
    border-bottom: none;
  }
  .dash-row .logo .logo-card {
    min-height: 100px;
  }
}
@media (max-width: 575px) {
  .time-box .cities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .time-box .bangkok-block .yangon_time {
    font-size: 2.4rem;
  }
}

/* ===== Offcanvas (Leave / Visit / No check-in) ===== */
.dash-row > .offcanvas {
  margin-top: 0;
  padding: 0;
  border: none;
  box-shadow: 10px 0 40px rgba(30, 20, 80, 0.25);
}
.dash-row > .offcanvas .offcanvas-header {
  padding: 22px 24px;
  background: linear-gradient(135deg, #8065ee 0%, #5b3fd6 100%);
}
.dash-row > .offcanvas .offcanvas-title {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 1px;
}
.dash-row > .offcanvas .btn-close {
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.18);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
  background-size: 12px;
  opacity: 1;
  transition: background-color 0.2s ease;
}
.dash-row > .offcanvas .btn-close:hover {
  background-color: rgba(255, 255, 255, 0.32);
}
.dash-row > .offcanvas .btn-close:focus {
  box-shadow: none;
}
@media (max-width: 575px) {
  .dash-row > .offcanvas.offcanvas-start {
    width: 88%;
  }
}

/* ===== Virtual office floors ===== */
.section_box {
  /* one scale for every floor, so desks are the same size on every floor */
  --vo-gm: min(380px, calc((100vw - 280px) / 4));
}
@media (max-width: 1199px) {
  .section_box {
    --vo-gm: min(380px, calc(100vw - 60px));
  }
}
.vo-steps {
  margin-top: 20px;
}
.vo-steps img {
  width: 120px;
}
.vo-steps img + img {
  margin-left: 60px;
}
.vo-dept {
  margin-bottom: 40px;
}
.vo-floor {
  position: relative;
  width: 100%;
  margin: 0 auto;
  background: no-repeat center / 100% 100%;
}
.vo-floor-gm {
  width: var(--vo-gm);
  max-width: 100%;
  aspect-ratio: 353 / 208;
  margin-top: 150px;
  background-image: url(../images/floor-gm.png);
}
.vo-floor-lic {
  width: calc(var(--vo-gm) * 800 / 380);
  max-width: 100%;
  aspect-ratio: 852 / 527;
  margin-top: 70px;
  background-image: url(../images/floor_lic.png);
}
.vo-desk {
  position: absolute;
}
.vo-desk img.table-active,
.vo-desk img.table-inactive {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
.vo-desk .popover-wrap {
  position: absolute !important;
  top: -42px !important;
  left: 50%;
  width: max-content;
  transform: translateX(-50%);
  z-index: 100;
}
.vo-desk .popover-target {
  justify-self: center;
  white-space: nowrap;
}
.vo-floor-gm .vo-desk-gm {
  width: 40%;
}
.vo-floor-gm .vo-desk-staff {
  width: 25%;
}
.vo-floor-lic .vo-desk-gm {
  width: 19%;
}
.vo-floor-lic .vo-desk-staff {
  width: 12%;
}
/* preview: every desk occupied (see showAllDesks in index.ejs) */
.vo-preview .vo-desk .popover-wrap {
  display: grid !important;
}
.vo-preview .vo-desk .showbody {
  display: inline !important;
}
.vo-preview .vo-desk .showtable {
  display: none !important;
}

/* iPad / mobile: staff floor becomes one desk per small floor, stacked */
@media (max-width: 1199px) {
  .vo-floor-lic {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    aspect-ratio: auto;
    margin-top: 0;
    background: none;
  }
  .vo-floor-lic .vo-desk {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: var(--vo-gm);
    aspect-ratio: 353 / 208;
    margin-top: 150px;
    background: url(../images/floor-gm.png) no-repeat center / 100% 100%;
  }
  .vo-floor-lic .vo-desk img.table-active,
  .vo-floor-lic .vo-desk img.table-inactive {
    position: absolute;
    left: 39%;
    top: -11%;
    width: 25%;
    margin: 0;
  }
  .vo-floor-lic .vo-desk .popover-wrap {
    top: calc(-11% - 42px) !important;
  }
}
