/*******
Author LeVanToan - https://levantoan.com
*********/

.recipes ul.pagination {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 18px;
  padding: 0px;
  margin-top: 40px;
}
.recipes ul.pagination li {
  height: 30px;
  width: 30px;
  border: solid 1px #4c4552;
  border-radius: 30px;
  text-align: center;
  font-size: 16px;
  line-height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.recipes ul.pagination li a {
  color: #4c4552;
}
.recipes ul.pagination li:hover {
  color: white;
  background-color: #df231d;
  border: none;
}
/* ul.pagination li a:active {
  color: white;
} */
.recipes ul.pagination li a:hover {
  color: #ffff;
}
.recipes ul.pagination li a {
  padding: 5px 10px;
  display: block;
}
.recipes ul.pagination li.active {
  /* padding: 5px 10px; */
  color: white;
  background-color: #df231d;
  border: none;
}
/* for inactive previous and next button  */

.recipes ul.pagination li.next,
.recipes ul.pagination li.prev {
  border: none;
  background: none;
  padding-top: 5px;
}

.recipes ul.pagination li.inactive {
  opacity: 0.3;
  pointer-events: none;
  padding: 0px;
}
.recipes div#result_ajaxp {
  position: relative;
  display: table;
}
.recipes div#result_ajaxp:after {
  display: table;
  content: " ";
  clear: both;
}
/*CSS load*/
.recipes #circularG {
  position: relative;
  width: 30px;
  height: 30px;
  left: 50%;
  top: 50%;
  margin-left: -25px;
  margin-top: -25px;
}
.recipes .circularG {
  position: absolute;
  background-color: #000000;
  width: 7px;
  height: 7px;
  -moz-border-radius: 5px;
  -moz-animation-name: bounce_circularG;
  -moz-animation-duration: 0.56s;
  -moz-animation-iteration-count: infinite;
  -moz-animation-direction: normal;
  -webkit-border-radius: 5px;
  -webkit-animation-name: bounce_circularG;
  -webkit-animation-duration: 0.56s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-direction: normal;
  -ms-border-radius: 5px;
  -ms-animation-name: bounce_circularG;
  -ms-animation-duration: 0.56s;
  -ms-animation-iteration-count: infinite;
  -ms-animation-direction: normal;
  -o-border-radius: 5px;
  -o-animation-name: bounce_circularG;
  -o-animation-duration: 0.56s;
  -o-animation-iteration-count: infinite;
  -o-animation-direction: normal;
  border-radius: 5px;
  animation-name: bounce_circularG;
  animation-duration: 0.56s;
  animation-iteration-count: infinite;
  animation-direction: normal;
}
.recipes #circularG_1 {
  left: 0;
  top: 12px;
  -moz-animation-delay: 0.21s;
  -webkit-animation-delay: 0.21s;
  -ms-animation-delay: 0.21s;
  -o-animation-delay: 0.21s;
  animation-delay: 0.21s;
}
.recipes #circularG_2 {
  left: 3px;
  top: 3px;
  -moz-animation-delay: 0.28s;
  -webkit-animation-delay: 0.28s;
  -ms-animation-delay: 0.28s;
  -o-animation-delay: 0.28s;
  animation-delay: 0.28s;
}
.recipes #circularG_3 {
  top: 0;
  left: 12px;
  -moz-animation-delay: 0.35s;
  -webkit-animation-delay: 0.35s;
  -ms-animation-delay: 0.35s;
  -o-animation-delay: 0.35s;
  animation-delay: 0.35s;
}
.recipes #circularG_4 {
  right: 3px;
  top: 3px;
  -moz-animation-delay: 0.42s;
  -webkit-animation-delay: 0.42s;
  -ms-animation-delay: 0.42s;
  -o-animation-delay: 0.42s;
  animation-delay: 0.42s;
}
.recipes #circularG_5 {
  right: 0;
  top: 12px;
  -moz-animation-delay: 0.49s;
  -webkit-animation-delay: 0.49s;
  -ms-animation-delay: 0.49s;
  -o-animation-delay: 0.49s;
  animation-delay: 0.49s;
}
.recipes #circularG_6 {
  right: 3px;
  bottom: 3px;
  -moz-animation-delay: 0.56s;
  -webkit-animation-delay: 0.56s;
  -ms-animation-delay: 0.56s;
  -o-animation-delay: 0.56s;
  animation-delay: 0.56s;
}
.recipes #circularG_7 {
  left: 12px;
  bottom: 0;
  -moz-animation-delay: 0.63s;
  -webkit-animation-delay: 0.63s;
  -ms-animation-delay: 0.63s;
  -o-animation-delay: 0.63s;
  animation-delay: 0.63s;
}
.recipes #circularG_8 {
  left: 3px;
  bottom: 3px;
  -moz-animation-delay: 0.7s;
  -webkit-animation-delay: 0.7s;
  -ms-animation-delay: 0.7s;
  -o-animation-delay: 0.7s;
  animation-delay: 0.7s;
}
.recipes @-moz-keyframes bounce_circularG {
  0% {
    -moz-transform: scale(1);
  }
  100% {
    -moz-transform: scale(0.3);
  }
}
.recipes @-webkit-keyframes bounce_circularG {
  0% {
    -webkit-transform: scale(1);
  }
  100% {
    -webkit-transform: scale(0.3);
  }
}
.recipes @-ms-keyframes bounce_circularG {
  0% {
    -ms-transform: scale(1);
  }
  100% {
    -ms-transform: scale(0.3);
  }
}
.recipes @-o-keyframes bounce_circularG {
  0% {
    -o-transform: scale(1);
  }
  100% {
    -o-transform: scale(0.3);
  }
}
.recipes @keyframes bounce_circularG {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.3);
  }
}
.recipes .loading_ajaxp {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
  /* background: rgba(0, 0, 0, 0.05); */
  display: none;
}
/* ---------------------------------------------------------------- */
/* category css */

