.dish-details-section {
  background-color: #f4f3f4;
}
.dish-details-container,
.recipe-files-container,
.editor-container,
.comments-container {
  width: 90%;
  margin: 0 auto;
}
.dish-details-container .header-page a {
    text-decoration: none;
    color: #000;
    /* font-family: mediumm; */
    font-family: regular;
}
.dish-details-container .header-page i {
  color: #858a8f;
}
.dish-details-container .header-page a:first-child {
  text-decoration: none;
  color: #858a8f;
}
.dish-wrapper1,
.recipe-files-container,
.editor-container,
.comments-container {
  background-color: #fff;
  text-align: right;
  padding: 30px;
  border: 1px solid #70707015;
  border-radius: 20px;
}
.right-side-wrapper1 {
  position: relative;
}
.right-side-wrapper1 h4,
.right-side-wrapper1 h5 {
    /* font-family: mediumm; */
    font-family: boldd;
}
.right-side-wrapper1 h2,
.right-side-wrapper1 h4 {
  color: #cb4337;
}
.left-side-wrapper1 {
  padding-right: 27px !important;
}
/* .right-side-wrapper1 h4 {
  color: #5a5a5a;
  font-size: 21px;
} */
.wrapper1-info .info-box p,
.footer-info p {
  font-size: 20px;
  font-family: regular;
}
.left-side-wrapper1 img {
  border-radius: 16px;
  height: 396px;
  width: 100%;
  object-fit: cover;
}
.info-box,
.footer-info {
  font-size: 19px;
  font-family: regular;
}
.recipe-component img {
  border-radius: 20px;
}
.recipe-right img {
  height: 90%;
  width: 100%;
  object-fit: cover;
}
.recipe-right {
  padding-left: 16px !important;
}
.grid-img {
  position: relative;
}
.grid-img img {
  width: auto !important;
}
.recipe-left .grid .grid-img::before,
.recipe-left .grid .grid-img::before {
  content: " ";
  background-color: rgba(0, 0, 0, 0.4);
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 20px;
}
.recipe-left .grid .grid-img img:nth-child(2) {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-10px);
  border-radius: 0;
}
.recipe-left .grid:nth-child(3) .grid-img i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-10px);
  border-radius: 0;
  color: #fff;
  font-size: 14px;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  background-color: #cb4337;
}
.editor-container span:first-child {
  margin-left: 15px;
  background-color: #f4f3f4;
  display: inline-block;
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid #70707065;
  line-height: 34px;
}
.editor-container span:nth-child(2) {
    /* font-family: mediumm; */
    font-family: regular;
    font-size: 20px;
}
.editor-container span:nth-child(3) {
  font-family: regular;
  font-size: 19px;
  color: #5a5a5a;
  margin-right: 6px;
}

.editor-container h5 {
    /* font-family: mediumm; */
    font-family: boldd;
    margin-bottom: 20px;
}
.comment-box {
  border-bottom: 2px solid #cccccc4f;
  /* padding-bottom: px; */
  margin-top: 17px;
}
.comment-box span:first-child {
    /* font-family: mediumm; */
    font-family: boldd;
}
.comment-box span:nth-child(2) {
  color: #5a5a5a;
  font-family: regular;
  margin-bottom: 10px;
}
.comment-box p {
  font-family: regular;
  width: 90%;
  font-size: 16px;
}
.add-comment button {
    color: #fff;
    background-color: #cb4337;
    border: none;
    outline: none;
    padding: 10px 35px;
    /* font-family: mediumm; */
    font-family: regular;
    border-radius: 30px;
    transition: 0.3s ease-in;
}
.add-comment button:hover {
  background-color: #000000;
}
.pag-list ul {
  list-style: none;
  padding: 0;
}

