.tab {
      display: grid;
    grid-gap: 25px;
    grid-template-columns: repeat(3,1fr);
    justify-content: start;
}

/* Style the buttons inside the tab */
.tab button {
  display: flex;
    flex-direction: column;
    align-items: center;
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
    padding: 16px;
  transition: 0.3s;
  font-size: 17px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
  font-family:BrandonText-Bold;
}
.tab button p {
font-family: BrandonText-Bold;
      line-height: normal;
  color:#333 !important;
}
/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #083863;
}

.tab button:hover p {
  color:#fff !important;
}

.tab button:hover i {
 color:#fff; 
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #083863;
  color:#fff;
}

.tab button.active p {
 color:#fff !important; 
}

.tab button.active i {
  color:#fff;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 16px;
      box-shadow: 0 0 10px rgba(0,0,0,0.2);
      background-color: #f8faf9;
    margin-top: 3em;
  -webkit-animation: fadeEffect 1s;
  animation: fadeEffect 1s;
}

/* Fade in tabs */
@-webkit-keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

.tab i {
  font-size:4em;
  color:#083863;
    color: #083863;
  transition: 0.3s;

}

.tab p {
  text-align:center;
}


#sales fieldset, #general fieldset {
      width: auto !important;
    max-width: 100% !important;
    padding: 0 20px !important;
}

#sales fieldset:first-of-type {
  padding-top:20px !important;
}

#sales fieldset:last-of-type{
  padding-bottom:20px !important;
}

#sales .legal-consent-container .hs-richtext, #sales .legal-consent-container .hs-richtext p {
  margin-bottom:0;
}

#sales input, #sales select, #sales textarea, #general input, #general select, #general textarea {
      font-style: normal;
    font-weight: normal;
    color: #333333 !important;
    font-size: 1em !important;
    font-family: BrandonText-Bold;
    font-weight: 100;
    width: 100%;
    border: 0;
    border-bottom: 2px solid #333;
    padding: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
}

#sales input[type="submit"], #general input[type="submit"] {
    -webkit-appearance: none;
    margin-left: 20px;
      background-color: transparent;
    display: block;
    border: solid 3px #062440;
    color: #062440 !important;
    box-shadow: none;
    font-family: 'BrandonText-Bold';
    text-decoration: none;
    padding: 8px 20px;
    text-align: center;
    text-transform: uppercase;
    border-radius: 50px;
    line-height: 1;
    align-items: center;
    justify-content: center;
    transition: all .1s ease-out;
    width: fit-content;
}

.hs_anything_else_ label {
  font-family:BrandonText-Bold;
}

#general fieldset {
  padding-bottom:0 !important;
}

.tabcontent a {
 text-decoration:none;
  font-family:BrandonText-Bold;
}

a#supportcta {
  color:#fff; background-color: #fd7963; padding:10px; 20px; border-radius:5px; transition: all .3s ease-out;
}

a#supportcta:hover {
  background-color:#34d9c3;
}

.tablinks img {
max-width:75px;
}

.hs_error_rollup {
  margin-left:20px;
}

@media screen and (max-width: 767px) {
  
  .tablinks img {
max-width:50px;
}
  .tab p {
    font-size: .9em;
}
  
  .tablinks  p {
    font-size:.75em;
    padding-bottom:0;
    margin-bottom:0;
  }
  
  .tab button {
    padding:8px;
  }
  .tab {
    grid-gap: 5px;
  }
  #sales fieldset, #general fieldset {
   padding: 0 !important;
  }
  #sales input[type="submit"], #general input[type="submit"], .hs_error_rollup {
   margin-left:0px; 
  }
}  

@media screen and (max-width: 420px) {
  .button-body-text {
    display:none;
  }
}