:root {
  --primary-color: #ffcc32;
}
.mb-0 {
  margin-bottom: 0px !important;
}
li {
  line-height: 30px;
  margin-bottom: 10px;
}

.mt-5px {
  margin-top: 5px;
}
.tik_list h2 {
  margin-bottom: 12px;
}
.tik_list p,
.post_content p {
  margin-bottom: 15px;
  font-family: 'Degular', sans-serif !important;
}
.tik_list .wp-block-image {
  margin-bottom: 20px;
}
.tik_list ul {
  padding-bottom: 10px;
  list-style: none !important;
  margin-left: 0 !important;
}
.tik_list li {
  font-family: 'Degular', sans-serif !important;
  font-weight: 300;
  background: url(../images/tik2.png) no-repeat left;
  padding-left: 32px;
  background-size: 24px;
}
.tik_list li strong {
  font-weight: 600;
}
/* Header */

.sticky_new .mega-menu > li > a {
  margin: 30px 12px;
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}
.site-header.sticky_new header {
  position: fixed;
  top: 0;
  width: 100%;
  animation: slideDown 0.5s ease forwards;
  z-index: 999;
}
.site-header.sticky_new.nvisible header {
  animation: slideUp 0.5s ease forwards;
}
.site-header header {
  z-index: 99;
  position: relative;
  transition: all 0.3s ease;
}
.homepage .grid p,
.prduct_single p {
  margin-bottom: 15px;
}
ul#menu-menu li {
  margin-bottom: 0;
}
.mega-menu > li > a:hover {
  color: var(--primary-color);
}
a.head_btn:hover {
  background-color: #f4e1a6;
}
ul.mega-menu-items li.last {
  grid-column-start: 1;
}
.mega-menu-dropdown {
  padding-top: 45px;
  padding-bottom: 40px;
  height: fit-content;
  gap: 20px;
}
.admin-bar .mega-menu-dropdown {
  top: 182px;
}
.admin-bar .sticky_new .mega-menu-dropdown {
  top: 124px;
}
/* top_bar */
.top_bar li {
  margin-bottom: 0;
}
.long-list-inner {
  /* max-height: 110px; */
  overflow: hidden;
  transition: max-height 0.3s ease;
  position: relative;
}
.long-list-inner.expanded {
  max-height: none;
}
button.see-more-btn {
  margin-top: 25px;
}
/* .long-list-inner:not(.expanded) p:first-child,
.long-list-inner:not(.expanded) p:nth-child(2) {
  margin-bottom: 0 !important;
  transition: margin-bottom 0.3s;
} */
.long-list-inner:not(.expanded) li:first-child {
  margin-bottom: 0;
  line-height: 26px;
  background-size: 22px;
  transition: margin-bottom 0.3s;
}
/* why-choose-us */
.iconbox_wrap.flex {
  flex-wrap: wrap;
}
.icon_box {
  flex: 0 0 47%;
}
.icon_box img.image_icon {
  width: 32px;
  height: auto;
}
/* Feedback */
.reviewbox {
  padding: 20px;
}
.faq-item {
  padding: 15px 30px;
}
a.faq_btn {
  padding: 15px 30px;
  width: fit-content;
}
.fil-head h3 {
  padding-right: 25px;
}
/* New window door type */
section.type_card_sec {
  padding: 60px 80px;
}
.type_card_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25%;
  row-gap: 25px;
}
.type_card {
  flex: 0 0 19%;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  padding: 22px;
}
.type_card .card_title {
  font-size: 18px;
  margin: 12px 0px;
  font-family: 'DegularText-Bold';
}
.type_card .img_box.mb-3 {
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  overflow: hidden;
  padding: 25px;
}
/* calculator */
.cal_card {
  max-height: 450px;
}
.cal_card .post-img-wrap {
  max-height: 238px;
}
body #calc-multistep-form input[type='checkbox'] {
  outline: none !important;
  width: 20px !important;
  height: 20px !important;
}
body #calc-multistep-form input[type='radio'] {
  border-radius: 12px !important;
}
.group-fields.cal_checkbox {
  margin-bottom: 20px;
}
.cal_checkbox .g_title {
  margin-bottom: 12px;
}
.cal_radio .g_title {
  margin-bottom: 8px;
}
.group-fields.cal_checkbox > .input-wrap {
  margin: 5px 0 !important;
}
.group-fields.cal_radio .input-wrap {
  margin: 5px 0 !important;
}
.cal_checkbox .input-label.input-text > div:first-child {
  margin-bottom: 6px;
}
label.input-label.input-checkbox span.uline {
  text-decoration: underline;
}
#calc-multistep-form .calc-increment-btn,
#calc-multistep-form .calc-decrement-btn {
  position: relative;
  width: 48px;
  height: 48px;
  background-size: 24px;
  background-repeat: no-repeat;
  text-indent: -9999px;
  background-position: center;
}
#calc-multistep-form .calc-decrement-btn {
  background-image: url(../images/Plus.png);
}
#calc-multistep-form .calc-increment-btn {
  background-image: url(../images/Minus.png);
}
#calc-multistep-form .main-count {
  height: 48px !important;
  width: 120px;
  padding-left: 25px;
}
/*Review*/
.review .object-contain {
  -o-object-fit: contain;
  object-fit: contain;
  padding: 15px 0;
}
/* blog single */
.blog_head {
  min-height: 410px;
}
/* filter */
ul.p_filter {
  display: flex;
  gap: 16px;
}
ul.p_filter li a {
  font-family: 'Degular', sans-serif !important;
  font-weight: 400;
  display: inline-block;
  padding: 12px 25px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 18px;
  line-height: 24px;
}
ul.p_filter li a.active {
  background-color: #000;
  color: #fff;
}
/* blog filter */
.filtered_post .fil_s_post {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.filtered_post .fil_s_post.show {
  opacity: 1;
  transform: translateY(0);
}
.filter_button {
  position: relative;
}
.fil_btn {
  background-color: #000;
  border-radius: 25px;
  height: 48px;
  width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  cursor: pointer;
}
.fil_btn:hover {
  background-color: #222;
}
.fil_btn img {
  width: 24px;
  height: 24px;
  margin-right: 16px;
}
.fil_list {
  position: absolute;
  right: 0;
  top: 64px;
  z-index: 11;
}
div#category-filters {
  width: 320px;
  padding: 35px 32px;
  background-color: #f7f7f7;
  border-radius: 16px;
}
.fil_list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0;
}
.fil_list.open {
  padding: 15px 0;
  border-bottom: 1px solid var(--border-shadow2);
}