.pag-list ul li a {
    border: 1px solid #cccccc;
    padding: 6px 13px;
    border-radius: 8px;
    text-decoration: none;
    color: #000;
    margin: 10px;
    width: 100%;
    /* font-family: mediumm; */
    font-family: regular;
    height: 100%;
    font-size: 13px;
    transition: 0.3s ease;
}
.pag-list ul li:first-child a {
  color: #cccccc;
}
.pag-list ul li:last-child a {
  border: 1px solid #cb4337;
  color: #cb4337;
}
.pag-list ul li a:hover {
  border: 1px solid #cb4337;
  background-color: #cb4337;
  color: #fff;
}
.pag-list ul li a.active {
  color: #fff;
  border: 1px solid #cb4337;
  background-color: #cb4337;
}
.social-btn-lg,
.social-btn-res {
  direction: ltr;
}

.social-btn-lg img {
  width: 26px;
}
.social-btn-res img {
  width: 20px;
}
.social-btn-lg span,
.social-btn-res span {
  margin-left: 15px !important;
}

.social-btn-lg .main-social,
.social-btn-res .main-social {
  margin: 0;
  cursor: pointer;
}
.social-btn-lg .social-component {
  position: relative;
}
.social-content {
  background-color: #fff;
  position: absolute;
  left: 5%;
  top: 5%;
  width: 50px;
  height: 50px;
  font-size: 28px;
  padding: 0px 11px;
  border-radius: 50px;
  transition: all 0.4s ease-in-out;
  overflow: hidden;
  box-shadow: 0 2px 5px rgb(0 0 0 / 16%);
}
.social-btn-lg .social-content {
  top: 25%;
}