.recipes .container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
}
.recipes .owl-item {
  border: solid 3px transparent;
  transition: 0.5s;
  border-radius: 23px;
}
.recipes .owl-item:hover {
  border: solid 3px #ffb719;
  background-color: #ffb61916;
  transition: 0.5s;
}
.recipes .owl-item:hover .item {
  background-color: #fef9c3;
  transition: 0.5s;
}
.Home-carousel .recipes .owl-dot span {
  transition: all 0.5s ease;
  background-color: white !important;
}
.Home-carousel .recipes .owl-dot:hover span {
  background-color: #df231d !important;
}
.Home-carousel .recipes .owl-dot.active span {
  background-color: #df231d !important;
}
/* từng bài post flex col*/
.recipes .item {
  width: 33%;
  padding: 13px;
  border-radius: 23px;
  background-color: white;
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  align-items: center;
  box-shadow: 5px 5px 20px 0px rgba(128, 128, 128, 0.4);
  transition: all 0.5s;
}
/* thumbnail div */
.recipes .item .thumbnail {
  height: 352px;
     width: 100%;
}
/* thumbnail image */
.recipes .item .thumbnail img {
  height: 100%;
   width: 100%;
  object-fit: cover;
  border-radius: 16px;
}
/* title */
.recipes .item .title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  padding-top: 12px;
  font-family: "Merriweather";
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.recipes .item .title a {
  color: #df231d;
  font-size: 24px;
  line-height: 34px;
  font-family: "UTM-gods-word";
}
.recipes .information {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: center;
}
.recipes .information .information-item {
  display: flex;
  gap: 20px;
  justify-content: space-around;
  width: 100%;
}
.recipes .information .information-item-detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 20%;
}
.information .information-title {
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
}
.recipes .information .information-item-detail p {
  color: #df231d;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.recipes .information .information-item-detail span {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  min-height: 40px;
}
.recipes .item div {
  height: auto;
}
/* nút xem công thức */
.recipes .item .btn {
  /* padding-top: 12px; */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-family: "UTM-gods-word";
}
.recipes .item .btn a {
  padding: 10px 16px;
  border: solid 1px #312265;
  border-radius: 36px;
  color: #312265;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  background-color: inherit;
}
.recipes .item .btn a:hover {
  background-color: #312265;
  color: white;
  transition: 0.5s;
}
.recipes .item .btn a:hover path {
  stroke: white;
  transition: 0.5s;
}
/* tablet*/
@media (max-width: 1024px) {
	.recipes .item {
    width: 50%;
  }
  .recipes .container {
    column-gap: 10px;
  }
  .recipes .item .thumbnail {
       width: 100%;
    height: 280px;
  }
}
/* mobile */
@media (max-width: 767px) {
  .recipes .item .thumbnail img {
    width: 100%;
  }
  .recipes .item {
    width: 100%;
  }
}
@media (max-width: 450px) {
  .recipes .item .thumbnail {
    width: 100%;
    height: 320px;
  }
  .recipes ul.pagination {
    gap: 10px;
  }
}

#ajax-load-more .blog-post-item {
  box-shadow: 5px 5px 15px 0px rgba(128, 128, 128, 0.3);
}

.recipes .owl-stage-outer {
  border-radius: 23px;
}