/*
Theme Name: HydroAzma
Theme URI: https://hydroazma.ir
Author: Virak
Author URI: https://virak.net
Description: We build all designs with love and the hope that our customers will succeed in their work.
Requires at least: 6.1
Tested up to: 6.1
Requires PHP: 7.4
Version: 1.0
License: © 2023 HydroAzma. All rights reserved.

*/

/* fonts */
@font-face {
  font-family: "vazir";
  font-weight: normal;
  font-style: normal;
  src: url("./assets/fonts/vazir-regular.woff2") format("woff");
}

body,
button {
  font-family: "vazir";
}

* {
  font-family: "vazir";
}

/*  PREVENT TEXT SIZE SCALLING */

/* iPhone, portrait & landscape. */
@media all and (max-device-width: 480px) {
  html,
  body,
  p {
    text-size-adjust: none !important;
    -webkit-text-size-adjust: none !important;
    -moz-text-size-adjust: none !important;
    -ms-text-size-adjust: none !important;
  }
}

/* iPad, portrait & landscape. */
@media all and (min-device-width: 768px) and (max-device-width: 1024px) {
  html,
  body,
  p {
    text-size-adjust: none !important;
    -webkit-text-size-adjust: none !important;
    -moz-text-size-adjust: none !important;
    -ms-text-size-adjust: none !important;
  }
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: 0;
}

a {
  color: initial;
  text-decoration: none;
}

a:hover {
  color: initial;
}

.text-center {
  text-align: center !important;
}
p,
h2,
h3,
h4 {
  line-height: var(--line-height);
}

