/* Responsive and accessibility layer for the archived Cengage site. */
img {
  max-width: 100%;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
input:focus-visible {
  outline: 3px solid #ff8a00;
  outline-offset: 2px;
}

@media (max-width: 900px) {
  *, *::before, *::after {
    box-sizing: border-box;
  }

  html,
  body {
    min-width: 0;
    width: 100%;
  }

  body {
    font-size: 14px;
    text-align: left;
  }

  .wrapper {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .header {
    min-height: 76px;
    height: auto;
    overflow: hidden;
  }

  .ul_mainNav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: auto;
    min-height: 42px;
    padding: 5px 10px;
  }

  .ul_mainNav li {
    float: none;
    padding: 0 4px;
    background: none;
  }

  .ul_mainNav li a {
    display: inline-block;
    min-height: 32px;
    padding: 7px 8px;
    line-height: 18px;
  }

  .date {
    display: none;
  }

  .homeCon {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 16px;
  }

  .homeCon * {
    max-width: 100%;
  }

  .bar1,
  .bar2,
  .bar3,
  .bar4 {
    float: none;
    width: 100%;
    margin: 0;
  }

  .bar2,
  .bar4 {
    order: 1;
  }

  .bar1 {
    order: 2;
  }

  .bar3 {
    order: 3;
  }

  .box0 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    padding: 14px;
  }

  .box1 {
    float: none;
    width: auto;
    margin: 0;
  }

  .box1 img {
    width: 100%;
    height: auto;
  }

  .title4,
  .title5,
  .brandList,
  .box2,
  .tabBox_a1,
  .tabCont,
  .bookDetail,
  .bookInfor {
    width: 100%;
  }

  .bookList li {
    width: 100%;
    height: auto;
    min-height: 120px;
  }

  .content {
    margin-right: 0;
    margin-left: 0;
    overflow-wrap: anywhere;
  }

  .content table,
  .editorOutput table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  .inforList li {
    padding: 10px 0;
  }

  .inforList li span {
    float: none;
    display: block;
    margin-bottom: 3px;
    text-align: right;
  }

  .inforList li a {
    position: relative;
    padding-left: 14px;
    line-height: 1.65;
    background: none;
  }

  .inforList li a::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #0477ad;
    font-weight: bold;
  }

  .footer {
    min-height: 110px;
    height: auto;
    padding: 0 16px 18px;
    overflow: hidden;
  }

  .ul_footerQuick,
  .p_copyright {
    margin-left: 0;
  }
}

@media (max-width: 620px) {
  .header {
    padding: 12px 16px;
  }

  .h1_siteInfo {
    float: none;
    display: block;
    margin: 0 auto 10px;
  }

  .search {
    float: none;
    width: 100%;
    margin: 0;
    padding-left: 0;
    text-align: center;
    background: none;
  }

  .input_text {
    width: min(65vw, 260px);
    height: 34px;
    padding: 5px 8px;
  }

  .submit1 {
    width: 58px;
    height: 34px;
    color: #fff;
    background: #0477ad;
    border-radius: 3px;
    text-indent: 0;
  }

  .homeCon {
    padding: 12px;
  }

  .box0 {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .ul_footerQuick li,
  .footList li {
    float: none;
    display: inline-block;
    margin-bottom: 8px;
  }
}
