.contact-form-wrap {
  margin-top: 50px;
}
.contact-form input,
.contact-form label,
.contact-form textarea,
.contact-form p {
  font-family: regular_medium;
}
input.custom-from-inp,
.custom-text-area {
  width: 90%;
  border: 0;
  border-bottom: 2px solid rgb(200, 204, 212);
  padding: 6px 7px;
  padding-left: 0;
  outline: none;
  margin-bottom: 20px;
}
.custom-from-inp:hover,
.custom-from-inp:focus,
.custom-text-area:hover,
.custom-text-area:focus {
  border-bottom: 2px solid #2c8ebf;
}
/* .custom-text-area{
    width: 90%;
    padding: 6px 7px;
    outline: none;
} */
.contact-research-btn {
  border: 0;
  border-radius: 4px;
  background: #2c8ebf;
  margin: 20px 0;
  font-family: regular_bold;
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
    0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
  padding: 6px 16px;
  font-size: 0.875rem;
  min-width: 64px;
  box-sizing: border-box;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  font-weight: 500;
  line-height: 1.75;
  border-radius: 4px;
  letter-spacing: 0.02857em;
  text-transform: uppercase;
  width: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-research-btn:hover {
  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2),
    0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
}

@media only screen and (min-width: 960px) {
  .MuiFormControl-fullWidth {
    width: 100%;
  }
}
@media (max-width: 959px) {
  input.custom-from-inp,
  .custom-text-area {
    width: 100%;
  }
  .contact-form-wrap {
    margin-top: 0;
  }
}

/* New form design */
.left-contact-new {
  background-color: #f3f3f3;
  text-align: center;
  padding: 13px;
  border-radius: 7px;
  box-shadow: 1px 1px 3px 2px #ebebeb;
  width: 35%;
  border: #fff 1px solid;
}
.ContactFormstyle__ContactFormWrapper-sc-1dfnsn7-0.ifqgtM h3 {
  font-size: 26px;
  color: #000;
}
.custom-research-subhead {
  font-size: 19px;
  font-family: "regular_medium";
  color: #686868;
}
.custom-from-inp:hover {
  border: 1px solid #c8ccd4 !important;
}
.custom-text-area,
input.custom-from-inp {
  margin-bottom: 12px !important;
  padding: 8px 11px !important;
}
.custom-text-area,
input.custom-from-inp {
  width: 90%;
  border: 1px solid #c8ccd4;
  outline: 0;
  border-radius: 7px;
}
.new-contact-form-submit {
  margin-bottom: 20px;
  margin-top: 0 !important;
  background-color: rgb(255, 210, 29) !important;
  width: 240px;
}
.submit-btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.email-form-email-err-new-form {
  text-align: left;
  text-align: left;
  /* margin-left: 20px; */
  font-size: 14px;
  margin-top: -11px;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  padding-left: 2px;

}
.contact-form-wrap-new {
  margin-top: 10px;
}
.right-contact-new {
  margin-left: 50px;
}
@media (max-width: 959px) {
  .left-contact-new {
    width: 100%;
  }
  .right-contact-new {
    margin-left: 0;
  }
}

/* Phone input design */
#phone-input-container {
  height: 2.5rem;
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 400px;
  border-top: 1px solid #ced4da;
  border-left: 1px solid #ced4da;
  border-bottom: 1px solid #ced4da;
  border-radius: 5px;
  margin-bottom: 10px;
}
#country-section {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 3px;
  padding-right: 10px;
  padding-left: 10px;
  background-color: #f5f5f5;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
#flag-img {
  width: 24px;
  height: 16px;
  cursor: pointer;
}
#dropdown-toggle {
  cursor: pointer;
}
#editable-country-code,
#editable-country-code2 {
  padding: 5px;
  border: none;
  outline: none;
  background: rgba(0, 0, 0, 0);
  font-size: 14px;
  cursor: text;
  color: #5f616b;
}
#phone-number {
  flex-grow: 1;
  outline: none;
  border-radius: 0;
  border: 1px solid #ced4da;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  font-size: 14px;
  height: 100%;
}
.phone-container {
  width: 90% !important;
  margin: 0 auto;
  margin-bottom: 10px;
}
#country-dropdown,
#country-dropdown2 {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 5px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 10;
  display: none;
}
#error-message {
  color: #f44336;
  font-family: "regular_medium";
  font-size: 14px;
  margin-top: 10px;
  display: inline-block;
  width: 100%;
  text-align: left;
}
.dropdown-search,
.dropdown-search2 {
  display: flex;
  align-items: center;
  padding: 5px;
  border-bottom: 1px solid #ced4da;
}
.dropdown-search svg,
.dropdown-search2 svg {
  margin-left: 5px;
}
#country-search {
  padding-left: 10px;
  width: 100%;
  border: 1px solid #ced4da;
  outline: none;
  border-radius: 0.25rem;
  height: 2.5rem;
  color: #5f616b;
  font-size: 0.95rem;
  font-family: "regular_medium" !important;
}
#country-list li,
#country-list2 li {
  display: flex;
  align-items: center;
  padding: 5px;
  cursor: pointer;
  gap: 5px;
}
.input-group{
  width: 90%;
  margin: 0 auto;
  margin-bottom: 10px;
}
.country-code{
  max-width: 57px;
  border: none;
}
.input-group-text{
 background: #fff;
 padding: 0;
}
.clickcountryImg-cust{
  width: 24px;
  height: 24px;
  cursor: pointer;
}
.form-control{
  height: auto !important;
}
.form-control:focus {
  color: #495057 !important;
  background-color: #fff !important;
  border-color: #c8ccd4 !important;
  outline: 0 !important;
  box-shadow:none !important;

}
.imgstyle{
  width: 24px;
  height: 14px;
  cursor: pointer;
}
.customListItem{
  text-align: left;
}
.customOptionList{
  position: absolute;
    top: 100%;
    left: 5%;
    width: 100%;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 5px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10;
    width: 90%;
    margin: auto;
    background: #fff;
    padding: 10px;
}

@media(max-width:991px){
  .customOptionList{
    max-height: 200px;
  }
}