main {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  padding-left: 15px;
  padding-right: 15px;
}

.blur-box {
  background-color: rgba(255, 255, 255, 0.8);
}

.filters {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  overflow-x: auto;
  cursor: grab;
  margin-top: 30px;
  margin-bottom: 30px;
  width: 100%;
  max-width: 1440px;
  -webkit-overflow-scrolling: touch;
}

.filters .btn {
  margin-right: 15px;
  display: flex;
  min-width: 153px;
  user-select: none;
  background-color: #f5faf6;
}

.filters .btn:last-child {
  margin-right: 0px;
}

.filters .btn i {
  margin-right: 5px;
}

.filters .btn:first-child i {
  margin-left: 5px;
  margin-right: 0px;
}

.ads {
  display: flex;
  width: 100%;
  max-width: 1440px;
  flex-direction: column;
  min-height: 500px;
}

.btn-filter-open
{
background-color: rgba(245, 250, 246, 1) !important;
    width: revert;
    min-width: unset !important;
    white-space: nowrap;
}

.btn-to-filter
{
    width: fit-content;
    min-width: 95px !important;
}

.ads-top {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  align-items: baseline;
  margin-bottom: 30px;
}

.ads-top-order {
  display: flex;
  background-color: #f5faf6;
  border-radius: 15px;
  margin-top: 15px;
}

.ads-top-order-selector {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 15px;
  margin-bottom: 15px;
  margin-right: 15px;
  cursor: pointer;
}

.ads-top-order-selector i:last-child {
  transform: scaleY(-1);
}

.ads-top-title {
  width: 100%;
  font-size: 16px;
  font-weight: 700;
  color: #3b8111;
  text-align: left;
  text-transform: uppercase;
}

.ads-top-subtitle {
  font-weight: 600;
  font-size: 36px;
}

.ads-top-order-caption {
  color: #88998b;
  font-size: 16px;
  font-weight: 400;
}

.ads-top-order-selected {
  color: #3d4b40;
  font-weight: 600;
  font-size: 20px;
  margin-top: 5px;
}

.ads-top-order-group {
  margin-right: 30px;
  margin-top: 15px;
  margin-bottom: 15px;
  margin-left: 15px;
  cursor: pointer;
}

.ads-top-order-container {
  cursor: pointer;
  display: flex;
}

.ads-middle {
  display: flex;
  flex-wrap: wrap;
  max-width: 1440px;
}

.form-controls i {
  position: absolute;
  margin-top: 25px;
  margin-left: 10px;
  z-index: 1;
}

.form-controls .form-control {
  padding-left: 30px;
  padding-right: 50px;
  width: 100%;
}

.ads-bottom {
  display: flex;
  flex-wrap: nowrap;
  max-width: 1440px;
  justify-content: center;
}

.pagination {
  display: flex;
  flex-wrap: nowrap;
  margin-top: 15px;
  margin-bottom: 30px;
}

