/***** pre-login pages *****/
footer .login-partners { position: absolute; top: 0; right: 10px; padding: 10px 0; text-align: right; }
footer .login-partners .partners-container {
  display: inline-flex; justify-content: flex-end; align-items: center;
  padding: 5px 10px;
  border-radius: 3px;
  /* background: rgba(255,255,255, 0.7); */
}
footer .login-partners img { max-width: 80px; max-height: 50px; margin: 0 3px; }
footer .login-partners img:nth-child(1) { width: 60px; }


.panel-login.force-show { display: none; }
.panel-login.force-show .btn-hide-login { display: none; }

.wrapper.wrapper-login .login-logo { width: -moz-fit-content; width: fit-content; max-width: 100%; margin: 0 auto 20px; font-size: 30px; font-weight: bold; }
.wrapper.wrapper-login .login-logo img { width: 400px; }

.container-login { margin: 0 auto 120px; text-align: center; }
.container-login .panel-login { display: none; margin: auto; }
.container-login .panel-open-login { display: none; }
.container-login h2 { margin: 0 0 20px; }
.container-login .panel { width: 520px; max-width: 100%; }
.container-login .btn-group { text-align: center; }
.container-login .forgot-pw { text-align: right; }

.wrapper-login .panel-ship-track { min-width: 600px; width: auto; width: -moz-fit-content; width: fit-content; margin: auto; padding-bottom: 50px; }
.wrapper-login .panel-track,
.wrapper-login .panel-ship-track {
  border: none;
}
.wrapper-login .panel-track { width: 400px; background: none; box-shadow: none; }
.wrapper-login .panel-track input { width: 100%; }



