body.wenitee-v2  .search-bar {
    padding: 8px 20px;
    background-color: white;
    border-radius: 50px;
    display: flex;
    position: relative;
}

body.wenitee-v2 .calc-size-line > * {
  flex: 1;
}

.calc-size-line {
  display: inherit;
  width: calc(100% - 120px);
}

.container-search-bar {
  padding: 0 120px;
  display: flex;
  flex-direction: column;
}

body.wenitee-v2 .search-bar-element {
    display: flex;
    flex-direction: column;
    text-align: left;
}
body.wenitee-v2 .wte_search_location {
    border-left: 1px solid #B9C0C5;
    padding-left: 8px;
}
body.wenitee-v2 .search-bar-element input {
    background-color: transparent;
    text-overflow: ellipsis;
    text-align: left;
    padding: unset;
    border: none;
    outline: none;
    margin:auto;
    width: 100%;
    font-size: 0.9rem;
}
body.wenitee-v2 .search-bar-element input::placeholder {
    text-overflow: ellipsis;
}

body.wenitee-v2 .search-bar-element label + input {
    top: 0.8rem;
}

body.wenitee-v2 .search-bar-element:before {
    content: '';
    background-repeat: no-repeat;
    background-position: 0.2rem center;
    background-size: 0.7rem;
    border-radius: 5px;
    position: absolute;
    pointer-events: none;
    cursor: pointer;
    display: none;
    width: 30px;
    height: 30px;
    color: #999;
    z-index: 10;
    margin: auto;
    bottom: 0;
    top: 0;
}

body.wenitee-v2  .search-bar-submit {
    position: absolute;
    top:0;right:0;
    background-color: var(--theme-palette-tertiary) !important;
    color: var(--theme-palette-white) !important;
    border-radius: 50px;
    border: none;
    padding: 0.5rem 1rem;
    height: 3.2rem;
    margin: 0.4rem !important;
    font-weight: 500;
}

body.wenitee-v2  .search-bar-submit:hover {
    background-color: var(--theme-palette-secondary) !important;
    color: var(--theme-palette-primary) !important;
    text-decoration: underline;
    border-color: var(--theme-palette-primary) !important;
}

body.wenitee-v2 .search-bar-element.wte_search_domain input,
body.wenitee-v2 .search-bar-element.wte_search_location input
{
    padding-left: 1.5rem;
}

body.wenitee-v2 .search-bar-element.wte_search_domain:before,
body.wenitee-v2 .search-bar-element.wte_search_location:before {
    display: block;
    top: 30px;
}

body.wenitee-v2 .search-bar-element.wte_search_domain:before{
    background-image: url(/profiles/custom/giveety/themes/giveety_features/giveety_base/assets/images/icon/icon-glass-grey.svg);
}

body.wenitee-v2 .search-bar-element.wte_search_location:before{
    background-image: url(/profiles/custom/giveety/themes/giveety_features/giveety_base/assets/images/icon/icon-pin-grey.svg);
}

.search-bar-submit-responsive {
    display: none;
}

@media (max-width: 992px) {
    .container-search-bar {
      padding: 0;
    }
}
@media only screen and (max-width: 970px) {
    .calc-size-line {
      width: calc(100% - 52px);
    }
    body.wenitee-v2 .search-bar-submit:before{
        position: absolute;
        margin: auto;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
        content: "";
        height: 2rem;
        width: 2rem;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 75%;
        background-image: url(/profiles/custom/giveety/themes/giveety_features/giveety_base/assets/images/icon/arrow-full-next-white.svg);
    }

    body.wenitee-v2  .search-bar-submit {
        width: 3.2rem;
        position: absolute;
        right: 0;
        top: 0;
    }
}

@media (max-width: 420px) {
  .calc-size-line {
    flex-direction: column;
    gap: 8px 0;
    width: calc(100% - 52px);
  }
  body.wenitee-v2 .search-bar {
    padding: 20px 20px;
  }
  body.wenitee-v2 .wte_search_location {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #B9C0C5;
    padding-top: 8px;
  }
  body.wenitee-v2 .search-bar-element.wte_search_domain:before {
    top: -36px;
  }
  body.wenitee-v2 .search-bar-element.wte_search_location:before {
    top: 94px;
  }
  body.wenitee-v2 .search-bar-submit {
    top: unset;
    bottom: 0;
    right: 0;
    border-radius: 35px 0 26px 0;
    margin: 0 !important;
  }
}
