.library {
  padding-bottom: 5rem;
}
.library .xs-icon {
  margin-right: 4px;
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease-in-out;
}
.library__head {
  background: url("/assets/images/library-cover@2x.png") no-repeat;
  margin-top: 6rem;
  height: 500px;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.library__head .copy-right {
  position: absolute;
  left: 15px;
  bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
}
@media screen and (max-width: 991.98px) {
  .library__head {
    height: 400px;
    margin-top: 3.5rem;
  }
}
.library__head .input-group {
  margin-top: 3rem;
}
.library__head .input-group input {
  background: url("/assets/icons/gray-search.svg") no-repeat;
  background-size: 25px;
  background-position: 15px center;
  padding-left: 55px;
  height: 65px;
  background-color: #fff;
  color: #888888;
  /*rtl:raw:border-top-left-radius:0;
  border-bottom-left-radius:0;
  border-top-right-radius: .25rem !important;
  border-bottom-right-radius: .25rem !important;*/
}
@media screen and (max-width: 499.98px) {
  .library__head .input-group input {
    background-position: 9px center;
    padding-left: 42px;
    height: 53px;
    background-size: 20px;
  }
}
.library__head .input-group input::-moz-placeholder {
  color: #888888;
}
.library__head .input-group input:-ms-input-placeholder {
  color: #888888;
}
.library__head .input-group input::placeholder {
  color: #888888;
}
.library__head .input-group-append {
  background-color: #a20000;
  width: 120px;
}
@media screen and (max-width: 499.98px) {
  .library__head .input-group-append {
    width: 80px;
  }
}
.library__head .input-group-append button {
  width: 100%;
  color: #fff;
  text-transform: uppercase;
}
.library__content .cards-wrapper {
  padding: 2rem;
}
@media screen and (max-width: 1199.98px) {
  .library__content .cards-wrapper {
    padding: 2rem 1rem;
  }
}
.library__content .cards-wrapper__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 0.7rem;
  width: 100%;
}
.library__content .cards-wrapper__head .filter {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #707070;
}
.library__content .cards-wrapper__head .filter-title {
  margin-right: 8px;
}
.library__content .cards-wrapper__head .filter #change-view {
  border: 0;
  background-color: transparent;
  display: flex;
  margin-right: 12px;
}
.library__content .cards-wrapper__head .filter #change-view:focus {
  outline: none;
}
.library__content .cards-wrapper__head .filter #change-view img:last-of-type {
  display: none;
}
.library__content .cards-wrapper__head .filter #change-view.list-view img:first-of-type {
  display: none;
}
.library__content .cards-wrapper__head .filter #change-view.list-view img:last-of-type {
  display: block;
}
@media screen and (max-width: 991.98px) {
  .library__content .cards-wrapper__head .filter #change-view {
    display: none;
  }
}
.library__content .cards-wrapper__head .filter .dropdown-toggle-custom {
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  width: 120px;
  text-transform: capitalize;
  background-color: transparent;
}
.library__content .cards-wrapper__head .filter .dropdown-toggle-custom .xs-icon {
  margin-left: 8px;
}
.library__content aside {
  background-color: #f1f1f1;
  color: #333333;
}
.library__content aside .topics {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #eae7e7;
}
.library__content aside .topics:first-of-type {
  padding-top: 2rem;
}
.library__content aside .topics .topics-inner {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-in-out;
  text-align: left;
}
.library__content aside .topics .topics-inner .form-check {
  display: none;
}
.library__content aside .topics .topics-inner .form-check-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.library__content aside .topics .topics-inner .form-check-inner .count-item {
  color: #b1b1b1;
}
.library__content aside .topics .topics-inner .view-more {
  color: #a20000;
  text-transform: capitalize;
  padding: 16px 0 !important;
}
.library__content aside .topics .topics-inner .view-more:focus {
  box-shadow: none;
  outline: none;
}
.library__content aside .topics.active .topics-inner {
  max-height: 3000px;
  text-align: left;
}
.library__content aside .topics.active > label img {
  transform: rotate(180deg);
}
.library__content aside label {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.library__content aside label.form-check-label {
  display: block;
  position: relative;
  cursor: pointer;
  text-transform: capitalize;
  text-align: left;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.library__content aside label.form-check-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.library__content aside label.form-check-label input:checked ~ .checkmark {
  background-color: #888888;
}
.library__content aside label.form-check-label input:checked ~ .checkmark:after {
  display: block;
}
.library__content aside label.form-check-label .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  border: 1px solid #707070;
  border-radius: 4px;
}
.library__content aside label.form-check-label .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 50%;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  border: 8px solid;
}