/* Root variable */
:root {
  --color-primary: #c62828;
  --color-secondary-light: #f5f5f5;
  --color-secondary-dark: #5e5e5e;
  --body-light: #fff;
  --body-dark: #f6f6f6;
  --radius-2xl: 16px;
  --radius-xl: 12px;
  --radius-lg: 8px;
  --btn-primary-bg: linear-gradient(135deg, #c51616 0%, #b31414 100%);
  --btn-primary-shadow: -1px 1px 2px rgba(133, 15, 15, 0.2), 1px -1px 2px rgba(133, 15, 15, 0.2), -1px -1px 2px rgba(243, 27, 27, 0.9), 1px 1px 3px rgba(133, 15, 15, 0.9), inset 1px 1px 2px rgba(243, 27, 27, 0.3), inset -1px -1px 2px rgba(133, 15, 15, 0.5);
  --btn-secondary-bg: linear-gradient(135deg, #f8f8f8 0%, #e0e0e0 100%);
  --btn-secondary-shadow: -5px 5px 10px rgba(212, 212, 212, 0.2), 5px -5px 10px rgba(212, 212, 212, 0.2), -5px -5px 10px rgba(255, 255, 255, 0.9), 5px 5px 13px rgba(212, 212, 212, 0.9), inset 1px 1px 2px rgba(255, 255, 255, 0.3), inset -1px -1px 2px rgba(212, 212, 212, 0.5);
  --btn-secondary-border: 1px solid rgba(197, 22, 22, 0.08);
  --transition: all 0.3s ease;
  --line-height: 28px;
  --post-bg: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
  --post-shodow: -5px 5px 10px rgba(222, 222, 222, 0.2), 5px -5px 10px rgba(222, 222, 222, 0.2), -5px -5px 10px rgba(255, 255, 255, 0.9), 5px 5px 13px rgba(222, 222, 222, 0.9), inset 1px 1px 2px rgba(255, 255, 255, 0.3), inset -1px -1px 2px rgba(222, 222, 222, 0.5);
  --socialMedia-icon: rgba(197, 22, 22, 0.7);
  --relatedPost-bg: #f4f4f4;
  --relatedPost-shadow: -1px 1px 2px rgba(255, 255, 255, 0.3), 1px -1px 2px rgba(220, 220, 220, 0.5), inset 5px 5px 10px rgba(220, 220, 220, 0.2), inset -5px -5px 10px rgba(220, 220, 220, 0.2), inset 5px -5px 10px rgba(255, 255, 255, 0.9), inset -5px 5px 13px rgba(220, 220, 220, 0.9);
}

/* Typography */
html {
  font-size: 62.5%;
}

body {
  background: var(--body-dark);
  font-size: 1.6rem;
}

h1 {
  font-weight: bold;
  line-height: 52px;
}

h2 {
  font-weight: bold;
  margin: 2rem 0;
  font-size: 2.5rem;
}

h3 {
  font-weight: bold;
  margin: 2rem 0;
}

h4 {
  font-weight: bold;
  margin: 2rem 0;
}

/* Buttons */
.btn {
  outline: 0;
  padding: 1.2rem;
  border-radius: 50px;
  margin: 1rem 0;
  text-align: center;
  white-space: nowrap;
  font-size: 1.4rem;
  cursor: pointer;
  box-sizing: border-box;
  width: 15rem;
}

.btn--primary {
  background: var(--btn-primary-bg);
  box-shadow: var(--btn-primary-shadow);
  color: #fff;
  border: 0;
}

.btn--secondary {
  background: var(--btn-secondary-bg);
  box-shadow: var(--btn-secondary-shadow);
  border: var(--btn-secondary-border);
  color: var(--color-primary);
}

.btn--third {
  background: var(--body-dark);
  border: 1px solid #e0e0e0;
}

/* Post cards */
.posts {
  border-radius: 50px;
  background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
  box-shadow:
    -5px 5px 10px rgba(222, 222, 222, 0.2),
    5px -5px 10px rgba(222, 222, 222, 0.2),
    -5px -5px 10px rgba(255, 255, 255, 0.9),
    5px 5px 13px rgba(222, 222, 222, 0.9),
    inset 1px 1px 2px rgba(255, 255, 255, 0.3),
    inset -1px -1px 2px rgba(222, 222, 222, 0.5);
}

/* list component */
.list {
  list-style: none;
  font-size: 1.4rem;
  margin: 0;
}

/* home page styles */

/*------------------------------------navbar------------------------------------*/

.navbar__menu {
  background: var(--body-dark);
  box-shadow:
    4px 0 8px rgba(223, 223, 223, 0.2),
    -4px 0 8px rgba(255, 255, 255, 0.9),
    4px 4px 10px rgba(223, 223, 223, 0.9),
    inset 1px 1px 2px rgba(255, 255, 255, 0.3),
    inset -1px -1px 2px rgba(223, 223, 223, 0.5);
  border-radius: 0px 0px 25px 25px;
  padding: 1rem 3rem;
  font-size: 1.4rem;
}

.menu__itemsList {
  width: 70%;
  display: flex;
  justify-content: center;
}

.menu__itemsList a {
  color: var(--color-secondary-dark);
}

.menu__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu__profile {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 0.5rem;
}

.bi-search {
  font-size: 2rem;
  color: var(--color-secondary-dark);
  border: none;
  background: none;
  cursor: pointer;
}

.bi-person {
  font-size: 2.4rem;
  color: var(--color-secondary-dark);
  border: 0 !important;
  background: none !important;
}

.itemsList {
  display: inline-block;
  position: relative;
}

.itemsList::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 0;
  height: 0.3rem;
  background: var(--color-primary);
  transition: width 0.25s ease-out;
}

.itemsList:hover::before {
  width: 100%;
  right: 0;
  left: auto;
}

.navbar__number button:hover,
.navbar__language button:hover {
  background: var(--btn-primary-bg);
  color: #fff;
  box-shadow: var(--btn-primary-shadow);
  border: none;
  transition: var(--transition);
}

.menu__profile button.bi-search:hover,
.menu__profile .bi-person:hover {
  color: var(--color-primary);
  scale: 1.3;
  transition: var(--transition);
}

li.lang-item a:hover {
  color: var(--color-primary);
  transition: var(--transition);
  font-size: 1.8rem;
}

.mobile__navbar {
  position: sticky;
  top: 0;
  background: #f9f9f9;
  box-shadow:
    -5px 5px 10px rgba(197, 197, 197, 0.2),
    5px -5px 10px rgba(197, 197, 197, 0.2),
    -5px -5px 10px rgba(255, 255, 255, 0.9),
    5px 5px 13px rgba(197, 197, 197, 0.9),
    inset 1px 1px 2px rgba(255, 255, 255, 0.3),
    inset -1px -1px 2px rgba(197, 197, 197, 0.5);
  border-radius: 0px 0px 25px 25px;
  z-index: 99;
}

.navbarButton__mobile {
  border: 0;
  outline: 0;
  padding: 1.2rem;
  margin: 1rem;
  background: linear-gradient(135deg, #fcfcfc 0%, #e4e4e4 100%);
  box-shadow:
    -5px 5px 10px rgba(194, 194, 194, 0.2),
    5px -5px 10px rgba(194, 194, 194, 0.2),
    -5px -5px 10px rgba(255, 255, 255, 0.76),
    5px 5px 13px #c2c2c2,
    inset 1px 1px 2px rgba(255, 255, 255, 0.3),
    inset -1px -1px 2px rgba(194, 194, 194, 0.5);
  border-radius: 100%;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offcanvas-start {
  width: 85%;
  height: 100vh;
  right: 0;
}

.bi-x.navbarButton__mobile {
  padding: 1rem;
}

#offcanvasRightLabel {
  color: var(--color-secondary-dark);
  margin: 0;
}

.mobileMenu__itmes {
  font-size: 1.6rem;
  padding: 1rem;
}

.mobileMenu__formControl {
  font-size: 1.4rem;
  background: var(--body-dark);
  padding: 1.2rem;
  border-radius: 50px;
}

.navbarButton__mobile--search {
  background: var(--body-dark);
  border-radius: 50px 0 0 50px;
  border: 0;
  padding: 1rem 2rem;
}

.navbarButton__mobile--search i::before {
  display: flex !important;
}

.form-control:focus {
  background: var(--body-dark);
  box-shadow: none;
}

.mobileMenu__item {
  background: var(--body-dark);
  padding: 1rem 2rem;
  border-radius: 5px;
  margin: 1rem 0;
}

.categoryMobie__menu li {
  margin-top: 2.2rem;
  list-style: circle;
}

.categoryMobie__menu li::marker {
  color: var(--color-primary);
}

/*------------------------------------search and profile------------------------------------*/
#search__input {
  width: 100%;
  border: none;
  padding: 1.5rem 2rem;
  background: #f6f6f6;
  border-radius: var(--radius-2xl);
}

.modal-content {
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.modal-header,
.modal-footer {
  border: none;
}

/* home index */
.home__introduction p {
  color: var(--color-secondary-dark);
  margin-top: 5rem;
}

.hr--primary {
  height: 0.5rem !important;
  color: var(--color-primary);
  opacity: 1 !important;
  border-radius: var(--radius-2xl);
}

.hr--secondary {
  height: 0.1rem !important;
  color: rgb(174 174 174);
}

.Introduction__video video {
  border-radius: var(--radius-2xl);
}

/* ------------------------------------services------------------------------------ */
.services {
  margin-top: 10rem;
  padding-bottom: 10rem;
}

.services__post {
  background: var(--post-bg);
  box-shadow: var(--post-shodow);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  cursor: pointer;
  height: 100%;
  position: relative;
  display: grid;
  align-items: stretch;
  align-content: space-between;
}

.services__post.cate {
  height: max-content;
}

.services__post .post__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (min-width: 768px) {
  .services__post .post__title {
    height: 46px;
  }
}

.services__title,
.projects__title,
.newProducts__title {
  margin-top: 6rem;
  margin-bottom: 2rem;
}

.post__img,
.post__title,
.post__btn {
  text-align: center;
}

.post__img img {
  border-radius: var(--radius-lg);
}

.post__caption p {
  font-size: 1.4rem;
  color: var(--color-secondary-dark);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  white-space: inherit;
}

/* .post__btn {
    position: absolute;
    bottom: -0.5rem;
    right: 50%;
    transform: translate(50%, 0);
  font-size: 1.4rem;
} */

.btn:hover {
  background: var(--body-dark);
  color: #000;
  scale: 1.1;
  transition: var(--transition);
}

/*------------------------------------Projects carousel------------------------------------*/
.project__post {
  background: var(--post-bg);
  box-shadow: var(--post-shodow);
  border-radius: var(--radius-2xl);
  padding: 1.2rem;
  margin: 1rem 2rem;
}

.project__post .post__title {
  padding: 0 1rem;
}

.post__img img {
  width: 100% !important;
  height: auto !important;
}

.owl-nav {
  display: block !important;
  height: 0 !important;
}

.owl-prev span {
  color: var(--color-primary);
  position: absolute;
  top: 50%;
  font-size: 10rem;
  right: -4%;
  transform: translate(0, -50%);
}

.owl-next span {
  color: var(--color-primary);
  position: absolute;
  top: 50%;
  font-size: 10rem;
  left: -4%;
  transform: translate(0, -50%);
}

@media screen and (max-width: 1068px) {
  .owl-next span {
    left: -2%;
  }

  .owl-prev span {
    right: -2%;
  }
}

/*------------------------------------Article------------------------------------*/
.article__wrapper {
  margin-top: 10rem;
  padding-bottom: 10rem;
}

.article__wrapper article {
  padding-top: 10rem;
}

.article p {
  color: var(--color-secondary-dark);
}

/*------------------------------------New products carousel------------------------------------*/
.newProducts__post {
  padding: 5rem;
}

.newProductsPost__title {
  text-align: center;
  font-size: 1.4rem;
}

.newProducts__img img {
  border-radius: 50%;
  width: 100% !important;
  height: auto !important;
}

/*------------------------------------Education------------------------------------*/
.education__wrapper {
  margin-top: 5rem;
  padding-bottom: 10rem;
}

.education__title {
  margin-top: 10rem;
  margin-bottom: 4rem;
}

.educations {
  background: var(--post-bg);
  box-shadow: var(--post-shodow);
  border-radius: var(--radius-2xl);
}

.educationPost__info p {
  color: var(--color-secondary-dark);
  font-size: 1.4rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  white-space: inherit;
}

.educationPost__title h2 {
  color: var(--color-primary);
}

.educationPost__op td {
  font-size: 1.4rem;
}

.projects__carousel .owl-item figcaption {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 50px;
}

/*------------------------------------Contact Us and Footer------------------------------------*/
.contactUs__wrapper {
  margin: auto;
  padding: 6rem;
}

.contactUs p {
  color: var(--color-secondary-dark);
}

.contactUs__links i {
  color: var(--color-primary);
  font-size: 2.4rem;
  vertical-align: -webkit-baseline-middle;
}

.virak a {
  color: var(--color-primary);
}

/* tell floating */
#tell__btn {
  position: fixed;
  bottom: 50px;
  right: 40px;
  padding: 27px;
  background: var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  font-size: 24px;
  color: #fff;
  transition: var(--transition);
}

#tell__btn:hover {
  background: #000;
  color: white;
}

