@media only screen and (max-width: 600px) {
  .form-horizontal .controls {
    margin-left: 0px !important;
  }
    #comMtFilter0 {
      display: flex !important;
      flex-wrap: wrap;
  }
  .control-group {
    width: 100% !important;
  }
  #listings .button-send .btn {
    margin-left: 0px !important;
  }
}

.view-listcats #sp-main-body {
  padding: 50px 0px;
}

@media only screen and (min-width: 769px) {
  #listing .gantry-width-50 {
  padding-top: 0 !important;
  width: 48%;
  margin: 0 1% 1% 0 !important;
  display: inline-block;
  vertical-align: top;
}
}

.itemid-417 .listing-summary:hover {
  background: #828181 !important;
  img {filter: brightness(70%);
      }
  h3 a, .address a, p {
    color: #fff !important;
    }
}

.itemid-417 .listing-summary .header {
  margin-bottom: 0px;
}

.itemid-417 .listing-summary .address {
padding: 0px 0px 20px 10px;
}

.itemid-417 .listing-summary .address a {
  color: #000;
  font-size: 16px;
}

.itemid-417 #listings .button-send .btn {
    background: #fff;
    color: #256e87 !important;
  border-radius: 0px;
  border: 1px #fff solid;
  margin-left: 165px;
}

.itemid-417 #listings .button-send .btn:hover {
    background: #256e87;
    color: #fff !important;
}

.itemid-417 #listings .button-reset .btn {
  background: #256e87;
  border: 1px #fff solid;
  border-radius: 0px;
  color: #fff !important;
}

.itemid-417 #listings .button-reset .btn:hover {
  background: #fff;
  color: #256e87 !important;
}

.itemid-417 .form-select {
  border-radius: 0px;
}

.itemid-417 .form-horizontal .controls {
    margin-left: 165px;
}

.itemid-417 .listing-summary .header {
  padding: 10px 10px 0px 10px;
}

.itemid-417 .listing-summary {
  border-radius: 0px;
}

.itemid-417 .listing-summary img.image-left {
  border: none;
  padding: 0px;
  margin: 0 10px 0 0;
  }

.itemid-417 #listings div.listing-summary {
  background: #e6e6e7;
}

#listings .listing-summary h3 {
  font-size: 1.2rem !important;
  float: left;
  margin: 0 10px 10px 0;
}

#listings .listing-summary h3 a {
 color: #000;
  font-weight: 600;
}

.itemid-417 #sp-main-body {
  padding: 50px 0px;
}

.itemid-417 .contentheading {
  display: none;
}

.itemid-417 .sp-page-title {
	background-position-y: bottom;
	}

.itemid-417 h2.sp-page-title-heading {
text-align: center;
font-weight: 600;
    font-size: 44px;
padding: 85px 0px;
}

@media only screen and (min-width: 1190px) {
.listing-summary.column2, .listing-summary.column3,.listing-summary.column4 {
	margin-left: 2%;
	}

.ls25 {
    width: 23.5%;
  }
}

#listings .pull-right {
    float: none !important;
}

#listings {
    display: flex;
    flex-direction: column; 
}

.lsrow {
    order: 1; 
}

.pagination {
    order: 2; 
    margin-top: 20px; 
  display: ruby-text;
}

/* */

#listings #comMtFilter0 {
  font-size: 16px;
}

#listings .filterbox {
  padding: 20px;
}

.mt-template-project_profiles h2.contentheading {
color: #679146 !important;
font-weight: 700;
font-size: 2rem;
}


#listing .resourcebox ul {
    padding-left: 0px;
    list-style-type: none;

}

#listing .description-project  p {
margin-left: 0px !important;
}

#listing .thumbnails li {
 margin-top: 0px; !important;
}

#listing .thumbnails {
padding-left: 0;
}

.top-listing-thumb {
    width: auto;
    width: auto;
    vertical-align: middle;
    float: left;
    padding: 0 !important;
    margin-bottom: 0.5em;
    overflow: hidden;
    max-height: 125px;
    border: none 0 !important; 
    margin-right: 0 !important;
    background-color: transparent !important;
}

.g-eventlist-container .g-eventlist-items .g-eventlist-item {
  float: left;
}

