/*
Theme Name: Beratung Child
Author: VamTam
Author URI: https://vamtam.com
Template: beratung
*/

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div {
  letter-spacing: normal !important;
}

a:link {
    color: unset;
}

.comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.comment-form label {
  font-family: "Roboto Slab";
  font-weight: 400;
  font-size: 17px;
  line-height: 25px;
}

.comment-form .comment-reply-title {
  font-family: "Roboto Slab";
  font-weight: 700;
  font-size: 36px;
  line-height: 50px;
}

.main-post-title {
    margin-block-end: 4px !important;
}

.comment-form textarea,
.comment-form input {
  border-color: #dbdbdb !important;
  border-radius: 6px !important;
  border: 1px solid;
}

.comment-form textarea:hover,
.comment-form input:hover {
  border-color: #dbdbdb !important;
}

.comment-form .submit {
  color: #181818;
  font-family: "Roboto Slab";
  font-weight: 600;
  font-size: 17px;
  line-height: 25px;
  border-color: #181818 !important;
  border-radius: 6px !important;
  border: 1px solid;
}

.comment-form .submit:hover {
  color: #ffffff !important;
  background-color: #181818 !important;
}

.comment-form .comment-notes {
  display: none;
}

.comment-form .comment-form-comment {
  grid-column: 1 / span 2;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.comment-form .submit {
  grid-column: 1 / span 2;
  width: fit-content;
  justify-self: start;
  padding: 10px 20px;
  background-color: #0073e6;
  color: white;
  border: none;
  cursor: pointer;
}

.comment-form .submit:hover {
  background-color: #005bb5;
}

.state-description{
	height:300px;
	overflow-x:scroll;
} 

/* Developer CSS */
.elementor-message.elementor-message-danger {
  display: none;
}

form .error {
  color: red !important;
  padding: 0;
  font-size: 14px !important;
  margin: 0px;
}

.elementor-post__read-more::before {
  content: "● ● ●";
  margin-right: 10px;
  font-size: large;
  display: inline-block;
  color: #000;
}

ul.elementor-nav-menu .elementor-item-active,
a.elementor-item.elementor-item-active {
  font-weight: 800 !important;
}

.elementor-nav-menu--layout-horizontal .elementor-nav-menu .menu-item .elementor-item:hover {
  font-weight: 800 !important;
}

.home-banner .elementor-container {
  height: 100%;
  padding-top: 150px;
}

.elementor-section .elementor-container {
  display: flex;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  align-items: center;
}

/* Single Blog Post */

.related-posts-section {
  margin: 40px 0;
}

.related-posts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.related-post-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.related-post-item:hover {
  transform: translateY(-5px);
}

.related-post-item-large {
  flex: 0 0 100%;
  /* Full width for the first post */
  display: flex;
  flex-direction: row;
  /* Align image and content side by side */
  margin-bottom: 20px;
}

.related-post-item-large .related-post-thumbnail {
  flex: 1;
  overflow: hidden;
}

.related-post-item-large .related-post-content {
  flex: 1;
  padding: 15px;
  margin: auto 0px;
}

.related-post-item:not(.related-post-item-large) {
  flex: 0 0 calc(33.333% - 20px);
  /* Three columns for the next three posts */
}

.related-post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.related-post-thumbnail img {
  width: 100%;
  /* height: auto; */
  display: block;
}

.related-post-content {
  padding: 15px;
}

.related-post-category {
  display: block;
  font-family: "Roboto Slab", Sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 25px;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.related-post-title {
  font-size: 36px;
  margin: 5px 0;
  font-weight: 700;
  font-family: "Roboto Slab" !important;
  line-height: 50px;
}

.related-post-excerpt {
  font-family: "Roboto Slab", sans-serif !important;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: #555;
  margin-top: 10px;
}

/* Sing Up Page */

.iti.iti--allow-dropdown.iti--separate-dial-code,
.iti.iti--separate-dial-code {
  width: 100%;
}

.elementor-field-textual::placeholder {
  color: #fff !important;
}

.hove-black:hover {
  color: #000 !important;
}

.map_description p{
    font-family: Roboto Slab;
	font-size: 20px;
	font-weight: 400;
	line-height: 30px;
	text-align: left;
}

.home_resources_sec h3.related-post-title {
    color: #000;
}

/* Search Box */
.search-hover {
  position: relative;
  display: inline-block;
  width: 20px;
  /* Adjust to match the size of the image */
  height: 20px;
  /* Adjust to match the size of the image */
}

.search-hover img {
  display: block;
  /* Ensure the image is a block-level element */
  z-index: 40;
  width: 20px;
  /* Adjust to match the image size */
  height: 20px;
  /* Adjust to match the image size */
}

.search-textarea {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 40px;
  background-color: white;
  color: black;
  font-size: 16px;
  padding-inline: 20px;
  border-radius: 6px !important;

  border-bottom: 1px solid black;
  opacity: 0;
  transform: translateX(20%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  z-index: -1;
  resize: none;
  clip-path: inset(0 0 0 -100px);
}

.search-hover:hover .search-textarea {
  opacity: 20;
  transform: translateX(0);
  /* Slide in from the right */
  clip-path: none;
  /* Remove clipping on hover */
	z-index: 1;
}

.search-textarea::placeholder {
  color: black;
  /* Placeholder text color */
  font-size: 16px;
  /* Adjust placeholder font size */
  text-align: start;
  /* Center align placeholder text */
}

.search-textarea:focus-visible {
  border-bottom: 1px solid black;
  /* Only the bottom border */
  border: none;
}


@media screen and (max-width: 768px) {
  .related-post-item-large {
    flex-direction: column-reverse;
  }

  .related-post-item:not(.related-post-item-large) {
    flex: 100%;
  }
}

@media screen and (max-width: 767px) {
  .post_resources_tips .elementor-post__card {
    padding: 0;
  }

  .post_resources_tips .elementor-post__badge {
    padding: 0px;
    margin: 0px;
  }
  
  .post_resources_tips .elementor-post__text {
    padding: 0px !important;
  }
}

@media only screen and (min-device-width: 1000px) and (max-device-width: 1100px) {
  .search-textarea {
    top: -10px;
    right: 30px;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 992px) {
  .search-textarea {
    top: -10px;
    right: 30px;
  }
}

@media (max-width: 767.98px) {
  .search-textarea {
    position: fixed;
    top: 10px;
    right: 2em;
/*     z-index: 100; */
    background-color: #fff !important;
    width: 74%;
    left: 5px;
  }
}