@media screen and (max-width: 768px) {
  #tell__btn {
    padding: 20px;
  }
}

/*------------------------------------Responsive large 1200px------------------------------------*/
@media screen and (max-width: 1200px) {
  body {
    font-size: 1.4rem;
  }

  .menu__itemsList a {
    font-size: 1.2rem;
  }

  .project__post {
    margin: 1rem;
  }

  .newProducts__post {
    padding: 3rem;
  }

  .educationPost__icon img {
    width: 40% !important;
  }

  .educationPost__op td {
    font-size: 1.2rem;
  }
}

/*------------------------------------Responsive medium 992px------------------------------------*/
@media screen and (max-width: 992px) {
  .btn,
  li.lang-item {
    width: 10rem;
    font-size: 1.2rem;
  }

  .menu__logo span {
    display: none;
  }

  .navbar__menu {
    font-size: 1.3rem;
  }

  .bi-person {
    font-size: 2rem;
  }

  .bi-search {
    font-size: 1.5rem;
  }

  .home__introduction p {
    margin-top: 2rem;
  }

  .services,
  .article__wrapper {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .article__wrapper article {
    padding-top: 6rem;
  }

  .services__title,
  .projects__title,
  .newProducts__title {
    margin-top: 6rem;
    margin-bottom: 3rem;
  }

  .post__caption p,
  .newProductsPost__title {
    font-size: 1.2rem;
  }

  .project__post .post__title {
    font-size: 1.2rem !important;
  }

  .owl-prev span {
    font-size: 7rem;
    right: -5%;
  }

  .owl-next span {
    font-size: 7rem;
    left: -5%;
  }

  .newProducts__post {
    padding: 2.5rem;
  }

  .education__wrapper {
    margin-top: 1rem;
    padding-bottom: 6rem;
  }

  .educationPost__icon img {
    width: 10rem !important;
  }
}

/*------------------------------------Responsive small 768px------------------------------------*/

@media screen and (max-width: 768px) {
  .footerIMG_wrapper img {
    position: unset;
  }

  .bg__homeland img {
    width: 50%;
  }

  nav.primary-menu ul.sub-menu {
    position: initial !important;
    transform: none !important;
    background: none !important;
    padding: 1rem !important;
    width: auto !important;
  }

  nav.primary-menu ul.sub-menu li.menu-item {
    background: #f6f6f6 !important;
    margin: 2rem 0px;
    padding: 1rem;
    border-radius: 12px;
  }

  nav.primary-menu ul.sub-menu li.menu-item:first-child {
    margin-top: 0 !important;
  }

  nav.primary-menu ul.sub-menu li.menu-item::before {
    display: none !important;
  }

  nav.primary-menu ul.sub-menu li.menu-item,
  nav.primary-menu li.menu-item {
    font-size: 1.6rem;
  }

  nav.primary-menu ul.nav-menu {
    line-height: 5rem;
  }

  nav.primary-menu li.menu-item-has-children a[aria-controls="subMenu"]::after {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    content: ">";
    margin-right: 5px;
    color: var(--color-primary);
    font-size: 2rem;
  }

  .product__thumbnail {
    text-align: center;
  }

  .btn__language,
  li.lang-item {
    width: auto !important;
    border-radius: 100%;
    padding: 1rem 1.8rem;
  }

  .menu__logo + a {
    display: none;
  }

  li.lang-item {
    border: 0;
    outline: 0;
    padding: 1.2rem 1.5rem;
    margin: 1rem;
    background: linear-gradient(135deg, #fcfcfc 0%, #e4e4e4 100%);
    box-shadow:
      -5px 5px 10px rgba(194, 194, 194, 0.2),
      5px -5px 10px rgba(194, 194, 194, 0.2),
      -5px -5px 10px rgba(255, 255, 255, 0.76),
      5px 5px 13px #c2c2c2,
      inset 1px 1px 2px rgba(255, 255, 255, 0.3),
      inset -1px -1px 2px rgba(194, 194, 194, 0.5);
    border-radius: 100%;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .services__title,
  .projects__title,
  .newProducts__title {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
  }
}

/*------------------------------------Responsive xsmall 576px------------------------------------*/

@media screen and (max-width: 768px) {
  body {
    font-size: 1.5rem;
  }

  h1 {
    font-size: 2.3rem;
    line-height: 32px;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.6rem;
  }

  h4 {
    font-size: 1.4rem;
  }

  .btn {
    width: 13rem;
  }

  .banner {
    margin-top: 6rem;
  }

  .owl-nav {
    display: none !important;
  }

  .services__post {
    padding: 1.5rem;
  }

  .project__post .post__title,
  .newProductsPost__title {
    font-size: 1.2rem !important;
  }

  .project__post,
  .post__img img {
    border-radius: var(--radius-xl);
  }

  .educations {
    margin-top: 3rem;
  }

  .educationPost__icon img {
    width: 8rem !important;
  }

  .contactUs__wrapper {
    margin-top: 3rem;
  }

  .home__introduction h1 {
    display: inline;
  }

  .indexButton__wrapper {
    text-align: center;
  }

  .navbarButton__mobile::before {
    display: flex;
  }

  .socialMedia__links a li {
    font-size: 2rem;
  }

  button.accordion-button,
  .accordion-body {
    font-size: 1.2rem !important;
  }

  /*----------- submenu -----------*/
  .navbar-nav-mob {
    flex-direction: column !important;
    align-items: flex-start !important;
    list-style: none;
    line-height: 3.5rem;
  }

  .navbar-nav-mob .dropdown-menu {
    position: initial !important;
    line-height: 5rem;
  }

  li.menu-item-has-children {
    width: 100%;
  }

  main.content {
    margin-top: 4rem !important;
  }

  .services__post {
    min-height: auto;
  }

  .post__btn {
    position: relative;
  }

  .projects__carousel .owl-item figcaption {
    height: 48px;
  }

  .post__title.cate {
    font-size: 1.2rem;
  }
}

/***********start comment************/
.comment-box {
  float: right;
  width: 100%;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 0 20px 20px;
  margin-bottom: 30px;
}

.comment-box .related-head {
  font-size: 18px;
  padding: 15px;
  border-bottom: 1px solid #ddd;
}

/**************start comment***************/

#reply-title,
p.comment-notes {
  display: none;
}

.comment-respond {
}

.comment-respond textarea {
  height: 184px;
  line-height: 26px;
  width: 100%;
  outline: 0;
  padding: 11px 10px;
  border: 1px solid #dcdcdc;
  -webkit-box-shadow: 0 0 7px #e9efe9 inset;
  box-shadow: 0 0 7px #e9efe9 inset;
  border-radius: 2px;
  -webkit-appearance: none;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  font-family: "vazir";
}

.comment-respond input[type="text"] {
  width: 100%;
  outline: 0;
  padding: 11px 10px;
  border: 1px solid #dcdcdc;
  -webkit-box-shadow: 0 0 7px #e9efe9 inset;
  box-shadow: 0 0 7px #e9efe9 inset;
  border-radius: 2px;
  -webkit-appearance: none;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  font-family: "vazir";
}

.comment-respond label {
  display: block;
  color: #6c757d;
  padding-bottom: 3px;
}

.comment-respond #commentform {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}

#commentform p.comment-form-comment,
#commentform p.form-submit {
  width: 100%;
  padding: 0 15px;
}

#commentform p.comment-form-url,
p.comment-form-cookies-consent {
  flex: 0 0 100%;
  padding: 0 15px;
}

.comment-form-cookies-consent {
  display: none;
}

#commentform p.comment-form-author,
#commentform p.comment-form-email {
  flex: 0 0 100%;
  padding: 0 15px;
}

#commentform p.form-submit {
  width: 100%;
  padding: 0 15px;
  margin-top: 20px;
}

