.top-banner-wrapper {
  margin: 10px 0;
}

.top-banner-wrapper .top-banner {
  width: 740px;
  max-height: 90px;
  border-radius: 5px;
  border: 1px solid #6D4F284D;
  background: #eceae4;
  padding: 12px 10px 10px;
  position: relative;
  margin: 0 auto;
}

.top-banner-wrapper .top-banner .form-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.top-banner-wrapper .top-banner .logo {
  width: 100px;
  height: 20px;
  position: absolute;
  top: 10px;
  right: 10px;
  background: url('https://www.ancestrycdn.com/genealogy/archives-logo-black.png');
  background-size: cover;
}

.top-banner-wrapper .top-banner .subtitle {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #6D4F28;
  margin-bottom: 5px;
  width: 100%;
}

.top-banner-wrapper .top-banner .form-input {
  height: 35px;
  width: 200px;
  position: relative;
  color: #6D4F28;
}

.top-banner-wrapper .top-banner .form-input.error-placeholder::placeholder {
  color: red;
}

.top-banner-wrapper .top-banner .sod_select {
  height: 35px !important;
  width: 200px;
  padding-top: 9px;
  box-shadow: none;
}
  
.top-banner-wrapper .top-banner .sod_select {
  font-weight: 100;
}
  
.top-banner-wrapper .top-banner .sod_select::after {
  top: 6px;
}

.top-banner-wrapper .top-banner .form-input,
.top-banner-wrapper .top-banner .form-select {
  padding: 0 10px;
  border: 1px solid #6D4F284D;
  border-radius: 5px;
  margin: 0 7px 0 0;
}

.top-banner-wrapper .top-banner .form-input::placeholder,
.top-banner-wrapper .top-banner .form-select::placeholder {
  color: #6D4F28;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
}

.top-banner-wrapper .top-banner .submit-btn {
  width: 90px;
  height: 35px;
  border-radius: 5px;
  border-width: 1px;
  padding-right: 6px;
  padding-left: 6px;
  border: 1px solid #AC6817;
  background: #EDA032;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  color: black;
  margin-left: 10px;
}
  
  .top-banner-wrapper .hint {
    font-family: "Source Sans Pro";
    font-weight: 400;
    font-size: 12px;
    text-align: center;
    display: none;
  }
  
.right-banner-wrapper {
  width: 340px;
  max-height: 255px;
  padding: 20px;
  background-color: #F1F0EA;
}

.right-banner-wrapper .subtitle {
  width: 100%;
  font-family: 'Amatic-Bold';
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  color: #6D4F28;
  margin-bottom: 12px;
  text-align: start;
}

.right-banner-wrapper .record-wrapper {
  background-color: white;
  padding: 10px 0;
}

.right-banner-wrapper .record-wrapper .record {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  margin: 0 8px;
  border-bottom: 1px solid #6D4F284D;
}

.right-banner-wrapper .record-wrapper .record .record-header {
  font-family: "Source Sans Pro";
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  color: #6D4F28 !important;
  text-align: start;
}

.right-banner-wrapper .record-wrapper .record .submit-btn {
  width: 70px;
  height: 24px;
  border-radius: 5px;
  padding: 2px 6px;
  border: 1px solid #AC6817;
  background: #EDA032;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-style: Semibold;
  font-size: 14px;
  text-transform: uppercase;
  color: black;
}

.right-banner-wrapper .record-wrapper .record:nth-child(3) {
  border: none;
}

.right-banner-wrapper .hint {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 12px;
  text-align: center;
  color: #9E8F7D;
  margin-top: 10px;
}
  
@media only screen and (max-width: 1305px) {
  .right-slot {
    float: none;
    width: 100%;
    display: flex;
    justify-content: center;
  }
}
  
@media only screen and (max-width: 1005px) {
  .inner-ad-position {
    position: static;
    display: flex;
    justify-content: center;
    padding: 0;
  }
}
  
@media only screen and (max-width: 752px) {
  .top-banner-wrapper {
    margin-bottom: 0;
  }
  
  .top-banner-wrapper .top-banner {
    width: 300px;
    max-height: 250px;
    display: flex;
    flex-wrap: wrap;
  }
  
  .top-banner-wrapper .hint {
    display: block;
    margin-top: 5px;
  }
  
  .top-banner-wrapper .top-banner .logo {
    position: sticky;
    margin: 5px 90px 5px;
  }
  
  .top-banner-wrapper .top-banner .form-wrapper .subtitle {
    text-align: center;
  }
  
  .top-banner-wrapper .top-banner .form-wrapper .form-input,
  .top-banner-wrapper .top-banner .form-wrapper .sod_select {
    width: 100%;
    margin: 0 0 8px;
  }
  
  .top-banner-wrapper .top-banner .form-wrapper .select-wrapp {
    width: 100%;
  }
  
  .top-banner-wrapper .top-banner .form-wrapper .submit-btn {
    margin: 0 auto;
  }
}