.fil_list span.wpcf7-list-item {
  margin: 0;
}
/* Hide the default checkbox */
.custom-checkbox input,
.fil_list .wpcf7-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Style the custom checkbox */
.custom-checkbox,
.fil_list .wpcf7-checkbox label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  position: relative;
  gap: 3px;
}

/* Create the checkbox appearance */
.custom-checkbox .checkmark {
  width: 24px;
  height: 24px;
  background-color: #fff;
  border: 1px solid var(--color-border2, #000);
  border-radius: 4px;
  display: inline-block;
  position: relative;
  margin-right: 10px;
  transition: background 0.3s;
}

/* Add checkmark when checked */
.custom-checkbox input:checked + .checkmark {
  background-color: var(--color-primary);
}

.custom-checkbox input:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 5px;
  width: 7px;
  height: 11px;
  border: solid black;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.custom-checkbox .wpcf7-list-item-label::before,
.custom-checkbox .wpcf7-list-item-label::after {
  content: ' ';
  width: 24px;
  height: 24px;
  position: absolute;
  left: 0;
}
.custom-checkbox .wpcf7-list-item-label::before {
  background-color: transparent;
  border: 1px solid var(--color-border, #333);
  border-radius: 5px;
}
.custom-checkbox input:checked + .wpcf7-list-item-label::after {
  left: 8px;
  top: 5px;
  width: 7px;
  height: 11px;
  border: solid black;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.wpcf7-checkbox.custom-checkbox label .wpcf7-list-item-label {
  padding-left: 40px;
}
/* custom_form  */
.custom_form_wrap {
  max-width: 710px;
}
.custom_form {
  border-radius: 16px;
}
.custom_form .wpcf7-form {
  width: 100%;
  gap: 10px;
}
.custom_form output {
  color: #d30000;
}
.custom_form .custom-checkbox .wpcf7-list-item {
  display: block !important;
  margin-bottom: 6px;
  position: relative;
}
/* modified */
.custom-checkbox.w-full {
  display: block !important;
  width: 100% !important;
}
.custom-checkbox.w-full .wpcf7-list-item-label::before,
.custom-checkbox.w-full .wpcf7-list-item-label::after {
  top: 5px;
}
.custom-checkbox.w-full input:checked + .wpcf7-list-item-label::after {
  top: 10px;
}
/* end modify */
.custom_form .wpcf7-form p > label {
  position: relative;
  flex-flow: row;
  margin-bottom: 5px;
}
.custom_form .wpcf7-form p br {
  display: none;
}
.custom_form .wpcf7-form p label span:not(.wpcf7-form-control-wrap) {
  /* margin-bottom: 5px; */
}
.custom_form small {
  color: #4c4c4c;
  display: inline-block;
  margin-top: 5px;
}
.f_row.for-half {
  gap: 12px;
}
.custom_radio .wpcf7-list-item {
  display: flex;
  margin: 0 0 10px;
}

#form_section input[type='radio'] {
  height: 24px !important;
  width: 20px;
  margin-right: 10px;
  padding: 4px 8px !important;
  display: inline-block;
  top: 0;
  border-radius: 12px !important;
  position: relative;
}
#form_section input[type='radio']:checked::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  background: url('https://langai.urbanlabs.lt/wp-content/themes/langu-sistemos-2/assets/icons/svg/radio.svg')
    no-repeat center center;
  background-size: contain;
  transform: translate(-50%, -50%);
}
.star20 img {
  width: 20px;
  height: auto;
}
.star24 img {
  width: 24px;
  height: auto;
}
@media (min-width: 601px) {
  .admin-bar .site-header.sticky_new header {
    top: 46px;
  }
}
@media (min-width: 783px) {
  .admin-bar .site-header.sticky_new header {
    top: 32px;
  }
}
@media (min-width: 768px) {
  :root {
    --header-height: 145px;
  }
  /* .faqbtn.flex > a {
    flex: 0 0 48%;
  } */
  .sticky_new .mega-menu-dropdown {
    top: 92px;
  }
  .custom-checkbox.md-w60 {
    max-width: 60%;
  }
  .blog_head {
    min-height: 550px;
  }
  .max_40er {
    max-width: 36% !important;
  }
  .footer_grid.grid.lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .col-span-2.fmenu_first li a {
    font-size: 22px;
    font-weight: 400;
    font-family: ErbaumRegular, sans-serif !important;
  }
  .term-110 h2.post-title {
    min-height: 52px;
  }
}
@media (min-width: 1200px) {
  section#site-header {
    height: 150px;
  }
  .container_lg {
    max-width: 1200px;
    margin: 0 auto;
  }
  /* Product term single */
  .p_image.relative {
    min-height: 420px;
  }
  .product_img.w-full {
    height: auto !important;
  }
}
@media (min-width: 1380px) {
  .container_lg {
    max-width: 1200px;
    margin: 0 auto;
  }
}