.comment-respond input[type="submit"] {
  background-color: #b71414;
  border-radius: 5px;
  padding: 10px 17px;
  line-height: 27px;
  display: inline-block;
  /* -webkit-transition: all .2s ease-in-out; */
  transition: all 0.2s ease-in-out;
  color: #fff;
  font-family: "vazir";
  font-size: 15px;
  cursor: pointer;
}

.comment-respond input:focus,
.comment-respond textarea:focus {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.07);
}

.comments-header {
  padding: 20px;
}

.comments-inner .comment {
  border-radius: 5px;
  margin: 20px 0;
  border: 1px solid #e9e9e9;
  padding: 15px;
}

.comments-inner .comment .depth-2 {
  background: #f7f8f9;
}

.comments-inner .comment .depth-3 {
  background: #ecf0f1;
}

.comments-inner .comment .comment-author {
  display: flex;
  margin-bottom: 15px;
}

.comments-inner .comment .comment-author img {
  border-radius: 50%;
  margin-left: 10px;
}

.comments-inner .comment .comment-author .fn {
  margin: auto 0;
  font-size: 18px;
  font-weight: bold;
}

.comments-inner .comment .comment-author .says {
  display: none;
}

.comments-inner .comment .comment-meta a {
  text-decoration: none;
  font-size: 13px;
  color: #b8c3cc;
  color: #a1abb3;
  float: left;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 12px;
}