#listings a img {
  max-height: 14.5rem;
  min-height: 14.5rem;
}

#listing > div:nth-child(3) > div > ul {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#listing > div:nth-child(3) > h2 {
  text-transform: lowercase !important;
}

#listing > div:nth-child(3) > h2 {
  text-transform: capitalize !important;
}

.g-eventlist-title a {
  color: #679146 !important;
}

.g-eventlist-title a:hover {
  text-decoration: underline !important;
}

#listings .filterbox {
  background-color: #256e87 !important;
}

#listings .filterbox a {
  color: #fff;
}
/*
.form-horizontal .control-group {
  margin-bottom: 0;
}
*/
div#comMtFilter0 {
  column-count: 3;
  -webkit-column-count: 3;
}

#listings .filterbox label {
  color: #fff;
}

#listings .filterbox input[type="text"] {
  border-radius: 0px;
}
/*
.comMtFilter .filterinput {
  width: calc(100% - 190px) !important;
}
*/

#listing h2 {
  color: #256e87 !important;
 font-weight: 700;
 font-size: 2.5em !important;
}

#listing .description-project h2 {
color: #256e87;
  margin: 0 !important;
  font-style: normal;
  font-size: 16px !important;
  font-weight: 600;
  text-transform: capitalize !important;
  padding-left: 0px !important;
}

#listing .gantry-width-50 h2 {
  color: #256e87 !important;
  margin: 0 !important;
  font-style: normal;
  font-size: 16px !important;
  font-weight: 600;
  text-transform: capitalize !important;
}

#listing .resourcebox h2 {
  color: #256e87 !important;
  margin: 0 !important;
  font-style: normal;
  font-size: 16px !important;
  font-weight: 600;
  text-transform: capitalize !important;
  padding-top: 10px;
}

#listing .thumbnails {
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.resourcebox {
  background-color: #f0f0f0;
  padding: 5px 20px 15px !important;
  margin-bottom: 20px;
}

#listing img#mainimage {
  border: none;
  padding: 0;
  width: 100%;
  height: 377px;
  object-fit: cover;
  margin-bottom: 20px;
}

#listing .resourcebox h2 {
  margin: 0 !important;
  font-style: normal;
}

#listings .pages-links,
#listings .category span,
.sort-by {
  display: none !important;
}

#listings div.listing-summary h3 {
  font-size: 1.05em;
  float: none;
  line-height: 1.5em;
  font-weight: normal;
  margin-bottom: 0;
  vertical-align: bottom;
  height: 3em;
  display: table-cell;
}

#listings div.listing-summary {
  background: none;
  padding: 0;
}

.listing-summary .header {
  border-bottom: none;
}

.listing-summary .category {
  display: none;
}

.top-wave,
.bottom-wave {
  position: absolute;
}

.top-wave {
  width: 250%;
  bottom: 150px;
  margin-left: -1450px;
  z-index: 0;
}

.bottom-wave {
  width: 250%;
  bottom: 100px;
  margin-left: -1450px;
}

@media (max-width: 425px) {
  
  #comMtFilter0 select {
    min-width: 100px;
  }
  .comMtFilter .filterinput {
    width: calc(100% - 20px) !important;
  }
  .filterinput input[type="text"] {
    width: 100%;
  }
  
  #comMtFilter0 .control-label {
    height: 45px;
    display: flex;
    align-items: flex-end;
  }
  #comMtFilter0 {
    display: grid;
    grid-template-columns: 50% 50%;
  }
  #comMtFilter0 div:nth-of-type(1) {
    grid-row: 1;
    grid-column: 1 / span 2;
  }
  #comMtFilter0 div:nth-of-type(2) {
    grid-row: 2;
    grid-column: 1 / span 2;
  }
  #comMtFilter0 div:nth-of-type(3) {
    grid-row: 3;
    grid-column: 1;
  }
  #comMtFilter0 div:nth-of-type(4) {
    grid-row: 3;
    grid-column: 2;
  }
  
  #comMtFilter0 div:nth-of-type(5) {
  }
  #comMtFilter0 div:nth-of-type(6) {
  }
  #comMtFilter0 div:nth-of-type(7) {
  }
  #comMtFilter0 div:nth-of-type(8) {
  }

}

<!-- END -->