/*
Theme Name: Bluestone
Theme URI: https://theme.bluestone.com/
Author: Bram Perry
Author URI: bramperry.com
Description: Custom theme for Bluestone
Version: 1.0.0
*/
.wpcf7 form .wpcf7-response-output {
  border-radius: 6px;
  font-family: Arial;
  font-weight: bold;
  margin: 12px 0;
  padding: 8px;
}

.wpcf7 .mandatory,
.mandatory  {
  color: #bf0000;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea {
  background-color: #fff;
  color: #5c6670;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 16px;
  padding: 8px 8px;
  border-radius: 6px;
  border: 1px solid #ccdae8;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 textarea:focus,
.wpcf7 input[type="text"]:active,
.wpcf7 input[type="email"]:active,
.wpcf7 input[type="number"]:active,
.wpcf7 input[type="date"]:active,
.wpcf7 textarea:active {
  border-color: #006ed2;
}

.wpcf7 fieldset {
  border: 0;
  padding: 0;
  margin-bottom: 24px;
}

.wpcf7 legend {
  font-size: 16px;
  color: #006ed2;
  font-family: "Lato", sans-serif;
  padding: 0;
}

.wpcf7 .wpcf7-not-valid {
  border-color: #dc3232 !important;
  background-color: #ffe3e3 !important;
}

.wpcf7 .wpcf7-not-valid-tip {
  font-weight: bold;
  padding: 6px 0;
}

.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
  vertical-align: initial;
}

.wpcf7 input[type="radio"]:focus,
.wpcf7 input[type="checkbox"]:focus,
.wpcf7 input[type="radio"]:active,
.wpcf7 input[type="checkbox"]:active,
.wpcf7 input[type="file"]:focus,
.wpcf7 input[type="file"]:active {
  outline: 1px solid #006ed2;
}

.wpcf7 input[type=submit]:focus,
.wpcf7 input[type=submit]:active {
  outline: 2px solid #006ed2;
}

.wpcf7 select {
  background-color: #fff;
  color: #5c6670;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 16px;
  padding: 8px 8px;
  border-radius: 6px;
  border: 1px solid #ccdae8;
}

.wpcf7 label {
  font-size: 16px;
  color: #006ed2;
}

/*
.wpcf7 table label {
  visibility: hidden;
  margin-top: -18px;
}
.wpcf7 table input {
  visibility: visible;
}*/

.wpcf7 table label {
  font-size: 14px;
  color: #0061bc;  
}
.wpcf7 table input {
  margin-top: 6px;
}

.wpcf7 table .wpcf7-form-control-wrap,
.wpcf7 table p {
  padding: 0;
  margin: 0;
  line-height: 1;
}
.wpcf7 table tr th,
.wpcf7 table tr td {
}


.wpcf7 tr td {

}

.wpcf7 tr:nth-of-type(2n) td {
background-color: #E2E4E6;
}

.wpcf7 .wpcf7-list-item {
  margin-left: 0;
  margin-right: 12px;
}

.wpcf7 .wpcf7-form-control-wrap {
  margin: 12px 0;
  display: block;
}

.wpcf7 table {
  min-width: 100% !important;
  width: 100% !important;
  display: revert;
}

.wpcf7 table th,
.wpcf7 table th p {
  color: #fff;
}

.wpcf7 div.info-box {
  border: 2px #006ed2 solid;
  background-color: #fafeff;
  padding: 12px;
  margin-bottom: 24px;
  border-radius: 6px;
}
.wpcf7 div.info-box .info-item {
  font-weight: bold;
  margin-top: 6px;
}

.form-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 24px;
  gap: 30px;
}



.form-column {
  display: flex;
  flex-direction: column;
}

.form-column-fill {
  flex-basis: 100%;
  flex: 1;
}

.form-column-half {
  width: calc(50% - 50px);
}

.form-column-sm {
  width: calc(33.3333% - 50px);
}

.form-column-lg {
  width: calc(66.6666% - 50px);
}

@media all and (max-width: 980px) {
  .form-row-gap {
    gap: 50px !important;
  }

  .form-column-sm {
    width: calc(33.3333% - 25px) !important;
  }

  .form-column-lg {
    width: calc(66.6666% - 25px) !important;
  }

  .form-column-half {
    width: 100% !important;
  }
}

@media only screen and (max-width: 768px) {
  .form-row {
    display: block;
  }

  .form-column-sm {
    width: 100% !important;
  }

  .form-column-lg {
    width: 100% !important;
  }

  .form-column-half {
    width: 100% !important;
  }
}


.wpcf7 fieldset.date label {
  margin-right: 16px;
  font-weight: 500 !important;vertical-align: text-top;
}

.wpcf7 fieldset.date legend {
  margin-bottom: 12px;
  font-weight: 700 !important;
}

@media (orientation: portrait) and (max-width: 640px) {
  section td, section th {
    min-width: auto !important;
    padding: 6px;
  }
 
  .wpcf7 table input[type="text"], 
  .wpcf7 table input[type="email"], 
  .wpcf7 table input[type="number"], 
  .wpcf7 table input[type="date"], 
  .wpcf7 table textarea {
    display: inline;
    width: calc(100% - 20px);
  }
}