.comments-inner .comment p {
  margin: 15px 0;
}

.comments-inner .comment .reply a {
  text-decoration: none;
  background: #ecf0f1;
  color: #333;
  padding: 4px 15px;
  float: left;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}

.pagination {
  float: right;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.pagination a {
  background: #ecf0f1;
  color: #333;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 5px;
  margin: 0 3px;
}

.pagination a:hover {
  background: #b71414;
  color: #fff;
}

.pagination span.current {
  background: #b71414;
  padding: 8px 16px;
  border-radius: 5px;
  color: #fff;
  margin-left: 3px;
}

li.lang-item {
  list-style: none;
}

li.lang-item a {
  font-size: 1.4rem;
  color: var(--color-secondary-dark);
}

/************** blockquote ***************/

blockquote {
  margin: 5rem 0rem;
  text-align: center;
  padding: 5rem;
  border: 1px solid #e4e8eb;
  position: relative;
}

blockquote p {
  margin-bottom: 0 !important;
}

blockquote:before {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  top: -25px;
  left: calc(50% - 24px);
  border-radius: 50%;
  background: #fff url(assets/images/logo.svg) no-repeat;
  background-size: 30px;
  background-position: center;
  border: 1px solid #e4e8eb;
  image-rendering: -webkit-optimize-contrast;
  z-index: 2;
  opacity: 1;
  transform: rotate(0deg);
  transition: 0.5s ease-in-out;
}

/************** blockquote ***************/

.inner-cbox {
  position: relative;
  border: 1px solid #e4e8eb;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  text-align: center;
  padding: 20px 10px 40px 10px;
  overflow: hidden;
  height: 100%;
  -webkit-transition: 0.35s;
  -o-transition: 0.35s;
  -moz-transition: 0.35s;
  transition: 0.35s;
  background: #fff;
}

.meta-cbox {
  position: absolute;
  bottom: 10px;
  width: 100%;
  left: 0;
  font-size: 12px;
  background: #e4e8eb;
  color: #292b2c;
  line-height: 22px;
  padding: 4px 0 0 0;
  direction: ltr;
  -webkit-transition: 0.35s;
  -o-transition: 0.35s;
  -moz-transition: 0.35s;
  transition: 0.35s;
}

.inner-cbox h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 1rem;
}

