html {
  height: 100%;
}

body {
  background: #f4f4f4;
  margin: 0;
  padding: 0;
  color: black;
}

.full-width {
  width: 100%;
}

a {
  text-decoration: none;
}

a:visited {
  color: #00f;
}

a:hover {
  color: #2980b9;
}

section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.padlr140 {
  padding-left: 140px !important;
  padding-right: 140px !important;
}

.header {
  /*height: 120px;*/
  padding: 0px 164px;
  margin: 4px auto;
}

.header-wrapper {
  height: 140px;
  overflow: hidden;
}

.header-top {
  text-align: right;
}

.header-left {
  height: 100%;
  float: left;
}

.header-right {
  float: left;
  width: 60%;
  /* vertical-align: baseline;
  line-height: 120px; */
}

.header-right input[type="text"] {
  padding: 24px 16px;
  width: 80%;
  margin-left: 20%;
  border: none;
  border-radius: 4px;
}

.search-option {
  text-align: right;
  position: relative;
  margin: 0;
  padding: 0;
  margin-top: 8px;
  display: none;
}

.search-option input.i-option[type="checkbox"] {
  width: 16px;
  height: 16px;
}

span.i-option-label {
  position: relative;
  top: -4px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

span.i-option-space {
  margin: auto 8px;
}

.clear {
  clear: both;
}

.topnav {
  overflow: hidden;
  background-color: #333;
  padding-left: 140px;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 18px 22px;
  text-decoration: none;
  font-size: 17px;
}

.active {
  background-color: #4caf50;
  color: #fff;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: #fff;
  padding: 18px 22px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: #000;
  padding: 14px 18px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover,
.dropdown:hover .dropbtn {
  background-color: #555;
  color: #fff;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: #000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.footer {
  min-height: 20px;
  background-color: #2c3e50;
  color: #fff;
  padding: 24px 12px;
  text-align: center;
  font-family: 'Roboto Condensed';
  font-size: 18px;
}

.body-content hr {
  border: none;
  border-bottom: 1px solid #c3c3c3;
  margin-top: 24px;
}

.tag {
  display: inline-block;
  border: 1px solid #95a5a6;
  padding: 12px 14px;
  border-radius: 0px 24px 24px 0px;
  background: #ecf0f1;
  color: #d35400;
  font-size: 16px;
  font-weight: 800;
  margin: 6px 2px;
  cursor: pointer;
}

.tag:hover {
  box-shadow: 1px 1px 1px #95a5a6;
}

.float-end {
  clear: both;
}

.float-33 {
  float: left;
  width: 33%;
}

.body-content {
  min-height: 180px;
}

.body-content h2 {
  color: #00f;
}

/* .body-content a {
  color: #34495e;
}

.body-content a:hover {
  color: #2c3e50;
} */

#btn-totop {
  display: none;
  position: fixed;
  bottom: 45px;
  right: 45px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #e67e22;
  color: #fff;
  cursor: pointer;
  padding: 14px 18px;
  border-radius: 4px;
}

#btn-totop:hover {
  background-color: #d35400;
  box-shadow: 1px 1px 1px #bdc3c7;
}

i.up {
  border: solid #fff;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.slideshow-sc {
  text-align: center;
}

.sld-content {
  margin-left: auto;
  margin-right: auto;
}

.img-slide {
  display: none;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}

.recommend-book {
  color: #666;
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
  background: #F4F4F4;
  line-height: 1.7;
}

.recommend-wrapper {
  text-align: left;
}

.recommend-wrapper .cover {
  float: left;
  margin-right: 12px;
}

.recommend-end {
  clear: both;
}

.recommend-wrapper p:before {
  content: "\00a0\00a0\00a0\00a0";
}

.recommend-wrapper .book-title {
  font-family: monospace;
  font-size: 24px;
  padding-left: 20px;
}

a.not-active {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: black;
}

.no-wrap {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display:block;
  width:100%;
  min-width:1px;
}

.text-only-3-line {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  /* line-height: 1.6; */
  /* max-height: 4.8; */
}

@media screen and (max-width: 600px) {
  body {
    background-color: #f6f6f6;
  }
  .header-right {
    width: 50%;
  }

  .topnav a:not(:first-child),
  .dropdown .dropbtn {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
  }

  .header {
    padding: 4px 12px;
  }

  .padlr140 {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  .topnav.responsive .dropdown {
    float: none;
  }

  .topnav.responsive .dropdown-content {
    position: relative;
  }

  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }

  .mobile-content-padding {
    padding-left: 12px !important;
    padding-right: 8px !important;
  }

  .slideshow-sc {
    display: none;
  }
  
  #btn-totop {
    right: 8px;
  }

  .float-33 {
    width: 46%;
  }

  .end-col1 {
    display: none;
  }

  .end-col2 {
    padding-left: 12px;
  }

  #sidebar-second {
    display: none;
  }
}
