/* globel css */
@font-face {
  font-family: Garnett;
  src: url("../../static/fonts/Garnett/Garnett-Semibold-Regular/Garnett-Regular.d238f29c3afa.ttf");
}

@font-face {
  font-family: Garnett-italic;
  src: url("../../static/fonts/Garnett/Garnett-RegularItalic.fb6ef1a9b15d.ttf");
}

@font-face {
  font-family: Garnett-italic-bold;
  src: url("../../static/fonts/Garnett/Garnett-BoldItalic.adf03a1701e8.ttf");
}

* {
  font-family: Garnett !important;
}

i {
  font-family: Garnett-italic !important;
}

/* i b {
  font-family: Garnett-italic-bold !important;
} */

.fa {
  font: normal normal normal 20px/1 FontAwesome !important;
}

.afrm-body {
  margin: 0 auto;
}

.st-container {
  max-width: 1600px;
  width: 95%;
  margin: 0 auto;
}

.-bg-white-opc {
  background: #eff1f08a;
}

.--theme-bg-opcity {
  background: #9ca8a0;
}

.-bg-unset {
  background: unset;
}

.-bg-secondary {
  background: #eff1f0;
}

.-bg-light {
  background: #eff1f0;
}

.-bg-green {
  background: #89988d;
}

.-bg-light-green {
  background: #9ca8a0;
}

.-bg-pink {
  background: #f7f2f1;
}

.-bg-brown {
  background: #af8076;
}

.-bg-light-brown {
  background: #bb938a;
}

.-bg-dark-pink {
  background: #af8076;
}

.-bg-light-gray {
  background: #f7f2f1;
}

.-bg-mute {
  background: #f3f5f4;
}

.-bg-light-mute {
  background: #eff1f0;
}

.bg input.-bg-unset {
  background-color: unset;
}

.--text-dark {
  color: #000;
}

.opacity-0 {
  opacity: 0;
}

.s-h1 {
  font-size: 80px;
}

.s-h2 {
  font-size: 60px;
}

.s-h3 {
  font-size: 40px;
}

.s-h4 {
  font-size: 30px;
}

.s-h4s {
  font-size: 26px;
}

.s-h5 {
  font-size: 24px;
}

.s-h5s {
  font-size: 22px;
}

.s-h6 {
  font-size: 18px;
}

.s-h6s {
  font-size: 20px;
}

.s-h7 {
  font-size: 16px;
}

.s-h8 {
  font-size: 14px;
}

.s-h9 {
  font-size: 12px;
}

.s-h10 {
  font-size: 10px;
}

.-h-702 {
  height: 702px;
}

.w-218 {
  width: 218px;
}

.h-218 {
  height: 218px;
}

.white-space-nowrap {
  white-space: nowrap;
}

.cursor-pointer {
  cursor: pointer;
}

.rotate-90 {
  transform: rotate(90deg);
}

a.link:hover {
  color: #000;
  cursor: pointer;
}

.tabs a {
  padding: 2px;
}

.tabs a.active {
  border-bottom: 1px solid #000;
}

.-text-decoration {
  text-decoration: none;
}

.rotate-90 {
  transform: rotate(90deg);
}

::-webkit-scrollbar {
  width: 5px;
}

a:hover {
  color: #000 !important;
}