.inner-cbox p {
  font-size: 1.2rem;
}

.inner-cbox:hover {
  border: 1px solid var(--color-primary);
  cursor: pointer;
}

.inner-cbox:hover .meta-cbox {
  background: var(--color-primary);
  color: #fff;
}

.faq-box b:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: black;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  border-radius: 1px;
  right: 14px;
  top: 26px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  transition: 0.3s ease;
}

.faq-box b:after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: black;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  border-radius: 1px;
  right: 14px;
  top: 26px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  transition: 0.3s ease;
}

/************** sub-menu ***************/

.navbar-nav,
.navbar-nav-mob {
  flex-direction: row;
  gap: 2rem;
  align-items: center;
}

ul.dropdown-menu {
  line-height: 3rem;
}

.navbar-nav .dropdown-menu,
.navbar-nav-mob .dropdown-menu {
  position: absolute;
  font-size: 1.4rem;
  padding: 1rem;
  border: none;
  box-shadow: var(--post-shodow);
  border-radius: 10px;
}

ul.navbar-nav ul.dropdown-menu ul.dropdown-menu {
  top: 0px;
  right: 100%;
  width: max-content;
}

li.menu-item-has-children a {
  display: flex;
  align-items: center;
}

li.menu-item-has-children > a::after {
  display: flex;
  content: "";
  justify-content: center;
  align-items: center;
  height: 18px;
  width: 10px;
  background: url(assets/images/chevron-left.svg) no-repeat;
  margin-right: 1rem;
}

