/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 .elementor-html {
    overflow-x: hidden !important;
}

.tgcf-contact-form {
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #f8f8f8;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.tgcf-contact-form button {
    display: flex;
    justify-content: center;

    margin-top: 30px;
    margin-left: auto;

    width: 90px;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
}

.tgcf-contact-form label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
}

.tgcf-contact-form input,
.tgcf-contact-form select,
.tgcf-contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-block: 5px;
    /* margin-bottom: 15px; */
    border: 1px solid #ccc !important;
    border-radius: 5px !important;
    font-size: 14px;
    font-family: inherit; 
    box-sizing: border-box;
}

.tgcf-contact-form textarea {
    min-height: 100px;
    max-height: 150px;
}

.tgcf-contact-form .tgcf-field-error {
    color: red;
    font-size: 12px;
}

 /* Modal Container */
.tgcf-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 99;
}

.tgcf-modal[aria-hidden="false"] {
  display: block;
}

.tgcf-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 20px;
  padding: 50px;
}

.tgcf-modal__dialog button {
    display: flex;
    justify-content: center;

    margin-top: 30px;
    margin-inline: auto;

    width: 90px;
    border: none;
}

#tgcf_product_type {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px; /* space for icon */
    background-image: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
    <polyline points='6 9 12 15 18 9'/>\
    </svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}


/* MEDIA QUERY */
@media (max-width: 768px) {

    .tgcf-contact-form {
      padding: 20px;
    }

    .tgcf-contact-form button {
        width: 100%;
    }
}