:root{
  --rm-red:#CD1433;
  --rm-footer: #000000;/*black*/
  --rm-grey: #999999;/* grey*/
  --rm-light: #FFFFFF;/*white*/
  --rm-accent-dark: #000000;
  --rm-dk-grey: #333333p;
}
body{
  background: var(--rm-light);
}
header{
  background: var(--rm-light);
}
footer{
  background: #c92a40;
  color: #FFFFFF;
  padding: 5em;
  margin-top: 50px;
}
p{
  font-size: 1.15em;
}
h1, h2{
  color: #c92a40;
}
a.nav-link{
  padding-right: 0 !important;
}
a.nav-link.divider:after {
  content: '|';
}
.main-content{
  padding: 5em 0;
}
.step_through_container{
  border: 1px solid #999999;
}
.real-estate{
  color: #111111;
}
.matchmakers{
  color: #C92A40;
}
.servicesItem {
  overflow: hidden;
  padding: 4px;
  border: 1px solid #e3e3e3;
  border-radius: .125em;
}
.servicesItem .images {
  overflow: hidden;
  width: 100%;
  background: rgba(0,0,0,0.65);
  transition: all 0.4s;
}
.servicesItem .hoverEffect {
  transition: all 0.4s;
}
.servicesItem .images:hover img {
  transform: scale(1.1);
}
.servicesItem .images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s;
  opacity: 0.75;
}
.servicesItem .hoverEffect:hover .servicesTitle span {
  margin-top: 0;
}
.servicesTitle {
  position: absolute;
  bottom: 3px;
  left: 3px;
  right: 3px;
  text-align: center;
  height: 116px;
  transition: 0.4s;
  background: linear-gradient(to bottom, rgba(201, 42, 64, 0), rgba(201, 42, 64,0.65));
  overflow: hidden;
}
.servicesItem .hoverEffect:hover .servicesTitle {
  height: 45%;
}
.servicesItem .hoverEffect .btn-primary {
  opacity: 0;
  transition: 0.4s all ease-in-out;
}
.servicesItem .hoverEffect:hover .btn-primary {
  opacity: 1;
}
.servicesItem h4{
  background: var(--rm-red);
  padding:  .5em;
  color:  var(--rm-light);
  text-align: center;
  text-transform: uppercase;
  text-shadow: 3px 3px 3px #333333;
  margin-bottom: 0;
  border-radius: .125em .125em 0 0;
}
.servicesTitle h4 {
  color: var(--rm-light);
  padding: 20px 0 25px;
  font-size: 32px;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 3px 3px var(--rm-accent-dark);
}
.servicesTitle ul {
  text-shadow: 0 3px 3px var(--rm-accent-dark);
}
.compliance {
  height: 100px;
  background: linear-gradient(to bottom,  #ffffff 0%,#f1f1f1 24%,#f1f1f1 27%,#e1e1e1 51%,#e1e1e1 100%);
  color: #222222;
  border-bottom: 2px solid #d9d9d9;
  box-shadow: 0 1px 6px #d9d9d9;
}
.card-header{
  background: var(--rm-red);
  color: #FFFFFF;
  text-shadow: 1px 3px #000000;
}
footer a:link{
  color: #FFFFFF;
  text-decoration: none;
}

@media(max-width:469px){
  .servicesTitle h4{font-size: 24px;}
  .servicesTitle ul {
    font-size: 1.0em;
    line-height: 1.62;
  }
  a.nav-link{
   text-align: center;
    border-bottom: 1px solid #e1e1e1;
  }
  a.nav-link.divider:after {
    content: '';
  }
  .compliance {
    height: auto;
  }
}