/* Track */
::-webkit-scrollbar-track {
  background: #dddcdc;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* gray on hover */

.gray-hover:hover {
  filter: grayscale(80%);
}

a.link {
  color: #000;
  text-decoration: none;
}

a.text-primary:hover {
  color: #0077f7 !important;
}

.-h-30 {
  height: 30px;
}

.-h-16 {
  height: 16px;
}

.-w-16 {
  width: 16px;
}

.w-388 {
  width: 388px;
}

.-w-47 {
  width: 47px;
}

.w-218 {
  width: 218px;
}

.h-218 {
  height: 218px;
}

.-h-47 {
  height: 47px;
}

.-w-25 {
  width: 25px;
}

.tabs li a.active {
  border-color: #000;
}

.tabs li a {
  border-bottom: 1px solid transparent;
}

.ellipsis {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}

.img-rounded {
  width: 132px;
  height: 132px;
  overflow: hidden;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: self-start;
}

/* search btn */
.tab-search {
  position: relative;
}

.tab-search .form-control.custom-input {
  background-color: #f4f5f4;
  width: auto;
  max-width: 180px;
  display: flex;
  white-space: nowrap;
  font-size: 14px;
  text-overflow: ellipsis;
  padding: 0px 35px 0 10px;
  min-width: 100px;
}

.tab-search .tab-search-icon {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.tab-search input {
  padding: 0 30px 0 15px !important;
  height: 30px;
}

.tab-search input.-bg-unset {
  background: unset;
  font-size: 14px;
}

.tab-search input[type="text"]::placeholder {
  font-size: 14px;
  color: #000;
}

.blog-w img {
  vertical-align: middle;
  max-width: 100%;
}

/* tab-chip */
.s-chip:hover {
  opacity: 0.6;
  cursor: pointer;
}

/* rounded indicators */
.carousel-indicators.rounded-indicators [data-bs-target] {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid #000;
}

.carousel-indicators.rounded-indicators .active {
  opacity: 1;
  background: rgb(0, 0, 0);
}

/* end globel css */

/* header toggle btn */
.afrim-menu {
  padding-right: 40px;
}

.toggle-menu-icon {
  top: 47px;
  right: auto;
  z-index: 999;
}

.over_body_mask {
  z-index: 9999 !important;
}

.hedding-text {
  max-width: 722px;
}

header .logo img,
footer .logo img {
  width: 176px;
}

.navbar span input.form-control:focus {
  box-shadow: unset;
}

.navbar span input.form-control {
  font-size: 14px;
}

header ul li a.nav-link {
  font-size: 17px;
  color: #000;
}

header span input.form-control::placeholder {
  color: #000;
}

header span a i.s-h9 {
  font-size: 12px !important;
}

header span {
  width: 181px;
  height: 30px;
}

/* footer */
.form-floating input[type="text"],
.form-floating input[type="email"] {
  background: unset;
  border: none;
  color: #000;
  font-size: 24px;
  border-bottom: 1px solid #000;
}

.form-floating input::placeholder {
  font-size: 24px;
}

.form-floating > .form-control:focus ~ label {
  font-size: 12px;
}

.form-floating > label {
  font-size: 24px;
}

footer .form-control:focus {
  box-shadow: unset;
}

footer h5,
footer p {
  color: #000;
}

footer .social-icon a {
  width: 48px;
  height: 48px;
  font-size: 28px !important;
}

footer .social-icon a:hover {
  background: #af8076;
  color: #000;
}

.blog-news{
  width: 250px;
  height: 132px;
}

/* custon checkbox */
.form-group-c input {
  display: none;
}

.form-group-c {
  height: 20px;
}

.form-group-c label {
  position: relative;
  cursor: pointer;
  height: 20px;
  line-height: normal;
}

.form-group-c label:before {
  content: "";
  background-color: transparent;
  border: 2px solid #000000;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05),
    inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
  padding: 8px;
  display: inline-block;
  position: relative;
}

.form-group-c input:checked + label:after {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  left: 7px;
  width: 6px;
  height: 12px;
  border: solid #000000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* card section */
.main-card {
  position: relative;
  display: flex;
  justify-content: center;
  background: #f3f5f4;
  align-items: center;
  padding: 40px 0;
}

.hover-card {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  left: 0;
  right: 0;
  background: #f3f5f4;
  opacity: 0;
  transition: all linear 0.7s;
}

.hover-card .inner-h-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  height: 100%;
  padding: 40px;
  text-align: center;
}

.main-card:hover .hover-card {
  opacity: 1;
  transition: all linear 0.4s;
}

/* static page  */
/* temporary container */
.xm-container {
  width: 80%;
  margin: 0 auto;
}

/* end temporary container */

/* about us css */

.about-img {
  max-width: 95%;
}

.about-img img {
  width: 100%;
}

.play-btn {
  width: 141px;
  height: 141px;
  left: 0;
  right: 0;
  background: #af8076;
}

/* end about us css */

/* team section */
.team-card .team-card-img {
  margin-top: -150px;
  margin-bottom: 30px;
}

.team-card {
  margin-top: 120px !important;
}

/* end static page  */

.featured {
  background: #af8076;
}

.transition {
  transition: all linear 0.3s;
}

.custom-grid {
  grid-template-columns: 18% 18% 18% 18% 18%;
  grid-gap: 2.5%;
}

.custom-grid .custom-width {
  max-width: 250px;
  max-height: 250px;
  height: 250px;
  box-shadow: 0px 0px 2px #222020;
}

.img-card img:hover {
  transform: scale(1.15);
  transition: all linear 0.3s;
}

.img-card-link {
  border: 1px solid #000;
}

.img-card-link:hover {
  background: #fff;
  border-color: #fff;
}

.img-card-link:hover a {
  color: #000;
}

.img-card-mehroon {
  height: 218px;
  border: 1px solid #000;
}

.img-card-mehroon:hover {
  background-color: #af8076;
  border: 0;
}

.arrow {
  width: 25px;
}

.-w-300 {
  width: 308px;
}

.-h-300 {
  height: 308px;
}

.-h-24 {
  height: 24px;
}

.-w-223 {
  width: 223px;
}

#more {
  display: none;
}

.-w-48 {
  width: 48px;
}

.-h-48 {
  height: 48px;
}

.-w-50 {
  width: 50px;
}

.-h-50 {
  height: 50px;
}

.-w-40 {
  width: 40px;
}

.-w-60 {
  width: 60%;
}

.-h-40 {
  height: 40px;
}

.-w-250 {
  max-width: 250px;
}

.-h-250 {
  max-height: 250px;
}

.author-grid {
  display: grid;
  justify-content: space-between;
  grid-template-columns: 19% 19% 19% 19% 19%;
}

/* book */
.book-list.main-card .upper-card {
  width: 80%;
  margin: auto;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

.book-list.main-card .upper-card img {
  object-fit: cover;
}

.main-card-link {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.animation-slide {
  height: 25px;
  width: fit-content;
  transition: all linear 2s;
}

.animation-slide .img {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  transition: all ease-out 0.9s;
}

.animation-slide .content {
  padding-left: 30px;
  transition: all ease-out 0.2s;
}

.animation-slide:hover .content {
  padding-left: 0px;
  transition: all ease-out 0.4s;
}

.animation-slide:hover .img {
  left: unset;
  right: -40px;
  transition: all ease-out 0.9s;
}

/* end book */
.side-nav .arrow,
.side-nav .overlay-text h4,
.side-nav .overlay-text:hover .arrow,
.side-nav .overlay-text:hover h4,
.side-nav .overlay-text:hover h6,
.side-nav .overlay-text h6,
.side-nav .overlay-text-lg h4,
.side-nav .overlay-text-lg:hover .arrow,
.side-nav .overlay-text-lg:hover h4,
.side-nav .overlay-text-lg:hover h6,
.side-nav .overlay-text-lg h6 {
  transition: all linear 0.3s;
}

.side-nav .arrow {
  width: 0;
}

.side-nav .overlay-text h4,
.side-nav .overlay-text-lg h4 {
  padding: 0;
}

.side-nav .overlay-text:hover .arrow {
  width: 15px;
}

.side-nav .overlay-text-lg:hover .arrow {
  width: 22px;
}

.side-nav .overlay-text:hover h4,
.side-nav .overlay-text-lg:hover h4 {
  padding-left: 15px;
}

.side-nav .overlay-text:hover h6,
.side-nav .overlay-text-lg:hover h6 {
  padding-left: 10px;
}

/* contact us */
.contact-us .form-control,
.contact-us .form-control::placeholder {
  font-size: 18px;
  color: #000;
}

.contact-us input[type="text"],
.contact-us input[type="password"],
.contact-us input[type="email"],
.contact-us textarea,
.contact-us .selecter .selecter-selected {
  padding: 0.3em 1.25em;
}

form .form-control:focus {
  box-shadow: none;
}

/* end contact us  */

.z-index-99 {
  z-index: 99;
}

.Submission-shape {
  width: 451px !important;
  height: 557px;
  position: absolute;
  left: 50%;
  z-index: -1;
  top: 50%;
  transform: translate(-50%, -50%);
}

.sub-missions {
  background-image: url("/static/css/images/affirm/Rectangle286.e283165ad105.svg");
  background-repeat: no-repeat;
  background-position-x: 48%;
  background-position-y: 3%;
}

.latest-in-news .owl-prev,
.latest-in-news .owl-next,
.latest-author .owl-prev,
.latest-author .owl-next {
  width: 51px;
  height: 51px;
  transform: translateY(-50%);
  top: 50%;
  position: absolute;
  display: flex !important;
  border-radius: 50% !important;
  box-shadow: 0px 0px 20px #00000029;
  align-items: center;
  justify-content: center;
}

.latest-in-news .owl-next,
.latest-author .owl-next {
  right: -30px;
}

.latest-in-news .owl-prev,
.latest-author .owl-prev {
  left: -30px;
}

.latest-in-news .owl-theme .owl-nav [class*="owl-"],
.latest-in-news .owl-theme .owl-nav [class*="owl-"]:hover {
  background: #fff !important;
  color: #000;
}

.latest-in-img img {
  width: 336px !important;
  height: 525px;
}

.latest-in-img-sec,
.latest-in-content {
  width: 50%;
}

.latest-in-content {
  padding: 0 80px 0 0;
}

.latest-in-img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
}

.latest-in-news .owl-carousel .owl-stage,
.latest-in-news .owl-carousel .owl-stage .owl-item,
.latest-sec-h {
  max-height: fit-content;
}

.latest-in-news .owl-carousel .owl-stage {
  margin: 70px 0 80px;
  background: #af8076;
}

.-h-413 {
  min-height: 413px;
}

.latest-in-news .owl-item.active .latest-in-img-sec {
  transform: translateX(0px);
  transition: all linear 0.1s;
  opacity: 1;
}

.latest-in-news .owl-item .latest-in-img-sec {
  transform: translateX(200%);
  transition: all linear 0.1s;
  opacity: 0;
}

.latest-in-news a.home-affirm-feature {
  background: transparent !important;
}

/* end latest-news */

/* authers */
.custom_carosel .inner-col .carousel-scroll {
  max-height: 215px;
  overflow: hidden;
}

.custom_carosel .inner-col .carousel-scroll:hover {
  overflow: auto;
}

.latest-author .owl-theme .owl-nav [class*="owl-"],
.latest-author .owl-theme .owl-nav [class*="owl-"]:hover {
  background: #af8076 !important;
  color: #000;
}

.latest-author .owl-carousel,
.latest-author .owl-stage-outer {
  max-height: 310px;
}

.owl-carousel .owl-item img.owlslide-img {
  width: 307px;
}

.owl-carousel .owl-item img.orange-arrow {
  width: 25px;
}

.m-h-218 {
  max-height: 218px;
}

.m-h-395 {
  max-height: 395px;
}

.h-395 {
  height: 395px;
}

.w-395 {
  width: 395px;
}

.m-h-307 {
  height: 307px;
}
.author_box_border{
  box-shadow: 0px 0px 2px #222020;
}

/* book-globel */
.tabs li a {
  border-bottom: 2px solid transparent;
}

.tabs li a.active {
  border-color: #000;
}

/* end book-globel */
.-h-35 {
  height: 35px;
}

.m-h-300 {
  min-height: 300px;
}

.book-multi-c .carousel-inner {
  background-image: url("/static/css/images/affirm/quote-shape.8c48b3f6662b.svg");
  background-repeat: no-repeat;
  background-position: left center;
  height: 100%;
}

.book-multi-c .carousel-control-next,
.book-multi-c .carousel-control-prev {
  top: unset;
  margin-bottom: 17px;
  width: 51px;
}

.book-multi-c-pos {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 23px;
  width: 170px;
}

.book-multi-c .count-slide {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: inherit;
  width: 60px;
  bottom: 7px;
}

.book-multi-c .carousel-indicators [data-bs-target] {
  height: auto;
  text-indent: unset;
  background-color: unset;
  border-bottom: unset;
}

.rotate-180 {
  transform: rotate(180deg);
}

.book-multi-c .carousel-indicators {
  margin-bottom: 86px;
}

.past_event-tag {
  transform: rotate(45deg);
  right: -60px;
  top: 38px;
  width: 250px;
}

/* login page */
.register,
.bookseller {
  min-height: 100vh;
}

input.form-control::placeholder {
  color: #000;
}

.btn.--bg-dark,
.btn:first-child:hover,
:not(.btn-check) + .btn:hover.login-btn,
:not(.btn-check) + .btn:hover.register-btn {
  background: #000;
}

.-h-100vh {
  height: 100vh;
}

.bookseller {
  min-height: calc(100vh - 118px);
}

/* cataloguespy */
.catalogues .img-card-c .img img {
  max-width: 312px;
  min-height: 472px;
  width: 100%;
}

/* Distribution partners */
.-bg-mute {
  background: #f3f5f4;
}

.m-w-60 {
  max-width: 60%;
}

/* end Distribution partners  */

/* bookseller infirmation */
.rotate-90 {
  transform: rotate(90deg);
}

.grid_card {
  display: grid;
  grid-template-columns: 13% 13% 13% 13% 13% 13% 13%;
  width: 100%;
  justify-content: space-between;
}

.Bookseller .main-grid_card.-bg-brown:hover {
  background: #be928b;
}

.Bookseller .main-grid_card:hover .-bg-light-brown {
  background: #af8076;
}

.Bookseller .main-grid_card.-bg-light-green:hover {
  background: #89988d;
}

.Bookseller .main-grid_card:hover .-bg-green {
  background: #9ca8a0;
}

.date_dropdown {
  padding: 0 15px 0 0;
}

/* end bookseller infirmation */

/* article */

.image-card-box .img {
  max-height: 400px;
  overflow: hidden;
}

.-bg-light-muted {
  background: #f7f8f7;
}

/* media query */
@media screen and (min-width: 299px) and (max-width: 599px){
  .latest-in-img {
    position: absolute;
    top: 51%;
    transform: translateY(-62%);
    left: -8px;
    right: 0;
  }
  .latest-in-content {
    padding: 0px 0px 0px 0px;
    text-align: center;
}
.latest-in-img-sec, .latest-in-content {
  width: 100%
}
.latest-in-img img {
  width: 245px !important;
  height: 387px;
}
.-h-413 {
  min-height: 321px;
}

}
@media screen and (min-width: 599px) and (max-width: 799px){
  .latest-in-img {
    position: absolute;
    top: 79%;
    transform: translateY(-77%);
    left: 108px;
    right: 0;
  }
  .inner-col{
    position: absolute;
    top: 211px;
    left: 415px;
  }

}

@media screen and (max-width: 1690px) {
  .about {
    overflow: hidden;
  }

  .about .right-img {
    right: -2.9%;
    position: relative;
  }
}

@media screen and (min-width: 1501px) {
  .author-img_box {
    width: 270px;
    height: 270px;
  }
}

@media screen and (max-width: 1500px) {
  .-w-250 {
    max-width: 200px;
  }

  .-h-250 {
    max-height: 200px;
  }

  .author-img_box {
    width: 250px;
    height: 250px;
  }
}

@media screen and (max-width: 1400px) {
  .custom-grid {
    grid-template-columns: 22.5% 22.5% 22.5% 22.5%;
    grid-gap: 3.3%;
  }

  .carousel-p {
    padding-right: 100px;
  }
}

@media screen and (min-width: 1300px) and (max-width: 1399px) {
  .author-img_box {
    width: 218px;
    height: 218px;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1299px) {
  .author-img_box {
    width: 214px;
    height: 214px;
  }
}

@media screen and (max-width: 1200px) {
  .-w-250 {
    max-width: 171px;
  }

  .-h-250 {
    max-height: 171px;
  }

  .carousel-p {
    padding-right: 50px;
  }

  .grid_card {
    grid-template-columns: 15% 15% 15% 15% 15% 15%;
  }
}

@media only screen and (max-width: 1199px) {
  .custom-grid .custom-width {
    max-width: 220px;
    max-height: 220px;
    height: 220px;
    box-shadow: 0px 0px 2px #222020;
  }

  .about-img {
    height: 586px;
    max-width: 100%;
    overflow: hidden;
  }

  .about-img img {
    width: 100%;
  }

  .s-h1 {
    font-size: 56px;
  }

  .s-h2 {
    font-size: 40px;
  }

  .-w-60 {
    width: 70%;
  }

  .author-grid {
    grid-template-columns: 23% 23% 23% 23%;
  }

  .author-img_box {
    width: 216px;
    height: 216px;
  }
}

@media screen and (max-width: 1024px) {
  .custom-grid {
    grid-template-columns: 31.5% 31.5% 31.5%;
    grid-gap: 2.7%;
  }
}

@media screen and (max-width: 991px) {
  .about .right-img {
    right: unset;
    padding-bottom: 20px;
  }

  .author-grid {
    grid-template-columns: 29% 29% 29%;
  }

  .carousel-p {
    padding: 30px;
  }

  .-w-60 {
    width: 80%;
  }

  .grid_card {
    grid-template-columns: 18% 18% 18% 18% 18%;
  }

  .author-img_box {
    width: 210px;
    height: 210px;
  }
}

@media screen and (max-width: 820px) {
  .author-img_box {
    width: 223px;
    height: 223px;
  }

  .author-grid {
    grid-template-columns: 31% 31% 31%;
  }
}

@media screen and (max-width: 767px) {
  .custom-grid .custom-width {
    max-width: 180px;
    max-height: 180px;
    height: 180px;
    box-shadow: 0px 0px 2px #222020;
  }

  .author-grid {
    grid-template-columns: 49% 49%;
  }

  .author-img_box {
    width: 278px;
    height: 278px;
  }

  .grid_card {
    grid-template-columns: 23% 23% 23% 23%;
  }
}

@media only screen and (max-width: 600px) {
  .author-img_box {
    width: 224px;
    height: 224px;
  }

  .custom-grid .custom-width {
    max-width: 145px;
    max-height: 145px;
    height: 145px;
    box-shadow: 0px 0px 2px #222020;
  }

  .w-388 {
    width: 100%;
  }

  .grid_card {
    grid-template-columns: 31% 31% 31%;
  }
}

@media screen and (max-width: 480px) {
  .custom-grid .custom-width {
    max-width: 125px;
    max-height: 125px;
    height: 125px;
    box-shadow: 0px 0px 2px #222020;
  }

  .grid_card,
  .custom-grid {
    grid-template-columns: 48% 48%;
  }

  .author-grid {
    grid-template-columns: 100%;
    justify-content: center;
  }

  .author-img_box {
    width: 300px;
    height: 300px;
  }
}

@media screen and (max-width: 400px) {
  .-h-250 {
    max-height: 140px;
  }

  .-w-250 {
    max-width: 140px;
  }
}
