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

.rg-register-form label {
  font-family: 'Montserrat', sans-serif;
}
.rg-register-form li.gfield {
  padding-top: 0 !important;
  margin-bottom: 20px !important;
}
.rg-register-form li.gfield.gfield_error {
  padding-top: 0 !important;
  border: none !important;
  background-color: transparent !important;
}
.rg-register-form li.gfield_error .validation_message {
  padding-top: 0 !important;
}
.rg-register-form li.gfield_error label {
  margin-top: 0 !important;
}
.rg-register-form input,
.rg-register-form textarea {
  border-width: 1px;
  border-radius: 2px;
  border-color: #bbbbbb;
}
.rg-register-form select {
  height: 36px;
  padding: 5px 4px;
}
.rg-register-form .gform_button {
  background-color: #fcb23d;
  color: #000000;
  padding: 10px 20px;
  height: 50px;
  width: auto;
  font-family: 'Montserrat', sans-serif;
  border: none;
}

.modal-open .modal-backdrop {
  background-color: #0000006e;
}
#termsModal .modal-content .modal-header {
  display: flex;
  justify-content: space-between;
}
#termsModal .modal-content .modal-header .modal-title {
  flex: auto;
  font-size: 22px;
}
#termsModal .modal-content .modal-body {
  background-color: #c2c2c231;
  overflow-y: scroll;
  max-height: 60vh;
}
#termsModal .modal-content .modal-footer {
  display: flex;
  align-items: center;
  width: 100%;
}
#termsModal .modal-content .modal-footer button.btn {
  font-style: normal;
  transform: none;
  margin-right: 20px;
}
#termsModal .modal-content .modal-footer button.btn.btn-primary {
  color: #000000;
  background-color: #fcb23d;
  font-family: 'Montserrat', sans-serif;
  padding: 10px 20px;
  height: 50px;
  border: none;
}

.custom-affiliate-area ul {
  text-decoration: none;
  list-style: none;
  padding-left: 0 !important;
  margin-bottom: 0 !important; 
  width: 100%;
  display: flex;
}
.custom-affiliate-area > ul > li {
  padding: 10px 20px !important;
  margin-bottom: 0 !important; 
  width: 50%;
  color: #000000;
  background-color: #f7f7f7;
  font-family: 'Montserrat', sans-serif;
  border: none;
  overflow: hidden;
  border-bottom: solid 1px #fcb33da9;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}
.custom-affiliate-area > ul > li.active {
  background-color: #fcb23d;
  color: #FFFFFF;
  border-bottom: none;
}
.custom-affiliate-area ul li:hover {
  opacity: 0.8;
  cursor: pointer;
}
.register-wrapper,
.login-wrapper {
  padding: 20px;
  border: solid 1px #fcb33da9;
  border-top: none;
  padding-bottom: 0;
}
#affwp-login-form {
  margin-bottom: 0 !important;
}

/*
 - Partner Goals
*/
.goals-info {
  font-family: 'Montserrat', sans-serif !important;
}
.partner-goal-wrapper {
  width: 100%;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
}
.partner-goal-wrapper .goal-item {
  width: 100%;
  margin-bottom: 40px;
  font-family: 'Montserrat', sans-serif;
  color: #000000;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0 30px;
}
.partner-goal-wrapper .goal-item .number-wrapper {
  background-color: #fcb23d;
  color: #FFFFFF;
  border-radius: 50%;
  width: 8rem;
  height: 8rem;
  min-width: 8rem;
  min-width: 8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  font-weight: 800;
  margin-right: 20px;
}
.partner-goal-wrapper .goal-item .text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.partner-goal-wrapper .goal-item .text-wrapper button {
  margin-top: 10px;
  color: #000000;
  background-color: #fcb23d;
  font-family: 'Montserrat', sans-serif;
  transform: none;
  padding: 10px 20px;
  height: 40px;
  width: 0 auto;
  max-width: 150px;
  min-width: 150px;
  border: none;
}
.partner-goal-wrapper .goal-item .text-wrapper button:hover {
  opacity: 0.8;
}
.partner-goal-wrapper .goal-item .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.partner-goal-wrapper .goal-item h3 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.partner-goal-wrapper .goal-item p {
  margin-bottom: 0px !important;
  font-family: 'Montserrat', sans-serif !important;
  color: #4d4d4d;
}
@media only screen and (max-width: 768px) {
  .partner-goal-wrapper .goal-item .content-wrapper {
    flex-direction: column;
  }
  .partner-goal-wrapper .goal-item .number-wrapper {
    width: 4rem;
    height: 4rem;
    min-width: 4rem;
    min-width: 4rem;
    font-size: 20px;
  }
  .partner-goal-wrapper .goal-item .text-wrapper {
    padding-top: 20px !important;
  }
}

