@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@100..700&display=swap');

body{
  font-family: "Anuphan", sans-serif;
}
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: "Anuphan", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}
/*  Button */
a {
  text-decoration: none;
  color: #295f98;
}

button {
  font-size: 18px;
  font-weight: 600;
  border: none;
  height: 60px;
  opacity: 0.95;
  cursor: pointer;
}

.btn-view a {
  text-decoration: none;
  font-weight: 500;
  color: #000;
}

.btn-view a:hover {
  color: #74642F;
}

/*Page Title*/
.page-title {
  font-size: 42px;
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .page-title {
    font-size: 24px;
    margin-top: 10px;
  }
}

/*Section Title*/
.section-header {
  position: relative;
}

.section-title {
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 50px;
  color: #688aba;
}

.section-title.divider {
  width: 100%;
}

.section-header .title span {
  font-size: 14px;
  color: #afafaf;
}


@media screen and (max-width: 768px) {
  .section-title {
    font-size: 30px;
  }
}

/* header */
header{
  background-color: #295f98
  ;
}
.logo {
  padding: 10px;
}
.logo img{
  max-width: 40%;

}

/* highlight*/
#highlight .main-slider {
  padding: 80px 0;
}

.main-slider .slider-item {
  display: flex;
  width: 100%;
  justify-content: center;
}

.main-slider .banner-content {
  width: 40%;
  margin-top: 60px;
  margin-right: 150px;
}

.banner-content h2.book-title {
  font-size: 36px;
  font-weight: 500;
  color: #222;
}

.banner-content p {
  margin: 0 0 30px 0;
}

#highlight .slick-dots {
  left: 200px;
  bottom: 10px;
  width: 10%;
  text-align: inherit;
}

#highlight button.arrow {
  background: transparent;
  border: 1px solid #E5E3DA;
  padding: initial;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  z-index: 5;
  cursor: pointer;
}

#highlight button.arrow:hover {
  border: 1px solid #74642F;
  background-color: #E5E3DA;
}

#highlight button.prev.arrow {
  left: 110px;
}

#highlight button.next.arrow {
  right: 110px;
}

#highlight .arrow i.icon {
  color: #8C8C8C;
}

@media screen and (max-width: 1366px) {
  #highlight button.prev.arrow {
    left: 0;
  }

  #highlight button.next.arrow {
    right: 0;
  }
}

@media screen and (max-width: 999px) {
  .banner-content h2.banner-title {
    font-size: 30px;
  }

  #highlight .main-slider {
    margin: 70px 0;
    padding: 0;
  }

  .main-slider .slider-item {
    flex-wrap: wrap;
    text-align: center;
    flex-direction: column-reverse;
  }
  .main-slider .slider-item  img{
    width: 50%;
    margin: 0 auto;
  }

  .main-slider .banner-content {
    width: 100%;
    margin-top: 60px;
    margin-right: 0;
    margin-bottom: 80px;
  }

  #highlight .slick-dots {
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
  }
}

/*Books Section*/

#books .book-list {
  border-bottom: 1px solid #000;
  margin-bottom: 30px;padding-bottom: 40px;
}

.book-style {
  position: relative;
  overflow: hidden;
}

.book-style figcaption p {
  margin-bottom: 20px;
}

.book-style img.book-item {
  position: relative;
  background: #EFEEE8;
  border: 1px solid #EAE8DF;
  padding: 10%;
  cursor: pointer;
  width: 100%;
}

.book-style button.more {
  position: absolute;
  background: #C7B7A3;
  color: #fff;
  width: 100%;
  margin: 0;
  text-align: center;
  line-height: 2;
  bottom: 280px;
  bottom: -60px;
  left: 0;
  z-index: 9;
  transition: 0.3s ease-out;
  
}

.book-style:hover button.more {
  bottom: 3000px;
  bottom: 0;
  
}

.book-item figcaption {
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.book-item figcaption>h3 {
  font-size: 20px;
  font-weight: 500;
  color: #1A4870;
  margin: 0;
}
.book-item figcaption>p {
  margin: 0;
}

/*Float*/
.align-left {
  float: left;
  text-align: left;
}

.align-right {
  float: right;
  text-align: right;
}

.align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.footer{
  margin: 0;
  padding: 40px 15px 30px;
  background-color: #295f98;
  color: #fff;
  font-size: 14px;
}
.social-links ul {
  list-style: none;
  display: flex;
  margin-bottom: 0;
}

.social-links a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}
.social-links li {
  margin-right: 20px;
  
}

@media screen and (max-width: 768px) {
  #footer .footer-item {
    margin-right: 0;
  }
}
.content{
  padding: 30px 20px;
  background-color: #f3f0ec;
  text-decoration: none;
}
.ppage-title{
  text-align:center;
  padding: 15px 10px;
  background-color: #E1D7C6;
}

.info{
  font-size: 14px;
}
.info p{
  line-height: 10px;
}