@media (max-width: 1200px) {
  .type_card_wrap {
    gap: 2%;
  }
  .type_card {
    flex: 0 0 32%;
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .md-block {
    display: block;
  }
  header button svg {
    width: 24px;
    height: 20px;
  }
  .reviewbox {
    padding: 6px 20px;
  }
  .f_row .custom-checkbox {
    display: grid !important;
  }
  .site-header header .logo img {
    max-height: 54px;
    width: auto;
  }
}

@media (max-width: 640px) {
  section.type_card_sec {
    padding: 40px;
  }
  .type_card_wrap {
    gap: 2%;
  }
  .type_card {
    flex: 0 0 49%;
  }
  .order-1.md\:order-2 img {
    max-height: 48vw;
  }
}

@media (max-width: 575px) {
  .order-1.md\:order-2 img {
    max-height: 48vw;
  }
  .footer_grid.grid.grid-cols-1 {
    display: flex;
    flex-flow: column;
  }
  #calc-multistep-form .main-count {
    width: 66px;
    padding-left: 12px;
  }
  #calc-multistep-form .img-wrap img {
    max-width: 100% !important;
  }
  .related-posts-heading {
    font-size: 28px !important;
  }
}

@media (max-width: 420px) {
  .type_card_wrap {
    gap: 0;
  }
  .type_card {
    flex: 0 0 100%;
  }
  .blog-single .related-posts-heading {
    font-size: 28px;
  }
}