/*
 - Referrals Tab
*/
table.affwp-table.affwp-table-responsive {
  border: 1px solid #fcb23d !important;
}
table.affwp-table.affwp-table-responsive tr {
  height: 20px !important;
}
.affwp-table.affwp-table-responsive th {
  font-family: 'Montserrat', sans-serif;
  background-color: #fcb23d;
  color: #FFFFFF;
  border: none;
}
@media only screen and (max-width: 768px) {
  table.affwp-table.affwp-table-responsive {
    border: none !important;
  }
}

/*
 - Partner Area
*/
.dashboard,
.partner-details {
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  padding-top: 20px;
}
.partner-details h5,
.partner-details p {
  font-family: 'Montserrat', sans-serif !important;
}
.partner-details h5 {
  font-size: 20px !important;
  font-weight: 900 !important;
}
.partner-details .btn-wrapper {
  text-align: end;
}
.dashboard-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.dashboard-item {
  width: 31.5%;
  text-align: center;
  padding-bottom: 10px;
  border: 1px solid #fcb23d;
}
.dashboard-item.quarterly {
  width: 23%;
}
.dashboard-item.full-width {
  width: 100%;
}
.dashboard-item .value {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: bold;
  margin: 0 auto;
  font-size: 26px;
  background-color: #fcb23d;
  color: #FFFFFF;
  margin-bottom: 10px;
  padding: 20px 20px;
}
.dashboard-item a {
  color: #FFFFFF;
  text-transform: uppercase;
  text-decoration: none !important;
}
.dashboard-item a:hover {
  opacity: 0.8;
  cursor: pointer;
}
.dashboard-item-horizontal {
  border: 1px solid #fcb23d;
  display: flex;
  align-items: center;
  height: 50px;
}
.dashboard-item-horizontal .title {
  font-weight: bold;
  background-color: #fcb23d;
  color: #FFFFFF;
  padding-left: 20px;
  padding-right: 20px;
  line-height: 53px;
  height: 50px;
  min-width: 160px;
  text-align: center;
}
.dashboard-item-horizontal .value {
  margin-left: 20px;
}
.dashboard-item-horizontal .input-value  {
  padding-left: 20px;
  height: 50px;
  line-height: 50px;
  border: none;
  border-top: 1px solid #fcb23d;
  border-bottom: 1px solid #fcb23d;
  width: 100%;
}
.input-wrapper {
  display: flex;
  flex-direction: column;
}
#url-btn {
  background-color: #fcb23d;
  color: #FFFFFF;
  padding-right: 20px;
  padding-left: 20px;
  border: none;
  height: 50px;
}
@media only screen and (max-width: 768px) {
  .dashboard-item.quarterly,
  .dashboard-item {
    width: 100%;
    margin-bottom: 20px;
  }
  .dashboard-item-horizontal {
    flex-direction: column;
    height: 100px;
  }
  .dashboard-item-horizontal .title {
    width: 100%;
  }
  .dashboard-item-horizontal .value {
    margin-left: 0;
    text-align: center;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    overflow-y: scroll;
    white-space: nowrap;
    line-height: 50px;
    height: 50px;
  }
  .dashboard-item-horizontal .value::-webkit-scrollbar {
    display: none;
  }
}