.lpts_search_form {
  margin-bottom: 1.5em;
}
.lpts_search_form:after {
  content: '';
  display: block;
  clear:both;
}

.lpts_results {
  color: black;
  margin-bottom: 20px;
}

div.lpts {
  margin-bottom: 1rem;
}
div.lpts .hidden {
  display: none;
}

div.lpts .sr-header {
  background-color: lightgray;
  border-left: 4px solid gray;
}

div.lpts .sr-body {
  border-right: 1px solid lightgray;
  border-left:  4px solid lightgray;
}

div.lpts .sr-more {
  background-color: #cecece;
  line-height: 2;
  min-height: 30px;
}

div.lpts .sr-more a {
  display: block;
  text-align: center;
  color: black;
  cursor: pointer;
}

div.lpts .sr-details {
  background-color: #fafafa;
  border-right: 1px solid lightgray;
  border-left:  4px solid lightgray;
  line-height: 2;
}

div.lpts .sr-details > div {
  border-bottom: 1px solid lightgray;
  padding: 10px 0;
  margin-bottom: 10px;
}
div.lpts .sr-details > div:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

@keyframes spinner {
  to {transform: rotate(360deg);}
}

.lpts_search_form .spinner,
div.lpts .spinner {
  position: relative;
}

.lpts_search_form .spinner {
  float: left;
  left: -20px;
  top: 20px;
}

.lpts_search_form .spinner.loading:after,
div.lpts .spinner.loading:after {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #07d;
  border-bottom-color: #07d;
  animation: spinner .8s ease infinite;
}

div.lpts p {
  margin: 0 0.75em;
  line-height: 2;
  font-weight: bold;
}

div.lpts p span {
  font-weight: normal;
}

/*
Mobile Grid Styles
These are the widths for the mobile grid.
*/
@media (max-width: 767px) {
  .lpts .m-all {
    float: none;
    width: 100%;
    padding-right: 0;
  }

  .lpts .m-1of2 {
    float: left;
    padding-right: 0.75em;
    width: 50%;
  }

  .lpts .m-1of3 {
    float: left;
    padding-right: 0.75em;
    width: 33.33%;
  }

  .lpts .m-2of3 {
    float: left;
    padding-right: 0.75em;
    width: 66.66%;
  }

  .lpts .m-1of4 {
    float: left;
    padding-right: 0.75em;
    width: 25%;
  }

  .lpts .m-3of4 {
    float: left;
    padding-right: 0.75em;
    width: 75%;
  }
}
/* Portrait tablet to landscape */
@media (max-width: 1029px) {
  .lpts .t-all {
    float: none;
    padding-right: 0.75em;
    width: 100%;
    padding-right: 0;
  }

  .lpts .t-1of2 {
    float: left;
    padding-right: 0.75em;
    width: 50%;
  }

  .lpts .t-1of3 {
    float: left;
    padding-right: 0.75em;
    width: 33.33%;
  }

  .lpts .t-2of3 {
    float: left;
    padding-right: 0.75em;
    width: 66.66%;
  }

  .lpts .t-1of4 {
    float: left;
    padding-right: 0.75em;
    width: 25%;
    width: 190px;
    padding-right: 20px;
  }

  .lpts .t-3of4 {
    float: left;
    padding-right: 0.75em;
    width: 75%;
    width: 710px;
    padding-right: 0;
  }

  .lpts .t-1of5 {
    float: left;
    padding-right: 0.75em;
    width: 20%;
  }

  .lpts .t-2of5 {
    float: left;
    padding-right: 0.75em;
    width: 40%;
  }

  .lpts .t-3of5 {
    float: left;
    padding-right: 0.75em;
    width: 60%;
  }

  .lpts .t-4of5 {
    float: left;
    padding-right: 0.75em;
    width: 80%;
  }
}

@media only screen and (max-width: 950px) and (min-width: 480px) {
  .lpts .d-1of2 {
    padding: 0;
  }
}