.back {
  font-size: 0.85rem;
}
.back img {
  /*rtl:begin:remove*/
  transform: rotate(180deg);
  /*rtl:end:remove*/
  margin-right: 0.5rem;
  width: 20px;
}

.back span:hover {
  color: #ffffffd9;
  font-weight: 400;
  cursor: pointer;
}
.back span:hover img {
  width: 21px;
}

.text {
  padding: 4% 0%;
  text-align: left;
}
.text h2 {
  font-size: 2.5rem;
  font-weight: 400;
}
.text span {
  font-size: 1.15rem;
}

.wrapper {
  width: 100%;
  position: relative;
  z-index: 12;
}
.wrapper .top-filter {
  display: flex;
  width: 92%;
  background: #ffffff;
  margin-left: 4%;
  margin-bottom: 3%;
}
.wrapper form {
  display: flex;
  width: 100%;
}

.dropdown-item:active {
  background-color: #737373;
}

.grey-border {
  border: 1px solid #eae7e7;
  outline: 0px;
}

.small-font {
  font-size: 0.9rem;
}

.dropdown-toggle-custom:focus {
  outline: 0px;
}

.middle-filter {
  width: 52%;
}
@media screen and (min-width: 768px) and (max-width: 991.98px) {
  .middle-filter {
    width: calc(100% / 3);
  }
}

.date-time {
  padding: 2.2%;
  margin: 0 8px;
  width: calc(100% - 50px);
  background-color: transparent;
}

.content {
  padding-left: 4%;
  display: flex;
}

.border-radius-1 {
  border-radius: 1px;
}