.btn-pagination-item {
  display: flex;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 10px;
  padding-right: 10px;
  justify-content: center;
  align-items: center;
  color: #798898;
  border: 0px;
  border-radius: 8px;
  margin-right: 15px;
  background-color: transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-pagination-item.active {
  background-color: #3b8111;
  color: #fff;
  font-weight: 500;
  font-size: 20px;
}

.icon-double-arrow:before {
  content: url("/oc-content/themes/ric/images/icon-double-arrow.png");
  width: 12px;
  height: 12px;
}

.icon-double-arrow.next {
  transform: scaleX(-1);
}

.icon-arrow:before {
  content: url("/oc-content/themes/ric/images/icon-arrow.png");
  width: 12px;
  height: 12px;
}

.icon-arrow.next {
  transform: scaleX(-1);
}

.modal-filters {
  display: none;
  width: 100%;
  position: absolute;
  margin: 0px;
  top: 127px;
  justify-content: center;
}

.modal-filters.open {
  display: flex;
}

.modal-filters-area {
  display: flex;
  width: 100%;
  max-width: 1440px;
}

.modal-filter-content {
  display: flex;
  width: 100%;
  max-width: 765px;
  background-color: #f5faf6;
  border-radius: 24px;
  flex-wrap: wrap;
  padding: 60px;
  z-index: 6;
}

.col-12 {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 0px;
  padding-right: 0px;
}

.form-group {
  display: flex;
  width: 100%;
}

.form-controls {
  display: flex;
  width: 100%;
      flex-wrap: wrap;
}

.input-error{
  color:#ff0000;
}

.modal-filter-content-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-filter-content-body {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.modal-filter-content-selection {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 45px;
  margin-bottom: 45px;
  border: 1px solid #3b8111;
  padding: 16px;
  border-radius: 100px;
  color: #3b8111;
  font-weight: 600;
  font-size: 16px;
  background-color: #287d3e0a;
}

.modal-filter-content-caption {
  font-weight: 600;
  font-size: 20px;
  color: #3d4b40;
}

.icon-remove:before {
  content: url("/oc-content/themes/ric/images/icon-remove.png");
  width: 20px;
  height: 20px;
}

.btn-filter-remove {
  display: flex;
  background-color: transparent;
  font-weight: 600;
  font-size: 20px;
  color: #b13f3f;
  border: 0px;
  align-items: center;
  cursor: pointer;
}

.btn-selector.active {
  display: flex;
  width: 100%;
  margin-right: 1%;
  padding: 20px;
  border: 1px solid #3b8111;
  border-radius: 16px;
  font-size: 20px;
  font-weight: 600;
  color: #3b8111;
  background-color: #287d3e0a;
  justify-content: center;
}

.modal-filter-content-type {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
}

.btn-selector {
  display: flex;
  width: 100%;
  margin-right: 1%;
  padding: 20px;
  border: 0px;
  font-size: 20px;
  font-weight: 600;
  background-color: transparent;
  justify-content: center;
  cursor: pointer;
}

.modal-filter-buttons {
  justify-content: flex-end;
}

.btn-filter {
  width: 128px;
  min-width: 128px;
  max-width: 128px;
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
  padding-left: 25px;
  padding-right: 25px;
}

.modal-ads-order {
  display: none;
  width: 269px;
  position: absolute;
  background: #f5faf6;
  margin-top: 85px;
  border-radius: 16px;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: space-around;
  z-index: 4;
}

.modal-ads-order.open {
  display: flex;
}

.modal-ads-order-item {
  display: flex;
  font-weight: 600;
  font-size: 20px;
  align-items: center;
  border: 1px solid #e8e8e8;
  margin-left: 15px;
  margin-right: 15px;
  margin-top: 15px;
  border-radius: 12px;
}

.modal-ads-order-item > label {
  display: flex;
  cursor: pointer;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 20px;
  padding-left: 10px;
  padding-bottom: 20px;
}

.modal-ads-order-item input[type="radio"] {
  height: 20px;
  width: 20px;
  margin-right: 10px;
}

.modal-ads-order-item.active {
  background-color: #f9fffa;
  border: 0px;
}

.modal-ads-order-item.active input[type="radio"] {
  accent-color: #287d3e;
}

.modal-ads-order-item:last-child {
  margin-bottom: 15px;
}

.modal-button-filters{
    display:flex;
    width:100%;
    justify-content: flex-end;
}

.btn-close-filters{
    display: flex
;
    padding: 5px;
    background-color: transparent;
    border: 0px;
    margin-top: -40px;
    margin-right: -40px;
}

.btn-clean-filter{
    padding: 12px;
    background-color: #fbd739;
    color: #64530c;
    border-radius: 100%;
    display:none;
}

.filters.filtered>.btn-clean-filter{
  display:flex;
}

.btn-clean-filter>i{
  font-weight: 600;
}

.filters.filtered>.btn-filter-open{
  background-color:rgba(240, 240, 236, 1) !important;
  border:1px solid rgba(177, 177, 177, 1);
}

@media (max-width: 885px) {
    .btn-close-filters{
        margin-top: 0px;
        margin-right: 0px;
    }
        .modal-filters-area {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: 6;
            background: #f5faf6;
            overflow-x: auto;
            padding: 20px;
            box-sizing: border-box;
            display: flex
;
            justify-content: center;
            align-items: flex-start;
            margin: 0px;
        }

        .modal-filter-content {
            width: 100%;
            max-width: 100%;
            padding: 20px;
            height: 100%;
            border-radius: 0;
        }

  .modal-filter-content-body {
    max-height: calc(100vh - 160px);
  }

  .btn-filter{
      margin-bottom: 150px;
  }

}

@media(max-width: 720px){
  .filters.filtered>.btn-clean-filter{
    margin-bottom:20px;
  }
  .btn-filter-open{
    max-width: unset;
  }
}

@media(max-width: 382px){
    .modal-filters-area{
        padding:0px;
    }
}