.social-content img {
  width: 25px;
  transform: translateY(1px);
}
.face-social a {
  color: #4c76eb;
}
.face-social a:hover {
  color: #4c76eb;
}
.social-content a {
  transition: 0.3s;
}
.social-content a:hover {
  transform: scale(1.1);
}
.twitter-social a {
  color: #03a9f4;
}
.twitter-social a:hover {
  color: #03a9f4;
}
.insta-social a {
  background: #d6249f;
  background: radial-gradient(
    circle at 30% 107%,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-content:hover {
  width: 165px;
  visibility: visible;
}
.social-content:hover .main-social {
  padding-right: 20px;
  border-right: 1px solid #cccccc;
}
.main-social {
  transition: all 0.4s ease-in-out;
}

.modal-comment {
  background-color: rgb(0 0 0 / 62%);
  z-index: 999999;
  opacity: 0;
  top: 0;
  left: 0;
  transition: 0.6s;
  pointer-events: none;
  visibility: hidden;
}
.modal-content {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 85%;
  background-color: #fff;
  border-radius: 20px;
  transform: translateX(-50%) translateY(-50%);
  transition: 0.5s;
  padding: 20px;
}
.modal-content.active {
  left: 50%;
  top: 50%;
}
.modal-comment.active {
  opacity: 1;
  visibility: visible;
  pointer-events: visible;
}

.modal-content {
  text-align: right;
  overflow: auto;
  max-height: 90vh;
}
.modal-content label,
.modal-content h6 {
    /* font-family: mediumm; */
    font-family: boldd;
}
.close-icon-comment i {
  background-color: #f4f3f4;
  width: 35px;
  height: 35px;
  line-height: 35px;
  font-size: 20px;
  border-radius: 50%;
  color: #cb4337;
  cursor: pointer;
  text-align: center;
}
.head-comment {
  width: 93%;
  margin: 0 auto;
}
.head-comment input,
.head-comment select,
.head-comment textarea {
  background: #f4f3f4;
  border: 1px solid #e7e5ea;
  border-radius: 20px;
  padding: 17px;
}
.head-comment input::placeholder,
.head-comment textarea::placeholder {
  color: #8a8a8f;
  font-family: regular;
}
.comment-hint {
  color: #707070;
  margin-top: 10px;
}
.comment-hint span {
  font-family: regular;
  color: #000;
}
.submit-comment input {
  background-color: #cb4337;
  color: #fff;
  padding: 6px 50px;
  border-color: #cb4337;
  transition: all 0.3s;
}
.submit-comment input:hover {
  border-color: #000000;
  background-color: #000;
}
.recipe-right a,
.recipe-left .grid a {
  position: relative;
  display: block;
  height: 100%;
  text-decoration: none;
  color: #000;
}

.icon-expan {
  position: absolute;
  left: 10px;
  top: 10px;
  text-align: center;
}
.icon-expan2 {
  position: absolute;
  left: 8px;
  top: 8px;
  text-align: center;
}
.icon-expan img {
  width: 30px !important;
}
.icon-expan img,
.icon-expan2 img {
  border-radius: 5px;
}
.icon-expan2 img {
  width: 24px !important;
}
.owl-nav button {
  position: absolute;
  top: 50%;
  width: 35px;
  height: 35px;
  transform: translateY(-100%);
  text-align: center;

  display: inline-block;
  background: #cb4337 !important;
  color: #fff !important;
  font-size: 14px !important;
  outline: none !important;
  /* margin: 0 !important; */
  border-radius: 50% !important;
  line-height: 37px;
  text-align: center;
  transition: 0.2s ease-in;
}
.owl-nav button:first-child {
  right: -54px;
}

.owl-nav button:nth-child(2) {
  left: -54px;
}
.owl-nav button:nth-child(1) i {
  transform: translateX(1px);
}
.owl-nav button:nth-child(2) i {
  transform: translateX(-1px);
}
.owl-nav button span {
  transform: translateX(10px);
}

.owl-nav button:hover {
  background-color: rgba(0, 0, 0, 0.555) !important;
}
.header-recipe {
    /* font-family: mediumm; */
    font-family: boldd;
}

.recipe-component  .row{
  margin-right:-8px;
  margin-left:-8px;
}
.recipe-component  .row > div[class*='col-']{
  padding-right:8px;
  padding-left:8px;
}
.recipe-component .recipe-right > img:first-child{
  height: 533px !important;
}
.recipe-component .grid-img > img:first-child,.recipe-component .grid-imgs > img:first-child{
  height: 258px !important;
  object-fit: cover;

}
@media (max-width:1367px) {
  .recipe-component .recipe-right a > img{
    height: 468px !important;
    object-fit: cover;
  }
  .recipe-component .grid-img > img:first-child,.recipe-component .grid-imgs > img:first-child{
    height: 227px !important;

  }


}
@media (min-width:1920px) {

  .recipe-component .recipe-right a > img {
        height: 527px !important;
  }

}
@media (min-width:1480px) {

  .recipe-component .recipe-right a > img {
        height: 527px !important;
  }

}
@media (max-width:1280px) {
  .recipe-component .recipe-right a > img{
    height: 436px !important;
    object-fit: cover;
  }
  .recipe-component .grid-img > img:first-child,.recipe-component .grid-imgs > img:first-child{
    height: 210px !important;
  }
}
@media (max-width:1024px) {
  .recipe-component .recipe-right a > img{
    height: 348.8px !important;
    object-fit: cover;
  }
  .recipe-component .grid-img > img:first-child,.recipe-component .grid-imgs > img:first-child{
    height: 168px !important;
  }
}
@media (max-width:992px) {
  .recipe-component .recipe-right a > img{
    height: 337.9px !important;
  }
  .recipe-component .grid-img > img:first-child,.recipe-component .grid-imgs > img:first-child{
    height: 163px !important;
  }

}
@media (max-width:768px) {
  .recipe-component .recipe-right a > img{
    height: 243.9px !important;
  }
  .recipe-component .grid-img > img:first-child,.recipe-component .grid-imgs > img:first-child{
    height: 113px !important;
  }
  .recipe-left .grid:nth-child(3) .grid-img i{
    top: 40%;
  }
}
@media (max-width:767px) {
  .social-btn-res{
    margin-right: auto;
    margin-left: 15px;
  }
  .social-content{
    position: static;
  }
}
@media (max-width:414px) {
  .recipe-component .recipe-right a > img{
    height: 243.9px !important;
  }
  .recipe-component .grid-img > img:first-child,.recipe-component .grid-imgs > img:first-child{
    height: 113px !important;
  }

}