/***** track shipment/order tab *****/
.panel-track.find-ship .panel-track-ship, .panel-track.find-order .panel-track-order { display: block; }
.panel-track.find-ship .panel-track-order, .panel-track.find-order .panel-track-ship { display: none; }
.panel-track .panel-find-button { text-align: center; }
.spacer-or::before { content: 'OR'; display: block; position: relative; top: -10px; width: 50px; margin: auto; text-align: center; background: #f1f1f1; }

.panel-guest-ship { text-align: center; }

@media screen and (max-width: 700px) {
  .wrapper.wrapper-login { background: none; }
  .wrapper.wrapper-login .login-logo img { width: 360px; max-width: 100%; }
  .wrapper.wrapper-login .panel-track { margin-bottom: 20px; }

  .container-login .panel-open-login { display: block; text-align: center; }
  .container-login .panel-login.show-login { display: block; }
  .container-login .panel-login .btn-hide-login { position: absolute; z-index: 1; top: 10px; right: 10px; }
  header .header-login { display: none; }
  footer .login-partners { display: none; }
  
  .wrapper-login .ship-track-events table td { white-space: initial; }
  .wrapper-login .panel-ship-track { min-width: auto; width: 100%; }
  .wrapper-login .panel-ship-track table:not(.no-responsive) tbody td { padding-left: 65px; }
  .wrapper-login .panel-ship-track table:not(.no-responsive) tbody td::before { width: 60px; }
  .wrapper-login .panel-ship-track table:not(.no-responsive) tbody td:nth-child(1):before { content: '날짜'; }
  .wrapper-login .panel-ship-track table:not(.no-responsive) tbody td:nth-child(2):before { content: '장소'; }
  .wrapper-login .panel-ship-track table:not(.no-responsive) tbody td:nth-child(3):before { content: '메세지'; }

  .panel-guest-ship { display: none; }
  .panel-login.force-show { display: block !important; }
}
@media screen and (max-width: 1100px) {
  footer { overflow-x: hidden; }
  footer .login-partners { left: 780px; right: auto; }
}



/***** ship.track.result *****/
.panel-ship-track .ship-track-events h3 { margin-top: 20px; }
.panel-ship-track .ship-track-events tbody td { padding-right: 20px; }
.panel-ship-track .ship-track-events thead th:nth-child(1) { width: 130px; }
.panel-ship-track .ship-track-events thead th:nth-child(3) { width: 120px; }



/***** home: dashboard *****/
.dash-notification { width: 100%; margin-bottom: 15px; }
.dash-notification > div.wrapper-alert {
  display: block;
  padding: 10px 15px; margin-bottom: 5px;
  border: 1px solid #ccc; border-radius:3px; background: #fff;
  color: #d65601; text-align: left; font-size: 0.8rem; font-style: italic;
	animation: anim-dash-notify 3s linear infinite;
}
.dash-notification > div.wrapper-alert a { display: block; color: #d65601; }
@keyframes anim-dash-notify {  
  50% { border-color: #f53d3d; background: #ffd; color: #f53d3d; }
}

.panel-dash-1 h1 { margin-bottom: 20px; }
.panel-dash-1 h2 { margin-bottom: 10px; }
.panel-dash-1 h2 + .danger { margin: 20px 0; }



/***** home *****/
.panel-dash-home .dash-today { font-size: 2rem; font-weight: 300; }
.panel-dash-home .dash-today .col-n:nth-child(2) { font-size: 1.5rem; vertical-align: bottom; } /* day of week */

.panel-dash-home .group-mawb .mawb-etd,
 .panel-dash-home .group-mawb .mawb-eta { display: inline-block; width: 140px; }
.panel-dash-home .group-mawb label { display: inline-block; width: 50px; margin-bottom: 5px; font-weight: bold; color: #0054b0; }


.btn-home-menu {
  display: inline-block;
  width: 120px; height: 80px; margin: 0 10px 10px 0; padding: 10px;
  border: 2px solid #999; border-radius: 3px;
  background: #f7f7f7;
}
.btn-home-menu:hover { border-color: #2276d2; background: #ffc; }
.btn-home-menu:last-child { margin-right: 0; }



/***** home: overlay x ship-weight *****/
.tbl-ship-weight-pkg { margin-bottom: 20px; width: 500px; }
.tbl-ship-weight-pkg input { min-width: auto; width: 100%; }
.tbl-ship-weight-pkg tbody td { padding: 0; }
.tbl-ship-weight-pkg tbody td:nth-child(1) { min-width: 40px; width: 40px; text-align: center; }
.tbl-ship-weight-pkg tbody td:nth-child(2),
.tbl-ship-weight-pkg tbody td:nth-child(8) { min-width: 100px; width: 100px; } /* weight */
.tbl-ship-weight-pkg tbody td:nth-child(3),
 .tbl-ship-weight-pkg tbody td:nth-child(5),
 .tbl-ship-weight-pkg tbody td:nth-child(7),
 .tbl-ship-weight-pkg tbody td:nth-child(9),
 .tbl-ship-weight-pkg tbody td:nth-child(11),
 .tbl-ship-weight-pkg tbody td:nth-child(13) { min-width: 50px; width: 50px; } /* w, h, d */
.tbl-ship-weight-pkg tbody td:nth-child(4),
 .tbl-ship-weight-pkg tbody td:nth-child(6),
 .tbl-ship-weight-pkg tbody td:nth-child(10),
 .tbl-ship-weight-pkg tbody td:nth-child(12) { min-width: 20px; width: 20px; text-align: center; } /* "x" between w, h, d */
.tbl-ship-weight-pkg td:nth-child(8) [name="pkg_weight[]"] { border-left: 0; }
.tbl-ship-weight-pkg [name="pkg_w[]"],
 .tbl-ship-weight-pkg [name="pkg_h[]"],
 .tbl-ship-weight-pkg [name="pkg_d[]"],
 .tbl-ship-weight-pkg [name="pkg_w_master[]"],
 .tbl-ship-weight-pkg [name="pkg_h_master[]"],
 .tbl-ship-weight-pkg [name="pkg_d_master[]"] { border-right: 1px solid #ccc; }
 
.tbl-ship-weight-pkg.tbl-input input[readonly] { background: #eee; }
.overlay-frm-weight-scan-err { margin-bottom: 20px; }
