section.csr_page {
  display: block;
}
section.csr_page .page_thumb {
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('../images/management-page-thumb.png') no-repeat;
  height: 20rem;
  background-size: contain;
  color: white;
}
.csr-content {
  margin: 20px auto;
}
.csr-holder {
  display: flex;
  flex-wrap: wrap;
}
.csr {
  height: 276px;
  width: 275px;
  border: 0.5px solid #393535;
  border-radius: 10px;
  overflow: hidden;
  margin: 10px;
}
.csr .image {
  height: 175px;
}
.csr .image img.picture {
  width: 100%;
  overflow: hidden;
  height: 175px;
  border-radius: 10px 10px 0px 0px;
  object-fit: cover;
}

.csr .info p.title {
  font-size: 15px;
  font-weight: bold;
  color: #000;
  line-height: 17px;
}

.csr .info p.amount {
  border: 0.5px solid #403c3c;
  border-radius: 30px;
  padding: 5px 16px;
  display: inline-block;
  color: #000;
  font-weight: bold;
}
.csr .info button {
  font-size: 14px;
  width: 100%;
  border-top: 1px solid #232324;
  padding: 9px;
}

section.csr_page {
  display: block;
  margin-bottom: 10rem;
}
.tab-holder {
  display: flex;
  border: 0.5px solid #089cb8;
  border-radius: 30px;
  width: 259px;
  margin: 20px auto;
}
.tab-holder .tab {
  padding: 5px 20px;
  cursor: pointer;
}
.tab-holder .tab.active {
  border: 0.5px solid #089cb8;
  border-radius: 30px;
  background-color: #089cb8;
  color: white;
}
.date-wise {
  margin: 20px;
  padding: 10px;
}
.year-holder {
  display: flex;
  flex-wrap: wrap;
}
.year-holder .year {
  border: 0.5px solid gray;
  border-radius: 30px;
  padding: 0px 16px;
  margin: 5px;
  font-weight: bold;
  font-size: 14px;
}
.year-holder .year:hover {
  border: 0.5px solid #089cb8;
}
.year-holder .year.active {
  background: #e9e9e9;
  border: 1px solid #089cb8;
}

.month-holder {
  display: flex;
  flex-wrap: wrap;
}
.month-holder .month {
  border: 0.5px solid gray;
  border-radius: 30px;
  padding: 1px 16px;
  margin: 5px;
  font-weight: bold;
  font-size: 14px;
}
.month-holder .month:hover {
  border: 0.5px solid #089cb8;
}
.month-holder .month.active {
  background: #e9e9e9;
  border: 1px solid #089cb8;
}

.category-wise {
  margin: 20px;
  padding: 10px;
  display: none;
}
.category-wise.active {
  display: block;
}
.category-holder {
  display: flex;
  flex-wrap: wrap;
}
.category-holder .category {
  border: 0.5px solid gray;
  border-radius: 30px;
  padding: 1px 16px;
  margin: 5px;
  font-weight: bold;
  font-size: 14px;
}
.category-holder .category:hover {
  border: 0.5px solid #089cb8;
}
.category-holder .category.active {
  background: #e9e9e9;
  border: 1px solid #089cb8;
}

.csr_inner__top h3 {
  text-align: center;
  color: #000;
}

.csr_inner__top .tab {
  font-weight: 600;
  color: #089cb8;
}
.csr .info .donation {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 11px;
}

.csr .info p.date {
  font-size: 14px;
}

.dark-mode .csr .info p.title {
  color: white;
}

.dark-mode .csr .info p.amount {
  color: white;
}

/* csr details */
.csr_toggle_box.active {
  display: flex;
}
.csr_toggle_box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  z-index: 100;
  background-color: #8080806e;
  display: none;
  justify-content: center;
  align-items: flex-start;
  padding: 5rem;
}

.csr_toggle {
  background-color: white;
  width: 90%;
  max-width: 63rem;
  height: auto;
  border-radius: 7px;
}

.csr_toggle__top {
  padding: 1.2rem;
  border-bottom: 2px solid #b6b3b3;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.csr_toggle__top h3 {
  font-size: 14px;
  font-weight: bold;
  line-height: 17px;
  color: #000;
}

.csr_toggle__top .title p {
  font-size: 14px;
}

.csr_toggle__top button.amount {
  border: 1px solid gray;
  padding: 3px 16px;
  border-radius: 2rem;
  font-size: 12px;
  font-weight: bold;
}

.csr_toggle__top i {
  background-color: gray;
  color: #fff;
  padding: 5px 7px;
  border-radius: 50%;
}

.csr_toggle__body {
  padding: 5rem;
  padding-top: 0;
}

.csr_toggle__body p {
  font-size: 14px;
  margin-top: 2rem;
  line-height: 20px;
  color: #515050;
}

.arabic__lang .category-holder, .arabic__lang .year-holder, .arabic__lang .month-holder {
  flex-direction: row-reverse;
}

.arabic__lang .csr .info .donation {
  flex-direction: row-reverse;
}

@media only screen and (max-width: 1199px) {
  .year-holder {
      justify-content: center;
  }
  
  .month-holder {
      justify-content: center;
  }
  
  .csr-holder {
      justify-content: center;
  }
}

@media only screen and (max-width: 767px) {
  .csr_toggle__body {
      padding: 3rem;
      padding-top: 0;
  }
  .csr_toggle__top button.amount{
      white-space: nowrap;
  }
  .csr_toggle__top{
      gap: 1rem;
      flex-wrap: wrap;
  }
  .csr_toggle_box{
      padding: 3rem 0;
  }
  .csr_toggle__top .title {
      min-width: 23rem;
  }
}

@media only screen and (max-width: 458px) {
  .csr_toggle__body {
      padding: 1.5rem;
      padding-top: 0;
  }
}