.element ul {
  display: flex;
  align-items: center;
  gap: 35px;
  justify-content: center;
}
.logo a {
  height: 100px;
  display: block;
}
.top-par {
  box-shadow: 0 3px 5px #00000028;
  padding: 10px 0;
  background-color: var(--color-white);
}

.element ul li a {
  color: var(--color-text);
  font-family: "font_medium";
  position: relative;
  height: 50px;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s linear;
}
.element ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 90%;
  height: 2px;
  background-color: var(--color-main);
  right: 0;
  transition: all 0.3s linear;
  opacity: 0;
  transform: translateX(100%);
}
.element ul li a:hover {
  color: var(--color-main);
}
.element ul li a.active {
  color: var(--color-main);

}
.element ul li a.active::after {
  transform: translateX(0);
  opacity: 1;

}
.element ul li a:hover::after {
  transform: translateX(0);
  opacity: 1;
}
.logo img {
  max-height: 100%;
}

.end-top-par {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.terms-header a {
  background: var(--bg-1);
  width: 50px;
  height: 50px;
  display: flex;
  font-size: 22px;
  justify-content: center;
  align-items: center;
  transition: all 0.3s linear;
  border-radius: 5px;
  color: var(--color-main);
}

.terms-header a:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

.ctm-btn {
  background-color: var(--color-main);
  height: 50px;
  padding: 11px 25px;
  min-width: 120px;
  color: var(--color-white);
  border: transparent;
  transition: all 0.3s linear;
  display: inline-block;
  border-radius: 5px;
}

.ctm-btn:hover {
  color: var(--color-white);
  background-color: var(--color-black);
}
.ctm-btn i {
  line-height: 0;
  vertical-align: middle;
  margin: 0px 5px;
}
.sub-header {
  min-height: 600px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  text-align: center;
  background-position: center;
  position: relative;
}

.sub-header-pages {
  min-height: 350px;
}

.title-page h1 {
  color: var(--color-white);
  font-size: 35px;
}

.breadcrumb-header {
  color: var(--color-white);

  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 20px;
  margin-top: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.breadcrumb-header a {
  font-size: 20px;
  transition: all 0.3s linear;
  color: var(--color-white);
}
.breadcrumb-header a:hover {
  color: var(--color-main);
}
.sub-header::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--color-black);
  opacity: 0.7;
  top: 0;
  right: 0;
  z-index: -1;
}
.text-sub-header {
  width: 100%;
  text-align: center;
}
.text-sub-header h1 {
  color: var(--color-white);
  font-size: 30px;
}
.text-sub-header p {
  font-size: 18px;
  color: var(--color-white);
  margin: 20px 0;
}

.form-search-header {
  background-color: var(--color-white);
  min-height: 75px;
  width: 60%;
  margin: 20px;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  gap: 15px;
  margin: auto;
  border-radius: 20px;
}
.input-search {
  width: calc(40% - 5px);
  position: relative;
}

.input-search input,
.input-search select {
  border-color: transparent;
  color: var(--color-text) !important;
  transition: all 0.3s linear;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 0 0 transparent;
}

.input-search input:focus,
.input-search select:focus {
  box-shadow: 0 0px 3px #00000034;
  color: var(--color-text);
  border-color: transparent;
}

.arrow-select::after {
  content: "";
  width: 17px;
  height: 17px;
  background-image: url(../images/arrow.png);
  background-size: contain;
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  top: 17px;
  left: 20px;
}

.btn-search {
  width: calc(20% - 5px);
}
.btn-search button {
  width: 100%;
}

.input-search:nth-of-type(1)::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 1px;
  background-color: var(--color-text2);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -10px;
}

.popular-search {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 20px 0;
  justify-content: center;
}
.popular-search h2 {
  font-size: 19px;
  color: var(--color-white);
}

.popular-search ul {
  width: auto;
  display: flex;
  margin: 0;
  align-items: center;
  gap: 10px;
}

.popular-search ul li a {
  display: flex;
  color: var(--color-main);
  background-color: var(--color-white);
  padding: 9px 20px;
  border-radius: 5px;
  height: 45px;
}

.popular-search ul li a:hover {
  color: var(--color-white);
  background-color: var(--color-main);
}