a.nav-link::after {
  transform: rotate(270deg);
}

.nav-link,
.nav-link:focus,
.nav-link:hover {
  color: inherit;
}

.dropdown-item.active,
.dropdown-item:active {
  color: inherit;
  background-color: inherit;
}

/************** Accordion ***************/
.accordion-item {
  border-radius: 10px !important;
  border: none;
}

button.accordion-button {
  font-size: 1.4rem;
  border-radius: 10px !important;
  box-shadow: var(--post-shodow);
}

.accordion-body {
  font-size: 1.4rem;
  color: var(--bs-secondary);
  line-height: initial;
  padding: 2.5rem;
}

.accordion-button:not(.collapsed) {
  color: #dc3545;
  font-weight: bold;
  background-color: #fff !important;
  box-shadow: var(--post-shodow) !important;
}

.accordion-button:focus {
  box-shadow: none;
  box-shadow: var(--post-shodow) !important;
}

.accordion-button:not(.collapsed)::after {
  filter: invert(1);
}

/************** User Panel ***************/

article.panel {
  background: var(--post-bg);
  box-shadow: var(--post-shodow);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-info {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  color: var(--color-secondary-dark);
  border-right: 1px solid rgb(0 0 0 / 9%);
}

.panel-date {
  font-size: 1.2rem;
}

.panel-icon a {
  font-size: 1.8rem;
  color: var(--color-primary);
}

.panel-icon a i.bi-eye {
  display: flex;
}
