/* .main_rebates,.fillter_section{
    max-width: 850px;
    margin: 0 auto;
} */
/* .rebate-div{
    margin-bottom: 6px;
    border: 1px solid;
    padding: 10px 10px 10px 10px;
    
} */
.rebate-div h4 {
  cursor: pointer;
  padding-right: 30px;
}
.et_pb_toggle_title::before {
  content: "\E050";
  position: absolute;
  right: 0;
  font-size: 16px;
  color: #ccc;
  top: 5px;
  margin-top: -0.5em;
}
.rebate-div img {
  display: block;
  margin: 10px 0px;
  width: 100%;
}

.rebate-div .rl__terms {
  margin: 0 auto;
}
/* span.rebate-label {
    
    position: absolute;
    right: -5px;
    top: 60%;
    z-index: 999;
    display: inline-grid;
    border-radius: 5px 0px 0px 5px;
} */
#left-area span.rebate-label {
  position: absolute;
  left: -5px;
  top: 290px;
  z-index: 999;
  border-radius: 0px 5px 5px 0px;
  width: fit-content;
  display: inline-grid;
}
span.rebate-label .rebate-label-inner {
  background-color: #1678b7;
  color: #ffffff;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: bold;
  transition: all 0.5s ease;
  margin-right: 3px;
  cursor: pointer;
  border-radius: 5px;
  margin-bottom: 5px;
}

#customSidebar {
  display: none;
  background: #f4f4f4;
  padding: 40px 20px 20px 20px;
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  z-index: 999999;
}

#sidebarToggle {
  background: #0073e6;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

#sidebarToggle:hover {
  background: #005bb5;
}
#closeSidebar {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #333;
}

#closeSidebar:hover {
  color: #000;
}
#sidebarOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999998;
}
.sidebar_heading {
  text-align: center;
}
.cc_rebate_inner {
  margin-top: 20px;
}
.cc_rebate_inner h2 {
  text-transform: capitalize;
}
.cc_rebate_inner h5 {
  text-transform: capitalize;
}
.cc_rebate_inner .action {
  display: inline-block !important;
  padding: 5px 10px;
  background: #333 !important;
  border-radius: 5px;
  margin-bottom: 3px !important;
  color: white;
}

.main_rebates {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rebate-div {
  flex: 1 1 calc(33.33% - 10px); /* Makes each item take up 1/3 of the row */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 300px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.Rebate_uper {
  padding: 20px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 100%;
}

.Rebate_uper h2 {
  font-size: 18px;
  color: #000;
  font-weight: 600;
  padding-bottom: 4px;
}
.Rebate_uper span {
  font-size: 12px;
  margin-bottom: 10px;
  display: block;
}

.Rebate_uper p {
  color: #0d0d0d;
  font-size: 13px;
  line-height: 18px;
  margin-bottom: 15px;
  font-weight: normal;
  flex-grow: 7;
}

.Rebate_uper a {
  padding: 6px 10px;
  background: #8a4381;
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 400;
  align-self: flex-start;
}

.Rebate_uper .Rebate_uper_sub {
  flex-grow: 1;
}
.rebate_link {
  color: #272727;
  font-size: 13px;
}

.Rebate_foot {
  background: #e7e7e7;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.btn_purple {
  border: 1px solid #8a4381;
  padding: 4px 10px;
  border-radius: 4px;
}
