.state-groups {
  margin-top: 1rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  font-size: 1rem;
}
@media screen and (min-width: 760px) {
  .state-groups {
    margin-top: 8rem;
  }
}
@media screen and (min-width: 1080px) {
  .state-groups {
    padding: 0;
  }
}
.state-groups .groups {
  margin-left: -10px;
  margin-right: -10px;
}
.state-groups .groups:after {
  content: '';
  display: block;
  clear: both;
}
.state-groups .state-group {
  position: relative;
  width: 96%;
  float: left;
  margin: 0 2% 1rem 2%;
  padding: 5px;
  transition: background 400ms ease;
  height: 120px;
  display: none;
}
@media screen and (min-width: 760px) {
  .state-groups .state-group {
    width: 46%;
  }
}
@media screen and (min-width: 1080px) {
  .state-groups .state-group {
    margin: 1%;
    float: left;
    width: 31%;
    height: 180px;
  }
}
.state-groups .state-group:before,
.state-groups .state-group:after {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  border: 1px solid #981e41;
  transition: background 400ms ease;
}
.state-groups .state-group:before {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.state-groups .state-group:after {
  left: 5px;
  top: 5px;
  right: 5px;
  bottom: 5px;
  height: calc(100% - 10px);
  visibility: visible;
}
.state-groups .state-group:hover,
.state-groups .state-group.active {
  cursor: pointer;
  background: #981e41;
  color: #fff;
}
.state-groups .state-group:hover:before,
.state-groups .state-group.active:before,
.state-groups .state-group:hover:after,
.state-groups .state-group.active:after {
  border-color: #fff;
}
.state-groups .state-group:hover .title:before,
.state-groups .state-group.active .title:before {
  background: url(i/ic-arrow_white.svg) no-repeat;
}
.state-groups .state-group .title {
  font-family: 'Trade Gothic 20';
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 120%;
  font-size: 0.9em;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 55px 10px 35px 10px;
}
@media screen and (min-width: 760px) {
  .state-groups .state-group .title {
    font-size: 1.2em;
  }
}
.state-groups .state-group .title:before {
  content: '';
  display: block;
  background: url(i/ic-arrow.svg) no-repeat;
  width: 70px;
  height: 40px;
  margin: 10px auto 0 auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}
.state-groups .list {
  display: block;
  clear: both;
  margin: 1rem 0;
}
@media screen and (min-width: 1080px) {
  .state-groups .list {
    margin: 3rem 0;
  }
}
.state-groups .list .company-item {
  padding: 1rem 0;
}
.state-groups .list .company-item:not(:last-child) {
  border-bottom: 2px solid #981E41;
}
.state-groups .list .company-item .name {
  display: block;
  font-family: 'Trade Gothic 20';
  font-size: 1.2rem;
  margin: 0 0 6px 0;
}
.state-groups .list .company-item .hp {
  display: block;
}
.state-groups .list .company-item .city {
  display: block;
  float: left;
}
.state-groups .list .company-item .adr {
  display: block;
}
.state-groups .list .company-item .adr:after {
  content: '';
  display: block;
  clear: both;
}
.state-groups .list .company-item .zip {
  display: block;
  float: left;
}
.state-groups .list .company-item .zip:before {
  content: ',';
  display: inline-block;
  margin: 0 4px 0 0px;
}