.decisions.list-view .decision {
  width: 100%;
  height: auto;
}
.decisions.list-view .decision .decision-body {
  flex-direction: row;
  align-items: center;
}
.decisions.list-view .decision .decision-body .decision-badge {
  display: block;
  order: 4;
}
.decisions.list-view .decision .decision-body__head {
  margin-bottom: 0;
  order: 2;
  width: 20%;
}
.decisions.list-view .decision .decision-body__head .badge {
  display: none;
}
.decisions.list-view .decision .decision-body .decision-title {
  order: 1;
  width: 40%;
  margin-right: 16px;
}
.decisions.list-view .decision .decision-body .decision-title h2 {
  margin-bottom: 0;
}
.decisions.list-view .decision .decision-body p {
  display: none;
}
.decisions.list-view .decision .decision-body .publisher {
  width: 20%;
  margin-top: unset;
  order: 3;
  text-align: left;
}
.decisions .decision {
  width: calc(100% / 4 - 1rem);
  margin: 1rem 0.5rem;
  background: #ffffff;
  box-shadow: 0.1rem 0.1rem rgba(234, 234, 234, 0.53);
  height: 16rem;
}
@media screen and (max-width: 767.98px) {
  .decisions .decision {
    width: 100%;
  }
}
@media screen and (min-width: 768px) and (max-width: 1199.98px) {
  .decisions .decision {
    width: calc(100% / 2 - 1rem);
    margin: 1rem 0.5rem;
    height: 14rem;
  }
}
@media screen and (min-width: 992px) and (max-width: 1199.98px) {
  .decisions .decision {
    width: calc(100% / 3 - 1rem);
    margin: 1rem 0.5rem;
  }
}
.decisions .decision .decision-body {
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.decisions .decision .decision-body > .decision-badge {
  display: none;
}
.decisions .decision .decision-body .badge {
  background-color: #d7f4f7;
  border-radius: 25px;
  padding: 8px 18px;
  white-space: pre-line;
}
.decisions .decision .decision-body__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  width: 100%;
  flex-wrap: wrap;
}
.decisions .decision .decision-body__head .calender {
  text-align: left;
}
.decisions .decision .decision-body h2,
.decisions .decision .decision-body p {
  display: -webkit-box;
  line-height: 1.4;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.decisions .decision .decision-body h2 {
  color: #333333;
  margin-bottom: 1rem;
}
.decisions .decision .publisher {
  position: relative;
  padding-left: 1rem;
  color: #707070;
  margin-top: auto;
  display: -webkit-box;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}
.decisions .decision .publisher:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #707070;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}
.decisions .decision .decision-bottom {
  padding: 1rem 1.5rem;
}

.custom-pagination {
  width: 100%;
  background-color: #ffffff;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 16px;
}
.custom-pagination #requestPage {
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-pagination #requestPage span {
  color: #127078;
}
.custom-pagination #requestPage input {
  width: 50px;
  border-radius: 5px;
  margin: 0 8px;
}
.custom-pagination #requestPage .pages {
  display: none;
}
@media screen and (max-width: 767.98px) {
  .custom-pagination #requestPage .pages {
    display: block;
  }
}
.custom-pagination .pagination {
  margin-bottom: 0%;
  height: 100%;
  align-items: center;
  padding: 0 16px;
}
@media screen and (max-width: 767.98px) {
  .custom-pagination .pagination {
    display: none;
  }
}
.custom-pagination .pagination li a {
  color: #127078;
}
.custom-pagination .pagination .page-link:focus {
  box-shadow: none;
}
.custom-pagination .pagination .page-link:hover {
  background-color: #eaeaea;
}
.custom-pagination .pagination .page-item:last-child .page-link:hover {
  background-color: #ffffff;
}
.custom-pagination .pagination .page-item.active .page-link {
  background-color: #127078;
  border-radius: 3px;
  font-weight: bold;
}
.custom-pagination .pagination .page-item .page-link {
  border: none;
  height: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-pagination .pagination .page-item .page-link img {
  width: 15px;
}

.moz-cover-clear {
  display: none;
}

@media screen and (min-width: 768px) {
  #type:not(.show),
#sort:not(.show) {
    display: block;
  }

  #publish:not(.show) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .search-span {
    margin-top: -12%;
  }

  .dropdown-item {
    left: 12px !important;
  }

  .form-check {
    padding-top: 2%;
    padding-left: 0px;
  }
}
@media screen and (max-width: 767.98px) {
  .top-filter {
    flex-flow: column;
  }
  .top-filter .filter {
    border: none;
    width: 100%;
  }

  .content {
    flex-flow: column;
    width: 96%;
  }
  .content .side-search {
    width: 100%;
    padding-top: 2%;
  }
  .content .side-search input[type=text] {
    width: 96%;
    padding: 3%;
    margin: 2%;
  }
}
@media screen and (max-width: 767.98px) and (min-width: 400px) and (max-width: 610px) {
  .content .side-search .search-span {
    margin-top: -10%;
    margin-right: 5.5%;
  }
}
@media screen and (max-width: 767.98px) and (max-width: 767px) and (min-width: 611px) {
  .content .side-search .search-span {
    margin-top: -7.5%;
    margin-right: 5.5%;
  }
}
@media screen and (max-width: 767.98px) {
  .content .side-search .form-check {
    padding-top: 1%;
    padding-bottom: 1%;
  }
}
@media screen and (max-width: 767.98px) {
  .content .decisions {
    width: 100%;
    flex-flow: column;
    margin-left: 0%;
    margin-top: 3%;
  }
  .content .decisions .decision {
    width: 100%;
  }
}
@media screen and (max-width: 983px) and (min-width: 581px) {
  .title {
    padding: 10% 5% 10% 5%;
  }
}
#publish .publish-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 12px;
}
@media screen and (min-width: 992px) {
  #publish .publish-date {
    justify-content: flex-start;
  }
}

.input-group-addon {
  width: 20px;
  background-repeat: no-repeat;
  background-position: center;
}
