/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

html { scroll-behavior: smooth; }

body,
input,
select {
  font-family: "Noto Sans Thai", sans-serif;
}

.container.grid-container {
  padding-left: 6%;
  padding-right: 6%;
  max-width: calc( 1400px + 12% );
}

.container.grid-container > #content {
  margin-left: -6%;
  margin-right: -6%;
}

/* FORM */

form.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: auto;
  max-width: 600px;
}

form.wpcf7-form > label {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

form.wpcf7-form > label span.rnz-form-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #FFF;
  z-index: 1;
  transition: 0.25s;
  pointer-events: none;
}

form.wpcf7-form > label.rnz-floating-label span.rnz-form-label {
  top: -25px;
  left: 0;
  font-size: 12px;
  color: #333333;
}

form.wpcf7-form input,
form.wpcf7-form select,
form.wpcf7-form textarea {
  width: 100%;
  padding: 8px 10px;
  height: 45px;
  background-color: #FFF;
  border: 1px solid #ccc;
  border-radius: 0px;
}

form.wpcf7-form .wpcf7-radio {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

form.wpcf7-form .wpcf7-radio .wpcf7-list-item {
  margin-left: 0;
}

form.wpcf7-form .wpcf7-radio .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
}

form.wpcf7-form .wpcf7-radio .wpcf7-list-item label input {
  width: max-content;
  height: max-content;
}

form.wpcf7-form input.wpcf7-submit {
  margin-top: 28px;
  color: #FFF;
  background-color: #000;
}
